Comments (4)
On Fri, Jun 26, 2015 at 03:02:37AM -0700, Job Snijders wrote:
There seems to be some code in bgpq3 to deal with RIPE queries, but I have
trouble following the logic and design behind it. In any regard bgpq3 currently
does not handle RIPE queries correctly.
It's not bgpq3 does not handle RIPE queries correctly, but it's RIPE
does not understand IRRd queries at all...
bgpq3 is built around IRRd query protocol[1], which is not compatible
with RIPE (albeit using some RIPE-style queries inside). This is why
-h host option exactly stating that server MUST run IRRD, not plain
whois server:
-h host : host running IRRD software (whois.radb.net by default)
[1]: see irrd-user.pdf at https://github.com/irrdnet/irrd
appendix B for protocol description. Major difference with plain whois
is that it much better suited for inter-program communications (no need to
parse whois records), and killer feature is that with IRRD it takes one
query to resolve AS-NTT into list of AS'es. With plain whois I have to
query for AS-NTT then for each member of AS-NTT, then for each member
of member and so on..
Vurt:bgpq3 job$ bgpq3 -d -h whois.ripe.net AS15562
DEBUG: bgpq_expander.c:378 bgpq_pipeline expander: sending '!gas15562
'
ERROR:Wrong reply: % Note: this output has been filtered.
to !gas15562no ip prefix-list NN
! generated prefix-list NN is empty
ip prefix-list NN deny 0.0.0.0/0Vurt:bgpq3 job$ bgpq3 -6 -d -h whois.ripe.net AS15562
DEBUG: bgpq_expander.c:378 bgpq_pipeline expander: sending '-T route6 -i origin as15562
'
no ipv6 prefix-list NN
! generated prefix-list NN is empty
ipv6 prefix-list NN deny ::/0
Vurt:bgpq3 job$—
Reply to this email directly or view it on GitHub.*
from bgpq3.
Ahh, so the only purpose functions such as bgpq_expand_ripe()
and bgpq_pipeline_dequeue_ripe()
is to support RIPE-style queries as supported by RADB?
Why is -T route6 -i origin AS15562
used instead of !6as15562
? Is an artifact from times where RADB supported RIPE-style queries (and thus offering access to route6 information) but did not have the !6
query flag?
from bgpq3.
On Fri, Jun 26, 2015 at 05:16:33AM -0700, Job Snijders wrote:
Ahh, so the only purpose functions such as bgpq_expand_ripe() and
bgpq_pipeline_dequeue_ripe() is to support RIPE-style queries as supported by
RADB?
Exactly.
Why is -T route6 -i origin AS15562 used instead of !6a15562? Is an artifact
from times where RADB supported RIPE-style queries (and thus offering access to
route6 information) but did not have the !6 query flag?
These days radb had !6 in documenation but it was not actually working :(
Looks like now it does, so someday I will rewrite all ipv6 logic toward
this query.
from bgpq3.
Closing this one.
from bgpq3.
Related Issues (20)
- FATAL ERROR:EOF from RADB (dequeue, ripe) Exit Code 255 HOT 2
- Clarify Nokia (classic CLI) options HOT 2
- Feature Request: Do not print anything if 0 objects received HOT 4
- bgpq3 exit code is 255, stderr: b'FATAL ERROR:select timeout\n' HOT 2
- Limitations of bgpq3 -S HOT 1
- filter route and AS (possible feature request) HOT 2
- Rationale behind the recommended sources HOT 1
- Cisco IOS XR format lacks one space in indentation HOT 1
- Sequence numbers not respected with empty result HOT 1
- Subnet length wrong HOT 3
- Uncorrected as-patch filter for Huawei HOT 1
- Possibility of tagging a new release HOT 1
- Add BGPQ3 to Arista EOS HOT 5
- Allow generation of combined IPv4/IPv6 lists HOT 3
- About the operation when multiple database sources are specified by'-S flag'
- BSD-3 files
- Invalid symbol in ASN errors HOT 1
- Certain prefixes that show up in the RIPE GUI don't get outputted by BGPq3 when the ASSet is queried HOT 8
- missing some prefixes HOT 11
- Install on ASR9K
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bgpq3.