1. 06 Oct, 2017 1 commit
  2. 04 Oct, 2017 1 commit
    • Michal 'vorner' Vaner's avatar
      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.
      2a95e633
  3. 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
  4. 12 Sep, 2017 2 commits
  5. 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
  6. 30 Aug, 2017 4 commits
  7. 09 Aug, 2017 3 commits
  8. 14 Mar, 2017 2 commits
  9. 23 Feb, 2017 1 commit
  10. 19 Feb, 2017 1 commit
  11. 17 Feb, 2017 1 commit
    • Ondřej Zajíček's avatar
      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.
      30c734fc
  12. 15 Dec, 2016 1 commit
    • Ondřej Zajíček's avatar
      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.
      7d95c445
  13. 13 Dec, 2016 1 commit
    • Ondřej Zajíček's avatar
      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.
      9e7d3a78
  14. 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
  15. 15 Nov, 2016 1 commit
  16. 08 Nov, 2016 1 commit
  17. 02 Nov, 2016 5 commits
  18. 01 Nov, 2016 1 commit
  19. 27 Oct, 2016 1 commit
  20. 03 Oct, 2016 1 commit
    • Ondřej Zajíček's avatar
      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.
      66dbdbd9
  21. 15 Sep, 2016 1 commit
    • Pavel Tvrdik's avatar
      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.
      0f5054f6
  22. 14 Sep, 2016 1 commit
  23. 20 Jul, 2016 1 commit
  24. 19 Jul, 2016 5 commits
  25. 11 Jul, 2016 1 commit