https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/combined-final-win.dat Rohliste öffnen Beschreibung
Filterliste aus den Bereichen Privatsphäre. Format: IPs (Start-end-range). Betreut von Chon Bongo. 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/bongochong/CombinedPrivacyBlockLists/master/combined-final-win.dat" 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/bongochong/CombinedPrivacyBlockLists/master/combined-final-win.dat" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="CPBL IP Filter (DAT-format, IPv4)"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="CPBL IP Filter (DAT-format, IPv4)"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="CPBL IP Filter (DAT-format, IPv4)" 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/bongochong/CombinedPrivacyBlockLists/master/combined-final-win.dat Manual with nftables
wget -qO /tmp/blocklist.txt "https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/combined-final-win.dat"
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/bongochong/CombinedPrivacyBlockLists/master/combined-final-win.dat" | 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/bongochong/CombinedPrivacyBlockLists/master/combined-final-win.dat"
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/bongochong/CombinedPrivacyBlockLists/master/combined-final-win.dat - 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/bongochong/CombinedPrivacyBlockLists/master/combined-final-win.dat curl -fsSL "https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/combined-final-win.dat" -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:"CPBL IP Filter (DAT-format, IPv4) match";
ip.src; dataset:isset,blocklist, type string, load blocklist.txt; sid:1000001;) Letzte Änderungen
Kürzlich hinzugefügte Einträge
- 001.006.029.197
- 001.007.051.205
- 001.009.164.197
- 001.010.211.174
- 001.013.253.140
- 001.015.239.031
- 001.020.088.078
- 001.020.187.052
- 001.020.230.031
- 001.024.016.004
- 001.024.016.029
- 001.024.016.046
- 001.024.016.050
- 001.024.016.052
- 001.024.016.095
- 001.024.016.098
- 001.024.016.101
- 001.024.016.109
- 001.024.016.116
- 001.024.016.121
- 001.024.016.125
- 001.024.016.128
- 001.024.016.133
- 001.024.016.149
- 001.024.016.152
Kürzlich entfernte Einträge
- 001.009.108.229
- 001.009.211.178
- 001.012.055.042
- 001.012.229.231
- 001.013.158.023
- 001.014.110.085
- 001.014.191.118
- 001.015.001.125
- 001.015.077.170
- 001.015.221.192
- 001.024.016.031
- 001.024.016.036
- 001.024.016.047
- 001.024.016.087
- 001.024.016.106
- 001.024.016.114
- 001.024.016.120
- 001.024.016.126
- 001.024.016.143
- 001.024.016.155
- 001.024.016.174
- 001.029.061.169
- 001.030.199.218
- 001.034.094.221
- 001.034.244.118
