https://www.dan.me.uk/torlist/ Rohliste öffnen Beschreibung
Erfasst neben den Austrittsknoten auch Eingangs- und Mittelknoten, ist also deutlich umfangreicher als die offizielle Liste. Sinnvoll, wenn jede Beteiligung am Tor-Netz erkannt werden soll. Der Betreiber bittet darum, die Liste höchstens halbstündlich abzurufen.
Integration
Address list per script
Fetch the list and import it into an address list called blocklist:
/tool fetch url="https://www.dan.me.uk/torlist/" 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://www.dan.me.uk/torlist/" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
/ip firewall address-list add list=blocklist address=$line comment="Tor Node List (dan.me.uk)"
} Use the list in the firewall
/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="Tor Node List (dan.me.uk)"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="Tor Node List (dan.me.uk)" 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://www.dan.me.uk/torlist/ Manual with nftables
wget -qO /tmp/blocklist.txt "https://www.dan.me.uk/torlist/"
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://www.dan.me.uk/torlist/" | 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://www.dan.me.uk/torlist/"
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://www.dan.me.uk/torlist/ - 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://www.dan.me.uk/torlist/ curl -fsSL "https://www.dan.me.uk/torlist/" -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:"Tor Node List (dan.me.uk) match";
ip.src; dataset:isset,blocklist, type string, load blocklist.txt; sid:1000001;) Letzte Änderungen
Kürzlich hinzugefügte Einträge
- 1.34.44.234
- 100.35.77.36
- 102.205.44.23
- 102.205.45.18
- 103.152.178.90
- 103.6.234.172
- 104.223.62.71
- 108.181.4.23
- 109.77.84.183
- 116.203.70.107
- 13.140.204.107
- 130.110.249.13
- 130.61.174.206
- 132.243.164.210
- 136.243.113.204
- 138.201.50.146
- 139.84.250.66
- 142.132.228.120
- 144.21.38.88
- 149.233.235.38
- 149.50.54.219
- 15.204.173.126
- 150.147.22.65
- 150.40.125.109
- 151.27.217.106
Kürzlich entfernte Einträge
- 109.205.195.217
- 109.205.195.236
- 109.205.195.251
- 109.76.187.152
- 124.198.132.244
- 129.154.197.153
- 130.162.133.2
- 132.243.165.81
- 134.101.204.215
- 135.148.121.166
- 141.78.131.16
- 149.224.223.132
- 149.233.128.4
- 150.40.117.104
- 150.40.98.19
- 154.62.226.38
- 157.230.73.174
- 158.247.199.231
- 172.232.188.206
- 176.62.41.133
- 185.230.162.21
- 185.244.192.184
- 188.27.39.180
- 193.106.166.105
- 195.246.231.14
