Commit Graph

  • 0c99d27be5 Merge pull request #51 from Control-D-Inc/release-branch-v1.2.1 v1.2.1 Yegor S 2023-06-08 00:19:07 -04:00
  • b9eb89c02e internal/router: fix missing Run() call release-branch-v1.2.1 Cuong Manh Le 2023-06-08 02:23:44 +07:00
  • 53f8d006f0 all: support older version of Openwrt Cuong Manh Le 2023-06-07 23:48:41 +07:00
  • 929de49c7b cmd/ctrld: only spawn DNS server for ntpd if necessary Cuong Manh Le 2023-06-07 23:00:45 +07:00
  • 542c4f7daf all: adding more function/type documentation Cuong Manh Le 2023-06-05 18:41:48 +07:00
  • c941f9c621 all: add flag to use dev domain for testing Cuong Manh Le 2023-06-03 10:21:35 +07:00
  • 25eae187db internal/router: do not exit when stopping successfully on freshtomato Cuong Manh Le 2023-06-03 00:00:20 +07:00
  • 726a25a7ea internal/router: emit error if dnsfilter is enabled on Ubios/EdgeOS Cuong Manh Le 2023-06-02 15:45:01 +00:00
  • a46bb152af cmd/ctrld: do not mutual net.Addr when spoofing client source IP Cuong Manh Le 2023-06-02 21:16:49 +07:00
  • bbfa7c6c22 internal/router: relax dnsmasq lease file parsing condition Cuong Manh Le 2023-06-02 21:10:23 +07:00
  • 1cd54a48e9 all: rework routers ntp waiting mechanism Cuong Manh Le 2023-05-30 18:17:48 +07:00
  • 2d950eecdf cmd/ctrld: spoofing client IP on routers Cuong Manh Le 2023-05-30 00:52:04 +07:00
  • b143e46eb0 all: add support for pfsense Cuong Manh Le 2023-05-29 23:16:23 +07:00
  • 8fda856e24 all: add UpstreamConfig.VerifyDomain Cuong Manh Le 2023-05-26 21:33:24 +07:00
  • 54e63ccf9b all: add support for EdgeOS Cuong Manh Le 2023-05-25 22:05:39 +07:00
  • ee53db1e35 all: add support for freshtomato Cuong Manh Le 2023-05-25 09:52:44 +07:00
  • fc502b920b internal/router: add Synology client info file Cuong Manh Le 2023-05-24 23:15:03 +07:00
  • 20eae82f11 cmd/ctrld: ensure error passed to backoff is wrapped in self-check Cuong Manh Le 2023-05-24 18:53:10 +07:00
  • d2fc530316 all: add support for Synology router Cuong Manh Le 2023-05-18 23:03:03 +07:00
  • 7ac5555a84 internal/router: fix wrong platform check in PreStart Cuong Manh Le 2023-05-18 21:11:20 +07:00
  • 15d397d8a6 cmd/ctrld: fix problem with default iface name on WSL 1 Cuong Manh Le 2023-05-17 23:56:04 +07:00
  • b471adfb09 Fix split mode for all protocols but DoH Cuong Manh Le 2023-05-17 22:36:49 +07:00
  • d7a38363e6 Merge pull request #42 from Control-D-Inc/update-readme Yegor S 2023-05-16 15:17:05 -04:00
  • 90def8f9b5 Update README.md update-readme Yegor Sak 2023-05-16 18:00:59 +00:00
  • b126db453b Update README.md v1.2.0 Yegor S 2023-05-15 21:49:44 -04:00
  • 601d357456 Merge pull request #41 from Control-D-Inc/release-branch-v1.2.0 Yegor S 2023-05-15 21:48:05 -04:00
  • 3a2024ebd7 Update README.md Yegor Sak 2023-05-15 17:16:07 +00:00
  • 6cd451acec Update README.md Yegor Sak 2023-05-15 17:12:27 +00:00
  • 3b6c12abd4 all: support GL.iNET router Cuong Manh Le 2023-05-15 23:54:00 +07:00
  • d9dfc584e7 internal/router: disable DNSSEC on ddwrt/merlin Cuong Manh Le 2023-05-15 22:34:27 +07:00
  • 57fa68970a internal/router: fix lint ignore comment Cuong Manh Le 2023-05-15 22:47:10 +07:00
  • fa14f1dadf Fix wrong timeout in lookupIP Cuong Manh Le 2023-05-15 21:20:53 +07:00
  • 9689607409 all: wait NTP synced on Merlin Cuong Manh Le 2023-05-09 23:11:53 +07:00
  • d75f871541 internal/router: workaround problem with ntp bug on some Merlin routers Cuong Manh Le 2023-05-08 22:54:05 +07:00
  • 45895067c6 cmd/ctrld: only ignore listener.0 setup when setup router Cuong Manh Le 2023-05-05 23:37:02 +07:00
  • 521f06dcc1 cmd/ctrld: force 127.0.0.1:53 for listener.0 only Cuong Manh Le 2023-05-05 22:38:04 +07:00
  • 5b6a3a4c6f internal/router: disable native dot on merlin Cuong Manh Le 2023-05-05 21:25:54 +07:00
  • be497a68de internal/router: skip bad entry in leases file Cuong Manh Le 2023-05-05 08:29:41 +07:00
  • c872a3b3f6 cmd/ctrld: add "--silent" to disable log output Cuong Manh Le 2023-05-04 12:31:22 +07:00
  • e0ae0f8e7b cmd/ctrld: set default value for ip/port from custom config if missing Cuong Manh Le 2023-05-04 12:04:58 +07:00
  • ad4ca32873 cmd/ctrld: factor out code to read config file Cuong Manh Le 2023-05-04 00:53:40 +07:00
  • 24100c4cbe cmd/ctrld: use Windscribe fork of zerolog Cuong Manh Le 2023-05-04 00:05:52 +07:00
  • e3a792d50d cmd/ctrld: start listener with no default upstream Cuong Manh Le 2023-05-03 18:12:40 +07:00
  • 440d085c6d cmd/ctrld: unified logging Cuong Manh Le 2023-05-03 17:57:36 +07:00
  • 270ea9f6ca Do not block when ping upstream Cuong Manh Le 2023-05-02 15:03:53 +07:00
  • 7a156d7d15 Wait until bootstrap IPs resolved Cuong Manh Le 2023-05-02 01:03:34 +07:00
  • 4c45e6cf3d Lock while getting doh/doh3 transport Cuong Manh Le 2023-05-01 23:47:47 +07:00
  • 704bc27dba Check msg is not nil before access Question field Cuong Manh Le 2023-04-29 13:21:57 +07:00
  • b267572b38 all: implement split upstreams Cuong Manh Le 2023-04-28 01:12:59 +07:00
  • 5cad0d6be1 all: watch link state on Linux using netlink Cuong Manh Le 2023-04-29 13:56:18 +07:00
  • 56d8dc865f Use different failover mechanism on Linux Cuong Manh Le 2023-04-29 13:15:10 +07:00
  • d57c1d6d44 Workaround for DOH broken transport when network changes Cuong Manh Le 2023-04-29 03:19:56 +07:00
  • 02fa7fbe2e Workaround issue with weird DNS server when bootstraping Cuong Manh Le 2023-04-29 00:16:14 +07:00
  • 07689954bf cmd/ctrld: change default log level to warn Cuong Manh Le 2023-04-28 09:40:47 +07:00
  • a7ea20b117 cmd/ctrld: ensure runDNSServer returns when error happens Cuong Manh Le 2023-04-28 01:23:06 +07:00
  • 43fecdf60f all: log when client info included in the request Cuong Manh Le 2023-04-27 20:43:01 +07:00
  • 31239684c7 Revert "cmd/ctrld: add "start --no-cd" flag to disable cd mode" Cuong Manh Le 2023-04-27 20:09:44 +07:00
  • 5528ac8bf1 internal/router: log invalid ip address entry Cuong Manh Le 2023-04-27 00:55:37 +07:00
  • 411e23ecfe cmd/ctrld: fix missing content for default config Cuong Manh Le 2023-04-27 00:41:09 +07:00
  • 7bf231643b internal/router: normalize ip address from dnsmasq lease file Cuong Manh Le 2023-04-27 00:05:12 +07:00
  • 2326160f2f Do not rely on unspecified assignment order of return statement Cuong Manh Le 2023-04-26 21:32:08 +07:00
  • 68fe7e8406 cmd/ctrld: add "start --no-cd" flag to disable cd mode Cuong Manh Le 2023-04-26 19:44:44 +07:00
  • c7bad63869 all: allow chosing random address and port for listener Cuong Manh Le 2023-04-26 18:37:52 +07:00
  • 69319c6b41 all: support custom config from Control-D resolver Cuong Manh Le 2023-04-26 18:55:53 +07:00
  • 9df381d3d1 all: add "version" query param when fetching config Cuong Manh Le 2023-04-26 18:33:04 +07:00
  • 0af7f64bca all: use parallel dialer for bootstrapping ip Cuong Manh Le 2023-04-25 01:36:51 +07:00
  • f73cbde7a5 Update HTTP request headers Cuong Manh Le 2023-04-24 23:50:14 +07:00
  • 0645a738ad all: add router client info detection Cuong Manh Le 2023-04-20 23:16:20 +07:00
  • d52cd11322 all: use parallel dialer for connecting upstream/api Cuong Manh Le 2023-04-24 19:56:01 +07:00
  • d3d08022cc cmd/ctrld: restoring DNS on darwin before stop Cuong Manh Le 2023-04-21 10:28:23 +07:00
  • 21c8b9f8e7 Revert ignoring SIGCHLD Cuong Manh Le 2023-04-20 23:25:40 +07:00
  • 6c55d8f139 internal/router: remove ctrld-boot service when uninstall Cuong Manh Le 2023-04-20 09:55:57 +07:00
  • ccdb2a3f70 Tweak log message for policy logging Cuong Manh Le 2023-04-17 23:48:49 +07:00
  • f5ef9b917e all: implement router setup for ubios Cuong Manh Le 2023-04-18 21:16:12 +07:00
  • a5443d5ca4 all: implement router setup for merlin Cuong Manh Le 2023-04-12 10:07:16 +07:00
  • 2c7d95bba2 Support query param in upstream value Cuong Manh Le 2023-04-12 23:38:52 +07:00
  • 8a2cdbfaa3 all: implement router setup for ddwrt Cuong Manh Le 2023-03-30 01:41:30 +07:00
  • c94be0df35 all: implement router setup for openwrt Cuong Manh Le 2023-03-22 00:18:04 +07:00
  • 4b6a976747 all: initial support for setup linux router Cuong Manh Le 2023-03-15 23:25:44 +07:00
  • 0043fdf859 enable compression alexelisenko 2023-04-10 19:20:54 -04:00
  • 24e62e18fa Use errors.Join instead of copied version Cuong Manh Le 2023-04-05 16:58:58 +07:00
  • 663dbbb476 Merge pull request #39 from Control-D-Inc/timeout-no-config-mode Yegor S 2023-04-05 16:17:03 -04:00
  • 471427a439 cmd/ctrld: add default timeout when generating config in no config mode Cuong Manh Le 2023-04-06 00:49:21 +07:00
  • a777c4b00f Merge pull request #38 from Control-D-Inc/issue-33 Yegor S 2023-04-04 11:15:55 -04:00
  • dcc4cdd316 Add support for mipsle Cuong Manh Le 2023-04-04 21:55:04 +07:00
  • 9c22701940 Merge pull request #37 from Control-D-Inc/release-branch-v1.1.4 v1.1.4 Yegor S 2023-04-03 12:44:02 -04:00
  • a77a924320 Require go1.20 for building ctrld Cuong Manh Le 2023-03-31 10:38:53 +07:00
  • 95dbf71939 Upgrage tailscale.com for fixing security issue Cuong Manh Le 2023-03-31 10:38:16 +07:00
  • 8869e33a20 Inject version and commit during goreleaser build Cuong Manh Le 2023-03-31 10:25:37 +07:00
  • c94e1b02d2 all: supports multiple protocols for no config mode Cuong Manh Le 2023-03-25 00:44:27 +07:00
  • 42d29b626b Adding more source for getting available DNS Cuong Manh Le 2023-03-31 12:29:57 +07:00
  • b65a5ac283 all: fix bug that causes ctrld stop working if bootstrap failed Cuong Manh Le 2023-03-30 18:25:36 +07:00
  • ba48ff5965 all: fix os resolver hangs when all server failed Cuong Manh Le 2023-03-30 02:43:37 +07:00
  • b3a342bc44 all: some improvements for better troubleshooting Cuong Manh Le 2023-03-29 12:36:19 +07:00
  • 9927803497 cmd/ctrld: response to OS service manager earlier Cuong Manh Le 2023-03-27 23:13:24 +07:00
  • f0c604a9f1 cmd/ctrld: only watch config when doing self-check Cuong Manh Le 2023-03-20 23:53:51 +07:00
  • 8a56389396 cmd/ctrld: ensure both udp/tcp listener aborted Cuong Manh Le 2023-03-20 22:53:42 +07:00
  • 9f7bfc76db Merge pull request #31 from Control-D-Inc/release-branch-v1.1.3 v1.1.3 Yegor S 2023-03-17 12:33:32 -04:00
  • a7a5501ea5 Bump version to v1.1.3 Cuong Manh Le 2023-03-17 22:22:54 +07:00
  • c401c4ef87 cmd/ctrld: do not set default iface value for uninstall command Cuong Manh Le 2023-03-17 21:52:34 +07:00