1. 25 Oct, 2018 1 commit
    • Ondřej Zajíček's avatar
      OSPF: Fix some trace messages · 0ac9cb2c
      Ondřej Zajíček authored
      Missing argument in MTU change trace message can crash bird when MTU
      change happens and trace messages are active.
      
      Thanks to Alexander Velkov for the bugreport.
      0ac9cb2c
  2. 25 Apr, 2018 1 commit
  3. 07 Dec, 2017 3 commits
  4. 10 Oct, 2017 1 commit
  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. 02 Nov, 2016 1 commit
  7. 17 May, 2016 1 commit
  8. 25 Feb, 2016 1 commit
  9. 11 Jan, 2016 1 commit
  10. 24 Dec, 2015 1 commit
  11. 21 Dec, 2015 1 commit
  12. 19 Dec, 2015 1 commit
  13. 12 Nov, 2015 1 commit
  14. 05 Nov, 2015 1 commit
    • Ondřej Zajíček's avatar
      Initial commit on integrated BIRD · fe9f1a6d
      Ondřej Zajíček authored
      New data types net_addr and variants (in lib/net.h) describing
      network addresses (prefix/pxlen). Modifications of FIB structures
      to handle these data types and changing everything to use these
      data types instead of prefix/pxlen pairs where possible.
      
      The commit is WiP, some protocols are not yet updated (BGP, Kernel),
      and the code contains some temporary scaffolding.
      
      Comments are welcome.
      fe9f1a6d
  15. 19 Aug, 2015 1 commit
  16. 01 Jun, 2015 1 commit
  17. 03 Nov, 2014 3 commits
  18. 24 Oct, 2014 1 commit
  19. 19 Jul, 2014 1 commit
  20. 18 Jul, 2014 1 commit
  21. 26 Jun, 2014 1 commit
  22. 18 May, 2014 1 commit
  23. 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
  24. 24 Nov, 2013 1 commit
  25. 19 Nov, 2013 1 commit
  26. 11 Jul, 2013 1 commit
  27. 25 Jun, 2013 1 commit
  28. 24 Jun, 2013 1 commit
  29. 28 May, 2013 1 commit
  30. 17 Apr, 2013 1 commit
    • Ondřej Zajíček's avatar
      Fixes a compatibility issue in OSPFv2 PtP links. · 8df02847
      Ondřej Zajíček authored
      BIRD used zero netmask in hello packets on all PtP links, not just on
      unnumbered ones. This patch fixes it and adds option 'ptp netmask'
      for overriding the default behavior.
      
      Thanks to Alexander V. Chernikov for the original patch.
      8df02847
  31. 16 Apr, 2013 1 commit
  32. 10 Nov, 2012 1 commit
  33. 31 Oct, 2012 1 commit
  34. 14 May, 2012 1 commit
  35. 16 Mar, 2012 1 commit
  36. 15 Mar, 2012 1 commit