bug-hurd
[Top][All Lists]
Advanced

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

Re: Two Questions


From: Hisham Kotry
Subject: Re: Two Questions
Date: Wed, 8 Sep 2004 06:49:21 -0700 (PDT)

--- Marco Gerards <metgerards@student.han.nl> wrote:

> "Alfred M. Szmidt" <ams@kemisten.nu> writes:
> 
> >    Q2 Have the networking issues regarding DHCP been resolved?
> >
> > No.  Nobody is working on this.
> 
> I worked on this.  I just have to start hacking again.  Perhaps when
> I
> am less busy with school and GRUB.
> 
> What I did now is putting the netlink code of linux in pfinet.  That
> makes it possible to do stuff like setting up routes, etc.  I just
> have to test if it works and clean up my code.

Adding netlink support to pfinet won't contribute much, iproute2 (the
only major package afaik that uses netlink) is a bit too dependent on
the linux kernel's header files, even where you to fix the dependencies
and other minor issues, adding routes wont allow dhcp to work. As I
previously told you[0], dhcp needs to forward packets with an address
of INADDR_NONE wich can't happen unless the socket tells pfinet wich
interface to use, ISC dhcp does that on linux-2.0[1] (even in the
single interface case) using the SO_BINDTODEVICE sockopt, you need
pfinet to process that option otherwise packets from sockets without a
bound device will be dropped in ip_route_output_slow().

Cheers,
Kotry

[0] http://lists.gnu.org/archive/html/help-hurd/2003-10/msg00016.html
[1] http://www.isc.org/sw/dhcp/v2-readme.php#5.1.6

> --
> Marco
> 
> 
> 
> _______________________________________________
> Bug-hurd mailing list
> Bug-hurd@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-hurd
> 



                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]