1. 16 May, 2017 1 commit
    • Ondřej Zajíček's avatar
      Some more autoconf cleanups · c253ec3a
      Ondřej Zajíček authored
      Replace integer type width detection with C99 fixed-width types.
      Also remove some unused or obsolete code.
      
      Thanks to Ruben Kerkhof for the patchset.
      c253ec3a
  2. 20 Dec, 2016 1 commit
  3. 08 Nov, 2016 1 commit
  4. 01 Nov, 2016 1 commit
  5. 29 Sep, 2016 1 commit
  6. 19 Sep, 2016 1 commit
    • Ondřej Zajíček's avatar
      KRT: Add krt_scope attribute · 6e75d0d2
      Ondřej Zajíček authored
      Add a new route attribute, krt_scope, to expose the Linux kernel route
      scope. Constants from /etc/iproute2/rt_scopes (prefixed by "ips_") are
      expected to be used with the attribute. Both import and export are
      supported.
      
      Also, the patch fixes device route export to the kernel, by setting link
      scope automatically.
      6e75d0d2
  7. 15 Sep, 2016 1 commit
    • Ondřej Zajíček's avatar
      KRT: Add kernel metric protocol option · 4adcb9df
      Ondřej Zajíček authored
      Kernel routes with different metrics do not clash with each other,
      therefore using dedicated metric value is a reliable way to avoid
      overwriting routes from other sources (e.g. kernel device routes).
      
      Although kernel route metric could already be set as a route attribute by
      filters, that is not consistent with the way how Linux kernel handles
      route metric - not just a route attribute, but a part of a route key.
      4adcb9df
  8. 14 Sep, 2016 1 commit
    • Ondřej Zajíček's avatar
      KRT: Support for IPv6 ECMP · 2feaa693
      Ondřej Zajíček authored
      Linux represents IPv6 ECMP routes as a sequence of unipath routes with
      the same prefix. We have to translate between our representation (one
      route with multipath next hop) and the Linux representation in both
      directions.
      
      Proper learning of alien IPv6 ECMP routes still not supported.
      
      Thanks to Mikhail Sennikovskii for the original patch.
      2feaa693
  9. 30 Aug, 2016 1 commit
  10. 20 Jul, 2016 2 commits
  11. 10 May, 2016 1 commit
  12. 13 Apr, 2016 1 commit
    • Ondřej Zajíček's avatar
      BSD: Add the IPsec SA/SP database entries control · a7baa098
      Ondřej Zajíček authored
      Add code for manipulation with TCP-MD5 keys in the IPsec SA/SP database
      at FreeBSD systems. Now, BGP MD5 authentication (RFC 2385) keys are
      handled automatically on both Linux and FreeBSD.
      
      Based on patches from Pavel Tvrdik.
      a7baa098
  13. 06 Apr, 2016 1 commit
    • Ondřej Zajíček's avatar
      KRT: Fix route learn scan when route changed · e86cfd41
      Ondřej Zajíček authored
      When a kernel route changed, function krt_learn_scan() noticed that and
      replaced the route in internal kernel FIB, but after that, function
      krt_learn_prune() failed to propagate the new route to the nest, because
      it confused the new route with the (removed) old best route and decided
      that the best route did not changed.
      
      Wow, the original code (and the bug) is almost 17 years old.
      e86cfd41
  14. 24 Nov, 2015 1 commit
    • Jan Moskyto Matejka's avatar
      Netlink: attribute validation before parsing · ad276157
      Jan Moskyto Matejka authored
      Wanted netlink attributes are defined in a table, specifying
      their size and neediness. Removing the long conditions that did the
      validation before.
      
      Also parsing IPv4 and IPv6 versions regardless on the IPV6 macro.
      ad276157
  15. 23 Nov, 2015 1 commit
    • Ondřej Zajíček's avatar
      Nest: Fix bug in device proto · 1e4891e4
      Ondřej Zajíček authored
      If an interface address notification is received during device protocol
      shutdown/restart, BIRD crashed.
      
      Thanks to Wei Huang for the bugreport.
      1e4891e4
  16. 11 Nov, 2015 2 commits
  17. 17 Oct, 2015 1 commit
  18. 28 Jul, 2015 1 commit
  19. 08 Jun, 2015 2 commits
  20. 13 May, 2015 1 commit
  21. 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
  22. 31 Mar, 2015 1 commit
  23. 21 Feb, 2015 1 commit
  24. 02 Oct, 2014 1 commit
  25. 26 Jun, 2014 1 commit
  26. 18 May, 2014 1 commit
  27. 31 Mar, 2014 1 commit
  28. 26 Feb, 2014 1 commit
  29. 06 Feb, 2014 1 commit
    • 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
  30. 25 Nov, 2013 1 commit
  31. 23 Nov, 2013 1 commit
  32. 26 Sep, 2013 1 commit
  33. 04 Jul, 2013 1 commit
  34. 25 Jun, 2013 1 commit
  35. 24 Jun, 2013 1 commit
  36. 28 May, 2013 1 commit
  37. 14 Aug, 2012 1 commit
    • Ondřej Zajíček's avatar
      Implements ADD-PATH extension for BGP. · 094d2bdb
      Ondřej Zajíček authored
      Allows to send and receive multiple routes for one network by one BGP
      session. Also contains necessary core changes to support this (routing
      tables accepting several routes for one network from one protocol).
      It needs some more cleanup before merging to the master branch.
      094d2bdb