#377066 Wrong detection of IP aliased interfaces

#377066#5
Date:
2006-07-06 13:38:46 UTC
From:
To:
Package: dhcp3-server
Version: 3.0.1-2
Severity: normal

Hello,

There is a problem with dhcp3-server when used on IP aliased interfaces.

If one of the aliased interface is named with two semi colon (e. g.
eth1:hello:0), the interface name is detected uncorrectly.

After a quick look into the code, this is probably caused by come code in
common/discover.c, somewhat like:

around line 379:

sep = strrchr (buffer, ':');
if (sep)
  *sep = '\0';


or around line 230:

#ifdef ALIAS_NAMES_PERMUTED
if ((s = strrchr (ifp -> ifr_name, ':'))) {
	*s = 0;
}
#endif

Not sure which one is used first.

Note: This happened on a stable machine, but I look the code from unstable
(3.0.4-6). But I think it's the same.

Cheers,

#377066#8
Date:
2008-01-14 21:34:34 UTC
From:
To:
Hello,

This bug was reported by a fellow Debian developer some time ago.

Please maintain the Cc line in any correspondence, so that our bug tracking
system may be kept in the loop.

regards

Andrew
----- Forwarded message from Julien Danjou <acid@debian.org> ----- From: Julien Danjou <acid@debian.org> To: Debian Bug Tracking System <submit@bugs.debian.org> Subject: Bug#377066: Wrong detection of IP aliased interfaces Date: Thu, 6 Jul 2006 15:38:46 +0200 User-Agent: Mutt/1.5.11+cvs20060403 Package: dhcp3-server Version: 3.0.1-2 Severity: normal Hello, There is a problem with dhcp3-server when used on IP aliased interfaces. If one of the aliased interface is named with two semi colon (e. g. eth1:hello:0), the interface name is detected uncorrectly. After a quick look into the code, this is probably caused by come code in common/discover.c, somewhat like: around line 379: sep = strrchr (buffer, ':'); if (sep) *sep = '\0'; or around line 230: #ifdef ALIAS_NAMES_PERMUTED if ((s = strrchr (ifp -> ifr_name, ':'))) { *s = 0; } #endif Not sure which one is used first. Note: This happened on a stable machine, but I look the code from unstable (3.0.4-6). But I think it's the same. Cheers, -- Julien Danjou // Λ̊ <julien@danjou.info> http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // Trust me.
----- End forwarded message -----
#377066#19
Date:
2026-08-05 17:31:09 UTC
From:
To:
Dear submitter,

as the package isc-dhcp has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1143544

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)