summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/database.c
AgeCommit message (Collapse)Author
2005-04-05Use the dynamic buffer API for packet generation and sending.Claudio Jeker
OK norby@
2005-03-22Remove bool cruft.Esben Norby
ok claudio@
2005-02-10Work around a timing issue in the db exchange phase. The DB descriptionClaudio Jeker
packets comming from the net are looped through the RDE and may get delayed because of this. The result is that the neighbor FSM ends in state FULL instead of LOADING and so the LSDB is not correctly synchronized. Issue found by norby@ OK norby@
2005-02-09Once again a round of bugfixes in the db exchange process. This isClaudio Jeker
one of the worst documented parts of the RFC. The initial packet sent by the slave may have no flags set. Don't enforce that the M bit is set but instead check that the I bit and MS bit are unset. The master should only issue NBR_EVT_XCHNG_DONE if it has sent at least one packet with M bit cleared else the slave may get stuck in state Exchange. In NBR_STA_LOAD the db_tx_timer() still needs to send db descriptions out. This will be the last packet sent with the cleared M bit.
2005-02-02KNFHenning Brauer
2005-01-28Change my email address to the OpenBSD one since Ericsson has nothing toEsben Norby
do with this software, just happend to be my only valid email address at the time.
2005-01-28Welcome ospfdClaudio Jeker
started by Esben Norby some time ago by using the imsg/three process framework of bgpd. He implemented the basic concept plus the ospf finite state machines. Later I joined and helped him cleanup, debug and extend his work. Right now it is not particularly useful, major parts are still missing but is imported to allow more people to work on it. status: The basic protocol works for broadcast networks and the LS database is synchronized and updated. It is not possible to be DR or BDR on a network and other interface types like point-to-point are not yet supported. The shortest path tree is not calculated and so no routing information is exchanged with the kernel FIB. Not yet connected to the builds. OK henning@