1. 20 Dec, 2018 1 commit
  2. 19 Dec, 2018 1 commit
  3. 05 Nov, 2018 1 commit
  4. 23 Apr, 2018 1 commit
  5. 19 Mar, 2018 1 commit
  6. 14 Mar, 2018 1 commit
    • Jan Maria Matejka's avatar
      Filter: make bgpmask literals real constructors · e8bc64e3
      Jan Maria Matejka authored
      The bgpmask literals can include expressions. This is OK but they have
      to be interpreted as soon as the code is run, not in the time the code
      is used as value.
      
      This led to strange behavior like rewriting bgpmasks when they shan't
      be rewritten:
      
      	function mask_generator(int as)
      	{
      		return [= * as * =];
      	}
      
      	function another()
      	bgpmask m1;
      	bgpmask m2;
      	{
      		m1 = mask_generator(10);
      		m2 = mask_generator(20);
      		if (m1 == m2) {
      			print("strange"); # this would happen
      		}
      	}
      
      Moreover, sending this to CLI would cause stack overflow and knock down the
      whole BIRD, as soon as there is at least one route to execute the given
      filter on.
      
      	show route filter bgpmask mmm; bgppath ppp; { ppp = +empty+; mmm = [= (ppp ~ mmm) =]; print(mmm); accept; }
      
      The magic match operator (~) inside the bgpmask literal would try to
      resolve mmm, which points to the same bgpmask so it would resolve
      itself, call the magic match operator and vice versa.
      
      After this patch, the bgpmask literal will get resolved as soon as it's
      assigned to mmm and it also will return a type error as bool is not
      convertible to ASN in BIRD.
      e8bc64e3
  7. 13 Mar, 2018 3 commits
    • Jan Maria Matejka's avatar
      Filters: Removed FI_COMMA, not used for 19 years. · 74bfd2f9
      Jan Maria Matejka authored
      This instruction was removed in the commit linked below
      and never used ever again. Rest in peace.
      
      commit 84c7e194
      Author: Pavel Machek <pavel@ucw.cz>
      Date:   Tue Mar 2 19:49:28 1999 +0000
      74bfd2f9
    • Jan Maria Matejka's avatar
      Filter: recursion to loop · 7c601e6b
      Jan Maria Matejka authored
      It was supposed to do tail-recursion in interpret() but it didn't
      compile as such. Converting it to loop makes a significant filter
      performance improvement for flat filters.
      7c601e6b
    • Maria Jan Matejka's avatar
      Filter: Instruction codes named as enum · 5a14df39
      Maria Jan Matejka authored
      The two-letter instructions were quite messy but they could be easily
      read from memory dumps. Now GDB (since 2012) supports pretty printing
      enum values and GCC checks the switch construction for missing enum
      values so we are converting the nice two-byte values to enums.
      
      Anyway, the enum still keeps the old two-byte values to be able to read
      the instruction codes even without GDB from plain memory dump.
      5a14df39
  8. 16 Jan, 2018 1 commit
    • Ondřej Zajíček's avatar
      Filter: Allow silent filter execution · b9405791
      Ondřej Zajíček authored
      A filter should log messages only if executed explicitly (e.g., during
      route export or route import). When a filter is executed for technical
      reasons (e.g., to establish whether a route was exported before), it
      should run silently.
      b9405791
  9. 09 Nov, 2017 1 commit
  10. 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
  11. 20 Sep, 2017 1 commit
  12. 19 Jun, 2017 1 commit
  13. 24 Jan, 2017 1 commit
  14. 08 Nov, 2016 1 commit
  15. 01 Nov, 2016 1 commit
  16. 18 Oct, 2016 1 commit
  17. 13 Oct, 2016 1 commit
  18. 11 Oct, 2016 1 commit
    • Pavel Tvrdik's avatar
      Tree/Trie: Check the end of buffer · c2564d34
      Pavel Tvrdik authored
      We set buffer->pos to buffer->end in function buffer_print() when
      bvsnprintf() failed, so there would be uninitialized memory between
      the old buffer->pos and the current buffer->pos.
      c2564d34
  19. 04 Oct, 2016 1 commit
  20. 03 Oct, 2016 2 commits
  21. 21 Sep, 2016 1 commit
  22. 15 Sep, 2016 1 commit
  23. 16 Aug, 2016 1 commit
  24. 01 Jul, 2016 1 commit
  25. 09 Jun, 2016 1 commit
  26. 08 Jun, 2016 1 commit
  27. 16 Feb, 2016 1 commit
  28. 20 Jul, 2015 1 commit
  29. 08 Jun, 2015 1 commit
    • Ondřej Zajíček's avatar
      BGP multipath support · 8d9eef17
      Ondřej Zajíček authored
      Kernel option 'merge paths' allows to merge routes exported to kernel
      protocol (currently BGP and static routes) to multipath routes.
      8d9eef17
  30. 10 May, 2015 1 commit
  31. 21 Feb, 2015 2 commits
  32. 02 Oct, 2014 2 commits
  33. 07 Jul, 2014 1 commit
  34. 24 Nov, 2013 1 commit
  35. 22 Nov, 2013 1 commit