I'm trying to validate that SourceForge bug 1016849 is no longer a problem -- I 
seem to be the only person who's seen it -- in v5.2 and I'm running into 
_other_ problems.  

I DLd and built and installed 5.2.1.  I can snmpget remotely but my application 
which does local access to snmpd times out.  I added:

  netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID,
                         NETSNMP_DS_LIB_DUMP_PACKET,
                         1);
    
and the dump looks like:

Sending 93 bytes to UDP: [127.0.0.1]:161
0000: 30 5B 02 01  01 04 00 A0  54 02 04 24  FE 8E F8 02    0[......T..$....
0016: 01 00 02 01  00 30 46 30  0C 06 08 2B  06 01 02 01    .....0F0...+....
0032: 01 01 00 05  00 30 0C 06  08 2B 06 01  02 01 01 04    .....0...+......
0048: 00 05 00 30  0C 06 08 2B  06 01 02 01  01 05 00 05    ...0...+........
0064: 00 30 0C 06  08 2B 06 01  02 01 01 06  00 05 00 30    .0...+.........0
0080: 0C 06 08 2B  06 01 02 01  01 03 00 05  00             ...+.........

repeated 3x, then the timeout.  I'm trying to do v2c access with "private" as a 
community string (which works remotely).  

    session.peername = "localhost";
    session.retries = 3;
    session.version = SNMP_VERSION_2c;
    session.community = "private";
    session.community_len = strlen(session.community);

    ss = snmp_open(&session);

I don't see "private" in those packets.  Should I?  Any idea why this doesn't 
work?  



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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