updates.
[runtime.git] / README
1 SILC - Secure Internet Live Conferencing
2 ========================================
3
4 [NOTE: SILC is still in middle of development and this package is known
5 as Developer's Version which means that the package is in no means stable
6 or ready to be in production use.  This package is for those who wants
7 to test SILC, find bugs and maybe contribute some time and code for the
8 SILC project.  There is no guarantees that this package even compiles and
9 even if it compiles there is no guarantees that it would work, and even
10 if it works there is no guarantees that it would work correctly, and even
11 if it seems to work correctly it may be just plain luck.]
12
13
14 Description
15 ===========
16
17 SILC (Secure Internet Live Conferencing) is a protocol which provides
18 secure conferencing services in the Internet over insecure channel.
19 SILC is IRC like softwarre although internally they are very different.
20 Biggest similarity between SILC and IRC is that they both provide
21 conferencing services and that SILC has almost same commands as IRC.  Other
22 than that they are nothing alike.  Biggest differences are that SILC is 
23 secure what IRC is not in any way.  The network model is also entirely
24 different compared to IRC.
25
26
27 Running SILC
28 ============
29
30 The development version is still preliminary version and requires some
31 work to get it working.  You should, first of all, check the example
32 configuration files in ./doc/ directory.  Change them according to your
33 needs.
34
35 To run SILC client:
36
37         cd silc
38         ./silc -f <config file>
39
40 To run SILC server
41
42         cd silcd
43         ./silcd -f <config file>
44
45
46 Working Commands
47 ================
48
49 Following commands has been, at least partly, implemented:
50
51
52         /SERVER [<server>[:<port>]]
53
54                 Connects to remote SILC server.
55
56         /NICK   [<nickname>]
57
58                 Changes/sets nickname.  Note that in SILC there can be
59                 multiple same nicknames.  However, the logic on working
60                 with multiple nicknames on user interface is pretty much
61                 still missing.  Also note that nicknames in SILC are
62                 case-sensitive.
63
64         /JOIN   <channel>
65
66                 Joins to a channel.  Channel names start with `#'
67                 character.
68
69         /LEAVE  <channel>
70
71                 Leaves the channel.  If /leave * is given the client
72                 leaves the current channel.
73
74         /CMODE  <channel> +|-<modes> [{ <arguments>}]
75
76                 Changes/sets channel mode.  Most of the modes require
77                 special privileges, such as channel operator or channel
78                 founder privileges to work.  The mode is added by adding
79                 + before the option(s) and removed by adding - before
80                 the option(s).  Following modes are available:
81
82                 p               Set/unset channel as private channel
83                 s               Set/unset channel as secret channel
84                 k               Set/unset that channel uses private channel key
85                 i               Set/unset channel as invite only channel
86                 t               Set/unset that only channel operator or 
87                                 founder may set channel topic
88                 l <limit>       Set/unset channel's user limit
89                 a <passphrase>  Set/unset passphrase for channel that must
90                                 be provided when joining to the channel.
91                 b <username!nickname@server>    
92                                 Add client to/remove client from ban list
93                 I <username!nickname@server>    
94                                 Add client to/remove client from invite list
95                 c <cipher>[:<keylen>]
96                                 Set/unset channel's cipher
97
98                 Multiple modes can be set/unset at once if the modes does not
99                 require any arguments.  If mode requires an argument then only
100                 one mode can be set at once.
101
102         /CUMODE <channel> +|-<modes> <nickname>[@<server>]
103
104                 Changes/set user's mode on a channel.  Most of the modes 
105                 require that the client who changes some client's mode must
106                 be channel founder or channel operator.  Following channel
107                 user modes are available:
108
109                 a <nickname>[@<server>]
110                                 Set/unset all modes (cannot be used to set
111                                 both founder and operator rights, can be used
112                                 only to remove both modes at once).
113                 f <nickname>[@<server>]
114                                 Unset channel founder.  Channel founder rights
115                                 cannot be set by user (only by server) so this
116                                 can be used only to unset the mode.
117                 o <nickname>[@<server>]
118                                 Set/unset channel operator.  Requires that 
119                                 you are channel operator or channel founder.
120
121         /MSG    <nickname> <message>
122
123                 Sends private message to remote client.  Support for
124                 handling multiple same nicknames with /MSG command is
125                 still missing.
126
127         /WHOIS  <nickname>[@<server>] [<count>]
128
129                 Gives a little information about a client.  Support for
130                 handling multiple same nicknames with this command is
131                 still missing.
132
133         /KICK   <channel> <nickname>[@<server>] [<comment>]
134
135                 Kicks client from channel. You have to be at least channel
136                 operator to be able to kick client from channel.  Note:
137                 you cannot kick channel founder even if you are channel
138                 operator.
139
140         /PING   [<server>]
141
142                 Pings server.  Only locally connected server may be 
143                 pinged.
144
145         /INFO   [<server>]
146
147                 Requests information about a server.  If argument is
148                 not specified current server is used.
149
150         /AWAY   [<message>]
151
152                 Sets away message.  When private message is received and
153                 away message is set the client automatically replies to
154                 the sender with the away message.  To remove away message
155                 give the command without arguments.
156
157         /QUIT
158
159                 Quits session.  Connection to remote server is closed.
160
161         /CLEAR
162
163                 Clears current screen.
164
165         /VERSION
166
167                 Shows client version.
168
169         /CONNECT <server> [<port>]
170
171                 Connects to server the remote <server>.  You must be
172                 server operator to be able to do this.
173
174
175         /CLOSE <server>
176
177                 Closes connection to the <server>.  You must be server
178                 operator to be able to do this.
179
180         /SHUTDOWN
181
182                 Shutdowns the server.  You must be server operator to be
183                 able to do this.
184
185
186 Features
187 ========
188
189 Features to be included into the final release of SILC.  [Note that the
190 current Developer's Version does not include all of these features, read
191 TODO file for more information.]
192
193  o Normal conferencing services such as private messages, channels,
194    channel messages, etc.  All traffic is secured and authenticated.
195
196  o No unique nicknames.  There can same nicknames in SILC without
197    collisions.  SILC has unique Client ID's, Server ID's and Channel ID's
198    to assure that there are no collisions.
199
200  o Secure key exchange and authentication protocol.  SILC Key Exchange
201    protocol provides key material used in the SILC sessions in secure
202    manner.  The protocol is immune for example to man-in-the-middle 
203    attacks.  The SILC Authentication protocol provides strong 
204    authentication.  Authentication may be based on passphrase or public
205    key (RSA) authentication.  For clients there is an option not to
206    use authentication when connecting to servers.
207
208  o All traffic is encrypted and authenticated using the best cryptographic
209    algorithms out there.  Command messages, private messages and channel
210    messages are all protected by encryption.  User can set private keys
211    for both private message and for channels so that even SILC servers do
212    not know the keys.  Cipher keys are, by default, 128 bits in length and
213    public keys, by default, 1024 bits in length.
214
215  o Supports data compression with GZIP to improve performance.
216
217  o Supports SOCKS4 and SOCKS5 firewall traversal protocols.
218
219  o SIM (SILC Module) support.  Support for loading of shared objects at 
220    run-time that provides new and extended features to both SILC client
221    and server.  These can provide extra ciphers and extra features to
222    the software.
223
224  o SILC client can be installed and used without root privileges.
225
226  o SILC client can be configured by system wide configuration files but
227    with user specific configuration files as well.
228
229
230 History
231 =======
232
233 Even though SILC were just released to the public the idea and the protocol
234 itself is quite old.  I got the idea about SILC in its current form in
235 the year 1996 and first lines of codes were written in early 1997.  This
236 release is now third rewrite of the SILC.  The very first version were
237 written in 1997 and it included SILC client and very very preliminary
238 SILC server.  The server actually weren't usable but the client looked
239 pretty much the same as it does now.  At that time the SILC also included
240 RSA implementation and 3DES implementation.  The random number generator
241 that exists in this current release is actually based on the RNG written
242 in 1997.  The RNG written in 1997, on the other hand, were based on
243 the SSH's random number generator.  The RNG has been rewritten twice
244 since the first version.
245
246 I stopped writing the SILC later in 1997 when I got busy at school and
247 in work.  The pause lasted several months.  The development resumed in
248 1998 when my friend (Juha Räsänen) and I implemented ElGamal algorithm.
249 I rewrote some other parts as well.  However, for the same reasons as
250 previously the development stopped again.  I resumed the development
251 later in 1998 by doing rewrite of the SILC in C++.  This was obviously 
252 a mistake but at that time it seemed like a good idea.  Again, in the 
253 winter 1999 I got very busy writing my thesis and was forced to stop the 
254 development again.  I also, started a new job in the spring.
255
256 Later, in 1999, I decided that this time I'm going to make it the right
257 way.  C++ was obviously a bad choice so I decided to fall back to plain
258 C language.  I also decided to do complete rewrite and started doing
259 more thorough planning of what the SILC actually should include.  I also
260 decided that this time it is going to kill me before I stop the 
261 development.  I started writing SILC in the weekends and actually 
262 everytime I had some spare time.  I also started a new job but I didn't
263 let that get to my way.  The result of this development effort is the
264 release now in public.
265
266 I've learned a lot by doing the SILC.  I guess, when I started it I wasn't
267 that good of a C programmer.  That alone was a reason why SILC hasn't
268 seen the day of light before now.  My programming style has also changed 
269 dramatically during these years.  Actually, it has changed couple times 
270 since this last rewrite as well.  However, the code style of current SILC 
271 release is quite consistent (actually the coding style SILC has been 
272 written now I've learned in my current job).
273
274 There is probably over 85% of new code in this third rewrite.  Rest has 
275 just been copied from the old versions and only minor changes has been
276 made (like changed function names and overall coding style).  I've 
277 preserved the dates of the old files (dating back to 1997) that has 
278 existed in some forms in the old versions.  There is a lot of new code but
279 already I see a lot that needs rewriting.  The development continues.
280
281
282 Contact
283 =======
284
285 Feedback and comments are welcome.  You can reach me in the following
286 Address. 
287
288 Official SILC project web site is   : http://silc.pspt.fi
289 FTP archive for SILC project is     : ftp://silc.pspt.fi/pub/silc/
290 Development mailing list address is : silc-devel@lists.sourceforge.net
291
292                                 Pekka Riikonen <priikone@poseidon.pspt.fi>