Age | Commit message (Collapse) | Author |
|
macro-build a replacement for sccsid, and was done without any concern
for namespace damage. Unfortunately this practice started infecting
other code as others were unaware they didn't need the file.
ok millert guenther
|
|
functions that take "char *" arguments. Where such chars are
assigned to int or passed to ctype functions, explicitly cast them
to unsigned char.
For OpenBSD's clang, -Wpointer-sign has been disabled by default,
but when the parse.y code was built elsewhere, the compiler would
complain.
With help from millert@
ok benno@ deraadt@
|
|
(::). A short survey suggests that some systems respond with a
multicast router advertisement and other don't.
Andrew Forgue pointed out a usecase for this, booting a UEFI system
over http in an IPv6 network only. ("IPv6 support for UEFI IPv6
booting" on bugs@ a long time ago)
There is also no downside in allowing this, any host on the layer 2
network can solicit a router advertisement.
OK phessler
|
|
ok florian@
|
|
ok florian@
|
|
Pointed out by deraadt
|
|
ok claudio
|
|
This is not an api that seems to have caught on (especially the
AF_INET6 variant), maybe we can get rid of it entirely.
It is not difficult to hand-roll the AF_INET6 variant.
OK tb
|
|
Follows claudio's lead in ospfd et al.
Problem reported by mortimer.
|
|
elsewhere and unbreaks -fno-common.
Inspired by claudio
Problem reported by mortimer
|
|
Problem reported by mortimer
|
|
|
|
before accessing anything in ifa_addr. florian@ mentioned this might
be a problem in slaacd(8) and rad(8) after claudio@ fixed it in bgpd,
so i went looking...
ok claudio@
|
|
|
|
work in slaacd.
Suggested / requested by tb who showed me previous work by reyk which
unfortunately predated my work in slaacd and followed a different
pattern to that done in slaacd.
Testing & OK tb
|
|
Problem noted by & OK tb
|
|
As a result *ra_rdnss and *ra_dnssl are not used any more, and can be removed.
While here remove spurious space.
OK florian@, millert@
|
|
address
OK sthen@ florian@ benno@
|
|
configuration file.", but occasionally something else fit better; at the
same time, try to make the format for FILES more consistent;
original diff from clematis
|
|
4861. No binary change.
While here consistently use #define<tab> instead of #define<space>.
|
|
manual pages that document the corresponding configuration files;
OK jmc@, and general direction discussed with many
|
|
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@
|