From owner-freebsd-stable Sun Apr 23 15:56:14 2000 Delivered-To: freebsd-stable@freebsd.org Received: from awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 5BDB837BAAC for ; Sun, 23 Apr 2000 15:56:04 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id XAA15131; Sun, 23 Apr 2000 23:55:40 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id WAA00681; Sun, 23 Apr 2000 22:10:22 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200004232110.WAA00681@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Alexander Frolkin Cc: Brian Somers , stable@freebsd.org, brian@hak.lan.Awfulhak.org Subject: Re: portmap strangeness In-Reply-To: Message from Alexander Frolkin of "Sat, 22 Apr 2000 17:03:05 BST." <20000422170304.A2166@gamma> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Apr 2000 22:10:22 +0100 From: Brian Somers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Sat, Apr 22, 2000 at 10:06:21AM +0100, Brian Somers wrote: > > In /usr/src/usr.sbin/portmap, can you > > > > cc -o from_local -DTEST from_local.c > > ./from_local > > > > and see how this compares to the output of ifconfig -a ? If this > > finds all the interface addresses after lp0, then there *should* be > > no problems. > > I've done that, and I get the addresses of all the interfaces which are 'up' > listed correctly, however portmap only works when lp0 is also up. (This is > the first interface in ifconfig -a, if that makes a difference). from_local > shows the address of lp0, when it is up, as 0.0.0.0, which is correct since > the address isn't set because I'm not using the interface at the moment. Well, I think the next step(s) are to ensure that portmap is LISTENing to *.111 and then to use tcpdump to see what address the nfs stuff is coming from - without lp0 being IFF_UP. It sounds like portmap is failing to identify the address as being local.... > Thanks, > > Alexander. Cheers. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message