Ways to retrive ip address from cisco routers decimal or hexadecimal.

2010-11-08 Thread Manish Pohnekar
Hi All I have one query we are using the net-snmp library and receiving the agent information from cisco router we are getting IP address in hexadecimal format as well as in decimal value in corresponfing ascii character in 4 character lenghth. but not sure when returens hexadecimal or decimal w

Re: ubuntu-10.10's snmpget doesn't understand MIB names (Unknown Object Identifier)

2010-11-08 Thread raf
Reinhold Kainhofer wrote: > Am Dienstag, 9. November 2010, um 00:45:54 schrieb Thomas Anders: > > raf wrote: > > > i've just upgraded to ubuntu-10.10 and its snmpget > > > > > (v5.4.3) doesn't understand MIB names: > > Debian-based distros have stopped shipping IETF MIB files for legal > > reason

Re: ubuntu-10.10's snmpget doesn't understand MIB names (Unknown Object Identifier)

2010-11-08 Thread Reinhold Kainhofer
Am Dienstag, 9. November 2010, um 00:45:54 schrieb Thomas Anders: > raf wrote: > > i've just upgraded to ubuntu-10.10 and its snmpget > > > (v5.4.3) doesn't understand MIB names: > Debian-based distros have stopped shipping IETF MIB files for legal > reasons. However, there's a new "snmp-mibs-down

Re: ubuntu-10.10's snmpget doesn't understand MIB names (Unknown Object Identifier)

2010-11-08 Thread raf
Thomas Anders wrote: > raf wrote: > > i've just upgraded to ubuntu-10.10 and its snmpget > > (v5.4.3) doesn't understand MIB names: > > Debian-based distros have stopped shipping IETF MIB files for legal > reasons. However, there's a new "snmp-mibs-downloader" package > (http://packages.ubuntu.co

Re: ubuntu-10.10's snmpget doesn't understand MIB names (Unknown Object Identifier)

2010-11-08 Thread Thomas Anders
raf wrote: > i've just upgraded to ubuntu-10.10 and its snmpget > (v5.4.3) doesn't understand MIB names: Debian-based distros have stopped shipping IETF MIB files for legal reasons. However, there's a new "snmp-mibs-downloader" package (http://packages.ubuntu.com/maverick/snmp-mibs-downloader) t

Re: ubuntu-10.10's snmpget doesn't understand MIB names (Unknown Object Identifier)

2010-11-08 Thread raf
Dave Shield wrote: > On 8 November 2010 01:10, raf wrote: > > i've just upgraded to ubuntu-10.10 and its snmpget > > (v5.4.3) doesn't understand MIB names: > > >  $ ls -lasp /usr/share/mibs/netsnmp > >  total 160 > >   4 drwxr-xr-x 2 root root  4096 2010-11-08 10:35 ./ > >   4 drwxr-xr-x 3 root

Re: how to get integer from "exec/extend" shell command?

2010-11-08 Thread Ernest Beinrohr
On 08.11.2010 21:39, Raphaël 'SurcouF' Bordet wrote: Le lundi 08 novembre 2010 à 21:12 +0100, Ernest Beinrohr a écrit : Hi, i have a simple script which always returns and integer, I have it in my snmpd.conf as "exec test1 /bin/test.sh" and also as "extend test1 /bin/test.sh". Unfortunately, non

Re: what to specify in an AgentX IndexAllocate request?

2010-11-08 Thread Fulko Hew
On 11/8/10, Fulko Hew wrote: > I'm in the process of implementing an AgentX library (in native Perl), > and I've gotten > to the point of implementing the IndexAllocate PDU/function. It > specifies that you > can provide a varbind list of 'index names and values requested for > allocation'. > > U

Re: how to get integer from "exec/extend" shell command?

2010-11-08 Thread Raphaël 'SurcouF' Bordet
Le lundi 08 novembre 2010 à 21:12 +0100, Ernest Beinrohr a écrit : > Hi, i have a simple script which always returns and integer, I have it > in my snmpd.conf as "exec test1 /bin/test.sh" and also as "extend > test1 /bin/test.sh". Unfortunately, none of there returns an integer > with the value fro

how to get integer from "exec/extend" shell command?

2010-11-08 Thread Ernest Beinrohr
Hi, i have a simple script which always returns and integer, I have it in my snmpd.conf as "exec test1 /bin/test.sh" and also as "extend test1 /bin/test.sh". Unfortunately, none of there returns an integer with the value from the script. Only a string. Is is somehow possible to get an integer?

Adding "with-openssl" option doubled the snmpd file size

2010-11-08 Thread Naama Bar Menachem
The size of snmpd file was ~5.2M After adding "with-openssl" option the size of the file had almost doubled - to 10M How can I reduce it? Naaama Bar-Menachem Software Engineer, R&D T: +972-9788-9737 | M: +972-57-641-1810 | F: +972-9-958-9731 | naama.barmenac...@novelsat.com

