Re: Re: Announcement: RIPE Whois Database version 3.0 beta is out
- Date: Wed, 13 Dec 2000 18:02:26 +0100
Dear Heiko Blume,
There are two problems.
The first is that the RIPE RPSL server does not respond to the RADB
protocol. You can use the "-protocol bird" option to get one that most
closely corresponds to our protocol.
The second is that the RIPS RPSL protcol doesn't exactly match the BIRD
protocol either. ;) The main issue is that RIPE uses the '%' character
to denote comments. We have a patch to the RtConfig application that
works around this problem. You can either wait for 4.6.4 to be released
with this patch (hopefully), or I can send you a diff.
FYI, there is no reference to AS33333 in the AS5427 object in the RIPE
database.
If you have any more questions, please don't hesitate
to contact ripe-dbm@localhost.
Regards,
Shane Kerr
____________________________
RIPE Database Administration.
Original message:
----------------
hello, please forgive any possible ignorance on my side...
i try to use RtConfig 4.6.0 to generate a pretty simple config for testing:
@RtConfig import AS5427 1.1.1.1 AS33333 1.1.1.1
where AS5427 contains
import: from AS33333
action pref=200;
accept <^AS1273+ .* AS-ECRC$>
which should request only AS-ECRC and, recursively, AS-ECRCCUSTDE from the DB.
this works just fine with whois.radb.net, but not with rpsl.ripe.net, although both objects are identical in both databases. since both
are translated from whois.ripe.net i'm a little suprised!
am i too stupid?
regards, heiko
[69] hostmaster@localhost ~/RAToolSet-4.6.0 > RtConfig -h rpsl.ripe.net -f cache2 -T all < bla
[blah]
!
RtConfig: cisco_map_name 'AS%d-IN'
RtConfig: cisco_aspath_access_list_no '100'
Whois: Open rpsl.ripe.net:43 source= protocol=rawhoisd
Whois: SetSources -*
Whois: WriteQuery !s-*
Whois: Response % This is the RIPE Whois server v3.0 beta.
Warning: no byte count error for query !s-*.
[no output at all!]
[69] hostmaster@localhost ~/RAToolSet-4.6.0 > RtConfig -h rpsl.ripe.net -f cache2 -T all < bla
! execute
! RtConfig -h whois.ripe.net < bla
! and see the below @RtConfig line replaced by filters
!
!
! other usual cisco command should be put around here
!
!
!@localhost networks AS5427
!
RtConfig: cisco_map_name 'AS%d-IN'
RtConfig: cisco_aspath_access_list_no '100'
Whois: Open whois.radb.net:43 source= protocol=rawhoisd
Whois: SetSources -*
Whois: WriteQuery !s-*
Whois: Response C
Whois: WriteQuery !s-lc
Whois: Response A187
Whois: Response
radb,ans,ripe,bell,mci,apnic,verio,i2,bconnex,fgc,arcstar,altdb,sinet,soundinternet,look,dodnic,panix,epoch,rgnet,area151,deru,risq,semaphore,iij,gts,csas,koren,telstra,daknet,nestegg,gw
Whois: Response C
Whois: WriteQuery !iAS-ECRC,1
Whois: Response A3485
Whois: Response
AS10348 AS10450 AS10627 AS11082 AS11127 [etcetcetcetc]
Whois: Response C
!
no ip as-path access-list 100
ip as-path access-list 100 permit ^(_1273)+((_[0-9]+))*_(1248|1273|1755|1830|1902|1967|2109|2548|2592|2647|3092|3107|3233|3240|3252|3255|3261|3272|3292|3326|3334|3344|4513|4663|5380|5394|5398|5401|5412|5426|5432|5464|5498|5517|5521|5549|5556|5579)$
[etcetcetcetc]
[etcetcetcetc]
[just perfect]
|