chiark / gitweb /
server/peer.c: Handle mobile peers switching addresses.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 7 May 2012 11:29:33 +0000 (12:29 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 7 May 2012 14:32:06 +0000 (15:32 +0100)
commitc71be7580b0f818492f5ceecb1a2b6ccb87c0712
treef4c5fd17b23612092a524afdb4caa224928339d3
parent88622d1dc9b1c03e95552817151047e574b312d4
server/peer.c: Handle mobile peers switching addresses.

Previously, we would track a mobile peer if it changed its address to
one that wasn't currently in use by any peer; but it seems that some
benighted NAT boxes will actually mix up the addresses assigned to
active peers, so we must spot the decryption errors and try to match
them up again.
server/peer.c