88 Commits (622c0d0cb39dfd64b0f1e73a088d1e02f0d3e607)

Author SHA1 Message Date
Brad Fitzpatrick 4732722b87 derp: add frameClosePeer to move around clients within a region 6 years ago
Brad Fitzpatrick dd43d9bc5f derp: fix varz typo 6 years ago
Brad Fitzpatrick b87396b5d9 cmd/derper, derp: add some more varz and consistency check handler 6 years ago
Brad Fitzpatrick 6fbd1abcd3 derp: update peerGone code to work with regional DERP mesh clusters too 6 years ago
Brad Fitzpatrick c8cf3169ba cmd/derper, derp/derphttp: move bulk of derp mesh code into derphttp 6 years ago
Brad Fitzpatrick 6757c990a8 Fix staticcheck warning, add Makefile with staticcheck targets, lock in staticcheck version in go.mod 6 years ago
Brad Fitzpatrick 08a6eeb55a Fix staticcheck warning, add Makefile with staticcheck targets, lock in staticcheck version in go.mod 6 years ago
Brad Fitzpatrick abd79ea368 derp: reduce DERP memory use; don't require callers to pass in memory to use 6 years ago
Brad Fitzpatrick 07ca0c1c29 derp: fix tracking problem if conn starts local, then also joins mesh peer 6 years ago
Brad Fitzpatrick 1cb7dab881 cmd/derper: support forwarding packets amongst set of peer DERP servers 6 years ago
Brad Fitzpatrick 5e0ff494a5 derp: change NewClient constructor to an option pattern 6 years ago
Brad Fitzpatrick 4d599d194f derp, derp/derphttp: add key accessors, add Client.RecvDetail 6 years ago
Brad Fitzpatrick b33c86b542 derp: add an unexported key.Public zero value variable to be less verbose 6 years ago
Brad Fitzpatrick b663ab4685 cmd/derper: treat self-connection connection watch as no-op 6 years ago
Brad Fitzpatrick 484b7fc9a3 derp, cmd/derper: add frameWatchConns, framePeerPresent for inter-DERP routing 6 years ago
Brad Fitzpatrick 24009241bf net/netns: move SOCKS dialing to netns for now 6 years ago
Brad Fitzpatrick cf0d19f0ab net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 6 years ago
Brad Fitzpatrick becce82246 net/netns, misc tests: remove TestOnlySkipPrivilegedOps, argv checks 6 years ago
Brad Fitzpatrick 7f68e097dd net/netcheck: fix HTTPS fallback bug from earlier today 6 years ago
David Anderson 5114df415e net/netns: set the bypass socket mark on linux. 6 years ago
Brad Fitzpatrick 3fa58303d0 netcheck: address some HTTP fallback measurement TODOs 6 years ago
David Anderson e9f7d01b91 derp/derphttp: make DERP client use netns for dial-outs. 6 years ago
Brad Fitzpatrick e6b84f2159 all: make client use server-provided DERP map, add DERP region support 6 years ago
Brad Fitzpatrick 040a0d5121 derp/derphttp: don't use x/net/proxy for SOCKS on iOS 6 years ago
Brad Fitzpatrick e42ec4efba derp/derphttp: use SOCKS/etc proxies for derphttp dials 6 years ago
Brad Fitzpatrick 495796fff1 derp/derpmap: add World.ForeachServer, check STUN server validity earlier 6 years ago
Brad Fitzpatrick fefd7e10dc types/structs: add structs.Incomparable annotation, use it where applicable 6 years ago
Brad Fitzpatrick b6fa5a69be net/tlsdial: add package for TLS dials, and make DERP & controlclient use it 6 years ago
Brad Fitzpatrick 614eec174f derp/derphttp: avoid endless reconnect race on failure 6 years ago
Dmitry Adamushko 806645ea0e derp: prevent readFrame() from reading more than len(b) bytes. 6 years ago
Dmitry Adamushko f2c2d0de68 derp/derp_server: unregisterClient() for replaced client connections. 6 years ago
Dmitry Adamushko 44434fdc82 derp/derp_server: fixed unbalanced {register,unregister}Client() calls. 6 years ago
David Anderson 4e0ee141e8 derp/derpmap: add derp5 (Sydney) to prod map. 6 years ago
Brad Fitzpatrick 1df3c8d02a derp, netcheck: make tests listen on localhost only 6 years ago
Brad Fitzpatrick e749377a56 derp/derphttp: remove a redundant log message 6 years ago
Brad Fitzpatrick 1d3f45f9be derp/derphttp: ignore PeerGoneMessage in test 6 years ago
Brad Fitzpatrick 1ab5b31c4b derp, magicsock: send new "peer gone" frames when previous sender disconnects 6 years ago
Brad Fitzpatrick 8c4cef60f8 derp: wait for send goroutine to finish before returning from run 6 years ago
Brad Fitzpatrick 521ad7b0fc derp: only flush writes to clients when we're out of things to write 6 years ago
Brad Fitzpatrick 0a25abcdaa derp: remove TODO comment 6 years ago
Brad Fitzpatrick 8519a1b29f derp: revert rename of pkt to sendMsg 6 years ago
Brad Fitzpatrick c34b350efa derp: remove the mutex around and closing of send channel 6 years ago
Brad Fitzpatrick 77921a31b1 derp: rename pkt to sendMsg, in prep for other types of writes 6 years ago
Brad Fitzpatrick 1453aecb44 derp: add sclient.done channel, simplify some context passing 6 years ago
David Anderson ea90780066 derp: specify type of the by-reason drop varz. 6 years ago
Brad Fitzpatrick fd824df1fa derp: export metric for server's initial MemStats.Sys reading 6 years ago
David Anderson 64b5248929 derp: sprinkle comments and docstrings. 6 years ago
David Anderson 58b8ebd290 derp: add per-reason packet drop counter. 6 years ago
David Anderson 1e031001db derp: move write timeout to package constant. 6 years ago
David Anderson dbfc916273 derp: add short queues between reader and writer, drop on overload. 6 years ago