roles/common: Update list of abusive IP addresses
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 created the nftables files manually. Meh...
This commit is contained in:
parent
ab47df6031
commit
ebbde530d2
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,13 @@
|
||||
#!/usr/sbin/nft -f
|
||||
|
||||
define ABUSEIPDB_IPV6 = {
|
||||
2001:1bb0:e000:1e::93a,
|
||||
2001:41d0:303:ac05::,
|
||||
2400:6180:0:d1::4dd:b001,
|
||||
2402:e280:3d00:1d1:a00:27ff:fe8c:e37c,
|
||||
2607:f1c0:842:3400::5c:29d,
|
||||
2607:fcd8:0:c:1::,
|
||||
2a00:d680:20:50::cdb4,
|
||||
2a01:4f8:210:138d::2
|
||||
2001:470:1:332::7,
|
||||
2001:470:1:c84::15,
|
||||
2001:470:1:c84::22,
|
||||
2001:470:1:c84::23,
|
||||
2001:470:1:c84::25,
|
||||
2a00:d680:20:50::3292,
|
||||
2a00:d680:20:50::4a10,
|
||||
2a02:c206:2062:6450::1,
|
||||
2a03:b0c0:2:f0::34d:c001
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -3,12 +3,13 @@
|
||||
<option name="family" value="inet6" />
|
||||
<short>abusers-ipv6</short>
|
||||
<description>A list of abusive IPv6 addresses.</description>
|
||||
<entry>2001:1bb0:e000:1e::93a</entry>
|
||||
<entry>2001:41d0:303:ac05::</entry>
|
||||
<entry>2400:6180:0:d1::4dd:b001</entry>
|
||||
<entry>2402:e280:3d00:1d1:a00:27ff:fe8c:e37c</entry>
|
||||
<entry>2607:f1c0:842:3400::5c:29d</entry>
|
||||
<entry>2607:fcd8:0:c:1::</entry>
|
||||
<entry>2a00:d680:20:50::cdb4</entry>
|
||||
<entry>2a01:4f8:210:138d::2</entry>
|
||||
<entry>2001:470:1:332::7</entry>
|
||||
<entry>2001:470:1:c84::15</entry>
|
||||
<entry>2001:470:1:c84::22</entry>
|
||||
<entry>2001:470:1:c84::23</entry>
|
||||
<entry>2001:470:1:c84::25</entry>
|
||||
<entry>2a00:d680:20:50::3292</entry>
|
||||
<entry>2a00:d680:20:50::4a10</entry>
|
||||
<entry>2a02:c206:2062:6450::1</entry>
|
||||
<entry>2a03:b0c0:2:f0::34d:c001</entry>
|
||||
</ipset>
|
||||
|
Loading…
Reference in New Issue
Block a user