summaryrefslogtreecommitdiffhomepage
path: root/derp/derp_server.go
AgeCommit message (Expand)AuthorFilesLines
2020-10-28version: use OSS repo's version when building.David Anderson1-1/+1
2020-08-24derp: set NotBefore and NotAfter in DERP server's metacertBrad Fitzpatrick1-0/+3
2020-08-20derp, derp/derphttp: remove one RTT from DERP setupBrad Fitzpatrick1-1/+49
2020-08-19derp: remove JSON struct tags in commentsBrad Fitzpatrick1-1/+1
2020-08-17derp: remove protocol version 1 supportBrad Fitzpatrick1-4/+2
2020-08-13derp: use rand instead of crypto/rand to generate jitterJosh Bleecher Snyder1-6/+6
2020-08-12derp: add a debug option to verbosely log drops to a destination.David Anderson1-6/+40
2020-08-12derp: remove two key.Public allocationsJosh Bleecher Snyder1-2/+34
2020-08-11derp: fix 32-bit struct field alignmentBrad Fitzpatrick1-0/+1
2020-08-11derp: export the new expvar.David Anderson1-0/+1
2020-08-11derp: rename "wireguard" packet type to "other".David Anderson1-3/+3
2020-08-11derp: break down received packets by kind (disco vs. wireguard).David Anderson1-0/+12
2020-08-07derp: add server version to /debug, expvarsJosh Bleecher Snyder1-0/+4
2020-07-27derp: remove OnlyDisco option.David Anderson1-13/+0
2020-07-16derp: fix atomic padding on 32-bit againBrad Fitzpatrick1-1/+6
2020-07-16wgengine/magicsock: run test DERP in mode where only disco packets allowedBrad Fitzpatrick1-0/+12
2020-07-07derp: fix server struct fielfd alignment on 32-bitBrad Fitzpatrick1-0/+5
2020-06-25derp: add frameClosePeer to move around clients within a regionBrad Fitzpatrick1-0/+28
2020-06-25derp: fix varz typoBrad Fitzpatrick1-2/+2
2020-06-23cmd/derper, derp: add some more varz and consistency check handlerBrad Fitzpatrick1-2/+47
2020-06-22derp: update peerGone code to work with regional DERP mesh clusters tooBrad Fitzpatrick1-30/+44
2020-06-05derp: fix tracking problem if conn starts local, then also joins mesh peerBrad Fitzpatrick1-8/+16
2020-06-05cmd/derper: support forwarding packets amongst set of peer DERP serversBrad Fitzpatrick1-22/+231
2020-06-04derp, derp/derphttp: add key accessors, add Client.RecvDetailBrad Fitzpatrick1-0/+10
2020-06-04derp: add an unexported key.Public zero value variable to be less verboseBrad Fitzpatrick1-12/+15
2020-06-04cmd/derper: treat self-connection connection watch as no-opBrad Fitzpatrick1-0/+7
2020-06-03derp, cmd/derper: add frameWatchConns, framePeerPresent for inter-DERP routingBrad Fitzpatrick1-1/+155
2020-04-10derp/derp_server: unregisterClient() for replaced client connections.Dmitry Adamushko1-11/+25
2020-04-06derp/derp_server: fixed unbalanced {register,unregister}Client() calls.Dmitry Adamushko1-1/+2
2020-03-22derp, magicsock: send new "peer gone" frames when previous sender disconnectsBrad Fitzpatrick1-3/+53
2020-03-22derp: wait for send goroutine to finish before returning from runBrad Fitzpatrick1-16/+31
2020-03-22derp: only flush writes to clients when we're out of things to writeBrad Fitzpatrick1-20/+36
2020-03-22derp: remove TODO commentBrad Fitzpatrick1-1/+0
2020-03-21derp: revert rename of pkt to sendMsgBrad Fitzpatrick1-8/+8
2020-03-21derp: remove the mutex around and closing of send channelBrad Fitzpatrick1-41/+21
2020-03-21derp: rename pkt to sendMsg, in prep for other types of writesBrad Fitzpatrick1-9/+15
2020-03-21derp: add sclient.done channel, simplify some context passingBrad Fitzpatrick1-14/+17
2020-03-20derp: specify type of the by-reason drop varz.David Anderson1-1/+1
2020-03-20derp: export metric for server's initial MemStats.Sys readingBrad Fitzpatrick1-0/+7
2020-03-20derp: sprinkle comments and docstrings.David Anderson1-6/+10
2020-03-20derp: add per-reason packet drop counter.David Anderson1-16/+35
2020-03-20derp: move write timeout to package constant.David Anderson1-7/+6
2020-03-20derp: add short queues between reader and writer, drop on overload.David Anderson1-106/+161
2020-03-12derp: use a write timeout when sending to clientsDavid Crawshaw1-0/+10
2020-03-12derp: do not treat failure to relay as the fault of the senderDavid Crawshaw1-1/+3
2020-03-12derp: introduce Conn interfaceDavid Crawshaw1-11/+24
2020-03-11derp: add clients_replaced counterBrad Fitzpatrick1-0/+3
2020-03-09derp: add varz for home movesBrad Fitzpatrick1-13/+32
2020-03-05derp: actually record client's preferred bitBrad Fitzpatrick1-0/+1
2020-03-05derp, magicsock: track home (preferred) vs visiting connections for statsBrad Fitzpatrick1-45/+115