Commit Graph

  • da91aabc35 cmd/cli: ensure extra split rule is always written Cuong Manh Le 2024-11-11 18:47:14 +07:00
  • c654398981 cmd/cli: make widcard rules match case-insensitively Cuong Manh Le 2024-11-11 15:29:51 +07:00
  • 47a90ec2a1 cmd/cli: re-fetch pin code during deactivation checking Cuong Manh Le 2024-11-08 18:30:48 +07:00
  • 2875e22d0b cmd/cli: re-fetch deactivation pin code when reloading API config Cuong Manh Le 2024-11-08 16:27:13 +07:00
  • c5d14e0075 cmd/cli: only cleanup log file if set Cuong Manh Le 2024-11-05 18:49:42 +07:00
  • 84e06c363c Avoid tailscale.com/tsd dependency Cuong Manh Le 2024-11-01 17:13:59 +07:00
  • 5b9ccc5065 Merge pull request #182 from Control-D-Inc/release-branch-v1.3.10 v1.3.10 Cuong Manh Le 2024-10-29 14:56:32 +07:00
  • 6ca1a7ccc7 .github/workflows: use go1.23.x release-branch-v1.3.10 Cuong Manh Le 2024-09-30 18:39:53 +07:00
  • 9d666be5d4 all: add custom hostname support for provisoning Cuong Manh Le 2024-10-23 16:00:09 +07:00
  • 65de7edcde Only store last LAN server if available Cuong Manh Le 2024-10-22 00:47:03 +07:00
  • 0cdff0d368 Prefer LAN server answer over public one Cuong Manh Le 2024-10-18 01:31:40 +07:00
  • f87220a908 Avoid data race when initializing OS resolver Cuong Manh Le 2024-10-17 18:09:16 +07:00
  • 30ea0c6499 Log nameserver in OS resolver response Cuong Manh Le 2024-10-16 14:13:21 +07:00
  • 9501e35c60 Skip virtual interfaces when parsing route table Cuong Manh Le 2024-10-11 17:15:47 +07:00
  • 5ac9d17bdf cmd/cli: simplify queryFromSelf Cuong Manh Le 2024-10-04 14:40:57 +07:00
  • cb14992ddc Ignore local addresses for OS resolver Cuong Manh Le 2024-10-04 14:37:27 +07:00
  • e88372fc8c cmd/cli: log request id when leaking Cuong Manh Le 2024-09-26 15:38:26 +07:00
  • b320662d67 cmd/cli: emit warning for MacOS 15.0 in case of timeout error Cuong Manh Le 2024-09-26 15:12:00 +07:00
  • ce353cd4d9 cmd/cli: write auto split rule for AD to config file Cuong Manh Le 2024-09-24 15:09:05 +07:00
  • 4befd33866 cmd/cli: notify log server before ctrld process exit Cuong Manh Le 2024-09-24 19:50:16 +07:00
  • 4b36e3ac44 Change test query to use controld.com Cuong Manh Le 2024-09-24 00:15:08 +07:00
  • f507bc8f9e cmd/cli: cache query from self result Cuong Manh Le 2024-09-23 21:51:10 +07:00
  • 14c88f4a6d all: allow empty type for h3 and sdns Cuong Manh Le 2024-09-23 15:06:11 +07:00
  • 3e388c2857 all: leaking queries to OS resolver instead of SRVFAIL Cuong Manh Le 2024-09-23 18:27:14 +07:00
  • cfe1209d61 cmd/cli: use powershell to get physical interfaces Cuong Manh Le 2024-09-20 21:57:12 +07:00
  • 5a88a7c22c cmd/cli: decouple reset DNS task from ctrld status Cuong Manh Le 2024-09-20 21:33:44 +07:00
  • 8c661c4401 cmd/cli: fix typo in powershell command to get domain Cuong Manh Le 2024-09-21 01:42:03 +07:00
  • e6f256d640 all: add pull API config based on special DNS query Cuong Manh Le 2024-09-19 21:43:09 +07:00
  • ede354166b cmd/cli: add split route AD domain on Windows Cuong Manh Le 2024-09-17 14:50:31 +07:00
  • 282a8ce78e all: add DNS Stamps support Cuong Manh Le 2024-09-17 20:42:27 +07:00
  • 08fe04f1ee all: support h3:// protocol prefix Cuong Manh Le 2024-09-17 16:52:50 +07:00
  • 082d14a9ba cmd/cli: implement auto captive portal detection Cuong Manh Le 2024-09-13 21:28:54 +07:00
  • 617674ce43 all: update tailscale.com to v1.74.0 Cuong Manh Le 2024-09-13 20:10:26 +07:00
  • 7088df58dd Merge pull request #179 from Control-D-Inc/release-branch-v1.3.9 v1.3.9 Cuong Manh Le 2024-09-18 23:50:57 +07:00
  • 9cbd9b3e44 cmd/cli: use powershell to set/reset DNS on Windows release-branch-v1.3.9 Cuong Manh Le 2024-09-18 20:00:37 +07:00
  • e6586fd360 Merge pull request #169 from Control-D-Inc/release-branch-v1.3.8 v1.3.8 Cuong Manh Le 2024-09-14 22:07:22 +07:00
  • 33a6db2599 Configure timeout for HTTP2 transport release-branch-v1.3.8 Cuong Manh Le 2024-08-29 22:26:41 +07:00
  • 70b0c4f7b9 cmd/cli: honoring "iface" value in resetDnsTask Cuong Manh Le 2024-08-26 21:52:44 +07:00
  • 5af3ec4f7b cmd/cli: ensure DNS goroutines terminated before self-uninstall Cuong Manh Le 2024-08-15 20:03:05 +07:00
  • 79476add12 Testing nameserver when initializing OS resolver Cuong Manh Le 2024-08-08 01:03:30 +07:00
  • 1634a06330 all: change refresh_time -> refetch_time Cuong Manh Le 2024-08-09 14:22:09 +07:00
  • a007394f60 cmd/cli: ensure goroutines that check DNS terminated Cuong Manh Le 2024-08-07 22:55:31 +07:00
  • 62a0ba8731 cmd/cli: fix staticcheck linting Cuong Manh Le 2024-08-07 15:17:41 +07:00
  • e8d3ed1acd cmd/cli: use currentStaticDNS when checking DNS changed Cuong Manh Le 2024-08-06 00:17:17 +07:00
  • 8b98faa441 cmd/cli: do not mask err argument of selfUninstall Cuong Manh Le 2024-08-05 23:36:56 +07:00
  • 30320ec9c7 cmd/cli: fix issue with editing /etc/resolv.conf directly on Darwin Cuong Manh Le 2024-08-01 23:32:41 +07:00
  • 5f4a399850 cmd/cli: extend list of valid interfaces for MacOS Cuong Manh Le 2024-08-01 15:57:45 +07:00
  • 82e0d4b0c4 all: add api driven config reload at runtime Cuong Manh Le 2024-08-01 21:04:21 +07:00
  • 95a9df826d cmd/cli: extend list of valid interfaces for MacOS Cuong Manh Le 2024-08-01 15:57:45 +07:00
  • 3b71d26cf3 cmd/cli: change "ctrld start" behavior Cuong Manh Le 2024-07-30 19:00:53 +07:00
  • c233ad9b1b cmd/cli: write new config file on reload Cuong Manh Le 2024-07-29 23:05:49 +07:00
  • 12d6484b1c Remove quic free file Cuong Manh Le 2024-07-29 22:22:43 +07:00
  • bc7b1cc6d8 cmd/cli: fix wrong config file reading during self-check Cuong Manh Le 2024-07-29 15:43:29 +07:00
  • ec684348ed cmd/cli: add config to control DNS watchdog Cuong Manh Le 2024-07-26 17:17:44 +07:00
  • 18a19a3aa2 cmd/cli: cleanup more ctrld generated files Cuong Manh Le 2024-07-26 00:04:45 +07:00
  • 905f2d08c5 cmd/cli: fix reset DNS when doing self-uninstall Cuong Manh Le 2024-07-25 22:23:01 +07:00
  • 04947b4d87 cmd/cli: make --cleanup removing more files Cuong Manh Le 2024-07-24 18:35:34 +07:00
  • 72bf80533e cmd/cli: always run dns watchdog on Darwin/Windows Cuong Manh Le 2024-07-24 14:02:30 +07:00
  • 9ddedf926e cmd/cli: fix watching symlink /etc/resolv.conf Cuong Manh Le 2024-07-23 22:00:19 +07:00
  • 139dd62ff3 cmd/cli: Capitalizing launchd status error message Cuong Manh Le 2024-07-22 23:39:53 +07:00
  • 50ef00526e cmd/cli: add "--cleanup" flag to remove ctrld's files Cuong Manh Le 2024-07-22 16:38:47 +07:00
  • 80cf79b9cb all: implement self-uninstall ctrld based on REFUSED queries Cuong Manh Le 2024-07-19 22:38:44 +07:00
  • e6ad39b070 cmd/cli: add DNS watchdog on Darwin/Windows Cuong Manh Le 2024-07-19 23:13:34 +07:00
  • 56f9c72569 Add ControlD public DNS to OS resolver Cuong Manh Le 2024-07-12 17:35:34 +07:00
  • dc48c908b8 cmd/cli: log validate remote config during "ctrld restart" Cuong Manh Le 2024-07-17 18:10:26 +07:00
  • 9b0f0e792a cmd/cli: workaround incorrect status data when not root Cuong Manh Le 2024-07-17 15:53:55 +07:00
  • b3eebb19b6 internal/router: change default config directory on EdgeOS Cuong Manh Le 2024-07-17 14:21:14 +07:00
  • c24589a5be internal/clientinfo: avoid heap alloc with mdns read loop Cuong Manh Le 2024-07-09 22:07:51 +07:00
  • 1e1c5a4dc8 internal/clientinfo: tighten condition to stop probing mdns Cuong Manh Le 2024-07-04 21:27:20 +07:00
  • 339023421a docker: bump go version for Dockerfile.debug Cuong Manh Le 2024-05-29 14:05:24 +07:00
  • a00d2a431a Merge pull request #155 from Control-D-Inc/release-branch-v1.3.7 v1.3.7 Cuong Manh Le 2024-05-31 15:04:47 +07:00
  • 5aca118dbb all: always reset DNS before initializing OS resolver Cuong Manh Le 2024-05-27 15:40:25 +07:00
  • 411f7434f4 cmd/cli: unify reset DNS task Cuong Manh Le 2024-05-24 14:20:12 +07:00
  • 34801382f5 cmd/cli: always reset DNS before installing ctrld Cuong Manh Le 2024-05-23 18:20:35 +07:00
  • b9f2259ae4 cmd/cli: do not check DNS loop for upstream which is being down Cuong Manh Le 2024-05-22 22:43:01 +07:00
  • 19020a96bf all: fix OS resolver looping issue on Windows Cuong Manh Le 2024-05-22 18:17:20 +07:00
  • 96085147ff all: preserve DNS settings when running "ctrld restart" Cuong Manh Le 2024-05-21 17:08:18 +07:00
  • f3dd344026 all: make procd "ctrld stop" blocks until process exited Cuong Manh Le 2024-05-15 22:45:35 +07:00
  • 486096416f all: use correct binary path when running upgrade Cuong Manh Le 2024-05-15 17:54:41 +07:00
  • 5710f2e984 cmd/cli: correct upgrade url for arm platforms Cuong Manh Le 2024-05-13 15:00:25 +07:00
  • 09936f1f07 cmd/cli: allow running upgrade while ctrld not installed Cuong Manh Le 2024-05-10 23:13:13 +07:00
  • 0d6ca57536 cmd/cli: remove old forwarder after adding new one on Windows Server Cuong Manh Le 2024-05-09 18:25:11 +07:00
  • 3ddcb84db8 cmd/cli: do not watch for config change during self-check Cuong Manh Le 2024-05-08 14:56:09 +07:00
  • 1012bf063f cmd/cli: do not remove forwarders when set DNS on Windows Cuong Manh Le 2024-05-08 23:43:26 +07:00
  • b8155e6182 cmd/cli: set DNS last when running ctrld service Cuong Manh Le 2024-05-08 22:38:28 +07:00
  • 9a34df61bb docs: remove "os" from upstream type valid values Cuong Manh Le 2024-05-08 14:00:52 +07:00
  • fbb879edf9 Add README.md image Yegor Sak 2024-05-06 21:31:49 -04:00
  • ac97c88876 cmd/cli: do not get windows feature for checking DNS installed Cuong Manh Le 2024-05-07 02:19:29 +07:00
  • a1fda2c0de cmd/cli: make self-check process faster Cuong Manh Le 2024-05-06 14:27:56 +07:00
  • f499770d45 cmd/cli: use channel instead of mutex in runDNSServer Cuong Manh Le 2024-05-06 14:16:18 +07:00
  • 4769da4ef4 cmd/cli: simplifying console logging initialization Cuong Manh Le 2024-05-06 13:37:23 +07:00
  • c2556a8e39 cmd/cli: add skipping self checks flag Cuong Manh Le 2024-05-04 07:49:48 +07:00
  • 29bf329f6a cmd/cli: fix systemd-networkd-wait-online blocks ctrld starts Cuong Manh Le 2024-05-02 23:19:05 +07:00
  • 1dee4305bc cmd/cli: refactoring self-check process Cuong Manh Le 2024-04-12 18:12:16 +07:00
  • 429a98b690 Merge pull request #144 from Control-D-Inc/release-branch-v1.3.6 v1.3.6 Cuong Manh Le 2024-04-20 00:01:23 +07:00
  • da01a146d2 internal/clientinfo: check hostname mapping for both ipv4/ipv6 Cuong Manh Le 2024-04-19 07:49:56 +07:00
  • dd9f2465be internal/clientinfo: map ::1 to the right host MAC address Cuong Manh Le 2024-04-18 22:13:20 +07:00
  • b5cf0e2b31 cmd/cli: allow chosing dev/prod with upgrade command Cuong Manh Le 2024-04-15 19:07:02 +07:00
  • 1db159ad34 cmd/cli: move pin check before any API calls Cuong Manh Le 2024-04-15 13:33:06 +07:00
  • 6604f973ac Disconnect from Control D without checking pin for app restarts Ginder Singh 2024-04-10 17:22:05 +00:00