FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 07-07-2008, 12:48 AM
Ben Hutchings
 
Default Bug#431066: install network/ip-up.d script to check for IP duplicates

On Sun, Jul 06, 2008 at 08:03:13PM +0200, Marco d'Itri wrote:
> On Jun 29, Robert Millan <robert.millan@ackstorm.es> wrote:
>
> > Note that duplicate IPs can be very harmful and even cause loss of data. For
> Come on, how often this happens? And it's disabled by default anyway.
> The major effect of this patch is to waste time on almost every system
> every time *any* interface is raised.

And DHCP clients should double-check their assigned address with ARP
anyway, so it's duplicating this check on most systems.

> It's concerning that more and more packages are adding useless scripts
> to the if-*.d directories, apparently without thinking about the
> consequences for firewalls with a large number of interfaces.

Seems like this script really belongs in the examples directory.

Ben.

--
Ben Hutchings
Design a system any fool can use, and only a fool will want to use it.
 
Old 07-07-2008, 08:33 AM
"Javier Fernandez-Sanguino"
 
Default Bug#431066: install network/ip-up.d script to check for IP duplicates

2008/7/6 Marco d'Itri <md@linux.it>:
> On Jun 29, Robert Millan <robert.millan@ackstorm.es> wrote:
>
>> Note that duplicate IPs can be very harmful and even cause loss of data. For
> Come on, how often this happens? And it's disabled by default anyway.
> The major effect of this patch is to waste time on almost every system
> every time *any* interface is raised.
> It's concerning that more and more packages are adding useless scripts
> to the if-*.d directories, apparently without thinking about the
> consequences for firewalls with a large number of interfaces.

There is already a script for this in the 'ifupdown-extra' package,
together with additional functionality. See
http://packages.debian.org/sid/ifupdown-extra. Please take a look at
how it's implemented in that package and contribute it there instead
of in the 'ifupdown' package.

I agree with Marco in that this shouldn't be added to all systems but
only to those that have that requirement as this adds additional
requirements to a base package. Thus, it should reside in the
ifupdown-extra package instead.

Regards

Javier


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-07-2008, 09:28 AM
Bernd Eckenfels
 
Default Bug#431066: install network/ip-up.d script to check for IP duplicates

In article <20080707004823.GZ7253@decadentplace.org.uk> you wrote:
> Seems like this script really belongs in the examples directory.

IMHO it is an RFC requirement, however the solution with a synchronous
script is not that well suited for default-on.

Gruss
Bernd


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-07-2008, 01:49 PM
Bernd Eckenfels
 
Default Bug#431066: install network/ip-up.d script to check for IP duplicates

In article <20080707112318.GB22695@wavehammer.waldi.eu.org> you wrote:
> Can you please stat which RFC? Especially as there are many setups where
> it can't check if an address is already used.

Well, it is SHOULD for DHCP RFC2131 clients (and icmp from server), for Link
Level Autoconfiguration (in IPV4 RFC3927 and IPV6 RFC2462).

But I searched for it, and it is indeed not a host requirement (although
even Solaris' is doing gratious arp at least).

Gruss
Bernd


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-07-2008, 09:14 PM
Ben Hutchings
 
Default Bug#431066: install network/ip-up.d script to check for IP duplicates

On Mon, Jul 07, 2008 at 01:20:47PM +0200, Bastian Blank wrote:
> On Mon, Jul 07, 2008 at 01:48:23AM +0100, Ben Hutchings wrote:
> > On Sun, Jul 06, 2008 at 08:03:13PM +0200, Marco d'Itri wrote:
> > > On Jun 29, Robert Millan <robert.millan@ackstorm.es> wrote:
> > > Come on, how often this happens? And it's disabled by default anyway.
> > > The major effect of this patch is to waste time on almost every system
> > > every time *any* interface is raised.
> > And DHCP clients should double-check their assigned address with ARP
> > anyway, so it's duplicating this check on most systems.
>
> Where is this specified? The DHCP server is authorative about the
> addresses it assigns.

RFC 2131, end of section 2.2.

Ben.

--
Ben Hutchings
Unix is many things to many people,
but it's never been everything to anybody.
 
Old 07-09-2008, 01:31 AM
Bernd Eckenfels
 
Default Bug#431066: install network/ip-up.d script to check for IP duplicates

In article <20080708223926.GC22494@country.nixsys.be> you wrote:
>> IMHO it is an RFC requirement, however the solution with a synchronous
>
> Eh, that does not parse. Either it is a matter of opinion, or it is a
> matter of standard. Please pick one, not both; they are incompatible.

s/IMHO/AFAIK/ - but see my other posting.

Gruss
Bernd


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 03:21 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org