About AES support in netsnmp
bhushan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
hello friends,
Greetings
i have created netsnmp v3 user as follows
[root@localhost root]# net-snmp-config --create-snmpv3-user -a
"my_password" -A MD5 -x "my_password" -X AES myuser
adding the following line to /var/net-snmp/snmpd.conf:
createUser myuser MD5 "my_password" AES my_password
adding the following line to /usr/share/snmp/snmpd.conf:
rwuser myuser
then i started agent & i run this command
[root@localhost net-snmp-5.1.4]# snmpd -Le -d -f -c /etc/snmp/snmpd.conf
/var/net-snmp/snmpd.conf: line 1: Error: Unknown privacy protocol
net-snmp: 1 error(s) in config file(s)
Turning on AgentX master support.
/etc/snmp/snmpd.conf: line 64: Warning: Unknown token: smuxsocket.
then i tried to do snmpwalk like this
[root@localhost bhushans]# snmpwalk -v 3 -a MD5 -A my_password -l authPriv
-n "" -u myuser -x AES -X my_password
localhost
Invalid privacy protocol specified after -x flag: AES
USAGE: snmpwalk [OPTIONS] AGENT [OID]
SNMP Version 1 or 2c specific
-c COMMUNITY set the community string
SNMP Version 3 specific
-a PROTOCOL set authentication protocol (MD5|SHA)
-A PASSPHRASE set authentication protocol pass phrase......
i also have taken care in installing netsnmp 5.1.4 with openssl support
on.
after ./configure --with-openssl=/usr it has showed in configure
summary that
---------------------------------------------------------
Net-SNMP configuration summary:
---------------------------------------------------------
Net-SNMP Version: 5.1.4
Building for: linux
Network transport support: Callback Unix TCP UDP
SNMPv3 Security Modules: usm
Agent MIB code: mibII ucd_snmp snmpv3mibs notification target
agent_mibs agentx utilities
SNMP Perl modules: disabled
Embedded perl support: disabled
Authentication support: MD5 SHA1
Encryption support: DES AES
---------------------------------------------------------
so looking at this i guess it is going to support AES
still it will fail with invalid privacy type
so what i have made wrong in this i have specified proper
protocol ie AES still it give me error.
what may be the reason ?
Please help me.
Regards
- bhushan. E . Sonawane
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users