[radvd-devel-l] radvd on dynamically created interfaces

Nathan Lutchansky radvd-devel-l@litech.org
Mon, 8 Apr 2002 15:37:37 -0400 (EDT)


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

On Mon, 8 Apr 2002, Vincent Jardin wrote:

> > Proposed solution:
> >
> > - New configuration directive that allows interfaces to be marked
> > "optional", meaning that if they are not present on radvd startup, they
> > will be ignored.
> >
> > - Errors from sendmsg() that indicate that an interface has been disabled
> > cause radvd to discontinue advertising to that interface.
> >
> > These changes will allow you to list all your ppp interfaces in
> > radvd.conf, and radvd will only advertise to interfaces that are up.
> > Whenever a new ppp session begins, you will need to SIGHUP radvd (probably
> > from /etc/ppp/if-up or whatever) to tell it to rescan the interfaces.
> 
> radvd could listen on one of the following Kernel's messages:
>
>  Linux:: - RTM_NEWLINK when an interface is added
>            - RTM_DELLINK., otherwise
>              (Netlink's API)

Yeah, I've been meaning to add Netlink support for quite some time now,
but unfortunately the API is too cryptic for me to figure out.  If
somebody would like to contribute it, we would certainly accept it, but
it's not something I'm actively working on.  -Nathan

- -- 
+-------------------+---------------------+------------------------+
| Nathan Lutchansky | lutchann@litech.org |  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/

iD8DBQE8sfGHTviDkW8mhycRAvAYAKCjOZfIQdvehTqB4+cuDywMPstKDACfWdq1
NQIYqgedne4WgLW9xZDaNY4=
=dyzP
-----END PGP SIGNATURE-----