Question about RATP protocol limitation during handshake in barebox

Jules Maselbas jmaselbas at kalray.eu
Wed Jan 25 00:41:55 PST 2023


Hi John,

On Wed, Jan 25, 2023 at 08:59:49AM +1100, John Watts wrote:
> Hi,
> 
> I had a read of the RATP spec at https://www.rfc-editor.org/rfc/rfc916
> 
> The goal is to detect one end trying to start a fresh connection while another
> is established but manages to be a bit too broad by specifying that any SYN
> is an error rather than a SYN without an ACK.
> 
> There seems to be two solutions here:
> 
> - Don't re-send SYN packets
> - Break the spec and check if ACK is set before terminating the connection
Yes, i think that's the best thing to do, to ingnore SYN-ACK packets,
new connections should only start with a SYN.

Thanks
-- Jules 







More information about the barebox mailing list