https://raw.githubusercontent.com/stamparm/ipsum/master/levels/5.txt Rohliste öffnen Beschreibung
Filterliste aus den Bereichen Malware. Format: IPs (IPv4). Einzelheiten und Aufnahmekriterien stehen auf der Projektseite.
Integration
Address list per script
Fetch the list and import it into an address list called blocklist:
/tool fetch url="https://raw.githubusercontent.com/stamparm/ipsum/master/levels/5.txt" 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/stamparm/ipsum/master/levels/5.txt" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="IPsum Level 5"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="IPsum Level 5"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="IPsum Level 5" 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/stamparm/ipsum/master/levels/5.txt Manual with nftables
wget -qO /tmp/blocklist.txt "https://raw.githubusercontent.com/stamparm/ipsum/master/levels/5.txt"
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/stamparm/ipsum/master/levels/5.txt" | 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/stamparm/ipsum/master/levels/5.txt"
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/stamparm/ipsum/master/levels/5.txt - 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/stamparm/ipsum/master/levels/5.txt curl -fsSL "https://raw.githubusercontent.com/stamparm/ipsum/master/levels/5.txt" -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:"IPsum Level 5 match";
ip.src; dataset:isset,blocklist, type string, load blocklist.txt; sid:1000001;) Letzte Änderungen
Kürzlich hinzugefügte Einträge
- 31.184.195.246
- 80.94.95.109
- 5.226.140.89
- 24.97.253.246
- 43.165.170.19
- 64.62.156.132
- 66.132.195.74
- 66.132.195.199
- 69.5.169.24
- 69.5.169.120
- 69.5.169.125
- 69.5.169.143
- 69.5.169.180
- 87.251.77.213
- 139.59.210.62
- 198.235.24.46
- 216.180.246.14
- 216.180.246.89
- 216.180.246.120
- 216.180.246.147
- 216.180.246.182
- 5.226.140.42
- 5.226.140.50
- 5.226.140.58
- 5.226.140.70
Kürzlich entfernte Einträge
- 66.132.186.184
- 66.132.195.40
- 66.132.224.225
- 94.154.43.63
- 147.185.132.67
- 147.185.132.78
- 147.185.132.100
- 147.185.132.112
- 5.253.59.71
- 20.196.208.116
- 45.91.64.6
- 47.250.80.158
- 49.0.202.115
- 64.62.197.17
- 64.62.197.132
- 66.132.172.100
- 66.132.172.194
- 66.132.172.203
- 66.132.186.167
- 66.132.195.64
- 66.132.195.201
- 66.240.223.208
- 66.240.223.240
- 77.67.26.32
- 77.90.185.121
