Initial revision
[silc.git] / doc / example_silcd.conf
1 #
2 # Configured ciphers.
3 #
4 # Format: <name>:<module path>:<key length>:<block length>
5 #
6 # If the cipher is builtin the <module path> maybe omitted.
7 #
8 [cipher]
9 twofish-cbc:/home/priikone/silc/lib/silcsim/modules/twofish.sim.so:16:16
10 rc6-cbc:/home/priikone/silc/lib/silcsim/modules/rc6.sim.so:16:16
11 mars-cbc:/home/priikone/silc/lib/silcsim/modules/mars.sim.so:16:16
12 none:/home/priikone/silc/lib/silcsim/modules/none.sim.so:0:0
13
14 #
15 # Configured hash functions.
16 #
17 # Format: <name>:<module path>:<block length>:<digest length>
18 #
19 # If the hash function is builtin the <module path> maybe omitted.
20 #
21 [hash]
22 md5::64:16
23 sha1::64:20
24
25 #
26 # Configured PKCS.
27 #
28 # Format: <name>:<module path>:<key length>
29 #
30 # NOTE: <module path> must be omitted as PKCS cannot be modules currently.
31 #
32 #[pkcs]
33 #rsa::1024
34 #dss::1024
35
36 #
37 # Server's administrative information.
38 #
39 # Format: <location>:<server type>:<admin's name>:<admin's email address>
40 #
41 [AdminInfo]
42 Kuopio, Finland:Test Server:Pekka Riikonen:priikone@poseidon.pspt.fi
43
44 #
45 # Server information.
46 #
47 # Format: +<server FQDN>:<server IP>:<geographic location>:<port>
48 #
49 [ServerInfo]
50 lassi.kuo.fi.ssh.com:10.2.1.6:Kuopio, Finland:1333
51
52 #
53 # Listenning ports.
54 #
55 # Format: <local IP/UNIX socket path>:<remote IP>:<port>
56 #
57 [ListenPort]
58 10.2.1.6:10.2.1.6:1333
59
60 #
61 # Log files.
62 #
63 # This section is used to set various logging files, their paths
64 # and maximum sizes. All the other directives except those defined
65 # below are ignored in this section. Log files are purged after they
66 # reach the maximum set byte size.
67 #
68 # Format: infologfile:<path>:<max byte size>
69 #         warninglogile:<path>:<max byte size>
70 #         errorlogile:<path>:<max byte size>
71 #         fatallogile:<path>:<max byte size>
72 #
73 [Logging]
74 infologfile:silcd.log:10000
75 #warninglogfile:/var/log/silcd_warning.log:10000
76 #errorlogfile:ERROR.log:10000
77 #fatallogfile:/var/log/silcd_error.log:
78
79 #
80 # Connection classes.
81 #
82 # This section is used to define connection classes. These can be
83 # used to optimize the server and the connections.#
84 #
85 # Format: <class number>:<ping freq>:<connect freq>:<max links>
86 #
87 [ConnectionClass]
88 1:100:100:100
89 2:200:300:400
90
91 #
92 # Configured client connections.
93 #
94 # Format: <remote host>:<auth method>:<auth data>:<port>:<class>
95 #
96 [ClientConnection]
97 :::1333:1
98
99 #
100 # Configured server administrator connections
101 #
102 # Format: <host>:<auth method>:<auth data>:<nickname hash>:<class>
103 #
104 [AdminConnection]
105 10.2.1.199:passwd:veryscret:XXX:1
106
107 #
108 # Configured server connections.
109 #
110 # If server connections are configured it means that our server is
111 # router server.  Normal server must not configure server connections.
112 # Thus, if your server is not router do not configure this section.  If
113 # your server is router, this must be configured.
114 #
115 # Format: <remote host>:<auth method>:<auth data>:<port>:<version ID>:<vlass>
116 #
117 [ServerConnection]
118 10.2.1.7:passwd:veryscret:1333:1:1
119
120 #
121 # Configured router connections.
122 #
123 # For normal server only one entry maybe configured to this section.  It
124 # must be the router this server will be connected to.  For router server,
125 # this sections includes all configured router connections.  The first
126 # configured connection is the primary route.
127 #
128 # Format: <remote host>:<auth method>:<auth data>:<port>:<version ID>:<class>
129 #
130 [RouterConnection]
131 10.2.1.100:passwd:veryverysecret:1333:1:1
132
133 #
134 # Denied connections.
135 #
136 # These connections are denied to connect our server.
137 #
138 # Format: <remote host/nickname>:<time interval>:<comment>:<port>
139 #
140 [DenyConnection]
141
142 #
143 # Redirected client connections.
144 #
145 # Clients will be redirected to these servers when our server is full.
146 #
147 # Format: <remote host>:<port>
148 #
149 [RedirectClient]