1. 09 Nov, 2015 1 commit
    • Ondřej Zajíček's avatar
      Conf: Fixes bug in symbol lookup during reconfiguration · 9b9a7143
      Ondřej Zajíček authored
      Symbol lookup by cf_find_symbol() not only did the lookup but also added
      new void symbols allocated from cfg_mem linpool, which gets broken when
      lookups are done outside of config parsing, which may lead to crashes
      during reconfiguration.
      
      The patch separates lookup-only cf_find_symbol() and config-modifying
      cf_get_symbol(), while the later is called only during parsing. Also
      new_config and cfg_mem global variables are NULLed outside of parsing.
      9b9a7143
  2. 03 Nov, 2015 2 commits
  3. 17 Oct, 2015 1 commit
  4. 19 Aug, 2015 1 commit
  5. 28 Jul, 2015 3 commits
  6. 24 Jul, 2015 1 commit
  7. 20 Jul, 2015 1 commit
  8. 19 Jul, 2015 1 commit
  9. 18 Jul, 2015 5 commits
  10. 08 Jun, 2015 7 commits
  11. 01 Jun, 2015 1 commit
  12. 22 May, 2015 1 commit
  13. 17 May, 2015 1 commit
  14. 16 May, 2015 1 commit
    • Ondřej Zajíček's avatar
      Fix minor issue in pipe route propagation · 86f567e1
      Ondřej Zajíček authored
      In some circumstances during reconfiguration, routes propagated by pipes
      to other tables may hang there even after the primary routes are removed.
      
      There is already a workaround for this issue in the code which removes
      these stale routes by flush process when source protocols are shut down.
      
      This patch is a cleaner fix and allows to simplify the flush process
      86f567e1
  15. 13 May, 2015 1 commit
  16. 12 May, 2015 1 commit
    • Ondřej Zajíček's avatar
      KRT: Add support for plenty of kernel route metrics · 9fdf9d29
      Ondřej Zajíček authored
      Linux kernel route metrics (RTA_METRICS netlink route attribute) are
      represented and accessible as new route attributes:
      
      krt_mtu, krt_window, krt_rtt, krt_rttvar, krt_sstresh, krt_cwnd, krt_advmss,
      krt_reordering, krt_hoplimit, krt_initcwnd, krt_rto_min, krt_initrwnd,
      krt_quickack, krt_lock_mtu, krt_lock_window, krt_lock_rtt, krt_lock_rttvar,
      krt_lock_sstresh, krt_lock_cwnd, krt_lock_advmss, krt_lock_reordering,
      krt_lock_hoplimit, krt_lock_rto_min, krt_feature_ecn, krt_feature_allfrag
      9fdf9d29
  17. 10 May, 2015 1 commit
  18. 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
  19. 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
  20. 25 Apr, 2015 2 commits
  21. 22 Apr, 2015 1 commit
  22. 20 Apr, 2015 1 commit
  23. 19 Apr, 2015 1 commit
  24. 18 Apr, 2015 1 commit
  25. 12 Apr, 2015 1 commit
  26. 01 Apr, 2015 1 commit
    • Ondřej Zajíček's avatar
      BGP: Fixes serious bug in TX handling · d924d5a5
      Ondřej Zajíček authored
      Under some circumstances and heavy load, TX could be postponed
      until the session fails with hold timer expired.
      
      Thanks to Javor Kliachev for making the bug reproductible.
      d924d5a5