opnsense-src/usr.sbin/rtsold
Franco Fichtner a051b9a40a rtsold: check RA lifetime before triggering the one-shot always script
Historic context: rtsold is used by *sense to get a router address which
wasn't originally the daemon's purpose.  We only ever get the first address
per interface lifetime so if the RA contains an invalid router with a zero
lifetime and we catch it we cannot get a valid one ever again.

This is suboptimal in a number of ways, but the obvious way to deal with
this is to ignore all RA messages from routers that do not advertise a
default route.

PR: https://github.com/opnsense/core/issues/9551
2025-12-22 22:09:23 +01:00
..
cap_llflags.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
cap_script.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
cap_sendmsg.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
dump.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
if.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rtsock.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
rtsol.c rtsold: check RA lifetime before triggering the one-shot always script 2025-12-22 22:09:23 +01:00
rtsold.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
rtsold.c rtsold: Further usage message updates 2025-01-28 16:00:34 +00:00
rtsold.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00