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

UDP Support #3

Open
andrew-d opened this issue Nov 21, 2017 · 2 comments
Open

UDP Support #3

andrew-d opened this issue Nov 21, 2017 · 2 comments

Comments

@andrew-d
Copy link

Hi there!

Thanks a bunch for the library; I really like the interface that you've got here. However, the README says that you support UDP, however I don't believe that this is true. In particular, Conn doesn't implement PacketConn. It might be worth removing this from the README for now? Or, if you know how you would like to support this, I am happy to help implement.

Thanks!

@mimoo
Copy link
Owner

mimoo commented Nov 21, 2017

Hey thanks!

The README is definitely supposed to say TCP not UDP :D my bad.

I'm not sure how to support UDP but if you have any ideas we should def. do it!

@mimoo
Copy link
Owner

mimoo commented Feb 4, 2018

If anyone is interested in providing support for UDP I think it would be nice to start brainstorming some ideas. Things that look important:

  • tokens for proof of source ip ownership (can be computed as E(server_k, client_ip_port) and given to the client in a first round trip)
  • window for keeping track of what nonces we've used so far
  • something to get and set nonces. The Noise spec specifies SetNonce() but the API seems a bit dangerous from a developer's point of view.

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

2 participants