From 63bbc710b23893742e5ccbd430f95bf2d29c2da6 Mon Sep 17 00:00:00 2001 From: Jakub Sławiński Date: Thu, 3 Nov 2005 20:37:56 +0100 Subject: v0.7.4 - Fixed: sockets in CLOSE_WAIT state left by afclient - Added: --localname and --localport options - Added: --localdesname option - Added: kicking user in 'opening' state - Fixed: info about kicked user - Fixed: TERM signal handling - Fixed: id lost after reconnection - Fixed: printing wrong client name in 'SSL_accept failed (timeout)' message - Fixed: ignored 'certificate' and 'key' options from config file - Added: config files for afclient - Modified: some options in afserver config file --- src/activefor.h | 47 ++--------------------------------------------- 1 file changed, 2 insertions(+), 45 deletions(-) (limited to 'src/activefor.h') diff --git a/src/activefor.h b/src/activefor.h index ec2fcc5..4fcdbe0 100644 --- a/src/activefor.h +++ b/src/activefor.h @@ -49,8 +49,9 @@ #define S_STATE_OPENING 6 #define S_STATE_OPEN 7 #define S_STATE_STOPPED 11 +#define S_STATE_OPENING_CLOSED 17 -#define AF_VER(info) info" v0.7.2" +#define AF_VER(info) info" v0.7.4" #define TYPE_TCP 1 #define TYPE_UDP 3 @@ -85,49 +86,5 @@ #define TYPE_SET_COMP(type) (type|=TYPE_COMP) #define TYPE_IS_COMP(type) (type&TYPE_COMP) -typedef struct { - char* hostname; - char* users; - char* clients; - char* raclients; - char* usrpcli; - char* clim; - char* timeout; - char* realmname; - unsigned char pass[4]; - int usercon; - int usernum; - int clicon; - int clinum; - int raclicon; - int raclinum; - int upcnum; - int tmout; - int climode; - int usrclinum; - int clientcounter; - int usercounter; - char type; - char tunneltype; - char dnslookups; - char baseport; - char audit; - socklen_t addrlen; - struct sockaddr* cliaddr; - ConnectUser** contable; - ConnectClient** clitable; - ConnectClient** raclitable; - UsrCli** usrclitable; -} RealmT; - -typedef struct { - char* certif; - char* keys; - char* dateformat; - int size; - time_t starttime; - RealmT* realmtable; -} ConfigurationT; - #endif -- cgit v1.1