Hello Authentication
[Nuauth]

Collaboration diagram for Hello Authentication:


Functions

char localid_authenticated_protocol (int protocol)
void localid_insert_message (connection_t *pckt, GHashTable *localid_auth_hash, struct msg_addr_set *global_msg)
void * localid_auth (GMutex *mutex)

Function Documentation

void* localid_auth ( GMutex *  mutex  ) 

Local id auth. Process messages on localid_auth_queue queue:

Thread running until mutex (function argument) is locked.

Parameters:
mutex Mutex used to stop the thread
Returns:
NULL

Definition at line 141 of file localid_auth.c.

References internal_message::datas, get_old_conn(), INSERT_MESSAGE, nu_srv_helloreq::length, nuauth_datas::localid_auth_queue, localid_insert_message(), msg_addr_set::msg, nuauthdatas, nu_srv_helloreq::option, POP_DELAY, REFRESH_MESSAGE, SRV_REQUIRED_HELLO, nuauth_datas::tls_push_queue, nu_srv_helloreq::type, and internal_message::type.

Referenced by init_nuauthdata().

Here is the call graph for this function:

char localid_authenticated_protocol ( int  protocol  ) 

Definition at line 29 of file localid_auth.c.

References FALSE, and TRUE.

Referenced by parse_dgram().

void localid_insert_message ( connection_t pckt,
GHashTable *  localid_auth_hash,
struct msg_addr_set global_msg 
)

Insert a packet in localid hash table:

Definition at line 44 of file localid_auth.c.

References msg_addr_set::addr, AUTH_STATE_AUTHREQ, AUTH_STATE_DONE, AUTH_STATE_HELLOMODE, AUTH_STATE_USERPCKT, DEBUG_AREA_USER, FALSE, msg_addr_set::found, free_connection(), ipv6_equal(), log_message, connection_t::mark, msg_addr_set::msg, nuauthdatas, PACKET_ALONE, connection_t::packet_id, tracking_t::saddr, connection_t::state, take_decision(), thread_pool_push(), connection_t::tracking, connection_t::user_groups, connection_t::user_id, connection_t::username, and warn_clients().

Referenced by localid_auth().

Here is the call graph for this function:


Generated on Sat Nov 22 04:01:00 2008 for NuFW by  doxygen 1.4.7