X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Fsilcd%2Fserverconfig.c;fp=apps%2Fsilcd%2Fserverconfig.c;h=e51039d619484e970556ec1c4765f1d4c85226fe;hp=2f617c2621c8676c31b8513a41c081c924461391;hb=d47a87b03b846e2333ef57b2c0d81f1644992964;hpb=23c5df1c8b0bfe539d3fa65802186e6e09e044aa diff --git a/apps/silcd/serverconfig.c b/apps/silcd/serverconfig.c index 2f617c26..e51039d6 100644 --- a/apps/silcd/serverconfig.c +++ b/apps/silcd/serverconfig.c @@ -2,1178 +2,1161 @@ serverconfig.c - Author: Pekka Riikonen + Author: Johnny Mnemonic - Copyright (C) 1997 - 2000 Pekka Riikonen + Copyright (C) 1997 - 2002 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. - + 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 GNU General Public License for more details. */ -/* - * $Id$ - * $Log$ - * Revision 1.1.1.1 2000/06/27 11:36:56 priikone - * Importet from internal CVS/Added Log headers. - * - * - */ +/* $Id$ */ #include "serverincludes.h" #include "server_internal.h" -/* 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 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: - - +:::: - - +#define SILC_CONFIG_SERVER_AUTH_METH_PASSWD "passwd" +#define SILC_CONFIG_SERVER_AUTH_METH_PUBKEY "pubkey" - 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: - - +: