Commit Graph

  • 3937e885f0 Bump golang.org/x/net to v0.38.0 Cuong Manh Le 2025-04-01 19:54:16 +07:00
  • c651003cc4 Support direct ip in lookupIP function Cuong Manh Le 2025-03-27 19:42:23 +07:00
  • b7ccfcb8b4 Do not include commit hash when releasing tag Cuong Manh Le 2025-03-27 20:11:57 +07:00
  • a9ed70200b internal/router: change dnsmasq config manipulation on Merlin Cuong Manh Le 2025-03-24 23:13:11 +07:00
  • c6365e6b74 cmd/cli: handle stop signal from service manager Cuong Manh Le 2025-03-20 22:26:35 +07:00
  • dacc67e50f Using LAN servers from OS resolver for private resolver Cuong Manh Le 2025-03-19 21:40:53 +07:00
  • c60cf33af3 all: implement self-upgrade flag from API Cuong Manh Le 2025-03-17 20:44:03 +07:00
  • f27cbe3525 all: fallback to use direct IPs for ControlD assets Cuong Manh Le 2025-03-11 00:27:26 +07:00
  • 2de1b9929a Do not send legacy DNS queries to bootstrap DNS Cuong Manh Le 2025-03-13 21:04:00 +07:00
  • 8bf654aece Bump golang.org/x/net to v0.36.0 Cuong Manh Le 2025-03-13 18:20:35 +07:00
  • 84376ed719 cmd/cli: add missing pre-run setup for start command Cuong Manh Le 2025-03-13 18:09:46 +07:00
  • 7a136b8874 all: disable client discover on desktop platforms Cuong Manh Le 2025-03-12 00:09:19 +07:00
  • 58c0e4f15a all: remove ipv6 check polling Cuong Manh Le 2025-03-11 01:16:36 +07:00
  • e0d35d8ba2 Merge pull request #218 from Control-D-Inc/release-branch-v1.4.1 v1.4.1 Cuong Manh Le 2025-03-07 08:25:38 +07:00
  • 3b2e48761e Upgrade dominikh/staticcheck-action to v1.3.1 Cuong Manh Le 2025-03-06 18:42:06 +07:00
  • b27064008e cmd/cli: do not validate if custom config is empty Cuong Manh Le 2025-03-06 01:59:28 +07:00
  • 1ad63827e1 cmd/cli: do not validate invalid syntax config Cuong Manh Le 2025-03-01 00:02:42 +07:00
  • 20e61550c2 cmd/cli: set default value for remote config before validating Cuong Manh Le 2025-02-28 23:43:49 +07:00
  • 020b814402 cmd/cli: fix validating remote custom config Cuong Manh Le 2025-02-28 14:27:53 +07:00
  • e578867118 internal/router: fix fresh tomato config path Cuong Manh Le 2025-02-27 18:25:56 +07:00
  • 46a1039f21 guard against nil interface Alex Paguis 2025-02-26 17:40:20 -05:00
  • cc9e27de5f Add some more mDNS services Cuong Manh Le 2025-02-26 22:06:56 +07:00
  • 6ab3ab9faf cmd/cli: add DNS as ctrld service dependency Cuong Manh Le 2025-02-25 19:45:45 +07:00
  • e68bfa795a add a small delay service start self check Alex Paguis 2025-02-24 21:17:16 -05:00
  • e60a92e93e cmd/cli: improving IPC when try listening failed Cuong Manh Le 2025-02-24 23:57:45 +07:00
  • 62fe14f76b prevent running on custom ports for clients Alex 2025-02-23 21:07:09 -05:00
  • a0c5062e3a Resolve "OS upstream failure / wrong default route" Alex Paguis 2025-02-22 11:51:07 +00:00
  • 49eb152d02 transport should try ipv4 then ipv6 explicitly Alex 2025-02-20 23:37:44 -05:00
  • b05056423a docs: add documentation for LAN queries Cuong Manh Le 2025-02-18 20:16:02 +07:00
  • c7168739c7 cmd/cli: use OS resolver as default upstream for SRV lan hostname Cuong Manh Le 2025-02-19 22:50:15 +07:00
  • 5b1faf1ce3 dont allow positional args in start commands Alex 2025-02-20 13:09:13 -05:00
  • 513a6f9ec7 cmd/cli: guarding against nil log ipc connection Cuong Manh Le 2025-02-21 00:13:24 +07:00
  • 8db6fa4232 cmd/cli: remove un-used functions Cuong Manh Le 2025-02-20 23:51:24 +07:00
  • 5036de2602 cmd/cli: add support for no default route systems Cuong Manh Le 2025-02-20 23:34:05 +07:00
  • 332f8ccc37 debugging save/restore staticinterface settings Alex 2025-02-19 02:30:10 -05:00
  • a582195cec internal/controld: bump default http client timeout Cuong Manh Le 2025-02-20 01:30:01 +07:00
  • 9fe36ae984 Removing unnecessary ProxyLogger nil check Cuong Manh Le 2025-02-19 20:37:59 +07:00
  • 54cb455522 Fix staticcheck linter warnings Cuong Manh Le 2025-02-19 20:28:25 +07:00
  • 8bd3b9e474 cmd/cli: fix missing runtime log for startup Cuong Manh Le 2025-02-19 20:01:54 +07:00
  • eff5ff580b use saved static nameservers stored for the default router interface when doing nameserver discovery Alex 2025-02-18 15:30:02 -05:00
  • c45f863ed8 cmd/cli: workaround status command with new Openwrt Cuong Manh Le 2025-02-15 08:51:38 +07:00
  • 414d4e356d dont repeat ipv6availablity for each interface, increase self check timeout but reduce max attempts Alex Paguis 2025-02-14 17:58:42 -05:00
  • ef697eb781 add better explaination Yegor Sak 2025-02-14 21:17:16 +00:00
  • 0631ffe831 all: allow verbose log when connecting to ControlD API Cuong Manh Le 2025-02-15 02:55:03 +07:00
  • 7444d8517a cmd/cli: fix log init end marker with partial data Cuong Manh Le 2025-02-14 21:58:42 +07:00
  • 3480043e40 handle default route changes Alex 2025-02-13 23:24:07 -05:00
  • 619b6e7516 Update file config.md Yegor Sak 2025-02-14 03:59:08 +00:00
  • 0123ca44fb ignore ipv6 addresses from defaultRouteIP, guard against using ipv6 address as v4 default Alex 2025-02-13 22:55:57 -05:00
  • 7929aafe2a OS resolver retry should respect the leak_on_upstream_failure config option Alex 2025-02-13 13:50:07 -05:00
  • dc433f8dc9 cmd/cli: support nocgo version for upgrade command Cuong Manh Le 2025-02-13 22:15:27 +07:00
  • 8ccaeeab60 internal/router: support openwrt 24.10 Cuong Manh Le 2025-02-13 20:07:52 +07:00
  • 043a28eb33 internal/clientinfo: allow router discovers initialization to be failed Cuong Manh Le 2025-02-13 17:12:36 +07:00
  • c329402f5d remove DNS lookups from IPv6 check, close the connection Alex 2025-02-12 20:49:57 -05:00
  • 23e6ad6e1f use first public os reolver response when no LAN servers exist Alex 2025-02-12 18:14:18 -05:00
  • e6de78c1fa fix leak_on_upstream_failure config param Alex 2025-02-12 14:17:55 -05:00
  • a670708f93 do not exclude public nameservers from OS resolver queries Alex 2025-02-12 12:52:54 -05:00
  • 4ebe2fb5f4 all: ensure ctrld started after mongodb on Ubios Cuong Manh Le 2025-02-13 00:46:56 +07:00
  • 3403b2039d cmd/cli: remove workaround for systemd-resolved Cuong Manh Le 2025-02-12 23:04:24 +07:00
  • e30ad31e0f Merge pull request #209 from Control-D-Inc/release-branch-v1.4.0 v1.4.0 Cuong Manh Le 2025-02-12 14:55:47 +07:00
  • 81e0bad739 increase failure count for all queries with no answer Alex 2025-02-10 20:34:37 -05:00
  • 7d07d738dc fix failure count on OS retry Alex 2025-02-10 20:23:16 -05:00
  • 0fae584e65 OS resolver retry catch all Alex 2025-02-10 19:58:15 -05:00
  • 9e83085f2a handle old state missing interface crash Alex 2025-02-10 19:50:20 -05:00
  • 41a00c68ac fix down state handling Alex 2025-02-10 18:39:45 -05:00
  • e3b99bf339 mark upstream as down after 10s of no successful queries Alex 2025-02-10 18:24:29 -05:00
  • 5007a87d3a cmd/cli: better error message when doing restart Cuong Manh Le 2025-02-08 08:17:43 +07:00
  • 60e65a37a6 do the reset after recovery finished Alex 2025-02-07 16:03:36 -05:00
  • d37d0e942c fix countHealthy locking Alex 2025-02-07 15:46:12 -05:00
  • 98042d8dbd remove leaking logic in favor of recovery logic. Alex 2025-02-07 15:25:19 -05:00
  • af4b826b68 cmd/cli: implement valid interfaces map for all systems Cuong Manh Le 2025-02-07 19:09:20 +07:00
  • 253a57ca01 cmd/cli: make validating remote config non-fatal during restart Cuong Manh Le 2025-02-07 15:46:07 +07:00
  • caf98b4dfe cmd/cli: ignore log file config for interactive logging Cuong Manh Le 2025-02-07 15:30:03 +07:00
  • 398f71fd00 fix leakingQueryReset usages Alex 2025-02-07 03:22:31 -05:00
  • e1301ade96 remove context timeout Alex 2025-02-07 02:55:42 -05:00
  • 7a23f82192 set leakingQueryReset to prevent watchdogs from resetting dns Alex 2025-02-07 02:53:19 -05:00
  • 715bcc4aa1 internal/clientinfo: make SetSelfIP to update new data Cuong Manh Le 2025-02-07 14:25:18 +07:00
  • 0c74838740 init os resolver after upstream recovers Alex 2025-02-07 02:08:44 -05:00
  • 4b05b6da7b fix missing unlock Alex 2025-02-07 01:57:37 -05:00
  • 375844ff1a remove handler log line Alex 2025-02-07 01:50:24 -05:00
  • 1d207379cb wait for healthy upstream before accepting queries on network change Alex 2025-02-07 00:59:47 -05:00
  • fb49cb71e3 debounce upstream failure checking and failure counts Alex 2025-02-07 00:09:03 -05:00
  • 9618efbcde improve network change ip filtering logic Alex 2025-02-06 18:18:07 -05:00
  • bb2210b06a ip detection debugging Alex 2025-02-06 16:28:38 -05:00
  • 917052723d don't overwrite OS resolver nameservers if there arent any Alex 2025-02-06 16:12:10 -05:00
  • fef85cadeb filter non usabel IPs from state changes Alex 2025-02-06 16:03:52 -05:00
  • 4a05fb6b28 use the changed iface if no default route is set yet Alex 2025-02-06 15:30:54 -05:00
  • 6644ce53f2 fix interface IP CIDR parsing Alex 2025-02-06 15:22:58 -05:00
  • 72f0b89fdc remove redundant return Alex 2025-02-06 15:03:23 -05:00
  • 41a97a6609 clean up network change state logic Alex 2025-02-06 15:00:46 -05:00
  • 38064d6ad5 parse InterfaceIPs for network delta, not just ifs block Alex 2025-02-06 13:30:11 -05:00
  • ae6945cedf cmd/cli: fix missing wg.Done call Cuong Manh Le 2025-02-07 01:02:06 +07:00
  • 3132d1b032 Remove debug dialer Cuong Manh Le 2025-02-06 22:56:37 +07:00
  • 2716ae29bd cmd/cli: remove unnecessary prog wait group Cuong Manh Le 2025-02-06 15:37:03 +07:00
  • 1c50c2b6af Set deadline for custom UDP/TCP conn Cuong Manh Le 2025-02-06 15:16:32 +07:00
  • cf6d16b439 set new dialer on every request Alex 2025-02-05 01:41:16 -05:00
  • 60686f55ff cmd/cli: set ProxyLogger correctly for interactive commands Cuong Manh Le 2025-02-05 16:37:18 +07:00
  • 47d7ace3a7 Simplify dnsFromResolvConf Cuong Manh Le 2025-02-05 13:34:46 +07:00
  • 2d3779ec27 fix MacOS nameserver detection, fix not installed errors for commands Alex 2025-02-04 18:38:48 -05:00
  • 595071b608 all: update client info table on network changes Cuong Manh Le 2025-02-04 17:58:05 +07:00
  • 57ef717080 cmd/cli: improve error message returned by FlushDNSCache Cuong Manh Le 2025-02-04 13:36:48 +07:00