NETWAYS / check_interfaces

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

RHEL9 requires AES replacemed instead of DES at one point in the Code #16

Closed pdolinic closed 1 year ago

pdolinic commented 1 year ago

RHEL9 Systems will complain about DES Cipher use,

/session->securityPrivProto = snmp_duplicate_objid(usmDESPrivProtocol, USM_PRIV_PROTO_DES_LEN);

to

/session->securityPrivProto = snmp_duplicate_objid(usmAESPrivProtocol, USM_PRIV_PROTO_DES_LEN);
RincewindsHat commented 1 year ago

@pdolinic Could you put that into a PR?

RincewindsHat commented 1 year ago

ok, the original reason for this problem is, that in Red Hat packages DES has patches to remove the DES algorithms completely ( https://src.fedoraproject.org/rpms/net-snmp/blob/rawhide/f/net-snmp-5.9.1-remove-des.patch ) which breaks compiling here.

RincewindsHat commented 1 year ago

Fixed with 31cdf0ae82a05d70e277e2a50ff736e8bbfc896c