Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

security considerations for UDP source port value #16

Open
bganne opened this issue Jan 30, 2025 · 0 comments
Open

security considerations for UDP source port value #16

bganne opened this issue Jan 30, 2025 · 0 comments

Comments

@bganne
Copy link

bganne commented Jan 30, 2025

The PSP specification encourages to set the outer UDP header source to a flow identifier (flow hash).
I think it's important to clarify the security impacts:

  • if a simple flow hash (not a strong crypto hash) is used as is hinted in the spec and implemented in the reference implementation, then an attacker can easily recover the original flow tuple.
  • if using some other mechanism (eg. a table with unique id for each flow), then some information is still leaked, as packets can be split between flows.

Depending upon the usecase, this may or may not be an issue, but this should be called out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant