Initial commit

This commit is contained in:
Benjamin Collet 2022-01-31 14:45:58 +01:00
commit c51318f26a
No known key found for this signature in database
GPG key ID: DF2423FD91470C0E

3
get_prefixes.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
curl -s https://ftp.ripe.net/ripe/stats/delegated-ripencc-extended-latest | awk -F "|" '$3 == "ipv4" && $7 ~ /(reserved|available)/ && $5 >= 256 { printf "%-20s\t%s\n", $4 "/" int(32-log($5)/log(2)), $7 }' > $(dirname -- "${BASH_SOURCE[0]}")/ipv4_available_reserved.txt