1. 19 Sep, 2017 1 commit
    • Ondřej Zajíček's avatar
      BGP: Shutdown communication (RFC 8203) · cd1d9961
      Ondřej Zajíček authored
      The patch implements BGP Administrative Shutdown Communication (RFC 8203)
      allowing BGP operators to pass messages related to BGP session
      administrative shutdown/restart. It handles both transmit and receive of
      shutdown messages. Messages are logged and may be displayed by show
      protocol all command.
      
      Thanks to Job Snijders for the basic patch.
      cd1d9961
  2. 12 Sep, 2017 1 commit
  3. 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
  4. 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
  5. 08 Jun, 2015 2 commits
  6. 29 Mar, 2015 1 commit
  7. 21 Feb, 2015 1 commit
  8. 27 Apr, 2014 1 commit
  9. 20 Mar, 2014 1 commit
    • Ondřej Zajíček's avatar
      BGP graceful restart support. · 0c791f87
      Ondřej Zajíček authored
      Also significant core protocol state changes needed for that,
      global graceful restart recovery state and kernel proto support
      for recovery.
      0c791f87
  10. 16 Sep, 2013 1 commit
  11. 10 Jan, 2013 1 commit
  12. 15 Nov, 2012 1 commit
  13. 10 Nov, 2012 1 commit
    • Ondřej Zajíček's avatar
      Allows rejected routes to be kept and examined. · cf98be7b
      Ondřej Zajíček authored
      When 'import keep rejected' protocol option is activated, routes
      rejected by the import filter are kept in the routing table, but they
      are hidden and not propagated to other protocols. It is possible to
      examine them using 'show route rejected'.
      cf98be7b
  14. 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
  15. 06 Aug, 2012 1 commit
  16. 28 Apr, 2012 1 commit
  17. 24 Apr, 2012 1 commit
  18. 21 Apr, 2012 1 commit
  19. 15 Apr, 2012 1 commit
  20. 28 Mar, 2012 1 commit
  21. 15 Mar, 2012 1 commit
    • Ondřej Zajíček's avatar
      Better support for multitable protocols. · c0adf7e9
      Ondřej Zajíček authored
      The nest-protocol interaction is changed to better handle multitable
      protocols. Multitable protocols now declare that by 'multitable' field,
      which tells nest that a protocol handles things related to proto-rtable
      interaction (table locking, announce hook adding, reconfiguration of
      filters) itself.
      
      Filters and stats are moved to announce hooks, a protocol could have
      different filters and stats to different tables.
      
      The patch is based on one from Alexander V. Chernikov, thanks.
      c0adf7e9
  22. 24 Jan, 2012 1 commit
  23. 22 Dec, 2011 1 commit
  24. 07 Nov, 2011 1 commit
    • Ondřej Zajíček's avatar
      Implements protocol templates. · a7f23f58
      Ondřej Zajíček authored
      Based on the patch from Alexander V. Chernikov.
      Extended to support almost all protocols.
      Uses 'protocol bgp NAME from TEMPLATE { ... }' syntax.
      a7f23f58
  25. 13 Mar, 2011 1 commit
  26. 05 Jul, 2010 1 commit
  27. 07 Apr, 2010 1 commit
  28. 26 Feb, 2010 1 commit
    • Ondřej Zajíček's avatar
      Many changes in (mainly) kernel syncers. · ff2857b0
      Ondřej Zajíček authored
      - BSD kernel syncer is now self-conscious and can learn alien routes
      - important bugfix in BSD kernel syncer (crash after protocol restart)
      - many minor changes and bugfixes in kernel syncers and neighbor cache
      - direct protocol does not generate host and link local routes
      - min_scope check is removed, all routes have SCOPE_UNIVERSE by default
      - also fixes some remaining compiler warnings
      ff2857b0
  29. 21 Feb, 2010 1 commit
  30. 20 Feb, 2010 1 commit
  31. 13 Feb, 2010 2 commits
  32. 11 Feb, 2010 1 commit
    • Ondřej Zajíček's avatar
      Fixes a tricky bug in the pipe protocol. · c8387626
      Ondřej Zajíček authored
      When uncofiguring the pipe and the peer table, the peer table was
      unlocked when pipe protocol state changed to down/flushing and not to
      down/hungry. This leads to the removal of the peer table before
      the routes from the pipe were flushed.
      
      The fix leads to adding some pipe-specific hacks to the nest,
      but this seems inevitable.
      c8387626
  33. 03 Jan, 2010 1 commit
  34. 14 Dec, 2009 1 commit
  35. 02 Dec, 2009 1 commit
  36. 26 Nov, 2009 1 commit
  37. 17 Nov, 2009 1 commit
  38. 12 Oct, 2009 1 commit