> > I've just applied a patch to the main development code line,
> > that should avoid trying to validate such local connections
> > against the hosts.{allow,deny} files.
>
> Is there going to be another release or a patch (for 5.1.2) soon?
There doesn't seem to have been an outburst of problems reported with
5.1.2 so I suspect we'll want to concentrate on getting 5.2 ready first.
The patch required is extremely simple (attached)
Dave
diff -u -r5.63 -r5.64
--- snmp_agent.c 17 Aug 2004 03:25:58 -0000 5.63
+++ snmp_agent.c 17 Aug 2004 08:41:18 -0000 5.64
@@ -678,6 +678,7 @@
}
#ifdef USE_LIBWRAP
if (addr_string != NULL) {
+ if ( strncmp(addr_string, "callback", 8) != 0 ) {
if (hosts_ctl("snmpd", STRING_UNKNOWN, addr_string, STRING_UNKNOWN)) {
snmp_log(allow_severity, "Connection from %s\n", addr_string);
} else {
@@ -686,6 +687,7 @@
SNMP_FREE(addr_string);
return 0;
}
+ }
} else {
if (hosts_ctl("snmp", STRING_UNKNOWN, STRING_UNKNOWN, STRING_UNKNOWN)){
snmp_log(allow_severity, "Connection from <UNKNOWN>\n");
[
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders