[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-3028748 ] snmpget snmp walk displays corrupt string
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2010-08-18 17:46:14
Message-ID: E1OlmiM-00070E-Lc () sfs-web-10 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #3028748, was opened at 2010-07-13 04:01
Message generated for change (Comment added) made by dts12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3028748&group_id=12694

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: apps
Group: linux
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Randall Grimshaw (rgrimsha)
Assigned to: Nobody/Anonymous (nobody)
Summary: snmpget snmp walk displays corrupt string instead of hex 

Initial Comment:
Just like closed issue "why snmpget display string instead of hex-string - ID: \
2999463" (though I do not see a solution) the snmpget and snmpwalk apps return a \
corrupt string instead of a hex string whenever the first number of a MAC address is \
not 00. We are getting a lot of these numbers on recently purchased Dell computers \
and the result is devastating. It is as though the apps assume that all MAC addresses \
begin with 00 to determine how to encode the result and the String encoding has a \
corrupt pointer. I can upload an example snmpwalk where all of the 00:xxx numbers are \
correct and the non 00: value is jibberish but it would duplicate the previous \
report. My environment is RedHat Enterprise linux compiled with the following \
options: zcat net-snmp-5.5.tar.gz | tar xvf -
cd net-snmp-5.5
./configure --prefix=/usr/local/net-snmp/5.5 --disable-agent --enable-old-features \
--enable-ucd-snmp-compatibility --with-PACKAGE=ucd_snmp  make
make install


----------------------------------------------------------------------

> Comment By: Dave Shield (dts12)
Date: 2010-08-18 18:46

Message:
The cause of the problem in the other entry you mention (which was
discussed on the mailing list), turned out to be due to running configure
using "--disable-agent".   The resulting applications ended up with a cut
down list of MIBs, which loaded the old RFC1213 (which didn't display
physical addresses correctly), but not the newer IP-MIB and similar (which
do).

I don't know whether this matches your setup, but try having a look at
which MIB files are being loaded.  In partticuar make sure that IP-MIB is
being loaded (and ideally that RFC1213 is not).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3028748&group_id=12694

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic