Sorry, didnt know how to monitor firewall rule stats? You are talking to a complete idiot. I am completely new to RouterOS syntax and scripting.
Heck, I havent touched a computer in over 2 years and am jumping right back into networking.
PLEASE HELP ME FIX MY SCRIPT/add DDoS,flood events,etc:
/system script add name=“MY INTRUSION ALERTS” source= {
:if ($DiskTopics=“critical”) do={
:for i from=1 to=3 step=1 do={
:beep frequency=550 length=494ms;
:delay 494ms;
:beep frequency=400 length=494ms;
:delay 494ms;
}
}
}
Is this correct and how can I test it?
I can see the run count in the WebFig.
I’m assuming this isnt working because $DiskTopics is a local variable to some firewall filter i had created and is not a global variable to my WHOLE config file?
I dont know how bad that is for system resources (is it continuously re-running every xx ms)?
I’ve been running port scans from all kinds of sources and have found no vulnerabilities in my system. Not even generating logs because its not getting that far. However I’m sure any real hacker could find vulnerabilities in my network.
Here is my ridiculous (semi-restrictive) config file: http://forum.mikrotik.com/t/good-lock-down-firewall-rules-for-a-home-ap-router/79443/1
(sans script)