Commit Graph

  • 5590daa97d control/controlclient: reset timeout timer on non-keepalive map updates Brad Fitzpatrick 2020-08-06 21:24:31 -07:00
  • b840e7dd5b go mod tidy Brad Fitzpatrick 2020-08-06 21:24:09 -07:00
  • 1b27eb431a go.mod: update to newly rebased wireguard-go Josh Bleecher Snyder 2020-08-06 17:50:31 -07:00
  • 2622e8e082 wgenginer/router: fix build Josh Bleecher Snyder 2020-08-06 17:37:05 -07:00
  • b62b07bc2d ipn: jack up the MaxMessageSize from 1MB to 10MB Brad Fitzpatrick 2020-08-06 15:36:10 -07:00
  • cb01058a53 wgengine: stop giving tsdns a buffer that will be reused Dmytro Shynkevych 2020-08-06 18:11:12 -04:00
  • 9a346fd8b4 wgengine,magicsock: fix two lazy wireguard config issues Brad Fitzpatrick 2020-08-06 14:57:03 -07:00
  • 78c2e1ff83 tsdns: implement reverse DNS lookups, canonicalize names everywhere. (#640) Dmytro Shynkevych 2020-08-06 14:25:28 -04:00
  • 41c4560592 control/controlclient: remove unused NetworkMap.UAPI method Brad Fitzpatrick 2020-08-06 10:23:16 -07:00
  • cff737786e wgengine/magicsock: fix lazy config deadlock, document more lock ordering Brad Fitzpatrick 2020-08-06 08:43:48 -07:00
  • 43bc86588e wgengine/monitor: log RTM_DELROUTE details, fix format strings Brad Fitzpatrick 2020-08-05 20:44:05 -07:00
  • 2bd9ad4b40 wgengine: fix deadlock between engine and magicsock Brad Fitzpatrick 2020-08-05 16:36:53 -07:00
  • 5db529a655 logpolicy: upload early logpolicy output, log where we decide to write logs Brad Fitzpatrick 2020-08-05 14:50:43 -07:00
  • 934c63115e ipn: put Magic DNS domains first Dmytro Shynkevych 2020-08-04 20:13:30 -04:00
  • 7c38db0c97 wgengine/magicsock: don't deadlock on pre-disco Endpoints w/ lazy wireguard configs Brad Fitzpatrick 2020-08-04 17:04:02 -07:00
  • a16a793605 net/interfaces: use syscalls to find private gateway IP address Josh Bleecher Snyder 2020-08-04 14:20:38 -07:00
  • 08949d4ef1 --advertise-routes option enabled in Mac tailscale CLI; it checks for IP forwarding enabled Mike Kramlich 2020-08-03 11:26:07 -06:00
  • 4987a7d46c wgengine/magicsock: when hard NAT, add stun-ipv4:static-port as candidate Brad Fitzpatrick 2020-08-04 09:48:34 -07:00
  • bfcb0aa0be wgengine/magicsock: deflake tests, Close deadlock again Brad Fitzpatrick 2020-08-04 09:36:38 -07:00
  • c3467fbadb version: adjust to a pure semver version number, per bradfitz's proposal. David Anderson 2020-08-03 17:53:08 +00:00
  • 6298018704 control/controlclient: print disco keys NetworkMap diffs (debug change only) Brad Fitzpatrick 2020-08-03 10:00:16 -07:00
  • da3b50ad88 wgengine/filter: omit logging for all v6 multicast, remove debug panic :( Brad Fitzpatrick 2020-08-01 12:40:09 -07:00
  • 9e26ffecf8 cmd/tailscaled: ignore SIGPIPE. David Anderson 2020-08-01 02:12:07 +00:00
  • d64de1ddf7 Revert "cmd/tailscaled: exit gracefully on SIGPIPE" David Anderson 2020-08-01 02:07:14 +00:00
  • 358cd3fd92 ipn: fix incorrect change tracking for packet filter. David Anderson 2020-07-31 20:03:00 +00:00
  • 28e52a0492 all: dns refactor, add Proxied and PerDomain flags from control (#615) Dmytro Shynkevych 2020-07-31 16:27:09 -04:00
  • 43b271cb26 cmd/tailscaled: exit gracefully on SIGPIPE Dmytro Shynkevych 2020-07-31 16:02:42 -04:00
  • 3e493e0417 wgengine: fix lazy wireguard config bug on sent packet minute+ later Brad Fitzpatrick 2020-07-31 12:40:49 -07:00
  • c253d4f948 net/interfaces: don't try to fork on iOS in likelyHomeRouterIPDarwin Brad Fitzpatrick 2020-07-31 10:35:15 -07:00
  • 8c850947db router: split off sandboxed path from router_darwin (#624) Dmytro Shynkevych 2020-07-31 01:10:14 -04:00
  • cb970539a6 wgengine/magicsock: remove TODO comment that's no longer applicable Brad Fitzpatrick 2020-07-30 21:33:23 -07:00
  • 92e9a5ac15 tailscaled.service: use default restart limiting David Crawshaw 2020-07-31 09:55:11 +10:00
  • 915f65ddae wgengine/magicsock: stop disco activity on IPN stop Brad Fitzpatrick 2020-07-30 13:48:32 -07:00
  • c180abd7cf wgengine/magicsock: merge errClosed and errConnClosed Brad Fitzpatrick 2020-07-30 13:59:23 -07:00
  • 7cc8fcb784 wgengine/filter: remove leftover debug knob that staticcheck doesn't like Brad Fitzpatrick 2020-07-30 11:21:37 -07:00
  • b4d97d2532 wgengine/filter: fix IPv4 IGMP spam omission, also omit ff02::16 spam Brad Fitzpatrick 2020-07-30 10:57:30 -07:00
  • ff8c8db9d3 cmd/tailscaled: log on shutdown signal Brad Fitzpatrick 2020-07-30 08:49:17 -07:00
  • 2072dcc127 version: revert the filepath change from earlier commit Brad Fitzpatrick 2020-07-30 07:59:43 -07:00
  • 6013462e9e logpolicy: remove inaccurate comment, conditional tryFixLogStateLocation call Brad Fitzpatrick 2020-07-30 07:47:19 -07:00
  • 60c00605d3 ipn/setClientStatus: fix inverted prefsChanged check. Avery Pennarun 2020-07-30 04:36:06 -04:00
  • f81233524f version/cmdname: s/path/filepath/ and fix version.ReadExe() fallback. Avery Pennarun 2020-07-30 02:59:06 -04:00
  • 2ce2b63239 router: stop iOS subprocess sandbox violations (#617) Dmytro Shynkevych 2020-07-29 21:09:18 -04:00
  • 154d1cde05 router: reload systemd-resolved after changing /etc/resolv.conf (#619) Dmytro Shynkevych 2020-07-29 20:57:25 -04:00
  • cbf71d5eba ipn/ipnserver: fix bug in earlier commit where conn can be stranded Brad Fitzpatrick 2020-07-29 17:46:06 -07:00
  • b3fc61b132 wgengine: disable wireguard config trimming for now except iOS w/ many peers Brad Fitzpatrick 2020-07-29 16:14:35 -07:00
  • 9ff5b380cb ipn/ipnserver: staticcheck is not wrong Brad Fitzpatrick 2020-07-29 15:15:05 -07:00
  • 4aba86cc03 ipn/ipnserver: make Engine argument a func that tries again for each connection Brad Fitzpatrick 2020-07-29 13:38:09 -07:00
  • d55fdd4669 wgengine/magicsock: update, flesh out a TODO Brad Fitzpatrick 2020-07-29 12:59:11 -07:00
  • d96d26c22a wgengine/filter: don't spam logs on dropped outgoing IPv6 ICMP or IPv4 IGMP Brad Fitzpatrick 2020-07-28 22:10:58 -07:00
  • c7582dc234 ipn: fix netmap change tracking and dns map generation (#609) Dmytro Shynkevych 2020-07-28 21:47:23 -04:00
  • 3e3c24b8f6 wgengine/packet: add IPVersion field, don't use IPProto to note version Brad Fitzpatrick 2020-07-28 16:02:15 -07:00
  • 91d95dafd2 control/controlclient: remove an 'unexpected' log that no longer is Brad Fitzpatrick 2020-07-28 15:13:34 -07:00
  • 77cad13c70 portlist: avoid syscall audit violation logspam on Android Brad Fitzpatrick 2020-07-28 13:17:38 -07:00
  • 84f2320972 go.sum: update Brad Fitzpatrick 2020-07-28 11:49:47 -07:00
  • f8e4c75f6b wgengine/magicsock: check slightly less aggressively for connectivity. David Anderson 2020-07-28 17:04:09 +00:00
  • 33a748bec1 net/interfaces: fix likelyHomeRouterIP on Android Brad Fitzpatrick 2020-07-28 09:12:04 -07:00
  • b77d752623 control/controlclient: populate OSVersion on Windows Brad Fitzpatrick 2020-07-27 21:46:07 -07:00
  • cd21ba0a71 tailcfg, control/controlclient: add GoArch, populate OSVersion on Linux Brad Fitzpatrick 2020-07-27 21:14:28 -07:00
  • 58b721f374 wgengine/magicsock: deflake some tests with an ugly hack Brad Fitzpatrick 2020-07-27 16:26:33 -07:00
  • ec4feaf31c cmd/cloner, tailcfg: fix nil vs len 0 issues, add tests, use for Hostinfo Brad Fitzpatrick 2020-07-27 10:40:34 -07:00
  • 41d0c81859 wgengine/magicsock: make disco subtest name more precise. David Anderson 2020-07-27 20:34:41 +00:00
  • 9beea8b314 wgengine/magicsock: remove unnecessary use of context. David Anderson 2020-07-27 20:34:17 +00:00
  • b62341d308 wgengine/magicsock: add docstring. David Anderson 2020-07-27 20:33:09 +00:00
  • 9265296b33 wgengine/magicsock: don't deadlock on shutdown if sending blocks. David Anderson 2020-07-27 20:32:45 +00:00
  • 0249236cc0 ipn/ipnstate: record assigned Tailscale IPs. David Anderson 2020-07-27 20:25:25 +00:00
  • c3958898f1 tstest/natlab: be a bit more lenient during test shutdown. David Anderson 2020-07-27 19:46:34 +00:00
  • 7578c815be wgengine/magicsock: give pinger a more generous packet timeout. David Anderson 2020-07-27 16:20:31 +00:00
  • c3994fd77c derp: remove OnlyDisco option. David Anderson 2020-07-27 16:10:16 +00:00
  • 5455c64f1d wgengine/magicsock: add a test for two facing endpoint-independent NATs. David Anderson 2020-07-27 15:21:17 +00:00
  • f794493b4f wgengine/magicsock: explicitly check path discovery, add a firewall test. David Anderson 2020-07-27 15:09:54 +00:00
  • f582eeabd1 wgengine/magicsock: add a test for active path discovery. David Anderson 2020-07-25 00:32:18 +00:00
  • a2b4ad839b net/netcheck: lower the hairpin check timeout to 100ms. David Anderson 2020-07-25 23:17:09 +00:00
  • 25288567ec net/netcheck: centralize all clock values in one place. David Anderson 2020-07-25 02:29:27 +00:00
  • 5a370d545a tstest/natlab: drop packets that can't be routed in a LAN. David Anderson 2020-07-27 15:53:31 +00:00
  • 37903a9056 wgengine/magicsock: fix occasional deadlock on Conn.Close on c.derpStarted Brad Fitzpatrick 2020-07-27 12:23:14 -07:00
  • bca9fe35ba logtail: return correct write size from logger.Write Elias Naur 2020-07-25 12:40:18 +02:00
  • 38b0c3eea2 version: new week, new version Brad Fitzpatrick 2020-07-27 10:20:58 -07:00
  • 43e2efe441 go mod tidy Brad Fitzpatrick 2020-07-27 10:20:30 -07:00
  • fe68841dc7 wgengine/magicsock: log better with less spam on transition to stopped state Brad Fitzpatrick 2020-07-27 10:19:05 -07:00
  • 69f3ceeb7c derp/derphttp: don't return all nil from dialRegion when STUNOnly nodes Brad Fitzpatrick 2020-07-27 10:10:10 -07:00
  • 990e2f1ae9 tailcfg: generate some Clone methods David Crawshaw 2020-07-24 17:59:49 +10:00
  • 961b9c8abf cmd/cloner: tool to generate Clone methods David Crawshaw 2020-07-24 18:00:02 +10:00
  • e298327ba8 wgengine/magicsock: remove overkill, slow reflect.DeepEqual of NetworkMap Brad Fitzpatrick 2020-07-25 19:37:08 -07:00
  • be3ca5cbfd control/controlclient: remove unused, slow, often-not-what-you-want NetworkMap.Equal Brad Fitzpatrick 2020-07-25 19:36:39 -07:00
  • 4970e771ab wgengine: add debug knob to disable the watchdog during debugging Brad Fitzpatrick 2020-07-25 12:59:53 -07:00
  • 3669296cef wgengine/magicsock: refactor twoDevicePing to make stack construction cleaner. David Anderson 2020-07-24 21:19:20 +00:00
  • 0a42b0a726 ipn: add OSVersion, DeviceModel fields to Prefs and propagate to Hostinfos Elias Naur 2020-07-24 23:05:04 +02:00
  • 16a9cfe2f4 wgengine: configure wireguard peers lazily, as needed Brad Fitzpatrick 2020-07-23 15:15:28 -07:00
  • 5066b824a6 wgengine/magicsock: don't log about disco ping timeouts if we have a working address Brad Fitzpatrick 2020-07-24 11:18:35 -07:00
  • 648268192b go.mod: bump wireguard-go Brad Fitzpatrick 2020-07-24 08:54:17 -07:00
  • a89d610a3d wgengine/tstun: move sync.Pool to package global Brad Fitzpatrick 2020-07-24 08:29:36 -07:00
  • 318751c486 cmd/tailscaled: always flush logs properly Dmytro Shynkevych 2020-07-23 14:58:28 -04:00
  • 4957360ecd cmd/tailscale: rename use-dns to accept-dns Dmytro Shynkevych 2020-07-23 16:09:33 -04:00
  • dd4e06f383 cmd/tailscale: add corpDNS flag Dmytro Shynkevych 2020-07-23 15:18:55 -04:00
  • c53ab3111d wgengine/router: support legacy resolvconf Dmytro Shynkevych 2020-07-23 14:34:39 -04:00
  • 05a79d79ae control/controlclient: rewrite, test NetworkMap.ConciseDiffFrom Brad Fitzpatrick 2020-07-23 10:50:06 -07:00
  • 48fc9026e9 tailcfg: optimize Node.Equal allocs a bit Brad Fitzpatrick 2020-07-23 10:41:54 -07:00
  • 3b0514ef6d control/controlclient: rename uflags, give it a type, remove dead code Brad Fitzpatrick 2020-07-23 08:38:14 -07:00
  • 32ecdea157 control/controlclient: generate wireguard config w/o WgQuick text indirection Brad Fitzpatrick 2020-07-23 08:30:09 -07:00
  • 2545575dd5 cmd/tailscale: default to not reporting daemon version Brad Fitzpatrick 2020-07-22 14:05:49 -07:00