04.05.2020, 07:23, "Guy Yur" <[email protected]>:
> Hi,
>
> ------ Original Message ------
> From: "Alexander V. Chernikov" <[email protected]>
> To: "Steffen Christgau" <[email protected]>; "[email protected]"
> <[email protected]>
> Sent: 2020-05-03 11:42:07
> Subject: Re: Notification about tentative IPv6 address from route socket
>
>> 30.04.2020, 17:40, "Steffen Christgau" <[email protected]>:
>>>   Hi everybody,
>> Hi Steffen,
>>> ...
>>>
>>>   1) Is there a way to get notified about the address being available for
>>>   usage (i.e. not tentative anymore, not duplicated) without _polling_ via
>> Not that I'm aware of :-(
>>> ...
>>>
>>>   2) I know FreeBSD is not Linux, but on Linux with netlink sockets I get
>>>   notified about a) the address appearing (including flags) and b) some
>>>   time later the address being not tentative anymore (detectable via
>>>   flags). I wonder why the route socket on FreeBSD reports an address that
>>>   is currently hardly to use. On the other hand, I understand that
>>>   RTM_NEWADDR does exactly what is documented, i.e. to notify about an
>>>   "address being added to iface". Nevertheless, wouldn't it make sense to
>>>   tell an application that a change for an address takes place? I couldn't
>>>   observe such a behavior for IPv6 on FreeBSD. If there is currently no
>>>   really such notification, the kernel could emit a new message like
>>>   RTM_ADDRCHANGE or it may repeats the emission of RTM_NEWADDR (which
>> It makes total sense. I have plans to update some rtsock internals and will 
>> take a look at this one.
>> Thank you for your suggestion!
>
> There is a phabricator differential written by Roy Marples that does
> this:
> https://reviews.freebsd.org/D5469
Wow! Thank you for the pointing me to this review. Will look&test in a day or 
two.
>
> Regards,
> Guy
>
>>>   ...
>>>
>>>   Regards, Steffen
>>>   _______________________________________________
>>> [email protected] mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>>>   To unsubscribe, send any mail to "[email protected]"
>> _______________________________________________
>> [email protected] mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "[email protected]"
>
> _______________________________________________
> [email protected] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "[email protected]"
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to