Advertisements
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset Open raw list Description
Filter list from the public FilterLists directory. Format: IPs (IPv4). Maintained by StopForumSpam.com. See the project homepage for details and inclusion criteria.
Integration
- Go to Firewall → pfBlockerNG → DNSBL → DNSBL Groups (or IP for IP lists).
- Click Add, give the group a name and add the URL below as source (Format: Auto).
- Save, then run Update → Force Reload.
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset Address list per script
Fetch the list and import it into an address list called blocklist:
/tool fetch url="https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset" dst-path=blocklist.rsc
/import blocklist.rsc If the list is a plain text file with one address or CIDR per line, convert it first:
/tool fetch url="https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="StopForumSpam"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="StopForumSpam"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="StopForumSpam" Schedule the fetch with /system scheduler to keep the list current. Very large lists consume RAM, so check the available memory of your device first.
banIP (recommended)
- Install the package:
opkg update && opkg install banip luci-app-banip - Open LuCI → Services → banIP → Feeds and add a custom feed with the URL below.
- Enable the feed and click Save & Apply.
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset Manual with nftables
wget -qO /tmp/blocklist.txt "https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset"
nft add set inet fw4 blocklist { type ipv4_addr; flags interval; }
nft -f - <<EOF
$(awk '!/^[#;]/ && NF {print "add element inet fw4 blocklist { " $1 " }"}' /tmp/blocklist.txt)
EOF
nft add rule inet fw4 forward ip saddr @blocklist drop ipset create blocklist hash:net -exist
curl -fsSL "https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset" | grep -Eo '^[0-9]{1,3}(.[0-9]{1,3}){3}(/[0-9]{1,2})?' |
while read -r net; do ipset add blocklist "$net" -exist; done
iptables -I INPUT -m set --match-set blocklist src -j DROP
iptables -I FORWARD -m set --match-set blocklist src -j DROP Persist the set and re-run the download from cron to keep it current:
ipset save blocklist -f /etc/ipset.blocklist
# /etc/cron.daily/blocklist
Add the list as an ipset in /etc/firehol/firehol.conf:
ipset4 create blocklist hash:net
ipset4 addfile blocklist "https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset"
blacklist4 full inface any src ipset:blocklist Reload with firehol try and confirm before making it permanent.
- Go to Firewall → Aliases and click +.
- Choose type URL Table (IPs), set a refresh interval (for example 1 day) and paste the URL below.
- Save and apply, then use the alias as source in a block rule under Firewall → Rules.
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset - Go to Firewall → pfBlockerNG → IP → IPv4 and click Add.
- Paste the URL below as source, set State to ON and pick the action (Deny Both is the usual choice).
- Save, then run Update → Force Reload → IP.
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset curl -fsSL "https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_30d.ipset" -o /var/lib/suricata/data/blocklist.txt Reference the file from a rule using a dataset:
alert ip [!$HOME_NET] any -> $HOME_NET any (msg:"StopForumSpam match";
ip.src; dataset:isset,blocklist, type string, load blocklist.txt; sid:1000001;) Recent changes
Recently added entries
- 1.34.65.187
- 1.37.87.76
- 1.55.46.191
- 1.55.194.205
- 1.146.177.177
- 1.169.233.166
- 2.26.191.94
- 2.57.23.206
- 2.87.50.90
- 2.134.8.179
- 5.37.160.165
- 5.57.13.153
- 5.59.49.151
- 5.78.28.160
- 5.144.189.178
- 5.157.27.150
- 5.182.32.221
- 5.183.93.23
- 5.231.63.236
- 8.229.180.214
- 13.221.113.214
- 14.40.70.41
- 14.251.239.25
- 16.56.20.80
- 16.98.19.134
Recently removed entries
- 1.1.246.46
- 1.41.36.104
- 1.43.88.164
- 1.54.6.129
- 1.54.213.42
- 1.55.95.30
- 1.132.109.248
- 1.145.150.215
- 1.145.163.182
- 1.145.171.48
- 2.13.222.66
- 2.37.207.30
- 2.44.142.27
- 2.50.19.165
- 2.50.248.248
- 2.51.177.212
- 2.57.23.135
- 2.88.201.34
- 2.90.108.9
- 2.120.70.238
- 2.147.163.188
- 3.89.197.184
- 3.221.199.119
- 4.20.118.170
- 5.3.217.191
Advertisements
Advertisements
