News for hackers. Stuff that matters.
Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by Kirce on Friday November 24, 2023 @07:17PM (#38409850)
Awesome, bookmarked! Would it be possible to list all announced IP ranges for an AS?
Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by bswinnerton on Friday November 24, 2023 @07:23PM (#38409899)
Yes! Quite easily, but it requires thinking through the right API design. I'll see if I can work this in this weekend.
Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by sgjohnson on Saturday November 25, 2023 @01:00AM (#38411566)
Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by pests on Saturday November 25, 2023 @06:29AM (#38412837)
Curious, is that your AS?
Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by sgjohnson on Saturday November 25, 2023 @02:37PM (#38415975)
Yup
Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by reincoder on Saturday November 25, 2023 @08:49AM (#38413478)
Disclaimer I work for IPinfo.

If you can download the free IPinfo IP to ASN database CSV file. You can run the following command to get the IP ranges of an ASN.

```

grep AS19551 asn.csv | ipinfo range2cidr | cut -f1 -d ','

```

You will need to install the IPinfo CLI to convert the IP range to their CIDR equivalent. I believe the range2cidr command is also available as a standalone binary as well.

After that, you might want to aggregate the IP ranges to bigger ranges. I have used this in the past for this:

https://github.com/job/aggregate6

Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by Kirce on Saturday November 25, 2023 @02:19PM (#38415814)
I didn't know ipinfo had a cli, good to know, i'll have a Look. Thank you!

I'm currently using ipset, that does aggregation if I remember correctly, but aggregate6 looks good!

Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by reincoder on Monday November 27, 2023 @04:36AM (#38430245)
The CLI has a bunch of features. I highly recommend checking out the `help` output for the CLI. Personally, I use the `grepip`, `bulk`, and `summarize` commands on a daily basis.
Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by bswinnerton on Sunday December 03, 2023 @03:59PM (#38510707)
Here's a simpler alternative with IP Guide that doesn't require a CLI:

  curl -sL ip.guide/AS19551 | jq .routes
Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by toast0 on Saturday November 25, 2023 @03:04PM (#38416221)
In addition to other tools, there's also https://bgp.he.net which has a page for announced prefixes. Sometimes it's useful to use multiple tools, as not everyone will see all announcements or process them the same.
Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by mrngm on Sunday November 26, 2023 @04:55PM (#38425392)
At the moment, https://bgp.tools/ is my favourite goto for ASN/BGP-related information. They operate route collectors on quite a few internet exchanges, collecting BGP routing information from peers connected on those IXes, as well as route servers. They offer near-realtime insight in what prefixes are actually announced/visible, as well as prefixes that have been allocated, but are not announced.

There's even more under the hood, worth checking it out.

Re:Show HN: IP Guide – info on IP addresses, Networks, and ASNs by deepBDC on Monday December 04, 2023 @11:02PM (#38526959)
Disclaimer: I work at BigDataCloud.

You can try our ASN lookup tool: https://www.bigdatacloud.com/asn-lookup/

It provide wide variety of data objects, and also provide map view where possible to showcase the active region of operation ( its a unique feature of the API), plus heaps of data. You can test the API for free and access all the data objects.

Any doubts or queries, please let me know.