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

Implement DTLS support #73

Open
lextm opened this issue Apr 20, 2018 · 6 comments
Open

Implement DTLS support #73

lextm opened this issue Apr 20, 2018 · 6 comments

Comments

@lextm
Copy link
Collaborator

lextm commented Apr 20, 2018

Both https://www.nuget.org/packages/Waher.Security.DTLS/ and https://www.nuget.org/packages/DTLS.Net/ offer DTLS implementation (server and client), so it is possible now to add DTLS support in #SNMP

  1. Use DTLS.NET to implement a new listener binding.
  2. Use DTLS.NET to implement new extension methods to send messages.
  3. Cherry pick useful bits from Waher.Security.DTLS as it does not rely on Bouncy Castle.
@kdurkin77
Copy link

Does this library support SNMP V3 over TLS or is that to be added with the DTLS?

@kdurkin77
Copy link

I don't suppose anyone has been planning to add this in soon? It looks like I need to use SNMP v3 over DTLS with certificates and I'm really not finding much online for C# at least

@kdurkin77
Copy link

Any tips on getting started with this?

@lextm
Copy link
Collaborator Author

lextm commented Sep 10, 2019

The relevant classes have been moved to the samples repo,

https://github.com/lextudio/sharpsnmplib-samples/tree/master/SharpSnmpLib.Engine/Pipeline

You might write your own Listener/ListenerBinding based on a valid TLS/DTLS implementation, and then things should start to work.

@kdurkin77
Copy link

I believe that I am close to getting this implemented, but I'm getting an error "unknown security name". Do you know how to determine the security name to use?

@lextm
Copy link
Collaborator Author

lextm commented Dec 5, 2019

#133 is related to this.

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

No branches or pull requests

2 participants