Hi all,
I need some help to solve a problem I have with our hotspot, using MikroTik + RouterOS + FreeRadius.
The file login.html in the MikroTik has been modified to redirect to index.php in our server with Apache and the authentication method used is chap.
The problem I have is that, sometimes, the hotspot receives more than one (or two, or…) login request from the same MAC and IP addresses in a short time interval (in the order of milliseconds or seconds) and that behaviour breaks our internal logic (chap challenge changes, bad data in records of MySQL, etc.).
I have tried to solve this in the software side, but it’s very difficult to do it, because many Apache threads / processes could be working with many requests from the same MAC & IP but with different chap challenge values, session id, etc., resulting in race conditions.
I don’t know if this is caused by the behaviour of latest releases of internet browsers, or because our MikroTiks have a misconfiguration, or…
Can you help me, please?
Thanks in advance.