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