Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15394

Scripting • Re: Address lists downloader (DShield, Spamhaus DROP/EDROP, etc)

$
0
0
Code:
# remove the current list completely :do { /ip firewall address-list remove [find where comment=$description dynamic]} on-error={};### line replaced ###  :local data ([:tool fetch url=$url output=user as-value]->"data")
I don't like that line..

With the script this thread is focused on, it renews the time left. Looking at this, being that the script, it won't, since it expects that the address list has been removed.

Not to mention it removes any/all dynamic entries.. That is bad too.

Cool though.

Statistics: Posted by kevinds — Mon Jan 22, 2024 9:54 pm



Viewing all articles
Browse latest Browse all 15394

Trending Articles