Have you checked to make sure that USE_OPENSSL is
defined in net-snmp-config.h? I had the same problem
because the net-snmp project disables encryption by
default (legal ramifications, I believe)
Ropert Wilcox
--- Frederic K <[EMAIL PROTECTED]> wrote:
> Hi
>
> i've wrote a mail about the timeout error, that is
> resolved now
> but using DES gives me a problem
> indeed i've got a Decryption error if i launch a
> request:
>
> > # snmpwalk -v 3 -u stage -l authPriv -a MD5 -A
> 12345678 -x DES -X 12345678
> > 172.25.1.100 <http://172.25.1.100/> system
> > snmpwalk: Decryption error
>
> but if i don't use the DES, the V3 request seems to
> work fine
>
> > # snmpwalk -v 3 -u stage -l authNoPriv -a MD5 -A
> 12345678 172.25.1.100<http://172.25.1.100/>system
> > SNMPv2-MIB::sysDescr.0 = STRING: Linux
> EmbeddedLinux 2.4.27-vrs1 #11 mar
> > mai 31 09:36:36 CEST 2005 armv4l
> > SNMPv2-MIB::sysObjectID.0 = OID:
> NET-SNMP-MIB::netSnmpAgentOIDs.10
> > SNMPv2-MIB::sysUpTime.0 = Timeticks: (1372)
> 0:00:13.72
> > SNMPv2-MIB::sysContact.0 = STRING: IUP
> <[EMAIL PROTECTED]>
> > SNMPv2-MIB::sysName.0 = STRING: EmbeddedLinux
> > SNMPv2-MIB::sysLocation.0 = STRING: PTV France.
> > SNMPv2-MIB::sysORLastChange.0 = Timeticks: (3)
> 0:00:00.03
> > SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
> > SNMPv2-MIB::sysORID.2 = OID:
> SNMP-VIEW-BASED-ACM-MIB: :vacmBasicGroup
> > SNMPv2-MIB::sysORID.3 = OID:
> > SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
> > SNMPv2-MIB::sysORID.4 = OID:
> SNMP-MPD-MIB::snmpMPDCompliance
> > SNMPv2-MIB::sysORID.5 = OID:
> SNMP-USER-BASED-SM-MIB::usmMIBCompliance
> > SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module
> for SNMPv2 entities
> > SNMPv2-MIB::sysORDescr.2 = STRING: View-based
> Access Control Model for
> > SNMP.
> > SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP
> Management Architecture MIB.
> > SNMPv2-MIB::sysORDescr.4 = STRING: The MIB for
> Message Processing and
> > Dispatching.
> > SNMPv2-MIB::sysORDescr.5 = STRING: The management
> information definitions
> > for the SNMP User-based Security Model.
> > SNMPv2-MIB::sysORUpTime.1 = Timeticks: (2)
> 0:00:00.02
> > SNMPv2-MIB::sysORUpTime.2 = Timeticks: (2)
> 0:00:00.02
> > SNMPv2-MIB::sysORUpTime.3 = Timeticks: (2)
> 0:00:00.02
> > SNMPv2-MIB::sysORUpTime.4 = Timeticks: (2)
> 0:00:00.02
> > SNMPv2-MIB::sysORUpTime.5 = Timeticks: (3)
> 0:00:00.03
> >
>
> i've built the snmp daemon with the following
> command line:
>
> > # CFLAGS="-isystem
> /usr/local/arm/3.0/arm-linux/include"
> > CPPFLAGS="-isystem
> /usr/local/arm/3.0/arm-linux/include" ./configure
> > --target=arm-linux --host=arm --build=i686
> --with-cc=arm-linux-gcc
> > --with-ar=arm-linux-ar --with-endianness=little
> --disable-applications
> > --disable-manuals --disable-scripts
> --enable-mini-agent --prefix=/usr
> > --exec-prefix=/usr --with-install-prefix=/nfsroot
> >
>
> then , once the make and make install are done, i
> add several librairies to
> my file system:
>
> > libcom_err.so.3 -> libcom_err.so.3.0
> > libcom_err.so.3.0
> > libcrypto.so.4 -> ../../lib/libcrypto.so.0.9.7a
> > libgssapi_krb5.so.2 -> libgssapi_krb5.so.2.2
> > libgssapi_krb5.so.2.2
> > libk5crypto.so.3 -> libk5crypto.so.3.0
> > libk5crypto.so.3.0
> > libkrb5.so.3 -> libkrb5.so.3.1
> > libkrb5.so.3.1
>
> and i've got the lib from the agent in the same
> directory (/nfsroot/usr/lib)
>
> > libnetsnmp.a
> > libnetsnmp.la <http://libnetsnmp.la>
> > libnetsnmpagent.a
> > libnetsnmpagent.la <http://libnetsnmpagent.la>
> > libnetsnmphelpers.a
> > libnetsnmphelpers.la <http://libnetsnmphelpers.la>
> > libnetsnmpmibs.a
> > libnetsnmpmibs.la <http://libnetsnmpmibs.la>
>
>
> and finally, in /nfsroot/var/net-snmp, i've put a
> snmpd.conf file with the
> following line
>
> > createUser stage MD5 "12345678" DES
>
>
> so does anyone have an idea about how to resolve
> this problem...
>
> With regards
>
> Frédéric Kwiatkowski
> --
> Plateforme Technologique Valence
> Tél : 04 75 41 88 58
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders