129 Commits (7cd9ff3ddea99e96bb885a81cf5f030fa5aa7e1b)

Author SHA1 Message Date
Brad Fitzpatrick b0c10fa610 stun, netcheck: move under net 6 years ago
Brad Fitzpatrick e6b84f2159 all: make client use server-provided DERP map, add DERP region support 6 years ago
David Anderson e8b3a5e7a1 wgengine/filter: implement a destination IP pre-filter. 6 years ago
Brad Fitzpatrick e6d0c92b1d wgengine/magicsock: clean up earlier fix a bit 6 years ago
Avery Pennarun fc88e34f42 wgengine/magicsock/tests: wait for home DERP connection before sending packets. 6 years ago
Avery Pennarun 4f128745d8 magicsock/test: oops, fix a data race in nested-test logf hack. 6 years ago
Avery Pennarun 42a0e0c601 wgengine/magicsock/tests: call tstest.ResourceCheck for each test. 6 years ago
Avery Pennarun 08acb502e5 Add tstest.PanicOnLog(), and fix various problems detected by this. 6 years ago
Dmytro Shynkevych 33b2f30cea
wgengine: wrap tun.Device to support filtering and packet injection (#358) 6 years ago
Brad Fitzpatrick fefd7e10dc types/structs: add structs.Incomparable annotation, use it where applicable 6 years ago
Brad Fitzpatrick e1526b796e ipn: don't listen on the unspecified address in test 6 years ago
Brad Fitzpatrick 18017f7630 ipn, wgengine/magicsock: be more idle when in Stopped state with no peers 6 years ago
David Anderson 9669b85b41 wgengine/magicsock: wait for endpoint updater goroutine when closing. 6 years ago
Brad Fitzpatrick 268d331cb5 wgengine/magicsock: prune key.Public-keyed on peer removals 6 years ago
Brad Fitzpatrick 00d053e25a wgengine/magicsock: fix slow memory leak as peer endpoints move around 6 years ago
Brad Fitzpatrick 7fc97c5493 wgengine/magicsock: use netaddr more 6 years ago
Brad Fitzpatrick 6fb30ff543 wgengine/magicsock: start using inet.af/netaddr a bit 6 years ago
Brad Fitzpatrick a7e7c7b548 wgengine/magicsock: close derp connections on rebind 6 years ago
Brad Fitzpatrick 614261d00d wgengine/magicsock: reset AddrSet states on Rebind 6 years ago
Blake Gentry e19287f60f wgengine/magicsock: fix Conn docs type reference 6 years ago
Brad Fitzpatrick 322499473e cmd/tailscaled, wgengine, ipn: add /debug/ipn handler with world state 6 years ago
Brad Fitzpatrick 2d48f92a82 wgengine/magicsock: re-stun every [20,27] sec, not 28 6 years ago
Brad Fitzpatrick 577f321c38 wgengine/magicsock: revise derp fallback logic 6 years ago
Brad Fitzpatrick 6284454ae5 wgengine/magicsock: if UDP blocked, pick DERP where most peers are 6 years ago
Brad Fitzpatrick d321190578 wgengine/magicsock: stringify [IPv6]:port normally in AddrSet.String 6 years ago
Brad Fitzpatrick 3c3ea8bc8a wgengine/magicsock: finish IPv6 transport support 6 years ago
Brad Fitzpatrick 82ed7e527e wgengine/magicsock: remove log allocation 6 years ago
Brad Fitzpatrick 8454bbbda5 wgengine/magicsock: more logging improvements 6 years ago
Brad Fitzpatrick 680311b3df wgengine/magicsock: fix few remaining logs without package prefix 6 years ago
Brad Fitzpatrick c473927558 wgengine/magicsock: clean up, add, improve DERP logs 6 years ago
Brad Fitzpatrick ea9310403d wgengine/magicsock: re-STUN on DERP connection death 6 years ago
Brad Fitzpatrick 1ab5b31c4b derp, magicsock: send new "peer gone" frames when previous sender disconnects 6 years ago
Brad Fitzpatrick b6f77cc48d wgengine/magicsock: return early, outdent in derpWriteChanOfAddr 6 years ago
Brad Fitzpatrick dd31285ad4 wgengine/magicsock: send IPv6 using pconn6, if available 6 years ago
Brad Fitzpatrick af277a6762 controlclient, magicsock: add debug knob to request IPv6 endpoints 6 years ago
Brad Fitzpatrick 221e7d7767 wgengine/magicsock: make log message include DERP port (node) 6 years ago
Brad Fitzpatrick 33bdcabf03 wgengine/magicsock: call stun callback w/ only valid part of STUN packet 6 years ago
David Anderson 0be475ba46 Revert "tailcfg, controlclient, magicsock: request IPv6 endpoints, but ignore them" 6 years ago
Brad Fitzpatrick 94024355ed tailcfg, controlclient, magicsock: request IPv6 endpoints, but ignore them 6 years ago
Brad Fitzpatrick 60ea635c6d wgengine/magicsock: delete inaccurate comment 6 years ago
Brad Fitzpatrick a184e05290 wgengine/magicsock: listen on udp6, use it for STUN, report endpoint 6 years ago
Brad Fitzpatrick 7caa288213 wgengine/magicsock: rename pconn field to pconn4, in prep for pconn6 6 years ago
David Crawshaw addbdce296 wgengine, ipn: include number of active DERPs in status 6 years ago
David Crawshaw 1ad78ce698 magicsock: reconnect to home DERP on key change 6 years ago
David Crawshaw 455ba751d9 magicsock: start connection to HOME derp immediately 6 years ago
David Anderson 315a5e5355 scripts: add a license header checker. 6 years ago
Brad Fitzpatrick e085aec8ef all: update to wireguard-go API changes 6 years ago
Brad Fitzpatrick db2436c7ff wgengine/magicsock: don't interrupt endpoint updates, merge all mutex into one 6 years ago
Brad Fitzpatrick db31550854 wgengine: don't Reconfig on boring link changes 6 years ago
Brad Fitzpatrick b9c6d3ceb8 netcheck: work behind UDP-blocked networks again, add tests 6 years ago