chiark / gitweb /
polypath asymmetric routing: Handle MSG1 late dupes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 15 May 2019 20:55:55 +0000 (21:55 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 18 May 2019 01:16:37 +0000 (02:16 +0100)
commit04c5c5d72fc4f8fad0bfeec693ccdf040e0a4a55
treec6cb193898bbf0b7398b7071d3b0b1b229924b89
parentcbc2519681f5fceab5c6153110215090663eb3e9
polypath asymmetric routing: Handle MSG1 late dupes

If we get a MSG1 and it seems too late for the protocol stage, and it
had the same peer nonce, it was probably an old packet via a different
route.

In theory it might seem like we should do this in SENTMSG3 and 5 too
because we might have had concurrent setup, and higher priority, so the
peer also sent us MSG2 or 4.  But mobile peers have priority.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
site.c