Age | Commit message (Collapse) | Author |
|
"looks good" gilles@ halex@
|
|
socket. The check on the control socket happens early so that the rc
scripts detect a failure.
OK claudio@ florian@
|
|
|
|
to not receive all route messages, thus saving cpu time.
wording as suggested by jmc@
ok remi@ jmc@ claudio@
|
|
ok kn@ tb@ deraadt@ sthen@ jca@
|
|
ok friehm@ jca@
|
|
out of memory log_warn(). i.e. ("%s", __func__) instead of manual
function names and redundant verbiage about which wrapper detected the
out of memory condition.
ok henning@
|
|
exists in the same network, the routes are distinguished by their gateway
address, which is the associated interface address.
The ospfd has to track the gateway addresses so that kroute_matchgw() is able to
find the correct routes.
OK claudio@
|
|
but only when -v is used.
ok jca@ claudio@
|
|
calloc or strdup), we just need to log that we ran out of memory in a
particular function.
Recommended by florian@ and deraadt@
ok benno@ henning@ tb@
|
|
running out of memory.
Next step, be correct *and* consistent.
ok dennis@ tb@ benno@ schwarze@
|
|
This allows ospfd to recover automatically when an ip address gets
removed and re-added as it happens when the netstart script is executed
on a running system.
previous attempt discussed with friehm@ last year
input from sthen@ and jca@
OK jca@
|
|
use a more general text for the sections, and avoid the catchup issue
that was trying to document how many there were;
ok benno rob
|
|
Thanks to otto@ for the initial diff.
OK benno@
|
|
ok benno@
|
|
in packet loss on busy and big networks and therefor to instability.
Also adjust the SO_SNDBUF to real 64k just for consistency.
From camiel@
|
|
a state of 2-Way or higher. There is no need to trigger the event for new
neighbors. With this situations with multiple DRs after a netsplit should
be solved.
OK sthen@ and remi@
|
|
need to see routes with a higher priority (lower value) than ospfds
own routes.
ok claudio, ok henning previous version, feedback from sthen
|
|
ok remi@ benno@
|
|
the dr or bdr fields so clear them first.
|
|
the desync cases. OK benno@
|
|
|
|
on the status of another interface.
in collaboration with benno@ jca@
OK benno@ jca@
|
|
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.
|