Commit Graph

  • 2c2dff9559 tsweb: don't panic if we get a tsweb.Error with no embedded error. David Anderson 2020-04-03 10:35:31 -07:00
  • 2f8719741e controlclient: do not send duplicate hostinfo/netinfo David Crawshaw 2020-04-02 11:18:39 +11:00
  • 48d7ee1c6a cmd/microproxy: adjust to export node stats and a Go expvar server's stats. David Anderson 2020-04-01 16:50:02 -07:00
  • 8ca796d144 ipn, ipn/policy: filter portlist to a short list of "interesting" ports Brad Fitzpatrick 2020-03-31 21:48:33 -07:00
  • c6aa5b639f tailcfg: clarify Hostinfo.OS doc Brad Fitzpatrick 2020-04-01 09:27:35 -07:00
  • 4524dcf51e version: move runtime.OS to tailscale OS mapping func to version Brad Fitzpatrick 2020-04-01 08:49:25 -07:00
  • c14bc028ac cmd/microproxy: tiny TLS proxy that borrows autocert x509 certs. David Anderson 2020-03-31 12:24:33 -07:00
  • 1df3c8d02a derp, netcheck: make tests listen on localhost only Brad Fitzpatrick 2020-03-30 11:29:08 -07:00
  • 5362e952e1 safesocket: gofmt Brad Fitzpatrick 2020-03-30 11:23:18 -07:00
  • fee2d9fad4 safesocket: connect to the macOS network extension on darwin (as last resort) Brad Fitzpatrick 2020-03-29 22:04:20 -07:00
  • 0590ad68be controlclient, ipn: adjust tests for authURL semantic changes David Crawshaw 2020-03-30 15:44:08 +11:00
  • a4ef345737 cmd/tailscale: add status subcommand Brad Fitzpatrick 2020-03-27 13:26:35 -07:00
  • 810c1e9704 types/key: make Public implement TextMarshaler, TextUnmarshaler Brad Fitzpatrick 2020-03-27 13:03:35 -07:00
  • f51f18b42b ipn: move FakeBackend to a test-only file Brad Fitzpatrick 2020-03-27 13:02:33 -07:00
  • 8ebee05fbd cmd/tailscale: remove unnecessary logpolicy/logtail logging Brad Fitzpatrick 2020-03-27 08:27:36 -07:00
  • 80261b02ba testy: make safe for concurrent use. David Anderson 2020-03-27 03:05:25 -07:00
  • 1fdadf06f1 testy: don't give Clock.Step==0 magical behavior. David Anderson 2020-03-27 00:38:11 -07:00
  • 8b3f6be008 control/controlclient: flip IPv6 to be on by default Brad Fitzpatrick 2020-03-26 21:59:03 -07:00
  • 322499473e cmd/tailscaled, wgengine, ipn: add /debug/ipn handler with world state Brad Fitzpatrick 2020-03-25 22:57:46 -07:00
  • dbca186a64 stunner: fix data race. David Anderson 2020-03-25 23:11:22 -07:00
  • 7fb8d873ac logpolicy: don't log timestamp when running under systemd Brad Fitzpatrick 2020-03-25 20:40:24 -07:00
  • 2d48f92a82 wgengine/magicsock: re-stun every [20,27] sec, not 28 Brad Fitzpatrick 2020-03-25 14:19:21 -07:00
  • 2c7ddd0828 go.mod, go.sum: tidy Brad Fitzpatrick 2020-03-25 14:05:33 -07:00
  • 577f321c38 wgengine/magicsock: revise derp fallback logic Brad Fitzpatrick 2020-03-25 11:14:29 -07:00
  • cbd8aceb95 go.mod: bump wireguard-go version. David Anderson 2020-03-25 12:19:53 -07:00
  • 2e420ad8b6 wgengine, wgengine/filter: minor doc, style, performance, locking changes Brad Fitzpatrick 2020-03-25 08:40:36 -07:00
  • 6284454ae5 wgengine/magicsock: if UDP blocked, pick DERP where most peers are Brad Fitzpatrick 2020-03-24 22:24:59 -07:00
  • f53e78e0d5 wgengine: don't lose filter state on filter reconfig. Avery Pennarun 2020-03-25 03:47:55 -04:00
  • 4336de0d98 ipn/local: don't print packet filter every single time. Avery Pennarun 2020-03-25 03:47:29 -04:00
  • a56e853b72 cmd/relaynode: delete it! Avery Pennarun 2020-03-25 03:32:01 -04:00
  • 73fccd8b06 control/controlclient: remove old compat PacketFilter initialization. David Anderson 2020-03-24 16:00:24 -07:00
  • d321190578 wgengine/magicsock: stringify [IPv6]:port normally in AddrSet.String Brad Fitzpatrick 2020-03-24 13:40:43 -07:00
  • 3c3ea8bc8a wgengine/magicsock: finish IPv6 transport support Brad Fitzpatrick 2020-03-24 10:56:22 -07:00
  • 82ed7e527e wgengine/magicsock: remove log allocation Brad Fitzpatrick 2020-03-24 08:14:47 -07:00
  • 8454bbbda5 wgengine/magicsock: more logging improvements Brad Fitzpatrick 2020-03-24 08:09:30 -07:00
  • 64aff0db7b control/controlclient: add TODO to delete the UAPI method Brad Fitzpatrick 2020-03-23 22:24:25 -07:00
  • 7740cbd8d9 ipn: call SetNetInfoCallback later, in Start Brad Fitzpatrick 2020-03-23 22:16:16 -07:00
  • 680311b3df wgengine/magicsock: fix few remaining logs without package prefix Brad Fitzpatrick 2020-03-23 22:11:49 -07:00
  • c473927558 wgengine/magicsock: clean up, add, improve DERP logs Brad Fitzpatrick 2020-03-23 14:12:23 -07:00
  • e749377a56 derp/derphttp: remove a redundant log message Brad Fitzpatrick 2020-03-23 21:22:50 -07:00
  • 1d3f45f9be derp/derphttp: ignore PeerGoneMessage in test Brad Fitzpatrick 2020-03-23 14:13:49 -07:00
  • ea9310403d wgengine/magicsock: re-STUN on DERP connection death Brad Fitzpatrick 2020-03-23 13:19:33 -07:00
  • 1ab5b31c4b derp, magicsock: send new "peer gone" frames when previous sender disconnects Brad Fitzpatrick 2020-03-21 18:24:28 -07:00
  • e60b433831 tailcfg: NetInfo.String: handle nil object without panicing David Crawshaw 2020-03-23 13:34:09 +11:00
  • b6f77cc48d wgengine/magicsock: return early, outdent in derpWriteChanOfAddr Brad Fitzpatrick 2020-03-22 14:08:59 -07:00
  • 8c4cef60f8 derp: wait for send goroutine to finish before returning from run Brad Fitzpatrick 2020-03-22 13:08:17 -07:00
  • 521ad7b0fc derp: only flush writes to clients when we're out of things to write Brad Fitzpatrick 2020-03-21 18:24:28 -07:00
  • 0a25abcdaa derp: remove TODO comment Brad Fitzpatrick 2020-03-22 07:54:50 -07:00
  • 8519a1b29f derp: revert rename of pkt to sendMsg Brad Fitzpatrick 2020-03-21 22:17:22 -07:00
  • c34b350efa derp: remove the mutex around and closing of send channel Brad Fitzpatrick 2020-03-21 20:43:50 -07:00
  • 77921a31b1 derp: rename pkt to sendMsg, in prep for other types of writes Brad Fitzpatrick 2020-03-21 20:34:49 -07:00
  • 1453aecb44 derp: add sclient.done channel, simplify some context passing Brad Fitzpatrick 2020-03-21 18:28:34 -07:00
  • ea90780066 derp: specify type of the by-reason drop varz. David Anderson 2020-03-20 15:52:50 -07:00
  • fd824df1fa derp: export metric for server's initial MemStats.Sys reading Brad Fitzpatrick 2020-03-20 15:22:02 -07:00
  • 64b5248929 derp: sprinkle comments and docstrings. David Anderson 2020-03-20 12:00:20 -07:00
  • 58b8ebd290 derp: add per-reason packet drop counter. David Anderson 2020-03-20 00:57:53 -07:00
  • 1e031001db derp: move write timeout to package constant. David Anderson 2020-03-20 00:38:52 -07:00
  • dbfc916273 derp: add short queues between reader and writer, drop on overload. David Anderson 2020-03-20 00:14:43 -07:00
  • dd31285ad4 wgengine/magicsock: send IPv6 using pconn6, if available Brad Fitzpatrick 2020-03-20 13:38:21 -07:00
  • af277a6762 controlclient, magicsock: add debug knob to request IPv6 endpoints Brad Fitzpatrick 2020-03-19 20:45:49 -07:00
  • 221e7d7767 wgengine/magicsock: make log message include DERP port (node) Brad Fitzpatrick 2020-03-20 13:51:07 -07:00
  • 33bdcabf03 wgengine/magicsock: call stun callback w/ only valid part of STUN packet Brad Fitzpatrick 2020-03-20 13:37:45 -07:00
  • 13eed1e88b controlclient: remove common log on very quiet nodes David Crawshaw 2020-03-21 07:11:10 +11:00
  • f9cc4e8f53 tailcfg: restore MapRequest.IncludeIPv6 bool Brad Fitzpatrick 2020-03-20 08:13:47 -07:00
  • 0be475ba46 Revert "tailcfg, controlclient, magicsock: request IPv6 endpoints, but ignore them" David Anderson 2020-03-20 03:19:59 -07:00
  • f9184ad12b go.mod: update wireguard-go for https://github.com/tailscale/wireguard-go/pull/13 Brad Fitzpatrick 2020-03-19 22:46:36 -07:00
  • 94024355ed tailcfg, controlclient, magicsock: request IPv6 endpoints, but ignore them Brad Fitzpatrick 2020-03-19 20:45:49 -07:00
  • 12a6626a94 tsweb: use a ResponseWriter wrapper to log more accurately. David Anderson 2020-03-18 17:37:40 -07:00
  • 2e43cd3f95 testy: add a virtual clock helper for tests. David Anderson 2020-03-18 17:37:15 -07:00
  • b1d5548fa7 tailcfg: make NodeKey.IsZero have a value receiver Brad Fitzpatrick 2020-03-19 20:00:32 -07:00
  • 51b669e4bd ipn: skip tailscaled UDP ports in service list Brad Fitzpatrick 2020-03-19 19:56:02 -07:00
  • 60ea635c6d wgengine/magicsock: delete inaccurate comment Brad Fitzpatrick 2020-03-19 19:48:02 -07:00
  • 6ddbcab71e logtail: rename the unused CheckLogs to DrainLogs David Crawshaw 2020-03-20 13:13:36 +11:00
  • 51a12d1307 filch: a few minor comments David Crawshaw 2020-03-20 13:20:21 +11:00
  • a184e05290 wgengine/magicsock: listen on udp6, use it for STUN, report endpoint Brad Fitzpatrick 2020-03-19 09:39:00 -07:00
  • 073bb8de80 control/controlclient: don't use Node as value type Brad Fitzpatrick 2020-03-19 13:19:02 -07:00
  • 7caa288213 wgengine/magicsock: rename pconn field to pconn4, in prep for pconn6 Brad Fitzpatrick 2020-03-19 08:49:30 -07:00
  • 5fa825f057 go.mod, go.sum: update Brad Fitzpatrick 2020-03-19 08:49:12 -07:00
  • addbdce296 wgengine, ipn: include number of active DERPs in status David Crawshaw 2020-03-19 17:55:14 +11:00
  • 1ad78ce698 magicsock: reconnect to home DERP on key change David Crawshaw 2020-03-19 17:53:42 +11:00
  • 455ba751d9 magicsock: start connection to HOME derp immediately David Crawshaw 2020-03-19 17:32:31 +11:00
  • 73cae4eb11 tailcfg, controlclient: standardize on wgcfg ShortString key printing David Crawshaw 2020-03-19 09:10:46 +11:00
  • acd14960f8 go.mod: bump wireguard-go David Crawshaw 2020-03-19 09:10:13 +11:00
  • 14a2564ef0 go.mod: bump wireguard-go Brad Fitzpatrick 2020-03-18 13:26:08 -07:00
  • 19a1704abd netcheck: use best DERP server in past 5 minutes to avoid flip-flopping Brad Fitzpatrick 2020-03-18 13:04:12 -07:00
  • 6de37f4cc0 tsweb: move some comments, add a TODO Brad Fitzpatrick 2020-03-18 09:53:14 -07:00
  • df4636567f tsweb: adjust names and docs of the "handler with errors" functions. David Anderson 2020-03-17 22:06:30 -07:00
  • 131541c06d derp: deflake test David Crawshaw 2020-03-18 16:33:25 +11:00
  • 52d9613b42 github: add license check to CI. David Anderson 2020-03-17 21:30:18 -07:00
  • 315a5e5355 scripts: add a license header checker. David Anderson 2020-03-17 21:28:47 -07:00
  • 3e2fadf872 version: add license header to input for generated file. David Anderson 2020-03-17 20:36:52 -07:00
  • 98eceae55e tsweb: add a Handler type. David Anderson 2020-03-17 20:35:59 -07:00
  • f8d67bb591 portlist: ignore ports bound to localhost Brad Fitzpatrick 2020-03-17 20:19:39 -07:00
  • c706731dc7 tsweb: add copyright header Brad Fitzpatrick 2020-03-17 20:07:08 -07:00
  • a567c56971 tsweb: pull in tlog data structures from corp repo. David Anderson 2020-03-17 17:21:50 -07:00
  • 5a0822eefd controlclient, ipn: fix tests for new control param David Crawshaw 2020-03-18 08:35:28 +11:00
  • e085aec8ef all: update to wireguard-go API changes Brad Fitzpatrick 2020-03-16 20:27:00 -07:00
  • dd14b658a2 version: bump again, for 0.97.0. David Anderson 2020-03-16 21:16:18 -07:00
  • 9ea445acd1 version: bump for 0.96.1 tag. David Anderson 2020-03-16 20:35:35 -07:00
  • 5758d8d48f Merge branch 'master' of github.com:tailscale/tailscale into HEAD David Anderson 2020-03-16 18:37:38 -07:00