Community discussions

MikroTik App
 
yabdali
just joined
Topic Author
Posts: 15
Joined: Sat Oct 22, 2016 3:44 am

Script failing after upgrade 175.3

Tue Sep 24, 2024 5:39 am

Hi,
I am having an issue after upgrading my router. I keep getting errors in the logs, below are the two scripts that are failing. Would someone be kind and suggest what should be fixed? Thanks alot...
:foreach indirizzoTest in=[ /ip firewall address-list find where list="dns_list" ] do={
 /ip firewall address-list set $indirizzoTest address=[:resolve [/ip firewall address-list get $indirizzoTest comment]];
};
:foreach i in [/ip firewall address-list find list=port_scanners_list] do={ /tool e-mail send to=myemail@gmail.com subject="port_scanners_list" body=("IP added " . [/ip firewall address-list get $i  address])}
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4366
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: Script failing after upgrade 175.3

Tue Sep 24, 2024 6:03 am

:foreach I in=[/ip firewall address-list find list=port_scanners_list] do={ /tool e-mail send to=myemail@gmail.com subject="port_scanners_list" body=("IP added " . [/ip firewall address-list get $i address])}
 
yabdali
just joined
Topic Author
Posts: 15
Joined: Sat Oct 22, 2016 3:44 am

Re: Script failing after upgrade 175.3

Tue Sep 24, 2024 9:33 pm

Thanks alot... Would you be able to suggest what could be wrong with the first one? Thanks again

Who is online

Users browsing this forum: infospa, Robyfire69, yhfung and 94 guests