Age | Commit message (Collapse) | Author |
|
set (or extend) a timer and only reload when this expires. Avoids repeatedly
dumping full kernel routes (thus generating more load) when the machine has
problems keeping up with messages on the route socket. (if you see lots of
repeated "reloading interface list and routing table" in ospfd logs, this
will help).
Suggestions/ok claudio@.
|
|
"ospfd -v" (previously only "-vd" worked). Feedback on earlier implementation
from henning@ blambert@ claudio@, ok claudio@
|
|
case carp(4) interfaces anymore. LINK_STATE_IS_UP() almost always does
the right job.
OK deraadt@ henning@
This needs a -current kernel or link state may be not reported correctly.
|
|
|
|
may only be set on directly connected networks but not on router
nodes which are used by the P2P links. Fix for PR 6597. OK sthen@
|
|
hold about any data you like and is used for things like greaceful
reload. Implement the basic redistribute logic and LSDB handling but
the data sent is currently not looked at.
Tested and OK sthen@
|
|
to IF_STA_LOOPBACK in if_act_start() this way they will repsect
IFF_UP on startup. Also remove a now no longer needed workaround
when reloading interfaces.
Initial diff provided by Patrick Coleman. OK dlg@
|
|
|
|
|
|
No functional change
|
|
"it's worth killing, if just to stop it being copied all over the place"
|
|
Removes some of the rather strange packet handling.
Tested by a few especially sthen@
|
|
leak is a runtime one.
OK bluhm@
|
|
Change the code in such a way that single huge LSA get fragmented
but avoid IP fragmentation when packing multiple ones.
Problem found and fix tested by Benjamin Papillon.
Tested & OK sthen@
|
|
packets use a better upper bound based on IP_MAXPACKET. Also change
one IBUF_READ_SIZE to READ_BUF_SIZE since that is what the rest of
the code uses. Tested and OK sthen@
|
|
|
|
"whichever one is a thousandth of a second is the one i am ok with" dlg@
|
|
so that the correct sequence number is used for the LSA. So re-lookup the
vertex before calling lsa_merge().
Problem found and diff OK bluhm@
|
|
Select a different LS ID in case of a conflict. The most specific
route keeps the LS ID the others will try their broadcast addr
first and then count down. The redistributed asext LSA are now
stored in a RB tree to make this all work.
Tested by a few people no problems seen so far.
|
|
disturbed me for a long time and makes upcomming work a bit easier.
OK sthen@, phessler@
|
|
ok claudio@
|
|
chain. Fix kroute_insert() and rtmsg_process() to correctly do this.
OK bluhm@
|
|
|
|
used to quickly verify if two LSDBs are in sync. Other systems do the same.
OK dlg@
|
|
(verified by both sthen@ and me).
ok sthen@; "just commit it" claudio@
|
|
problem reported with the obvious fix for bgpd by Sebastian Benoit
<benoit-lists at fb12.de>, also PR 6432
applied to all the others by yours truly. ok theo
isn't it amazing how far this parser (and more) spread?
|
|
LSA that is currently in the tree. Pruning with default metrics is bad
since the checksum of the LSA is different and therefor an additional
update cycle is needed to convince the other systems.
OK bluhm@, sthen@
|
|
Make sure that if the LSA is managed by this router that we force timed-out
LSA to stay timed out which causes them to be pruned in the secound round.
This problem can show up when not exactly the same LSA is pruned because
the checksum is used as tiebreaker resulting in indeterministic selection
of which LSA is considered newer.
OK bluhm@, sthen@
|
|
routing table and interface list, do a reload of the kernel state.
ive been running this in production for 2 or 3 weeks.
tested by sthen@
ok sthen@ claudio@ deraadt@
code written by andrew sallaway at the univeristy of queensland.
|
|
ok claudio@
|
|
af. This is possible since this filtering no longer blocks RTM_IFINFO.
OK henning@
|
|
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains. This changes the name of the
system calls, socket option, and ioctl. After building with this
you should remove the files /usr/share/man/cat2/[gs]etrdomain.0.
Since this removes the existing [gs]etrdomain() system calls, the
libc major is bumped.
Written by claudio@, criticized^Wcritiqued by me
|
|
ok claudio@
|
|
ok claudio@
|
|
continue. fix kr_dispatch_msg so it acts when rtmsg_process fails.
from andrew sallaway based on discussion with claudio@
ok claudio@
|
|
warnings from gcc4)
os claudio@
|
|
automagicaly mask the addresses. While there kill a #ifdef that no
longer makes sense since it is the least problem for portable versions.
|
|
the number of bytes they processed from the kernel on success, so testing
against 0 meant that the fib reload code always dropped out early.
found by andrew sallaway
ok claudio@
|
|
Minor bump for libutil.
Previous versions of this diff and man page looked at by various people.
"you should just commit" deraadt
|
|
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.
ok henning gilles claudio jacekm deraadt
|
|
more readable, and fixes a spacing bug we had in smtpd.8;
|
|
|
|
|
|
way the memory is zeroed. This is equivalent to the relayd commit by reyk.
OK reyk, jsg
|
|
is forced into IF_STA_NEW so that if_init() can be called to setup timers etc.
When a loopback interface is added to the config, this means there's no way
to get to the correct state.
Fix by avoiding changing an existing IF_STA_LOOPBACK and forcing loopback
interfaces to be passive (otherwise skipping the if_init on an active
interface causes problems).
ok claudio@
|
|
|
|
as the neighbour. ok claudio@
|
|
ok eric
|
|
If this happens the imsg may no longer be usable as there may be queued
messages, but this is a) already the case with the code now, and b)
would be the case if recvmsg() fails anyway, so we can document that -1
from imsg_read() invalidates the struct imsgbuf.
discussed with and ok eric
|
|
be done for rtmsgs (which have an rtm_errno) and not ifmsgs (which have
part of an if_data struct in that location). Fixes problems finding
interface addresses at startup. ok claudio@
|