Debian Codegraph @

support/Config/ragetcountrycodes.sh

raw
1 #!/bin/bash
2 #
3 # Argus Client Support Software. Tools to support tools for Argus data.
4 # Copyright (C) 2000-2024 QoSient, LLC.
5 # All Rights Reserved
6 #
7 # ragetcountrycodes.sh
8 #
9 # Script to get all the delegated address space allocations directly
10 # from the proper registries and consolidate for ra* support for
11 # printing country codes.
12 #
13 # This should be done periodcially, say weekly as the delegated
14 # address space does change.
15 #
16 # Carter Bullard <[email protected]>
17 #
18
19 wget http://ftp.apnic.net/stats/arin/delegated-arin-extended-latest
20 wget http://ftp.apnic.net/stats/afrinic/delegated-afrinic-latest
21 wget http://ftp.apnic.net/stats/apnic/delegated-apnic-latest
22 wget http://ftp.apnic.net/stats/lacnic/delegated-lacnic-latest
23 wget http://ftp.apnic.net/stats/ripe-ncc/delegated-ripencc-latest
24 wget http://ftp.apnic.net/stats/iana/delegated-iana-latest
25
26 fgrep ipv4 delegated-[alr]*-latest delegated-iana-latest > delegated-ipv4-latest
27 rm delegated-[alr]*-latest delegated-iana-latest