From owner-freebsd-questions@FreeBSD.ORG Wed Jun 9 15:12:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 544A01065672 for ; Wed, 9 Jun 2010 15:12:49 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id DD44D8FC26 for ; Wed, 9 Jun 2010 15:12:46 +0000 (UTC) Received: by fxm20 with SMTP id 20so4552465fxm.13 for ; Wed, 09 Jun 2010 08:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=JHfMi9Zb4vB4lOgH3quNnR4bf/6AnSsNm2UTYjDXMZ8=; b=ehyXqDDhxqrGFjjoHsM/KT5eLman4fIlMcm8LgT80HjR317Ih0cJuTulkaObF4U1jR 0BxZvuA+Wzxu4eD7Xz/IWwOuQjKR5B45kbfqyw6L67ryklPa4sBwcfGyU7oDrt0TjfKu EOHm0vAVKZvx4bavojAKLyAGSDGhc7g2dY+9U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LVy9DRZFJNTNii5e3Nnn9vL9unKihvlZfvvtJ4PIlFuX6lIOZeCf2gWELTmGYijwK9 JOyohRmpIJWBIQHmvv8lLNkgGbXKeVqCTtJ7H++mkPJ+ybESuc+jw0a9dD2t7Iur24GF mTvKmiVDl4GQ13SExey214sfr1lE8b1S0gyMI= MIME-Version: 1.0 Received: by 10.239.140.143 with SMTP id x15mr1154954hbx.141.1276096365195; Wed, 09 Jun 2010 08:12:45 -0700 (PDT) Received: by 10.239.165.129 with HTTP; Wed, 9 Jun 2010 08:12:45 -0700 (PDT) Date: Wed, 9 Jun 2010 16:12:45 +0100 Message-ID: From: krad To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: net-snmp 5.5 tcp wrappers broken X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2010 15:12:49 -0000 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)