summaryrefslogtreecommitdiff
path: root/proto/ospf/topology.c
AgeCommit message (Collapse)Author
2016-03-23OSPF: Fix bogus LSA ID collisions between received and originated LSAsOndrej Zajicek (work)
After restart, LSAs locally originated by the previous instance are received from neighbors. They are installed to LSA db and flushed. If export of a route triggers origination of a new external LSA before flush of the received one is complete, the check in ospf_originate_lsa() causes origination to fail (because en->nf is NULL for the old LSA and non-NULL for the new LSA). The patch fixes this by updating the en->nf for LSAs being flushed (as is already done for empty ones). Generally, en->nf field deserves some better description in the code. Thanks to Jigar Mehta for analyzing the problem.
2015-05-01OSPF: Redesign LSA checksummingOndrej Zajicek
New LSA checksumming code separates generic Fletcher-16 and OSPF-specific code and avoids back and forth endianity conversions, making it much more readable and also several times faster.
2014-11-03Bugfix in latest OSPF changes.Ondrej Zajicek
2014-11-03Fininshing integrated OSPF.Ondrej Zajicek
2014-10-24Integrated IP functions.Ondrej Zajicek
2014-10-24Refactoring of OSPF messages.Ondrej Zajicek
2014-07-19Whitespace cleanup in OSPF.Ondrej Zajicek
2014-07-18Temporary integrated OSPF commit.Ondrej Zajicek
2014-06-26Temporary integrated OSPF commit.Ondrej Zajicek
2014-02-06Many changes in I/O and OSPF sockets and packet handling.Ondrej Zajicek
I/O: - BSD: specify src addr on IP sockets by IP_HDRINCL - BSD: specify src addr on UDP sockets by IP_SENDSRCADDR - Linux: specify src addr on IP/UDP sockets by IP_PKTINFO - IPv6: specify src addr on IP/UDP sockets by IPV6_PKTINFO - Alternative SKF_BIND flag for binding to IP address - Allows IP/UDP sockets without tx_hook, on these sockets a packet is discarded when TX queue is full - Use consistently SOL_ for socket layer values. OSPF: - Packet src addr is always explicitly set - Support for secondary addresses in BSD - Dynamic RX/TX buffers - Fixes some minor buffer overruns - Interface option 'tx length' - Names for vlink pseudoifaces (vlinkX) - Vlinks use separate socket for TX - Vlinks do not use fixed associated iface - Fixes TTL for direct unicast packets - Fixes DONTROUTE for OSPF sockets - Use ifa->ifname instead of ifa->iface->name
2013-09-16BFD work in progress.Ondrej Zajicek
Now it compiles and mostly works.
2013-06-11Implements OSPF stub router option (RFC 3137).Ondrej Zajicek
Also fixes OSPFv3 routing table calculcation w.r.t. errata 2078 to RFC 5340.
2012-11-15Change unnamed ptp link description on OSPFv2.Ondrej Zajicek
Although it is a slight deviation from the standard, it has no ill consequences for OSPFv2 and the change fixes a compatibility issue with some broken implementations.
2012-11-10Peer address of stub iface should be announced in OSPF Router LSA.Ondrej Zajicek
2012-10-31Fixes another bug in OSPFv3 vlinks.Ondrej Zajicek
2012-10-29Fixes several bugs related to OSPFv3 vlinks.Ondrej Zajicek
2012-07-26Fixes default route in OSPF multiple area setting.Ondrej Zajicek
2012-04-27Some minor fixes.Ondrej Zajicek
2011-10-27Fixes seqnum generation.Ondrej Zajicek
Thanks Mohammad Amin Shoaie for notification.
2011-10-01Fixes some error messages and the NSSA gw lookup.Ondrej Zajicek
Thanks to Alexander V. Chernikov for the patch.
2011-09-03Fixes for OSPF NSSA handling.Ondrej Zajicek
2011-08-08OSPF NSSA support, inter-area LSA translation.Ondrej Zajicek
2011-07-22OSPF NSSA translator election.Ondrej Zajicek
2011-07-20OSPF NSSA support, part one.Ondrej Zajicek
2011-03-28Minor changes in addresses.Ondrej Zajicek
Mainly changes IA_UNNUMBERED to IA_PEER and adds IA_HOST. Also do not show broadcast addr in show interfaces. Nobody cares for that.
2011-03-17Vastly improved OSPF reconfiguration.Ondrej Zajicek
Now it can handle a change in iface pattern structure. It can add, remove and reconfigure interfaces, vlinks and areas.
2010-12-28A simplification of the next-hop calculation.Ondrej Zajicek
Thanks to Joakim Tjernlund for the idea.
2010-12-24Implements Point-to-MultiPoint interface type for OSPF.Ondrej Zajicek
2010-12-23Fixes a minor memory wasting.Ondrej Zajicek
2010-12-07Multipath support for OSPFOndrej Zajicek
2010-11-13Adds support for iface link detection to OSPF.Ondrej Zajicek
2010-11-10Fixes a bug related to implicit backbone on ABR.Ondrej Zajicek
2010-07-31Fixes bug in OSPF ext-LSA origination.Ondrej Zajicek
2010-06-02Minor bug that appears only in debug mode.Ondrej Filip
2010-05-23Check for OSPF seqnum wraparound and handle it.Ondrej Zajicek
2010-05-16Do not originate summary or external LSA if it already here and not changed.Ondrej Zajicek
2010-05-02OSPF: most of summary LSA orig./flush logic rewritten.Ondrej Zajicek
Fixes many bugs in the old code and makes it much cleaner.
2010-04-21Fixes several problems in OSPF vlink implementation.Ondrej Zajicek
2010-03-14Temporary OSPF commit - sockets.Ondrej Zajicek
2010-03-11Merge branch 'new' into socket2Ondrej Zajicek
2010-02-21Fix configure to enable warnings and fix most of them.Ondrej Zajicek
2010-02-11Temporary OSPF commit - socket changes.Ondrej Zajicek
2010-01-03Implements MRTdump feature.Ondrej Zajicek
2009-12-15Fixes export of routes with link-local gw.Ondrej Zajicek
2009-12-14Minor updates.Ondrej Zajicek
2009-12-11Implements protocol-specific Router ID for OSPF.Ondrej Zajicek
And fixes one minor bug.
2009-12-03Fixes OSPFv2 build.Ondrej Zajicek
2009-10-29Implements better checks on incoming packets and LSAs in OSPF.Ondrej Zajicek
2009-10-25Implements proper handling of summary/external LSA IDs.Ondrej Zajicek
2009-10-15Reimplements 'show ospf state' for OSPFv3 and fixes some bugs.Ondrej Zajicek