69 Commits (524fb2c1908dc06b166f2a4fd2015d00b7d5ea92)

Author SHA1 Message Date
David Anderson 54e6c3a290 version: use OSS repo's version when building. 6 years ago
Brad Fitzpatrick 169ff22a84 derp: set NotBefore and NotAfter in DERP server's metacert 6 years ago
Brad Fitzpatrick e415991256 derp, derp/derphttp: remove one RTT from DERP setup 6 years ago
Brad Fitzpatrick 805850add9 derp: remove JSON struct tags in comments 6 years ago
Brad Fitzpatrick 93ffc565e5 derp: remove protocol version 1 support 6 years ago
Josh Bleecher Snyder 062bd67d3b derp: use rand instead of crypto/rand to generate jitter 6 years ago
David Anderson 37c19970b3 derp: add a debug option to verbosely log drops to a destination. 6 years ago
Josh Bleecher Snyder 909c165382 derp: remove two key.Public allocations 6 years ago
Brad Fitzpatrick 75225368a4 derp: fix 32-bit struct field alignment 6 years ago
David Anderson 15949ad77d derp: export the new expvar. 6 years ago
David Anderson 13661e195a derp: rename "wireguard" packet type to "other". 6 years ago
David Anderson 1b5b59231b derp: break down received packets by kind (disco vs. wireguard). 6 years ago
Josh Bleecher Snyder b23f2263c1 derp: add server version to /debug, expvars 6 years ago
David Anderson c3994fd77c derp: remove OnlyDisco option. 6 years ago
Brad Fitzpatrick 52969bdfb0 derp: fix atomic padding on 32-bit again 6 years ago
Brad Fitzpatrick a6559a8924 wgengine/magicsock: run test DERP in mode where only disco packets allowed 6 years ago
Brad Fitzpatrick c1cabe75dc derp: fix server struct fielfd alignment on 32-bit 6 years ago
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 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 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
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
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
David Crawshaw e838b3fb59 derp: use a write timeout when sending to clients 6 years ago
David Crawshaw 3df1b97ea8 derp: do not treat failure to relay as the fault of the sender 6 years ago
David Crawshaw 43aa8595dd derp: introduce Conn interface 6 years ago
Brad Fitzpatrick 4fd29349b9 derp: add clients_replaced counter 6 years ago
Brad Fitzpatrick 5d8001d0ad derp: add varz for home moves 6 years ago
Brad Fitzpatrick dd456f04c5 derp: actually record client's preferred bit 6 years ago
Brad Fitzpatrick 6978b93bdd derp, magicsock: track home (preferred) vs visiting connections for stats 6 years ago