Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2000 11:52:04 -0400 (EDT)
From:      "Alexander N. Kabaev" <ak03@gte.com>
To:        Donn Miller <dmmiller@cvzoom.net>
Cc:        current@FreeBSD.ORG
Subject:   RE: Overwhelming messages from /sys/netinet/if_ether.c
Message-ID:  <XFMail.000407115204.ak03@gte.com>
In-Reply-To: <38EE011D.B81BA63C@cvzoom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ak03@gte.com>
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




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