Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-07-07 | It helps to set the sdl_family so that the kernel knows what this is. | Claudio Jeker | |
2011-07-07 | Rework the distribution of link state and iface FSM state changes. | Claudio Jeker | |
Link state changes are sent from the parent to both childs and iface FSM state changes are sent from the ospfe to the rde. | |||
2011-07-07 | Only send interface address changes to the ospfe/rde if the interface | Claudio Jeker | |
is actually used by the config. This should fix the exits caused when interfaces are dynamically added to the kernel. | |||
2011-07-07 | Just use if_find() to find an interface by ifindex. | Claudio Jeker | |
2011-07-07 | correct/change some debug and fatal messages. | Claudio Jeker | |
2011-07-07 | KNF | Claudio Jeker | |
2011-07-07 | Commit stuff that I added to another tree eventhough it should have | Claudio Jeker | |
been in the last commit. I should not work on multiple laptops at the same time. | |||
2011-07-07 | Kill nh_reachable. Link state checking is so easy now that it does not | Claudio Jeker | |
matter anymore to cache this value for ospf6d. | |||
2011-07-04 | LINK_STATE_IS_UP() cleanup userland part. There is no need to special | Claudio Jeker | |
case carp(4) interfaces anymore. LINK_STATE_IS_UP() almost always does the right job. OK deraadt@ henning@ This needs a -current kernel or link state may be not reported correctly. | |||
2011-07-04 | Make sure that passive interfaces (like carp) are added to the | Claudio Jeker | |
intra-area rtr LSA. Diff initialy made by Patrick Coleman but simplified by myself. Tested and OK dlg@ | |||
2011-06-28 | mention "include" support, boilerplate from ospfd.conf(5), ok dlg@ | Stuart Henderson | |
2011-06-27 | bring include support for config files in from ospfd. | David Gwynne | |
sure deraadt@ | |||
2011-05-06 | Do not special case loopback interfaces on init. Instead force them | Claudio Jeker | |
to IF_STA_LOOPBACK in if_act_start() this way they will repsect IFF_UP on startup. Also mark the interfaces as passive. Initial diff provided by Patrick Coleman. OK dlg@ | |||
2011-05-05 | KNF | Claudio Jeker | |
2011-05-02 | Some cleanup, some KNF and sync non functional differences with | Claudio Jeker | |
ospfd's version. | |||
2011-05-02 | Sync with ospfd/database.c | Claudio Jeker | |
2011-05-02 | wrap long line | Claudio Jeker | |
2011-05-02 | Don't include sys/param.h and reformat some lines. | Claudio Jeker | |
2011-04-30 | no need to escape |, pointed out by jmc@ | Stuart Henderson | |
"it's worth killing, if just to stop it being copied all over the place" | |||
2011-03-24 | Make the sequence number constanst explicitly unsigned. The seq_num is | Claudio Jeker | |
already defined as a u_int32_t type. | |||
2011-03-07 | continguous -> contiguous | Henning Brauer | |
From: "Anthony J. Bentley" <anthonyjbentley at gmail dot com> | |||
2010-12-31 | Add missing #includes instead of assuming that some system header pulls in | Philip Guenthe | |
the needed bits ok deraadt@, millert@ | |||
2010-12-13 | Do not use a carp address as ospf router id because it is not unique. | Alexander Bluhm | |
ok claudio@ | |||
2010-10-14 | Same fix as previously commited to ospfd. Ensure that kr_redistribute() | Claudio Jeker | |
is called with the head node of a multipath chain. | |||
2010-08-22 | Redistributing the default route with ospf6d did not work correctly. | Alexander Bluhm | |
- kroute.c may not ignore the default route. - Use the ROUNDUP macro from route/show.c as this one is also correct for netmask with prefixlen 0. - Implement ospf_redistribute and the redistribute parser like ospfd. ok claudio@ | |||
2010-08-22 | When removing an announced prefix, inherit the metric and ext_tag | Alexander Bluhm | |
from the LSA that is currently in the tree. Based on claudio@'s diff and his fix for ospfd. Additionally originate an LSA with external route tag correctly by writing the AS-external-LSA's bit T into the correct field. ok claudio@ | |||
2010-08-22 | Origin network-LSA with options based on the options of the link-LSAs. | Alexander Bluhm | |
Without this fix Cisco's OSPF 6 ignores our network-LSAs. ok claudio@ | |||
2010-08-03 | fix linecount bug with comments spanning multiple lines | Henning Brauer | |
problem reported with the obvious fix for bgpd by Sebastian Benoit <benoit-lists at fb12.de>, also PR 6432 applied to all the others by yours truly. ok theo isn't it amazing how far this parser (and more) spread? | |||
2010-07-14 | Another hand knitted offsetof() that needs to die. This time steal the | Claudio Jeker | |
mask2prefixlen6 version from bgpd. | |||
2010-07-14 | use offsetof() instead of self knitted version to please gcc4. | Claudio Jeker | |
stolen from ospf.h | |||
2010-07-12 | Merge duplicate log messages into one log_warn(). | Alexander Bluhm | |
ok claudio@ | |||
2010-07-09 | Do not try to originate an intra-area-prefix-lsa if an interface | Alexander Bluhm | |
address changes that does not belong to any area. This fixes an ospf6d crash. To not search for the area in orig_intra_lsa_net(), just pass the area as function parameter. ok claudio@ | |||
2010-07-06 | Update the interfaces changes from kroute to rde via imsg. This | Alexander Bluhm | |
is needed to orginate correct intra-area-prefix-lsas. ok claudio@ stsp@ | |||
2010-07-06 | Use the static variable narea only where needed for config reload. | Alexander Bluhm | |
The other imessages use the stack variables area and iface. ok claudio@ | |||
2010-07-05 | During network intra-area-prefix-lsa origination, the designated | Alexander Bluhm | |
router's prefixes were ignored if all other routers on that link had no prefixes. Advertise a intra-area-prefix-lsa with all prefixes for the network if there are any adjacent neighbors on link. ok stsp@ | |||
2010-07-01 | Fix memory leak by adding a missing free(lsa). | Alexander Bluhm | |
ok claudio@ | |||
2010-07-01 | Fix all white space bugs in ospf6d at once. No binary change. | Alexander Bluhm | |
ok claudio@ | |||
2010-07-01 | The prefixes of interface addresses of an ospf link have to be | Alexander Bluhm | |
advertised as link-lsa and intra-area-prefix-lsa when they change dynamically. Handle RTM_NEWADDR and RTM_DELADDR in kroute by sending an imsg to ospfe. Upon this event, originate a new link-lsa in ospfe. In rde a new intra-area-prefix-lsa is generated when a link-lsa appears or goes away. ok claudio@; ok and test stsp@ | |||
2010-06-28 | If there is no next hop but an interface index, create a cloning | Alexander Bluhm | |
route. This happens when we learn from another router that a directly attached link has a prefix for which we have no address configured at the interface. In this case, we should do neighbor discovery to directly reach the hosts with that prefix on the link. ok claudio@ | |||
2010-06-28 | Store the ifindex into the kroute change imsg. This way we can use | Alexander Bluhm | |
the interface index for writing routes into the kernel. ok claudio@ | |||
2010-06-12 | Add a missing ntohs() around hdr.type. This fixes a segfault as | Alexander Bluhm | |
the area of an ASE LSA is NULL. ok claudio@ | |||
2010-06-12 | Fix an obvious use after free. From ospfd. | Alexander Bluhm | |
ok claudio@ | |||
2010-06-12 | The "dispatch_rtmsg no nexthop" error was emitted in wrong cases | Alexander Bluhm | |
and prevented dynamic route redistribution. Fix the logic bug that was introduced during IPv4 to IPv6 conversion. ok claudio@ | |||
2010-06-09 | Only embed the interface scope for link local nexthops. AS-ext LSA have | Claudio Jeker | |
an optional non link local forwarding address so we need to be a bit more careful here. Problem found and analyzed by Martin Pelikán. | |||
2010-06-09 | Correctly decode prefixes. Fixes an infinite loop hit when the prefixlen is | Claudio Jeker | |
not devidable by 32. Problem found and identified by Martin Pelikán. | |||
2010-06-08 | Calculate size of update packet with IPv6 header and reserve space | Alexander Bluhm | |
for IPsec. Avoid IPv6 fragments where possible. If a single LSA is too big, put it into a separate packet with up to IPV6_MAXPACKET bytes. This packet may get fragmented by the kernel. ok stsp@ | |||
2010-06-03 | The is no md5 authentication in OSPFv3. Remove some leftovers from | Alexander Bluhm | |
the ospf6d packet lenght calculation. ok claudio@ stsp@ | |||
2010-06-01 | With IPv6 OSPF a single LSA can get larger than the MTU. As a | Alexander Bluhm | |
workaround it is better to drop this LSA with a log entry instead of sending emtpy update packets in a burst. As link LSAs cannot be split, the propper solution might be IPv6 fragments. See also RFC5340 Section 4.4.3.8 and Appendix A.1. ok stsp@ | |||
2010-06-01 | Add NULL pointer check after calloc. | Alexander Bluhm | |
ok claudio@ stsp@ | |||
2010-06-01 | Fix error message. | Alexander Bluhm | |
ok claudio@ stsp@ |