1. 12 Sep, 2017 1 commit
  2. 06 Sep, 2017 1 commit
    • Ondřej Zajíček's avatar
      Basic VRF support · 943478b0
      Ondřej Zajíček authored
      Add basic VRF (virtual routing and forwarding) support. Protocols can be
      associated with VRFs, such protocols will be restricted to interfaces
      assigned to the VRF (as reported by Linux kernel) and will use sockets
      bound to the VRF. E.g., different multihop BGP instances can use diffent
      kernel routing tables to handle BGP TCP connections.
      
      The VRF support is preliminary, currently there are several limitations:
      
      - Recent Linux kernels (4.11) do not handle correctly sockets bound
      to interaces that are part of VRF, so most protocols other than multihop
      BGP do not work. This will be fixed by future kernel versions.
      
      - Neighbor cache ignores VRFs. Breaks config with the same prefix on
      local interfaces in different VRFs. Not much problem as single hop
      protocols do not work anyways.
      
      - Olock code ignores VRFs. Breaks config with multiple BGP peers with the
      same IP address in different VRFs.
      
      - Incoming BGP connections are not dispatched according to VRFs.
      Breaks config with multiple BGP peers with the same IP address in
      different VRFs. Perhaps we would need some kernel API to read VRF of
      incoming connection? Or probably use multiple listening sockets in
      int-new branch.
      
      - We should handle master VRF interface up/down events and perhaps
      disable associated protocols when VRF goes down. Or at least disable
      associated interfaces.
      
      - Also we should check if the master iface is really VRF iface and
      not some other kind of master iface.
      
      - BFD session request dispatch should be aware of VRFs.
      
      - Perhaps kernel protocol should read default kernel table ID from VRF
      iface so it is not necessary to configure it.
      
      - Perhaps we should have per-VRF default table.
      943478b0
  3. 16 May, 2017 1 commit
  4. 25 Nov, 2016 1 commit
    • Ondřej Zajíček's avatar
      BGP: Fix memory leak in graceful restart code · ed1a908e
      Ondřej Zajíček authored
      Prefix and bucket tables are initialized when entering established state
      but not explicitly freed when leaving it (that is handled by protocol
      restart). With graceful restart, BGP may enter and leave established
      state multiple times without hard protocol restart causing memory leak.
      ed1a908e
  5. 08 Nov, 2016 1 commit
  6. 03 Nov, 2016 1 commit
  7. 02 Nov, 2016 2 commits
  8. 01 Nov, 2016 2 commits
  9. 16 Aug, 2016 1 commit
  10. 12 May, 2016 1 commit
  11. 28 Apr, 2016 1 commit
    • Ondřej Zajíček's avatar
      Add the Babel routing protocol (RFC 6126) · 937e75d8
      Ondřej Zajíček authored
      This patch implements the IPv6 subset of the Babel routing protocol.
      Based on the patch from Toke Hoiland-Jorgensen, with some heavy
      modifications and bugfixes.
      
      Thanks to Toke Hoiland-Jorgensen for the original patch.
      937e75d8
  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. 07 Apr, 2016 1 commit
  14. 06 Apr, 2016 1 commit
    • Ondřej Zajíček's avatar
      IO: Replace RX priority heuristic with explicit mark · 9e7b3ebd
      Ondřej Zajíček authored
      In BIRD, RX has lower priority than TX with the exception of RX from
      control socket. The patch replaces heuristic based on socket type with
      explicit mark and uses it for both control socket and BGP session waiting
      to be established.
      
      This should avoid an issue when during heavy load, outgoing connection
      could connect (TX event), send open, but then failed to receive OPEN /
      establish in time, not sending notifications between and therefore
      got hold timer expired error from the neighbor immediately after it
      finally established the connection.
      9e7b3ebd
  15. 23 Mar, 2016 2 commits
  16. 24 Nov, 2015 3 commits
  17. 13 Nov, 2015 4 commits
  18. 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
  19. 08 Jun, 2015 3 commits
  20. 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
  21. 02 Mar, 2015 1 commit
  22. 24 Feb, 2015 1 commit
  23. 22 Feb, 2015 1 commit
  24. 21 Feb, 2015 3 commits
  25. 03 Nov, 2014 1 commit
  26. 24 Oct, 2014 1 commit
  27. 02 Oct, 2014 1 commit
  28. 30 Jun, 2014 1 commit