Live data from Hacker News

Show HN: IP Guide – Info on IP addresses, Networks, and ASNs

ip.guide

31–40 of 105 posts

Re: Show HN: IP Guide – Info on IP addresses, Networks, and ASNs

#31

From where do you get your geolocation information? I've been using the free MaxMind GeoLite2 databases and the GeoIP2 Python API for this kind of thing, but for a lot of IP addresses that I'd like to map, I can only get down to the country (and even some of those seem suspect). Is there any rate limit for queries?

IP Guide is also using MaxMind, I'm not familiar with many other data sources for that kind of data. Are you seeing discrepancies?

No rate limits or auth for requests, but as mentioned below the api starts to load shed at 2k concurrent requests.

Re: Show HN: IP Guide – Info on IP addresses, Networks, and ASNs

#33
post #28

Have you thought about offering downloadable versions of to the database through MMDB, CSV, or JSON formats? This would enable users to utilize the database offline, similar to the setup provided by IPinfo.io for their free IP database.

Yeah, if you click on "bulk data" you'll see the two statically hosted CSVs for ASN and IP data. What else would you find useful in those datasets? It's quite easy to expand on them.

Countries.

Re: Show HN: IP Guide – Info on IP addresses, Networks, and ASNs

#34
post #33

Earlier quoted context omitted.

Yeah, if you click on "bulk data" you'll see the two statically hosted CSVs for ASN and IP data. What else would you find useful in those datasets? It's quite easy to expand on them.

Countries.

The country code is the last portion of the networks CSV:

  $ curl -sL ip.guide/bulk/networks.csv | head -n 2
  prefix,asn,organization,country
  1.0.0.0/24,13335,"Cloudflare, Inc.",US

Re: Show HN: IP Guide – Info on IP addresses, Networks, and ASNs

#35
post #28

Have you thought about offering downloadable versions of to the database through MMDB, CSV, or JSON formats? This would enable users to utilize the database offline, similar to the setup provided by IPinfo.io for their free IP database.

Yeah, if you click on "bulk data" you'll see the two statically hosted CSVs for ASN and IP data. What else would you find useful in those datasets? It's quite easy to expand on them.

I suppose I was overly enthusiastic about the project and overlooked the bulk part . Thank you. Personally, I prefer to use local MMDB versions as they provide faster results and do not require network usage. Having knowledge about whether an IP is a proxy, VPN, data center, etc. is valuable to me, but I understand that it may vary depending on each project's requirements.

Re: Show HN: IP Guide – Info on IP addresses, Networks, and ASNs

#36

Nice! I love HTTP APIs like this with simple, user-friendly URLs like ` https://${domain}/${query} `. Anyone know of a list of other services like this? wttr.in is one example I know of.

I made https://api.miip.co but no where near as complex

Re: Show HN: IP Guide – Info on IP addresses, Networks, and ASNs

#37
I love the API and response times! I had a few questions:

Might you open-source this in the future?

Were you already comfortable in Rust or is there a reason you selected Rust for this project i.e performance and so plans to offer this as commercial product?

How often are RIPE info and MaxMind data updated these days or is that the 8 hours?

Thanks for sharing!

Re: Show HN: IP Guide – Info on IP addresses, Networks, and ASNs

#39

I love the API and response times! I had a few questions: Might you open-source this in the future? Were you already comfortable in Rust or is there a reason you selected Rust for this project i.e performance and so plans to offer this as commercial product? How often are RIPE info and MaxMind data updated these days or is that the 8 hours? Thanks for sharing!

> Will this be open-sourced?

I don't think there's a strong reason to keep it closed-source.

> Were you already comfortable in Rust or is there a reason you selected Rust for this project?

This was a big learning opportunity for me to learn Rust. I had done two small projects in Rust before this one.

> How often are RIPE info and MaxMind data updated these days?

The MRT dumps where it gets its BGP data are updated every 8 hours, and MaxMind appears to be updated twice a week.

Re: Show HN: IP Guide – Info on IP addresses, Networks, and ASNs

#40
post #6

Having a simple paragraph about RIPE, BGP and ARIN would be helpful (at least for me). Is there any way at all to do this for IPv6? Additional info that would be helpful would be if this is hosted by one of the big tech companies (i.e. is it on AWS, Azure, etc), though maybe that will show up in the network info? If the IP is associated with hostnames that would be nice to know. Not sure how much of a one-stop shop y…

> Having a simple paragraph about RIPE, BGP and ARIN would be helpful (at least for me). That's a great idea. I'll add a tooltip over some of the less obvious fields describing what they are. > Is there any way at all to do this for IPv6? Indeed! It's supported natively, so if you have an IPv6 address you should see it automatically. Here's an example https://ip.guide/2600:: > > If the IP is associated with hostnames…

> I dig that idea, I'll have to think of the best way to pull that data while keeping the app stateless and fast.

Reverse DNS lookups are usually pretty quick:

```shell

  > time dig +short -x 2600:dead::beef
  customer.my-isp.net.
  dig +short -x 2600:dead::beef  0.00s user 0.01s system 1% cpu 0.882 total
```
Post reply on HN