I'm trying to get v3 security to work. I can use -l authNopriv but -l authpriv gives
"decryption error". I don't understand that. Cryptography isn't my strong suit; I'm
using a network sniffer to look at packets and looking in the net-snmp source but
haven't figured out what's going on. Any clues would be welcome.
I'm using 5.1.1 and I've got this in my /usr/share/snmp/snmpd.conf:
com2sec public default public
view public included .1
group public_v2 v1 public
group public_v2 v2c public
access public_v2 "" any noauth exact public none none
group public_v3 usm public
access public_v3 "" any auth exact public none none
and this in my /var/net-snmp/snmpd.conf:
createUser public MD5 "publicpwd" DES "publicpwd"
I know that the user is active because when I use only authentication, I get answers:
$ snmpget -v 3 -u public -a MD5 -A publicpwd -l authnopriv ipm system.sysLocation.0
RFC1213-MIB::sysLocation.0 = STRING: "The Location"
However, when I try privacy, I get an error:
$ snmpget -v 3 -u public -a MD5 -A publicpwd -x DES -X publicpwd -l authpriv ipm
system.sysLocation.0
snmpget: Decryption error
If snmpget is having trouble DEcrypting, does that mean that it sent a request and got
back a response it doesn't know how to decrypt?
TIA.
Chris
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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