1. 01 Nov, 2016 1 commit
  2. 12 May, 2016 1 commit
  3. 23 Mar, 2016 2 commits
    • Ondřej Zajíček's avatar
      OSPF: Fix bogus LSA ID collisions between received and originated LSAs · 39a6b19d
      Ondřej Zajíček authored
      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.
      39a6b19d
    • Ondřej Zajíček's avatar
      OSPF: Fix reading from freed memory · a459f4df
      Ondřej Zajíček authored
      Thanks to Pavel Tvrdik for noticing it.
      a459f4df
  4. 25 Feb, 2016 1 commit
  5. 24 Nov, 2015 1 commit
  6. 05 Oct, 2015 1 commit
    • Ondřej Zajíček's avatar
      Major RIP redesign · 8465dccb
      Ondřej Zajíček authored
      The new RIP implementation fixes plenty of old bugs and also adds support
      for many new features: ECMP support, link state support, BFD support,
      configurable split horizon and more. Most options are now per-interface.
      8465dccb
  7. 19 Aug, 2015 1 commit
  8. 20 Jul, 2015 1 commit
  9. 08 Jun, 2015 2 commits
  10. 01 Jun, 2015 1 commit
  11. 01 May, 2015 1 commit
    • Ondřej Zajíček's avatar
      OSPF: Redesign LSA checksumming · 77edab64
      Ondřej Zajíček authored
      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.
      77edab64
  12. 28 Apr, 2015 1 commit
    • Ondřej Zajíček's avatar
      OSPF: Fixes validation of LSA checksums · 30d09eb9
      Ondřej Zajíček authored
      Prior to this patch, BIRD validates the OSPF LSA checksum by calculating
      a new checksum and comparing it with the checksum in the header. Due to
      the specifics of the Fletcher checksum used in OSPF, this is not
      necessarily correct as the checkbytes in the header may be calculated via
      a different means and end up with a different value that is nonetheless
      still correct.
      
      The documented means of validating the checksum as specified in RFC 905
      B.4 is to calculate c0 and c1 from the unchanged contents of the packet,
      which must result in a zero value to be considered valid.
      
      Thanks to Chris Boot for the patch.
      30d09eb9
  13. 18 Apr, 2015 1 commit
  14. 12 Apr, 2015 1 commit
  15. 21 Feb, 2015 1 commit
  16. 04 Nov, 2014 1 commit
  17. 03 Nov, 2014 3 commits
  18. 24 Oct, 2014 2 commits
  19. 16 Oct, 2014 1 commit
  20. 21 Jul, 2014 1 commit
  21. 19 Jul, 2014 1 commit
  22. 18 Jul, 2014 1 commit
  23. 26 Jun, 2014 1 commit
  24. 18 May, 2014 1 commit
  25. 23 Apr, 2014 1 commit
    • Ondřej Zajíček's avatar
      Extends multipath support for OSPF. · 145368f5
      Ondřej Zajíček authored
      Fixes cases where the same network or external route are propagated by
      several OSPF routes and some other corner cases in next hop construction
      and ECMP. Allows to specify whether external routes should be merged.
      
      Thanks to Peter Christensen for the original patch.
      145368f5
  26. 31 Mar, 2014 1 commit
  27. 06 Feb, 2014 3 commits
    • Ondřej Zajíček's avatar
      Fixes crash when state of disabled OSPF protocol is queried. · 10c2e1e0
      Ondřej Zajíček authored
      Thanks to Ondrej Caletka for the bugreport.
      10c2e1e0
    • Ondřej Zajíček's avatar
      Silence this annoying warning. · cba9cbf1
      Ondřej Zajíček authored
      cba9cbf1
    • Ondřej Zajíček's avatar
      Many changes in I/O and OSPF sockets and packet handling. · 48e5f32d
      Ondřej Zajíček authored
      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
      48e5f32d
  28. 24 Nov, 2013 1 commit
  29. 22 Nov, 2013 2 commits
  30. 19 Nov, 2013 1 commit
  31. 21 Oct, 2013 1 commit
  32. 26 Sep, 2013 1 commit