Spamhaus DROP

https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/spamhaus_drop.netset Rohliste öffnen
1.607Einträge
+0 -0letzte Änderung
zuletzt aktualisiert
25,5 KBGröße
vor 3 Stundenzuletzt geprüft

Beschreibung

DROP steht für Do not Route Or Peer. Die Liste nennt ganze Netzbereiche, die nachweislich von Kriminellen kontrolliert oder per gefälschter Registrierung entwendet wurden. Sie ist bewusst klein und sehr konservativ gepflegt, weshalb sie sich für eine harte Sperre auf dem Router eignet. Hier in der CIDR-Aufbereitung des FireHOL-Projekts, weil Spamhaus das Original nur noch als JSON anbietet.

Integration

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/spamhaus_drop.netset" 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/spamhaus_drop.netset" dst-path=blocklist.txt
:foreach line in=[/file get blocklist.txt contents] do={
  /ip firewall address-list add list=blocklist address=$line comment="Spamhaus DROP"
}

Use the list in the firewall

/ip firewall filter add chain=forward src-address-list=blocklist action=drop comment="Spamhaus DROP"
/ip firewall filter add chain=forward dst-address-list=blocklist action=drop comment="Spamhaus DROP"

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.

MikroTik RouterOS Dokumentation

Nach oben scrollen