V3 encryption is only available after you link your SNMP agent to the
OpenSSL libraries.  You need to reconfigure/rebuild your agent and try
again.

 

Ron

 

________________________________

From: Naama Bar Menachem [mailto:naama.barmenac...@novelsat.com] 
Sent: Monday, November 01, 2010 5:37 AM
To: net-snmp-users@lists.sourceforge.net
Cc: Naama Bar Menachem
Subject: error: Encryption support not enabled

 

Hi 


when I run the following GET commad:
./snmpget -m ALL -M /data/net/naamab/snmp/snmp_mib/ -v 3 -a MD5 -l
authPriv  -u test1 -A welcome1 -x DES -X privpass 127.0.0.1
NOVELSAT-MODULATOR-MIB::nsModLineCMMode.0 -d

I get the error:

Encryption support not enabled.

snmpget: USM encryption error

 

I have defined a user (and user, view and access) that should work with
encryption:
snmpd.conf:
createUser test1  MD5 welcome1 DES privpass
group  debugGroup     usm        test1
view   debugView      included    .1
access debugGroup      ""      usm       priv      exact  debugView
debugView      none

general details:
I am using net-snmp on linux embedded 
version 5.5
Configuration (part of it):
./configure --target=mips64-octeon-linux-gnu
                   --build=mips64-octeon-linux-gnu
                   --host=i686-pc-linux-gnu


message dump:

Sending 64 bytes to UDP: [127.0.0.1]:161->[0.0.0.0]

0000: 30 3E 02 01  03 30 11 02  04 1D 23 6A  FA 02 03 00
0>...0....#j....

0016: FF E3 04 01  04 02 01 03  04 10 30 0E  04 00 02 01
..........0.....

0032: 00 02 01 00  04 00 04 00  04 00 30 14  04 00 04 00
..........0.....

0048: A0 0E 02 04  4C 08 7B B5  02 01 00 02  01 00 30 00
....L.{.......0.

 

Received 118 bytes from UDP: [127.0.0.1]:161->[0.0.0.0]

0000: 30 74 02 01  03 30 11 02  04 1D 23 6A  FA 02 03 00
0t...0....#j....

0016: FF E3 04 01  00 02 01 03  04 24 30 22  04 11 80 00
.........$0"....

0032: 1F 88 80 2D  53 AF 7D 00  00 00 00 00  00 00 08 02
...-S.}.........

0048: 02 02 CF 02  03 01 11 C5  04 00 04 00  04 00 30 36
..............06

0064: 04 11 80 00  1F 88 80 2D  53 AF 7D 00  00 00 00 00
.......-S.}.....

0080: 00 00 08 04  00 A8 1F 02  04 4C 08 7B  B5 02 01 00
.........L.{....

0096: 02 01 00 30  11 30 0F 06  0A 2B 06 01  06 03 0F 01
...0.0...+......

0112: 01 04 00 41  01 09                                    ...A..

 

 

 

Thank you

Naama



The information contained in this message may be privileged and confidential 
and protected from disclosure. If the reader of this message is not the 
intended recipient, or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by replying to the message and deleting all copies. Thank you.

<<inline: logo.jpg>>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to