i setup a hotspot wireless server. All of the customers using username and password login to the net.
my problem is:
Anonymous users always Refresh the login page,or make a web DDOS(i could see from firewall-connection when attack happened),it cause my routerboard cpu very high > 90%!
My client is not fixed users,i could not using hotspot-ip bindings->blocked function!
Perhaps you can switch to PPPoE (if there is no problem to configure PPPoE client on every current client), then non-authorized user will not be able to get access to the network at all.
We know through MUM China.
There is too much problem to confirgure PPPOE client on every current client ,because wireless clients are public anonymous users(NON fixed PC,only check username & password).
could RouterOS improve HotSpot safety in the next upgrade? OR give me some useful configuration???
Maybe try limiting the number of connections for unauthenticated clients in the pre-hs-input chain. To only give each unauthenticated client 20 connections at a time:
i’m sorry ,your configuration does not work well! you could setup a hotspot then refresh the login page with high frequency(just press F5) as an attack!!
i could see from firewall-connection when attack happened
If you can see excessive connections in the firewall connection table, limit the number of connections. If there’s not an excessive number of connections during the perceived attack that won’t work.
The real problem is differentiating between malice and this situation just occurring without the user even knowing what he’s doing. Most of those widgets that Windows 7 and Vista show in the sidebar, for example, pull data from the Internet, usually via HTTP. So if an unauthenticated user has 10 widgets open that each refresh every 30 seconds, you’ll see a lot of hits on the login page as all that traffic will be redirected to the login page as it’s impossible for the router to determine whether an HTTP request comes from such a widget or a browser interactively used by the user.
I know the real problem is my clients PC infected with virus, and clients are not login to HOTSPOT , virus make Web DDOS to another WebSite, but RouterOS HotSpot did not know , HotSpot still redirect login page to the clients ,so cpu getting very high ,
i think if we could limit the redirect times,we could solve this problem! how to do this well? you know that in RouterOS Hotspot all unauthorized data is putted into a new chain…But i have tried all the chains ,it still didn’t work well!
Please give me the right answer! See , My TOPIC is “hotspot server is attacked by Non-authenticated users”
you just setup a simple hotspot ,then not login ,just press F5 to refresh the login page ,watch your CPU useage! if your configuration is good ,the cpu useage is lower than 50% or not ,your cpu useage up to >>60%
maozilee, you can try to implement the idea of additional AP.
One wireless AP is installed on router, you can create additional virtual AP. Payed customers use one AP (with security settings WPA/WPA2), free AP with HotSpot is another interface for all other clients.
What kind of router do you have for HotSpot server?
We have tried to reproduce 100% CPU, it was not so easy to get it (moreover router should handle 100% CPU for opening login page all the time without a problem).
Thank you sergejs. My RouterBoard iis 433AH with R52 miniPCI. it is really good that RB can handle 100% CPU for opening login page all the time without a problem. Many of the attack problems from intranet is not F5 fresh login page problem but from virus attack which make Web DDOS to other WebSite through RouterOS ,HotSpot redirect login page to the clients made cpu getting very high .
I want solve this problem completely, because i could solve it mannually. First watch connections from firewall-connections ,find the attack src-address ,find the MAC address in hotspot HOST_TABLE, then put mac into hotspot blocked list! Well DONE.
I want make RouterOS do it automatically! Sergejs,what do you think? Is it possible?
I want solve this problem completely, because i could solve it mannually. First watch connections from firewall-connections ,find the attack src-address ,find the MAC address in hotspot HOST_TABLE, then put mac into hotspot blocked list! Well DONE.
There is no automatic function for the described operation.
Look above for the second solution, when different APs are used for authorized and non-authorized clients.