1. 07 Mar, 2018 1 commit
  2. 16 Jan, 2018 1 commit
  3. 14 Dec, 2017 1 commit
  4. 28 Nov, 2017 1 commit
    • Babel: Parse flags in Hello TLV · 1e8721e2
      Ondřej Zajíček authored
      RFC6126bis introduces a flags field for the Hello TLV, and adds a unicast flag
      that is used to signify that a hello was sent as unicast. This adds parsing of
      the flags field and ignores such unicast hellos, which preserves compatibility
      until we can add a proper implementation of the unicast hello mechanism.
      
      Thanks to Toke Hoiland-Jorgensen for the patch.
  5. 06 Oct, 2017 1 commit
  6. 04 Oct, 2017 1 commit
    • RAdv: Support for more specific routes (RFC 4191) · 2a95e633
      Michal 'vorner' Vaner authored
      The patch implements Default Router Preferences and More-Specific Routes
      (RFC 4191) for RAdv protocol, allowing to announce router preference and
      more specific routes in router advertisements. Routes can be exported to
      RAdv like to regular routing protocols.
      
      Some cleanups, bugfixes and other changes done by Ondrej Zajicek.
  7. 19 Sep, 2017 1 commit
    • 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.
  8. 12 Sep, 2017 2 commits
  9. 06 Sep, 2017 1 commit
    • 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.
  10. 30 Aug, 2017 4 commits
  11. 09 Aug, 2017 3 commits
  12. 14 Mar, 2017 2 commits
  13. 23 Feb, 2017 1 commit
  14. 19 Feb, 2017 1 commit
  15. 17 Feb, 2017 1 commit
    • Static: Fix bug in static route filter expressions · 30c734fc
      Ondřej Zajíček authored
      During reconfiguration, old and new filter expressions in static routes
      are compared using i_same() function. When filter expressions contain
      function calls, it is necessary that old filter expressions are the
      second argument in i_same(), as it is internally modified by i_same().
      Otherwise pointers to old (and freed) data appear in the config
      structure.
      
      Thanks to Lennert Buytenhek for tracking and reporting the bug.
  16. 15 Dec, 2016 1 commit
    • OSPF: Fix ECMP external merging · 7d95c445
      Ondřej Zajíček authored
      The variable nfa is not cleaned before each loop iteration and can have
      a wrong value of nfa.nhs_reuse from the previous step.
      
      Thanks to Bernardo Figueiredo for the bugreport and analysis.
  17. 13 Dec, 2016 1 commit
    • OSPF: Fix net-summary origination combined with stubnet option · 9e7d3a78
      Ondřej Zajíček authored
      Stubnet nodes in OSPF FIB were removed during rt_sync(), but the pointer
      remained in top_hash_entry.nf, so net-summary LSA origination was
      confused, reported 'LSA ID collision' and net-summary LSAs were not
      originated properly.
      
      Thanks to Naveen Chowdary Yerramneni for bugreport and analysis.
  18. 25 Nov, 2016 1 commit
    • 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.
  19. 15 Nov, 2016 1 commit
    • BGP: Cluster list item should be prepended · 261816b0
      Ondřej Zajíček authored
      Commit 3c09af41... changed behavior of int_set_add() from prepend to
      append, which makes more sense for community list, but prepend must be
      used for cluster list. Add int_set_prepend() and use it in cluster list
      handling code.
  20. 08 Nov, 2016 1 commit
  21. 02 Nov, 2016 5 commits
  22. 01 Nov, 2016 1 commit
  23. 27 Oct, 2016 1 commit
  24. 03 Oct, 2016 1 commit
    • BGP: Support for large communities · 66dbdbd9
      Ondřej Zajíček authored
      Add support for large communities (draft-ietf-idr-large-community),
      96bit alternative to RFC 1997 communities.
      
      Thanks to Matt Griswold for the original patch.
  25. 15 Sep, 2016 1 commit
    • BFD: Fix invalid read from pollfd array · 0f5054f6
      Pavel Tvrdik authored
      It is possible that sockets_add() are called between sockets_prepare()
      and sockets_fire() during poll loop in birdloop_main(), so we need to
      use loop->poll_fd.used instead of loop->sock_num to find the last field.
  26. 14 Sep, 2016 1 commit
  27. 20 Jul, 2016 1 commit
  28. 19 Jul, 2016 2 commits