bgp / stayrtr

RPKI-To-Router server implementation in Go
BSD 3-Clause "New" or "Revised" License
85 stars 13 forks source link

Fix bizarre StayRTR behavior #84

Closed job closed 1 year ago

job commented 1 year ago

Previously StayRTR would copy the client's Session ID back into the Cache Response to the client, even though the server's internal Session ID was something different.

The purpose of the Session ID is to help both client and server understand whether they are synchronized or not. There are two opportunities to fix desyncs: if the server recognises the client is desynced, the server informs the client (through an Error Report) to reconnect and and send a Reset Query. If the client recognises it is out of sync with the server, the client can send a Reset Query.

Related #82

job commented 1 year ago

Looks good. Strict local improvement. This is also a hard class of bug to catch.

Thanks

Does it fix #82?

82 appears to be a different unrelated issue. @lamehost and myself are still working to collect sufficient data.