My project was to make a Wifi captive access point. i.e. once you connect this wifi spot, you cannot surf the Internet, only the local website. I achieve it, when you hit any domain, any IP, for all ports possible, the client is redirected to the local website. It works. Yeah.
Unless I'm wrong somewhere, It is 100% captive. No IP forwarding, no Internet access.
However I'm not considered as a captive portal by OSes.The OSes I tested with (Mac OS X, iOS, Android) seems not to see it as captive. Therefore I get no popup/splash/notifications. ( Apple CNA : I have get informed on it, and Assistant should show, regarding the redirections I configured).
Is someone owning a bulk of help at this ? Am I missing/misunderstanding some stuff in being detected as a walled garden.
Thanks for any piece of help.
EDIT ___________ In the console, here is a bunch of lines I get when Mac OS X join the Wifi Spot :
UserEventAgent[40]: Captive: CNPluginHandler en1: Authenticated
UserEventAgent[40]: Captive: [CNInfoNetworkActive:1709] en1: SSID 'MyWifiTest2' not making interface primary (no cache entry)
UserEventAgent[40]: Captive: CNPluginHandler en1: Evaluating
UserEventAgent[40]: Captive: en1: Not probing 'MyWifiTest' (cache indicates not captive)
A similar issue @ https://discussions.apple.com/thread/6251349 : "So, we see the cache is no longer the issue, but something goes buggy with the probe (i.e., when Captive Network Assistant requests the Apple success webpage), and in its error state it assumes we are online, which we are not. This also seems buggy. What's a little funny, is that as soon as the computer assumes it's online, all my little background processes start making requests, and I get can see a dump of the captive portal login page markup in the errors that those processes throw."
In Library/Preferences/SystemConfiguration/CaptiveNetworkSupport/Settings.plist ProbeURL is:
http://captive.apple.com/hotspot-detect.html