Age | Commit message (Collapse) | Author |
|
fixes "redistribute rtlabel foo" without "depend on".
|
|
some alignment of the buffer which may not be the case with bss memory.
|
|
rename nconf in the ospf engine to noeconf. This fixes the last common
symbols in ospfd.
|
|
and ctl_conns are not really needed outside of control.c
|
|
Removes another -fno-common issue from the build.
|
|
a local export of iev_rde. Remove the extern in preperation of -fno-common
cleanup.
|
|
ospfd will pick the right interface to send out hello packets.
Clear the struct ip_mreqn in all cases because not all fields are
used.
OK bluhm@ phessler@
|
|
out packets. This way ospfd can work on interfaces that share the same IP.
OK dlg@
|
|
synatx element with its optional / empty element. While this is needed for
redistribute statements it causes the conflicts in the interface sections
since there the statement can not be empty (this conflicts with empty new
lines handled in optnl). Add a dependonopt for redistribute statements
and make depend on no longer optional.
Also sync the curly bracket blocks (interface, area, ...) to be like
set blocks and the blocks in bgpd. This should result in more flexible
newline handling.
Tested by sthen@, benno@, Kapetanakis Giannis
OK benno@
|
|
before accessing anything in ifa_addr.
ok claudio@
|
|
ok remi@
|
|
this fixes the use of "depend on" in my situation, which is an
Ethernet (broadcast) interface where I'm actually peering with
multiple routers so i don't have "type p2p" set. with this the ospf
peers now know how to route around my firewalls when their carp
interfaces are in the backup state.
discussed with claudio@ and jmatthew@
ok remi@
|
|
to the ospf6d counterpart.
OK remi@
|
|
further. This is in line with what other networking daemons do.
ok mestre@
|
|
for L2 and broadcast routes, since we don't need them at all.
ok kn@ remi@ dlg@
|
|
OK florian@, millert@, kn@
|
|
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
|
|
ibuf function. After the call the internal buffer may have moved by realloc()
and so the pointer is invalid. Instead use ibuf_size() to get the current
offset in the buffer and use ibuf_seek() later on to write back the updated
lsa age into the buffer at the right spot.
This fixes an issue seen by Richard Chivers on routers with many passive
interfaces.
OK stsp@ deraadt@
|
|
|
|
|
|
manual pages that document the corresponding configuration files;
OK jmc@, and general direction discussed with many
|
|
area. Most of the other interface settings allow this.
ok denis@
|
|
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@
|
|
|