X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fserverconfig.c;h=30d76af3516cae4c81cbb60a718e938cc66fadf3;hp=4e42c44557d3305c07e706303080e4965a17731e;hb=9b290d7cd0ad262dfc23ef2e5673a2e088d1619e;hpb=9741406048f9adcb2a47b1ec489b025f398ea554 diff --git a/apps/silcd/serverconfig.c b/apps/silcd/serverconfig.c index 4e42c445..30d76af3 100644 --- a/apps/silcd/serverconfig.c +++ b/apps/silcd/serverconfig.c @@ -2,15 +2,14 @@ serverconfig.c - Author: Pekka Riikonen + Author: Giovanni Giacobbi - Copyright (C) 1997 - 2000 Pekka Riikonen + Copyright (C) 1997 - 2007 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - + the Free Software Foundation; version 2 of the License. + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -21,1367 +20,1928 @@ #include "serverincludes.h" #include "server_internal.h" +#include -/* XXX - All possible configuration sections for SILC server. - - - - Format: - - +: - - - - Format: - - +: - - - - Format: - - +: - - - - This section is used to set the server informations. - - Format: - - +::: - - - - This section is used to set the server's administrative information. - - Format: - - +::: - - - - This section is used to set ports the server is listenning. - - Format: - - +:: - - - - This section is used to set both the user and group which silcd - sets itself upon starting. - - Format: - - : - - - - This section is used to set various logging files, their paths - and maximum sizes. All the other directives except those defined - below are ignored in this section. Log files are purged after they - reach the maximum set byte size. - - Format: - - +infologfile:: - +errorlogfile:: - - - - This section is used to define connection classes. These can be - used to optimize the server and the connections. - - Format: - - +::: - - - - This section is used to define client authentications. - - Format: - - +:::: - - - - This section is used to define the server's administration - authentications. - - Format: - - +:::: - - - - This section is used to define the server connections to this - server/router. Only routers can have normal server connections. - Normal servers leave this section epmty. The remote server cannot be - older than specified Version ID. - - Format: - - +::::: - - - - This section is used to define the router connections to this - server/router. Both normal server and router can have router - connections. Normal server usually has only one connection while - a router can have multiple. The remote server cannot be older than - specified Version ID. - - Format: - - +::: - ::: - - - - This section is used to deny specific connections to your server. This - can be used to deny both clients and servers. - - Format: - - +: