1. 04 Sep, 2017 1 commit
    • Ondřej Zajíček's avatar
      BSD: Fix alignment issue · 9befc7cc
      Ondřej Zajíček authored
      Incorrect structure alignment breaks kernel routing table updates on
      FreeBSD/ARM (and perhaps other platforms).
      
      Thanks to Eugene Sevastyanov for the original patch.
      9befc7cc
  2. 17 Jan, 2017 1 commit
    • Ondřej Zajíček's avatar
      Fix IP_HDRINCL usage on FreeBSD 11 · f6e6c3b5
      Ondřej Zajíček authored
      FreeBSD 11 changed endianity of ip_len field from host order to network
      order. Also DragonFly BSD allegedly expects network order here.
      
      Thanks to Olivier Cochard-Labbé for the patch.
      f6e6c3b5
  3. 01 Nov, 2016 2 commits
  4. 29 Sep, 2016 1 commit
  5. 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
  6. 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
  7. 11 Nov, 2015 1 commit
  8. 08 Jun, 2015 2 commits
  9. 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
  10. 22 Apr, 2015 1 commit
  11. 12 Apr, 2015 1 commit
  12. 24 Oct, 2014 1 commit
  13. 09 Jul, 2014 1 commit
  14. 26 Jun, 2014 1 commit
  15. 18 May, 2014 1 commit
  16. 26 Feb, 2014 1 commit
  17. 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
  18. 25 Nov, 2013 1 commit
  19. 21 Nov, 2013 1 commit
  20. 22 Sep, 2013 1 commit
  21. 11 Jul, 2013 1 commit
  22. 07 Jul, 2013 1 commit
  23. 04 Jul, 2013 1 commit
  24. 25 Jun, 2013 1 commit
  25. 24 Jun, 2013 1 commit
  26. 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
  27. 08 Aug, 2012 1 commit
  28. 04 May, 2012 1 commit
  29. 30 Apr, 2012 3 commits
    • Ondřej Zajíček's avatar
      Cleanup in sysdep KRT code, part 3. · 7a2c48da
      Ondřej Zajíček authored
      Just one more renaming, old krt_set_notify() to krt_replace_rte().
      7a2c48da
    • 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.
      f1aceff5
    • 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_
      396dfa90
  30. 25 Mar, 2012 1 commit
  31. 23 Mar, 2012 1 commit
  32. 23 Jan, 2012 2 commits
  33. 21 Jan, 2012 1 commit
  34. 09 Jan, 2012 1 commit
  35. 08 Jan, 2012 1 commit