From owner-freebsd-hackers Thu Dec 21 14:21:22 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA15441 for hackers-outgoing; Thu, 21 Dec 1995 14:21:22 -0800 (PST) Received: from gateway.net.hk (john@gateway.hk.linkage.net [202.76.7.50]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA15435 Thu, 21 Dec 1995 14:21:15 -0800 (PST) Received: (from john@localhost) by gateway.net.hk (8.6.12/8.6.9) id GAA03126; Fri, 22 Dec 1995 06:16:56 +0800 Date: Fri, 22 Dec 1995 06:16:55 +0800 (HKT) From: John Beukema To: Nate Williams cc: hackers@FreeBSD.org, isp@FreeBSD.org Subject: Re: BSD networking code guru needed? In-Reply-To: <199512210116.SAA01444@rocky.sri.MT.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org Precedence: bulk On Wed, 20 Dec 1995, Nate Williams wrote: > I'm seeing a fairly significant bug in FreeBSD's networking code > w/regards to routing and arp, and I'm looking for someone who can help > me figure this out. > > > This problem occurs with normal arp as well as proxy-arp, so you can have > up to three arp entries for a single IP address in the arp table. > > Here's what happens on my server box right now. > > ws1.sri.MT.net (204.182.243.100) at (incomplete) > ws1.sri.MT.net (204.182.243.100) at 0:80:48:e8:27:63 permanent published > ws1.sri.MT.net (204.182.243.100) at 0:80:48:e8:27:63 permanent published (proxy only) > > Fun, huh? I've got kernel dumps where the bogosity is occuring, > back-traces, and all sorts of programs to trigger the bug and more > information than you'll ever want to describe the problem, but I'm > beating my head against the wall trying to figure out the code flow, so > I'm appealing the BSD gurus to help. > > This problem won't occur if the arp entries time-out on both the remote > host and the server box. If that happens, then the proxy-arp entry > which gets added by PPPD is the first in the arp table, and routing is > correct until the line goes down. > > I've checked and neither SunOS 4.1 nor Solaris 2.4 have this bug, and I > don't have root access on any other OS's to test this out. > > Please help! > > > > Nate > Something similar seem to happen with BSD/OS 2.01 so the problem probably come from the 4.4 Lite code. They remove arp entries before each ppp connection. jbeukema