Skip to content
Snippets Groups Projects
  1. Mar 22, 2018
  2. Mar 21, 2018
  3. Mar 20, 2018
  4. Mar 19, 2018
  5. Mar 18, 2018
  6. Mar 17, 2018
  7. Mar 14, 2018
    • Maria Matejka's avatar
      Merge branch 'master' into int-new · 8a871e89
      Maria Matejka authored
      8a871e89
    • Maria Matejka's avatar
      Filter: make bgpmask literals real constructors · e8bc64e3
      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
  8. Mar 13, 2018
  9. Mar 08, 2018
  10. Mar 07, 2018
  11. Feb 27, 2018
  12. Feb 13, 2018
    • Ondřej Zajíček's avatar
      1561ee79
    • Ondřej Zajíček's avatar
      Add cscope Makefile target · d5144ea9
      Ondřej Zajíček authored
      For those who prefer cscope to etags
      
      Thanks to Toke Hoiland-Jorgensen for the patch.
      d5144ea9
    • Ondřej Zajíček's avatar
      Babel: Fix accidental bitwise or assignment · 5ce7adfc
      Ondřej Zajíček authored
      Fix an accidental bitwise or assignment that was supposed to be a
      comparison.
      
      Thanks to Toke Hoiland-Jorgensen for the patch.
      5ce7adfc
    • Ondřej Zajíček's avatar
      Babel: Add source-specific routing support · 185a0a51
      Ondřej Zajíček authored
      This patch adds support for source-specific routing to the Babel protocol.
      It changes the protocol to support both NET_IP6 and NET_IP6_SADR channels
      for IPv6 addresses. If only a NET_IP6 channel is configured,
      source-specific updates are ignored. Otherwise, non-source-specific
      routes are simply treated as source-specific routes with SADR prefix 0.
      
      Thanks to Toke Hoiland-Jorgensen for the original patch.
      Minor changes by Ondrej Santiago Zajicek.
      185a0a51
    • Ondřej Zajíček's avatar
      Add support for source-specific IPv6 routes to BIRD core · be17805c
      Ondřej Zajíček authored
      This patch adds support for source-specific IPv6 routes to BIRD core.
      This is based on Dean Luga's original patch, with the review comments
      addressed. SADR support is added to network address parsing in confbase.Y
      and to the kernel protocol on Linux.
      
      Currently there is no way to mix source-specific and non-source-specific
      routes (i.e., SADR tables cannot be connected to non-SADR tables).
      
      Thanks to Toke Hoiland-Jorgensen for the original patch.
      Minor changes by Ondrej Santiago Zajicek.
      be17805c
  13. Feb 07, 2018
  14. Feb 06, 2018
    • Ondřej Zajíček's avatar
      KRT: Fix IPv6 route learn · 28b3b551
      Ondřej Zajíček authored
      Internal table used for route learn was created with non-matching net
      type for IPv6 kernel proto.
      
      Thanks to Toke Hoiland-Jorgensen for the bugreport
      28b3b551
  15. Jan 29, 2018
  16. Jan 24, 2018
  17. Jan 23, 2018
  18. Jan 16, 2018