Age | Commit message (Collapse) | Author |
|
learn new interfaces during runtime. This should solve the issue with
reloads failing when interfaces where created during runtime.
OK norby@
|
|
links. If a packet arrived on a point-to-point interface we should accept it
even if the source address of the packet is different to our iface destination
address. OK norby@
|
|
|
|
That will be sizeof(long) no matter what.
|
|
|
|
option parsing. Found out the hard way by jdixon on ifstated.
ok sobrado@, jdixon@, millert@
|
|
|
|
hai norby@
|
|
|
|
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This
works now that kernel fd passing has been fixed to accept a bit of
sloppiness because of this ABI repair.
lots of discussion with kettenis
|
|
descriptors; ok hshoexer, also looked at by kettenis and henning
|
|
an extensive discussion with otto, kettenis, millert, and hshoexer
|
|
but only do the final popfile call after yyparse() is done.
This also fixes config reload on SIGHUP for some daemons.
Spotted by otto@. OK deraadt@
|
|
OK claudio@
|
|
|
|
from Igor Zinovik
|
|
not a hard and fast rule (actually it's a form i abuse) but
hostname.if.5 currently uses two conflicting forms and this keeps
it consistent;
|
|
found by Igor Zinovik <zinovik@cs.karelia.ru>
|
|
it with a simple filter in the yylex() loop.
The compression in lgetc() didn't happen for quoted strings,
thus creating a regression when tabs were used in variables.
Some testing by todd@ and pyr@
OK deraadt@
|
|
plus an article fix whilst here
|
|
OK norby@
|
|
ok hennin@ too.
|
|
|
|
OK norby@
|
|
Requested and OK deraadt@
|
|
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).
pointed out by mpf, discussed with pyr
|
|
|
|
|
|
|
|
yylex implementation and the code which interacts with yylex. this also
brings the future potential for include support to all of the parsers.
in the future please do not silly modifications to one of these files
without checking if you are de-unifying the code.
checked by developers in all these areas.
|
|
|
|
as found in hoststated, and make all the code diff as clean as possible. a
few issues remain mostly surrounding include support, which will likely be
added to more of the grammers soon.
ok norby pyr, others
|
|
flag that we set). So introduce a area_ospf_options() function that will
return the correct flags for each area. This makes stub area support a lot
easier.
OK norby@
|
|
so the parent process has no way to know if it should redistribute or not.
Let the RDE decide. OK norby@
|
|
by the hello protocol. Instead add a dd_more flag that is used together with
(the renamed) dd_master flag.
Tested and OK norby@
|
|
|
|
Without this multiple networks on one interface could not be distinguished.
OK norby@
|
|
|
|
|
|
Send all possible nexthops to the parent process and correctly sync
the RIB, FIB and kernel routing table. Based on initial work by pyr@.
OK pyr@ norby@
PS: don't forget that you need to enable multipath support via a sysctl
|
|
is turned on or off the E-bit needs to be toggled accordingly else the
AS-external LSA are ignored by the other OSPF routers.
OK norby@
|
|
from the target back and trying to figure the nexthop out, the link is searched
in the interface list and the info from the matiching interface is used.
This should solve the nexthop issues with setups having multiple point-to-point
links between two routers as reported on misc@ some time ago.
tested and OK norby@
|
|
tech@ by Jung.
|
|
Most complex part was "redistribute 10/8" which need special handling.
With and OK deraadt@, OK norby@
|
|
|
|
|
|
Hooray! claudio@
|
|
return from the inner loop if the outer loop is not finished -- just break
the inner loop and continue the outside one. In rt_update() nexthops should
not be cleared and freed if the new route is better. This resulted in reset
RIB timers after any calculation run. Instead just mark the nexthop invalid
and go on. Tested and OK pyr@
|
|
and hides the real cause of the termination.
OK norby@, reyk@, pyr@
|
|
this does not change imsg_compose's behavior but allows the message's
buffer to grow and will avoid sending a ton of small messages when
unrolling lists between two processes.
this is needed for sending multiple routes at once when updating the
fib with multipath routes.
discussed and ok claudio@
|