1. 11 Oct, 2020 1 commit
    • Ondřej Zajíček's avatar
      RPKI: Add 'ignore max length' option · fc1e3211
      Ondřej Zajíček authored
      Add 'ignore max length' option to RPKI protocol, which ignores received
      max length in ROA records and instead uses max value (32 or 128). This
      may be useful for implementing loose RPKI check for blackholes.
      fc1e3211
  2. 05 Oct, 2020 2 commits
  3. 31 Aug, 2020 1 commit
  4. 12 Aug, 2020 1 commit
    • Ondřej Zajíček's avatar
      OSPF: Skip out-of-state packets earlier · dc8d9dec
      Ondřej Zajíček authored
      Sometimes multicast OSPF packet is received when neighbor adjacency is
      not established. Such packet should be ignored earlier in packet
      processing as otherwise it causes strange error messages when OSPFv3
      authentication is enabled.
      dc8d9dec
  5. 16 Jul, 2020 1 commit
  6. 28 Jun, 2020 3 commits
    • Ondřej Zajíček's avatar
      Show info from multiple protocols when protocol is not specified · c26c6bc2
      Ondřej Zajíček authored
      Most commands like 'show ospf neighbors' fail when protocol is not
      specified and there are multiple instances of given protocol type.
      This is annoying in BIRD 2, as many protocols have IPv4 and IPv6
      instances. The patch changes that by showing output from all protocol
      instances of appropriate type.
      
      Note that the patch also removes terminating cli_msg() call from these
      commands and moves it to the common iterating code.
      c26c6bc2
    • Kazuki Yamaguchi's avatar
      Filter: Improve handling of sets in BGP path masks · a948cf9a
      Kazuki Yamaguchi authored
      Compare the content of PM_ASN_SET in path masks. A reconfiguration
      was not properly triggering a reload of affected protocols when the
      members of a set in a path mask change.
      
      Also, update the printing code to so that it can display sets in a path
      mask.
      a948cf9a
    • Kazuki Yamaguchi's avatar
      Filter: Fix comparison of BGP path mask · 4ef0a966
      Kazuki Yamaguchi authored
      Add a missing return statement. Path masks with the same length were all
      considered the same. Comparing two with different length would cause
      out-of-bounds memory access.
      4ef0a966
  7. 10 Jun, 2020 1 commit
  8. 03 Jun, 2020 5 commits
  9. 02 Jun, 2020 1 commit
  10. 26 May, 2020 2 commits
    • Ondřej Zajíček's avatar
      Babel: Set onlink flag for IPv4 routes with unreachable next hop · 4e8f8afc
      Ondřej Zajíček authored
      If the next hop of a route is not a reachable address, the route should be
      installed as onlink. This enables a configuration common in mesh networks
      where the mesh interface is assigned a /32 and babel handles the routing by
      installing onlink routes.
      
      Thanks to Toke Hoiland-Jorgensen for the patch.
      4e8f8afc
    • Ondřej Zajíček's avatar
      OSPF: Fix handling of unnumbered PtPs · c1632ad0
      Ondřej Zajíček authored
      This issue has a long history. In 2012, we changed data field for
      unnumbered PtP links from iface id (specified by RFC) to IP address based
      on reports of bugs in Quagga that required it, and we used out-of-band
      information to distinquish unnumberred PtPs with the same local IP
      address.
      
      Then with OSPF graceful restart implementation, we found that we can no
      longer use out-of-band information, and we need to use only LSAdb info
      for routing table calculation, but i forgot to finish handling of this
      case, so multiple unnumbered PtPs with the same local IP addresses were
      broken.
      
      Considering that even recent Mikrotik RouterOS has broken next hop
      calculation that depends on IP address in PtP link data field, we
      cannot just switch back to the iface id for unnumbered PtP links.
      
      The patch makes two changes: First, it goes back to use out-of-band
      (position) info for distinguishing local interfaces in SPF when graceful
      restart is not enabled, while still uses LSAdb-only approach for SPF
      calculation when graceful restart is enabled.
      
      Second, it adds OSPF interface option 'ptp address', which controls
      whether IP address or iface id is used in data field. It is enabled
      by default except for unnumbered PtP links with enabled graceful
      restart.
      
      Thanks to Kenth Eriksson for the bugreport and Joakim Tjernlund for
      suggestions.
      c1632ad0
  11. 19 May, 2020 2 commits
  12. 18 May, 2020 1 commit
    • Ondřej Zajíček's avatar
      Nest: Implement BGP path mask loop operator · ec430a7f
      Ondřej Zajíček authored
      Implement regex-like '+' operator in BGP path masks to match previous
      path mask item multiple times. This is useful as ASNs may appear
      multiple times in paths due to path prepending for traffic engineering
      purposes.
      ec430a7f
  13. 12 May, 2020 1 commit
  14. 11 May, 2020 1 commit
  15. 05 May, 2020 2 commits
  16. 02 May, 2020 1 commit
  17. 01 May, 2020 14 commits