Commit Graph

  • 61d83f759b wgengine/magicsock: remove redundant derpMagicIP comparison Brad Fitzpatrick 2020-03-06 11:20:32 -08:00
  • bd60a750e8 wgengine/magicsock: fix packet spraying test to (mostly) pass. David Anderson 2020-03-06 10:37:57 -08:00
  • ef31dd7bb5 wgengine/magicsock: check all 3 fast paths independently. David Anderson 2020-03-06 10:36:33 -08:00
  • 05a52746a4 wgengine/magicsock: fix destination selection logic to work with DERP. David Anderson 2020-03-05 18:57:45 -08:00
  • 97e58ad44d wgengine/magicsock: only set addrByKey once in CreateEndpoint. David Anderson 2020-03-05 18:12:45 -08:00
  • fbab12c94c wgengine/magicsock: skip netcheck if external STUN aren't in use Brad Fitzpatrick 2020-03-06 07:47:54 -08:00
  • fe0051fafd wgengine/magicsock: expand AddrSet.addrs comment Brad Fitzpatrick 2020-03-05 21:17:41 -08:00
  • e733fa6f7e derp: add some varz tests for active/home conns Brad Fitzpatrick 2020-03-05 20:29:07 -08:00
  • dd456f04c5 derp: actually record client's preferred bit Brad Fitzpatrick 2020-03-05 19:02:54 -08:00
  • 2839854994 wgengine/magicsock: never set a DERP server as a roamAddr. David Anderson 2020-03-05 17:38:17 -08:00
  • 4f5c0da1ae wgengine/magicsock: log when home DERP server changes. David Anderson 2020-03-05 17:18:05 -08:00
  • 61f3fda405 tsweb: let expvar.Ints be gauges too Brad Fitzpatrick 2020-03-05 15:10:01 -08:00
  • 6978b93bdd derp, magicsock: track home (preferred) vs visiting connections for stats Brad Fitzpatrick 2020-03-05 15:00:56 -08:00
  • 12b77f30ad wgengine/magicsock: close stale DERP connections Brad Fitzpatrick 2020-03-05 12:47:54 -08:00
  • cf4aacde57 derp/derphttp: appease staticcheck Brad Fitzpatrick 2020-03-05 12:34:57 -08:00
  • 2cff9016e4 net/dnscache: add overly simplistic DNS cache package for selective use Brad Fitzpatrick 2020-03-05 10:29:19 -08:00
  • a36ccb8525 wgengine/magicsock: actually add to the activeDerp map Brad Fitzpatrick 2020-03-05 12:22:33 -08:00
  • 8f9849c140 wgengine/magicsock: collapse three DERP maps down into one Brad Fitzpatrick 2020-03-05 08:54:08 -08:00
  • 7e1bed82bd go.sum: update Brad Fitzpatrick 2020-03-05 08:51:21 -08:00
  • 40ebba1373 magicsock: use [unexpected] convention more Brad Fitzpatrick 2020-03-05 08:18:12 -08:00
  • 848a2bddf0 wgengine/magicsock: update set of DERP nodes Brad Fitzpatrick 2020-03-05 07:58:16 -08:00
  • 551964c562 go.mod: update wireguard-go version David Crawshaw 2020-03-04 21:29:53 -05:00
  • 4a7638c319 go.mod: update wireguard-go version David Crawshaw 2020-03-04 18:13:56 -05:00
  • 7932481b95 magicsock: lookup AddrSet by key from DERP David Crawshaw 2020-03-04 13:43:06 -05:00
  • 57de94c7aa tsweb: add /debug/ access via &debugkey + TS_DEBUG_KEY_PATH Brad Fitzpatrick 2020-03-04 13:49:18 -08:00
  • d580157921 tsweb: quote label values to comply with Prometheus format. David Anderson 2020-03-04 13:45:23 -08:00
  • ff6b3c2c38 netcheck: include two more DERP nodes, show more in CLI report Brad Fitzpatrick 2020-03-04 13:40:29 -08:00
  • f192c05413 metrics: add a LabelMap type for variables with 1 label dimension. David Anderson 2020-03-04 12:24:07 -08:00
  • eac62ec5ff ipn, wgengine/magicsock: add ipn.Prefs.DisableDERP bool Brad Fitzpatrick 2020-03-04 12:21:40 -08:00
  • bf704a5218 derp: protocol negotiation, add v2: send src pub keys to clients in packets Brad Fitzpatrick 2020-03-04 09:35:32 -08:00
  • a65b2a0efd magicsock: add some DERP tests David Crawshaw 2020-03-03 16:50:47 -05:00
  • a33419167b magicsock: plumb through derpTLSConfig variable (for testing) David Crawshaw 2020-03-04 11:48:24 -05:00
  • 9be9738f62 derphttp: add TLSConfig field David Crawshaw 2020-03-03 16:48:57 -05:00
  • caec2c7e8b magicsock: test sequence of pings David Crawshaw 2020-03-03 11:42:31 -05:00
  • 9f584414d9 magicsock: simple ping test via magicsock David Crawshaw 2020-03-03 10:39:40 -05:00
  • 34859f8e7d wgengine, magicsock: add a CreateBind method David Crawshaw 2020-03-03 10:39:02 -05:00
  • 75e62d318f magicsock: use local STUN server in tests David Crawshaw 2020-03-03 06:51:31 -05:00
  • 596fd449b9 netcheck: add TODO about alternate timing strategies Brad Fitzpatrick 2020-03-04 08:20:38 -08:00
  • b27d4c017a magicsock, wgengine, ipn, controlclient: plumb regular netchecks to map poll Brad Fitzpatrick 2020-03-03 22:21:56 -08:00
  • 4cf5ac3060 ipn/ipnserver: remove unnecessary closure parameter Brad Fitzpatrick 2020-03-03 19:38:01 -08:00
  • 724c37fb41 wgengine/magicsock: start tracking nearest DERP node Brad Fitzpatrick 2020-03-03 17:46:03 -08:00
  • dbc99dc0d2 paths: use /var/db for state on BSDs, and /var/run for sockets. David Anderson 2020-03-03 17:37:37 -08:00
  • 20da44eae3 cmd/mkpkg: support scripts for rpm as well. David Anderson 2020-03-03 16:35:57 -08:00
  • e371520cc5 tsweb, derp: add expvar http.Handler for Prometheus's format Brad Fitzpatrick 2020-03-03 11:33:22 -08:00
  • 89a2c3eb04 wgengine: don't create duplicate iptables rules on Linux, clean up Brad Fitzpatrick 2020-03-03 12:38:51 -08:00
  • 21fc5ec371 cmd/mkpkg: support specifying that a package replaces another. David Anderson 2020-03-03 13:38:18 -08:00
  • dd68debd64 cmd/derper: set autocert Email Brad Fitzpatrick 2020-03-03 11:53:50 -08:00
  • 68ff31a0ba ipn: have NewFileStore try to create directories as needed Brad Fitzpatrick 2020-03-03 11:51:44 -08:00
  • b3d9eab1fe safesocket: make some effort to create parent directory of sock Brad Fitzpatrick 2020-03-03 11:47:21 -08:00
  • 383d86df5f paths: remove some debug logging I left in Brad Fitzpatrick 2020-03-03 11:45:49 -08:00
  • 65e7c58aa4 cmd/tailscale, cmd/tailscaled, paths: add paths package for default paths Brad Fitzpatrick 2020-03-03 09:33:09 -08:00
  • 06092a3af3 ipn/ipnserver: document potential race, start on test for it Brad Fitzpatrick 2020-03-03 09:15:11 -08:00
  • ef1f967ec0 ipn: remove an unnecessary named parameter in doc Brad Fitzpatrick 2020-03-03 08:05:11 -08:00
  • 844d991baf netcheck: add Report.Clone, return cloned report to avoid races on late replies Brad Fitzpatrick 2020-03-02 15:02:34 -08:00
  • 657f9593ae Reduce some logspam. Brad Fitzpatrick 2020-03-02 14:54:57 -08:00
  • 61529ac459 controlclient, tailcfg: deliver DERP addresses in a separate field David Crawshaw 2020-03-02 16:40:42 -05:00
  • ca11e3804b Add a using section that points to pkgs.tailscale.com. David Anderson 2020-03-02 13:52:51 -08:00
  • 4675c70464 wgengine/magicsock: check STUN regularly Brad Fitzpatrick 2020-03-02 12:37:52 -08:00
  • 7172f3dbf4 version: add IsMobile func Brad Fitzpatrick 2020-03-02 12:37:28 -08:00
  • 11489a6e67 go.sum: add lines Brad Fitzpatrick 2020-03-02 11:07:42 -08:00
  • bc7bc43fb8 magicsock, interfaces: move some code from magicsock to interfaces Brad Fitzpatrick 2020-03-02 10:38:44 -08:00
  • af7a01d6f0 wgengine/magicsock: drop donec channel, rename epUpdateCtx to serve its purpose Brad Fitzpatrick 2020-03-02 09:31:25 -08:00
  • a399ef3dc7 cmd/derper: appease staticcheck Brad Fitzpatrick 2020-03-02 08:59:50 -08:00
  • 051b6ef141 cmd/derper: accept more LetsEncrypt hostnames without explicit config Brad Fitzpatrick 2020-03-02 08:55:44 -08:00
  • cc4afa775f magicsock: rate limit send error log messages David Crawshaw 2020-03-01 20:35:10 -05:00
  • 9cdaeac00a go.mod: update wireguard-go version. David Anderson 2020-03-01 14:04:10 -08:00
  • 92bae83cc1 go.mod: update wireguard-go commit. David Anderson 2020-03-01 13:57:04 -08:00
  • 719c974c38 go.mod: update wireguard-go version David Crawshaw 2020-03-01 12:17:10 -05:00
  • 0752c77dc2 magicsock: keep DERP magic IPs out of the address map David Crawshaw 2020-02-29 15:48:50 -05:00
  • c6550135d5 magicsock: remove the index from indexedAddrs David Crawshaw 2020-02-29 14:48:34 -05:00
  • 18fb98792b go.mod: update wireguard-go version. David Anderson 2020-03-01 01:16:07 -08:00
  • 061315acb4 go.mod: update version of wireguard-go. David Anderson 2020-03-01 00:49:50 -08:00
  • 1dbd1babc9 go.mod: use latest wireguard-go version David Crawshaw 2020-02-29 16:08:13 -05:00
  • d5050c37a5 go.mod: use latest wireguard-go version David Crawshaw 2020-02-29 11:26:44 -05:00
  • d417be6a4b controlclinet: clone filter.MatchAllowAll David Crawshaw 2020-02-28 22:27:17 -05:00
  • 8aa2090919 go.mod: roll forward wireguard-go David Crawshaw 2020-02-28 22:12:05 -05:00
  • d133339216 ipn: always guard LocalBackend.prefs with mu David Crawshaw 2020-02-28 21:34:56 -05:00
  • bcf3719b9e netcheck: add hairpinning detection Brad Fitzpatrick 2020-02-28 14:14:02 -08:00
  • 1abf2da392 wgengine/magicsock: reset favorite address on handshakes Brad Fitzpatrick 2020-02-27 15:06:19 -08:00
  • 517a91de75 derp/derphttp: fix reconnect behavior Brad Fitzpatrick 2020-02-28 13:38:45 -08:00
  • d59d0576af derp: don't log on all dropped packets; super spammy Brad Fitzpatrick 2020-02-28 13:33:47 -08:00
  • 38acccad09 derp: remove some debug noise I left in Brad Fitzpatrick 2020-02-28 13:20:56 -08:00
  • 752146a70f derp: clean up derphttp client code, use contexts Brad Fitzpatrick 2020-02-28 13:18:10 -08:00
  • cdc10b74f1 ipn: always guard LocalBackend.endpoints with mu David Crawshaw 2020-02-28 15:12:49 -05:00
  • 3425d8d84f ipn: always guard LocalBackend.engineStatus with mu David Crawshaw 2020-02-28 14:58:46 -05:00
  • e7cdc11654 ipn: always guard LocalBackend.netMapCache with mu David Crawshaw 2020-02-28 14:39:13 -05:00
  • 67ede8d6d2 wgengine, magicsock: fix SetPrivateKey data race Brad Fitzpatrick 2020-02-28 11:13:28 -08:00
  • 4cd3e82bbd go.mod: bump wireguard-go Brad Fitzpatrick 2020-02-28 11:12:51 -08:00
  • a6c695ba6b types/key: add IsZero methods Brad Fitzpatrick 2020-02-28 11:12:02 -08:00
  • 3878f0a67a interfaces: recognize utun as a possible Tailscale interface name prefix michael wilson 2020-02-27 17:06:50 -05:00
  • 07f0fd0fdc version: add a manual date as version for now Brad Fitzpatrick 2020-02-28 09:44:34 -08:00
  • f3c0ea23d9 netcheck, stunner: reduce log spam Brad Fitzpatrick 2020-02-28 09:40:25 -08:00
  • 19b54d0ae7 wgengine: fix a data race on StatusCallback Brad Fitzpatrick 2020-02-28 09:32:06 -08:00
  • c576a57067 wgengine: avoid holding any locks during HandshakeDone David Crawshaw 2020-02-28 06:30:46 -05:00
  • 06bf0d980e go.mod: bump wireguard-go version David Crawshaw 2020-02-28 06:21:07 -05:00
  • 78654ee1bd cmd/tailscale: switch to an ffcli based CLI. David Anderson 2020-02-28 00:08:57 -08:00
  • 4e3ff4b63b controlclient: allow prefixed endpoints in tests David Crawshaw 2020-02-27 16:52:14 -05:00
  • 25797c8c2a all: rename deep "Copy" methods to conventional Go name "Clone" Brad Fitzpatrick 2020-02-27 12:20:29 -08:00
  • 14559340ee Start of netcheck package & including network state in Hostinfo. Brad Fitzpatrick 2020-02-25 14:05:17 -08:00
  • a07af762e4 types/opt: add opt package for a new opt.Bool JSON type Brad Fitzpatrick 2020-02-27 09:47:04 -08:00