[isf-wifidog] Wifidog, portal page and Apple auto-login

acv acv at miniguru.ca
Jeu 25 Aou 14:42:24 EDT 2011


Could you try the included patch? It implements the suggested behaviour.

Alex

On Thu, Aug 25, 2011 at 01:40:40PM -0400, Genevive Bastien wrote:
> Date: Thu, 25 Aug 2011 13:40:40 -0400
> From: Geneviève Bastien <gbastien at versatic.net>
> To: wifidog at listes.ilesansfil.org
> Subject: Re: [isf-wifidog] Wifidog, portal page and Apple auto-login
> 
> Thanks for the answer, but that is not the issue.  It is more Apple 
> products bypassing the portal page, the whole login process is all fine.
> 
> I found this: 
> http://blogs.oucs.ox.ac.uk/networks/2009/10/12/fixing-the-iphone-os-wifi-auto-login-problem/  
> Which may suggest that we could bypass the auto-login feature from the 
> server side by answering the request with the expected output.  The user 
> will then have to open a browser page to see the actual login and portal 
> pages.
> 
> Geneviève
> 
> 
> On 11-08-25 01:12 PM, acv wrote:
> >Marcos' comments below are not completely accurate, the ping was not a 
> >test itself,
> >in fact the gateway never bothered reading the response... The idea was to 
> >cause
> >the client to generate activity. Then activity (measured in bytes received 
> >from
> >client since last polling) was used.
> >
> >In src/firewall.c, fw_sync_with_authserver() implements the timeout logic, 
> >it includes
> >this tidbit:
> >
> >         /* Ping the client, if he responds it'll keep activity on the 
> >         link.
> >	* However, if the firewall blocks it, it will not help. The suggested
> >	* way to deal witht his is to keep the DHCP lease time extremely
> >	* short: Shorter than config->checkinterval * config->clienttimeout 
> >	*/
> >
> >ping was to be a BACKUP way of generating activity but using DHCP as 
> >suggested here is
> >much more reliable.
> >
> >Cheers,
> >
> >Alexandre
> >
> >On Thu, Aug 25, 2011 at 01:06:29PM -0300, Marcos Tadeu wrote:
> >>Date: Thu, 25 Aug 2011 13:06:29 -0300
> >>From: Marcos Tadeu<marcos at v2r.com.br>
> >>To: wifidog at listes.ilesansfil.org
> >>Subject: Re: [isf-wifidog] Wifidog, portal page and Apple auto-login
> >>
> >>Can you ping the Apple products from wifidog captive portal machine,
> >>after login?
> >>If not, it is the problema: wifidog need to ping client to know that it
> >>is alive. If an firewall drop the ping, wifidog consider it dead. And...
> >>pouf.
> >>
> >>On 08/25/2011 12:38 PM, Geneviève Bastien wrote:
> >>>Hello all,
> >>>
> >>>We have a problem with the portal page and Apple products and their
> >>>auto-login feature.  Right now, when any iOs product and now Lion
> >>>connects to a wifidog router, they are shown the login page right
> >>>away, and the minute they have access to the internet (apple.com
> >>>site), pouf! it's gone, so they never see the portal page.
> >>>
> >>>But the portal page is really important to us and this situation is
> >>>really annoying (40 to 50% of our users use Apple products!).
> >>>
> >>>Did anyone come up with a solution to this?  Or do you know any
> >>>captive portal solution that did?  Any ideas on the topic? (putting
> >>>apple.com in the walled garden is not a viable option)
> >>>
> >>>Thanks,
> >>>Geneviève
> >>>_______________________________________________
> >>>WiFiDog mailing list
> >>>WiFiDog at listes.ilesansfil.org
> >>>http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
> >>_______________________________________________
> >>WiFiDog mailing list
> >>WiFiDog at listes.ilesansfil.org
> >>http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
> >>
> >>
> >>_______________________________________________
> >>WiFiDog mailing list
> >>WiFiDog at listes.ilesansfil.org
> >>http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
> 

> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: patch_iOS_reponse.patch
Type: text/x-diff
Taille: 2012 octets
Desc: non disponible
URL: <http://listes.ilesansfil.org/pipermail/wifidog/attachments/20110825/839b7670/attachment.patch>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 195 octets
Desc: non disponible
URL: <http://listes.ilesansfil.org/pipermail/wifidog/attachments/20110825/839b7670/attachment.pgp>


Plus d'informations sur la liste de diffusion WiFiDog