sharpsnmplib icon indicating copy to clipboard operation
sharpsnmplib copied to clipboard

Implement DTLS support

Open lextm opened this issue 6 years ago • 6 comments

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.

lextm avatar Apr 20 '18 16:04 lextm

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

kdurkin77 avatar Aug 13 '19 20:08 kdurkin77

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 avatar Sep 04 '19 19:09 kdurkin77

Any tips on getting started with this?

kdurkin77 avatar Sep 05 '19 16:09 kdurkin77

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.

lextm avatar Sep 10 '19 14:09 lextm

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?

kdurkin77 avatar Nov 22 '19 20:11 kdurkin77

#133 is related to this.

lextm avatar Dec 05 '19 22:12 lextm