commit a9e6f3dd4d096471d01565bbd09cb8032ec5177b Author: trick77 Date: Wed Dec 1 07:20:58 2021 +0100 Add README.md diff --git a/README.md b/README.md new file mode 100644 index 000000000000..38feaa82cd39 --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# 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: +```$ curl https://github.com/ipverse/as/blob/master/as/1234/ipv4-aggregated.txt``` + +The same for all IPv6 routes for AS1234: +```$ curl https://github.com/ipverse/as/blob/master/as/1234/ipv6-aggregated.txt``` + +To download the latest lookup table used to enhance the generated route data: +```$ curl https://raw.githubusercontent.com/ipverse/as/master/as.csv``` + +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