Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-03-23 | remove now osolete comment, from a mail exchange with | Henning Brauer | |
Alexander von Gernler <grunk@pestilenz.org> | |||
2005-03-23 | grow receive buffer on the routing socket, from bgpd | Henning Brauer | |
2005-03-23 | explicitely initialize opt, from bgpd | Henning Brauer | |
2005-03-23 | ssize_t -> size_t, from ntpd, there from Alexander von Gernler | Henning Brauer | |
2005-03-22 | Remove bool cruft. | Esben Norby | |
ok claudio@ | |||
2005-03-17 | Handle the retransmission queues correctly. Mainly iface state DROTHER | Claudio Jeker | |
needs to be handled specially because the backup DR does not send acks and so his retransmission queue fills up and does not get cleared. Also implement the retransmission timeout correctly. OK henning@ norby@ deraadt@ | |||
2005-03-17 | Fix an access after free. It is not allowed to use a RB_REMOVE inside of a | Claudio Jeker | |
RB_FOREACH. OK norby@ deraadt@ | |||
2005-03-15 | Add control messages for the show fib commands. | Claudio Jeker | |
OK norby@ deraadt@ | |||
2005-03-15 | First close() than unlink(). | Claudio Jeker | |
2005-03-14 | Add "show summary" to ospfctl. | Esben Norby | |
ok claudio@ henning@ | |||
2005-03-14 | unlink() control socket in error path. Spotted by Theo at FOSDEM. | Claudio Jeker | |
Was way too long in one of my trees. | |||
2005-03-12 | Add "show rib" and "show rib detail" to ospfctl. | Esben Norby | |
ok henning@ | |||
2005-03-12 | Small K&F. | Esben Norby | |
ok henning@ | |||
2005-03-11 | Fix typo. | Esben Norby | |
ok claudio@ | |||
2005-03-11 | move umask() song and dance closer around the bind, being more careful about ↵ | Theo de Raadt | |
errors; ok claudio | |||
2005-03-11 | KNF | Henning Brauer | |
2005-03-09 | memcpy/memmove correctness here as well | Henning Brauer | |
2005-03-08 | Remove no longer valid route entries. | Esben Norby | |
ok claudio@ | |||
2005-03-07 | Track interface state (up/down) and media status. Simplify the code a bit | Claudio Jeker | |
by using the kif/kroute info while allocating interfaces. | |||
2005-03-02 | Calculate the nexthop correctly if the calculating router has | Esben Norby | |
Point-to-point links. ok claudio@ | |||
2005-02-27 | SPF and route table calculation. | Esben Norby | |
Calculate Shortest Path Tree for each area known in the link state database. The Shortest Path Tree is used as input for route table calculation. Route tabled is calculated and the result is inserted into the kernel route table. ok claudio@ | |||
2005-02-24 | Remove the kroute nexthop specific code as there is no need for this in | Claudio Jeker | |
ospfd. While there clean up some other no longer needed stuff. OK norby@ | |||
2005-02-19 | Originate P2P links correctly. | Esben Norby | |
ok claudio@ | |||
2005-02-16 | Support point to point links. | Esben Norby | |
ok claudio@ | |||
2005-02-15 | let ospfd "tag" its routes with RTF_PROTO2, bgpd uses RTF_PROTO1 already | Henning Brauer | |
2005-02-10 | Work around a timing issue in the db exchange phase. The DB description | Claudio 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-10 | Cleanup the neighbor FSM. Use log_warnx() where appropriate and don't | Claudio Jeker | |
use the correct enum instead of 0 in the nbr_fsm_tbl. | |||
2005-02-09 | Fix premature ageing of self originating LSA. Still not perfect but better | Claudio Jeker | |
than before where it just failed to work. | |||
2005-02-09 | mini KNF | Claudio Jeker | |
2005-02-09 | NBR_STA_ACTIVE is just ~NBR_STA_DOWN instead of some hardcoded magic. | Claudio Jeker | |
2005-02-09 | Use log_warnx() in lsa_check() to report bad LSA settings. | Claudio Jeker | |
2005-02-09 | Rework of self originated LSA. First of all the code to generate the LSA | Claudio Jeker | |
is rewritten to use the dynamic buffer api introduced lately. Add missing parts in the RDE to merge these LSA originated from the OE into the LSDB with correct seq_num, etc. Add hooks to the neighbor and interface fsm so that the LSA get updated if needed. This is not perfect, still many things are missing. OK norby@ | |||
2005-02-09 | Fix interface fsm by inserting dummy events and actions as placeholder | Claudio Jeker | |
for 0. Action 0 was IF_ACT_STRT and that's why if_act_start() got called multiple times. The inappropriate hack from the previous commit is no longer needed. | |||
2005-02-09 | Don't elect neighbors that are down and fix a stupid copy-pasto. | Claudio Jeker | |
2005-02-09 | Initialize iface->self only once. if_act_start() may be called multiple | Claudio Jeker | |
times for a interface. | |||
2005-02-09 | Print the interface state from the view of the neighbor in ospfctl sh nei. | Claudio Jeker | |
The idea is to print DR, BDR or DROther dependent on the type of the neighbor. This is only done for multicast capable networks. | |||
2005-02-09 | Prevent the ADJ_TMOUT from complaining about an unexpected event. | Claudio Jeker | |
From norby@ | |||
2005-02-09 | Fix the restart DD case. In case of a timeout recheck the adjacency and go | Claudio Jeker | |
to state NBR_STA_XSTRT and issue a new initial DB description packet or go to NBR_STA_2_WAY respectivly. OK norby@ | |||
2005-02-09 | When sending out hellos, copy the bdr and dr addresses into iface->self. | Claudio Jeker | |
Without this the election process causes strange results as a router that announces itself as dr/bdr is prefered over one that doesn't. | |||
2005-02-09 | If the router self is the originator of the LS update flood it out | Claudio Jeker | |
no matter what. This solves an issue where self originated updates where not flooded because the router was the DR. | |||
2005-02-09 | Once again a round of bugfixes in the db exchange process. This is | Claudio 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-09 | Add buf_seek() as buf_reserve() fails if a buf_add()/buf_reserve() is | Claudio Jeker | |
called afterwards as it may realloc() the buffer and so the returned pointer is bogus. Needed by the upcomming originate LSA code. OK henning@ | |||
2005-02-09 | Print the neighbor address and not the local interface address in | Claudio Jeker | |
ospfctl show nei. | |||
2005-02-08 | Change default metric to 10, reflects what is stated in ospfd.conf(5). | Esben Norby | |
ok claudio@ | |||
2005-02-08 | The LSA seq_num should be unsigned as it is expected by ntohl/htonl() even | Claudio Jeker | |
though the seq_num needs to be compared as signed number. No idea how IETF came up with such a stupid idea especially because the seq_num is not allowed to wrap. requested by henning@ OK henning@ | |||
2005-02-07 | spelling fixes | David Krause | |
2005-02-04 | Use log_warn() insteade of log_warnx() after sendto() and if_set_mcast() | Claudio Jeker | |
errors as errno was set by the call. | |||
2005-02-04 | Add sanity checks for AS-external LSA. Refine some other checks to be as | Claudio Jeker | |
strict as possible. OK norby@ | |||
2005-02-03 | add ospfd.conf.5 to SEE ALSO; | Jason McIntyre | |
2005-02-03 | no need for -compact/.Pp in these lists; | Jason McIntyre | |