summaryrefslogtreecommitdiffhomepage
path: root/derp
AgeCommit message (Expand)AuthorFilesLines
2020-08-10derp: add basic benchmarkJosh Bleecher Snyder1-3/+64
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-27derp/derphttp: don't return all nil from dialRegion when STUNOnly nodesBrad Fitzpatrick1-0/+3
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 Fitzpatrick4-1/+62
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-15cmd/derper, derp/derphttp: move bulk of derp mesh code into derphttpBrad Fitzpatrick1-0/+122
2020-06-15Fix staticcheck warning, add Makefile with staticcheck targets, lock in stati...Brad Fitzpatrick1-1/+1
2020-06-15derp: reduce DERP memory use; don't require callers to pass in memory to useBrad Fitzpatrick4-26/+60
2020-06-05derp: fix tracking problem if conn starts local, then also joins mesh peerBrad Fitzpatrick2-8/+29
2020-06-05cmd/derper: support forwarding packets amongst set of peer DERP serversBrad Fitzpatrick5-22/+399
2020-06-04derp: change NewClient constructor to an option patternBrad Fitzpatrick3-10/+32
2020-06-04derp, derp/derphttp: add key accessors, add Client.RecvDetailBrad Fitzpatrick2-25/+54
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 Fitzpatrick5-9/+466
2020-06-01net/netns: move SOCKS dialing to netns for nowBrad Fitzpatrick2-41/+3
2020-06-01net/tlsdial, derp/derphttp: finish DERPNode.CertName validationBrad Fitzpatrick1-6/+8
2020-05-31net/netns, misc tests: remove TestOnlySkipPrivilegedOps, argv checksBrad Fitzpatrick1-5/+0
2020-05-29net/netcheck: fix HTTPS fallback bug from earlier todayBrad Fitzpatrick1-10/+42
2020-05-29net/netns: set the bypass socket mark on linux.David Anderson1-0/+5
2020-05-29netcheck: address some HTTP fallback measurement TODOsBrad Fitzpatrick1-5/+12
2020-05-28derp/derphttp: make DERP client use netns for dial-outs.David Anderson1-2/+3
2020-05-23all: make client use server-provided DERP map, add DERP region supportBrad Fitzpatrick2-167/+266
2020-05-13derp/derphttp: don't use x/net/proxy for SOCKS on iOSBrad Fitzpatrick2-8/+32
2020-05-12derp/derphttp: use SOCKS/etc proxies for derphttp dialsBrad Fitzpatrick1-3/+16
2020-05-04derp/derpmap: add World.ForeachServer, check STUN server validity earlierBrad Fitzpatrick1-0/+14
2020-05-03types/structs: add structs.Incomparable annotation, use it where applicableBrad Fitzpatrick1-0/+4
2020-04-25net/tlsdial: add package for TLS dials, and make DERP & controlclient use itBrad Fitzpatrick1-8/+4
2020-04-11derp/derphttp: avoid endless reconnect race on failureBrad Fitzpatrick1-4/+14
2020-04-10derp: prevent readFrame() from reading more than len(b) bytes.Dmitry Adamushko1-1/+9
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-04-05derp/derpmap: add derp5 (Sydney) to prod map.David Anderson1-0/+1
2020-03-30derp, netcheck: make tests listen on localhost onlyBrad Fitzpatrick1-1/+1
2020-03-23derp/derphttp: remove a redundant log messageBrad Fitzpatrick1-2/+0
2020-03-23derp/derphttp: ignore PeerGoneMessage in testBrad Fitzpatrick1-0/+2
2020-03-22derp, magicsock: send new "peer gone" frames when previous sender disconnectsBrad Fitzpatrick4-3/+96
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