← Home · Русский

How to use the blocklist

The list is built from IP addresses blocked by Fail2Ban on the service servers and is refreshed every 5 minutes. The data is informational: review the list before applying it and exclude your own addresses.

Available lists

default - addresses from the last 7 days with at least 3 incidents (recommended). strict - 30 days, at least 10 incidents from at least two servers: the most conservative. all - every address from the last 30 days, expect false positives. IPv6: add family=6.

https://abuseip.linuxoid.kz/blocklist.php
https://abuseip.linuxoid.kz/blocklist.php?list=strict
https://abuseip.linuxoid.kz/blocklist.php?list=all
https://abuseip.linuxoid.kz/blocklist.php?family=6

Formats

txt (default) - one IP per line. cidr - adjacent addresses are merged into networks losslessly (no extra addresses are added). nft - ready file for nft -f, the table is replaced atomically. ipset - ready file for ipset restore (set abuseip_net, replaced atomically).

https://abuseip.linuxoid.kz/blocklist.php?format=txt
https://abuseip.linuxoid.kz/blocklist.php?format=cidr
https://abuseip.linuxoid.kz/blocklist.php?format=nft
https://abuseip.linuxoid.kz/blocklist.php?format=ipset

nftables

One command loads the abuseip table with a drop rule (priority -10, before your main filter). The table does not survive a reboot: run the command from cron or a boot unit. If a download is cut off, nft rejects the incomplete file and keeps the previous table.

curl -fsS --max-time 30 --proto '=https' "https://abuseip.linuxoid.kz/blocklist.php?format=nft" | nft -f -

# cron, hourly:
0 * * * * root curl -fsS --max-time 30 --proto '=https' "https://abuseip.linuxoid.kz/blocklist.php?format=nft" | nft -f -

iptables + ipset (recommended for production)

The abuseip-sync.sh script validates format and size, rejects sudden jumps, and gives entries a 2-day lifetime: if the service goes down, addresses expire on their own. The iptables rule is added once.

curl -fsS -o /usr/local/bin/abuseip-sync.sh https://abuseip.linuxoid.kz/dl/abuseip-sync.sh
chmod 755 /usr/local/bin/abuseip-sync.sh
/usr/local/bin/abuseip-sync.sh
iptables -I INPUT -m set --match-set abuseip src -j DROP

# cron, every 30 minutes:
*/30 * * * * root /usr/local/bin/abuseip-sync.sh

Exceptions and safety

Before blocking, make sure your admin addresses are not listed: look them up on the home page. For nft, create your own table with an earlier priority (for example -20) and an accept rule for trusted addresses. For iptables, insert ACCEPT above the set rule. If your address was listed by mistake, submit a removal request.

nft add table inet mine
nft add chain inet mine in '{ type filter hook input priority -20; }'
nft add rule inet mine in ip saddr YOUR.IP.ADDR.ESS accept

Request IP removal