Age | Commit message (Collapse) | Author |
|
a vertex that is already a candidate it is necessary to remove and insert
the candidate otherwise the candidate list is no longer correctly sorted.
OK norby@
|
|
MIN_LS_ARRIVAL. MIN_LS_ARRIVAL is used to limit the rate of incomming updates.
|
|
from time jumps.
|
|
just use ev for the spf_timer -- ev is unused in the RDE.
|
|
|
|
the 2WAY neighbor event is issued before the interface NBR_CHNG.
Fix some comments while there.
|
|
|
|
|
|
ok claudio@
|
|
|
|
ok and mdoc help claudio@ jmc@
|
|
|
|
|
|
|
|
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@
|