Changes between Version 1 and Version 2 of doc/developer/PingProtocol

Show
Ignore:
Timestamp:
06/25/07 12:42:19 (13 years ago)
Author:
benoitg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/developer/PingProtocol

    v1 v2  
    22 
    33 
    4 Wifidog uses the ping protocol as a heartbeat mechanism to send current status information to the auth server. This enables central logging of the status for each node at the auth server, and perhaps in future two way communications between the auth server and the node to centrally co-ordinate walled-garden settings etc. 
     4Wifidog uses the ping protocol as a heartbeat mechanism to send current status information to the auth server. This enables central logging of the status for each node at the auth server. 
    55 
    66The wifidog client uses a setting in the conf file to periodically start a thread ( ping_thread.c ) to send a status message via http to the auth server. The message format is 
     
    88 
    99{{{ 
    10 http://auth_sever/ping/index.php? 
     10http://auth_sever/ping/? 
    1111gw_id=%s 
    1212sys_uptime=%lu 
     
    2525"\r\n", 
    2626}}} 
    27   
     27 
     28A typical url would be:  /ping/?gw_id=001217DA42D2&sys_uptime=742725&sys_memfree=2604&sys_load=0.03&wifidog_uptime=3861 
    2829 
    2930To this the auth server is expected to respond with an http message containing the word "Pong".