Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2000 12:24:57 -0700
From:      David Holloway <davidhol@windriver.com>
To:        Donn Miller <dmmiller@cvzoom.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Overwhelming messages from /sys/netinet/if_ether.c 
Message-ID:  <200004071924.MAA00849@papermill.wrs.com>
In-Reply-To: Your message of "Fri, 07 Apr 2000 11:39:09 EDT." <38EE011D.B81BA63C@cvzoom.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004071924.MAA00849>