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