Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certain prefixes that show up in the RIPE GUI don't get outputted by BGPq3 when the ASSet is queried #74

Open
Navar0ne opened this issue Jul 24, 2023 · 8 comments

Comments

@Navar0ne
Copy link

Navar0ne commented Jul 24, 2023

Hey there!

When I was querying AS200070, it returned some prefixes, however it did not return all of the ones it should.

bgpq3 -S RIPE AS200070
no ip prefix-list NN
ip prefix-list NN permit 185.43.134.0/24
ip prefix-list NN permit 194.0.12.0/24
ip prefix-list NN permit 194.0.14.0/24
ip prefix-list NN permit 212.237.229.0/24

But as you can see in the image below, there is a prefix that RIPE says is advertised but BGPQ3 doesnt return.

Is this a known issue?

image

@snar
Copy link
Owner

snar commented Jul 24, 2023 via email

@Navar0ne
Copy link
Author

On Mon, Jul 24, 2023 at 03:51:56AM -0700, Navar0ne wrote: Hey there! When I was querying AS200070, it returned some prefixes, however it did not return all of the ones it should
Can you be more exact and provide example of prefix that is missed in output ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.**>

Edited*

@stathis
Copy link

stathis commented Jul 24, 2023

@Navar0ne 199.253.250.0/24 is an ARIN range, so the RIPE database itself holds no data on it.

If you remove -S RIPE from your query, it will yield all results.

@snar
Copy link
Owner

snar commented Jul 24, 2023 via email

@Navar0ne
Copy link
Author

Navar0ne commented Jul 24, 2023

On Mon, Jul 24, 2023 at 04:17:33AM -0700, Navar0ne wrote: On Mon, Jul 24, 2023 at 03:51:56AM -0700, Navar0ne wrote: Hey there! When I was querying AS200070, it returned some prefixes, however it did not return all of the ones it should Can you be more exact and provide example of prefix that is missed in output ? … — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.> Edited*
Thanks. As you can see in whois -h whois.ripe.net 199.253.250.0/24 route: 199.253.250.0/24 descr: .ca dns anycast origin: AS25192 mnt-by: CZ-NIC-MNT created: 2018-01-10T13:43:09Z last-modified: 2018-09-04T19:04:44Z source: RIPE-NONAUTH this route has source of RIPE-NONAUTH, so when you are specifying -S RIPE this object is filtered out (you requested only for RIPE objects, you got what you asked for). To get this object you can - specify multiple sources, bgpq3 -S RIPE,RIPE-NONAUTH - do not specify sources at all (do not use -S flag), altough that's generally bad idea.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: </issues/74 @.
>

Ahhh this makes a lot of sense, thanks!

Out of interest, why do you think RIPE would show it on it's GUI if its not part of their database?

Also, whats the difference between not specifying a database at all and specifying RIPE and RIPEnoAuth?

@snar
Copy link
Owner

snar commented Jul 24, 2023 via email

@Navar0ne Navar0ne reopened this Aug 7, 2023
@Navar0ne
Copy link
Author

Navar0ne commented Aug 7, 2023

Hey there,

I don't mean to re open an old issue with the same problem, but when I query 185.140.236.0/23 with BGPQ3 I don't get anything, just like before, however when I so the WHOIS lookup, it shows that the source is RIPE not some other database. Would you have any insight on this?

inetnum: 185.140.236.0 - 185.140.239.255
netname: CZ-KRAJVYSOCINA-20160229
country: CZ
org: ORG-KV14-RIPE
admin-c: JP10120-RIPE
admin-c: KVNA1-RIPE
tech-c: JP10120-RIPE
tech-c: KVNA1-RIPE
status: ALLOCATED PA
mnt-by: RIPE-NCC-HM-MNT
mnt-by: cz-krajvysocina-1-mnt
mnt-lower: cz-krajvysocina-1-mnt
mnt-lower: plz-mnt
mnt-routes: cz-krajvysocina-1-mnt
mnt-routes: plz-mnt
created: 2016-02-29T15:04:34Z
last-modified: 2018-10-20T12:32:08Z
source: RIPE

oc-server01 files]$ bgpq3 -S RIPE,RIPE-NONAUTH 185.140.236.0/23
no ip prefix-list NN
ip prefix-list NN permit 185.140.236.0/23
oc-server01 files]$

@snar
Copy link
Owner

snar commented Aug 7, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants