lkml.org 
[lkml]   [2000]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] 2.4 version of my duplicate IP and MAC detection patch
On Sat, Sep 23, 2000 at 02:02:24PM +0000, Julian Anastasov wrote:
> > I didn't receive any negative comments, except for Alexey who believed the
> > check should be done in user space.
>
> Now you receive another negative comment, for the 2.2 version :)

Thanks for the feedback, it is appreciated.

> Currently, in Linux 2.2 there is a device flag "hidden" which
> is based on this statement: many host can configure same IP address
> but it is assumed that only one is advertised. Your patch now will

Yes, I know LVS and arp_invisible, later renamed arp_hidden

> print messages for all these hidden addresses. They are not advertised
> and there is no problem caused from duplication.

I thought about that, but isn't the shared IP just an IP alias and not the
primary IP? As far as I know, the machines which share the IP have a primary
IP and put that one in their ARP packets, so my patch should not complain.

That said, adding a flag that lets you disable the duplicate IP detection on
an interface basis wouldn't be a bad idea, I'll look into this.

> - sip=127.0.0.0/8, this address is shared but we "assume" it is not
> advertised from the neighbours

Are you saying that some machines would ARP with a source IP of localhost?
That'd be pretty broken, wouldn't it? Or you talking about a kind of DOS
that would trigger warnings on all the machines?
(the dupe check could ignore that)

> - you work with ifa_address and not with ifa_local and ifa_mask.

I'll look into this too.

Thanks for your feedback.
Marc
--
Microsoft is to software what McDonalds is to gourmet cooking

Home page: http://marc.merlins.org/ (friendly to non IE browsers)
Finger marc_f@merlins.org for PGP key and other contact information
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.039 / U:5.316 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site