Git Product home page Git Product logo

Comments (4)

snar avatar snar commented on July 21, 2024

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 !gas15562

no ip prefix-list NN
! generated prefix-list NN is empty
ip prefix-list NN deny 0.0.0.0/0

Vurt: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.

job avatar job commented on July 21, 2024

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.

snar avatar snar commented on July 21, 2024

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.

job avatar job commented on July 21, 2024

Closing this one.

from bgpq3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.