what to specify in an AgentX IndexAllocate request?

2010-11-08 Thread Fulko Hew
I'm in the process of implementing an AgentX library (in native Perl), and I've gotten to the point of implementing the IndexAllocate PDU/function. It specifies that you can provide a varbind list of 'index names and values requested for allocation'. Unfortunately this description is a little wea

Re: " AES: Unknown Object Identifier (Sub-id not found: mib-2 -> AES) " error thrown while doing a snmpwalk with AES encryption

2010-11-08 Thread saurabh shukla
Thanks for the info Dave. I think net-snmp version 5.6 is the latest . My Solaris Machine is running SunOS 5.8 . can I install 5.6 on this machine. Thanks, Saurabh On Mon, Nov 8, 2010 at 7:59 PM, Dave Shield wrote: > > > On 8 November 2010 14:21, saurabh shukla > wrote: > > I am still not abl

Segmentation fault calling usm_parse_create_usmUser() - malloc returns invalid address 0xFF00

2010-11-08 Thread Nik Colman
Effectively my code is calling usm_parse_create_usmUser() and a segmentation fault is reported. Stepping into the usm_parse_create_usmUser code in gdb, I find that the malloc call when processing the '-e' flag and engine id within in snmpv3.c is returning 0xFF00. This is clearly having a knock o

Re: SNMP Broadcast

2010-11-08 Thread Reinhold Kainhofer
Am Montag, 8. November 2010, um 15:26:48 schrieb Martin Townsend: > Hi, > > I'm trying to use SNMP broadcast packets to perform device discovery. > I'm using version 5.5 which has limited support for broadcast. Has > anyone managed to get this working as my initial attempt doesn't see any > repli

SNMP Broadcast

2010-11-08 Thread Martin Townsend
Hi, I'm trying to use SNMP broadcast packets to perform device discovery. I'm using version 5.5 which has limited support for broadcast. Has anyone managed to get this working as my initial attempt doesn't see any replies when I know there should be at least 3 devices that should reply. Her

Re: " AES: Unknown Object Identifier (Sub-id not found: mib-2 -> AES) " error thrown while doing a snmpwalk with AES encryption

2010-11-08 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 8 Nov

Re: Successfully imported certificates fail with "error finding client identity keys"

2010-11-08 Thread Bart Van Assche
On Sat, Nov 6, 2010 at 2:07 AM, James Martin < james.mar...@securecommconsulting.com> wrote: > I am testing a DTLS snmp server using net-snmp version 5.6 on windows > under cygwin as the client. > > > > I have several certificates that I have imported successfully using > net-snmp-cert –t > >

Re: " AES: Unknown Object Identifier (Sub-id not found: mib-2 -> AES) " error thrown while doing a snmpwalk with AES encryption

2010-11-08 Thread Dave Shield
On 8 November 2010 03:59, saurabh shukla wrote: > Please look into the matter and help me out. > slocum:> snmpwalk -v 3 -u myusr -a MD5 -A cisco1234 x AES -X cisco1234 You've missed the hyphen before the '-x AES' option. This is confusing the snmpwalk command. Dave -

Re: ubuntu-10.10's snmpget doesn't understand MIB names (Unknown Object Identifier)

2010-11-08 Thread Dave Shield
On 8 November 2010 01:10, raf wrote: > i've just upgraded to ubuntu-10.10 and its snmpget > (v5.4.3) doesn't understand MIB names: >  $ ls -lasp /usr/share/mibs/netsnmp >  total 160 >   4 drwxr-xr-x 2 root root  4096 2010-11-08 10:35 ./ >   4 drwxr-xr-x 3 root root  4096 2010-11-06 16:55 ../ >  

net-snmp-5.x.x.exe silent install problem

2010-11-08 Thread Angelo Höngens
A silent install on net-snmp on Windows (Win2008R2 in this case) works fine (using the /S switch), but there's a problem with the shortcuts. The shortcuts ('Net-SNMP help', 'README' and 'Uninstall') end up in the root of the 'programs' folder, instead of in the subfolder 'Net-SNMP'. I'm writin

" AES: Unknown Object Identifier (Sub-id not found: mib-2 -> AES) " error thrown while doing a snmpwalk with AES encryption

2010-11-08 Thread saurabh shukla
Hi Team , I am getting the below mentioned error while doing a mibwalk on my device. Please look into the matter and help me out. slocum:> snmpwalk -v 3 -u myusr -a MD5 -A cisco1234 x AES -X cisco1234 -l authPriv localhost sysName.0 AES: Unknown Object Identifier (Sub-id not found: mib-2 -> AES)

Re: Study net-snmp source code

2010-11-08 Thread Dave Shield
On 8 November 2010 06:06, Queenie de Melo wrote: > i too would like to understand the flow and study the source code of > net-snmp. That's a bit vague. What exactly are you interested in? Client applications? The SNMP agent (in broad terms)? The processing of an individual requested varbind? S