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