NETWAYS / check_interfaces

Icinga check plugin for network hardware interfaces
GNU General Public License v2.0
11 stars 14 forks source link

[Feature]: Add support for the SHA-256 auth algorithm #25

Closed jwillikers closed 8 months ago

jwillikers commented 9 months ago

Describe the feature request

I'd like to use this on a host that uses SHA-256 for the auth algorithm, but it doesn't look like it's supported.

martialblog commented 9 months ago

@RincewindsHat can you have a look at this?

martialblog commented 9 months ago

Maybe we could extend the auth-proto flag to include a SHA256 option?

@jwillikers Pull Requests are welcome, if you want to implement this

jwillikers commented 9 months ago

Sweet, I'll try to find some time to add that. Should be pretty trivial since it is supported in the net-snmp library.

RincewindsHat commented 9 months ago

Jup, could be done in a way which would not disturb the other options. If net-snmp supports it, this should be relatively easy. Testing would be annoying though.

jwillikers commented 8 months ago

Jup, could be done in a way which would not disturb the other options. If net-snmp supports it, this should be relatively easy. Testing would be annoying though.

@RincewindsHat I found your branch and that works for me, although I think I've ran into an unrelated bug which I opened an issue for: #26.

RincewindsHat commented 8 months ago

Good to know, thanks :-) Wanted to add the help for that option and stuff and didn't find the time since then.

jwillikers commented 8 months ago

I went ahead and updated the documentation and help output for you in #27.