Alan Orth
2961578a54
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 Then I formatted the nftables files manually. Meh... |
||
---|---|---|
.. | ||
etc | ||
ssh-pub-keys | ||
abusech-ipv4.nft | ||
abuseipdb-ipv4.nft | ||
abuseipdb-ipv6.nft | ||
abusers-ipv4.xml | ||
abusers-ipv6.xml | ||
aggregate-cidr-addresses.pl | ||
spamhaus-ipv4.nft | ||
spamhaus-ipv4.xml | ||
spamhaus-ipv6.nft | ||
spamhaus-ipv6.xml | ||
tarsnaprc | ||
update-abusech-nftables.service | ||
update-abusech-nftables.sh | ||
update-abusech-nftables.timer | ||
update-spamhaus-lists.service | ||
update-spamhaus-lists.sh | ||
update-spamhaus-lists.timer | ||
update-spamhaus-nftables.service | ||
update-spamhaus-nftables.sh | ||
update-spamhaus-nftables.timer |