summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d
AgeCommit message (Expand)Author
2010-06-12Add a missing ntohs() around hdr.type. This fixes a segfault asAlexander Bluhm
2010-06-12Fix an obvious use after free. From ospfd.Alexander Bluhm
2010-06-12The "dispatch_rtmsg no nexthop" error was emitted in wrong casesAlexander Bluhm
2010-06-09Only embed the interface scope for link local nexthops. AS-ext LSA haveClaudio Jeker
2010-06-09Correctly decode prefixes. Fixes an infinite loop hit when the prefixlen isClaudio Jeker
2010-06-08Calculate size of update packet with IPv6 header and reserve spaceAlexander Bluhm
2010-06-03The is no md5 authentication in OSPFv3. Remove some leftovers fromAlexander Bluhm
2010-06-01With IPv6 OSPF a single LSA can get larger than the MTU. As aAlexander Bluhm
2010-06-01Add NULL pointer check after calloc.Alexander Bluhm
2010-06-01Fix error message.Alexander Bluhm
2010-05-26Move imsg into libutil and add a man page.Nicholas Marriott
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
2010-05-24now that we can handle >9 args, put "-D name=value" on one line: it's a bitJason McIntyre
2010-05-17more then -> more than;Jason McIntyre
2010-05-14Use calloc() instead of malloc() to allocate the connection structure. ThisClaudio Jeker
2010-04-27imsg.h does not need sys/tree.h.Nicholas Marriott
2010-04-16Move a function to a place that is a bit more logical. No functional change.Claudio Jeker
2010-04-07Remove XXX comment and just close received fd if calloc() fails.Nicholas Marriott
2010-03-06ospfd/ospf6d man page cleanup:Stefan Sperling
2010-03-01Support for redistributing AS-ext LSA (redistribute static/connected).Claudio Jeker
2010-03-01Implement lsa_find_lsid(), a function that searches the LSDB for a LSAClaudio Jeker
2010-03-01Add routing calculation code for AS-ext LSA and Inter-Area LSA but theClaudio Jeker
2010-02-26Swap order of RB tree sorting from type, ls_id, adv_rtr to type, adv_rtr,Claudio Jeker
2010-02-23Fix .Oo .Xo .Oc .Xc mis-nesting by just dropping the .Xo and .Xc which,Ingo Schwarze
2010-02-23This is a total dejavu of bgpd/kroute.c 1.165. Because IPv6 fucked up andClaudio Jeker
2010-02-23Oups, forgot this file in last commit. Bit definitions for AS-ext LSA neededClaudio Jeker
2010-02-23Implement lsa_asext_check() to verify that type 5 LSA are correctly encoded.Claudio Jeker
2010-02-22Treat multiple Router-LSAs originated by the same router as anStefan Sperling
2010-02-21Kill double declaration of control_imsg_relay().Michele Marchetto
2010-02-01Fix logic error (&& vs. ||), found while looking for inspiration for smtpdJacek Masiulaniec
2010-01-24In orig_intra_lsa_rtr(), don't allocate and free a temporary bufferStefan Sperling
2009-12-23Loopback interface don't have link local addresses so use the real IPv6Claudio Jeker
2009-12-22Crap. Remove debug code that I did not plan to commit.Claudio Jeker
2009-12-22Holy inconsitancy Batman! While it is impossible to use embeded scope idsClaudio Jeker
2009-12-22Add interface index aka. scope id to struct kroute so that the rde can passClaudio Jeker
2009-12-22Link local addressing strikes again. Include ifindex in all nexthopClaudio Jeker
2009-12-22Implement log_in6addr_scope() yet another function doing the same thingClaudio Jeker
2009-12-22Use correct interface id. iface_id is our ifindex, nbr_iface_id is theClaudio Jeker
2009-12-22Give calc_nexthop_lladdr() a chance to find the correct link local address.Claudio Jeker
2009-12-21Another AF_INET that should be an AF_INET6.Claudio Jeker
2009-12-21Doh! It helps to load the IPv6 routing table into kroute instead of IPv4.Claudio Jeker
2009-12-08porcesses -> processesJonathan Gray
2009-12-02log_warn() consistency.Michael Knudsen
2009-11-02Add IMSG_CTL_LOG_VERBOSE similar to ospfd it allows to toggle debug logging.Claudio Jeker
2009-10-22write UNIX-domain in a more consistent way; while here, replace aIgor Sobrado
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
2009-09-30Bring in sync with the bgpd version of carp.c. This fixes a memory leakClaudio Jeker
2009-09-30carp_demote_ioctl() can handle more then +/-1 steps so there is no need toClaudio Jeker
2009-09-20if_new() would treat the new interface as a virtual link if the ifnameStefan Sperling
2009-09-20In kif_update(), the ifname array could be used uninitialised if theStefan Sperling