X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserver.h;h=9e626f5e3949bcdd4bf046bd8455a300e750b53b;hb=f5655eda8412bc7b03b6162cad01ad612719ad4a;hp=afff2b97a9e51399ac794001ba68637ec4c0d0fb;hpb=9a3032f7fd59939bcdce2ef4401dd2b84b7df637;p=silc.git diff --git a/apps/silcd/server.h b/apps/silcd/server.h index afff2b97..9e626f5e 100644 --- a/apps/silcd/server.h +++ b/apps/silcd/server.h @@ -63,8 +63,6 @@ typedef struct { void *callback_context; } *SilcServerConnection; -#define SILC_SERVER_MAX_CONNECTIONS 1000 - /* General definitions */ /* SILC port */ @@ -86,7 +84,13 @@ typedef struct { #define SILC_SERVER_RETRY_INTERVAL_MIN 10 /* Min retry timeout */ #define SILC_SERVER_RETRY_INTERVAL_MAX 600 /* Max generated timeout */ -#define SILC_SERVER_KEEPALIVE 300 /* Heartbeat interval */ +#define SILC_SERVER_KEEPALIVE 300 /* Heartbeat interval */ +#define SILC_SERVER_CHANNEL_REKEY 3600 /* Channel rekey interval */ +#define SILC_SERVER_REKEY 3600 /* Session rekey interval */ +#define SILC_SERVER_SKE_TIMEOUT 60 /* SKE timeout */ +#define SILC_SERVER_CONNAUTH_TIMEOUT 60 /* CONN_AUTH timeout */ +#define SILC_SERVER_MAX_CONNECTIONS 1000 /* Max connections */ +#define SILC_SERVER_MAX_CONNECTIONS_SINGLE 1000 /* Max connections per host */ /* Macros */