Ethereal-users: Re: [Ethereal-users] SNMP and OID parsing for eneterprises branch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lukasz Geleta <geleta@xxxxxxxxxx>
Date: Fri, 08 Mar 2002 14:15:03 +0100
Guy Harris wrote:
> On Wed, Mar 06, 2002 at 09:31:25AM +0100, Lukasz Geleta wrote:
> 
>>SNMP seems to be configure since snmptranslate produces output according 
>>to my expectations.
>>
>>$ snmptranslate -Onf .1.3.6.1.4.1.277.1.3.5.0
>>.iso.org.dod.internet.private.enterprises.cascade.cascfr.node.nodePollStatus.0
>>$ snmptranslate -Onf .1.3.6.1.4.1.277.1.3.6.0
>>.iso.org.dod.internet.private.enterprises.cascade.cascfr.node.nodeModel.0
>>$ snmptranslate -Onf .1.3.6.1.4.1.277.1.3.8.0
>>.iso.org.dod.internet.private.enterprises.cascade.cascfr.node.nodeSwRev.0
>>
> 
> With which SNMP libraries are Ethereal and snmptranslate linked?
> 
> For example, what do
> 
> 	ldd ethereal
> 
> and
> 
> 	ldd snmptranslate
> 
> report?  (That'll indicate which library they're linked with, if they're
> dynamically linked.)
> 

I recompiled ethereal and the result I got is exactly as I described 
previously - no OID translation in ethereal. If it makes any diffrence 
I'm trying to open previously captured file. Please find below output 
from ldd.


[root@localhost ethereal-0.9.2]# ldd /usr/local/bin/ethereal
	libsnmp.so.0 => /usr/lib/libsnmp.so.0 (0x40027000)
	libcrypto.so.2 => /lib/libcrypto.so.2 (0x40083000)
	libpcap.so.0.6.2 => /usr/lib/libpcap.so.0.6.2 (0x40146000)
	libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40161000)
	libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x4028f000)
	libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x402c5000)
	libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x402c9000)
	libdl.so.2 => /lib/libdl.so.2 (0x402ed000)
	libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x402f1000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402f9000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40307000)
	libm.so.6 => /lib/i686/libm.so.6 (0x403e5000)
	libz.so.1 => /usr/lib/libz.so.1 (0x40409000)
	libc.so.6 => /lib/i686/libc.so.6 (0x40417000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[root@localhost ethereal-0.9.2]# ldd /usr/bin/snmptranslate
	libsnmp.so.0 => /usr/lib/libsnmp.so.0 (0x40027000)
	libcrypto.so.2 => /lib/libcrypto.so.2 (0x40083000)
	libdl.so.2 => /lib/libdl.so.2 (0x40146000)
	libz.so.1 => /usr/lib/libz.so.1 (0x4014a000)
	libm.so.6 => /lib/i686/libm.so.6 (0x40158000)
	libc.so.6 => /lib/i686/libc.so.6 (0x4017b000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)