Re: Trouble with Win32 apps using AES

Alex Burger <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Brendan Simon wrote:
> I've installed Win32-OpenSSL-0.9.8e and net-snmp-5.4.1-ssl-3.win32.exe.
> I can now talk to my device with "snmpget -l authNoPriv -a SHA ..." and 
> get valid responses.
> 
> But if I change/add "-l authPriv -x AES 
> --defPrivLocalizedKey=0x0123456789abcdef0123456789abcdedf" I get:
> snmpget: USM generic error
> 
> NOTE: The above command works fine from Debian snmpget command line app.
> 
> Has anyone got Privacy with AES going with windows command line apps?
> What about when directly specifying the localised key, as opposed to 
> using a privacy passphrase?

I am not familiar with using defPrivLocalizedKey, but all of the 
following combinations for me:

snmpwalk -v 3 -u user2 -A test1 -a MD5 -l authPriv -x DES -X test2 
192.168.1.1 system
snmpwalk -v 3 -u user3 -A test1 -a MD5 -l authPriv -x AES -X test2 
192.168.1.1 system
snmpwalk -v 3 -u user4 -A test1 -a SHA -l authPriv -x DES -X test2 
192.168.1.1 system
snmpwalk -v 3 -u user5 -A test1 -a SHA -l authPriv -x AES -X test2 
192.168.1.1 system

Alex


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.