[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 00653) SO_BINDTODEVICE functionality removed?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Yesterday I tried to upgrade one of my routers to the latest USAGI snap
from the now-old stable release.  Unfortunately, ISC dhcpd would not run
on the new kernel, and I traced the problem to a change made in the USAGI
source around April 30, in which the SO_BINDTODEVICE functionality was
removed from ipv4/udp.c.  This mechansism allowed a program to bind
sockets to a specific device rather than a specific address, and is
required for dhcpd to service multiple interfaces.

Why was this change made?  I suspect it was done to simplify the new bind
semantics, but it is a critical piece of functionality for a critical
piece of software.  Would it be possible to add this back, maybe as a
compile-time option, so that I can run a USAGI kernel again?  Right now
I'm using vanilla 2.4.7.

An alternative solution would be to implement full NAPT-PT for Linux to
allow us to run an IPv6-only network, but I believe the first request
would be easier.  :-)  -Nathan

- -- 
+-------------------+---------------------+------------------------+
| Nathan Lutchansky | lutchann@xxxxxxxxxx |  Lithium Technologies  |
+------------------------------------------------------------------+
|  I dread success.  To have succeeded is to have finished one's   |
|  business on earth...  I like a state of continual becoming,     |
|  with a goal in front and not behind. - George Bernard Shaw      |
+------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQE7YtvBTviDkW8mhycRArt0AJ49Bk2UIbzqnQb7A8rwaQJt+eS/mQCdGm9V
4UtsAJYt6w7rI1fTudkjibg=
=nG8Z
-----END PGP SIGNATURE-----