From owner-freebsd-current Fri Apr 7 11:33:44 2000 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 4FAEB37BA30 for ; Fri, 7 Apr 2000 11:33:40 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id LAA41098; Fri, 7 Apr 2000 11:33:30 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200004071833.LAA41098@gndrsh.dnsmgr.net> Subject: Re: Overwhelming messages from /sys/netinet/if_ether.c In-Reply-To: from "Alexander N. Kabaev" at "Apr 7, 2000 11:52:04 am" To: ak03@gte.com (Alexander N. Kabaev) Date: Fri, 7 Apr 2000 11:33:29 -0700 (PDT) Cc: dmmiller@cvzoom.net (Donn Miller), current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > The message in question can be extremely useful in case there is IP address > clash on the local network. I suggest we just change the code in question to > ignore clashes over 0.0.0.0 address only. No, don't do that, anyone arping 0.0.0.0 on any network around here I sure as heck want to know about it asap! Someone someplace on that stupid telco's DSL bridged network is mis-configured and sending out arp messages for the 0 addresses. Easy enough to cause though: ifconfig xx0 0.0.0.0 up should do the trick... > On 07-Apr-00 Donn Miller wrote: > > Since I started using a cable modem and dhclient, my system has been > > literally overwhelmed with messages like: > > > > /kernel: arp: xx:xx:xx:xx:xx:xx is using my IP address 0.0.0.0! > > > > Man, these messages were pouring out of syslogd like mad, and my > > /var/log/messages* files had to be deleted, because they were growing > > so huge. There were literally hundreds of these messages pouring out > > via syslogd per second, and they were coming non-stop. There were so > > many messages coming out, my hard drive was overwhelmed until dhclient > > finally obtain/ed a lease. That said, I suggest we make the following > > patch to /sys/netinet/if_ether.c: > > > > --- if_ether.c.orig Wed Mar 29 02:50:39 2000 > > +++ if_ether.c Fri Apr 7 11:24:54 2000 > > @@ -554,9 +554,9 @@ > > return; > > } > > if (isaddr.s_addr == myaddr.s_addr) { > > - log(LOG_ERR, > > + /* log(LOG_ERR, > > "arp: %6D is using my IP address %s!\n", > > - ea->arp_sha, ":", inet_ntoa(isaddr)); > > + ea->arp_sha, ":", inet_ntoa(isaddr)); */ > > itaddr = myaddr; > > goto reply; > > } > > > > > > - Donn > > ---------------------------------- > E-Mail: Alexander N. Kabaev > Date: 07-Apr-00 > Time: 11:49:33 > ---------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message