Commit Graph

  • deb113838e net/netcheck: use logger.ArgWriter in logConciseReport, fix comma bug, add tests Brad Fitzpatrick 2020-06-11 21:37:15 -07:00
  • 280e8884dd wgengine/magicsock: limit redundant log spam on packets from low-pri addresses Brad Fitzpatrick 2020-06-11 09:40:21 -07:00
  • d05b0500ac wgengine: loop back tuntap packets destined for local IPs. David Anderson 2020-06-09 18:00:48 +00:00
  • d1a30be275 tsweb: JSONHandler: supports HTTPError Zijie Lu 2020-06-09 17:40:45 -04:00
  • 51d176ecff wgengine: Remove leftover debug message. Avery Pennarun 2020-06-09 16:55:56 -04:00
  • 07e02ec9d3 wgengine/tsdns: add test and prevent useless updates (#449) Dmytro Shynkevych 2020-06-09 13:09:43 -04:00
  • 511840b1f6 tsdns: initial implementation of a Tailscale DNS resolver (#396) Dmytro Shynkevych 2020-06-08 18:19:26 -04:00
  • 5e1ee4be53 tsweb: fix JSONHandler nil response Zijie Lu 2020-06-08 15:48:38 -04:00
  • c3f7733f53 logpolicy: don't check version.CmdName on Windows unnecessarily Brad Fitzpatrick 2020-06-08 10:32:34 -07:00
  • 5c9ddf5e76 version: fix typo in comment Brad Fitzpatrick 2020-06-08 10:30:16 -07:00
  • 2ca2389c5f portlist: set SysProcAttr.HideWindow on Windows Brad Fitzpatrick 2020-06-08 09:04:31 -07:00
  • 07ca0c1c29 derp: fix tracking problem if conn starts local, then also joins mesh peer Brad Fitzpatrick 2020-06-05 12:47:23 -07:00
  • 39f2fe29f7 tempfork/registry: work around issue with Tailscale's redo build system Brad Fitzpatrick 2020-06-05 10:46:15 -07:00
  • 1cb7dab881 cmd/derper: support forwarding packets amongst set of peer DERP servers Brad Fitzpatrick 2020-06-03 14:42:20 -07:00
  • e441d3218e tempfork/registry: add golang.org/x/sys/windows/registry + CL 236681 Brad Fitzpatrick 2020-06-05 09:45:16 -07:00
  • 02231e968e wgengine/tstun: add tests and benchmarks (#436) Dmytro Shynkevych 2020-06-05 11:19:03 -04:00
  • 6f590f5b52 logtail: we missed a case for the backoff timer. Avery Pennarun 2020-06-05 03:06:29 -04:00
  • 1d2e497d47 tsweb: JSONHandler using reflect (#437) halulu 2020-06-05 00:10:50 -04:00
  • 059b1d10bb wgengine/packet: refactor and expose UDP header marshaling (#408) Dmytro Shynkevych 2020-06-04 18:42:44 -04:00
  • 5e0ff494a5 derp: change NewClient constructor to an option pattern Brad Fitzpatrick 2020-06-04 11:40:12 -07:00
  • 4d599d194f derp, derp/derphttp: add key accessors, add Client.RecvDetail Brad Fitzpatrick 2020-06-04 11:35:53 -07:00
  • b33c86b542 derp: add an unexported key.Public zero value variable to be less verbose Brad Fitzpatrick 2020-06-04 11:28:00 -07:00
  • b663ab4685 cmd/derper: treat self-connection connection watch as no-op Brad Fitzpatrick 2020-06-04 08:26:05 -07:00
  • 5798826990 cmd/derper: add /home/bradfitz/keys to default mesh key search list Brad Fitzpatrick 2020-06-04 08:19:30 -07:00
  • e01a4c50ba go.mod: require Go 1.14, since we use some of its features. David Anderson 2020-06-03 23:34:03 +00:00
  • 5a32f8e181 wgengine/router: also accept exit code 254 from ip rule del. David Anderson 2020-06-03 19:36:40 +00:00
  • 484b7fc9a3 derp, cmd/derper: add frameWatchConns, framePeerPresent for inter-DERP routing Brad Fitzpatrick 2020-06-01 15:19:41 -07:00
  • c62b80e00b cmd/tailscale: fix inverted flag meanings. David Anderson 2020-06-03 05:42:57 +00:00
  • cc687fc3e6 version: always include the long form version in describe. David Anderson 2020-06-03 05:42:46 +00:00
  • 08a38f21c9 wgengine/router: don't filter subnet routing in netfilter. David Anderson 2020-06-03 03:19:17 +00:00
  • c71754eba2 ipn/ipnserver: revert decoder memory limit. David Anderson 2020-06-03 02:41:49 +00:00
  • d4127db0fe logpolicy: add a temporary fixup for #247. David Anderson 2020-04-04 17:34:25 -07:00
  • 0dac03876a logpolicy: don't put log state in /. David Anderson 2020-04-04 17:18:04 -07:00
  • 364a8508b2 ipn: add Hostname override to Prefs Elias Naur 2020-06-02 18:12:05 +02:00
  • 73c40c77b0 filter: prevent escape of QDecode to the heap (#417) Dmytro Shynkevych 2020-06-02 08:09:20 -04:00
  • 83b6b06cc4 cmd/tailscale: fix broken build, result of borked stash pop. David Anderson 2020-06-02 04:27:28 +00:00
  • 3c7791f6bf cmd/tailscale: remove double negation arguments. David Anderson 2020-06-02 04:22:50 +00:00
  • 5aae6b734d version: support major.minor.patch tags without breaking Apple builds. David Anderson 2020-06-01 20:42:34 +00:00
  • 984a699219 cmd/tailscale: warn to stderr that netcheck -format=json isn't stable Brad Fitzpatrick 2020-06-01 11:15:39 -07:00
  • 24009241bf net/netns: move SOCKS dialing to netns for now Brad Fitzpatrick 2020-06-01 10:50:37 -07:00
  • cf0d19f0ab net/tlsdial, derp/derphttp: finish DERPNode.CertName validation Brad Fitzpatrick 2020-06-01 09:01:37 -07:00
  • 722673f307 Update go4.org/mem, adjust to revised API. Brad Fitzpatrick 2020-05-31 20:22:46 -07:00
  • a5d6c9d616 net/netns: optimize defaultRouteInterface a bit Brad Fitzpatrick 2020-05-31 15:36:10 -07:00
  • 9e5d79e2f1 wgengine/magicsock: drop a bytes.Buffer sync.Pool, use logger.ArgWriter instead Brad Fitzpatrick 2020-05-31 15:29:04 -07:00
  • becce82246 net/netns, misc tests: remove TestOnlySkipPrivilegedOps, argv checks Brad Fitzpatrick 2020-05-31 14:35:30 -07:00
  • 7a410f9236 net/netns: unindent, refactor to remove some redunant code Brad Fitzpatrick 2020-05-31 14:29:54 -07:00
  • 45b139d338 net/netns: remove redundant build tag Brad Fitzpatrick 2020-05-31 14:05:54 -07:00
  • dcd7a118d3 net/netns: add a test that tailscaleBypassMark stays in sync between packages Brad Fitzpatrick 2020-05-31 14:02:13 -07:00
  • 1e837b8e81 net/netns: refactor the sync.Once usage a bit Brad Fitzpatrick 2020-05-31 14:01:20 -07:00
  • e7ae6a2e06 net/netns, wgengine/router: support Linux machines that don't have 'ip rule'. Avery Pennarun 2020-05-31 04:31:01 -04:00
  • 8575b21ca8 Merge branch 'master' of github.com:tailscale/tailscale Avery Pennarun 2020-05-31 03:05:51 -04:00
  • e46238a2af wgengine: separately dedupe wireguard configs and router configs. Avery Pennarun 2020-05-31 02:37:58 -04:00
  • f0b6ba78e8 wgengine: don't pass nil router.Config objects. Avery Pennarun 2020-05-31 02:36:57 -04:00
  • 096d7a50ff tailcfg: remove unused, unimplemented DERPNode.CertFingerprint for now Brad Fitzpatrick 2020-05-30 20:44:18 -07:00
  • 765695eaa2 net/netns: also don't err on tailscaled -fake as a regular user Brad Fitzpatrick 2020-05-29 22:40:26 -07:00
  • 7f68e097dd net/netcheck: fix HTTPS fallback bug from earlier today Brad Fitzpatrick 2020-05-29 22:33:08 -07:00
  • 1407540b52 net/netns: don't return an error if we're not root and running the tailscale binary Brad Fitzpatrick 2020-05-29 21:58:31 -07:00
  • 5114df415e net/netns: set the bypass socket mark on linux. David Anderson 2020-05-29 00:43:15 +00:00
  • 3fa58303d0 netcheck: address some HTTP fallback measurement TODOs Brad Fitzpatrick 2020-05-29 13:31:08 -07:00
  • db2a216561 wgengine/magicsock: don't log on UDP send errors if address family known missing Brad Fitzpatrick 2020-05-29 12:40:51 -07:00
  • d3134ad0c8 syncs: add AtomicBool Brad Fitzpatrick 2020-05-29 12:34:01 -07:00
  • 7247e896b5 net/netcheck: add Report.IPv4 and another TODO Brad Fitzpatrick 2020-05-29 12:33:48 -07:00
  • dd6b96ba68 types/logger: add TS_DEBUG_LOG_RATE knob to easily turn off rate limiting Brad Fitzpatrick 2020-05-29 12:30:43 -07:00
  • cf5d25e15b wgengine: ensure pingers are gone before returning from Close David Crawshaw 2020-05-29 15:38:26 +10:00
  • 004780b312 ipn: restore LiveDERPs assignment in LocalBackend.parseWgStatus Brad Fitzpatrick 2020-05-29 09:53:04 -07:00
  • 03682cb271 control/controlclient: use netns package to dial connections. David Anderson 2020-05-29 00:06:08 +00:00
  • 1617a232e1 logpolicy: remove deprecated DualStack directive. David Anderson 2020-05-29 00:04:28 +00:00
  • a6bd3a7e53 logpolicy: use netns for dialing log.tailscale.io. David Anderson 2020-05-28 23:53:19 +00:00
  • e9f7d01b91 derp/derphttp: make DERP client use netns for dial-outs. David Anderson 2020-05-28 23:48:08 +00:00
  • 9e3ad4f79f net/netns: add package for start of network namespace support Brad Fitzpatrick 2020-05-28 15:27:04 -07:00
  • a428656280 wgengine/magicsock: don't report v4 localhost addresses on IPv6-only systems Brad Fitzpatrick 2020-05-28 14:16:23 -07:00
  • fff062b461 wgengine/router: make runner.go linux-only for now. David Anderson 2020-05-28 12:17:46 -07:00
  • f0204098d8 Revert "control/controlclient: use "getprop net.hostname" for Android hostname" Brad Fitzpatrick 2020-05-28 10:50:11 -07:00
  • 0245bbe97b Make netcheck handle v6-only interfaces better, faster. Brad Fitzpatrick 2020-05-28 09:58:52 -07:00
  • c5495288a6 Bump inet.af/netaddr dep for FromStdIP behavior change I want to depend on. Brad Fitzpatrick 2020-05-28 09:34:41 -07:00
  • 9bbcdba2b3 tempfork/internal/testenv: remove Brad Fitzpatrick 2020-05-28 09:34:03 -07:00
  • a96165679c cmd/tailscale: add netcheck flags for incremental reports, JSON output Brad Fitzpatrick 2020-05-28 08:28:04 -07:00
  • f69003fd46 router_linux: work around terrible bugs in old iptables-compat versions. Avery Pennarun 2020-05-28 06:59:16 -04:00
  • 9ff51909a3 router_linux: fix behaviour when switching --netfilter-mode. Avery Pennarun 2020-05-28 05:52:33 -04:00
  • a496cdc943 router_linux: remove need for iptables.ListChains(). Avery Pennarun 2020-05-28 05:44:44 -04:00
  • 8a6bd21baf router_linux: extract process runner routines into runner.go. Avery Pennarun 2020-05-28 04:28:04 -04:00
  • 34c30eaea0 router_linux: use only baseline 'ip rule' features that exist in old kernels. Avery Pennarun 2020-05-28 03:44:09 -04:00
  • 85d93fc4e3 cmd/tailscale: make ip_forward warnings more actionable. Avery Pennarun 2020-05-28 04:47:10 -04:00
  • 99aa33469e cmd/tailscale: be quiet when no interaction or errors are needed. Avery Pennarun 2020-05-28 04:42:28 -04:00
  • 30e5c19214 magicsock: work around race condition initializing .Regions[]. Avery Pennarun 2020-05-28 03:42:03 -04:00
  • 7cd9ff3dde net/netcheck: fix race condition initializting RegionLatency maps. Avery Pennarun 2020-05-28 03:37:46 -04:00
  • 5eb09c8f5e filch_test: clarify the use of os.RemoveAll(). Avery Pennarun 2020-05-27 18:50:14 -04:00
  • afb9c6a6ab control/controlclient: use "getprop net.hostname" for Android hostname Brad Fitzpatrick 2020-05-27 12:50:41 -07:00
  • 2b74236567 ipn: move e2e_test back to corp repo. David Anderson 2020-05-27 19:23:17 +00:00
  • 557b310e67 control/controlclient: move auto_test back to corp repo. David Anderson 2020-05-27 18:46:09 +00:00
  • 737124ef70 tstun: tolerate zero reads Dmytro Shynkevych 2020-05-26 18:14:19 -04:00
  • 7317e73bf4 control/controlclient: move direct_test back to corp repo. David Anderson 2020-05-27 17:00:23 +00:00
  • 7508b67c54 cmd/tailscale: expose --enable-derp Dmytro Shynkevych 2020-05-26 17:54:27 -04:00
  • 703d789005 tailcfg: add MapResponse.Debug mechanism to trigger logging heap pprof Brad Fitzpatrick 2020-04-07 22:24:06 -07:00
  • b0c10fa610 stun, netcheck: move under net Brad Fitzpatrick 2020-05-25 09:15:50 -07:00
  • 43ded2b581 wgengine/packet: add some tests, more docs, minor Go style, performance changes Brad Fitzpatrick 2020-05-25 08:57:04 -07:00
  • 3f4a567032 types/strbuilder: add a variant of strings.Builder that uses sync.Pool Brad Fitzpatrick 2020-05-25 08:45:56 -07:00
  • e6b84f2159 all: make client use server-provided DERP map, add DERP region support Brad Fitzpatrick 2020-05-17 09:51:38 -07:00
  • e8b3a5e7a1 wgengine/filter: implement a destination IP pre-filter. David Anderson 2020-05-22 02:41:18 +00:00
  • 35a8586f7e go.sum: go mod tidy Brad Fitzpatrick 2020-05-22 09:06:42 -07:00