1. 19 Jul, 2018 2 commits
  2. 06 Jul, 2018 1 commit
    • Ondřej Zajíček's avatar
      Nest: Fix race condition during reconfiguration, part 2 · 092c4930
      Ondřej Zajíček authored
      If export filter is changed during reconfiguration and a route disappears
      between reconfiguration and refeed (e.g., if the route is a static route
      also removed during the reconfiguration), the route is not withdrawn.
      
      The issue was fixed for regular channels by an earlier patch. This patch
      fixes the issue for channels in RA_ACCEPTED mode (first-pass-the-filter),
      used by BGP with 'secondary' option.
      092c4930
  3. 03 Jul, 2018 2 commits
  4. 01 Jul, 2018 2 commits
  5. 29 Jun, 2018 1 commit
  6. 27 Jun, 2018 2 commits
  7. 26 Jun, 2018 4 commits
  8. 19 Jun, 2018 2 commits
  9. 13 Jun, 2018 2 commits
  10. 30 May, 2018 1 commit
    • Jan Maria Matejka's avatar
      Nest: Removing separate tmpa from route propagation · 13c0be19
      Jan Maria Matejka authored
      This is a fundamental change of an original (1999) concept of route
      processing inside BIRD. During import/export, there was a temporary
      ea_list created which was to be used instead of the another one inside
      the route itself.
      
      This led to some confusion, quirks, and strange filter code that handled
      extended route attributes. Dropping it now.
      
      The protocol interface has changed in an uniform way -- the
      `struct ea_list *attrs` argument has been removed from store_tmp_attrs(),
      import_control(), rt_notify() and get_route_info().
      13c0be19
  11. 29 May, 2018 8 commits
  12. 24 May, 2018 1 commit
    • Ondřej Zajíček's avatar
      Do not initialize route metrics in import_control hook · feae132e
      Ondřej Zajíček authored
      During route export, the receiving protocol often initialized route
      metrics to default value in its import_control hook before export filter
      was executed. This is inconsistent with the expectation that an export
      filter would process the same route as one in the routing table and it
      breaks setting these metrics before (e.g. for static routes directly in
      static protocol).
      
      The patch removes the initialization of route metrics in import_control
      hook, the default values are already handled in rt_notify hook called
      after export filters.
      
      The patch also changed the behavior of OSPF to keep metrics when a route
      is reannounced between OSPF instances (to be consistent with other
      protocols) and the behavior when both ospf_metric1 and ospf_metric2
      are specified (to have more expected behavior).
      feae132e
  13. 16 May, 2018 1 commit
  14. 03 May, 2018 4 commits
    • Ondřej Zajíček's avatar
      Better initialization of random generator · eaf63d31
      Ondřej Zajíček authored
      Use full time precision to initialize random generator. The old
      code was prone to initialize it to the same values in specific
      circumstances (boot without RTC, multiple VMs starting at once).
      eaf63d31
    • Ondřej Zajíček's avatar
      Babel: Add option to randomize router ID · 70fab178
      Ondřej Zajíček authored
      When a Babel node restarts, it loses its sequence number, which can cause
      its routes to be rejected by peers until the state is cleared out by other
      nodes in the network (which can take on the order of minutes).
      
      There are two ways to fix this: Having stable storage to keep the sequence
      number across restarts, or picking a different router ID each time.
      
      This implements the latter, by introducing a new option that will cause
      BIRD to randomize a high 32 bits of router ID every time it starts up.
      This avoids the problem at the cost of not having stable router IDs in
      the network.
      
      Thanks to Toke Hoiland-Jorgensen for the patch.
      70fab178
    • Ondřej Zajíček's avatar
      Babel: Fix type of route entry router ID · 23b07904
      Ondřej Zajíček authored
      The router ID being assigned to routes was a uint, which discards the
      upper 32 bits. This also has the nice side effect of echoing the wrong
      router ID back to other routers.
      
      Thanks to Toke Hoiland-Jorgensen for the patch.
      23b07904
    • Jan Maria Matejka's avatar
      Makefile: Only set git version if BIRD is build from its repository. · 29958745
      Jan Maria Matejka authored
      Thanks to Toke Høiland-Jørgensen <toke@toke.dk> for reporting this bug.
      29958745
  15. 27 Apr, 2018 1 commit
  16. 25 Apr, 2018 1 commit
  17. 12 Apr, 2018 1 commit
  18. 03 Apr, 2018 2 commits
  19. 24 Mar, 2018 1 commit
  20. 23 Mar, 2018 1 commit