On Tue, 16 Aug 2005, Brian A. Seklecki wrote:

On Tue, 16 Aug 2005, Russell Bell wrote:


Is the problem definitely fixed in 5.1.3 then ?  Re the code similarity,
Matt copied the WIN32 version of get_myaddr() in 5.1.2 snmplib/system.c and

I'm going to find out this morning. The changelog between 5.1.2 and 5.1.3 is something like 30 pages long. None of the OpenBSD ports patches apply cleanly.

Russell:

Could you please send me your copy of system.c?

I was able to safely backport all of _sess_open() from snmplib/snmp_api.c from 5.2.1.2 from to 5.1.3 by simply copying it and also a small chunk from the top of snmp_api.c:

    netsnmp_ds_register_config(ASN_OCTET_STR, "snmp", "clientaddr",
                      NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_CLIENT_ADDR);

These are the only places that I see 'clientaddr' mentioned...but I don't see a mention of the config paramter until snmp.5.conf in -current sources. It occured to me that 'clientaddr' is read from snmp.conf instead of snmpd.conf.

Anyway, my snmpd(8) agent daemon still isn't properly sourcing traps with that patch applied.

Do config file statements in snmp.conf apply to all functions/code, even if traps are sent from snmpd(8) through shared code ...instead of snmptrap(1) ?

~BAS


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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