[isf-wifidog] Newbie Server install questions

Ray Gwinn wifidog at wva.net
Mer 4 Jan 11:20:59 EST 2006


Thank you for taking the time to reply.

Can you give me the name of the php server script that that get executed first an the 
authorization process?  Then can you give me the name of the server php script that 
ends the authorization process.

If there are several possible starting and ending scripts, give me the most likely or most 
used starting and ending script names.

Given the start and end of any sequence, I can probably figure out the middle by looking 
at the code.  I am a programmer, but not a php programmer.  I am also experienced in 
maintaining state on web servers.

BTW, because of wifidog, I have purchased a bunch of O'Reilly books on PHP.  Now I 
can only read PHP, I should be able to write code soon.

Ray

On 3 Jan 2006 at 18:59, Mina Naguib wrote:

> 
> Hi Ray
> 
> The protocol is one of those things that "just happened - just  
> worked" and is not well documented.
> 
> There are 2 primary calls that the client makes to the central server.
> "/auth/" (authorizes a new login, overloaded to also mean re-check  
> existing connection, also update per-connection statistics)
> "/ping/" (sends heartbeat to auth server to indicate it's still  
> alive. Carries extra info such as system load/uptime/freemem etc.)
> 
> The client stops re-directing web browsers to the central server once  
> that web browser has successfully authenticated.  This causes a  
> firewall rule to be inserted in iptables that lets the user's port 80  
> traffic get router properly instead of being re-directed to wifidog's  
> internal web server (and therefore a second-redirect to the wifidog  
> central server)
> 
> A high-level overview of the protocol's logic is here:
> http://www.ilesansfil.org/tiki-browse_image.php? 
> galleryId=1&sort_mode=created_desc&desp=0&offset=0&imageId=2
> 
> 
> On 3-Jan-06, at 6:15 PM, Ray Gwinn wrote:
> 
> > Is there any documentation of the protocol used between the wifidog  
> > client and server?  If
> > so, could you point me to it.
> >
> > In particular, I am interested in how the wifidog server tells the  
> > client to stop re-directing
> > to the server.  If you know the php server module that instructs  
> > the client to stop re-
> > direction please give me the module name.
> >
> > Ray
> >
> > _______________________________________________
> > WiFiDog mailing list
> > WiFiDog at listes.ilesansfil.org
> > http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
> 
> 




More information about the WiFiDog mailing list