nitefood / asn

ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server
MIT License
1.33k stars 161 forks source link

BGP informations not retrieved #10

Closed qgabrel closed 3 years ago

qgabrel commented 3 years ago

Hi,

When I use the script to get informations of ASN, it appears that I don't received BGP Informations and Announced prefixes.

./asn 206610

──────────────────────────────────────────────────────────── WARNING

No IPQualityScore token found, so disabling in-depth threat analysis and IP reputation lookups. Please visit https://github.com/nitefood/asn#ip-reputation-api-token for instructions on how to enable it. ────────────────────────────────────────────────────────────

╭───────────────────────╮ │ ASN lookup for 206610 │ ╰───────────────────────╯

AS Number ──────> 206610 AS Name ────────> MIXVOIP, LU Organization ───> Mixvoip S.A. AS Reg. date ───> 2016-12-13 08:28:07 Peering @IXPs ──> DE-CIX Dusseldorf: DE-CIX Dusseldorf Peering LAN | DE-CIX Frankfurt: DE-CIX Frankfurt Peering LAN | ECIX-DUS | ECIX-FRA | France-IX Paris | LU-CIX

╭─────────────────────────────────────────────╮ │ BGP informations for AS206610 (MIXVOIP, LU) │ ╰─────────────────────────────────────────────╯

Retrieving prefix allocations and announcements for AS206610 (MIXVOIP, LU) (press CTRL-C to cancel)...

╭────────────────────────────────────────────────────────────╮ │ Announced prefixes (aggregated) for AS206610 (MIXVOIP, LU) │ ╰────────────────────────────────────────────────────────────╯

───── IPv4 ─────

NONE

───── IPv6 ─────

NONE

I've tested with many ASN and the result is the same.

I did not have this result few days ago...

Could you help me to solve this occur ?

Regards

nitefood commented 3 years ago

It looks like a problem of reachability for the RIPEStat API endpoint. It works fine here.

What's the output of

curl "https://stat.ripe.net/data/routing-status/data.json?resource=AS206610&sourceapp=nitefood-asn"

if you run it from a terminal?

qgabrel commented 3 years ago

It works when I'm disconnect from VPN....

When I'm connected to my VPN, the output of the curl is : curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to stat.ripe.net:443

Do you have an idea ?

nitefood commented 3 years ago

Hard to tell without more precise info about your setup, but it's likely a problem with your VPN. Perhaps RIPE is blocking access from that IP, or (in case you're hosting the VPN server yourself) it might be a problem with your settings (do you need to specify a proxy server to get internet access? if so try using curl's --proxy switch). Maybe try accessing RIPE website and see if it loads from a browser.

qgabrel commented 3 years ago

I will investigate.

Thanks to have take few minutes to help me.