Changes between Version 2 and Version 3 of doc/developer/ClientProtocol

Show
Ignore:
Timestamp:
06/06/07 11:05:25 (13 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/developer/ClientProtocol

    v2 v3  
    11== Client Protocol == 
    22 
    3 This page describles the messaging between the wifidog client and auth server once a user has been validated and permitted access to the internet. It is client level messaging and not node level as described in the [wiki:doc/developer/PingProtocol Server Heartbeat]. 
     3This page describes the messaging between the wifidog client and auth server once a user has been validated and permitted access to the internet. It is client level messaging and not node level as described in the [wiki:doc/developer/PingProtocol Server Heartbeat]. 
    44 
    55Periodically the wifidog client will start a thread to report the status of each user connection. Currently this is used to reporting incoming/outgoing counters for each user, and to show that the user is still connected. 
     
    1818}}} 
    1919 
    20 In response the auth server with response with a valid status, and a new user message, or an auth server error.  
     20In response the auth server will respond with a valid status, and a new user message, or an auth server error. 
    2121 
    22 The new user status can be 
    23  
     22The format of the response should be: 
    2423 
    2524{{{ 
    26 AUTH_DENIED - User firewall users are deleted and the user removed. 
    27 AUTH_VALIDATION_FAILED - User email validation timeout has occured and user/firewall is deleted 
    28 AUTH_ALLOWED - User was valid, add firewall rules if not present 
    29 AUTH_VALIDATION - Permit user access to email to get validation email under default rules 
     25Auth: <number from user status list> 
     26}}} 
     27 
     28The new user status can be: 
     29 
     30{{{ 
     310 - AUTH_DENIED - User firewall users are deleted and the user removed. 
     326 - AUTH_VALIDATION_FAILED - User email validation timeout has occured and user/firewall is deleted 
     331 - AUTH_ALLOWED - User was valid, add firewall rules if not present 
     345 - AUTH_VALIDATION - Permit user access to email to get validation email under default rules 
     35-1 - AUTH_ERROR - An error occurred during the validation process 
    3036}}} 
    3137