tailscale/cmd/derper
julianknodt 3728634af9 derp: add debug traffic handler
This adds a handler on the DERP server for logging bytes send and received by clients of the
server, by holding open a connection and recording if there is a difference between the number
of bytes sent and received. It sends a JSON marshalled object if there is an increase in the
number of bytes.

Signed-off-by: julianknodt <julianknodt@gmail.com>
2021-06-18 15:47:55 -07:00
..
bootstrap_dns.go cmd/derper: add /bootstrap-dns handler 2021-02-26 09:29:28 -08:00
derper_test.go derp, cmd/derper: add frameWatchConns, framePeerPresent for inter-DERP routing 2020-06-03 08:03:29 -07:00
derper.go derp: add debug traffic handler 2021-06-18 15:47:55 -07:00
mesh.go derp/derphttp: add a context and infoLogger option to RunWatchConnectionLoop 2021-02-12 10:59:11 -08:00