Hello everyone,

I am quite new to the list and also with net-snmp.

I am trying to build an SNMP application on top of net-snmp toolkit in  
order to manage a custom MIB.

I downloaded and successfully compiled all the libraries and  
executables for the 5.4 branch using Visual Studio 7.0

I am now trying to use the executable to perform some simple tests;  
after running the compiled snmpd.exe, as suggested by the tutorials I  
am trying to execute the following:

snmpget -d -v 2c -c private 127.0.0.1 system.sysDescr

the -d option was added in order to see if the packets were  
effectively being generated. Here is the Outcome:

Sending 41 bytes to UDP: [127.0.0.1]:161
0000: 30 27 02 01  01 04 07 70  72 69 76 61  74 65 A0 19    0'.....privateá.
0016: 02 02 50 16  02 01 00 02  01 00 30 0D  30 0B 06 07    ..P.......0.0...
0032: 2B 06 01 02  01 01 01 05  00                          +........

after some retries:

Timeout: No Response from 127.0.0.1.

I didnt mention that snmpd tries to send what I think are the startup  
trap to port port 162:

Sending 93 bytes to UDP: [127.0.0.1]:162
0000: 30 5B 02 01  01 04 06 70  75 62 6C 69  63 A6 4E 02    0[.....publicªN.
0016: 02 6A 11 02  01 00 02 01  00 30 42 30  0D 06 08 2B    .j.......0B0...+
0032: 06 01 02 01  01 03 00 43  01 64 30 17  06 0A 2B 06    .......C.d0...+.
0048: 01 06 03 01  01 04 01 00  06 09 2B 06  01 06 03 01    .........   +.....
0064: 01 05 01 30  18 06 0A 2B  06 01 06 03  01 01 04 03    ...0...+........
0080: 00 06 0A 2B  06 01 04 01  BF 08 03 02  0D             ...+....?....

Here as well, there are some retries.

Now ... to go on with further description of the machine i am trying  
to run things on: I have Windows Firewall disabled and the service is  
disabled; I have Zone Alarm installed but I shut it down in order to  
perform tests without being disturbed; 'netstat -a', as expected,  
displays UDP port 161 being opnened for listening.

I need some help in trying to find out what is actually blocking   
Agent from receiving packets. I expect that in case community string  
were badly configured I would get some dumps of packets received in  
the snmpd.exe window, but unfortunately I get no sign of life :(

If you need more information on the matter let me know and I will try  
to answer as good as I can.

Thank you in advance for the attention

Fizzo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to