Re: run-hooks being spawned every time router advertisement is received (every 5 seconds)
Roy Marples
Fri Apr 20 16:42:45 2018
On 19/04/2018 03:18, Roy Marples wrote:
Strictly speaking, a 1 second DHCP lease is also permissable and no-one
has ever said that dhcpcd shouldn't run a hook each time it renews.
But as you're in the mood to argue RFC's, please RFC 7772 which solves
the problem you're describing:
https://tools.ietf.org/html/rfc7772#section-4
https://tools.ietf.org/html/rfc7772#section-5
The most telling line in that RFC is this:
the average power budget for
receiving RAs must be no more than 0.1 mA, or approximately 7 RAs
per hour.
As I'm also a NetBSD developer and run NetBSD on my router I checked our
rtadvd implementation. Sadly it's lacking in that RFC and is quite
spammy when flooded with Router Solicitations.
I've now updated it so it's in compliance with RFC 7772 so it keeps
multicasts down to a minimum and unicasts replies to router solicitations.
I've also updated in with RFC 8319 which increases the allowed time
intervals.
Roy
Archive administrator: postmaster@marples.name