Date: Wed, 9 Jun 2010 16:12:45 +0100 From: krad <kraduk@googlemail.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: net-snmp 5.5 tcp wrappers broken Message-ID: <AANLkTikTNhb2qFLSi05lRgRi2WfdPYN7sKbJMmNMsbJv@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Has anyone one else this behaviour /etc/hosts.allow 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 Web: http://www.net-snmp.org/ Email: net-snmp-coders@lists.sourceforge.net [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: libnetsnmpagent.so.20 => /usr/local/lib/libnetsnmpagent.so.20 (0x80064c000) libnetsnmphelpers.so.20 => /usr/local/lib/libnetsnmphelpers.so.20 (0x800793000) libnetsnmpmibs.so.20 => /usr/local/lib/libnetsnmpmibs.so.20 (0x8008b7000) libwrap.so.6 => /usr/lib/libwrap.so.6 (0x800abe000) libperl.so => /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so (0x800bc6000) libcrypt.so.5 => /lib/libcrypt.so.5 (0x800dec000) libutil.so.8 => /lib/libutil.so.8 (0x800f05000) libnetsnmp.so.20 => /usr/local/lib/libnetsnmp.so.20 (0x801015000) libm.so.5 => /lib/libm.so.5 (0x8011e3000) libkvm.so.5 => /lib/libkvm.so.5 (0x801302000) libdevstat.so.7 => /lib/libdevstat.so.7 (0x80140a000) libcrypto.so.6 => /lib/libcrypto.so.6 (0x80150f000) libelf.so.1 => /usr/lib/libelf.so.1 (0x8017a7000) libc.so.7 => /lib/libc.so.7 (0x8018bf000)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikTNhb2qFLSi05lRgRi2WfdPYN7sKbJMmNMsbJv>