Closed anselanza closed 8 years ago
Sorry, perhaps more to the point, curl -i clients3.google.com/generate_204
returns
HTTP/1.1 204 No Content
Content-Length: 0
Date: Wed, 02 Mar 2016 13:27:38 GMT
Which is exactly what you'd expect AFTER logging in. But somehow it is being allowed through?
Ah, figured it out myself.
If DNS servers are not explicitly configured, then for some reason (something to do with my network setup??) clients.google.com is allowed.
So I just added the following to my config file:
HS_DNS1=208.67.222.123
HS_DNS2=208.67.220.123
And now curl -i clients3.google.com/generate_204
returns the 302 response as expected, now.
That is quite odd, though?
Hi, I have seen this issue before and was suspecting the DNS same as you did, then i thought it is the port 443 which i added to the firewall list, and this happening for google only mentioned.
could you confirm if the issue is no more ?
I have a Coovachilli+nginx+RadiusDesk setup, which works perfectly except that Android clients aren't getting automatically prompted to sign-in to Wifi.
It turns out that clients3.google.com is being allowed through (before logon) unlike either domains such as captive.apple.com (for iOS clients).
For example, without logon I can still ping clients3.google.com (but not captive.apple.com) and
curl -i clients3.google.com
returnsHTTP/1.1 302 Found
and a blank page with "The document has moved" message, whereascurl -i captive.apple.com
returns a completely different response ofHTTP1.0 302 Moved Temporarily
and a different body.My
/etc/chilli/config
is set up like this (as you can see, clients3.google.com is not on the whitelist):Very strange? Why is that one domain (which happens to be the one that Android devices check for Captive Portal redirection!) being handled differently to everything else?