No RTM_NEWADDR message generated when adding IPv6 addresses to a tun interface

Michael Tuexen Michael.Tuexen at lurchi.franken.de
Fri May 29 13:40:38 UTC 2015


> On 29 May 2015, at 01:12, Michael Tuexen <Michael.Tuexen at lurchi.franken.de> wrote:
> 
> Dear all,
> 
> I'm using a tun interface with the IFF_BROADCAST | IFF_MULTICAST mode.
> I can use ifconfig to add an IPv4 or IPv6 address. So far so good.
> 
> I'm running a program which gets all messages from a routing socket.
> When I'm adding an IPv4 address to the tun interfaces, I receive
> a RTM_NEWADDR routing message with the added address. However, I
> do NOT receive one, when I'm adding an IPv6 address.
> When deleting an IPv4 or IPv6 address, I do receive the corresponding
> RTM_DELADDR message.
> 
> Does anyone know why I'm not receiving the RTM_NEWADDR when adding
> an IPv6 address to a tun interface?
> 
> If it matters, the above is tested on head...
Just for the records:

The issue was fixed in
https://svnweb.freebsd.org/changeset/base/283696

Best regards
Michael
> 
> Best regards
> Michael
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> 



More information about the freebsd-net mailing list