Age | Commit message (Collapse) | Author |
|
or they will have no effect.
OK denis@
|
|
No functional change.
Suggested and OK claudio@
|
|
tested by Kapetanakis Giannis
ok claudio@
|
|
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@
|
|
input & OK claudio@
|
|
the destination is 224.0.0.5 (AllSPFRouters).
RFC 2328 sys in "9.5. Sending Hello packets" that hello packets are
sent to the multicast address AllSPFRouters on broadcast and physical
point-to-point networks.
With this new check the test for AllDRouters is not needed anymore.
ok benno@
|
|
of a planned change or something bad is happening in the network.
ok benno@
|
|
OK claudio@
|
|
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.
|
|
|
|
reminded by and ok remi@
|
|
ok remi@ (who did the same change to ospfctl, ospf6d, and ospf6ctl)
ok denis@
some grumbling from sthen@ and bluhm@ who didn't want output changed.
|
|
OK remi@
|
|
the daemon wouldn't notice state changes for those interfaces.
ok benno@
|
|
|
|
of P2P interfaces "stub net" LS.
This is related to revision 1.77 of rde_spf.c.
Problem reported by Mitchll Krome on tech@.
ok benno@
|
|
instead of IF_STA_POINTTOPOINT. This makes "passive" work on P2P
interfaces. Also add the "depend on" logic.
Bug reported by stsp@
ok stsp@ benno@
|
|
be set to the subnet's IP address and not the interface address.
Bug report and fix from Mitchell Krome.
OK claudio@
|
|
Shorten it to better match the style of other log messages.
ok jca@
|
|
Additional code would be needed to support actually changing the
router-id at runtime; for now be consistent and reject the new
configuration to avoid users a "wtf" moment.
From Mitchell Krome, input from benno@ and deraadt@, ok benno@
|
|
larger types really is a range reduction...
Almost any cast to (unsigned) is a bug.
ok millert tb benno
|
|
overwrite this when using "redistribute X set type 2 depend on ifX" and ifX
is down.
Problem reported for ospfd by Igor Podlesny.
ok benno@
|
|
OK millert, deraadt, job
|
|
OK claudio@
|
|
inserts into the kernel routing table.
OK claudio@
|
|
(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@
|
|
Unveil "/" readonly and allow to cleanup the control socket on exit.
Just unveiling ospfd.conf is not possible since it can contain an arbitrary
number of includes.
ok benno@
|
|
|
|
"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@
|
|
|