This system is running a hotspot, sometimes an user shows up and the CPU goes to 100%. I’ve tried to search what’s going on and i’m stuck at this.
The only thing I know is the user does not authenticate and start to send/receive this packets.
Everytime this happens I block the MAC in Hotspot > IP-Binginds.
So it happened again today and here are some informations:
Sometimes it does not take 100% CPU use, just around 15-25% ( only for this IP tasks ).
I’ve noticed that it happens with Android phones, and appears that it’s trying to reach Google IP’s.
i tested the above rules with hotspot login page.
when i click rapidly (F5) refresh in chrome at login page i can see that mikrotik cpu usage was 20-30%. the above rules didnt filter this.
when i was rapidly pressing a bookmark http link (http://www.imdb.com) at chrome the cpu usage was normal 5-10%. above rules was filtering my attempt.
Why are you running a hotspot on a switch? The switch should have limited firewall rules. All the natting and hotspot functionality should be on a router.
This rules was written for 5.x and well tested.
I remember there was some diffrence in time counting in 5.x not remember now.
Though, yiu can check rule counters, and see which rule didn’t hit the request ( did you moved these rules on top if chain ? (
yes i moved them at top.
the rules are working when you make multiple requests to login to hotspot. eg when you try to open a set of mupltiple bookmarks at once or when you click various bookmarks too fast.
thanx for this rule set.
This is a work-in-progress system to control hotspot use and integration with hotel programs.
So I’m testing in various types of RouterOS based systems, such as CRS’s, RB’s and CCR’s.
This problem showed up ( until now ) on CRS’s site.