netdev
[Top] [All Lists]

Re: Restrict local IP announcements in ARP requests

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: Restrict local IP announcements in ARP requests
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Mon, 9 Feb 2004 14:08:53 -0800
Cc: netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0402081149001.6268@u.domain.uli>
References: <Pine.LNX.4.58.0402081149001.6268@u.domain.uli>
Sender: netdev-bounce@xxxxxxxxxxx
On Sun, 8 Feb 2004 11:59:35 +0200 (EET)
Julian Anastasov <ja@xxxxxx> wrote:

>       I'm proposing simple flag that controls the src selection
> in our ARP requests. I named it arp_announce - mode used to define
> different restriction levels for announcing the local source address
> from IP packets in ARP requests:

I'm fine with this patch, although it appears incomplete because:

> 2 - always use the best source address for this target

The code handling this case is "#if 0/#endif" commented out in your
patch.

Finish this thing up, and as a birthday present to everyone I'll also
add an IN_DEV_ARP_IGNORE flag for inet devices to so people can control
complete ARP ignoring via a global/per-device sysctl.

Hopefully, combined, this will get all the virtual server maniacs off
of my back :-)

<Prev in Thread] Current Thread [Next in Thread>