Alan Orth
d92151b8a6
This comes from the AbuseIPDB with a confidence level of 95%. I use the following command to download and sort the IPs: $ curl -G https://api.abuseipdb.com/api/v2/blacklist -d \ confidenceMinimum=95 -H "Key: $ABUSEIPDB_API_KEY" \ -H "Accept: text/plain" | sort | sed -e '/:/w /tmp/ipv6.txt' \ -e '/:/d' > /tmp/ipv4.txt I manually add the XML formatting to each file and run them through tidy: $ tidy -xml -utf8 -m -iq -w 0 roles/common/files/abusers-ipv4.xml $ tidy -xml -utf8 -m -iq -w 0 roles/common/files/abusers-ipv6.xml Note: there were no IPv6 addresses in the top 10,000 this time so I used a dummy address for the nftables set so the syntax was valid.
7 lines
205 B
XML
7 lines
205 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ipset type="hash:ip">
|
|
<option name="family" value="inet6" />
|
|
<short>abusers-ipv6</short>
|
|
<description>A list of abusive IPv6 addresses.</description>
|
|
</ipset>
|