net-snmp 5.5 tcp wrappers broken

krad kraduk at
Wed Jun 9 15:12:49 UTC 2010

Has anyone one else this behaviour


ALL : X : allow
ALL : ALL : deny

do an simple system snmp query from host x fails
remove the deny all line and it starts working.

trussing the process shows snmpd calling lib wrap and accessing the
hosts.allow fine, just no joy. Earlier version on net-snmp 5.3 i upgraded
from works fine. Ports and src tree csup'd very recently. ssh does have
these issues with the same hosts.allow file.

Hosts reverse and forward dns matches

FreeBSD xx 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Jun  9 10:52:17 BST
2010     x:/usr/obj/usr/src/sys/DTRACE  amd64

# ls /etc/host*
/etc/host.conf        /etc/hosts        /etc/hosts.allow
/etc/hosts.equiv    /etc/hosts.lpd

[root]# /usr/local/sbin/snmpd -v

NET-SNMP version:  5.5
Email:             net-snmp-coders at

[root]# ls -l /usr/local/sbin/snmpd
-rwxr-xr-x  1 root  wheel  28880 Jun  9 12:30 /usr/local/sbin/snmpd
[root]# ldd /usr/local/sbin/snmpd
/usr/local/sbin/snmpd: => /usr/local/lib/
(0x80064c000) => /usr/local/lib/
(0x800793000) => /usr/local/lib/
(0x8008b7000) => /usr/lib/ (0x800abe000) => /usr/local/lib/perl5/5.8.9/mach/CORE/
(0x800bc6000) => /lib/ (0x800dec000) => /lib/ (0x800f05000) => /usr/local/lib/ (0x801015000) => /lib/ (0x8011e3000) => /lib/ (0x801302000) => /lib/ (0x80140a000) => /lib/ (0x80150f000) => /usr/lib/ (0x8017a7000) => /lib/ (0x8018bf000)

More information about the freebsd-questions mailing list