1. 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
      Also, the patch fixes device route export to the kernel, by setting link
      scope automatically.
  2. 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.
  3. 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
      Proper learning of alien IPv6 ECMP routes still not supported.
      Thanks to Mikhail Sennikovskii for the original patch.
  4. 30 Aug, 2016 1 commit
  5. 20 Jul, 2016 2 commits
  6. 10 May, 2016 1 commit
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 11 Nov, 2015 2 commits
  12. 17 Oct, 2015 1 commit
  13. 28 Jul, 2015 1 commit
  14. 08 Jun, 2015 2 commits
  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
  17. 31 Mar, 2015 1 commit
  18. 21 Feb, 2015 1 commit
  19. 02 Oct, 2014 1 commit
  20. 26 Jun, 2014 1 commit
  21. 18 May, 2014 1 commit
  22. 31 Mar, 2014 1 commit
  23. 26 Feb, 2014 1 commit
  24. 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
       - 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.
       - 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
  25. 25 Nov, 2013 1 commit
  26. 23 Nov, 2013 1 commit
  27. 26 Sep, 2013 1 commit
  28. 04 Jul, 2013 1 commit
  29. 25 Jun, 2013 1 commit
  30. 24 Jun, 2013 1 commit
  31. 28 May, 2013 1 commit
  32. 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.
  33. 06 Aug, 2012 1 commit
  34. 11 May, 2012 1 commit
  35. 04 May, 2012 1 commit
  36. 30 Apr, 2012 2 commits
    • Ondřej Zajíček's avatar
      Cleanup in sysdep KRT code, part 2. · f1aceff5
      Ondřej Zajíček authored
      Remove support for historic Linux kernels,
      merge krt-iface, krt-set and krt-scan stub headers.
    • Ondřej Zajíček's avatar
      Cleanup in sysdep KRT code, part 1. · 396dfa90
      Ondřej Zajíček authored
      OS-dependent functions renamed to be more consistent,
      prepared to merge krt-set and krt-scan headers.
      Name changes:
      struct krt_if_params -> struct kif_params
      struct krt_if_status -> struct kif_status
      struct krt_set/scan_params -> struct krt_params
      struct krt_set/scan_status -> struct krt_status
      krt_if_params_same -> kif_sys_reconfigure
      krt_if_copy_params -> kif_sys_copy_config
      krt_set/scan_params_same -> krt_sys_reconfigure
      krt_set/scan_copy_params -> krt_sys_copy_config
      krt_if_scan -> kif_do_scan
      krt_set_notify -> krt_do_notify
      krt_scan_fire -> krt_do_scan
      krt_if_ -> kif_sys_
      krt_scan_ -> krt_sys_
      krt_set_ -> krt_sys_