[quagga-dev 11528] Re: [PATCH] pimd merge

Everton Marques everton.marques at gmail.com
Wed Sep 24 21:22:18 BST 2014


On Tue, Sep 23, 2014 at 10:57 AM, Christian Franke <
chris at opensourcerouting.org> wrote:

> On 09/22/2014 09:43 PM, Everton Marques wrote:
> > On Mon, Sep 22, 2014 at 1:56 PM, Christian Franke <nobody at nowhere.ws>
> wrote:
> >> On a high level, it seems to me that an application using this won't
> >> notice if an interface has been removed while it was disconnected from
> >> zebra.
> >>
> > Sorry, I don't quite follow.
>
> Assume there is a VPN running with an interface tap0.
>
> A Zebra client, will learn from zebra that there is an interface tap0
> and that it is up.
>
> Now, assume that the Zebra client gets disconnected and after that, the
> VPN is stopped, so tap0 goes away. After that, the client reconnects.
>
> Now, let's look at the interface/address database of the Zebra client.
> If the client does an if_lookup_by_name("tun0"), it will still get an
> interface object and if_is_up() will still claim that this interface is up.
>
> Imho, this is not necessarily something that has to be addressed now,
> since exact details are currently application specific anyway, but it is
> something that should be kept in mind.


Thanks for the clarification.
So the point is, the change does not help a daemon to detect a interface
has gone.
As a note, I can confirm this is not a major issue for pimd specifically
because this daemon only cares about interfaces with assigned addresses.
For pimd, clearing the addresses (kind of) marks the interface as "to be
ignored".

Everton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20140924/27b176a1/attachment-0001.html>


More information about the Quagga-dev mailing list