Todd Bert Freed wrote:
quoted
Todd Freed wrote:
quoted
While working on adding support for socket-less psp associations, I
noticed that this case was not being handled correctly. It will be more
relevant with that series, because it adds udp support, for which the
psp nexthdr will be taken from the inner packet.
Just curious: what is the plan for replay protection for UDP?
As PSP depends on the inner L4 for replay protection today.
FWIW agreed on the ext_hdr conclusion in this thread.
To clarify, socket-less psp associations will apply tunnel-mode psp encap.
So it is in this sense that UDP will be supported (not e.g. adding support
for udp sockets with transport mode psp encap).
That being said, UDP which is PSP encrypted (transport or tunnel mode)
would be susceptible to replay attacks, just like regular UDP. Except in
the sense that after enough time has passed, the packet would not
decrypt if received again (operator has rotated the keys, etc).
Not sure if you had some other kind of replay protection in mind.
Got it, thanks.
No. I'm just slightly concerned that casual users of such a feature
might assume that the security protocol handles replay protection.