minor bird crash

Wolfgang Hennerbichler wh at univie.ac.at
Thu Mar 18 15:25:09 CET 2010


Hi, 

I'm having my bird6 nearly up and running, and just stumbled across the following minor crash. I have a filter defined like this: 

filter bgp_in_AS1853x104
prefix set allnet;
{
  if ! defined (bgp_med) then bgp_med = 0;
  if ! (avoid_martians()) then reject;
  if ! (bgp_path ~ [= 1853 * =]) then reject;
  if ! (net ~ allnet) then {
    bgp_community.add((1121,1));
  }
  accept;
}

You see that I compare allnet to the current net, but allnet isn't set anywhere (due to my forgetfulness). Having this filter in place crashes bird upon the first received route. This is of course rather a human error, and I just wanted to tell the Ondrej's in case they want to fix this bug. I personally don't care if they do, I guess there are more ways of a broken configuration to break bird :) 

Wolfgang, all excited about his working bird6. 
-- 
www.vix.at | www.aco.net
wh at univie.ac.at | WH844-RIPE
Vienna University Computer Center



More information about the Bird-users mailing list