local cache triggers bison parser error in v4.8.2

Hagen Boehm hboehm at brutus.NIC.DTAG.DE
Thu Mar 16 11:49:46 UTC 2006


Hi all,

there is a strange error in version 4.8.2 that shows up when using
a local cache and querying the whois.radb.net server.

Using the following cache file CACHE:
----
route-set:      rs-foo
members:        192.66.4.0/24^24-24
members:        192.76.4.0/24^24-24

route-set:      rs-bar
members:        10.24.0.0/16^16-16


-----

and starting RtConfig 4.8.2 with
  RtConfig -h whois.radb.net -protocol irrd -f CACHE
  RtConfig> @RtConfig printPrefixRanges "members:\t%p/%l^%n-%m\n" filter afi 
ipv6.unicast AS-GT

the tool answers:
  mp-peval: afi ipv6.unicast AS-GT
                ^^^^^^^^^^^^
  ***Error: badly formed filter in mp-peval.
  
changing the cache file CACHE to:
----
route-set:      rs-foo
members:        192.66.4.0/24^24-24

route-set:      rs-bar
members:        10.24.0.0/16^16-16


-----

and starting 4.8.2 again shows no problems:
  RtConfig -h whois.radb.net -protocol irrd -f CACHE
  RtConfig> @RtConfig printPrefixRanges "members:\t%p/%l^%n-%m\n" filter afi 
ipv6.unicast AS-GT
  members:        2001:410:9000::/50^50-50
  members:        2001:478:235::/48^48-48
  members:        2001:4900::/32^32-32
  RtConfig>

Is there anyone who observed a similar behaviour? Does anyone have a fix for 
that problem or
an idea? The error message comes from the bison parser 
/src/rpsl/rpsl/rpsl.y.cc but it
seems to be triggered by the cache file...
The problem shows up also when using "mp-members" instead of "members" in 
CACHE.

Many thanks!

Best regards,

     Hagen



More information about the irrtoolset mailing list