Age | Commit message (Collapse) | Author |
|
improvement from jmc@
ok phessler@ jca@ benno@ for previous version
ok jmc@
|
|
Use the macro from route(8) / ospf6d(8) since it works also with argument 0.
OK claudio@
|
|
warn with the same severity. Switch log_warn() to LOG_ERR and keep
fatal() at LOG_CRIT.
OK reyk@ florian@
|
|
there is still a little difference regarding handling of the verbosity
value that will be handled later.
ok claudio@
|
|
ok claudio
|
|
Discussed with claudio@
|
|
TAILQ_FOREACH().
No intentional functional change.
ok reyk@
|
|
modern TAILQ_FOREACH_SAFE().
No intentional functional change.
ok millert@ bluhm@ gilles@
|
|
with more modern TAILQ_FOREACH(). This what symget() was already
doing.
Add paranoia '{}' around body of symget()'s TAILQ_FOREACH().
No intentional functional change.
ok bluhm@ otto@
|
|
ok claudio@
|
|
|
|
ok claudio@
|
|
Helps recovering from MTU mismatches. Prompted by a diff from Remi
Locherer, ok claudio@
|
|
From Remi Locherer, ok claudio
|
|
|
|
stealing code.
|
|
On shutdown, there's no need to use kill(2) to kill the child
processes. Just closing the IPC sockets will make the children receive
an EOF, break out from the event loop and then exit.
Tha advantages of this "pipe teardown" are:
* simpler code;
* no need to pledge "proc" in the parent process;
* removal of a (hard to trigger) PID reuse race condition.
ok benno@ claudio@
|
|
move daemon-local functions into new logmsg.c, and reduce
the (mostly whitespace) differences so that log.c's can be diffed easily.
ok claudio@, feedback from henning@, deraadt@, reyk@
|
|
move daemon-local functions into new logmsg.c, and reduce
the (mostly whitespace) differences so that log.c's can be diffed easily.
ok claudio@, feedback from henning@, deraadt@, reyk@
|
|
change this in all config parsers in our tree that support macros.
problem reported by sven falempin.
feedback from henning@, stsp@, deraadt@
ok florian@ mikeb@
|
|
warning in rde.c
ok stsp@
|
|
from markus@; OK claudio@
|
|
titles (including flags) to distinguish between daemons, this makes it
possible to manage multiple copies of a daemon using the normal infrastructure
by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@
|
|
around to make it possible. Parent can't be pledged at the moment because
of carp ioctl (carp demote). Putting it in so that people can test.
OK benno@
|
|
This is in the way for ospfd pledge so in it goes. OK benno@
|
|
This seems to solve the last issues people reported when using ospfd
in multiple areas. OK sthen@ prodding by deraadt@
|
|
route messages that are not from us.
|
|
|
|
And some ifmedia64 fixes.
"move forward" deraadt@
|
|
ok jmc@
|
|
imsg_init() exposed by the second part of this diff which makes
carp(4) interfaces be recognized to be in "backup" mode on start-up.
Problem analyzed and fix provided by Johan Ymerson, thanks!
ok claudio@, mpi@
|
|
Properly handle carp(4) interfaces in "backup" mode on start-up.
Problem analyzed and fix provided by Johan Ymerson, thanks!
ok claudio@, benno@
it breaks on systems without carp because iev_ospfe is not initiallized
at the time kif_init() is called in main.
|
|
Problem analyzed and fix provided by Johan Ymerson, thanks!
ok claudio@, benno@
|
|
With this the ospfd fib and the kernel routing table are better in sync.
|
|
ok claudio@
|
|
neighbors that are part of that interface or we open us up to use after
free situations like the one found by sthen@.
Diff makes sense sthen@
|
|
to know which neighbor caused the problems. While there make sure that all
messages log roughly in the same way.
|
|
|
|
are less then sizeof(*rtm) bytes long (e.g. interface announcements).
Found the hard way by phessler@
|
|
|
|
socket non-blocking. Introduce the same trigger for partial rt msgs.
|
|
ensures that a LSA withdrawal is not acked by a previous update.
From Florian Riehm; OK claudio@
|
|
static. noticed by florian riehm
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
|
|
Fixes a pfctl crash with an anchor name containing
an embedded nul found with the afl fuzzer.
pfctl parse.y patch from and ok deraadt@
|
|
ok deraadt@ millert@ tedu@
|
|
format string, create a temporary message.
OK deraadt@ claudio@
|
|
Fix a few yyerror() lines that are missing arguments.
ok claudio@ sthen@
|
|
ok millert@
|