Community discussions

MikroTik App
 
User avatar
Squidblacklist
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Wed Jun 26, 2013 11:06 am

Patch Request: skip duplicate entry error and continue processing.

Mon Oct 17, 2016 8:24 am

As a blacklist provider it would be a pain in the butt to continue to provide blacklists consistantly if Mikrotik halts loading a static dns blacklist during import on
"script error, duplicate entry exists"

I would please ask for you to modify the system to not halt, but rather, continue processing the rest of the list, and instead simply skip over the duplicate entries.

When our clients load multiple blacklists onto a routeros device, sometimes the same domain name will exist in both blacklists, for example, adulthub dot whatever will also exist in a video blacklist, so if a person wanted to load both the video blacklist and the adult blacklist, they wouldnt be able to, because router OS halts importing on duplicate entry. This is just one example of the top of my head but there are going to be plenty of other examples.

There are adult websites that are also serving malware, and we will have customers who want to load both malware and adult blacklists simultaneously, and they will not be able to successfully import them because you have chosen to make routeros HALT.

Please change this to skip on duplicate entry and continue processing rather than aborting.

Also important to note, that technically, the entry is not duplicate because they have a different comment to identify each blacklist type that is being loaded.


Thank you!!!
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2880
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Patch Request: skip duplicate entry error and continue processing.

Mon Oct 17, 2016 8:34 am

/ip firewall address-list
do { add list=blacklist address=121.18.238.20 comment=blacklist1 } on-error={};
do { add list=blacklist address=121.18.238.20 comment=blacklist1 } on-error={};
....

Who is online

Users browsing this forum: maisondasilva, whernandez and 94 guests