From owner-freebsd-current Fri Apr 7 8:52:10 2000 Delivered-To: freebsd-current@freebsd.org Received: from h132-197-97-45.gte.com (h132-197-97-45.gte.com [132.197.97.45]) by hub.freebsd.org (Postfix) with ESMTP id A6F7537B574 for ; Fri, 7 Apr 2000 08:52:07 -0700 (PDT) (envelope-from ak03@gte.com) Received: (from ak03@localhost) by h132-197-97-45.gte.com (8.9.3/8.9.3) id LAA68160; Fri, 7 Apr 2000 11:52:05 -0400 (EDT) (envelope-from ak03) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <38EE011D.B81BA63C@cvzoom.net> Date: Fri, 07 Apr 2000 11:52:04 -0400 (EDT) Organization: GTE Laboratories Inc. From: "Alexander N. Kabaev" To: Donn Miller Subject: RE: Overwhelming messages from /sys/netinet/if_ether.c Cc: current@FreeBSD.ORG 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. 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