Marko Vucak
2016-07-14 10:54:27 UTC
Hi
Having some problems with encryption.
I downloaded latest version: net-snmp-5.7.3
Then configured it with command:
*./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--libdir=/usr/lib --host=arm-v5te-linux-gnueabi --build=i686-host-linux-gnu
--enable-ipv6 --with-defaults --with-openssl=internal
--with-mib-modules=agentx,ucd_snmp --with-mibs
--with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp
--with-default-snmp-version=3 --enable-shared --enable-internal-md5
--with-endianness=little --enable-agentx-dom-sock-only --enable-agent
--enable-mibs --enable-snmpv1 --enable-snmpv2c --enable-snmpv3 --enable-des
--enable-md5 --enable-sha1 --enable-aes --enable-snmptrapd-subagent
--enable-mib-config-checking --enable-mfd-rewrites --disable-embedded-perl
--without-perl-modules --disable-testing-code --disable-developer*
Net-SNMP configuration summary said:
Authentication support: MD5 SHA1
Encryption support: DES AES
Then I made snmpd with make command.
When I execute command: snmpd -H 2>&1 | grep defPrivType
I get: defPrivType DES (AES support not available)
Why no support for AES when it was OK in configure?
I have following snmpd.conf
master agentx
com2sec mynetwork 169.254.1.0/24 public
rwuser myUser
Here, on command: *snmpd -H *i get error: *Unknown privacy protocol *
Why? When DES is enabled.
Is something wrong with my configuration?
Having some problems with encryption.
I downloaded latest version: net-snmp-5.7.3
Then configured it with command:
*./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--libdir=/usr/lib --host=arm-v5te-linux-gnueabi --build=i686-host-linux-gnu
--enable-ipv6 --with-defaults --with-openssl=internal
--with-mib-modules=agentx,ucd_snmp --with-mibs
--with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp
--with-default-snmp-version=3 --enable-shared --enable-internal-md5
--with-endianness=little --enable-agentx-dom-sock-only --enable-agent
--enable-mibs --enable-snmpv1 --enable-snmpv2c --enable-snmpv3 --enable-des
--enable-md5 --enable-sha1 --enable-aes --enable-snmptrapd-subagent
--enable-mib-config-checking --enable-mfd-rewrites --disable-embedded-perl
--without-perl-modules --disable-testing-code --disable-developer*
Net-SNMP configuration summary said:
Authentication support: MD5 SHA1
Encryption support: DES AES
Then I made snmpd with make command.
When I execute command: snmpd -H 2>&1 | grep defPrivType
I get: defPrivType DES (AES support not available)
Why no support for AES when it was OK in configure?
I have following snmpd.conf
master agentx
#Network hint
com2sec local localhost publiccom2sec mynetwork 169.254.1.0/24 public
#create views
view all included .1# Add user
createUser myUser MD5 "12345678" DES abcdefrwuser myUser
#ReadWrite group
group MyRWGroup usm local myUser# For ALL_ACCESS view
access MyRWGroup "" usm auth exact all all allWhy? When DES is enabled.
Is something wrong with my configuration?