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

Add support for SNMPv3 user-based security #2

Open
thebodzio opened this issue Mar 28, 2016 · 4 comments
Open

Add support for SNMPv3 user-based security #2

thebodzio opened this issue Mar 28, 2016 · 4 comments

Comments

@thebodzio
Copy link

First of all thank you for your effort put into maintaining this project!

I've got a question regarding your plans for the future. Is there any chance they would include implementing SNMPv3 User-Based Security (RFC 2574) and possibly more of v3? I realize it's not a simple matter, especially in a program focused on such a small footprint, but any extra security is always welcome :}.

I also think that your decision, whatever it may be, would be worth noting somewhere in the project docs (roadmap, perhaps).

Best regards!

@troglobit
Copy link
Owner

Not at the moment, no, but you're more than welcome to pitch in with a pull request! 😜

Meanwhile, I'll put that restriction in the TODO file and maybe the README 👍

@thebodzio
Copy link
Author

Thanks for the reply!

Well… if it wasn't for the “time” (yup, who does have it ;}) I'd love to help that way and, frankly, I simply would've instead of just asking the question ;}.

And thanks for putting an info about the matter—I'm sure it'll be useful!

troglobit added a commit that referenced this issue Mar 28, 2016
Signed-off-by: Joachim Nilsson <[email protected]>
@troglobit troglobit changed the title Any plans for SNMPv3 User-Based Security? Add support for SNMPv3 user-based security Jun 26, 2017
@spaskalev
Copy link

What would be a minimum viable implementation of the SNMP v3 encryption and authentication - support receiving encrypted messages and decrypting them with some credentials ?

As far as I understand from the RFCs the protocol is the same between v2 and v3, just that v3 messages are wrapped around with an authentication and encryption ?

I would like to help with this, any guidance on the spec is highly appreciated :)

@troglobit
Copy link
Owner

Was waiting for someone else to pitch in here ...

It's almost the same, but you have proper per-user authentication, with an optional OID tree for scoping instead of the whole tree, and the communication is encrypted. So it's a part where you set up users (I'm adding .conf file support right now, so that should be helpful) and another where you need to wrap the transaction using OpenSSL/LibreSSL.

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

3 participants