Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2000 11:39:09 -0400
From:      Donn Miller <dmmiller@cvzoom.net>
To:        current@freebsd.org
Subject:   Overwhelming messages from /sys/netinet/if_ether.c
Message-ID:  <38EE011D.B81BA63C@cvzoom.net>

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




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