rpthms / nft-geo-filter

Allow/deny traffic in nftables using country specific IP blocks
MIT License
98 stars 24 forks source link

ipverse new link structure #31

Open frankofno opened 2 years ago

frankofno commented 2 years ago

line 428-430 must be updated from

OLD

                    provider_url = 'http://ipverse.net/ipblocks/data/countries/{}.zone'
                else:
                    provider_url = 'http://ipverse.net/ipblocks/data/countries/{}-ipv6.zone'`

NEW

                    provider_url = 'https://raw.githubusercontent.com/ipverse/rir-ip/master/country/{}/ipv4-aggregated.txt'
                else:
                    provider_url = 'https://raw.githubusercontent.com/ipverse/rir-ip/master/country/{}/ipv6-aggregated.txt'