Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-05-25 | spelling | David Krause | |
2005-05-24 | Only redistribute networks if the interface they depend on is actually | Claudio Jeker | |
up and running. This makes redistribution of carp(4)-ed networks magically work. OK norby@ | |||
2005-05-24 | Set ifindex for all kernel routes. This makes it very easy to track the | Claudio Jeker | |
state of static prefixes. OK norby@ | |||
2005-05-24 | An lsa with age == MAX_AGE is always different and needs to be merged. | Claudio Jeker | |
This solves a bug that made it impossible to remove a LSA by premature aging. OK norby@ | |||
2005-05-24 | Fix format string. | Claudio Jeker | |
2005-05-24 | Be more specific on what we redistribute. OK norby@ | Claudio Jeker | |
2005-05-24 | In lsa_merge() check if the LSA changed. If it did not change just free the | Claudio Jeker | |
new one and use the old one. This will reduce the amount of updates sent. OK norby@ | |||
2005-05-24 | Fix some obvious issues in the summary LSA origination. | Claudio Jeker | |
Actually remove summary LSA if the LSA they refer to are no longer valid. Set correct cost on the summary LSA. Announce type 4 summary LSA. OK norby@ | |||
2005-05-23 | First part of summary LSA origination. Not perfect but a start. | Claudio Jeker | |
OK norby@ | |||
2005-05-23 | useless use of endpwent | Henning Brauer | |
2005-05-23 | Kill rt_dump_debug stuff as "ospfctl show rib [detail]" provides the same | Esben Norby | |
information. ok claudio@ | |||
2005-05-23 | Make the rfc1583compat flag changable in ospfd.conf(5). | Esben Norby | |
ok claudio@ | |||
2005-05-22 | Handle cost2 for AS-external, and prepare for handling flags in | Esben Norby | |
ospfctl show rib detail. ok claudio@ | |||
2005-05-22 | The Route Information Base for AS-External should only be dumped once. | Esben Norby | |
ok claudio@ | |||
2005-05-13 | Cost type 2 will be needed soon. | Esben Norby | |
ok claudio@ | |||
2005-05-13 | The NET_RT_IFLIST sysctl returns RTM_IFINFO and RTM_NEWADDR messages in | Claudio Jeker | |
the buffer. While RTM_IFINFO starts with a struct if_msghdr RTM_NEWADDR does not. In other words (struct sockaddr *)(next + sizeof(ifm)) is only correct for RTM_IFINFO and not for RTM_NEWADDR. So move the ifm_type check up else get_rtaddrs() would access memory outside of buf. OK henning@ | |||
2005-05-12 | Calculate routes for summary and as-external LSA. Still some minor parts | Claudio Jeker | |
missing but good enough to be used. Tested and some input by Stephen Marley. OK norby@ | |||
2005-05-12 | lsa_age() the vertex befor comparing the age with MAX_AGE. | Claudio Jeker | |
Move a common check (cost == LS_INFINITY) out of the switch cases. OK norby@ | |||
2005-05-12 | Every time a LSA is returned from a lookup lsa_age() it. | Claudio Jeker | |
Also move the lsa_age() prototype to rde.h so that we can access it from the SPF code. OK norby@ | |||
2005-05-12 | Don't fatal in case no root node was found for spf calculation. | Claudio Jeker | |
The area may be empty because there is no active interface. OK norby@ | |||
2005-05-12 | Add "show database asbr/external/network/router/self-originate/summary" | Esben Norby | |
to ospfctl. Show detailed information about the LSAs in the Link State Database. ok claudio@ | |||
2005-05-12 | Fix multiple bugs in if_act_elect(). In some cases DR were set wrongly | Claudio Jeker | |
because of a stupid typo that I fixed in rev. 1.6 but forgot to fix the bug I introduced before because of that typo. Also reset the DR/BDR fields of iface->self when going to round two. Without the reset it is e.g. not possible to drop from DR to BDR. Issue found and patch tested by Stephen Marley OK norby@ | |||
2005-05-12 | If activly connected to more than one area set B flag in the self-originated | Claudio Jeker | |
router LSA. To do that correctly we need to track the number of active neighbors for each area. If the routers ABR status changes all router LSA need to be updated via orig_rtr_lsa_all(). OK norby@ | |||
2005-05-11 | Add some newlines to make the code easier to follow. No functional change. | Claudio Jeker | |
2005-05-10 | Do no longer force the default router priority to 0. | Claudio Jeker | |
Ospfd can be used as DR or BDR since quite some time so there is no need to make ospfd ineligible as DR or BDR. | |||
2005-05-09 | Force all as-external routes to point to the router announcing them by | Claudio Jeker | |
setting the forward address to 0.0.0.0. This is needed as we currently fail to check if the real nexthop is covered by an ospf route -- uncovered routes are ignored by the other routers. OK norby@ tested and requested by Philip Olsson | |||
2005-05-08 | Keep track of the req list in the RDE. The RFC requires us to check for | Claudio Jeker | |
silly updates while fetching the table from the other server. OK norby@ | |||
2005-05-05 | Fix a stupid typo in the #if 0 block in spf_calc() and start using that code | Claudio Jeker | |
block. The idea is to ignore nodes that are already part of the SPF tree as soon as possible. OK norby@ | |||
2005-05-02 | use setres[ug]id for privilege dropping; ok norby@ | Damien Miller | |
2005-05-01 | spelling | David Krause | |
2005-04-27 | Sort struct msgbuf by size. From Alexander von Gernler via henning@ | Claudio Jeker | |
2005-04-26 | unify shared code a bit again to make future syncs easier | Henning Brauer | |
From: Alexander von Gernler <grunk@pestilenz.org> | |||
2005-04-25 | Call if_init() later and for each interface separately. | Claudio Jeker | |
Move code from if_act_start() to if_init() that needs to be called only once per interface. Especially event_set should be called only once as it initializes struct event and so may cause corruption of the event queue if called twice. | |||
2005-04-25 | Move the creation of the ospf_socket from if_init() directly into ospfe(). | Claudio Jeker | |
This makes it possible to call if_init() at a much later time. | |||
2005-04-25 | Call if_init() in ospfe only, neither the rde nor the parent need it. | Claudio Jeker | |
2005-04-25 | Change order of execution in if_act_reset(). First notify all neighbor | Claudio Jeker | |
that the interface gets reset (NBR_EVT_KILL_NBR) and than clear all timers of the interface. The nbr_fsm() may start some of the timers which has strange results. Tested by Philip Olsson. | |||
2005-04-22 | RFC tells that the MTU in the db exchange packet may not be bigger than | Claudio Jeker | |
the interface MTU but it may be smaller. This makes Philip Olssons extreme networks summit24 happy as this stupid thing sets the MTU to 0. testing Philip Olsson, OK norby@ | |||
2005-04-19 | Don't call event_set() before event_init(). | Claudio Jeker | |
OK norby@ | |||
2005-04-17 | Use fatalx() instead of ospfd_shutdown() if kr_init() fails. | Claudio Jeker | |
OK henning@ | |||
2005-04-16 | Set F_STATIC flag earlier else the default route will end up as non-static. | Claudio Jeker | |
2005-04-14 | Some format string cleanup. OK deraadt | Chad Loder | |
2005-04-12 | spelling | Theo de Raadt | |
2005-04-12 | Support for self originated AS-external LSA. | Claudio Jeker | |
With "redistribute (static|connected|default|none)" it is possible to tell ospfd which external routes should be announced. Connected routes will be announced only if there is no corresponding interface configured, in that case the prefix is not external. Adding and removing of announced prefixes are done automaticaly. OK norby@ | |||
2005-04-12 | spaces | Claudio Jeker | |
2005-04-06 | Add check for key lengths. Based on diff from Jason Ackley. | Esben Norby | |
Reworked by me. ok claudio@ | |||
2005-04-06 | When deleting LSA because they hit max age (IMSG_LS_MAXAGE) check if the | Claudio Jeker | |
current LSA in the database was updated while max age LSA was flooded out. This solves a reace condition where self originated LSA got removed because an other server sent an update with age set to MAXAGE. OK norby@ | |||
2005-04-05 | Use the dynamic buffer API for packet generation and sending. | Claudio Jeker | |
OK norby@ | |||
2005-04-05 | Set errno in case buf_realloc() fails because the limit of the buffer is | Claudio Jeker | |
reached. | |||
2005-04-04 | On auth crypt verify not only the main key is allowed but all configured keys. | Claudio Jeker | |
This makes changing keys a piece of cake -- if ospfd would support reloads. Found and patch from Jason Ackley. | |||
2005-03-31 | Better crypt sequence number initialization. | Esben Norby | |
Suggested by henning@ ok henning@ |