73280595a8
A public key should only have max one connection to a given
DERP node (or really: one connection to a node in a region).
But if people clone their machine keys (e.g. clone their VM, Raspbery
Pi SD card, etc), then we can get into a situation where a public key
is connected multiple times.
Originally, the DERP server handled this by just kicking out a prior
connections whenever a new one came. But this led to reconnect fights
where 2+ nodes were in hard loops trying to reconnect and kicking out
their peer.
Then
|
||
---|---|---|
.. | ||
derphttp | ||
testdata | ||
derp.go | ||
derp_client.go | ||
derp_server.go | ||
derp_test.go | ||
dropreason_string.go |