Commit Graph

  • 0bb51aa71d cmd/cli: add loop guard for LAN/PTR queries Cuong Manh Le 2023-12-05 20:24:12 +07:00
  • af2c1c87e0 cmd/cli: improve logging for new LAN/PTR flow Cuong Manh Le 2023-12-05 19:52:11 +07:00
  • 8939debbc0 cmd/cli: do not send test query to external upstreams Cuong Manh Le 2023-12-05 23:51:00 +07:00
  • 7591a0ccc6 all: add client id preference config param Cuong Manh Le 2023-12-05 21:58:34 +07:00
  • c3ff8182af all: ignoring local interfaces RFC1918 IP for private resolver Cuong Manh Le 2023-12-05 01:29:31 +07:00
  • 5897c174d3 all: fix LAN hostname checking condition Cuong Manh Le 2023-12-04 18:39:02 +07:00
  • f9a3f4c045 Implement new flow for LAN and private PTR resolution Cuong Manh Le 2023-11-23 23:56:49 +07:00
  • a2cb895cdc cmd/cli: watch changes to /etc/resolv.conf Cuong Manh Le 2023-11-22 19:07:53 +07:00
  • 2bebe93e47 internal/router: do not disable cache on EdgeOS Cuong Manh Le 2023-11-22 15:35:40 +07:00
  • 28ec1869fc internal/router/merlin: hardening pre-run condition Cuong Manh Le 2023-11-21 21:34:50 +07:00
  • 17f6d7a77b cmd/cli: notice writing default config in local mode Cuong Manh Le 2023-11-18 06:19:16 +07:00
  • 9e6e647ff8 Use discover_ptr_endpoints for PTR resolver Cuong Manh Le 2023-11-18 06:11:27 +07:00
  • a2116e5eb5 cmd/cli: do not substitute MAC if empty Cuong Manh Le 2023-11-17 17:35:42 +07:00
  • 564c9ef712 cmd/cli: use IP as hostname for ipv4 clients only Cuong Manh Le 2023-11-16 19:48:40 +07:00
  • 856abb71b7 cmd/cli: only notice reading config with "ctrld start" Cuong Manh Le 2023-11-16 18:22:38 +07:00
  • 0a30fdea69 Add listener policy to default generated config Cuong Manh Le 2023-11-15 15:07:13 +07:00
  • 4f125cf107 cmd/cli: notice users where config file is written/read Cuong Manh Le 2023-11-15 14:58:36 +07:00
  • 494d8be777 cmd/cli: skip router setup with "ctrld service start" Cuong Manh Le 2023-11-14 21:46:23 +07:00
  • cd9c750884 cmd/cli: do not run pre run on reload Cuong Manh Le 2023-11-14 10:08:13 +07:00
  • 91d319804b cmd/cli: only use failover rcodes if defined Cuong Manh Le 2023-11-14 09:28:10 +07:00
  • 180eae60f2 all: allowing config defined discover ptr endpoints Cuong Manh Le 2023-11-14 00:28:15 +07:00
  • d01f5c2777 cmd/cli: do not stop listener when reloading Cuong Manh Le 2023-11-09 22:10:24 +07:00
  • 294a90a807 internal/router/openwrt: ensure dnsmasq cache is disabled Cuong Manh Le 2023-11-13 20:03:46 +07:00
  • c3b4ae9c79 Older android missing certificate Ginder Singh 2023-11-09 16:33:48 +00:00
  • 09188bedf7 cmd/cli: fix wrong generated config for nextdns resolver Cuong Manh Le 2023-11-09 18:20:39 +07:00
  • 4614b98e94 internal/clientinfo: emit error once if ptr discovery failed Cuong Manh Le 2023-11-07 21:35:42 +07:00
  • 990bc620f7 cmd/cli: strip EDNS0_SUBNET for RFC 1918 and loopback address Cuong Manh Le 2023-11-08 18:15:48 +07:00
  • efb5a92571 Using time interval for probing ipv6 Cuong Manh Le 2023-11-08 01:11:49 +07:00
  • 8e0a96a44c Fix panic dues to quic-go changes Cuong Manh Le 2023-11-08 14:46:42 +07:00
  • 43ff2f648c internal/router/dnsmasq: disable cache Cuong Manh Le 2023-10-12 21:56:27 +07:00
  • 4816a09e3a all: use private resolver for private IP address Cuong Manh Le 2023-11-02 21:53:39 +07:00
  • 3fea92c8b1 Bump golang.org/x/net to v0.17.0 Cuong Manh Le 2023-11-06 20:36:06 +07:00
  • 63f959c951 all: spoof loopback ranges in client info Cuong Manh Le 2023-10-27 22:53:15 +07:00
  • 44ba6aadd9 internal/clientinfo: do not complain about net.ErrClosed Cuong Manh Le 2023-10-27 22:02:19 +07:00
  • d88cf52b4e cmd/cli: always rebootstrap when check upstream Cuong Manh Le 2023-10-24 22:38:50 +07:00
  • 58a00ea24a all: implement reload command Cuong Manh Le 2023-10-24 00:22:03 +07:00
  • 712b23a4bb cmd/cli: initialize upstream proto for mobile Cuong Manh Le 2023-10-19 23:03:11 +07:00
  • baf836557c cmd/cli: fix wrong checking condition in removeProvTokenFromArgs Cuong Manh Le 2023-10-19 00:37:27 +07:00
  • 904b23eeac cmd/cli: add --proto flag to set upstream type in cd mode Cuong Manh Le 2023-10-17 00:56:52 +07:00
  • 6aafe445f5 cmd/cli: add nextdns mode Cuong Manh Le 2023-10-13 23:39:37 +07:00
  • ebd516855b added safe return if error happens during resolver fetch. Ginder Singh 2023-10-14 10:57:14 -04:00
  • df4e04719e cmd/cli: relax service dependency on systemd-networkd-wait-online Cuong Manh Le 2023-10-13 20:36:53 +07:00
  • 2440d922c6 all: add MAC address base policy Cuong Manh Le 2023-10-12 21:48:16 +07:00
  • f1b8d1c4ad Merge pull request #93 from Control-D-Inc/release-branch-v1.3.1 v1.3.1 Yegor S 2023-10-10 22:29:43 -04:00
  • 79076bda35 scripts: fix wrong package path release-branch-v1.3.1 Cuong Manh Le 2023-09-22 19:55:33 +07:00
  • 9d2ea15346 internal/clientinfo: ignoring localhost entry for hostsfile mapping Cuong Manh Le 2023-10-10 15:21:37 +07:00
  • 77c1113ff7 Excluding nameservers from /etc/resolv.conf for private resolver Cuong Manh Le 2023-10-05 20:13:55 +07:00
  • e03ad4cd77 cmd/cli: ensure cd/cd-org flags must be non-empty Cuong Manh Le 2023-10-03 16:51:27 +00:00
  • 6e28517454 all: generalize vpn client info Cuong Manh Le 2023-10-03 16:51:09 +00:00
  • 8ddbf881b3 Sync quic transport code with DOH transport Cuong Manh Le 2023-10-03 16:50:11 +00:00
  • c58516cfb0 Fix windows config/socket dir location Connie Lukawski 2023-09-23 16:06:10 +00:00
  • 34758f6205 Sending OS information in DoH header Cuong Manh Le 2023-09-22 11:19:22 +00:00
  • a9959a6f3d all: guarding against DNS forwarding loop Cuong Manh Le 2023-09-21 06:10:21 +00:00
  • 511c4e696f cmd/cli: add upstream monitor Cuong Manh Le 2023-09-21 06:06:09 +00:00
  • bed7435b0c cmd: refactoring Run function Cuong Manh Le 2023-09-19 16:29:01 +00:00
  • 507c1afd59 cmd: allow import/running ctrld as library Ginder Singh 2023-09-18 11:40:03 +00:00
  • 2765487f10 cmd/cli: use better approach for detecting NetworkManager Cuong Manh Le 2023-09-07 11:13:52 +00:00
  • 80a88811cd cmd/cli: restart systemd-resolved after setting DNS Cuong Manh Le 2023-09-07 11:13:36 +00:00
  • 823195c504 internal/clientinfo: monitor nameserver health Cuong Manh Le 2023-09-07 11:12:50 +00:00
  • 0f3e8c7ada all: include client IP if ctrld is dnsmasq upstream Cuong Manh Le 2023-09-07 11:09:53 +00:00
  • ee5eb4fc4e cmd/cli: another fix for finding default route IP Cuong Manh Le 2023-08-28 09:43:56 +00:00
  • d58d8074f4 internal/clientinfo: use jaytaylor/go-hostsfile for parsing hosts file Cuong Manh Le 2023-08-24 11:13:59 +00:00
  • 94a0530991 cmd/cli: fix default route IP with public interface Cuong Manh Le 2023-08-24 11:13:41 +00:00
  • 073af0f89c Always use ctrld bootstrap nameserver for ResolverTypeOS Cuong Manh Le 2023-08-24 11:13:25 +00:00
  • 6028b8f186 internal/router/edgeos: use /etc/version for checking USG Cuong Manh Le 2023-08-24 11:13:08 +00:00
  • 126477ef88 all: do not depend on vyatta-dhcpd service on EdgeOS Cuong Manh Le 2023-08-22 03:50:53 +00:00
  • 13391fd469 Generating working default config in non-cd mode Cuong Manh Le 2023-08-22 02:43:27 +00:00
  • 82e44b01af Add hosts file as source for hostname resolver Cuong Manh Le 2023-08-22 02:08:44 +00:00
  • e355fd70ab Upgrading quic-go to v0.38.0 Cuong Manh Le 2023-08-22 01:52:12 +00:00
  • d5c171735e internal/clientinfo: make ptr lookup failure log level WARN Cuong Manh Le 2023-08-21 21:19:48 +00:00
  • b175368794 Merge pull request #83 from Control-D-Inc/issue-82 Yegor S 2023-09-06 12:50:30 -04:00
  • bcf4c25ba8 Use 1.20-bullseye in Dockerfile Cuong Manh Le 2023-09-05 22:39:15 +07:00
  • 11b09af76d Merge pull request #78 from Control-D-Inc/add-missing-commits Yegor S 2023-08-30 10:51:00 -04:00
  • af0380a96a Merge pull request #73 from Control-D-Inc/fix-missing-build-script Yegor S 2023-08-30 10:50:30 -04:00
  • f39512b4c0 cmd/ctrld: only write to config file if listener config changed add-missing-commits Cuong Manh Le 2023-08-09 10:11:23 +07:00
  • 7ce62ccaec Validate DoH/DoH3 endpoint properly Cuong Manh Le 2023-08-09 10:01:00 +07:00
  • 44c0a06996 scripts: add missing build script fix-missing-build-script Cuong Manh Le 2023-08-17 16:52:04 +07:00
  • f7d3db06c6 Update README.md Yegor S 2023-08-15 12:03:25 -04:00
  • 0ca37dc707 Merge pull request #68 from Control-D-Inc/release-branch-v1.3.0 v1.3.0 Yegor S 2023-08-15 11:49:47 -04:00
  • 2bcba7b578 cmd/ctrld: workaround staticcheck complain on non-Linux OSes release-branch-v1.3.0 Cuong Manh Le 2023-08-10 00:44:36 +07:00
  • 829e93c079 cmd: allow import/running ctrld as library Cuong Manh Le 2023-08-15 11:15:37 +00:00
  • 4896563e3c Various improvements and bug fixes Cuong Manh Le 2023-08-11 16:13:59 +00:00
  • 0c096d5f07 internal/router: make router.Cleanup idempotent Cuong Manh Le 2023-08-11 16:11:04 +00:00
  • ab8f072388 Update README.md Yegor Sak 2023-08-10 20:54:47 +00:00
  • 32219e7d32 internal/router: wait ntp synced on Synology Cuong Manh Le 2023-08-10 20:28:29 +00:00
  • d292e03d1b Satisfying staticcheck linter Cuong Manh Le 2023-08-10 00:22:57 +07:00
  • 5dd6336953 internal/router/synology: define normal exit condition Cuong Manh Le 2023-08-09 16:11:51 +00:00
  • 854a244ebb Fix restart command when ctrld service was already stopped Cuong Manh Le 2023-08-09 02:45:38 +00:00
  • 125b4b6077 cmd/ctrld: wait ctrld started during restart command Cuong Manh Le 2023-08-05 01:34:31 +00:00
  • 46e8d4fad7 cmd/ctrld: prevent race condition when ping socket control server Cuong Manh Le 2023-08-04 20:05:51 +00:00
  • e5389ffecb internal/clientinfo: use all possible source IP for listing clients Cuong Manh Le 2023-08-04 20:03:15 +00:00
  • 46509be8a0 cmd/ctrld: start service before restart on Windows Cuong Manh Le 2023-08-02 10:52:55 +07:00
  • d3d2ed539f cmd/ctrld: correct syscall.Errno for Windows Cuong Manh Le 2023-08-02 10:47:07 +07:00
  • 8496adc638 cmd/ctrld: make self-check process more resilient Cuong Manh Le 2023-08-01 23:27:25 +00:00
  • e1d078a2c3 Ignoring RFC 1918 addresses for ControlD upstream Cuong Manh Le 2023-08-01 04:10:20 +00:00
  • 0dee7518c4 cmd/ctrld: validate UID during start command Cuong Manh Le 2023-07-31 22:07:09 +00:00
  • 774f07dd7f internal/router: only do cleanup in cd mode on freebsd Cuong Manh Le 2023-07-28 18:57:13 +00:00
  • c271896551 all: add support for provision token Cuong Manh Le 2023-07-27 23:05:27 +00:00
  • 82d887f52d cmd/ctrld: preserve OS error when updating listener config Cuong Manh Le 2023-07-27 22:28:15 +00:00
  • 6e27f877ff internal/clientinfo: use ptr cache when listing clients Cuong Manh Le 2023-07-27 20:39:40 +00:00