From owner-freebsd-current Fri Apr 7 12:25:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.wrs.com (unknown-1-11.wrs.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 382EA37C05A for ; Fri, 7 Apr 2000 12:25:09 -0700 (PDT) (envelope-from davidhol@windriver.com) Received: from papermill.wrs.com (papermill [147.11.48.34]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id MAA10921; Fri, 7 Apr 2000 12:24:56 -0700 (PDT) Received: from papermill (localhost [127.0.0.1]) by papermill.wrs.com (8.9.1/8.9.0) with ESMTP id MAA00849; Fri, 7 Apr 2000 12:24:57 -0700 (PDT) Message-Id: <200004071924.MAA00849@papermill.wrs.com> To: Donn Miller Cc: freebsd-current@freebsd.org From: David Holloway Subject: Re: Overwhelming messages from /sys/netinet/if_ether.c In-reply-to: Your message of "Fri, 07 Apr 2000 11:39:09 EDT." <38EE011D.B81BA63C@cvzoom.net> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Date: Fri, 07 Apr 2000 12:24:57 -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have seen that situation before as well and there may be more slight tolerance-style improvements that could be made but I can't think of any at the moment. In message <38EE011D.B81BA63C@cvzoom.net>, Donn Miller writes: >This is a multi-part message in MIME format. >--------------ABD696746D33D54680111FE2 >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit > >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 >--------------ABD696746D33D54680111FE2 >Content-Type: text/plain; charset=us-ascii; > name="if_ether.diff" >Content-Transfer-Encoding: 7bit >Content-Disposition: inline; > filename="if_ether.diff" > >--- 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; > } > >--------------ABD696746D33D54680111FE2-- > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message