Age | Commit message (Collapse) | Author |
|
error prone than manually editing rc.conf.local, and also works to
enable ipsec and accounting.
tweak from schwarze@ to use the \(dq\(dq syntax for quotes in '.Dl
foo_flags="" lines' instead of \&"\&".
while at it, fix a reference to a bogus /dev/dhclient.conf file that
recently snuck in.
ok jmc@ deraadt@ schwarze@
|
|
|
|
Keeps log noise down on carp backup interfaces.
Reported by matthieu
Previous version OK deraadt
Input & OK benno
|
|
florian@ removed soii for link-local adresses in
sys/netinet6/in6_ifattach.c rev 1.114
ok florian@ sthen@ kn@
|
|
|
|
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
ok krw@, jsg@
|
|
Found the hard way by naddy
OK deraadt, phessler
|
|
descriptor keeps CLOEXEC flag then it will be closed unexpectedly by
exec().
ok tedu florian
|
|
This caught a missing break where the ICMPv6 socket was also used
as the route socket for a short while.
OK pamela
|
|
Only accept a new config reload if it's not currently running and
on accept a config reload end if one is currently running.
OK pamela
|
|
OK pamela
|
|
OK florian@
|
|
processing more paranoid. Call fatalx() for imsg size mismatches or
unexpected/missing imsg fd.
OK florian@
|
|
tweak and OK florian@
|
|
imsg.hdr.len to shorten and simplify code.
OK florian@
|
|
|
|
larger types really is a range reduction...
Almost any cast to (unsigned) is a bug.
ok millert tb benno
|
|
pointed out by deraadt
|
|
where the "wrong" #define was used.
ok dlg@
|
|
|
|
prefixes. That way one can have multiple prefixes configured on an
interface and set "autonomous address-configuration no" in rad.conf to
tell clients to not form addresses from some of these prefixes.
Pointed out by Ross L Richardson (openbsd AT rlr.id.au), thanks!
OK phessler
|
|
OK florian@, additional review from kn@
|
|
The underlying interface might have been destroyed or detached and
rad(8) will just cope with that.
OK florian@
|
|
When running rad(8) on top of carp(4), ifconfig carp0 -soii is a good idea.
ok florian@ jmc@
|
|
(and other lexers too)
This commit rectifies earlier change:
in the lex... even inside quotes, a \ followed by space or tab should
expand to space or tab, and a \ followed by newline should be ignored
(as a line continuation). compatible with the needs of hoststated
(which has the most strict quoted string requirements), and ifstated
(where one commonly does line continuations in strings).
OK deraadt@, OK millert@
|
|
128 was used. This does not make much sense for rad(8). Change
the default prefixlen to 64.
OK florian@
|
|
in the config parser. Add an out of bounds check for the in6_addr.
OK florian@
|
|
"looks good" gilles@ halex@
|
|
we are currently looking at. No need to fatal.
Found the hard way by naddy
|
|
be shortened by 1.
OK florian@
|
|
On the other hand it is much more powerful to get rid of cpath; rad is
no longer allowed to change anything on the filesystem.
Triggered by mestre@'s work to fix unlinking in other daemons and a
question from deraadt@
OK mestre
|
|
|
|
|
|
repeated in every interface block - they can still be overwritten
on a per interface basis.
Pointed out by, tweaks & OK sthen
|
|
|
|
engine end frontend as part of ra_iface_conf.
Spotted after explaining to bket@ that a similar pattern is not needed
for the mtu option.
|
|
- always free struct ra_iface_conf with free_ra_iface_conf()
- free_ra_iface_conf() needs to free the recently added
nameserver and search list
|
|
|
|
The MTU option is used in Router Advertisement messages to ensure that
all nodes on a link use the same MTU value in those cases where the link
MTU is not well known.
Feedback (thank you!) and OK from florian@
|
|
configure its options. Trying so lead to a crash.
Found the hard way by & OK sthen
|
|
resolv.conf(5) and dhclient(8) are using the term nameserver for many
years, there is no good reason to be different here.
Pointed out by deraadt
|
|
Pointed out by semarie@
|
|
Pointed out by semarie@
|
|
|
|
Configuration.
|
|
|
|
|
|
|
|
messages to send when an interface shows up or disappears or
and address shows up or disappears.
|