ER605 (TL-R605) Captive portal fails on most iOS devices
Hi,
customers are struggling with captive portal&
Basically it works, but has an issue that prevents customers from normal flow and require frequent and annoying portal re-logins
Problem setup: Formal users with 0 (zero) idle timeout, no MAC binding, 10 Maximum Users per login
Problem devices: Apple iOS devices
Issues:
After successful login in captive portal in iOS Captive portal assistant no success redirect happens. So, there is no Done/Success option on iOS device (Only Cancel) and iOS does not consider internet connection is accessible.
To fix this issue captive portal must redirect to "url" option to let iOS device confirm that captive auth is successful. (it will reach http://captive.apple.com/hot-spot.html)
This issues causes to have multiple authentications of the same device with the same login and mac address. And then this user runs out of "Maximum Users" settings and no more logins allowed.
Here is the example of multiple users with the same login and MAC addresses - these are current active sessions list. Why ip addresses are different for the same MAC address?
{
"authtype": "web",
"expiretime": 1672559999,
"gw_address": "172.20.2.1",
"gw_id": "eth0.2",
"gw_port": "2060",
"indata": 0,
"ip": "172.20.2.46",
"mac": "92-B9-B9-43-7D-9B",
"outdata": 0,
"remindflag": 0,
"status": 9,
"token": "5bb6fb4b842258e9b352809e4afbf453",
"uptime": "2022-11-16 22:48:11",
"url": "http://captive.apple.com/hotspot-detect.html",
"username": "Room6"
},
{
"authtype": "web",
"expiretime": 1672559999,
"gw_address": "172.20.2.1",
"gw_id": "eth0.2",
"gw_port": "2060",
"indata": 0,
"ip": "172.20.2.48",
"mac": "92-B9-B9-43-7D-9B",
"outdata": 0,
"remindflag": 0,
"status": 9,
"token": "8cbfeb1735bcac520094d88297dc7e6e",
"uptime": "2022-11-17 2:23:19",
"url": "http://captive.apple.com/hotspot-detect.html",
"username": "Room6"
},
{
"authtype": "web",
"expiretime": 1672559999,
"gw_address": "172.20.2.1",
"gw_id": "eth0.2",
"gw_port": "2060",
"indata": 0,
"ip": "172.20.2.50",
"mac": "92-B9-B9-43-7D-9B",
"outdata": 0,
"remindflag": 0,
"status": 9,
"token": "6847753c7d38b84140b43f94ad5525f1",
"uptime": "2022-11-17 6:39:0",
"url": "http://captive.apple.com/hotspot-detect.html",
"username": "Room6"
},
{
"authtype": "web",
"expiretime": 1672559999,
"gw_address": "172.20.2.1",
"gw_id": "eth0.2",
"gw_port": "2060",
"indata": 0,
"ip": "172.20.2.55",
"mac": "92-B9-B9-43-7D-9B",
"outdata": 0,
"remindflag": 0,
"status": 9,
"token": "8d951e61d924a13f35d65b1b46d66d8b",
"uptime": "2022-11-17 17:52:10",
"url": "http://captive.apple.com/hotspot-detect.html",
"username": "Room6"
},