ASNIP/README.md

21 lines
1.1 KiB
Markdown
Raw Normal View History

2021-12-01 07:20:58 +01:00
# ipverse-announced-routes
A collection of IPv4 and IPv6 routes grouped by the announcing autonomous systems. The routes are aggregated to save space.
This repository is updated once a day.
## How to use
Most likely, you won't need to clone the repository. To download the announced routes for a specific autonomous system (AS1234 IPv4 adresses in this example), try:
2021-12-01 07:23:14 +01:00
```$ curl https://raw.githubusercontent.com/ipverse/announced-routes/master/as/1234/ipv4-aggregated.txt```
2021-12-01 07:20:58 +01:00
The same for all IPv6 routes for AS1234:
2021-12-01 07:23:14 +01:00
```$ curl https://raw.githubusercontent.com/ipverse/announced-routes/master/as/1234/ipv6-aggregated.txt```
2021-12-01 07:20:58 +01:00
To download the latest lookup table used to enhance the generated route data:
2021-12-01 07:23:14 +01:00
```$ curl https://raw.githubusercontent.com/ipverse/announced-routes/master/as.csv```
2021-12-01 07:20:58 +01:00
If you plan to use the routing data for firewalling purposes, have a look at:
- [ipset-blacklistlist](https://github.com/trick77/ipset-blacklist) ipset/iptables based Bash script, IPv4 only
- [todo](https://localhost) insert link to a popular project with nftables and IPv6 support