Age | Commit message (Collapse) | Author |
|
|
|
1) add /var/run/ospfd.sock to ospfd and ospfctl FILES
2) add .Xr ospfd.conf 5 to ospfctl SEE ALSO
ok claudio@ jmc@
|
|
|
|
is in state BACKUP or DR -- even to the DR. This causes unneeded retransmission of LSAs but solves a problem with self originated ones. The BDR was no longer
capable to reliably flood self originated LSA. Better solution will follow.
Reported by stevesk@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
especially it got called in the wrong place. OK norby@
|
|
whining that the MTU differs tell actually what is expected and what was
sent. OK norby@
|
|
function prototypes too.
|
|
|
|
LSA was already queued on nbr self. So after the first round -- where the
lsa was queued -- ospfd would remove it again in a second run.
That was not enough but the LSA was removed from the wrong neighbor -- nbr
instead of iface->self. LIST_REMOVE does not track the queue and so that
resulted in some strangeness (especially the lsa_cache did not get cleared).
OK norby@
|
|
First of all it is not clever to set queued before we actually queue
something -- unless queued is set. If ospfd is running as BDR don't add
updates to the retransmission list to the DR. OK norby@
|
|
|
|
|
|
session drops happend while booting up. If a router is conected to a other
router over two different interface one session will be unable to load until
the other one is in state FULL. ospfd no longer issues a BAD_LS_REQ event
if the LSA is equal to the one in table but if the sent lsa is older a
BAD_LS_REQ event is still issued. OK norby@
|
|
lsa_add() was called (which is just one specific case of many)
OK norby@
|
|
OK norby@
|
|
instead of iface->state != (IF_STA_DR | IF_STA_BACKUP). OK norby@
|
|
checksum. Because of the invalid checksum the other routers dropped it and
so the update was retransmitted over and over again. Now we update the
checksum in lsa_merge() after bumping the sequence number instead of
hoping that lsa_timeout() -> lsa_refresh() will do it for us. OK norby@
|
|
...if only one of the instances has its LS age field set to MaxAge
The important part is "only one", so check if both LSA are at MaxAge and
in that case return 0 -- the LSAs are identical.
This fixes a super nasty doom loop between two ospfd sending each other
LSA updates at an incredible speed. Tested and OK norby@
|
|
ok claudio@
|
|
DEFAULT_NBR_TMOUT. Makes it easy to see since when a peer is dead.
OK norby@ some time ago
|
|
ok norby@
|
|
- have ospfctl tell us when we are using authentication with 'show interface'
ok claudio@ norby@
|
|
- remove rtr_id from struct iface we don't need to keep a copy of this value
per interface
- replace all references to iface->rtr_id.s_addr with calls to ospfe_rtr_id()
ok claudio@ norby@
|
|
Default to id 1 and mention it in the man page.
From a discussion with msf@ OK norby@
|
|
that are in loopback mode. With this it is possible to use lo1 to hold the
loopback address of the router as done often on ciscos etc.
Problem found and fix tested by jakob@ OK norby@
|
|
routes where not cleared even though the advertising router was no longer
reachable. Same problem has the rt_dump() function that is used for
ospfctl show rib. Tested by me and norby@
OK norby@ deraadt@
|
|
One of the main problems is that the RFC is very unprecise about the process
and so a bit of guessing and "violating" the RFC is needed.
The problem was that on fast restarts ospfd computed wrong DR and BDR
routers. OK norby@ deraadt@
|
|
routing table where most entries used the local interface IP as nexthop. This
bug was found by jakob@ and he verified that it fixes his problems. Additional
tests by me and norby@.
OK norby@ deraadt@
|
|
Report and fix from Micheal Knudsen.
Prep, test and OK claudio@
|
|
|
|
This is still not perfect as on ABRs it is only necessary to
recalculate the area that got changed and not all others too.
More to come but it is a good start. OK norby@
|
|
ones in the candidate list. Be more careful about LS_INFINITY as it is
possible that the cost overflows in the calculation (checking for == is in
some cases wrong). Simplify the code a bit. Tested and OK norby@
|
|
|
|
a {} block. Only drawback is that it is no longer possible to do
"interface em0\n{ ...".
OK henning@ norby@ some time ago
|
|
as-ext routes would select a wrong nexthop if the forwarding router is
directly connected. OK, help and debugging norby@
|
|
setups with /32 loopback networks. OK norby@
|
|
|
|
suffered because of this. Normaly seen because they where not added to the rib
or ended up with a bad nexthop.
This is what you get for stealing code from bgpd :(
OK norby@
|
|
are e.g. created by the PMTU code and are removed after some time.
OK norby@
|
|
timer in IF_STA_WAITING. We are not ready for this because the RFC is totaly
fucked up in that specific area causing many issues on fast reloads.
OK norby@
|
|
SIGTERM is already handled by ev_sigterm.
|
|
and init) are not electable not only neighbors that are in state down.
OK norby@
|
|
OK norby@
|
|
ignores the event. This removes the warning "fsm_if: interface em0, event
WAITTIMER not expected in state DROTHER" in case of a quick startup.
OK norby@
|