Advertisements
https://blocklist.greensnow.co/greensnow.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://blocklist.greensnow.co/greensnow.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://blocklist.greensnow.co/greensnow.txt" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="Greensnow Blocklist"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="Greensnow Blocklist"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="Greensnow Blocklist" 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://blocklist.greensnow.co/greensnow.txt Manual with nftables
wget -qO /tmp/blocklist.txt "https://blocklist.greensnow.co/greensnow.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://blocklist.greensnow.co/greensnow.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://blocklist.greensnow.co/greensnow.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://blocklist.greensnow.co/greensnow.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://blocklist.greensnow.co/greensnow.txt curl -fsSL "https://blocklist.greensnow.co/greensnow.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:"Greensnow Blocklist match";
ip.src; dataset:isset,blocklist, type string, load blocklist.txt; sid:1000001;) Letzte Änderungen
Kürzlich hinzugefügte Einträge
- 39.105.15.222
- 115.78.225.181
- 1.215.138.43
- 5.160.228.186
- 101.231.133.210
- 14.225.74.30
- 14.17.126.136
- 59.125.55.30
- 179.155.139.69
- 89.109.54.201
- 85.217.140.54
- 79.124.59.86
- 202.149.205.100
- 185.177.159.136
- 91.107.118.186
- 216.180.246.96
- 216.180.246.111
- 85.204.70.102
- 82.102.18.222
- 96.78.175.36
- 82.102.18.188
- 146.70.194.222
- 216.180.246.165
- 216.180.246.68
- 216.180.246.85
Kürzlich entfernte Einträge
- 79.124.60.146
- 78.128.114.174
- 5.2.124.162
- 79.124.49.62
- 79.124.40.142
- 125.212.239.144
- 79.124.49.146
- 85.217.140.39
- 137.74.246.152
- 194.127.251.57
- 190.171.108.25
- 95.79.26.121
- 47.102.213.58
- 146.120.164.13
- 85.204.70.92
- 82.102.18.220
- 82.102.18.118
- 216.180.246.182
- 216.180.246.108
- 216.180.246.55
- 216.180.246.79
- 216.180.246.221
- 62.210.142.163
- 85.204.70.118
- 62.210.142.177
Advertisements
Advertisements
