Commit Graph

  • 8ffb42962a Use rcode string in error message Cuong Manh Le 2023-03-17 21:46:51 +07:00
  • aad04200cb Merge pull request #28 from Control-D-Inc/release-branch-v1.1.2 v1.1.2 Cuong Manh Le 2023-03-16 22:35:09 +07:00
  • 4bfcacaf3c cmd/ctrld: bump version to v1.1.2 Cuong Manh Le 2023-03-16 10:53:33 +07:00
  • 5b362412be Add quic free version to goreleaser Cuong Manh Le 2023-03-16 10:40:17 +07:00
  • ccf07a7d1c cmd/ctrld: log that ctrld is starting Cuong Manh Le 2023-03-16 09:33:09 +07:00
  • e4eb3b2ded Do not query ipv6 eagerly when setup bootstrap IP Cuong Manh Le 2023-03-15 23:26:57 +07:00
  • 77b62f8734 cmd/ctrld: add default timeout for os resolver Cuong Manh Le 2023-03-15 20:04:26 +07:00
  • 096e7ea429 internal/net: enforce timeout for probing stack Cuong Manh Le 2023-03-15 10:33:37 +07:00
  • 3e6f6cc721 cmd/ctrld: add TCP listener Cuong Manh Le 2023-03-14 09:43:40 +07:00
  • 7dab688252 Merge pull request #26 from Control-D-Inc/release-branch-v1.1.1 v1.1.1 Yegor S 2023-03-10 13:04:08 -05:00
  • 7cd1f7adda cmd/ctrld: bump version to v1.1.1 Cuong Manh Le 2023-02-27 21:26:05 +07:00
  • 9a249c3029 .github/workflows: use go 1.20 Cuong Manh Le 2023-02-27 21:55:32 +07:00
  • 0dfa377e08 Add freebsd to goreleaser config Cuong Manh Le 2023-02-27 21:25:07 +07:00
  • 14bc29751f Use both os and bootstrap DNS to resolve bootstrap IP Cuong Manh Le 2023-03-10 09:08:59 +07:00
  • e6800fbc82 Query all possible nameservers for os resolver Cuong Manh Le 2023-03-09 23:48:53 +07:00
  • 4f6c2032a1 cmd/ctrld: log reason if first query failed Cuong Manh Le 2023-03-09 14:42:40 +07:00
  • d1589bd9d6 Use separate context when querying upstream ips Cuong Manh Le 2023-03-09 14:12:12 +07:00
  • 85c95a6a3a all: set timeout for re-bootstrapping Cuong Manh Le 2023-03-09 10:27:15 +07:00
  • fa50cd4df4 all: another rework on discovering bootstrap IPs Cuong Manh Le 2023-03-08 11:38:46 +07:00
  • 018f6651c1 Fix wrong time precision in bootstrapping timeout Cuong Manh Le 2023-03-08 10:15:34 +07:00
  • 1a40767cb7 Use upstream timeout when querying bootstrap IP Cuong Manh Le 2023-03-08 09:01:42 +07:00
  • 12512a60da Always use first record from DNS response Cuong Manh Le 2023-03-07 10:41:14 +07:00
  • b0114dfaeb cmd/ctrld: make staticcheck happy Cuong Manh Le 2023-02-27 21:43:05 +07:00
  • fb20d443c1 all: retry the request more agressively Cuong Manh Le 2023-03-03 00:47:21 +07:00
  • 262dcb1dff cmd/ctrld: check for ipv6 listen local Cuong Manh Le 2023-03-02 09:16:51 +07:00
  • 8b08cc8a6e all: rework bootstrap IP discovering Cuong Manh Le 2023-03-01 11:14:10 +07:00
  • 930a5ad439 cmd/ctrld: only set ::1 as DNS server on Windows if ipv6 available Cuong Manh Le 2023-03-01 09:02:10 +07:00
  • 8852f60ccb Add idle conn timeout for HTTP transport Cuong Manh Le 2023-02-28 09:29:57 +07:00
  • 2e1b3f9d07 Upgrade golang.org/x/net to v0.7.0 Cuong Manh Le 2023-02-27 22:01:16 +07:00
  • 6d3c82d38d internal/dns: add debian/openresolv to linux manager Cuong Manh Le 2023-02-27 21:41:20 +07:00
  • cad71997aa cmd/ctrld: allocate new ip instead of port Cuong Manh Le 2023-02-21 23:52:50 +07:00
  • 82900eeca6 cmd/ctrld: move log file if existed on app start Cuong Manh Le 2023-02-23 09:16:34 +07:00
  • 84fca06c62 cmd/ctrld: implement allocate/deallocate ip on freebsd Cuong Manh Le 2023-02-21 20:39:45 +07:00
  • 64f2dcb25b Fix parsing network service name on darwin Cuong Manh Le 2023-02-15 23:44:22 +07:00
  • 4c2d21a8f8 all: add freebsd supports Cuong Manh Le 2023-02-15 22:42:33 +07:00
  • 4172fc09d0 cmd/ctrld: add self check for better error message reported Cuong Manh Le 2023-02-14 09:26:12 +07:00
  • d9b699501d cmd/ctrld: merge proxy log to main log Cuong Manh Le 2023-02-15 09:27:11 +07:00
  • 71b1b324db cmd/ctrld: honor configPath when writing config file Cuong Manh Le 2023-02-14 00:30:36 +07:00
  • 35c890048b cmd/ctrld: remove prefix main field Cuong Manh Le 2023-02-10 23:49:12 +07:00
  • bac6810956 cmd/ctrld: fix missing unmarshalling config without --cd Cuong Manh Le 2023-02-10 22:36:44 +07:00
  • 997ec342e0 cmd/ctrld,internal/dns: support systemd-networkd dbus Cuong Manh Le 2023-02-10 21:50:08 +07:00
  • e385547461 internal/net: fix wrong address when testing network up Cuong Manh Le 2023-02-10 19:49:15 +07:00
  • 83b551fb2d internal/controld: check if ipv4 is available before connect to API Cuong Manh Le 2023-02-10 01:19:53 +07:00
  • 45f827a2c5 internal/controld: connect to API using ipv4 only Cuong Manh Le 2023-02-10 00:06:32 +07:00
  • 3218b5fac1 Add quic-free binaries in build pipeline Cuong Manh Le 2023-02-09 01:35:16 +07:00
  • df514d15a5 Update quic-go to v0.32.0 Cuong Manh Le 2023-02-09 01:13:01 +07:00
  • 50b0e5a4b0 cmd/ctrld: use proper exit codes for status command Cuong Manh Le 2023-02-09 01:04:09 +07:00
  • 6428ac23a0 Merge pull request #20 from Control-D-Inc/upx Yegor S 2023-02-14 14:09:13 -05:00
  • 790cb773e2 Merge pull request #17 from Control-D-Inc/readme-badge Yegor S 2023-02-13 11:52:36 -05:00
  • 9dab097268 Merge pull request #10 from GiddyGoatGaming/patch-1 Yegor S 2023-02-13 11:51:06 -05:00
  • f13f61592c Add upx to goreleaser builds Cuong Manh Le 2023-02-10 11:11:40 +07:00
  • 2f42fc055d Add some badges to README.md Cuong Manh Le 2023-02-08 00:53:16 +07:00
  • a08b39be16 Merge pull request #16 from Control-D-Inc/remove-darwin-from-regular-release v1.1.0 Yegor S 2023-02-07 12:36:18 -05:00
  • d73ece9d9e Remove darwin from regular builds Cuong Manh Le 2023-02-08 00:08:38 +07:00
  • be6e2cc0a2 Merge pull request #14 from Control-D-Inc/cuonglm/fix-readme-conflicts Yegor S 2023-02-07 11:54:13 -05:00
  • 56d8c102e1 Remove conflicts marker in README.md Cuong Manh Le 2023-02-07 23:22:12 +07:00
  • 3602484109 Merge pull request #11 from Control-D-Inc/release-branch-v1.1.0 Yegor S 2023-02-07 11:10:32 -05:00
  • 0e09b45bca cmd/ctrld: bump version to v1.1.0 Cuong Manh Le 2023-01-20 21:44:03 +07:00
  • 8571580aae cmd/ctrld: fatal if failed to get default iface name Cuong Manh Le 2023-02-04 12:37:08 +07:00
  • d3fe2c730c cmd/ctrld: surpress backoff logging message Cuong Manh Le 2023-02-03 23:50:49 +07:00
  • 318fec27de cmd/ctrld: fatal loudly if listen failed Cuong Manh Le 2023-02-03 22:44:27 +07:00
  • beca95d5b9 cmd/ctrld: fix systemd dependencies config Cuong Manh Le 2023-02-03 20:32:12 +07:00
  • 59619476ca Merge pull request #13 from Control-D-Inc/goreleaser-macos-notarize Yegor S 2023-02-06 22:42:45 -05:00
  • 31b30c52b1 Add notarizing darwin binary with gon Cuong Manh Le 2023-02-07 09:34:42 +07:00
  • 851f9b9742 all: fork tailscale Linux dns manager package Cuong Manh Le 2023-02-03 02:04:30 +07:00
  • b8772d7b4a cmd/ctrld: log fatal if could not start the listener Cuong Manh Le 2023-02-03 00:09:03 +07:00
  • eb0dd6235e cmd/ctrld: use NetworkManager to disable DNS manager Cuong Manh Le 2023-02-02 13:56:30 +07:00
  • 1c2cd555bd cmd/ctrld: ensure ctrld start after NetworkManager Cuong Manh Le 2023-02-01 22:50:14 +07:00
  • 8c47ffb5ec cmd/ctrld: make NetworkManger ignore auto dns Cuong Manh Le 2023-02-01 21:26:21 +07:00
  • 44bd580e48 cmd/ctrld: fix reset DNS when uninstalling Cuong Manh Le 2023-02-01 18:40:10 +07:00
  • 61156453b2 cmd/ctrld: workaround setting DNS issue on Linux Cuong Manh Le 2023-02-01 10:01:56 +07:00
  • 37de5441c1 cmd/ctrld: silent DHCPv6 error Cuong Manh Le 2023-01-31 21:36:24 +07:00
  • 149941f17f cmd/ctrld: do set/reset DNS only when start/stop/uninstall Cuong Manh Le 2023-01-31 11:03:50 +07:00
  • 4ea1e64795 all: make cache scope to upstream Cuong Manh Le 2023-01-31 03:16:41 +07:00
  • 06372031b5 cmd/ctrld: add more logging details Cuong Manh Le 2023-01-30 21:16:37 +07:00
  • c82a0e2562 cmd/ctrld: optimizing set/reset DNS Cuong Manh Le 2023-01-24 13:55:43 +07:00
  • b0dc96aa01 cmd/ctrld: use debug level when --log set Cuong Manh Le 2023-01-24 12:32:54 +07:00
  • 31e4bcb4c3 cmd/ctrld: init logging before processing --cd Cuong Manh Le 2023-01-24 01:27:27 +07:00
  • 9fc546443b cmd/ctrld: ignore syscall.EINTR on Linux Cuong Manh Le 2023-01-24 01:18:03 +07:00
  • 8a2c48e996 cmd/ctrld: allow log/cache flags work wit --cd flag Cuong Manh Le 2023-01-23 13:41:43 +07:00
  • 1186963531 all: use controld dialer for probing network Cuong Manh Le 2023-01-23 00:41:04 +07:00
  • 837563dcd5 all: wait for network up before running Cuong Manh Le 2023-01-21 13:19:05 +07:00
  • cd37d93b06 cmd/ctrld: ensure cleaning up done when self-uninstall Cuong Manh Le 2023-01-21 01:44:31 +07:00
  • 340016ab70 Update README.md Yegor Sak 2023-01-21 02:12:03 +00:00
  • 4c8ea45922 Update docs/ephemeral_mode.md, README.md Yegor Sak 2023-01-21 02:10:59 +00:00
  • 056b76d5a8 Update docs/basic_mode.md Yegor Sak 2023-01-21 02:04:43 +00:00
  • f9d6223af5 Update README.md Deleted docs/controld_config.md Yegor Sak 2023-01-21 01:40:33 +00:00
  • f6371360bc all: satisfy staticcheck Cuong Manh Le 2023-01-20 21:59:52 +07:00
  • 46965b04b4 internal/resolvconffile: add build tag for test file Cuong Manh Le 2023-01-20 21:53:24 +07:00
  • 065a391ff4 cmd/ctrld: check elevated privilege for service mode Cuong Manh Le 2023-01-21 01:00:39 +07:00
  • d830706692 cmd/ctrld: always process "--cd" in start mode Cuong Manh Le 2023-01-21 00:28:28 +07:00
  • 14ddb1faa0 cmd/ctrld: ensure writing config message is printed on non-Windows Cuong Manh Le 2023-01-21 00:08:02 +07:00
  • 326d7a43d4 cmd/ctrld: rework reset DNS statically vs DHCP Cuong Manh Le 2023-01-20 13:24:04 +07:00
  • 87091f20b0 cmd/ctrld: print writing config file message Cuong Manh Le 2023-01-20 12:50:09 +07:00
  • d418e57def cmd/ctrld: workaround ipv6 dns resolver on Windows Cuong Manh Le 2023-01-20 00:55:56 +07:00
  • 49e9b8b51c cmd/ctrld: do not change DNS for tailscale0 Cuong Manh Le 2023-01-19 23:22:12 +07:00
  • dc7d77b22e cmd/ctrld: only add "--iface" if not changed for start/stop aliases Cuong Manh Le 2023-01-19 22:51:32 +07:00
  • a9fabd1b79 cmd/ctrld: separate iface variable for start/stop aliases Cuong Manh Le 2023-01-19 22:44:32 +07:00
  • 47c280cf1d cmd/ctrld: use network service on darwin Cuong Manh Le 2023-01-19 12:24:21 +07:00
  • 05cfb9b661 cmd/ctrld: fix typo in Network name Cuong Manh Le 2023-01-19 11:12:05 +07:00