ollyg / Alien-SNMP

Other
0 stars 0 forks source link

Net-SNMP 5.9 available #6

Open djzort opened 3 years ago

djzort commented 3 years ago

Check out https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9/

FYI debian may have some patches you might consider adding

https://sources.debian.org/patches/net-snmp/5.9+dfsg-3/

inphobia commented 3 years ago

i was looking at 5.9 for a different reason, since i stumbled on a mib that has so many imports that the standard 256 MAX_IMPORTS didn't cut it:

https://github.com/net-snmp/net-snmp/blob/c4d46f9f7b5b32bf1d6b61d09bdabaae4ff3cd7a/snmplib/parse.c#L3639

as it turns out net-snmp 5.9 no langer has the caching function we use to build our indexes, which was removed due to security issues: https://github.com/net-snmp/net-snmp/commit/4fd9a450444a434a993bc72f7c3486ccce41f602

as a result mkindex doesn't have the caches, which in turn means we can't build mib_index2.txt - which makes prepmibs fail, etc...

ofcourse, alien::snmp is mostly used for netdisco-mibs & travis builds. i personally prefer the os version of net-snmp for use with netdisco proper, since then we don't have to follow all the security patches.