56 Commits (3b4b17d23980c23ce46cd94deaacfbd4f9d4446f)

Author SHA1 Message Date
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
David Crawshaw 131541c06d derp: deflake test 6 years ago
David Crawshaw 72dbf26f63 derp: test that client a->b and a->c relaying do not interfere 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 39c0ae1dba derp/derpmap: new DERP config package, merge netcheck into magicsock more 6 years ago
Brad Fitzpatrick 5d8001d0ad derp: add varz for home moves 6 years ago
Brad Fitzpatrick e733fa6f7e derp: add some varz tests for active/home conns 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
Brad Fitzpatrick cf4aacde57 derp/derphttp: appease staticcheck 6 years ago
Brad Fitzpatrick 2cff9016e4 net/dnscache: add overly simplistic DNS cache package for selective use 6 years ago
Brad Fitzpatrick bf704a5218 derp: protocol negotiation, add v2: send src pub keys to clients in packets 6 years ago
David Crawshaw 9be9738f62 derphttp: add TLSConfig field 6 years ago
Brad Fitzpatrick e371520cc5 tsweb, derp: add expvar http.Handler for Prometheus's format 6 years ago
Brad Fitzpatrick 517a91de75 derp/derphttp: fix reconnect behavior 6 years ago
Brad Fitzpatrick d59d0576af derp: don't log on all dropped packets; super spammy 6 years ago
Brad Fitzpatrick 38acccad09 derp: remove some debug noise I left in 6 years ago
Brad Fitzpatrick 752146a70f derp: clean up derphttp client code, use contexts 6 years ago
Brad Fitzpatrick 3317531021 derp: fix JSON field typo, sort fields to make it easier to see inconsistencies 6 years ago
Brad Fitzpatrick 6cd81d5d1f derp: add more derp stats for dropped and received packets 6 years ago
Brad Fitzpatrick 2612e54ad1 derp, cmd/derper: add debug handlers, stats 6 years ago
Brad Fitzpatrick 379a3125fd derp, wgengine/magicsock: support more than just packets from Client.Recv 6 years ago
Brad Fitzpatrick 88f1cc0c98 derp, cmd/derper: add rate limiting support, add default 5Mbps limit 6 years ago
Brad Fitzpatrick 1166c34f6c derp: fix staticcheck warning 6 years ago
Brad Fitzpatrick 322cb58b14 derp: deflake test I flaked up in earlier change 6 years ago
Brad Fitzpatrick f029c4c82d derp: change the protocol framing to always include a length 6 years ago
Brad Fitzpatrick 11048b8932 derp: add docs on current protocol overview, break accept apart a bit 6 years ago
Brad Fitzpatrick 79af6054bf derp: don't start sending keepalives to client until after serverInfo sent 6 years ago
Brad Fitzpatrick 1155716318 derp: rename some things in the client, add some docs 6 years ago
Brad Fitzpatrick 4b461c2e77 derp: rename some things in the server, add some docs 6 years ago
Brad Fitzpatrick 619697063e derp: more misc cleanups 6 years ago