> On Oct 14, 2024, at 00:39, Mike Fischer <fischer+obsd@lavielle.com> wrote:
>>
>>
>> Obviously, polling is an option, but I'd rather be notified by the kernel when I need to.
>
> I think the suggestion made by Florian Obser earlier in this thread makes a lot of sense.
>
> And if you want to get away from scripting and directly interface with the notifications, the source code of the route(8) command would probably be a good place to look for how this is done.
> https://cvsweb.openbsd.org/src/sbin/route/
>
>
> I'd be interested in what you come up with.
Thank you. And thank you Florian. I will need to look at that more, and
if I want to do something more complicated/intricate, I'll look into route.
(Portability is hard. OpenBSD has "route -n monitor -inet6", FreeBSD
has "route -6 -n monitor". :-/ )
- Chris
No comments:
Post a Comment