updates.
[silc.git] / CHANGES
1 Thu Jun 28 19:19:13 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
2
3         * SILC Client 1.1.1.
4
5 Sun Jun 24 18:47:55 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
6
7         * SILC Toolkit 1.1.1.
8
9         * Compile sources with _GNU_SOURCE on Linux systems.  Affected
10           file is configure.ad.
11
12 Sun Jun 24 16:33:59 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
13
14         * Fixed Unix signal task dispatching to not lock the signals
15           when dispatching the callback to avoid deadlocks.  Affected
16           file is lib/silcutil/unix/silcunixschedule.c.
17
18 Sun Jun 24 14:43:21 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
19
20         * Fix configure output for with-plugin.  Affected file is
21           apps/irssi/configure.ad
22
23 Tue Jun 19 17:05:48 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
24
25         * Added SILC_VERSION macro for checking package versions at
26           compile time.  Affected files are configure.ad,
27           includes/silc.h.in and includes/silcversion.h.in.
28
29 Mon Jun 18 23:47:22 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
30
31         * Use SILC_VERIFY to assert that silc_rwlock_wrlock can be
32           called only once per thread on Unix.  Affected file is
33           lib/silcutil/unix/silcunixthread.c.  Added same for mutex
34           as well.   Documented same on the API in 
35           lib/silcutil/silcmutex.h.
36
37         * Fixed USERS command reply write-lock unlocking.  Affected file
38           is lib/silcclient/command_reply.c.
39
40 Mon Jun 18 08:14:26 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
41
42         * Fixed silc_create_key_pair to check for valid identifier.
43           Affected file is lib/silcapputil/silcapputil.c.
44
45 Sun Jun 17 20:08:26 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
46
47         * Rewrite signed public message handling, adopting the new
48           hilight interface.  Affected file is
49           apps/irssi/src/fe-common/silc/fe-silc-messages.c
50
51 Thu Jun 14 21:15:31 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
52
53         * Fix off by one error when loading modules.  Affected file is
54           apps/irssi/src/core/modules-load.c
55
56         * Don't delete hilight entry (because it's just a pointer, not a
57           copy).  Affected file is 
58           apps/irssi/src/fe-common/silc/fe-silc-messages.c
59
60 Mon Jun 11 22:10:17 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
61
62         * Added __SILC_TOOLKIT_x_x_x macro to all Toolkit distribution
63           which can be used to check for Toolkit version in third-party
64           software.  Affected file is configure.ad, includes/silc.h.in.
65
66 Sun Jun 10 17:32:15 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
67
68         * Added support for channel@server channel name strings to
69           client library (SILC protocol version 1.3 change).  Affected
70           files are lib/silcclient/silcclient_entry.h, client_entry.c.
71
72         * Added full_nicknames and full_channel_names settings to
73           SilcClientParams that can be used to specify whether client
74           library returns full nickname and channel name strings.
75           Full strings are nick@server and channel@server.  Affected
76           file is lib/silcclient/client_entry.c and command.c.
77
78 Sat Jun  9 19:43:25 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
79
80         * Fixed unix connecting failure to return error code correctly.
81           Affected file is lib/silcutil/unix/silcunixnet.c.
82
83 Fri Jun  8 23:32:33 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
84
85         * Fixed SKE timeout double free crash.  Affected file is
86           lib/silcske/silcske.c.
87
88         * Fixed MIME multipart decoding buffer overflow.  Affected file
89           is lib/silcutil/silcmime.c.  Thanks to Matt Miller for patch.
90
91 Fri Jun  8 18:39:34 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
92
93         * Fixed connection auth protocol timeout crash.  Affected
94           file is lib/silcske/silconnauth.c.
95
96         * Fixed FSM machine finishing to check for existing threads
97           at the final free callback to allow time for the threads to
98           finish.  Affected file lib/silcutil/silcfsm.c.
99
100 Thu Jun  7 21:25:31 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
101
102         * Fixed silc_client_get_clients_local to check the nick's
103           server also if nick@server nickname string is given to the
104           function.  Affected file is lib/silcclient/client_entry.c.
105
106 Wed Jun  6 18:33:05 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
107
108         * Added notify callback to silc_schedule_init which can be used to 
109           set a notify callback for scheduler which is called when task is
110           added to scheduler or deleted from scheduler.  Affected file
111           is lib/silcutil/silcschedule.[ch].
112
113         * Dispatch timeout tasks after dispatching FD tasks if the timeout
114           was very short.  Affected file is lib/silcutil/silcschedule.c.
115
116         * Rewrote the SILC scheduler handling in SILC Client to not poll
117           every few msecs but to use the new notify callback.  Affected 
118           file is apps/irssi/src/silc/core/silc-core.c.
119
120         * Fixed SFTP client library read buffer size which was too small.
121           Affected file is lib/silcsftp/sftp_client.c.
122
123         * Fixed file transfer crash bug in /QUIT in SILC Client.  Close
124           the FTP sessions before quitting the client.  Affected file
125           is apps/irssi/src/silc/core/silc-servers.c.
126
127 Tue Jun  5 20:48:40 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
128
129         * Fixed silc_packet_get_ids to decode the IDs correctly.
130           Affected file is lib/silccore/silcpacket.c.
131
132         * Fixed silc_client_get_clients_local to parse correctly nickname
133           string that may have server name in it (nick@server) regardless
134           whether it was formatted nickname or not.  Affected file is
135           lib/silcclient/client_entry.c.
136
137 Mon Jun  4 22:02:53 CEST 2007  Jochen Eisinger <jochen@penguin-breeder.org>
138
139         * Only destroy sendbuffers, if they still exist (they cease to
140           exist during /upgrade).  Affected file is
141           apps/irssi/src/silc/core/silc-servers.c
142
143 Mon Jun  4 21:24:17 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
144
145         * Removed --enable-silc-plugin.  Added --with-silc-plugin.
146           Affected files are configure.ad, lib/configure.ad,
147           apps/irssi/configure.ad, apps/irssi/configure.in,
148           apps/irssi/scripts/Makefile.am,
149           apps/irssi/scripts/examples/Makefile.am,
150           apps/irssi/src/silc/core/silc/Makefile.am,
151           apps/irssi/src/fe-common/silc/Makefile.am.
152
153 Mon Jun  4 08:35:59 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
154
155         * SILC Client 1.1.
156
157 Sun Jun  3 14:00:09 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
158
159         * Fixed DESTDIR handling in make install.
160
161 Sat Jun  2 21:04:32 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
162
163         * SIM modules are not delivered to SILC CLient distribution
164           anymore.
165
166         * Changed default installation path from /usr/local/silc to
167           /usr/local for all distributions.
168
169         * Removed --with-etcdir and --with-docdir.  The etcdir is now
170           the system's default.  The Docdir is system's default.
171
172 Sat Jun  2 00:51:57 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
173
174         * If public key/private key loading fails set the return
175           pointer to NULL.  Affected file is lib/silccrypt/silcpkcs.c.
176
177         * If private key loading fails in silc_load_key_pair free the
178           loaded public key.  Affected file is
179           lib/silcapputil/silcapputil.c.
180
181         * Fixed key pair loading crash with SILC Plugin if key pair
182           loading fails.  Affected file is
183           apps/irssi/src/silc/core/silc-core.c.
184
185         * Fixed SILC Client help and script file installation path
186           to go to prefix/share/silc.  Affected files are
187           apps/irssi/src/scripts/Makefile.am and
188           apps/irssi/docs/help/Makefile.am.gen.
189
190 Thu May 31 16:49:13 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
191
192         * Fixed UTC offset minutes to be actually minutes.  Affected
193           file is lib/silcutil/silctime.c.
194
195 Thu May 31 09:40:56 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
196
197         * SILC Toolkit 1.1.
198
199         * Added support for checking for timezone and tm_gmtoff.
200           Affected files are configure.ad and lib/silcutil/silctime.c.
201
202 Wed May 30 18:46:34 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
203
204         * Added silc-toolkit.spec.in RPM spec file.
205
206 Mon May 28 23:21:39 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
207
208         * Fixed nickname formatting crash when updating existing
209           client entry.  Affected file is lib/silcclient/client_entry.c.
210
211         * Fixed MIME object encoding in attribute payload encoding.
212           Affected file is lib/silccore/silcattrs.c.
213
214 Mon May 28 09:02:26 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
215
216         * SILC Client 1.1 Beta6
217
218 Sun May 27 20:38:30 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
219
220         * Copy SILC Plugin's libfe_common_silc.so to libfe_silc.so so
221           that user's don't have to do it manually.  Affected file
222           is apps/irssi/src/fe-common/silc/core/Makefile.am.
223
224 Thu May 24 15:30:31 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
225
226         * SILC Toolkit 1.1 Beta4.
227
228         * Fixed channel and server entry freeing in client library.
229           Affected file is lib/silcclient/client_entry.c.
230
231         * Do not allow stopping client before it has been started.
232           Affected file is lib/silcclient/client.c.
233
234 Wed May 23 23:21:03 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
235
236         * Fixed formatted nickname renaming to rename also irssi's
237           nicklist (/NAMES etc).  Affected file is
238           apps/irssi/src/silc/core/client_ops.c.
239
240         * Fixed SILC Plugin crash when stopping client library before
241           it has been started.  Affected file is
242           apps/irssi/src/silc/core/silc-core.c.
243
244 Tue May 22 17:18:54 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
245
246         * For SILC Client and SILC Server check for 1.1 Toolkit
247           in configure.  Affected file is configure.ad.
248
249         * Added better library linking flags and orders for SILC Client.
250           Affected file is configure.ad, Makefile.defines_int.in and
251           apps/irssi/src/fe-text/Makefile.am
252
253 Mon May 21 08:26:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
254
255         * SILC Client 1.1 Beta5.
256
257 Sun May 20 18:34:22 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
258
259         * Add hooks for Irssi 0.8.11 module functions.  Affected file
260           is apps/irssi/src/fe-common/silc/fe-common-silc.c
261
262 Sat May 19 14:46:36 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
263
264         * Fixed passphrase authentication with server.  Affected file
265           is lib/silcclient/client_connect.c.
266
267         * Fixed passphrase authentication as responder.  Affected file is
268           lib/silcske/silcconnauth.c.
269
270         * Changed SilcAskPassphrase and SilcGetAuthMeth callbacks to
271           return data as const.  Affected file is
272           lib/silcclient/silcclient.h.
273
274         * Fixed timeout calculation in Symbian scheduler.  Affected
275           file is lib/silcutil/symbian/silcsymbianscheduler.c.
276
277 Fri May 18 21:10:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
278
279         * Do not uninitialize u.m.threads atomic int in finish but in
280           free.  Fixes crash on any platform using atomic operations
281           using mutexes (like Symbian).  Affected file is
282           lib/silcutil/silcfsm.c.
283
284         * Fixes Symbian scheduler wakeup synchronization.  Affected file
285           is lib/silcutil/symbian/silcsymbianscheduler.c.
286
287 Fri May 18 18:10:36 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
288
289         * Fixed nickname formatting to handle already formatted nicknames
290           better.  Affected file is lib/silccilent/client_entry.c.
291
292         * Added "foo#2 appears as foo" support to SILC Client when user
293           leaves or quits and one formatted nickname remain.  Affected file 
294           is apps/irssi/src/silc/core/client_ops.c.
295
296         * Send SilcChannelEntry to application in SILC_NOTIFY_TYPE_SIGNOFF.
297           Affected file is lib/silcclient/client_notify.c.
298
299 Thu May 17 18:05:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
300
301         * Fixed silc_show_public_key to not free public key in case of
302           failure.  Affected file is lib/silcapputil/silcapputil.c.
303
304 Thu May 17 17:09:50 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
305
306         * SILC Toolkit 1.1 Beta3.
307
308         * Porting Toolkit to Symbian.  It should work while some sporadic
309           odd crashes remain.  However I was able to run mybot on SILCNet.
310           Basically tested scheduler, net routines, socket  routines,
311           threads and some other utility routines.  Affected files are
312           in lib/silcutil/symbian/.
313
314 Thu May 17 11:57:40 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
315
316         * Show realname and email address from public key when verifying
317           cached public keys with GETKEY.  Affected files are
318           apps/irssi/src/fe-common/module-formats.[ch] and
319           apps/irssi/src/silc/core/client_ops.c.
320
321 Wed May 16 20:41:04 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
322
323         * Include SILC Plugin theme.  Affected file is apps/irssi/plugin.theme
324
325         * Include SILC Plugin /silc command help.  Affected file is
326           apps/irssi/docs/help/silc
327
328         * Create channels before joining them.  Affected file is
329           apps/irssi/src/silc/core/client_ops.c
330
331 Wed May 16 18:59:22 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
332
333         * Fixed channel private key listing with /key.  Affected file
334           is apps/irssi/src/silc/core/silc-channels.c.
335
336         * Fixed the public headers from anonymous structures.  Affected
337           files are lib/.
338
339         * Changed silc_buffer_*len macros to inline functions.  Affected
340           file is lib/silcutil/silcbuffer.h.
341
342 Wed May 16 10:21:45 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
343
344         * Fixed nickname format parsing in JOIN notify handling and
345           in WHOIS command reply.  Affected file is
346           apps/irssi/src/silc/core/client_ops.c.
347
348 Wed May 16 09:34:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
349
350         * SILC Client 1.1 Beta4.
351
352 Tue May 15 23:55:41 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
353
354         * Added SILC_VERIFY macro which is equivalent to SILC_ASSERT
355           but is compiled always in.  Affected file is 
356           lib/silcutil/silclog.h.
357
358         * Use SILC_VERIFY in FSM macros instead of SILC_ASSERT which is
359           not there in release builds.  Affected file is
360           lib/silcutil/silcfsm.h.
361
362 Tue May 15 21:19:09 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
363
364         * SILC Client 1.1-beta3
365
366 Mon May 14 23:20:59 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
367
368         * Added silc_utf8_c2w and silc_utf8_w2c to do UTF-8 to widechar
369           and widechar to UTF-8 conversions.  Affected files are
370           lib/silcutil/silcutf8.[ch].
371
372 Mon May 14 19:45:14 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
373
374         * Include a README for the SILC Plugin
375
376 Sun May 13 22:08:59 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
377
378         * Adopt perl Makefiles for SILC Plugin.
379
380 Sun May 13 18:27:13 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
381
382         * Fixed client library initialization when the running callback
383           is not given to silc_client_init.  Affected file is
384           lib/silcclient/client.c.
385
386         * Fixed Symbian compilation problems around the tree.  Added
387           new Carbide.c++ project files to symbian/ directory.
388
389         * Fixed SilcLog API to work on Symbian.  On Symbian it doesn't
390           use any globals.  Affected files are lib/silcutil/silclog.c
391           and silclog_i.h.
392
393 Sun May 13 16:54:35 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
394
395         * Fix several warnings in Irssi's Makefiles.
396
397 Sun May 13 12:16:30 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
398
399         * Disable ASM if --with-pic was given.  Affected file is
400           lib/silccrypt/configure.ad
401
402 Fri May 11 19:10:54 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
403
404         * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later
405           in case they are called from a thread.  Affected file is
406           lib/silcutil/silcfsm.c.
407
408         * Fixed WIN32 thread creation to handle the Tls correctly.
409           Affected file is lib/silcutil/win32/silcwin32thread.c.
410
411 Thu May 10 18:29:18 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
412
413         * SILC Toolkit 1.1-beta2.
414
415 Thu May 10 18:21:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
416
417         * Fixed silc_net_tcp_connect crash on Unix and Win32.  Handle
418           the socket async operation correctly.  Changed that DNS lookup
419           is now done during connecting.  Affected files are
420           lib/silcutil/[unix|win32]/silc[unix|win32]net.c.
421
422         * Changed also silc_net_tcp_connect on Symbian to do DNS lookup.
423           Affected file is lib/silcutil/symbian/silcsymbiannet.c.
424
425         * Optimize silc_net_gethostbyname to check if the name is already
426           IP address.  Affected file is lib/silcutil/silcnet.c.
427
428 Wed May  9 19:51:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
429
430         * Print filename instead of empty function name in debug output
431           on WIN32.  Affected files are lib/silcutil/silclog_i.h and
432           silclog.c.
433
434         * Rewrote WIN32 SILC Scheduler.  It now handles non-blocking file 
435           descriptors and sockets better.  Though, room for optimization
436           remains.  Affected file is lib/silcutil/win32/silcwin32schedule.c.
437
438         * Removed silc_net_win32_[init|uninit].  They are called now
439           automatically when SILC Scheduler is allocated.  Wrote IPv4
440           address parser because inet_addr seemed not to work on my WIN32.
441           Affected file is lib/silcutil/win32/silcwin32net.c.
442
443         * Improved socketstream.h and stream.h documentation.
444
445 Tue May  8 18:13:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
446
447         * Changed private message waiting API in client library to make
448           it work better with multiple waiting threads.  The waiting is
449           not always per client entry instead of per connection.  Affected
450           files are lib/silcclient/client_prvmsg.c, client.h and
451           silcclient.h.
452
453         * Changed silc_packet_wait_init function to accept the the expected
454           Source ID of the packet as argument.  If specified only packets
455           with the specified types and Source ID are delivered.  Affected
456           files are lib/silccore/silcpacket.[ch].
457
458         * Fixed file transfer disconnection crash when closing the session
459           directly in the monitor callback after disconnection.  Affected
460           file is lib/silcclient/client_ftp.c.
461
462         * Make Toolkit compile on WIN32.  Affected files in win32/
463           and in lib/silcutil/win32/.
464
465         * Changed silc_compare_timeval to return negative, zero or
466           positive instead of just TRUE or FALSE.  This fixes 0 timeout
467           task dispatching on Windows.  Affected files are
468           lib/silcutil/silctime.[ch] and silcschedule.c.
469
470 Mon May  7 18:18:48 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
471
472         * Fixed CMODE channel auth public key retrieval.  Affected
473           file is lib/silcclient/command.c.
474
475         * Fixed CMODE command reply to return channel public keys
476           correctly.  Affected files are lib/silcclient/command_reply.c
477           and client_channel.c.
478
479 Sun May  6 12:43:19 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
480
481         * Added current channel key cipher name and HMAC name to
482           SilcChannelEntry.  Fixed channel private key creation.
483           Affected files are lib/silcclient/client_channel.c,
484           client_entry and silcclient_entry.h.
485
486         * Allow formatted nicknames as input to silc_client_get_clients
487           and silc_client_get_clients_whois.  Affected file is
488           lib/silcclient/client_entry.c.
489
490         * Fixed silc_message_payload_free crash.  Affected file is
491           lib/silccore/silcmessage.c.
492
493         * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to
494           lib/silccore/silcstatus.h.
495
496 Thu May  3 18:07:50 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
497
498         * Imported libtommath 0.41.  Renamed all mp_* functions to
499           tma_mp_* functions to avoid rare linking problems on systems
500           with mp_* functions.  Affected files are in lib/silcmath/.
501
502 Wed May  2 17:46:25 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
503
504         * SILC Toolkit 1.1 Beta1.
505
506 Wed May  2 11:38:17 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
507
508         * Set the server and router operator modes to local entry after
509           successful OPER or SILCOPER commands.  Affected file is
510           lib/silcclient/command_reply.c.
511
512 Tue May  1 14:17:06 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
513
514         * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API,
515           and other smaller APIs to WIN32.  Affected files are in
516           lib/silcutil/win32/.
517
518         * Changed the various regex APIs as generic code in util library.
519           Affected files are lib/silcutil/silcstrutil.[ch].
520
521 Sat Apr 28 13:47:47 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
522
523         * Ported SILC Server to the new Toolkit API, working towards
524           SILC Server 1.1.  Affected files are in apps/silcd/.
525
526         * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key
527           to lib/silcskr/silcskr.[ch].
528
529         * Fixed SILC public key copying to copy the identifier also.
530           Affected file is lib/silccrypt/silcpk.c.
531
532         * Added silc_packet_error_string to lib/silccore/silcpacket.[ch].
533
534         * Fixed OPER and SILCOPER passphrase asking in Client library.
535           Affected file is lib/silcclient/command.c.
536
537 Tue Apr 24 17:55:24 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
538
539         * Fixed command queue enabling after connecting to server.
540           The comparisons was from after changing to silc_utf8_strcasecmp.
541           Affected file is apps/irssi/src/silc/core/silc-servers.c.
542
543         * Fixed nickname setting with own client entry with 1.3 protocol
544           version server.  Affected file lib/silcclient/client_register.c.
545
546         * Ignore error notify for local client entry.  Affected file is
547           lib/silcclient/client_notify.c.
548
549         * Implemented responder rekey to SKE library.  Affected files are
550           lib/silcske/silcske.[ch].
551
552         * Fixed connection auth protocol completion sending.  Affected
553           file lib/silcske/silcconnauth.c.
554
555 Mon Apr 23 17:20:01 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
556
557         * Do not call TCP network listener callback with any error
558           status, as documented.  Affected file is
559           lib/silcutil/unix/silcunixnet.c.
560
561 Sun Apr 22 21:13:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
562
563         * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
564
565         * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type.
566           Changed silc_skr_find to have SilcSchedule argument and removed
567           it from silc_skr_[alloc|init].  Affected files are
568           lib/silcskr/silcskr.[ch].
569
570         * Allow NULL id for silc_idcache_add.  Affected file is
571           lib/silcapputil/silcidcache.c.
572
573         * Added silc_packet_stream_is_valid, silc_packet_get_ids and
574           silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch].
575           Fixed also channel message encryption with router-to-router
576           packets.
577
578         * Added silc_id_str2id2 to lib/silccore/silcid.[ch].
579
580         * Added silc_net_get_error_string, silc_net_listener_get_ip and
581           silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
582
583 Tue Apr 10 15:55:42 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
584
585         * Add option --enable-silc-plugin.  Affected files are
586           apps/irssi/configure.{ad,in}
587
588         * Only compile the SILC Plugin if required.  Affected files are
589           apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am
590
591         * Conditionally build the SILC Plugin.  Affected files are
592           apps/irssi/src/silc/core/Makefile.am,
593           apps/irssi/src/fe-common/silc/Makefile.am
594
595         * Backout delayed protocol exit and replace with a lame busy
596           wait.  Affected files are apps/irssi/src/fe-text/silc.c,
597           apps/irssi/src/silc/core/silc-core.c
598
599         * Fix key generation for SILC Plugin.  Affected file
600           apps/irssi/src/silc/core/clientutil.c
601
602 Tue Apr 10 12:40:19 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
603
604         * Only pass -rpath to libtool when building shared libraries.
605           Affected file lib/Makefile.ad
606
607         * Removing the stray "s" in configure.ad
608
609 Sat Mar 24 19:13:58 CET 2007  Jochen Eisinger <coffee@silcnet.org>
610
611         * Redraw the screen after creating a new key.  Affected file
612           apps/irssi/src/silc/core/clientutil.c
613
614 Sun Mar 18 15:54:10 EET 2007  Pekka Riikonen <priikone@silcnet.org>
615
616         * Added SILC Client setting /set nickname_format that specifies
617           the nickname format string.  Changed default nickname format
618           string to "%n#%a".  Affected file is
619           apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf.
620
621         * Fixed nickname parsing with WHOIS command to accept formatted
622           nicknames.  Changed the silc_client_get_clients_local to allow
623           the searched nickname to be formatted nickname.  Removed %s and
624           %S nickname formatters.  Affected files are in lib/silcclient/.
625
626         * Added silc_client_nickname_parse to Client library API.  Affected
627           file is lib/silcclient/silcclient.h.
628
629         * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY
630           commands.  Affected file are
631           apps/irssi/src/silc/core/silc-servers.c and silc-channels.c.
632
633 Sat Mar 17 19:07:15 CET 2007  Jochen Eisinger <coffee@silcnet.org>
634
635         * Incorporate SILC Plugin patches.  Affected files are
636           apps/irssi/src/fe-common/silc/module-formats.{c,h},
637           apps/irssi/src/silc/core/clientutil.{c,h},
638           apps/irssi/src/silc/core/silc-core.c,
639           apps/irssi/src/silc/core/silc-chatnets.{c,h},
640           apps/irssi/src/fe-common/silc/fe-silcnet.c, and
641           apps/irssi/src/fe-common/silc/module.h
642
643 Wed Mar 14 17:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
644
645         * In notify handling resolve user entries many times if the
646           resolving timedout.  Affected file lib/silcclient/client_notify.c.
647
648         * silc_client_get_clients_local do not return any invalid entries.
649           Affected file is lib/silcclient/client_entry.c.
650
651         * Do not print "there are now xx user on this channel" for users
652           that actually aren't anymore on the channel.  Affected file
653           is apps/irssi/src/client_ops.c.
654
655 Sun Mar 11 17:43:18 CET 2007  Jochen Eisinger <coffee@silcnet.org>
656
657         * When joining channels with a password given in the config file,
658           use it.  Also use it when cycling (it would be better to get
659           the password from the server, but this isn't possible in SILC).
660           Affected files apps/irssi/src/silc/core/silc-servers.c,
661           apps/irssi/src/silc/core/silc-channels.c
662
663 Sun Mar 11 15:22:42 CET 2007  Jochen Eisinger <coffee@silcnet.org>
664
665         * Import perl script for sign_messages from silc-plugin.  Affected
666           file apps/irssi/scripts/silc.pl
667
668 Sun Mar 11 15:19:10 CET 2007  Jochen Eisinger <coffee@silcnet.org>
669
670         * Only wait for a nick on connecting, when it differs
671           (not counting case) from the username.  Affected file
672           is apps/irssi/src/silc/core/silc-servers.c
673
674 Sun Mar 11 13:50:53 CET 2007  Jochen Eisinger <coffee@silcnet.org>
675
676         * Use time settings for lag settings.  Affected file is
677           apps/irssi/src/silc/core/silc-lag.c
678
679 Tue Feb 27 17:07:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
680
681         * Added silc_thread_yield.  Affected file is
682           lib/silcutil/silcmutex.h.
683
684 Wed Feb 21 17:01:01 EET 2007  Pekka Riikonen <priikone@silcnet.org>
685
686         * Fixed WHOIS command and requested attributes handling in
687           client library.  Affected files are lib/silcclient/command.c
688           and lib/silcclient/client_attrs.c.
689
690         * Fixed silc_time_value to actually work.  Added new function
691           silc_timezone.  Affected files are lib/silcutil/silctime.[ch].
692
693 Tue Feb 20 08:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
694
695         * SILC Client 1.1 beta2.
696
697 Mon Feb 19 16:06:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
698
699         * Fixed client to properly abort TCP stream creation when
700           giving /QUIT.  Affected file
701           apps/irssi/src/silc/core/silc-servers.c.
702
703         * Fixed several connecting aborting crashes from the client
704           library, packet engine and socket stream.  Affected files
705           are in lib/silclient/, lib/silccore/silcpacket.c and
706           lib/silcutil/unix/silcunixsocketstream.c.
707
708         * Fixed private key export double free crash in key generation.
709           Affected file is lib/silccrypt/silcpk.c.
710
711         * Fixed FSM event waiting when there are multiple signallers
712           and the waiter goes away after the first signal.  Affected
713           file in lib/silcutil/silcfsm.c.
714
715 Sun Feb 18 22:02:22 EET 2007  Pekka Riikonen <priikone@silcnet.org>
716
717         * Fixed FSM event signalling to check if the waiter has gone
718           away already.  Affected file is lib/silcutil/silcfsm.c.
719
720         * Fixed counter mode encryption/decryption to handle non-padded
721           SILC packets correctly.  The silc_cipher_set_iv now
722           in counter mode resets for a new block.  Affected files are
723           in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
724
725 Sun Feb 18 12:15:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
726
727         * SILC Client 1.1 beta1.
728
729         * Memory leak fixes around the libraries.
730
731 Fri Feb 16 16:53:16 EET 2007  Pekka Riikonen <priikone@silcnet.org>
732
733         * Added better check for epoll() in configure.  Affected file
734           is lib/configure.ad.
735
736 Thu Feb 15 16:50:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
737
738         * Fixed per scheduler data input buffer in packet engine.  Use
739           list of inbufs instead of just one so that multiple streams
740           can do partial reads to different buffers.  Affected file is
741           lib/silccore/silcpacket.c.
742
743         * Fixed WATCH notify handling in client library.  Affected file
744           is lib/silcclient/client_notify.c.
745
746 Wed Feb 14 17:05:38 EET 2007  Pekka Riikonen <priikone@silcnet.org>
747
748         * Fixed packet wrapper stream API to support encoder/decoder
749           for packets, and to handle partial reading correctly.  Fixed
750           also inbuf size checking in reading to have enough space before
751           reading.  Affected files are lib/silccore/silcpacket.[ch].
752
753         * Rewrote file transfer in client library.  Affected files are
754           in lib/silcclient/.
755
756         * Added TCP/UDP listener (internal) API to client library to have
757           generic way of dealing with listeners.  Fixed Key Agreement and
758           file transfer to use it.  Affected files are in lib/silcclient/.
759
760         * Fixed SKE to process SUCCESS packets synchronously and to call
761           completion synchronously.  Affected file is lib/silcske/silske.c.
762
763         * Fixed pthread rwlock detection.  Affected file includes/silc.h.in.
764
765         * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER.  Affected files are
766           lib/silccore/silcattrs.[ch].  SILC Protocol version 1.3 change.
767
768 Fri Feb  2 22:24:11 EET 2007  Pekka Riikonen <priikone@silcnet.org>
769
770         * Added support for SILC protocol version 1.3 NEW_CLIENT packet
771           to client library.  Affected file is
772           lib/silcclient/client_register.c.
773
774         * Serialize NICK and JOIN commands to avoid problems locally
775           with changing ID while joining to channel.  Affected file is
776           lib/silcclient/command.c.
777
778         * Fixed entry resolving while handling incoming JOIN notify.
779           Handle properly cases, in re-processing of notify packets, where
780           the IDs may become invalid while resolving the entry (like nick
781           change).  Entry is invalid if it doesn't have nickname, and such
782           entries are not delivered to application anymore.  These fixes
783           problems of not seeing JOINs when remote user changes nickname
784           at the same time.  Affected files are in lib/silcclient/.
785
786 Thu Feb  1 18:35:58 EET 2007  Pekka Riikonen <priikone@silcnet.org>
787
788         * Added support for computing message payload MAC in new way
789           (SILC Protocol version 1.3).  Bakcwards support for old way
790           remains.  Affected files are lib/silccore/silcmessage.[ch].
791
792 Sat Jan 27 22:37:30 EET 2007  Pekka Riikonen <priikone@silcnet.org>
793
794         * Added SilcRwLock API, a read/write lock.  Affected files are
795           lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
796
797 Wed Jan 24 18:55:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
798
799         * Merged Irssi SVN (irssi 0.8.11).  Affected files in apps/irssi/.
800
801 Tue Jan 23 16:05:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
802
803         * The silc_schedule_set_listen_fd now returns boolean value.
804           Fixed FD task adding to check correctly for already added
805           FD tasks.  Added stricter error checking for FD scheduling
806           with epoll().  Affected files are lib/silcutil/silcschedule.[ch]
807           and lib/silcutil/unix/silcunixschedule.c.
808
809         * The silc_stream_set_notifier now returns boolean value.  Changed
810           all streams to support and check for the error condition.
811           Affected files are in lib/silcutil/.
812
813         * Fixed SKE library session aborting and deletion.  Affected
814           file are lib/silcske/silcske.c.
815
816 Tue Jan 16 18:22:08 EET 2007  Pekka Riikonen <priikone@silcnet.org>
817
818         * Implemented PKCS #1 with appendix with hash OID in the
819           signature.  Affected files are lib/silccrypt/silcpkcs1.[ch],
820           lib/silccrypt/silchash.[ch] and
821           lib/silcasn1/silcasn1[_encode|decode].[ch].
822
823 Sun Jan 14 23:12:41 EET 2007  Pekka Riikonen <priikone@silcnet.org>
824
825         * Added support for Version (V) SILC public key identifier.
826           Affected files are lib/silccrypt/silcpk.[ch].
827
828 Tue Jan  9 19:37:51 EET 2007  Pekka Riikonen <priikone@silcnet.org>
829
830         * Rewrote connection auth request in client library.  It is now
831           done automatically by the library and the resolved method given
832           as a hint to get_auth_method client operation.  Affected files
833           are lib/silcclient/.
834
835 Wed Jan  3 18:06:33 EET 2007  Pekka Riikonen <priikone@silcnet.org>
836
837         * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch].
838           It can be used to wrap SilcPacketStream into SilcStream.
839
840         * Fixed %p formatting from silc_snprintf.  Affected file is
841           lib/silcutil/silcsnprintf.c.
842
843         * Ported SFTP library to new utility library.  Ported also
844           the SFTP testers.  Affected files in lib/silcsftp/.
845
846 Tue Jan  2 17:18:46 EET 2007  Pekka Riikonen <priikone@silcnet.org>
847
848         * Added lib/silcutil/silcsnprintf.[ch].  Added in addition
849           of silc_snprintf, silc_vsnprintf, silc_asprintf and
850           silc_vasprintf.
851
852 Sat Dec 30 23:23:17 EET 2006  Pekka Riikonen <priikone@silcnet.org>
853
854         * Added preliminary Symbian support.  Changes around the source
855           tree.  The symbian/ directory now includes Carbide.c++ project
856           files to compile the sources.
857
858         * Added silc_snprintf.  Affected files are
859           lib/silcutil/silcstrutil.[ch].
860
861 Thu Dec 21 18:01:51 EET 2006  Pekka Riikonen <priikone@silcnet.org>
862
863         * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to
864           macros.  SILC_FSM_CONTINUE macro now immediately calls the
865           next state instead of first returning back to FSM.  Helps
866           in debugging crashes etc.
867
868           Removed FSM Semaphores.  Introduced FSM Event which is
869           asynchronous event.   Affected files are in lib/.
870
871         * Added epoll(7) support to SILC Scheduler.  It is used by default
872           if it is available.  Affected files are
873           lib/silcutil/silcschedule.[ch],
874           lib/silcutil/unix/silcunixschedule.c.
875
876 Tue Dec 19 20:39:35 EET 2006  Pekka Riikonen <priikone@silcnet.org>
877
878         * Added CTR mode to AES.  Simplified cipher implementation API
879           more.  Affected files are in lib/silccrypt/.
880
881 Sun Dec 17 16:46:55 EET 2006  Pekka Riikonen <priikone@silcnet.org>
882
883         * Removed `detach' client operation.  The detachment data is
884           now delivered in SILC_COMMAND_DETACH command reply to
885           application.  Affected file in lib/silcclient/.
886
887         * Rewrote resuming/detaching in client library.
888
889         * Added boolean encryption indicator for silc_cipher_set_key.
890           Affected files lib/silccrypt/silccipher.[ch].
891
892 Wed Dec 13 18:05:50 EET 2006  Pekka Riikonen <priikone@silcnet.org>
893
894         * Added silc_likely and silc_unlikely macros for GCC branch
895           prediction optimizations.  Affected file lib/silcutil/silctypes.h.
896
897         * Added assembler AES optimization.  Cleaned up the SILC Cipher
898           implementation API.  Affected files are in lib/silccrypt/.
899
900 Tue Dec 12 18:56:14 EET 2006  Pekka Riikonen <priikone@silcnet.org>
901
902         * Changed back the SILC_FSM_THREAD_WAIT operation to not
903           continue to next state if thread is finished already.  That
904           check is not done anymore.  Affected files are
905           lib/silcutil/silcfsm.[ch].
906
907 Sun Dec 10 13:54:52 EET 2006  Pekka Riikonen <priikone@silcnet.org>
908
909         * Removed silc_packet_[get|set]_ciphers and
910           silc_packet_[get|set]_hmacs.  Added silc_packet_set_keys that
911           handle REKEY_DONE packet sending in rekey.  Affected files
912           are lib/silccore/silcpacket.[ch].
913
914         * Added silc_fsm_is_started.  Affected files are
915           lib/silcutil/silcfsm.[ch].
916
917         * Added settings sign_channel_message, sign_private_message
918           and key_exchange_rekey_pfs to SILC Client.  Added UDP transport
919           support for key agreement in /KEY command. Affected files
920           in apps/irssi/src/silc/core/.
921
922         * During SILC Client initialization forward log messages to
923           stderr.   Affected files in apps/irssi/src/silc/core/.
924
925 Thu Dec  7 19:07:21 EET 2006  Pekka Riikonen <priikone@silcnet.org>
926
927         * Added silc_ske_get_key_material.  Affected files are
928           lib/silcske/silcske.[ch].
929
930         * Added silc_packet_stream_is_udp.  Affected files are
931           lib/silccore/silcpacket.[ch].
932
933         * Added SKE packet retransmission support with UDP transport.
934           Affected file is lib/silcske/silcske.c.
935
936 Sun Dec  3 22:00:12 EET 2006  Pekka Riikonen <priikone@silcnet.org>
937
938         * Added silc_socket_stream_is_udp.  Affected file is
939           lib/silcutil/silcsocketstream.[ch].
940
941         * Added UDP transport support to packet engine.  Affected file
942           is lib/silccore/silcpacket.c.
943
944         * Added silc_socket_stream_is_udp.  Affected file is
945           lib/silcutil/silcsocketstream.[ch].
946
947 Sat Nov 18 11:33:03 EET 2006  Pekka Riikonen <priikone@silcnet.org>
948
949         * Added silc_packet_send_va[_ext] to send variable argument
950           formatted buffers.  Affected files lib/silcore/silcpacket.[ch].
951
952         * Timeout freelist garbage collection added to scheduler.
953           Affected file lib/silcutil/silcschedule.c.
954
955 Thu Nov  9 18:12:15 EET 2006  Pekka Riikonen <priikone@silcnet.org>
956
957         * Added silc_show_public_key_file to
958           lib/silcapputil/silcapputil.[ch].
959
960         * Added SILC_STR_ADVANCE support for buffer unformatting.
961           Affected file lib/silcutil/silcbuffmt.c.
962
963 Tue Nov  7 18:04:36 EET 2006  Pekka Riikonen <priikone@silcnet.org
964
965         * Added silc_string_split to lib/silcutil/silcstrutil.[ch].
966
967         * Added silc_mutex_assert_locked to lib/silcutil/silcmutex.h.
968
969         * silc_fsm_continue[_sync] now cancels erlier timeout set with
970           silc_fsm_next_later.  Affected file lib/silcutil/silcfsm.c.
971
972 Sat Nov  4 21:50:37 EET 2006  Pekka Riikonen <priikone@silcnet.org
973
974         * Added SILC_STR_FUNC to buffer format API.  Affected files
975           are lib/silcutil/silcbuffmt.[ch].
976
977         * Added silc_buffer_[s]enlarge to lib/silcutil/silcbuffer.h.
978
979         * No more memory allocation for message payload parsing.
980           Pre-allocated buffer can be used with message payload encoding.
981           Affected files lib/silccore/silcmessage.[ch].
982
983 Fri Oct 27 21:01:26 EEST 2006  Pekka Riikonen <priikone@silcnet.org
984
985         * Added silc_buffer_sunformat and silc_buffer_sunformat_vp
986           to silcutil/silcbuffmt.[ch].
987
988 Sun Oct 22 13:03:07 EEST 2006  Pekka Riikonen <priikone@silcnet.org
989
990         * Added SILC_STR_BUFFER to format and unformat SilcBuffer.
991           Affected file lib/silcutil/silcbuffmt.[ch].
992
993         * Removed silc_schedule_signal_[un]register and
994           silc_schedule_signal_call.  Added silc_schedule_task_add_signal
995           to add signal task.  Only one callback per signal may be
996           added.  The signals are now automatically called back to
997           caller.  Affected files lib/silcutil/silcschedule.[ch] and
998           silcutil/[unix/win32]/silc[unix/win32]schedule.c.
999
1000         * Added silc_time_msec and silc_time_usec to silcutil/silctime.[ch].
1001
1002         * Added SilcSKEParams for SKE parameters and simplied even more
1003           the SKE interface.  Affected files are lib/silcske/silcske.[ch].
1004           Added support for IV included and session port handling with
1005           UDP/IP connections.
1006
1007         * Added Secure ID (SID) support with IV Included flag (for UDP/IP)
1008           in lib/silccore/silcpacket.[ch].  Added silc_packet_set_sid
1009           which is called after every rekey when IV Included flag is used.
1010           See SILC specifications for details.
1011
1012 Thu Oct 19 10:03:03 EEST 2006  Pekka Riikonen <priikone@silcnet.org
1013
1014         * Added lib/silcapputil and moved SILC application specific
1015           utility routines from the generic util library lib/silcutil
1016           to the new library.  Removed lib/silcidcache and moved that
1017           to lib/silcapputil as well.
1018
1019 Tue Sep 19 00:14:11 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
1020
1021         * Added SILC_STR_ADVANCE.  Affected file is
1022           lib/silcutil/silcbuffmt.[ch].
1023
1024         * The silc_buffer_strformat preserves buffer locations now.
1025
1026         * Added lib/silcutil/silcatomic.h for atomic operations.
1027
1028 Sat Sep 16 11:23:06 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
1029
1030         * Added lib/silchttp, SILC HTTP server, a very simple HTTP
1031           server.
1032
1033         * Fixed MIME deocing when data portion is not present.
1034           Affected file lib/silcutil/silcmime.c.
1035
1036 Wed Jul 19 12:06:38 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
1037
1038         * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/.
1039
1040         * Added IV Included support to packet routines, to allow
1041           packet sending and receiving on UDP/IP.  Affected files are
1042           lib/silccore/silcpacket.[ch].
1043
1044         * Added SILC_FSM_YIELD.  Affected files lib/silcutil/silcfsm.[ch].
1045
1046 Tue Jul 18 20:10:28 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
1047
1048         * Added UDP support to network and socket stream library.
1049
1050 Sat Jun 24 22:33:18 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
1051
1052         * Added conditional variables.  New files are
1053           lib/silcutil/silcondvar.h and platform specific implementations.
1054
1055 Thu Jan  5 20:02:31 CET 2006 Patrik Weiskircher <pat@icore.at>
1056
1057         * make sure session->hostname and session->port are valid before the
1058           application callback is done, since things will go wrong if the
1059           application immediately calls silc_client_file_receive. Affected
1060           file lib/silcclient/client_ftp.c.
1061           Patch received from Stefan Siegel <stesie@brokenpipe.de>, thanks!
1062
1063 Fri Dec 30 22:54:21 EET 2005  Pekka Riikonen <priikone@silcnet.org>
1064
1065         * New SILC PKCS API enabling support for other public keys
1066           and certificates, lib/silccrypt/silcpkcs.[ch], silcpk.[ch].
1067
1068         * Separated SILC Public Key Payload routines from the PKCS API
1069           to lib/silccore/silcpubkey.[ch].
1070
1071 Wed Dec 28 13:55:22 EET 2005  Pekka Riikonen <priikone@silcnet.org>
1072
1073         * Added SILC Key Repository library, lib/silcskr.
1074
1075         * Added SILC Server library, lib/silcserver.
1076
1077 Mon Dec 19 18:04:24 EET 2005  Pekka Riikonen <priikone@silcnet.org>
1078
1079         * MIME objects in attributes now use SilcMime.  Affected files
1080           are lib/silccore/silcattrs.[ch].
1081
1082 Sat Dec 17 20:13:31 EET 2005  Pekka Riikonen <priikone@silcnet.org>
1083
1084         * Synchronize semaphore posting for real threads in FSM.
1085           Affected files are lib/silcutil/silcfsm.c, silcfsm_i.h.
1086
1087 Mon Nov 28 17:06:54 EET 2005  Pekka Riikonen <priikone@silcnet.org>
1088
1089         * Added silc_file_set_nonblock.  Affected file is
1090           lib/silcutil/silcfileutil.h.
1091
1092         * Added silc_fd_stream_file to lib/silcutil/silcfdstream.[ch].
1093
1094 Sat Nov 26 16:13:40 EET 2005  Pekka Riikonen <priikone@silcnet.org>
1095
1096         * FSM based implementation of SILC SKE.  Simpler interface also.
1097           Affected files are in lib/silcske/.
1098
1099         * Added SilcBool type.  Affected file lib/silcutil/silctypes.h.
1100
1101 Sat Nov 19 17:34:51 EET 2005  Pekka Riikonen <priikone@silcnet.org>
1102
1103         * Added SilcMime API to lib/silcutil/silcmime.[ch].  The old
1104           silc_mime_parse is available but deprecated.
1105
1106         * Check that packet is valid when processing key exchange,
1107           authentication and rekey protocols.  Fixes a crashbug.
1108           Affected files are apps/silcd/protocol.c and
1109           lib/silcclient/protocol.c.
1110
1111         * Added SILC_HASH_MAXLEN to lib/silccrypt/silchash.h, and changed
1112           all hash buffers to use that instead of fixed values.
1113
1114 Wed Nov 16 15:47:12 EET 2005  Pekka Riikonen <priikone@silcnet.org>
1115
1116         * Added SHA-256 to crypto library.  The SHA-256 takes now
1117           precedence over SHA-1.
1118
1119 Thu May 26 20:31:06 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1120
1121         * Check for valid return value from regcomp.  Affected file
1122           lib/silcutil/unix/silcunixutil.c.
1123
1124 Tue May 10 23:11:17 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1125
1126         * Fixed silc_hash_uint to work with integers.  Affected
1127           file lib/silcutil/silcutil.c.
1128
1129 Tue May 10 15:11:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1130
1131         * Rewritten SILC Log API.  Affected files lib/silcutil/silclog.[ch].
1132
1133 Mon May  9 12:00:08 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1134
1135         * Fixed channel public key list saving on JOIN command reply
1136           on backup router.  Affected file apps/silcd/command_reply.c.
1137
1138 Mon May  2 10:42:49 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1139
1140         * Added default limit how many channels client can join,
1141           default is 50.  Added 'channel_join_limit' configuration
1142           option to server too.  Affected files are apps/silcd/command.c
1143           and serverconfig.[ch].
1144
1145 Sun May  1 17:42:55 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1146
1147         * --without-silc -> --with-silc, --without-irssi -> --with-irssi.
1148           On Toolkit the server and client are not compiled by default.
1149           Affected file configure.ad.
1150
1151 Thu Apr 28 15:57:37 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1152
1153         * Added lib/contrib/getopt.[ch] for platforms that don't
1154           have it (it is not GPL implementation).
1155
1156         * Fixed compilation when pkg-config is used.
1157
1158 Wed Apr 27 11:49:41 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1159
1160         * A comma in invite/ban string is invalid, check for it.
1161           Affected file apps/silcd/server_util.c.
1162
1163         * Added SERVICE command to the server.  It parses the command
1164           request but SILC Server does not support services for the
1165           time being.  Affected file apps/silcd/command.[ch].
1166
1167         * Added SERVICE command and command reply to client library.
1168           It is however incomplete.  Updated Toolkit documentation.
1169           Affected files are lib/silcclient/command[_reply].[ch].
1170
1171         * Fixed IDENTIFY/WHOWAS command reply to send the username
1172           correctly (uninitialized buffer).  Affected file is
1173           apps/silcd/server_query.c.
1174
1175 Mon Apr 25 14:25:24 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1176
1177         * Moved silcer/, silc/, silcd/ and irssi/ to apps/.  This
1178           finalizes the major restructuring of the CVS tree.
1179
1180 Mon Apr 25 00:39:30 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1181
1182         * Send empty MOTD reply if MOTD file cannot be read.
1183           Affected file silcd/command.c.
1184
1185 Sun Apr 24 12:01:37 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1186
1187         * Optimized primer number generator to use simpler conversion
1188           routines.  Also assure that the prime number will have the
1189           highest bit set after modifying it.  Affected file is
1190           lib/silcmath/silcprimegen.c.
1191
1192         * Added LibTomMath to SILC Math library (SILC_DIST_TMA).
1193
1194         * Added FastTomMath to SILC Math Library (SILC_DIST_TFM),
1195           for now only for testing purposes, it will not be delivered
1196           in any distribution for now.
1197
1198         * Removed NSS MPI from the source tree.  Due to upcoming
1199           license change for the SILC Toolkit, we cannot deliver the
1200           NSS MPI anymore.  I decided to replace it in all distributions
1201           with public domain library.
1202
1203         * Removed GNU regex from lib/contrib and introduced free
1204           GNU compatible regex, lib/contrib/regexpr.[ch].  Added
1205           GNU regex compatible API to it (only partial).
1206
1207         * Removed getopt routines from lib/contrib.
1208
1209 Fri Apr 22 12:21:44 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1210
1211         * Use silc_server_send_command_reply to send replies instead
1212           of encoding packet itself.  Affected file silcd/command.c.
1213
1214         * Added command sending and receiving statistics to server.
1215           Affected files in silcd/.
1216
1217         * GCC 4 warning fixes.  -Wno-pointer-sign option is now used
1218           with GCC, for it not to warn about pointer signedness.
1219
1220 Tue Apr 19 11:57:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1221
1222         * Added context to the SilcIDCache destructor.  Affected
1223           files are lib/silccore/silcidcache.[ch],
1224           lib/silcclient/client.c and silcd/server.c.
1225
1226 Mon Apr 18 09:53:28 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1227
1228         * Added pkg-config check to configure.
1229
1230         * The PublicKeyDir must not be used with Admin block in server
1231           config.  Affected file silcd/serverconfig.c.
1232
1233 Sat Apr 16 20:23:48 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1234
1235         * Added Autodist.
1236
1237 Thu Apr 14 20:25:08 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1238
1239         * Handle empty LIST command reply correcttly in server.  Affected
1240           file silcd/command_reply.c.
1241
1242         * Handle empty LIST command reply correctly in client library.
1243           The application will now receive one LIST command reply with
1244           all arguments set to NULL if there are no channels.  Updated
1245           Client Library documentation accordingly.  Affected file
1246           lib/silcclient/command_reply.c.
1247
1248 Tue Apr 12 00:02:09 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1249
1250         * Added channel name string stringprep profile to the protocol
1251           and implementation to allow a little free'er channel name
1252           strings.  Affected files are lib/silcutil/silcstringprep.[ch].
1253
1254         * Added silc_channel_name_[check|verify] to check and verify
1255           channel name strings.  Affected files are
1256           lib/silcutil/silcstrutil.[ch].
1257
1258         * Added support for the new channel name preparation in client
1259           library and server.  Affected files in lib/silcclient and
1260           silcd/.
1261
1262 Mon Apr 11 13:40:27 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1263
1264         * Added the Autodist into the source tree.  It replaces the
1265           old ./prepare.  It can be used to create distributions as
1266           previously.  See README.CVS and README.DIST.  See
1267           distributions in distdir/.
1268
1269 Sun Apr 10 11:30:56 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1270
1271         * Make sure query sends at least an error back if nothing
1272           more is sent.  Affected file silcd/server_query.c.
1273
1274 Thu Apr  7 14:50:01 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1275
1276         * During query, check if the original command caller goes
1277           away.  If it does, stop the query.  Affected file
1278           silcd/server_query.c.
1279
1280         * Check for valid channel creation in JOIN command reply.
1281           Affected file lib/silcclient/command_reply.c.
1282
1283         * Handle the resolver counter in silc_client_get_users_by_channel
1284           callback correctly.  Fixed auto-join bug in Gaim.  Affected
1285           file lib/silcclient/idlist.c.
1286
1287 Wed Apr  6 16:56:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1288
1289         * Added some better error messages.  Affected file
1290           silcd/command_reply.c and packet_receive.c.
1291
1292         * Handle error in WATCH command propely on backup router.
1293           Affected file silcd/command.c.
1294
1295         * Fixed freeing of unfreeable variable in WHOIS command reply.
1296           Affected file silcd/command_reply.c.
1297
1298 Wed Apr  6 09:10:31 CEST 2005  Pekka Riikonen <priikone@silcnet.org>
1299
1300         * Added pkg-config .pc file creation for silc core library
1301           and silcclient library.  A patch by c0ffee.
1302
1303         * Removed the need for GNU Libidn.  Added the simple stringprep
1304           from libidn into lib/contrib/.  It is now used also on Windows
1305           build.
1306
1307 Mon Apr  4 15:15:46 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1308
1309         * Simplified the invite and ban string handling in the
1310           server.  Check for valid invite and ban arguments also.
1311           Affected file silcd/server_util.c.
1312
1313 Sun Apr  3 14:58:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1314
1315         * Added WATCH list announcing in backup router protocol.
1316           Affected files are silcd/command.c, server.c, server_backup.c.
1317
1318         * Do not change users mode to founder on normal server/backup
1319           if the founder mode is set, and user is first one to join.
1320           Affected file silcd/pcaket_receive.c.
1321
1322         * Do not send CUMODE_CHANGE notify back to sender.  Affected
1323           file silcd/packet_receive.c.
1324
1325         * Added getrusage() to take noise in SILC RNG.  A patch by
1326           Mika Boström.  Affected files are configure.in.pre,
1327           includes/silcincludes.h.in, lib/silccrypt/silcrng.c.
1328
1329 Sat Apr  2 18:09:30 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1330
1331         * Splitted the SILC libraries configuration into a configure
1332           fragment into lib/configure.ad.  It is now possible, once
1333           this feature is added, to specify whether to compile or not
1334           compile included SILC libraries.  Affected files are
1335           configure.in.pre, lib/silcmath/mpi/configure.ad,
1336           lib/configure.ad, Makefile.defines.pre and
1337           Makefile.defines_int.pre.
1338
1339         * Added --with-silc-includes and --with-silc-libs to configure.
1340           If specified the included libs are not compiled, but the
1341           specified libs are used.  Pkg-config is not yet supported.
1342           Affected file configure.in.pre.
1343
1344         * Fixed WATCH command handling on backup router.  Router does not
1345           send the watch command any more to backup if it originates from
1346           backup.  Affected file silcd/command.c.
1347
1348 Fri Apr  1 18:52:47 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1349
1350         * Changed announcing to not announce unregistered clients.
1351           Affected file silcd/server.c.
1352
1353         * Fixed username handling in command reply.  Affected file
1354           silcd/command_reply.c.
1355
1356         * Log files are now 0600.  Affected file lib/silcutil/silclog.c.
1357
1358 Thu Mar 31 22:34:22 CEST 2005  Patrik Weiskircher <pat@icore.at>
1359
1360         * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
1361           Affected file: includes/silcincludes.h.in
1362
1363         * bool is defined as _Bool on Mac OS X now.
1364           Affected file: lib/silcutil/silctypes.h
1365
1366 Thu Mar 31 08:52:06 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1367
1368         * Added support for UTF-8 nicknames, channel names and
1369           server names in client library.  Affected files in
1370           lib/silcclient/.
1371
1372         * Added __SILC_HAVE_PTHREAD, __SILC_HAVE_SIM, __SILC_HAVE_LIBIDN,
1373           and __SILC_ENABLE_DEBUG to include/silcclient.h for third-party
1374           software to check how Toolkit has been compiled.
1375
1376 Wed Mar 30 22:16:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1377
1378         * Added silc_utf8_str[n]casecmp into lib/silcutil/silcutf8.[ch].
1379
1380         * Use silc_utf8_str[n]casecmp instead of strcmp routines
1381           in library and in SILC Client when dealing with nicknames
1382           and other identifier strings.  Affected file in client lib
1383           and irssi.
1384
1385         * Convert nickname to UTF-8 in /msg and /smsg.  Affected file
1386           irssi/src/silc/core/silc-servers.c.
1387
1388 Wed Mar 30 10:50:02 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1389
1390         * Fixed idcache to work with the new identifier strings.
1391           Affected file lib/silccore/silcidcache.c.
1392
1393         * Added UTF-8 hash and compare function for SilcHashTable.
1394           Affected file lib/silcutil/silcutil.[ch].
1395
1396         * Added casefolding stringprep, SILC_CASEFOLD_PREP.
1397           Affected file lib/silcutil/silcstringprep.[ch].
1398
1399         * Changed the identifier string handling to include the original
1400           format in client, server, channel entries and normalized
1401           format in cache.  Affected files in silcd/.
1402
1403 Tue Mar 29 16:51:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1404
1405         * Added support for the new identifier strings and their
1406           validity checking.  Nicknames, channel names and usernames
1407           can now include practically any kind of letters and various
1408           other characters.  Affected files in silcd/ and in libraries.
1409
1410           NOTE: comparing these strings should now be done with memcmp()
1411           to check binary compatibility.  All these strings are normalized
1412           and casing is irrelevant.
1413
1414         * Added silc_identifier_check to lib/silcutil/silcstrutil.[ch]
1415           as easy function for applications to check whether identifier
1416           strings are valid.
1417
1418 Tue Mar 29 00:45:11 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1419
1420         * Fixed SILC_STRING_LDAP_DN encoding and decoding.  Affected
1421           file lib/silcutil/silcutf8.c.
1422
1423         * Added SILC_STRING_UTF8_ESCAPE to lib/silcutil/silcstrutil.h.
1424
1425 Mon Mar 28 22:46:23 CEST 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1426
1427         * Make public key in getkey reply mandatory.  Affected file
1428           lib/silcclient/command_reply.c
1429
1430 Sun Mar 27 19:03:31 CEST 2005  Patrik Weiskircher <pat@icore.at>
1431
1432         * Added Parameter dont_register_crypto_library to
1433           SilcClientParam. If set to TRUE, silcclient library will
1434           not initalize the Crypto Libraries and application
1435           will need to do it. Affected file lib/silcclient/silcclient.h,
1436           lib/silcclient/client.c.
1437
1438 Sun Mar 27 19:02:48 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1439
1440         * Imported new silc_utf8_[encode|decode] routines from
1441           my internal SILC 1.1 source tree.  New encodings added:
1442           SILC_STRING_LOCALE (SILC_STRING_LANGUAGE is deprecated),
1443           SILC_STRING_UTF8, SILC_STRING_PRINTABLE, SILC_STRING_VISIBLE,
1444           SILC_STRING_TELETEX, SILC_STRING_NUMERICAL and
1445           SILC_STRING_LDAP_DN.
1446
1447         * Splitted UTF-8 routines into lib/silcutil/silcutf8.[ch].
1448
1449         * Implemented stringprep (RFC 3454) API.  Internally we use
1450           GNU Libidn's stringprep, for now, so it is required now to
1451           compile SILC sources.  Added lib/silcutil/silcstringprep.[ch].
1452
1453         * Added checking for GNU Libidn and --with-libidn to configure.
1454
1455 Wed Mar 23 11:20:33 CET 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1456
1457         * If the passphrases entered do not match while generating a new key,
1458           completly start over instead of going into an infinite loop asking
1459           the user to re-enter the passphrase correctly.  Affected file
1460           lib/silcutil/silcapputil.c
1461
1462 Sun Jan  9 14:28:51 CET 2005  Pekka Riikonen <priikone@silcnet.org>
1463
1464         * Make sure server is removed from backup list when it is
1465           deleted.  Affected files silcd/command.c, server.c,
1466           server_util.c.
1467
1468         * Close socket when connecting to router fails.  Affected
1469           file silcd/server.c.
1470
1471 Tue Jan  4 13:06:26 CET 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1472
1473         * Adopt configuration toolchain to current auto-tools.
1474           Affected files prepare, irssi/configure.in
1475         * Revert most of the UTF-8 fixes to SILC Client 1.0.1.  Will
1476           redo that.  Affected files irssi/src/silc/core/client_ops.c,
1477           irssi/src/fe-common/silc/fe-silc-channels.c
1478         * Take over command line options into silcclient data structure.
1479           Affected file irssi/src/silc/core/silc-core.c
1480
1481 Wed Dec  8 16:15:11 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1482
1483         * Do not try to initiate backup resuming protocol forever.
1484           Affected file silcd/server_backup.c.
1485
1486 Wed Nov 24 18:24:05 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1487
1488         * ID change in resuming has to be done before changing
1489           detached client's modes, since the ID change may fail and
1490           leave ghosts on the network.  Affected file is
1491           silcd/packet_receive.c.
1492
1493 Tue Nov 23 16:54:35 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1494
1495         * Fixed Win32 scheduler to not stuck anymore.  A patch from
1496           Juha Räsänen.  Affected file is
1497           lib/silcutil/win32/silcwin32schedule.c.
1498
1499         * Fixed QoS parsing for connection blocks in server.  Affected
1500           file is silcd/serverconfig.c.
1501
1502         * Fixed server statistics increasing in server.  Affected file
1503           is silcd/server.c.
1504
1505         * The CLOSE command now marks backup router as self disconnected
1506           to avoid resuming problems.  Affected file silcd/command.c.
1507
1508 Wed Sep 22 19:46:32 CEST 2004  Patrik Weiskircher <pat@icore.at>
1509
1510         * When using silc_net_create_connection[_async], and your system can
1511           create IPv6 sockets, it will try to connect to the IPv6 host.
1512           Now it tries to connect to an IPv4 host if IPv6 fails. Affected
1513           file lib/silcutil/unix/silcunixnet.c
1514
1515 Fri Jun 18 19:26:58 CEST 2004  Pekka Riikonen <priikone@silcnet.org>
1516
1517         * Check for valid route when receiving packet from router and
1518           when routing it to local server in the cell.  A patch from
1519           Matt Miller.  Affected files silcd/router.c and server.c.
1520
1521 Sat May  1 13:55:54 CEST 2004  Patrik Weiskircher <pat@icore.at>
1522
1523         * Couldn't detach and reattach twice, because of the previous
1524           commit. Affected file silcd/packet_receive.c
1525
1526 Fri Apr 30 19:40:28 CEST 2004  Patrik Weiskircher <pat@icore.at>
1527
1528         * Added check to ignore Port value if Initiator is FALSE.
1529           Remote router coudln't connect if Port was set. Affected file
1530           silcd/serverconfig.c
1531
1532         * If some client tries to resume more than once at the same time,
1533           server crashed. Router didn't crash, but showed odd behaviour
1534           (didn't allow clients to join anymore, ..). Affected files
1535           silcd/packet_receive.c silcd/idlist.h
1536
1537 Mon Mar 15 21:10:08 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1538
1539         * Destroy the file transfer session in silc_client_file_close
1540           with timeout.  Affected file lib/silcclient/client_ftp.c.
1541
1542         * Call SFTP server monitor in READ and WRITE after the actual
1543           operations.  Affected file lib/silcsftp/sftp_server.c.
1544
1545 Wed Mar 10 21:30:02 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1546
1547         * Create one configure script from configure fragments
1548           (configure.ad).  This is a first step towards new distribution
1549           system.  Affected files prepare, configure.in.pre,
1550           lib/silcmath/mpi/configure.ad.
1551
1552 Wed Mar 10 18:35:24 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1553
1554         * Removed expiring of client key pair.  Affected file is
1555           irssi/src/silc/core/clientutil.c
1556
1557 Tue Mar  9 17:11:58 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1558
1559         * Check the number of connections from real number of
1560           connections instead of socket number, when deciding if
1561           server is full.  Affected files are silcd/server.c,
1562           server_internal.h and silcd.c.
1563
1564         * Clarified the connections_max meaning in General section
1565           in doc/example_silcd.conf.in.
1566
1567         * The reconnect_keep_trying default value set to TRUE
1568           if it is not defined in the config file.  Affected file
1569           silcd/serverconfig.c.
1570
1571 Wed Mar  3 15:13:49 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1572
1573         * Fixed crashbug in connection closing, after a protocol
1574           completion callback, which might have closed it already.
1575           Affected file silcd/server.c.
1576
1577         * Fixed rekey with PFS in backup router.  It did not allow
1578           rekeys with PFS, and when the rekey protocol timedout
1579           it crashed the backup router without the above fix.  Affected
1580           file silcd/packet_send.c and server.c.
1581
1582 Sat Feb 28 16:25:09 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1583
1584         * The silc_client_add_channel_private_key now returns the
1585           private key context if pointer is given as argument.
1586           Affected files are lib/silcclient/silcclient.h and
1587           client_channel.c.
1588
1589         * Added support for using channel private keys in SILC
1590           Client Library even if the private key mode is not set
1591           on the channel.  Affected file lib/silcclient/client_channel.c.
1592
1593         * The channel private key used to decrypt message is now
1594           delivered to the application in the 'channel_messageÃ' client
1595           operation.  Affected files are lib/silcclient/silcclient.h
1596           and client_channel.c.
1597
1598         * Fixed wrong arg type for user limit in CMODE command reply.
1599           Affected file silcd/command.c.
1600
1601         * The user limit is now taken and saved to SilcClientEntry in
1602           JOIN and CMODE command replies and in CMODE_CHANGE notify.
1603           Affected files lib/silcclient/silcclient.h, command_reply.c
1604           and client_notify.c.
1605
1606         * Added support to the new private message key indicator
1607           packet.  Added a new function to the client library:
1608           silc_client_send_private_message_key_request.  The sender
1609           indicates to be initiator, and receiver is responder.
1610           Added the indicator to the SilcClientEntry as 'prv_resp'
1611           boolean.  Affected files are lib/silcclient/silcclient.h
1612           client.[ch], and client_prvmsg.c.
1613
1614 Fri Feb 27 11:25:26 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1615
1616         * Fixed the JOIN command calling when called with both
1617          -auth and -founder.  Affected file is lib/silcclien/command.c.
1618
1619 Wed Feb 25 23:12:11 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1620
1621         * Check watcher list for resumed clients as well.  Affected
1622           file is silcd/packet_receive.c.
1623
1624 Tue Feb 24 16:49:10 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1625
1626         * Implemented the user limit to the CMODE_CHANGE notify,
1627           CMODE command reply and JOIN command reply in server.
1628           Affected files are silcd/server.c, command.c, command_reply.c,
1629           packet_send.c and packet_receive.c.
1630
1631 Mon Feb 23 23:31:15 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1632
1633         * Defined SILC_STRFMT_END that must be used now with
1634           silc_buffer_strformat, instead of SILC_STR_END.  Fixes
1635           crashes on AMD64.  Affected files are lib/silcutil/silcbuffmt.h,
1636           lib/silcclient/silcvcard.c, silcd/server_util.c.
1637
1638         * Fixed the adding of public key to the WATCH list in server.
1639           Fixed the WATCH notify sending to client.  Affected files
1640           are silcd/packet_send.[ch], command.c, server_util.c.
1641
1642         * Implemented the watching by public key in the SILC Client
1643           Library and SILC Client.  Affected files are
1644           lib/silcclient/command.c and client_notify.c.
1645
1646 Mon Feb 23 09:30:30 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1647
1648         * Added support for public key watching in server.  Affected
1649           files are silcd/server.c, server_internal.h, command.c,
1650           server_util.c.
1651
1652 Sun Feb 22 19:03:59 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1653
1654         * Added public key to the SIlcClientEntry.  Affected files
1655           are lib/silcclient/silcclient.h, command_reply.c, idlist.c
1656
1657         * Fixed the get_clients_whois reply processing to return
1658           exactly same entries server returned.  Makes it possible
1659           to search using attributes.  Affected file is
1660           lib/silcclient/idlist.c.
1661
1662 Sat Feb 21 19:21:57 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1663
1664         * Save founder key to SilcChannelEntry.  Affected files are
1665           lib/silcclient/silcclient.h, command_reply.c, idlist.c.
1666
1667 Fri Feb 20 20:37:38 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1668
1669         * Call the monitor callback with _CLOSED status from the
1670           silc_client_file_close.  Affected files are
1671           lib/silcclient/client_fpt.c, silcclient.h
1672
1673         * Added silc_client_get_clients_whois which resolves using
1674           WHOIS, and supports requested attributes as well.
1675           Affected files are lib/silcclient/silcclient.h, idlist.c.
1676
1677 Fri Feb 19 21:09:22 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1678
1679         * Added support for asking the destination filename where
1680           the downloaded file is saved in the file transfer.  Affected
1681           files are lib/silccilent/silcclient.h, client_ftp.c.
1682
1683 Wed Feb 18 02:46:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1684
1685         * Fixed error handling in resuming data processing.  Affected
1686           files are lib/silcclient/client_resume.c and client.c.
1687
1688 Tue Feb 17 19:34:30 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1689
1690         * Fixed silc_client_send_private_message to return TRUE correctly.
1691           Affected file lib/silcclient/client_prvmsg.c.
1692
1693         * Added topic to the SilcChannelEntry.  Affected files are
1694           lib/silcclient/silcclient.h, command_reply.c, client_notify.c.
1695
1696 Fri Feb 13 14:19:14 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1697
1698         * Use conn->cmd_ident for all silc_client_command_call()s.  Affected
1699           file lib/silcclient/command.c
1700
1701 Fri Feb 13 13:53:45 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1702
1703         * Convert all commands to UTF-8 before passing them to the
1704           client library.  Still need to convert replies from UTF-8 to
1705           the locale encoding.  Affected file
1706           irssi/src/silc/core/silc-cmdqueue.c
1707
1708 Fri Feb 13 13:13:07 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1709
1710         * redirect all silc_client_command_calls through a queueing framework.
1711           This fixes /CYCLE and the annoying "nick change after auto-joining
1712           a channel".  Furthermore it defines one central point where
1713           command parameters can be UTF-8-ified.  Affected files
1714           irssi/src/silc/core/Makefile, client_ops.c, silc-channels.c,
1715           silc-servers.[ch], silc-core.c, silc-cmdqueue.[ch], silc-lag.c
1716
1717 Fri Feb 13 12:04:41 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1718
1719         * use asynchronous connect() to establish router connections.
1720           Fixes problem when the primary router goes down.  Affected files
1721           silcd/server.c, silcd/server_backup.c
1722
1723 Thu Feb 12 20:09:59 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1724
1725         * Added SILC_[32|64]_TO_PTR and SILC_PTR_TO_[32|64] macros.
1726           Fixed various compilation warnings when type casting ints
1727           to pointers or vice versa, of different size.  Updates around
1728           the source free.
1729
1730 Tue Feb  3 23:25:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1731
1732         * Surrogates not allowed in UTF-8 strings, updated decoder.
1733           Affected file lib/silcutil/silcstrutil.c.  Added UTF-8
1734           testers in lib/silcutil/tests/ directory.
1735
1736 Wed Jan 14 18:42:44 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1737
1738         * Added SILC_CLIENT_CONN_ERROR_KE, ERROR_AUTH, ERROR_RESUME and
1739           ERROR_TIMEOUT SilcClientConnectionStatus errors.  Affected
1740           files are lib/silcclient/silcclient.h, client.c.
1741
1742 Mon Jan 12 13:01:10 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1743
1744         * When resuming a session fails, notify the user that the session
1745           file needs to be removed eventually.  Affected files
1746           irssi/src/fe-common/silc/module-formats.[ch],
1747           irssi/src/silc/core/client_ops.c.
1748
1749 Tue Jan 04 12:16:04 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1750
1751         * Added DIST_SUBDIRS symbols to include all subdirs in distributions.
1752           Affected files lib/silcutil/Makefile.am, lib/silcmath/Makefile.am
1753
1754         * Typofix in Irssi::Silc module.  Affected file
1755           irssi/src/perl/silc/Silc.xs.
1756
1757 Tue Jan 04 02:43:44 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1758
1759         * Changed the way NOTICE flagged messages are treated. Added support
1760           for notices in queries and signing notices.  Affected files
1761           irssi/default.theme; irssi/docs/help/in/notice.in;
1762           irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c;
1763           irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.c
1764
1765         * Fixed typo in /ACTION help.  Affected file
1766           irssi/docs/help/in/action.in
1767
1768 Mon Jan 03 23:26:38 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1769
1770         * Fixed typo in perl module.  Affected file
1771           irssi/src/perl/silc/Server.xs
1772
1773         * Changed the way ACTION flagged messages are treated. Added support
1774           for actions in queries and signing actions.  Affected files
1775           irssi/default.theme; irssi/docs/help/in/action.in;
1776           irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c,
1777           fe-silc-queries.c; irssi/src/silc/core/client_ops.c, silc-channels.c,
1778           silc-servers.[ch]
1779
1780 Mon Jan 03 16:04:29 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1781
1782         * Incorrectly reported error when client had to be resolved from
1783           server in /SMSG.  Affected file irssi/src/silc/core/silc-servers.c
1784
1785 Sat Jan  3 16:37:15 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1786
1787         * Fixed whois public key hash table deleting and adding in
1788           detached client case.  Affected file silcd/packet_receive.c.
1789
1790 Sat Jan 03 12:15:38 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1791
1792         * Changed filenames of silc/fe module not to collide with filenames
1793           from core/fe.  Also seperated public messages printing from
1794           query messages printing.  Affected files are all in
1795           irssi/src/fe-common/silc.
1796
1797 Sat Jan  3 12:18:07 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1798
1799         * Fixed the invite process handling during joining to use
1800           correct server name for the client that is matched against
1801           the invite string for the channel.  Wrong server name caused
1802           inability to join the channel.  Affected file is
1803           silcd/command.c.
1804
1805 Fri Jan  2 23:34:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1806
1807         * Fixed the CUMODE channel founder authentication on normal
1808           server to not remove the founder rights on existing founder
1809           before checking that router accepts the mode change.  Affected
1810           files are silcd/command.c and silcd/packet_receive.c.
1811
1812         * Remove the server entry correctly when rekey timeouts and
1813           remote router connection on normal server is closed.  Fixes
1814           a crash where server uses the freed server entry.  Affected
1815           file silcd/server.c.
1816
1817 Fri Jan 02 10:28:15 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1818
1819         * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
1820           networks.  This is the first step in solving the bug about
1821           /SERVER ADD -silcnet <silcnet>.  Affected files
1822           irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am,
1823           fe-silcnet.c, fe-common-silc.c, module-formats.[ch];
1824           irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am
1825
1826 Thu Jan 01 20:11:32 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1827
1828         * /SMSG and /MMSG now correctly create new queries. Affected files
1829           irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl
1830
1831         * Add basic support for SILC protocol specific variables in perl.
1832           Affected files irssi/src/perl/silc/*, irssi/configure.in,
1833           irssi/src/perl/Makefile.am
1834
1835 Wed Dec 31 17:06:55 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1836
1837         * Don't use silc_get_input, it's obviously not reliable.  Fixes
1838           issue when the current key expires.  Affect file
1839           irssi/src/silc/core/clientutils.c
1840
1841         * Make the session data filename configurable.  This makes it
1842           possible to have different session files for different
1843           SILC networks.  Affected files irssi/src/silc/core/silc-core.c,
1844           client_ops.[ch], silc-servers.c,
1845           irssi/src/silc/fe-common/silc/module-formats.[ch]
1846
1847         * Use the same set of libtool files for the MPI lib as for the
1848           rest of the toolkit.  Affected files lib/silcmath/mpi/config.guess,
1849           config.sub, configure.in, install-sh, missing, mkinstalldirs
1850
1851 Sun Dec 28 21:57:39 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1852
1853         * Fixed server statistics decrementing error to not go to
1854           negative.  Affected file silcd/packet_receive.c.
1855
1856 Sat Dec 20 14:42:36 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1857
1858         * Use silc_server_query_add_error to add error in public key
1859           search error.  Added support in send_reply to send errors
1860           without specific argument.  Affected file silcd/server_query.c.
1861
1862         * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
1863           Client for NO_SUCH_NICK.  It was against the protocol specs.
1864           Affected file irssi/src/silc/core/client_ops.c.
1865
1866         * Added backwards support for the wrong NO_SUCH_NICK error sending
1867           in server.  To be removed in SILC Server 1.0.  Both old clients
1868           and clients with fixed error handling now works.  Affected file
1869           silcd/server_query.c.
1870
1871 Sat Dec 20 00:44:47 CET 2003  Patrik Weiskircher <pat@icore.at>
1872
1873         * fixed a bug in the whois using attributes function where no
1874           error was sent if no nickname and client id but the attributes were
1875           given to whois. Affected file silcd/server_query.c
1876
1877 Tue Dec 16 21:34:59 CET 2003  Patrik Weiskircher <pat@icore.at>
1878
1879         * remove public key from public key hashtable on detach. Affected
1880           file silcd/packet_receive.c
1881
1882         * free public key hashtable before removing clients on server
1883           shutdown. Affected file silcd/server.c
1884
1885         * remove public key prior deleting client-data on killing a client.
1886           Affected file silcd/server_util.c
1887
1888 Sat Dec 06 21:35:14 CET 2003  Patrik Weiskircher <pat@icore.at>
1889
1890         * Getting the MOTD from other servers works now. Affected
1891           files are silcd/command.c and silcd/command_reply.c
1892
1893 Thu Dec 04 11:33:46 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1894
1895         * Initialize the variable idletag, since it is tested in
1896           silc_core_deinit for its default value.  Affected file
1897           irssi/src/silc/core/silc-core.c
1898
1899 Sun Nov 30 19:47:02 CET 2003  Patrik Weiskircher <pat@icore.at>
1900
1901         * Fixed signed channel messages across cells. Affected file
1902           silcd/packet_send.c
1903
1904 Fri Nov 28 19:13:21 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1905
1906         * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG
1907           is not defined.  They can now be safely used in if-statements
1908           without braces.  Affected file lib/silcutil/silclog.h.
1909
1910         * Added the checks for backup closing connection due to error
1911           (local or remote) and thus not allow the resuming to occur
1912           in reconnect.  Affected files are silcd/packet_send.c
1913           and server.c.
1914
1915 Tue Nov 25 15:20:59 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1916
1917         * Help file updates.  Affected files in irssi/src/docs/help/in/.
1918
1919 Wed Nov 23 20:51:21 CET 2003  Patrik Weiskircher <pat@icore.at>
1920
1921         * Fixed channel messages across cells. Affected file
1922           silcd/packet_send.c
1923
1924 Wed Nov 12 11:34:56 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1925
1926         * Fixed file transmission accepting in client library to not
1927           start the negotiation if user hasn't accepted the transfer,
1928           instead create new session for resent transfer.  Affected
1929           file lib/silcclient/client_ftp.c.
1930
1931         * Show the session ID in the file transmision list.  Remove
1932           session from list that failed to transfer.  Switch the current
1933           session automatically after transmission, and in errors, to new
1934           session if other sessions exists in the transfer list.  Affected
1935           files are irssi/src/silc/core/silc-servers.c,
1936           irssi/src/fe-common/silc/modfule-formats.c.
1937
1938 Mon Nov 10 14:41:40 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1939
1940         * Fixed MIME header parsing for the hopefully last time.  Affected
1941           file lib/silcutil/silcstrutil.c
1942
1943 Mon Nov 10 13:03:46 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1944
1945         * Rewrote the PKCS#1 routines.  Added lib/silccrypt/silcpkcs1.[ch].
1946
1947         * The SILC RNG is now gauranteed to return non-zero random
1948           values.  Affected files are lib/silccrypt/silcrng.[ch].
1949
1950 Sun Nov  9 20:44:56 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1951
1952         * Fixed nickname formatting when changing only case of the
1953           nickname.  Affected file lib/silcclient/idlist.c.
1954
1955 Sun Nov  9 19:33:59 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1956
1957         * Fixed a memory leak and incorrect printing of the "appears as"
1958           message.  Affected file irssi/src/silc/core/client_ops.c
1959
1960 Sun Nov  9 17:45:11 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1961
1962         * Added CRT (Chinese Remainder Theorem) supported RSA
1963           private keys and private key operations.  This significantly
1964           increases private key operation efficiency.  No compatibility
1965           issues with new or old private keys.  Affected files are
1966           lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c.
1967
1968 Sat Nov  8 13:08:53 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1969
1970         * Fixed GCC-3.3.2 related compilation warnings from the
1971           source tree.
1972
1973 Fri Nov  7 23:01:47 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1974
1975         * Removed RC6 from distributions.
1976
1977 Fri Nov  7 19:38:42 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1978
1979         * Added some better comments to lib/silccrypt/silcpkcs.h,
1980           optimized some routines in lib/silccrypt/silcpkcs.c.
1981           Added test_silcpkcs into lib/silccrypt/tests/.
1982
1983         * Fixed silc_rng_global_init to actually init the global RNG
1984           if RNG wasn't provided for it.  Affected file is
1985           lib/silccrypt/silrng.c.
1986
1987 Thu Nov  6 21:08:28 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1988
1989         * Added silc_hash_table_find_by_context_ext.  Affected files
1990           lib/silcutil/silchashtable.[ch].
1991
1992         * Save the public key on normal server in WHOIS command reply
1993           from attributes, if present, and add it to public key hash
1994           table.  Fixes WHOIS resolving by public key on normal server.
1995
1996           Optimized the attributes resolving on normal server to not
1997           resolve if we resolved them already from router.
1998
1999           Affected files are silcd/server_query.c, command_reply.c.
2000
2001 Wed Nov  5 19:36:30 CET 2003 Patrik Weiskircher <pat@icore.at>
2002
2003         * Added support for whois using attributes.
2004           Affected files silcd/command_reply.c, silcd/packet_receive.c,
2005           silcd/server.c, silcd/server_internal.h, silcd/server_query.c,
2006           silcd/server_util.c
2007
2008         * Added support for whois using public key attribute to /WHOIS i
2009           client command. Affected files irssi/docs/help/in/whois.in,
2010           irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c
2011
2012 Wed Nov  5 23:37:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2013
2014         * Fixed UMODE setting in server when the client has anonymous
2015           mode set.  The mode setting was not working.  Affected file
2016           silcd/command.c.
2017
2018 Mon Nov  2 11:36:08 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2019
2020         * Fixed some bugs and typos related to sending split messages.
2021           Print notification when sending messages with /MMSG.  Affected
2022           files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c
2023
2024 Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2025
2026         * Optimized the socket referencing in packet routines, client
2027           library and server.  Affected files are lib/silccore/silcpacket.c,
2028           lib/silcclient/client.c and silcd/server.c.
2029
2030         * If silc_socket_set_qos is given with NULL arguments the QoS is
2031           reset from the socket.  Affected files are
2032           lib/silcutil/silcsockconn.[ch].
2033
2034 Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2035
2036         * Add a /LISTKEYS command which lists the locally cached
2037           client and server keys.  Affected files
2038           irssi/src/fe-common/module-formats.[ch],
2039           irssi/src/silc/core/silc-{channels,servers}.c
2040           irssi/docs/help/in/listkeys.in
2041
2042 Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2043
2044         * Check that packet queue purging was successful.  Affected
2045           files lib/silcclient/client.c and silcd/packet_send.c.  Related
2046           to MAC failed errors.
2047
2048         * Do not clear the inbuf even if it is empty if QoS was applied
2049           to it.  Otherwise the QoS data is cleared and MAC failed error
2050           will occur.  Affected file lib/silccore/silcpacket.c.
2051
2052         * Use the rekey period time as rekey protocol timeout value.
2053           If the rekey does not succeed during the rekey period there's
2054           something very wrong, and we most likely end up with wrong keys,
2055           do graceful reconnect then.   Affected file silcd/server.c.
2056
2057         * Take reference of the socket in the parser context, as it's
2058           possible to have the parsers in queue after the socket is
2059           disconnected and this may cause crash.  Affected files are
2060           lib/silccore/silcpacket.c, lib/silcclient/client.c and
2061           silcd/server.c.
2062
2063 Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2064
2065         * Fixed KICK command reply sending, it sent to replies.
2066           Affected file silcd/command.c.
2067
2068 Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2069
2070         * Finish the silc-mime.pl script. It now supports MIME type
2071           guessing using magic files, signing data messages, executing
2072           MIME handlers in background. Affected files
2073           irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in
2074
2075         * Changed MIME signal handler to make things easier for the perl
2076           script. Affected files irssi/src/silc/core/client_ops.c,
2077           silc-servers.c, and irssi/docs/signals.txt
2078
2079         * Cleaned up the silc_mime_parse function and fixed detection
2080           of wrapped header lines. Affected file lib/silcutil/silcstrutil.c
2081
2082 Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2083
2084         * Resolve the IP for file transfer listener from the connection
2085           socket.  Affected file lib/silcclient/client_ftp.c.
2086
2087         * Accept NULL hostname parameter in the functions
2088           silc_net_check_[local|remote]_by_socket.  Do not reverse lookup
2089           if hostname is not wanted.
2090
2091 Fri Oct 24 21:24:12 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
2092
2093         * Fixed race condition between silc_client_init and
2094           my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c
2095
2096 Fri Oct 24 16:43:40 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2097
2098         * Fixed file transfer connection closing when SIGNOFF for
2099           the client is received from server.  Affected file is
2100           lib/silcclient/client_ftp.c.
2101
2102 Tue Oct 21 13:35:57 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
2103
2104         * Check for disconnected socket in QUIT callback.  Affected
2105           file silcd/command.c.
2106
2107 Thu Oct 21 09:43:17 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
2108
2109         * Modified the MIME parsing to allow \n and \r\n as delimiters.
2110           Affected files lib/silcutil/silcstrutil.c
2111
2112         * Cleaned up the escape/unescape functions for correctness and
2113           speed. Affected file irssi/src/silc/core/client_ops.c
2114
2115         * Removed handling for data messages with Content-Type: text/*,
2116           moved parsing of MIME headers to the signal handler, added
2117           support for signing and verifying data messages. Affected
2118           files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c,
2119           irssi/src/silc/core/silc-{servers,channels}.c
2120
2121         * Added a perl script for handling data messages based on
2122           information read from Mailcap files. New file
2123           irssi/scripts/silc-mime.pl
2124
2125 Mon Oct 20 16:08:22 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2126
2127         * Added new SILC_MESSAGE_FLAG_ACK that can  be used to
2128           acknowledge recepetion of a message to the sender.  Updated
2129           protocol specs.
2130
2131 Sat Oct 18 11:55:33 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2132
2133         * Unregister channel key saving callback when deleting channel.
2134           Affected file lib/silcclient/idlist.c.
2135
2136         * Do not remove the client from channels in NOTIFY_TYPE_SIGNOFF
2137           before calling notify client operation.  Affected file is
2138           lib/silcclient/client_notify.c.
2139
2140         * Unregister QoS tasks when deleting the socket connection.
2141           Affected files lib/silcutil/silcsockconn.[ch],
2142           unix/silcunixsockconn.c.
2143
2144         * Implemented latest presence-attrs draft changes.  Affected
2145           files lib/silccore/silcattrs.h and
2146           irssi/src/silc/core/silc-queries.c.
2147
2148 Tue Oct 14 18:24:53 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2149
2150         * Save old channel keys in list to allow more rapid change
2151           of channel keys if server for some reason does that.  This
2152           avoids loosing so many channel messages due to not having
2153           key to decrypt.  Affected file lib/silcclient/silcclient.h,
2154           idlist.c and client_channel.c.
2155
2156 Mon Oct 13 21:37:47 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2157
2158         * Continued backup router tests and fixes.  Affected files
2159           silcd/server_backup, server_util.c, server.c.  See TODO.
2160
2161 Sun Oct 12 19:58:18 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2162
2163         * Fixed SERVER_SIGNOFF handling in servers.  The client
2164           was removed from wrong list thus not removing the client
2165           at all.  Affected file silcd/packet_receive.c.
2166
2167         * Do not execute rekey protocol for disabled connections as
2168           it would never go through.  Affected file silcd/server.c.
2169
2170         * Added timeout for rekey protocol to catch if the protocol
2171           never executes successfully.  Affected files silcd/server.c
2172           and protocol.h.
2173
2174 Sat Oct 11 15:39:22 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2175
2176         * Abandon packet processing for disconnected sockets.  Check
2177           this always after calling packet processing callback.
2178           Affected file lib/silccore/silcpacket.c.
2179
2180         * Fixed double registration disconnection code in server.
2181           Closed wrong connection.  Affected file silcd/packet_receive.c.
2182
2183 Fri Oct 10 16:27:12 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2184
2185         * On normal server reconnect to primary during resuming 4
2186           times, then give up.  Affected file silcd/server_backup.c.
2187
2188         * If during reconnecting to routers we notice we have router
2189           connection but no primary router set, the server is in desync.
2190           Reconnect to primary to restore network.  Affected file
2191           silcd/server.c.
2192
2193         * Assure that only one protocol is exeucting at the same time.
2194           Added checks for all protocols.  Affected files are
2195           silcd/server.c and server_backup.c.
2196
2197 Thu Oct  9 20:24:09 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2198
2199         * Check that a string is not already part on invite/ban
2200           string when processing it.  Affected file silcd/server_util.c.
2201
2202 Thu Oct  9 12:06:40 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
2203
2204         * Fixed the CUMODE_CHANGE for founder mode changes to comply
2205           with 1.2 version of the protocol.  Affected file is
2206           silcd/packet_receive.c.
2207
2208 Wed Oct  8 19:41:15 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2209
2210         * ERR_BAD_PASSWORD now returns the Channel ID of the channel
2211           where the passphrase was given.  Affected file is
2212           silcd/command.c.
2213
2214 Wed Oct  8 09:32:12 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
2215
2216         * INVITE and BAN notifys are now delivered from routers to
2217           servers (but not clients) on the channel.  Updated specs and
2218           code.  Affected files silcd/packet_[send|receive].[ch],
2219           command.c, server.c and server_util.c.
2220
2221         * Implemented INVITE and BAN announcing.  Affected files are
2222           silcd/server.[ch], server_util.c.
2223
2224         * Implemented SilcStatus error type argument returning in
2225           command reply error in server.  Affected file silcd/command.c.
2226
2227         * Implemented SilcStatus argument returning in comand reply
2228           in client library.  The command_reply client operation now
2229           returns error specific arguments as well.  Affected files
2230           are lib/silcclient/command_reply.[ch], client_resume.c,
2231           lib/silccore/silcstatus.[ch].
2232
2233 Sun Oct  5 20:22:08 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2234
2235         * Backup router protocol version 1.2 implemented.  Testing still
2236           required.  Affected files in silcd/server_backup.[ch], server.c,
2237           packet_receive.c and server_internal.h.
2238
2239 Sun Oct  5 12:36:37 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2240
2241         * silc_client_send_[channel|private]_message now return TRUE
2242           or FALSE.  Affected file lib/silcclien/client_channel.c and
2243           client_prvmsg.c.
2244
2245 Thu Oct  2 17:03:09 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2246
2247         * Check for explicit nickname in INVITE and BAN processing
2248           during join as well (and don't expect only wildcards in
2249           invite/ban strings).  Affected file silcd/command.c.
2250
2251         * Fixed the INVITE and BAN by public key.  The public key saved
2252           is the PK payload (as specified) not the raw data.  Affected
2253           file silcd/server_util.c.
2254
2255 Wed Oct  1 20:29:06 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2256
2257         * UTF-8 text message support for actions and notices in SILC
2258           Client.  Affected file irssi/src/silc/core/client_ops.c.
2259
2260         * silc_get_username and silc_get_real_name now returns sensible
2261           data on Win32.  Patch by Toni Willberg.  Affected file is
2262           lib/silcutil/win32/silcwin32util.c.
2263
2264 Sun Aug 24 23:35:19 CEST 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2265
2266         * Provide a signal handler to send MIME encoded messages and emit
2267           a signal when a MIME encoded message is received. Also document
2268           the signals for usage with the perl interface.
2269
2270           A sample perl script will be supplied at a later point.
2271
2272           Affected files are irssi/docs/signals.txt,
2273           irssi/src/silc/core/client_ops.[ch],
2274           irssi/src/silc/core/silc-{channels,servers}.c
2275
2276 Sun Aug 24 12:58:30 CEST 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2277
2278         * Use SILC_COMMAND_PING to estimate the round-trip time to the
2279           server. Use this time to display a lag and disconnect when it
2280           exceeds a specified limit.
2281
2282           Affected files are irssi/src/silc/core/silc-{lag,core}.c.
2283
2284 Mon Aug 11 17:14:17 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2285
2286         * Remove the channel auth list in normal server if router
2287           encofrces its list during connecting.  Send notify to channel
2288           to remove the mode to remove the list.  Affected files are
2289           silcd/server_util.c and silcd/packet_receive.c.
2290
2291 Wed Aug  6 14:52:04 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2292
2293         * Added support for channel public keys.  Updated protocol specs
2294           and implemented it.  Affected files are
2295           silcd/command.c, command_reply.c, lib/silcclient/command.c,
2296           lib/silcclient/command_reply.c.
2297
2298 Wed Jul 23 12:17:01 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2299
2300         * Ignore SIGXFSZ and SIGXCPU signals in server.  They can
2301           terminate the process on Linux.  Affected file silcd/silcd.c.
2302
2303 Mon Jun  2 19:13:27 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2304
2305         * Check for NULL buffer in silc_buffer_clear.  Affected file
2306           is lib/silcutil/silcbuffer.h.
2307
2308         * Simplified the backup router protocol by removing the _GLOBAL
2309           types.  Updated protocol specs and the code.  Affected files
2310           are silcd/server_backup.[ch].
2311
2312 Thu Apr 24 19:50:25 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2313
2314         * Deny '@' and '!' from nicknames since they are reserved
2315           by the SILC_COMMAND_INVITE and SILC_COMMAND_BAN commands.
2316           Updated protocol specs and the code.
2317
2318           Affected files are silcd/server_util.[ch].
2319
2320 Wed Apr  9 18:51:59 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2321
2322         * Fixed stack overflow in Irssi SILC client.  Affected
2323           file irssi/src/silc/core/client_ops.c.
2324
2325         * Check that Host is set in ServerConnection and RouterConnection
2326           in silcd.conf.  Affected file silcd/serverconfig.c.
2327
2328         * Fixed crash in server with protocol completion callbacks,
2329           namely rekey and backup resuming protocols.  Affected files
2330           are silcd/server_backup.c and silcd/server.c.
2331
2332         * Fixed rekey protocol to not restart if it is started already.
2333           Affected files are lib/silcclient/client.c and
2334           silcd/server.c.c
2335
2336 Mon Mar 17 18:35:24 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2337
2338         * Rewrote SilcList, affected file lib/silcutil/silc*list.h.
2339
2340         * Fixed EOF handling in SILC Config, affected file
2341           lib/silcutil/silcconfig.c.
2342
2343         * Fixed buffer overflows in lib/silcutil/silcstrutil.c.
2344
2345         * Fixed RESOLVING flag handling in JOIN notify and other
2346           notifys to handle the resolvings correctly in client library.
2347           Affected file lib/silcclient/client_notify.c.
2348
2349         * Do not send full INVITE and BAN lists in INVITE and BAN
2350           notifys, only the changed information.  Affected file
2351           silcd/command.c.
2352
2353         * Fixed INVITE notify sending in INVITE command, send it
2354           only when needed.  Affected file silcd/command.c.
2355
2356         * Handle the founder key change properly in CMODE_CHANGE
2357           notify.  Bug #122.  Affected file silcd/packet_receive.c.
2358
2359 Sun Mar  9 16:29:20 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2360
2361         * Remove the mark for output (mark it only for input) after
2362           purging outgoing queue.  Prevents the "Error in select()"
2363           floods.  Affected file silcd/packet_send.c.
2364
2365         * Fixed incorrect connection deletion from client library
2366           after calling "connect" client operation.  Could cause
2367           crashes for example during reconnect timeouts.  Affected
2368           files are lib/silcclient/client.c and
2369           irssi/src/silc/core/client_ops.c.
2370
2371         * Check server private key file permissions before starting
2372           the server.  Affected file silcd/serverconfig.c.
2373
2374 Tue Feb  4 22:53:26 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2375
2376         * NULL terminate allocated string in silc_buffer_strformat.
2377           Affected file lib/silcutil/silcbuffmt.c.
2378
2379         * Rewrote the invite/ban list string handling in server to
2380           use SilcBuffer instead.  Affected files are silcd/command.c
2381           and silcd/server_util.c.
2382
2383 Mon Feb  3 14:43:52 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2384
2385         * Fixed double free in CMODE command when setting new HMAC
2386           for channel.  Affected file silcd/command.c.
2387
2388         * Added couple of missing memset's to zero sensitive memory.
2389           Affected files silcd/command.c, lib/silcclient/command.c.
2390
2391 Sun Jan 26 12:20:30 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2392
2393         * Fixed a double free in INVITE command error handling in
2394           server.  Affected file silcd/command.c.
2395
2396         * Added macros SILC_SWAB_[16|32] to swab byte order of
2397           16-bit and 32-bit unsigned integers.  Affected file
2398           lib/silcutil/silctypes.h.
2399
2400         * Use the SILC_SWAB_16 instead of htons() in server when
2401           handling ports since the ports in structures are always
2402           in little-endian order (regardless of platform).  Affected
2403           file silcd/serverid.c and silcd/server_backup.c.
2404
2405 Tue Jan 21 17:18:04 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2406
2407         * Send DISCONNECT in close admin command in server.  Affected
2408           file silcd/command.c.
2409
2410         * Check whether we are already connecting to a remote router
2411           (in addition of checking whether we are already connected)
2412           before creating new connection.  Affected file silcd/server.c.
2413
2414 Thu Jan 16 18:47:00 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2415
2416         * Added better compiler and compiler flags checking in
2417           configure.
2418
2419         * Check that socket is valid after QoS is applied to data.
2420           Affected file lib/silcutil/unix/silcunixsockconn.c.
2421
2422         * Make sure the socket connecetion is not closed to early
2423           when closing connection in server.  Also make sure the
2424           connection is always closed after error in a protocol.
2425           Affected file silcd/server.c.
2426
2427 Wed Jan 15 11:03:36 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2428
2429         * Removed --session and --dummy options from Irssi SILC Client.
2430           -d option is available only if --enable-debug was given.
2431           Affected files are irssi/src/silc/core/silc-core,
2432           irssi/src/core/session.c and irssi/src/fe-text/silc.c.
2433
2434 Tue Jan 14 12:25:09 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2435
2436         * Added silc_buffer_steal to steal the data from the buffer.
2437           Affected file lib/silcutil/silcbuffer.h.
2438
2439 Sat Jan 11 18:16:29 CET 2003  Giovanni Giacobbi <giovanni@giacobbi.net>
2440
2441         * Fixed server crash with double Primary block in config file.
2442
2443           Fixed also various memory leaks around the config file
2444           parser.  Affected files lib/silcutil/silcconfig.c,
2445           silcd/serverconfig.c.
2446
2447         * Changed my nickname (Johnny Mnemonic) to my real name, this
2448           means that bugs introduced by him were actually introduced
2449           by me!
2450
2451 Tue Jan  7 21:58:53 CET 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2452
2453         * Don't display "foo appears as foo\nYou're now known as foo"
2454           messages.  Affected file irssi/src/silc/core/client_ops.c
2455
2456 Tue Jan  7 20:08:15 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2457
2458         * Fixed error handling of invalid client entry when calling
2459           commands in server.  Fixes a crash.  Affected file
2460           silcd/command.c.
2461
2462 Thu Dec 26 14:19:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2463
2464         * Added some sanity checks in server for correctness of the
2465           server configuration.  Affected file silcd/serverconfig.c.
2466
2467 Fri Dec 20 10:47:59 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2468
2469         * Prevent endless resolving of user informations in USERS
2470           command by checking the command reply status correctly.
2471           Affected file lib/silcclient/command_reply.c.
2472
2473 Tue Dec 17 10:05:00 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2474
2475         * Fixed file writing on WIN32 to use O_BINARY flag.  Affected
2476           file is lib/silcutil/silcfileutil.c.  A patch by Matthew
2477           Aldous <Matthew@Aldous.com>.
2478
2479         * Added better implementation using CriticalSection of
2480           SilcMutex on WIN32.  A patch by Mikko Lähteenmäki
2481           <mikko.lahteenmaki@pikabaana.net>.
2482
2483         * Added some Winsock WIN32 compatiblity defines into
2484           includes/silcwin32.h.
2485
2486 Mon Dec 16 19:33:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2487
2488         * Fixed double free in async host lookup code.  Affected file
2489           lib/silcutil/silcsockconn.c.
2490
2491         * On backup router handle now the SERVER_SIGNOFF from router
2492           for local connected servers too, and close the connections.
2493
2494           Do not process them as normally signing off servers when they
2495           really signoff by sending EOF fe, but always assume that
2496           router sends the SERVER_SIGNOFF.
2497
2498           Affected files silcd/server.c and silcd/packet_receive.c.
2499
2500         * Fixed socket unsetting when closing connections.  Affected
2501           files silcd/server.c and silcd/packet_send.c.
2502
2503         * Do not print the nickname in SERVER_SIGNOFF if we do not
2504           have it.  Prevents asserts in Irssi core.  It is possible we
2505           don't have the nick if it was just being resolved when server
2506           signoff.  Affected file irssi/src/silc/core/client_ops.c.
2507
2508 Thu Dec 12 23:22:50 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2509
2510         * Fixed autonick crashbug in client library.  Affected file
2511           lib/silcclient/client.c.
2512
2513         * Fixed Unix implementation of SilcMutex to really assert if
2514           the mutex is locked/unlcoked already.  Affected file
2515           lib/silcutil/unix/silcunixmutex.c.
2516
2517         * Fixed locking in silc_schedule_uninit.  It didn't lock
2518           when dispatching timeout tasks.  Affected file is
2519           lib/silcutil/silcschedule.c.
2520
2521         * Changed Win32 implementation of SilcThread to use modern
2522           Win32 interface.  Affected file is
2523           lib/silcutil/win32/silcwin32thread.c  A patch by Mikko L.
2524
2525 Thu Dec 12 12:06:59 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2526
2527         * Don't print signed messages when sending failed.  Affected files
2528           irssi/src/silc/core/silc-[servers.c/commands.h]
2529
2530         * Send adquate signal when founding a channel by joing it.  Affect
2531           file irssi/src/silc/core/client_ops.c
2532
2533 Wed Dec 11 21:46:19 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2534
2535         * Fix theme abstracts parsing.  Affected files irssi/default.theme,
2536           irssi/src/fe-common/core/themes.c
2537
2538 Wed Dec 11 20:20:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2539
2540         * Fixed close command to use the port correctly when closing
2541           server connections.  Affected file silcd/idlist.c.
2542
2543         * Check for NULL outbuf in silc_socket_write.  It is possible
2544           that it is NULL is some odd case.  Affected files are
2545           lib/silcutil/[unix/win32]/silc[unix/win32]sockconn.c.
2546
2547         * Do not call final protocol callback for backup router
2548           resuming protocol when closing connection.  It is closed
2549           by timeout in case of error.  Affected file silcd/server.c.
2550
2551         * Backup reconnect to router if backup resuming protocol
2552           failed.  Affected file silcd/server_backup.c.
2553
2554 Wed Dec 11 10:01:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2555
2556         * Fixed double free in SKE library error hadling when signature
2557           error occurred.  Affected file lib/silcske/silcske.c.
2558
2559         * Save the fingerprint to new SilcClientEntry after changing
2560           nickname.  Affected file lib/silcclient/client_notify.c.
2561
2562         * Print SIGNOFF in Irssi SILC client only if the nickname is
2563           known.  Prevents asserts in Irssi core.  It is possible we
2564           don't have the nick if it was just being resolved when it
2565           quit.  Affected file irssi/src/silc/core/client_ops.c.
2566
2567 Tue Dec 10 21:47:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2568
2569         * Fixed double free in invite list adding code when adding
2570           invite strings.  Affected file silcd/server_util.c.
2571
2572 Fri Dec  6 17:40:24 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2573
2574         * More log printing during backup router protocol.  Affected
2575           file silcd/server_backup.c.
2576
2577         * Removed backwards support for old private key file format.
2578           Affected file lib/silccrypt/silcpkcs.c.
2579
2580         * Removed backwards support for not-so-strict decryption length
2581           check, it's strict now.  Affected lib/silccrypt/silccipher.c.
2582
2583         * GETKEY to update the client entrys fingerprint too.
2584           Affected file lib/silcclient/command_reply.c.
2585
2586         * Added --without-libtoolfix for package builders using weird
2587           wrappers around libtool (BSD at least).
2588
2589 Thu Dec  5 22:29:46 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2590
2591         * Fixed backup router bugs:  When backup resumes router and
2592           receives a CHANNEL_MESSAGE packet the backup must not act
2593           as router since the packet header decryption would be
2594           different.  Also, when relaying packets to channel, do
2595           not re-encrypt packets on backup that came from the primary
2596           since the connection isn't really router-router connection.
2597           Affected files silcd/server.c, silcd/packet_send.c.
2598
2599         * Added checks in encryption/decryption that encryption/decryption
2600           length sent as argument really is multiple by block size.  Helps
2601           catching really weird bugs like the above backup router bugs
2602           when packets are being decrypted in wrong way.  Affected files
2603           lib/silccore/silcpacket.c, and lib/silccrypt/silccipher.c.
2604
2605         * Fixed padding generation in private key file encryption.
2606           Affected file lib/silccrypt/silcpkcs.c.
2607
2608 Thu Dec  5 16:35:23 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2609
2610         * Added ignore_message_signatures setting which can be used
2611           to ignore signatures in messages.  Affected files are
2612           irssi/src/silc/core/client_ops.c, silc-core.c.
2613
2614         * Fixed the libtoolfix to use command line options instead of
2615           environment variables.  They didn't work as expected.  Now,
2616           the libtool is fully run-time configurable.
2617
2618 Wed Dec  4 21:08:52 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2619
2620         * Verify signature payload for signed messages. Affected files
2621           irssi/src/silc/core/client_ops.h, irssi/src/silc/core/silc-servers.c,
2622           irssi/src/silc/core/silc-core.h
2623
2624         * Display signature verification result in public and private
2625           messages using theme abstracts. See irssi/default.theme for
2626           examples on their usage. Affected files
2627           irssi/default.theme, irssi/src/fe-common/silc/fe-messages.h,
2628           irssi/src/fe-common/silc/module-formats.[ch],
2629           irssi/src/fe-common/silc/fe-common-silc.c,
2630           irssi/src/fe-common/silc/Makefile.am
2631           irssi/src/fe-common/core/fe-messages.[ch]
2632
2633         * Fixed bugs in Irssi's theme parsing. Affected files
2634           irssi/src/fe-common/core/themes.c
2635
2636 Wed Dec  4 18:29:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2637
2638         * Calculate the correct length for signed messages before
2639           encrypting, it must be multiple by block size.  Affected
2640           file lib/silccore/silcmessage.c.
2641
2642         * silc_message_signed_get_public_key returns now both
2643           decoded and encoded public key.  Affected files are
2644           lib/silccore/silcmessage.[ch].
2645
2646         * Added libtoolfix script that makes the libtool more generic
2647           and configurable in run-time.  Now we can specify in run-time
2648           if what kind of libraries we want to create, regardless of
2649           configuration.  SIMs are now creates even if --disable-shared
2650           was explicitly given.
2651
2652 Tue Dec  3 23:26:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2653
2654         * Fixed founder key sending in CMODE command in client.
2655           Affected file lib/silcclient/command.c.
2656
2657         * Fixed CUMODE founder authentication in server to not check
2658           for client's public key since it's not supposed to do that.
2659           Affected file silcd/command.c.
2660
2661 Tue Dec  3 12:02:41 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2662
2663         * Set realname and hostname in NICK_REC records. Affected file
2664           irssi/src/silc/core/silc-nicklist.c
2665
2666 Mon Dec  2 20:50:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2667
2668         * Remove 1.0 protocol backwards compat code from client
2669           library.
2670
2671         * Added more reliable check for whether nickname did change
2672           or not, or whether only Client ID changed in NICK_CHANGE
2673           notify.  Affected file lib/silcclient/client_notify.c.
2674           Fixes bug in '@' character handling in a nickname.
2675
2676         * Added support for automatically parsing signature from
2677           the message payload.  Added new function
2678           silc_message_get_signature to return the payload to
2679           application.  Affected files lib/silccore/silcmessage.[ch].
2680
2681         * Changed the private_message and channel_message client
2682           operations to deliver the SilcMessagePayload to the
2683           application too.  Application can use it fe. to get the
2684           signature from the message for verification.  Affected
2685           file lib/silcclient/silcclient.h, client_channel.c and
2686           client_prvmsg.c.
2687
2688         * Redefined the signed payload for message payloads.
2689           Updated protocol specs and implemented.
2690
2691 Mon Dec  2 16:28:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2692
2693         * Fixed wrong invite and ban list handling in server command
2694           reply.  Affected files are silcd/command_reply.c,
2695           silcd/server_util.[ch].
2696
2697 Sun Dec  1 20:48:17 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2698
2699         * Fixed CMODE setting in server when founder mode was set.
2700           Affected file silcd/command.c.  Bug #95.
2701
2702         * Added support to setting specific public key in CMODE in
2703           Irssi SILC client.  Affected file lib/silcclient/command.c.
2704
2705         * Added support to use specific public key in CUMODE in
2706           Irssi SILC Client.  Affected file lib/silcclient/command.c.
2707
2708         * Added support for inviting and banning by public key in
2709           Irssi SILC client.  Affected file lib/silcclient/command.c.
2710
2711         * Fixed fingerprint/babbleprint showing in invite and ban
2712           list command replys.  Affected file is
2713           irssi/src/silc/core/client_ops.c.
2714
2715 Sun Dec  1 16:32:03 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2716
2717         * Format CMODE +c and +h to display both the mode and the argument
2718
2719 Sun Dec  1 18:17:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2720
2721         * Added test vectors and test programs for SHA-1, MD5,
2722           HMAC-SHA1 and HMAC-MD5.  New tests are located in
2723           lib/silccrypt/tests/.  Fixed also argument decoding bug in
2724           MD5 implementation.  Affected file lib/silccrypt/md5.c.
2725
2726         * Changed the channel private key and private message key
2727           generation (with static keys) to use SHA1 instead of MD5,
2728           as SHA1 is the mandatory hash function in SILC.  Affected
2729           file lib/silcclient/client_[channel/prvmsg].c.
2730
2731         * Changed the private key file encryption to use SHA1 instead
2732           of MD5.  Added support for the old generation and added
2733           automatic change of the key (to be removed later).  Affected
2734           files lib/silccrypt/silcpkcs.c.
2735
2736 Sat Nov 30 19:07:52 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2737
2738         * Load only files with .pub suffix in PublicKeyDir.  Affected
2739           file silcd/serverconfig.c.
2740
2741 Sat Nov 30 14:29:34 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
2742
2743         * Extended the SILC_SERVER_LOG_ERROR macro to all available logging
2744           channels.  Affected files silcd/silcd.c, silcd/server.h.
2745
2746         * Added the config directive PublicKeyDir for the client block.
2747           Affected files doc/exampe_silcd.conf.in, silcd/serverconfig.[ch].
2748
2749 Sat Nov 30 09:30:55 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2750
2751         * Merged Toni's irssi/silc.conf patch.
2752
2753         * ROBODoc cleanup patch to lib/silccrypt/silcpkcs.h by johnny.
2754
2755         * Max alloc tests in allocation routines.  Affected file
2756           lib/silcutil/silcmemory.c.
2757
2758 Fri Nov 29 23:44:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2759
2760         * Fixed a typo in resuming code that fixed detach/resume code
2761           in server.  Bug #93.  Affected file silcd/packet_receive.c.
2762
2763 Thu Nov 28 17:17:11 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2764
2765         * Do reverse lookups for server when /connecting. Affected files
2766           irssi/silc.conf, irssi/src/core/servers.c, irssi/src/core/network.c,
2767           irssi/src/core/net-nonblock.*
2768
2769 Thu Nov 28 16:19:18 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2770
2771         * Added library versioning for shared libraries.  Affected
2772           files configure.in.pre and lib/Makefile.am.pre.
2773
2774 Wed Nov 27 21:51:52 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2775
2776         * Display INVITE and BAN lists as specified by SILC 1.2
2777
2778 Wed Nov 27 16:01:11 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2779
2780         * Do not send invite list back unless asked (when sending
2781           no arguments) or when list was modified.  Affected file
2782           silcd/command.c.
2783
2784         * Remove client from invite list in KILLED notify and in
2785           KILL command.  Affected file silcd/command.c and
2786           silcd/server.[ch].
2787
2788         * Fixed bugs in invite list handling in INVITE command.
2789           Affected files silcd/command.c and silcd/server_util.c.
2790
2791         * Merged with Irssi 0.8.6.
2792
2793         * Fixed UTF-8 in Irssi SILC Client, setlocale was missing.
2794           Affected file irssi/src/fe-text/silc.c.
2795
2796 Mon Nov 25 18:21:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2797
2798         * The silc_argument_get_[first/next] now return the argument
2799           type to caller.  Added silc_argument_payload_encode_one.
2800
2801           Affected files are lib/silccore/silcargument.[ch].
2802
2803         * Added support for the SILC 1.2 INVITE command and new
2804           invite lists to server.  Affected files are silcd/command.c,
2805           silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2806
2807         * Added support for the SILC 1.2 BAN command and new
2808           ban lists to server.  Affected files are silcd/command.c,
2809           silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2810
2811         * Added support to client sending new INVITE command.  Affected
2812           file is lib/silcclient/command.c.
2813
2814         * Added support to client sending new BAN command.  Affected
2815           file is lib/silcclient/command.c.
2816
2817         * Added support for removing client from invite list when kicked
2818           from channel, as SILC 1.2 dictates.  Affected files are
2819           silcd/packet_receive.c and silcd/command.c.
2820
2821 Sun Nov 24 18:26:42 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2822
2823         * If iv argument to silc_cipher_[encrypt/decrypt] is NULL, use
2824           automatically the cipher's internal IV.  Affected files
2825           lib/silccrypt/silccipher.[ch].
2826
2827         * Assure the RESUME_CLIENT packet is not sent to twice to
2828           backup router if the detached client was originated from
2829           the backup.  Affected file silcd/server.c.  Bug #76.
2830
2831         * Changed silc_sim_symname to not allocate memory.  Affected
2832           file lib/silcsim/silcsimutil.c.
2833
2834         * Fixed memory leaks with SIMs in server.  Affected files
2835           silcd/serverconfig.c, silcd/server.c.
2836
2837         * Fixed channel key distribution after resuming detached
2838           client.  Affected files silcd/packet_receive.c.
2839
2840         * Fixed channel's global_user boolean checking after detaching.
2841           Check it after changing the owner of the client not before.
2842           Affected file silcd/packet_receive.c.
2843
2844         * Fixed few double frees from client library.  Fixes at least
2845           Bug #81, possibly others too.
2846
2847         * UTF-8 decode topics also in JOIN command reply and TOPIC_SET
2848           notifys in Irssi SILC Client.  Affected file is
2849           irssi/src/silc/core/client_ops.c.  Bug #82.
2850
2851         * Applied Ville Räsänen's manual page and --mandir bugfix
2852           patch.  Affected files are configure.in.pre and Makefile.am.pre.
2853           Bug #88.
2854
2855 Fri Nov 22 18:34:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2856
2857         * Added support to backup router protocol for backup to tell
2858           normal server that it cannot use the backup router as primary
2859           because the primary isn't really down.  Updated protocol
2860           specs.
2861
2862         * Added support for primary router to tell backup router that
2863           resuming is not possible because the backup really isn't primary
2864           in the cell.  For example if backup disconnected itself the
2865           resuming is not allowed since the primary really did not
2866           go down.  Updated protocol specs.
2867
2868         * Removed MARS from crypto library.
2869
2870         * Defined the CTR mode and Randomized CBC mode in SILC.  The
2871           CTR mode is RECOMMENDED now in specification.  Defined also
2872           Serpent cipher as optional cipher.  Updated the protocol specs.
2873
2874 Thu Nov 21 12:43:28 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2875
2876         * Added support for inviting/banning by IP/MASK, public key,
2877           and explicit Client ID.  Redefined the command and notify
2878           types to allow easier forwards support for other methods
2879           of inviting/banning.  Updated protocol specs.
2880
2881         * Remove the client from channel's invite lists if the client
2882           is kicked or killed.  Updated protocol specs.
2883
2884         * Unified the Channel Message Payload and Private Message
2885           into one Message Payload.  Updated protocol specs and
2886           implemented.
2887
2888 Tue Nov 19 22:30:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2889
2890         * Don't wait for EOF after socket error has occurred, but
2891           close the connection.  Affected file is silcd/server.c.
2892
2893 Mon Nov 18 18:58:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2894
2895         * Added support for setting FOUNDER mode on channel with
2896           specific public key which can be set with CMODE command.
2897           Updated protocol specs and implemented in client and server.
2898
2899         * Fixed the Irssi SILC client to correctly shutdown the client
2900           library to avoid memory leaks.  Affected files are
2901           irssi/src/silc/core/silc-core.c and silc-servers.c.
2902
2903         * Deprecated the No Reply flag in SKE protocol and introduced
2904           "IV Included" flag which can be used to indicate that the IV
2905           is included in the ciphertext.  This makes it possible to use
2906           SILC on unreliable transport, such as UDP which may cause
2907           packet reordering and losses.  Updated protocol specs, did
2908           not implement yet.
2909
2910 Sun Nov 17 15:50:57 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2911
2912         * Fixed the MPI implementation of silc_mp_sizeinbase to return
2913           < 32 bit values in correct size.  Affected file is
2914           lib/silcmath/mp_mpi.c.
2915
2916 Sat Nov 16 13:14:45 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2917
2918         * Fixed the KE Start Payload parsing to check that mandatory
2919           fields are present.  Affected file lib/silcske/payload.c.
2920
2921         * Fixed compilation warnigs in Irssi SILC Client.  Affected
2922           files are irssi/src/silc/core/silc-query.c. client_ops.c.
2923
2924 Thu Nov 14 19:33:28 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2925
2926         * Print "nick now appears as newnick" and update Irssi's nicklist
2927           when you change your nick to "nick". Closes #62
2928
2929         * Never format your own nick. Closes #63
2930
2931 Thu Nov 14 09:44:54 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2932
2933         * SILC_UMODE_GONE changes are now propagated correctly to the
2934           Irssi client. Closes #54
2935
2936 Tue Nov 12 19:42:18 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2937
2938         * Fixed example in /HELP KEY
2939
2940         * Added expando $j which expands to current SILC Client version
2941
2942 Tue Nov 12 19:46:39 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2943
2944         * Fixed public key decoding in crypto library.
2945
2946         * Added better error printing to SKE library.
2947
2948 Tue Nov 12 08:50:12 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2949
2950         * Fixed NICK command to not crash if nickname was not sent.
2951
2952 Mon Nov 11 19:32:00 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2953
2954         * Added Encrypt-Then-MAC order to SILC packet MAC generation.
2955           Deprecated the old Encrypt-And-MAC order.  Updated protocol
2956           specs and implemented.
2957
2958         * Added Encrypt-Then-MAC order to Channel Message Payload MAC
2959           generation.  Updated specs and implemented.
2960
2961 Sun Nov 10 12:20:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2962
2963         * Added support for rekey before 2^32 sequence number wraps.
2964           Affected files in server and client library.
2965
2966         * Padding must be at least 8 bytes now.  Implemented and updated
2967           protocol specs.
2968
2969         * Compute maximum padding for authentication packets to make
2970           passphrase approximation attacks impossible.  Affected files
2971           in client library and in server.
2972
2973         * Fixed PING command sending in client library and handling in
2974           server.  The server ID must be ID Payload, not raw ID data.
2975           Affected files in server and client library.
2976
2977         * Defined that all public keys sent in commands and notify
2978           payloads are actually Public Key Payloads not raw public key
2979           data.  Updated protocol specs and implemented.
2980
2981         * Updated protocol version to 1.2.  Updated specs and code.
2982
2983         * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED
2984           status types.  Updated specs and the code.
2985
2986         * Added support for normal client to kill its own entries from
2987           the network.  Updated protocol specs and the code.
2988
2989         * Defined the SILC_MESSAGE_FLAG_SIGNED.  Updated protocol specs
2990           and added initial implementation.
2991
2992         * Added MAC field to the Private Message Payload to protect
2993           against chosen ciphertext attacks.  Updated the protocol specs
2994           and implemented.
2995
2996         * Added idle and signon fields to the ATTRIBUTE_SERVICE
2997           attribute to indicate the user's current idle and signon time
2998           of a service.  Updated protocol specs and implemented.
2999
3000 Thu Nov  7 19:21:10 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3001
3002         * Added "do_not_bind" argument to silc_client_file_send what
3003           can be used to not bind locally but assume the file receiver
3004           provides the point of connect.  Usefull when sender is behind
3005           NAT device.  Affected file lib/silcclient/silcclient.h and
3006           client_ftp.c.
3007
3008         * Added -no-listener option to FILE SEND command in Irssi SILC
3009           client.  Affected file irssi/src/silc/core/silc-servers.c.
3010           Renamed FILE RECEIVE to FILE ACCEPT.
3011
3012         * Confirm passphrase for private key encryption in
3013           silc_create_key_pair and silc_change_private_key_passphrase.
3014           Affected files are lib/silcutil/silcapputil.c.
3015
3016 Thu Nov  7 10:05:28 CET 2002  Pekka Riikonen <priikone@silcnet.org>
3017
3018         * Move silc_client_packet_send back to internal, added
3019           silc_client_send_packet, a bit simpler function for application.
3020           Affected files lib/silcclient/silcclient.h, client.c and
3021           client_internal.h.
3022
3023         * Moved the SilcClientEntry, SilcChannelEntry and
3024           SilcServerEntry to silcclient.h to be public and documented
3025           them for application.  Affected files are
3026           lib/silcclient/silcclient.h and idlist.h.
3027
3028 Wed Nov  6 17:18:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3029
3030         * Fixed manual page installation patch by Ville Räsänen.
3031           USERS help page fix patch by Ville Räsänen
3032
3033         * Changed the silc_client_command_call interface to make
3034           the command call simpler for the application.  The library
3035           now handles the command line parsing, command finding and
3036           execution.  Application only needs to call the function
3037           with the command line.  Affected files are
3038           lib/silcclient/silcclient.h, command.[ch].
3039
3040         * Fixed silc_get_input to NULL-terminate the returned input.
3041           Affected file lib/silcutil/silcutil.c.
3042
3043         * Resolve the client's public key in JOIN command if the
3044           founder auth data is being requested but we don't know the
3045           client's public key.  Affected file silcd/command.c.
3046           Bug #53.
3047
3048 Mon Nov  4 16:02:59 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3049
3050         * Print notify for server opers when backup router comes
3051           online.  Affected file silcd/server.c.
3052
3053         * Fixed the INVITE command to send the invite list in
3054           command reply.  Affected file silcd/command_reply.c.
3055
3056         * Fixed MOTD command reply sending.  Affected file
3057           silcd/command.c.
3058
3059         * UTF-8 decode the topic in TOPIC command reply and LIST
3060           command reply in Irssi SILC client.  Affected file is
3061           irssi/src/silc/core/client_ops.c.
3062
3063 Sun Nov  3 17:59:15 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3064
3065         * Fixed the INVITE command to not crash Irssi SILC client
3066           when given without nickname argument.  AFfected file
3067           irssi/src/silc/core/client_ops.c.
3068
3069         * Fixed double free in WHOIS query on normal server when
3070           forwarding query to router.  Affected file is
3071           silcd/server_query.c.
3072
3073         * Fixed WATCH command reply handling on normal server which
3074           was missing altogether.  Affected file silcd/command_reply.c.
3075           Bug #44.
3076
3077 Sun Nov  3 00:42:05 EET 2002  Mika Boström <bostik@lut.fi>
3078
3079         * Added man-pages for silc(1), silcd(8) and silcd.conf(5).
3080           Included yodl sources for each of these. Also modified
3081           Makefile.am prototype to install these files to proper
3082           locations. Updated CREDITS. Affected file Makefile.am.pre,
3083           new files doc/*.yo, doc/silc.1, doc/silcd.conf.5,
3084           doc/silcd.8.
3085
3086 Sat Nov  2 21:26:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3087
3088         * Added support for encrypted private key files.  Now
3089           passphrase must be provided when new key pair is created
3090           (can be empty though), and prompted when loading the
3091           private key.  Added support for loading the old-style
3092           non-encrypted private keys as well.  Affected files
3093           lib/silccrypt/silcpkcs.[ch], Irssi SILC client and
3094           SILC Server.
3095
3096         * Fixed silc_get_input to accept input on all terminals.
3097           Affected file lib/silcutil/silcutil.c.
3098
3099         * Moved the Irssi SILC client key loading and other stuff
3100           to be called after the arguments and UI is initialized.
3101           Affected file irssi/src/silc/core/silc-core.c.  Bug #31.
3102
3103         * Added -P option to Irssi SILC client which can be used
3104           to change the passphrase of the private key.  Affected
3105           file irssi/src/silc/core/silc-core.c.
3106
3107         * Added silc_change_private_key_passphrase apputil routine
3108           to lib/silcutil/silcapputil.[ch].
3109
3110 Sat Nov  2 12:53:09 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3111
3112         * Fixed connection closing in client library to not crash.
3113           Moved the connection freeing totally to function
3114           silc_clinet_del_connection.  Affected file
3115           lib/silcclinet/client.c.
3116
3117 Fri Nov  1 18:57:02 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3118
3119         * Changed includes/silcincludes.h to silcincludes.h.in to
3120           include configuration specific information.  The silcdefs.h
3121           is not included in to installation anymore (it's only
3122           compilation time header).
3123
3124 Fri Nov  1 10:30:26 CET 2002  Pekka Riikonen <priikone@silcnet.org>
3125
3126         * Moved the SilcClient and SilcClientConnection from client.h
3127           to the public lib/silcclient/silcclient.h.  Changed the
3128           structures a bit.
3129
3130 Thu Oct 31 22:44:07 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3131
3132         * If version string in silc_clinet_alloc is NULL the library
3133           puts it automatically.  Affected file lib/silcclient/client.c.
3134
3135         * Changed the version strings from variables to #define's
3136           in includes/silcversion.h.
3137
3138 Wed Oct 30 16:17:30 CET 2002  Pekka Riikonen <priikone@silcnet.org>
3139
3140         * Added shared library complation support.
3141
3142 Tue Oct 29 21:48:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3143
3144         * Added lib/silcutil/silcapputil.[ch] for application
3145           utility functions.  It includes routines for applications'
3146           convenience.  Added silc_create_key_pair, silc_show_public_key
3147           and silc_load_key_pair functions.
3148
3149 Tue Oct 29 17:36:44 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3150
3151         * Send RESUME_CLIENT packet from router to backup routers
3152           to in resuming.  Affected file silcd/packet_receive.c.
3153
3154 Mon Oct 28 21:23:39 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3155
3156         * In IDENTIFY command parsing, send all other IDs except
3157           Client IDs explicitly to router for resolving on normal
3158           server.  Also check that ID received in WHOIS command is
3159           always Client ID, others are not allowed.  Affected file
3160           silcd/server_query.c.
3161
3162         * Merged latest changes from irssi.org CVS.
3163
3164 Sun Oct 27 11:44:32 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3165
3166         * Merged c0ffee's /set heartbeat patch to Irssi SILC client.
3167           Affected files irssi/src/silc/core/silc-core, silc-server.c.
3168
3169         * Fixed the heartbeat sending in Irssi SILC client.  Moved
3170           the silc_client_packet_send to silcclient.h for application
3171           usage.  Affected files lib/silcclient/client_internal.h
3172           lib/silcclient/silcclient.h.
3173
3174         * Fixed a bug in query resolving in server.  Used wrong
3175           variable in a for loop and crashed.  Affected file is
3176           silcd/server_query.c.
3177
3178         * Server constructs requested attributes only to locally
3179           connected clients.  Affected file silcd/server_query.c.
3180           Bug #36.
3181
3182         * Fixed a bug when sending resolving from router to server
3183           with requested attributes.  The constructed WHOIS command
3184           was incorrect.  Affected file silcd/server_query.c.
3185           Bug #38.
3186
3187         * Fixed Requested Attributes saving in WHOIS command reply.
3188           The length of the data buffer must be saved too.  Affected
3189           file silcd/command_reply.c.
3190
3191         * Update the client entry's servername after detaching is
3192           over.  Affected file silcd/packet_receive.c.  Bug #37.
3193
3194         * Resolve incomplete client entrys in CUMODE_CHANGE and
3195           CMODE_CHANGE notifys.  Affected file is
3196           lib/silcclient/client_notify.c.  Bug #42.
3197
3198 Thu Oct 24 12:22:35 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3199
3200         * Fixed channel key packet processing bug on backup router
3201           during backup resuming protocol.  Affected file is
3202           silcd/packet_receive.c.
3203
3204         * Fixed memory leaks in server.  Affected files are
3205           silcd/server.c and silcd/packet_receive.c.
3206
3207         * Fixed packet decryption problem when backup router encrypted
3208           channel message with wrong key during backup resuming
3209           protocol.  Affected file silcd/packet_send.c.
3210
3211         * ROBODoc documented lib/silccrypt/silccipher.h.  A patch by
3212           Toni Willberg (toniw@iki.fi)
3213
3214         * Changed the SilcCipher context to be private.  Changed the
3215           silc_cipher_get_iv to just return pointer to the IV.  Added
3216           silc_cipher_get_name to return the name of the cipher.
3217           Fixed code all around to support these changes.  Affected
3218           files are lib/silccrypt/silccipher.[ch], client library and
3219           server.
3220
3221 Wed Oct 23 19:01:41 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3222
3223         * Fixed unaligned access in lib/silccore/silcattrs.c.
3224
3225         * Fixed libtool linking in lib/silcsim/Makefile.am.
3226
3227         * Fixed services attribute printing.  Affected files is
3228           irssi/src/silc/core/silc-queries.c.
3229
3230 Wed Oct 23 09:51:04 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3231
3232         * Fixed a crashbug in incoming server accepting.  Affected
3233           file silcd/server.c.
3234
3235 Tue Oct 22 13:02:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3236
3237         * Added automatically generated index to Toolkit Reference
3238           Manual.
3239
3240         * Added support for Postscript Toolkit Reference Manual.
3241
3242 Mon Oct 21 21:30:40 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3243
3244         * Merged DISCONNECT fix, and autoconn port fix from Irssi
3245           CVS.
3246
3247 Sun Oct 20 19:54:55 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3248
3249         * Added 'send_events' boolean argument to the function
3250           silc_schedule_set_listen_fd which sends the set events to
3251           the application explicitly if set to TRUE.  Default action
3252           should be FALSE.  Affected file lib/silcutil/silcschedule.[ch],
3253           lib/silcclient/client_internal.h and silcd/server_internal.h.
3254
3255         * Added silc_compare_timeval to determine which time values
3256           is smaller.  Affected file lib/silcutil/silcutil.[ch].
3257
3258         * Added sort-of "Quality of Service" (QoS) support to
3259           SilcSocketConnection.  Data reception can be controlled with
3260           rate limit per second and/or read data length limit.
3261           Added silc_socket_set_qos.  Affected files are
3262           lib/silcutil/silcsockconn.[ch] and unix/silcunixsockconn.c.
3263
3264         * Added the QoS configuration to SILC Server configuration
3265           file.  Affected files are silcd/serverconfig.[ch] and
3266           server.c.
3267
3268 Sun Oct 20 14:12:24 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3269
3270         * Merged with irssi.org CVS.
3271
3272         * Failed OPER and SILCOPER authentications are now logged.
3273           Affected file silcd/command.c.  Bugs #25.
3274
3275 Sat Oct 19 13:32:15 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3276
3277         * ROBODoc documented lib/silcutil/silcbuffer.h and
3278           lib/silcutil/silcdlist.h.  Patch by Ville Räsänen
3279           <ville.rasanen@iki.fi>.
3280
3281 Fri Oct 18 10:51:04 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3282
3283         * Added support for auto-passphrase authentication from the
3284           config file during connecting which was not implemented
3285           yet.  Affected file irssi/src/silc/core/client_ops.c.
3286
3287         * Fixed a bug in authentication protocol failure handling which
3288           was processing wrong callback context.  Affected files
3289           are lib/silcclient/client.c and protocol.c.
3290
3291         * Fixed the /ATTR allow off to actually work.  Affected file
3292           is irssi/src/silc/core/silc-queries.c.
3293
3294         * Fixed the /ATTR -del to work.  Affected file is
3295           irssi/src/silc/core/silc-queries.c.
3296
3297 Thu Oct 17 23:45:12 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3298
3299         * Fixed string formatting crashbug in lib/silccore/silcattrs.c.
3300
3301         * Fixed mask attribute adding in Irssi SILC client.  Affected
3302           file irssi/src/silc/core/silc-queries.c.
3303
3304 Thu Oct 17 16:40:39 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3305
3306         * Added support for saving the requested attributes in
3307           WHOIS to directory.  Affected file is
3308           irssi/src/silc/core/silc-queries.c.
3309
3310 Wed Oct 16 17:40:56 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3311
3312         * Added support for parsing VCard fields that do not have
3313           the TYPE= for types.  Affected file lib/silcutil/silcvcard.c.
3314
3315         * Fixed a double free bug in hash table foreach function
3316           if the entry was deleted in the foreach callback.  Affected
3317           file lib/silcutil/silchashtable.c.
3318
3319 Tue Oct 15 18:05:24 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3320
3321         * Added silc_attribute_get_verify_data to return the signature
3322           verification data for either user digital signature or
3323           server digital signature in Requested Attributes.  Affected
3324           files are lib/silccore/silcattrs.[ch].
3325
3326         * Added silc_vcard_alloc which is used to allocated dynamic
3327           SilcVCard context.  The silc_vcard_free now checks whether
3328           the context is dynamically allocated or not.  Affected files
3329           are lib/silcutil/silcvcard.[ch].
3330
3331 Mon Oct 14 17:55:44 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3332
3333         * Periodically remove the NOATTR status from client entry
3334           so that the client may take the attributes in use even after
3335           server has resolved them unsuccessfully earlier.  Affected
3336           file silcd/server_query.c and idlist.h.
3337
3338         * Moved sha1hash and md5hash from client->internal to
3339           SilcClient for application usage.  Affected files are
3340           lib/silcclient/client.h and client_internal.h.
3341
3342         * Fixed attribute encoding and decoding bugs.  Affected
3343           files lib/silccore/silcattrs.[ch].
3344
3345         * Added ATTR command to Irssi SILC Client which is used to
3346           manage user's Requested Attributes sending and values for
3347           WHOIS command.  Affected files around Irssi SILC client.
3348
3349 Mon Oct 14 14:33:54 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3350
3351         * Added silc_buffer_strformat which can be used to format
3352           strings into a buffer which size is automatically increased.
3353           Affected file lib/silcutil/silcbuffmt.[ch].
3354
3355         * Added implementation of VCard (RFC 2426) which can be used
3356           as part of Requested Attributes in WHOIS command.  Affected
3357           file lib/silcutil/silcvcard.[ch].
3358
3359 Fri Oct 11 23:52:17 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3360
3361         * Some strncat -> silc_strncat changes our the core and
3362           client library.
3363
3364         * Added SILC_SKE_STATUS_SIGNATURE_ERROR and OUT_OF_MEMORY
3365           errors.  Added better error printing to SKE library.
3366           Affected files lib/silcske/silcske.c, silcske_status.h and
3367           payload.c.
3368
3369         * Save the PKCS key length even if only private key is set to
3370           SilcPKCS.  Affected file lib/silccrypt/silcpkcs.[ch] and rsa.c.
3371
3372         * Fixed the usage of silc_pkcs_get_key_len since it returns the
3373           length in bits not in bytes.  Affected files are
3374           lib/silcske/silcske.c, lib/silccore/silcauth.c and
3375           silcd/server_query.c.
3376
3377 Wed Oct  9 17:22:57 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3378
3379         * Added silc_attribute_payload_encode_data to directly encode
3380           the data into the attributes buffer.  Renamed function
3381           silc_attribute_payload_parse_list to silc_attribute_payload_parse.
3382           Affected files are lib/silccore/silcattrs.[ch].
3383
3384         * silc_hash_table_find_foreach calls the foreach function now
3385           once even if the nothing was found with context set to NULL.
3386           Affected file lib/silcutil/silchashtable.[ch].
3387
3388         * Remove the RESOLVING flag from client entry after received
3389           the Requested Attributes from the client.  Fixed memory leak
3390           in client entry freeing.  Affected files silcd/server_query.c
3391           and idlist.c.
3392
3393         * Added Requested Attributes support into SILC Client Library.
3394           It is not able to send requested attributes in WHOIS command,
3395           and also receive and process requested attributes.  Added
3396           silc_client_attribute_[add|del] and silc_client_attributes_get
3397           functions.  Added also `ignore_requested_attributes' to the
3398           SilcClientParams to not use attributes in client.  Affected
3399           files are lib/silcclient/command.c, client_attrs.[ch],
3400           silcclient.h, client_internal and client.[ch].
3401
3402         * Changed the silc_client_get_client_by_id to support Requested
3403           Attributes, it takes them as argument now.  Affected file
3404           is lib/silcclient/silcclient.h, and idlist.c.
3405
3406         * Added -details option to WHOIS command in Irssi SILC Client
3407           to support the requested attributes.  By default it requests
3408           all attributes.  Affected file lib/silcclient/command.c and
3409           irssi/doc/help/in/whois.in.
3410
3411 Tue Oct  8 17:58:28 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3412
3413         * Add also SERVICE attribute for server-constructed attribute
3414           data.  Also digitally sign the attributes and add
3415           SERVER_DIGITAL_SIGNATURE attribute.  Affected file is
3416           silcd/server_query.c.
3417
3418 Mon Oct  7 18:25:35 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3419
3420         * Changed the silc_attribute_payload_encode to support list
3421           of attributes (function may be called several times to add
3422           a new attribute).  Removed the silc_attribute_payload_encode_list
3423           function.  The encoding function now also automatically encodes
3424           the data, so the caller does not need to do that.  Affected
3425           files lib/silccore/silcattrs.[ch].
3426
3427         * Added support for replying on behalf of the user to the
3428           Requested Attributes in WHOIS command in the server.  Affected
3429           file silcd/server_query.c.
3430
3431         * SILC_NOT_IMPLEMENTED macro use SILC_LOG_INFO now instead of
3432           SILC_LOG_DEBUG.  Affected file lib/silcutil/silclog.h.
3433
3434 Sun Oct  6 16:48:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3435
3436         * Don't swtich to become primary router if we are backup if
3437           decryption error has occurred.  Affected file silcd/server.c.
3438
3439         * Fixed a bug in backup router IP address comparison in
3440           silc_server_backup_get.
3441
3442           Save now also the port of the server/router and use that
3443           in comparison as well.  Affected file silcd/server_backup.c.
3444
3445         * Normal server now reconnects to backup router automatically
3446           if connection is lost to it.  Affected file silcd/server.c.
3447
3448 Thu Sep 26 13:51:02 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3449
3450         * If packet processing fails (like integrity check fails)
3451           the connection is closed now.  Affected files are
3452           lib/silccore/silcpacket.c and silcd/server.c.
3453
3454 Mon Sep 23 10:59:39 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3455
3456         * Fixed double free in RSA public key set function
3457           silc_rsa_set_public_key.  Affected file lib/silccrypt/rsa.c.
3458           Bug #29.
3459
3460 Sun Sep 22 14:54:05 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3461
3462         * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server.
3463           Added server_query.[ch] which provides one interface for
3464           querying information using all three commands.
3465
3466         * Changed all "typedef unsigned char" in core library to
3467           "typedef SilcUInt8".
3468
3469 Sat Sep 21 21:36:45 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3470
3471         * Added silc_strncat into lib/silcutil/silcstrutil.[ch].
3472
3473         * Renamed silc_server_get_client_resolve to
3474           silc_server_query_resolve and moved to server_query.[ch].
3475
3476 Wed Sep 18 18:28:04 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3477
3478         * Resumed client packet handling from server put the resumed
3479           client on wrong list on router and caused the client not
3480           be present on the network anymore.  Now fixed to put the
3481           client to correct list.  Affected file silcd/packet_receive.c.
3482
3483 Wed Sep 18 15:13:48 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
3484
3485         * Various cleanup in error message output in config parsing code
3486           and in server init code.  Fixed error log files containing
3487           too many newlines ('\n') in some situations.  Affected files are
3488           silcd/serverconfig.c, silcd/silcd.c, and silcd/server.c.
3489
3490 Wed Sep 18 10:51:23 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3491
3492         * Use the reverse lookupped hostname in client internals
3493           instead of one user provided us as remote server name.
3494           Affected file lib/silcclient/client.c.
3495
3496 Mon Sep 16 12:02:54 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3497
3498         * Added 'app_context' to silc_schedule_init.  It is an
3499           application specific context that is delivered to application
3500           in task callback functions.  Affected files are
3501           lib/silcutil/silcutil.[ch].
3502
3503         * The hb_context in SilcSocketConnection is not freed
3504           automatically anymore (application must free it).  Freeing
3505           it automatic is inconsistent.  Affected files are
3506           lib/silcutil/silcsockconn.[ch].
3507
3508 Sun Sep 15 22:16:19 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3509
3510         * Added support for removing explicitly added client connections
3511           in rehash and closing the client connections if they were
3512           unconfigured in the rehash.  Affected file silcd/server.c.
3513
3514         * Added support for aborting automatically pending commands
3515           that never receives the reply (to avoid memory leaks).
3516           Added also silc_server_command_pending_timed to set the
3517           specific timeout for pending command.  Affected files are
3518           silcd/command[_reply].[ch].
3519
3520         * Added SILC_STATUS_ERR_TIMEDOUT status.  Updated protocol
3521           specs and lib/silccore/silcstatus.h.
3522
3523 Sun Sep 15 12:25:10 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3524
3525         * Changed the silc_get_time to accept time value as argument
3526           or if zero is sent return current local time.  Affected
3527           file lib/silcutil/silcutil.[ch].
3528
3529         * Added STATS command to client library and Irssi SILC client.
3530           Patch provided by Ville Räsänen <ville.rasanen@iki.fi>.
3531
3532 Wed Sep 11 09:22:00 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3533
3534         * Assure that channel key is set before sending it.  May
3535           crash server otherwise.  Affected file silcd/packet_send.c.
3536
3537 Tue Sep 10 09:50:08 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3538
3539         * Assure that endless loop cannot happen with detached client
3540           resolving on normal server.  Added idlist status
3541           SILC_IDLIST_STATUS_RESUME_RES.   Affected files are
3542           silcd/idlist.h and silcd/packet_receive.c.
3543
3544 Mon Sep  9 12:18:18 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3545
3546         * Incoming file transfer request cannot use same session as
3547           the sending session.  This can happen when sending file to
3548           yourself.  Crashed the client on quit.  Affected file
3549           lib/silcclient/client_ftp.c.  Bug #24.
3550
3551 Sun Sep  8 18:39:25 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3552
3553         * Implemented the draft-riikonen-precense-attrs draft and
3554           the Attribute Payload into the lib/silccore/silcattrs.[ch].
3555
3556 Sun Sep  8 13:13:44 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3557
3558         * Distribute the SERVER_SIGNOFF notify also to local backup
3559           routers from the primary router.  The backup router may not
3560           have the signing of local server directly connected and need
3561           to know about the signoff.  Affected file silcd/server_util.c.
3562
3563         * Use the primary router as the origin of the locally connected
3564           server when it is disconnecting from the backup router since
3565           that's where it really is coming from.  Now the clients from
3566           the disconnecting server are removed correctly and "shadow"
3567           clients are not left to the backup router.  Affected file
3568           silcd/server.c.
3569
3570 Sat Sep  7 22:26:50 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3571
3572         * If normal server is standalone and found existing but disabled
3573           channel, do not re-create the channel since it creates
3574           duplicate same channels.  Affected file silcd/server.c.
3575
3576         * Added anonymous client connections support to server.  New
3577           "anonymous" configuration option to ConnectionParams section
3578           added.  If set to true, the username and hostname information
3579           of the client will be scrambled and anonymous user mode is
3580           set automatically to the user.  Affected files are
3581           silcd/serverconfig.[ch], silcd/packet_receive.c and server.c.
3582
3583 Sat Sep  7 16:02:09 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3584
3585         * In JOIN notify handling, mark that the cache entry of the
3586           client cannot be expired.  Can cause crashes on normal
3587           server (asserts client->channels).  Affected file is
3588           silcd/packet_receive.c.
3589
3590         * From now on distribution versions are used as protocol versions
3591           instead of by default using the Toolkit base version as protocol
3592           version.  Affected file prepare.
3593
3594         * Do not set the locally resolved hostname for local client
3595           entry but take what server sends.  This way the real hostname
3596           is showed in WHOIS for yourself.  Affected file is
3597           lib/silcclient/idlist.c and lib/silcclient/client.c.
3598
3599         * Resolve local info with IDENTIFY when connecting to server.y
3600
3601 Sat Sep  7 14:22:43 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3602
3603         * Rewritten check for POSIX threads.  Use --with-pthreads[=DIR]
3604           for implied search (not needed on platforms which has native
3605           pthreads library).  Use --without-pthreads to disable threads.
3606           Affected file is configure.in.pre
3607
3608         * Fixed --with-iconv on platforms which need to bypass (broken)
3609           native iconv().  Affected file is configure.in.pre
3610
3611 Sat Sep  7 15:08:13 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3612
3613         * Moved -C option parsing in Irssi SILC client at same time
3614           as other options.  The UI was initialized earlier and caused
3615           problems on command line.  Bug #16.  Affected file is
3616           irssi/src/silc/core/silc-core.c.
3617
3618 Mon Sep  2 23:00:30 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3619
3620         * Added global variable silc_log_timestamp that tells silclog
3621           wether to print or not the timestamp in the logging files.
3622           Affected file lib/silcutil/silclog.[ch].
3623
3624         * Added silcd configuration option Timestamp in the Logging
3625           section.  Affected file silcd/serverconfig.[ch],
3626           doc/example_silcd.conf.in.
3627
3628 Fri Aug 30 08:57:33 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3629
3630         * Fixed fingerprint checking to check for entirely empty
3631           fingerprint instead of two first bytes when determining
3632           if it is set.  Bug #18.  Affected file silcd/command.c.
3633
3634         * Fixed duplicate PKCS name registering to not allow it.
3635           Bugs #17.  Affected file lib/silccrypt/silcpkcs.c.
3636
3637 Sun Aug 25 08:02:04 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3638
3639         * Conditionalize non-gcc compiler optimizations for various
3640           platforms, enable those commented out.  Cleanups.
3641           Affected file lib/silcmath/mpi/configure.in
3642
3643 Sat Aug 24 15:11:32 EEST 2002 Timo Sirainen <tss@iki.fi>
3644
3645         * silc_rng_exec_command() left zombie processes if command
3646           didn't generate any output.  Affected file
3647           lib/silccrypt/silcrng.c
3648
3649 Fri Aug 23 22:05:44 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3650
3651         * Rewrote iconv checking, introduce --with-iconv for systems
3652           which rely on libiconv.  Check if iconv() provided by libc
3653           is good enough, otherwise demand libiconv.  Affected file
3654           configure.in.pre
3655
3656 Fri Aug 23 07:10:52 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3657
3658         * Search for ldopen() also in libc.  This enables SIM support
3659           on *BSD systems.  Based on patch from Alex Zepeda.  Affected
3660           file configure.in.pre
3661
3662 Sun Aug 18 04:44:30 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3663
3664         * Don't call AM_CONDITIONAL conditonally for SILC_THREADS.
3665           This fixes prepare on *BSD systems.  Affected file
3666           configure.in.pre
3667
3668 Sun Aug  4 15:55:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3669
3670         * More fixed for not having purge timeout for global clients
3671           that are on channel.  Affected files silcd/command_reply.c
3672           and server_util.c.
3673
3674         * Fixed the rekey protocol to work with backup router connections.
3675           Rekey packets are now allowed on disabled connections as
3676           well.  Affected files silcd/packet_send.c and server.c.
3677
3678         * Do not switch to be as backup router when shutting down and
3679           closing the primary connection.  Affected file silcd/server.c.
3680
3681         * Fixed memory leaks in backup router deleting.  Added
3682           silc_server_backup_free to free all data during shutdown of
3683           server.  Affected files silcd/server_backup.[ch].
3684
3685 Sun Jul 14 21:33:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3686
3687         * Do not process commands if the sock->user_data is NULL.
3688           Affected file silcd/command.c.
3689
3690 Tue Jul  9 19:03:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3691
3692         * Fixed buffer overflow and security problems (loosing bits
3693           in CFB encryption) in SILC RNG.  Problems reported by
3694           Markku-Juhani O. Saarinen <mjos@saturn.tcs.hut.fi>.
3695
3696 Sun Jul  7 13:10:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3697
3698         * Added yet more checks that client is not expired on global
3699           list if it is on channels.  Affected file is
3700           silcd/command_reply.c.
3701
3702 Sat Jul  6 11:45:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3703
3704         * Merged c0ffee's MIME signal patch which adds support for
3705           sending also MIME messages in Irssi SILC Client, and handling
3706           received MIME messages in a signal (and perhaps doing something
3707           to non-textual MIME messages).
3708
3709 Sun Jun 30 01:30:22 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3710
3711         * Fixed pending command deletion in server and client library
3712           to check the whole list instead of breaking after first found.
3713           The affected files are silcd/command.[ch] and
3714           lib/silcclient/command.[ch].
3715
3716 Sat Jun 29 17:40:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3717
3718         * Return NO_SUCH_CHANNEL error in USERS for channel that is
3719           secret or private, otherwise it's possible to find out
3720           whether a secret channel exists or not.  Affected file
3721           silcd/command.c.
3722
3723         * If CMODE change fails during the mode setting, assure that
3724           the old mode mask is set for the channel back.  Affected
3725           file silcd/command.c.
3726
3727         * Fixed passphrase saving on +a channel on normal server
3728           after successful JOIN command.  Affected file silcd/command.c.
3729
3730 Fri Jun 28 11:53:25 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3731
3732         * Remove server/router operator privileges in DETACH command,
3733           since it's possible to resume to server where these
3734           privileges would not be allowed for the client.  Affected
3735           file silcd/command.c.
3736
3737         * Do not set to wait for backup in rehash of the server.
3738           Affected file silcd/server.c.
3739
3740         * Do not check listener sockets when counting how many
3741           socket connections we have.  Affected file is
3742           silcd/server_util.c.
3743
3744         * Do not announce disconnected clients that are remaining
3745           in history (for WHOWAS).  This is because SIGNOFF notify
3746           for these has been sent earlier already.  Affected file
3747           silcd/server.c.
3748
3749 Thu Jun 27 20:07:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3750
3751         * Buffer overflow with CUMODE command's mode->mode character
3752           conversion.  Reported by Ville Räsänen.  Affected file
3753           lib/silcutil/silcutil.c.
3754
3755 Thu Jun 27 16:54:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3756
3757         * Allow heartbeat packets to go disabled connections anyway.
3758           Affected files silcd/server.c and silcd/packet_send.c.
3759
3760         * Do not broadcast New Channel packets with List flag set
3761           in the packet to backup routers.  The router must check
3762           for the correctness of the packets before sending them.
3763           It is possible that router will have enforce Channel ID
3764           change and this would cause desync in the backup router.
3765           Affected file silcd/packet_receive.c.
3766
3767         * Remove SILC_PACKET_FLAG_LIST from the temp packets that
3768           are handled in list parsing.  They are not list packets
3769           anymore.  Affected file silcd/packet_receive.c.
3770
3771 Thu Jun 27 11:27:07 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3772
3773         * Stop waiting for backup router through the timeout, not
3774           directly after backup router has arrived.  Affected file
3775           silcd/server.c.
3776
3777         * Do not re-create channel keys and send them when removing
3778           clients in server shutdown.  Affected files are
3779           silcd/server_internal.h and silcd/server_util.c.
3780
3781         * Notify distribution to backup routers was missing from
3782           the silc_server_send_notify_dest function which caused
3783           desyncing problems with backup router.  Affected file is
3784           silcd/packet_send.c.
3785
3786         * The client's channel removing was working wrong on
3787           backup router.  It assumed that it doesn't know global
3788           information but backup router does know.  For this reason
3789           it could remove channel when it wasn't supposed to do that.
3790           Affected file silcd/server.c and silcd/server_util.c.
3791
3792 Wed Jun 26 15:14:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3793
3794         * Stop for a couple seconds after badkup router has become
3795           primary router.  Affected file silcd/server.c.
3796
3797         * Added silc_server_remove_servers_by_server, which is used
3798           to remove servers originated from some other server.  Also
3799           clients of those servers can be removed too.  Affected file
3800           silcd/server_util.[ch].
3801
3802         * When removing clients after a server has signed of remove
3803           also all servers behind that server (unless they are known
3804           to be available locally), and send SERVER_SIGNOFF for each
3805           of the server separately.  Also the signed off clients are
3806           sent now separately per signed off server.  The affected files
3807           are silcd/server.c and silcd/server_util.[ch].
3808
3809         * All servers added with silc_idlist_add_server must always
3810           have both "router" and "connection" pointers set.  Otherwise,
3811           bad server entries may be left around in the cache.
3812           Affected file silcd/command_reply.c.
3813
3814         * Do not create the channel key in NEW_CHANNEL packet
3815           processing if the channel is empty.  Affected file
3816           silcd/packet_receive.c.
3817
3818         * Completed backup router support for standalone routers.
3819           Supports also servers in the cell that do not use the backup
3820           at all.
3821
3822 Wed Jun 26 10:38:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3823
3824         * Fixed a bug in silc_string_regexify which did not add '^'
3825           at the start of each string, and thus the matching was
3826           not explicit.  For example ban list iikone@*!*@* would
3827           match also "priikone", which is wrong, it would have to be
3828           *iikone@*!*@* to match also "priikone".  Affected
3829           file lib/silcutil/unix/silcunixutil.c.
3830
3831 Tue Jun 25 18:47:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3832
3833         * Enable all local server connections before updating client
3834           caches when we've become backup router.  Otherwise, signoff
3835           packets may not reach the clients.  Affected files are
3836           silcd/server.c and silcd/server_util.[ch].
3837
3838         * Fixed a bug in version string parsing which could crash
3839           the program with specially formatted version string.
3840           Bug reported and patch provided by Ville Räsänen.  Affected
3841           file lib/silcutil/silcutil.c.
3842
3843         * Handle the disconnection immediately when DISCONNECT
3844           packet is received in server.  Affected file silcd/server.c.
3845
3846         * Primary router now waits a short time (10 seconds) for
3847           backup router connection before accepting any other
3848           connection (except local).  Affected file silcd/server.c,
3849           serverconfig.[ch].
3850
3851         * Fixed a crash in client libary in NICK_CHANGE notify when
3852           NICK_CHANGE arrived for client entry we are resolving
3853           currently.  Affected file lib/silcclient/client_notify.c.
3854
3855         * Call the sconn->callback completion even if error had
3856           occurred.  Start reconnecting always if connection to
3857           primary router fails during backup router protocol.
3858           Affected files silcd/server.c and server_backup.c.
3859
3860 Mon Jun 24 17:47:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3861
3862         * Added functions silc_server_send_opers and
3863           silc_server_send_opers_notify to send packets stricly
3864           to operators.  Added macro SILC_SERVER_SEND_OPERS macro
3865           to send variable argument notify to operators.
3866           Affected files silcd/packet_send.[ch] and silcd/server.h.
3867
3868         * Removed UMODE rights checking with UMODE_CHANGE notify.
3869           Affected file silcd/packet_receive.c.
3870
3871         * Server/router operator now receives notify when network
3872           switches to backup router and when it resumes the use of
3873           primary router.  Affected file silcd/server.c and
3874           silcd/server_backup.c.
3875
3876         * Fixed the updating of client information after backup
3877           resuming protocol is over; update all except local clients
3878           to the new primary router.  The affected file is
3879           silcd/server_util.c.
3880
3881         * Added support for closing active connections in rehash
3882           that were unconfigured by the user.  Supports currently
3883           closing server and router connections.  Affected file
3884           silcd/server.c.
3885
3886         * Rewrote some SILC_LOG_DEBUG's in silcd/server_backup.c.
3887
3888 Sun Jun 23 17:32:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3889
3890         * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer
3891           is NULL since seems that on some platforms NULL is allowed
3892           and on some it's not.  Fallback encoding is used instead.
3893           Affected file lib/silcutil/silcstrutil.c.
3894
3895         * Fixed statistics updating for incoming server connection
3896           which could cause problems when re-connecting.  Affected
3897           file silcd/server.c.
3898
3899         * Preliminary backup router support for standalone router
3900           added.  Affected files in silcd/.
3901
3902         * Mark server connections in backup router disabled before
3903           and after backup protocol.  Affected file is
3904           silcd/server_backup.c.
3905
3906         * Added support for reconnecting to remote server connection
3907           even if the protocol fails, and if the configuration wants
3908           us to keep trying to connect anyway.
3909
3910           Server connection is not allowed to backup router if
3911           backup router does not have connection to primary router yet.
3912
3913           Affected file is silcd/server.c.
3914
3915 Sat Jun 22 21:34:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3916
3917         * Added silc_client_udpate_server function to update changed
3918           server info.  Affected file lib/silcclient/idlist.[ch].
3919
3920         * Added check for server entries that are being resolved when
3921           notify is received.  If being resolved, handle the received
3922           notify only after it's resolved so that all notifys are
3923           handled in same order as received from the server.
3924
3925           Added similar resolver check to channel entries.  Every
3926           notify that cause resolving of any information that affects
3927           channel entry marks the channel entry in waiting state.
3928           After whatever resolving is over the waiters are signalled
3929           and only then the notifys are handled in the same order
3930           as delivered from the server.
3931
3932           Affected files are lib/silcclient/idlist.[ch], and
3933           client_notify.c.
3934
3935         * Fixed KILLED notify handling in normal server.  Affected
3936           file silcd/packet_receive.c.
3937
3938         * Added SILC_IDLIST_STATUS_LOCAL which indicates that entry
3939           is locally connected, or was locally connected (but may
3940           be detached and connection is not active).  Added also
3941           SILC_IS_LOCAL for checking this status.  Affected files
3942           silcd/idlist.h, silcd/packet_receive.c, silcd/server_util.c,
3943           silcd/server.c and silcd/server_internal.h.
3944
3945 Sat Jun 22 17:06:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3946
3947         * Don't send or handle TOPIC_SET if topic is already set and
3948           is same as being set.  Affected files silcd/command.c and
3949           silcd/packet_receive.c.
3950
3951         * Fixed CMODE change rights checking to work correctly when
3952           removing modes by operator.  Affected file is
3953           silcd/server_util.c.
3954
3955         * Fixed some handling with New Channel packet in router and
3956           fixed some CMODE_CHANGE notify handling in server and router.
3957           Affected file is silcd/packet_receive.c.
3958
3959         * Changed "disconnect" client operation to include the
3960           reason of the disconnection and optional disconnection
3961           message.  Affected file lib/silcclient/silcclient.h.
3962
3963         * Made the compilation of lib/contrib/ stuff conditional.
3964           Affected files configure.in.pre, lib/contrib/Makefile.am.
3965
3966 Sat Jun 22 12:49:21 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3967
3968         * All CMODE_CHANGE and CUMODE_CHANGE notifys are now sent back
3969           to the sender of the notify too, to avoid situation where two
3970           notifys are in the network at the same time going to oppsite
3971           directions.  Affected file silcd/packet_receice.c.
3972
3973 Fri Jun 21 10:00:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3974
3975         * Delete the client from channel even if the cilent->id is
3976           NULL.  It was possible that client was deleted without
3977           removing from channels (theoretically at least).  Affected
3978           file silcd/server.c and silcd/server_util.c.
3979
3980         * Free the client data too when resuming is not successful.
3981           Affected file silcd/packet_receive.c.
3982
3983         * Merged some code from c0ffee's silc-plugin.  Affected files
3984           irssi/src/silc/core/silc-channels.c and silc-expandos.c.
3985
3986         * Added SILC_PRIMARY_ROUTE and SILC_BROADXAST macros to
3987           silcd/server_internal.h.  SILC_PRIMARY_ROUTE Returns pointer
3988           to the primary router connection, the other one returns
3989           TRUE if packet must be broadcasted to network.
3990
3991         * All notifys that are destined to primary router (to network)
3992           are now automatically sent to backup routers even if the
3993           router is standalone (and has backup router).  Affected files
3994           in silcd/.
3995
3996         * Added --without-irssi and --without-silcd configuration
3997           options for disabling the compilation of these applications.
3998           Affected file configure.in.pre and prepare.
3999
4000 Thu Jun 20 13:48:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4001
4002         * Implemented SILC_STRING_BMP and SILC_STRING_UNIVERSAL for
4003           UTF-8 encoding and decoding.  Added also new encodings
4004           SILC_STRING_BMP_LSB and SILC_STRING_UNIVERSAL_LSB.
4005
4006           Added also SILC_STRING_LANGUAGE which is language and charset
4007           specific encoder and decoer for those platforms that support
4008           iconv().  It can convert the UTF-8 to and from the locale
4009           specific character set.
4010
4011           Affected file lib/silcutil/silcstrutil.[ch].
4012
4013         * Added macro SILC_NOT_IMPLEMENTED to lib/silcutil/silclog.h.
4014
4015         * Added function silc_get_command_name to the file
4016           lib/silcutil/silcutil.[ch].
4017
4018         * Improved the server debug output a bit.  Affected files are
4019           in silcd/.
4020
4021 Wed Jun 19 17:46:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4022
4023         * Save the channel passphrase when received succesful JOIN
4024           command reply from router, on normal server.  Otherwise
4025           joinig +a channels from normal server is not possible.
4026           Affected file silcd/command.c.
4027
4028         * Fixed a bug in TOPIC_SET notify handling.  The notifier
4029           may be other than client too, like server or channel.
4030           It expected it to always be only client and ignored the
4031           notify.  Affected file silcd/packet_recieve.c.
4032
4033         * Removed some (unnecessary) debug printing from
4034           lib/silccore/silcid.c and lib/silccore/silcargument.c.
4035
4036         * Do not force CMODE_CHANGE when server is announcing new
4037           channel.
4038
4039           Router announces stuff only after server reannounces channel
4040           after CHANNEL_CHANGE notify.
4041
4042           These fixes optimizes the announcing procedure, and perhaps
4043           fixes some problems too.  Affected file silcd/packet_receive.c.
4044
4045         * Fixed SERVER_SIGNOFF sending to local clients.  It was
4046           totally broken and sent the notify to all local clients,
4047           instead of only to those that was on same channel as the
4048           signing off clients.  Affected file silcd/server_util.c.
4049
4050         * Added -D option to server.  It can be used to give debug
4051           level.  The levels are from 0 - 99, and are predefined for
4052           smooth server debugging.  (see silcd.c for the predefined
4053           levels).  Affected file silcd/server.c.
4054
4055 Wed Jun 19 16:01:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4056
4057         * Fixed a bug in Irssi SILC client to close the connection
4058           properly when disconnecting from server.  Affected file
4059           irssi/src/silc/core/client_ops.c.
4060
4061 Tue Jun 18 17:14:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4062
4063         * When authenticating as founder during JOIN command, check
4064           that the one authenticating becomes the only founder on the
4065           channel.  Affected file silcd/command.c.
4066
4067         * Better checking for founder mode setting when CUMODE_CHANGE
4068           notify is received.  Affected file silcd/packet_receive.c.
4069
4070         * Close all connections when shutting down the server by sending
4071           DISCONNECT packet.  Close all listeners too when shutting
4072           down the server.  Affected file silcd/server.c.
4073
4074         * Handle DISCONNECT packet correctly in client library by
4075           calling the "disconnect" client operation.  Affected file
4076           lib/silcclient/client.c.
4077
4078         * Handle local errors correctly during resuming.  Affected
4079           file lib/silcclient/client.c.
4080
4081 Tue Jun 18 10:26:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4082
4083         * The log file is not dupped internally anymore in
4084           lib/silcutil/silclog.c.  Fixed memory leaks too.
4085
4086         * The scheduler now dispatches all pending timeout tasks
4087           when it is uninitialized with silc_schedule_uninit.
4088           Affected file lib/silcutil/silcschedule.c.
4089
4090 Mon Jun 17 21:30:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4091
4092         * Added --enable-stack-trace option to configure.  Added
4093           memory allocation stack trace support.  Added files
4094           lib/silcutil/stacktrace.[ch].  Affected files are
4095           lib/silcutil/silcmemory.[ch].
4096
4097         * Fixed memory leaks from libraries and server.  Affected
4098           files around the tree.
4099
4100         * Reverted back a fix made to CUMODE which broke it.
4101           Affected file silcd/command.c.
4102
4103 Sun Jun 16 11:49:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4104
4105         * Added SILC_MESSAGE_FLAG_UTF8 to the protocol specs and the
4106           core library, and implemented it.  All textual messages SHOULD
4107           use this flag and the message MUST be UTF-8 encoded.
4108           All text messages sent by Irssi SILC client are now UTF-8
4109           encoded (regardless whether the terminal supports UTF-8 or not).
4110           Affected files are lib/silccore/silcchannel.h,
4111           irssi/src/silc/core/silc-servers.c, silc-channels.c and
4112           client_ops.c.
4113
4114 Sat Jun 15 18:23:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4115
4116         * Added lots of new statistics updating that was missing from
4117           the server and router code.  Affected files in silcd/.
4118
4119         * Sending SIGUSR1 signal to server now dumps the current
4120           server statistics into /tmp directory.  Affected file is
4121           silcd/silcd.c.
4122
4123         * ROBODoc documented the lib/silccrypt/silchash.h.  Improved
4124           the SILC Hash Interface also.  Added new functions
4125           silc_hash_get_name, silc_hash_init, silc_hash_update and
4126           silc_hash_final.  Affected file lib/silccrypt/silchash.c.
4127
4128 Sat Jun 15 12:09:14 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4129
4130         * Added some better info printing for client during connecting.
4131           Affected file silcd/server_util.c.
4132
4133         * Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
4134           to silence a user on a channel.  Affected files are
4135           lib/silcclient/client_channel.c, irssi/src/silc/core/client_ops.c,
4136           irssi/src/fe-common/silc/module-formats.[ch], silcd/command.c
4137           and silcd/packet_receive.c.
4138
4139         * Fixed a fatal bug in handling of malformed command payload.
4140           Affected file silcd/command.c.
4141
4142         * Fixed a double free when announcing channel users to router.
4143           Affected file silcd/server.c.
4144
4145         * After successful authentication to channel founder mode, check
4146           that there isn't anyone else with founder mode on the channel.
4147           The one that authenticated will become founder and anyone
4148           else is demoted.  Affected file silcd/command.c.
4149
4150         * Added error printing of any error that has occurred during
4151           any command in client library.  Affected file is
4152           irssi/src/silc/core/client_ops.c.
4153
4154         * Removed some error printing from the client library and left
4155           it for the application to worry (from the error status it
4156           receives in 'command' client operation.  Affected file is
4157           lib/silcclient/command.c.
4158
4159 Fri Jun 14 22:59:02 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4160
4161         * Added new status types KEY_AGREEMENT_ALREADY_STARTED and
4162           KEY_AGREEMENT_SELF_DENIED to lib/silcclient/silcclient.h.
4163           Starting key agreement with itself is denied.  Affected file
4164           is lib/silcclient/client_keyagr.c.
4165
4166         * Fixed some error checkings from the SFTP library which caused
4167           misbehaviour.  Affected files are lib/silcsftp/sftp_client.c
4168           and lib/silcsftp/sftp_util.c.
4169
4170         * Added new "debug" and "debug_string" settings to Irssi SILC
4171           client which can be used to print runtime debugging on the
4172           Irssi's screen.  Available when compiled with --enable-debug
4173           option.  Affected file irssi/src/silc/core/silc-core.c.
4174
4175 Tue Jun 11 16:36:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4176
4177         * Fixed a missing variadic parameter in a function call that
4178           caused server crash when a non-allowed connection arrived.
4179           Reported by Richard Becker.  Affected file silcd/server.c.
4180
4181 Mon Jun 10 16:29:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4182
4183         * Added WATCH list sending to backup routers from router.
4184           The WATCH command is sent by the router to the backup
4185           router.  Affected file silcd/command.c.
4186
4187         * Mark the backup_router flag for RouterConnection entry
4188           if the backup router stuff is defined in the config file.
4189           Affected file silcd/serverconfig.c.
4190
4191         * Fixed some backup data sending around the code to work better
4192           if the router is standalone router.  Not all places were fixed.
4193           Affected file silcd/packet_receive.c, silcd/packet_send.c,
4194           silcd/server.c.
4195
4196         * Fixed the router connecting when connecting to multiple
4197           routers.  It ignored every other router except the first
4198           one.  Affected file silcd/server.c.
4199
4200 Mon Jun 10 09:28:21 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4201
4202         * Made the private key generation after expiration optional.
4203           If not created after expiration the old key will re-expire
4204           at a later time (and thus key pair is not necessary to
4205           change).  Affected file irssi/src/silc/core/clientutil.c.
4206
4207 Sun Jun  9 18:58:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4208
4209         * The length arguments in bind() and connect() were wrong
4210           and fixed now to used SIZEOF_SOCKADDR in the
4211           lib/silcutil/unix/silcunixutil.c.
4212
4213 Tue Jun  4 18:36:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4214
4215         * Fixed detach timeout handling to use Client ID and not
4216           the actual client entry which may be freed in the callback.
4217           Affected file silcd/command.c.
4218
4219 Thu May 30 15:53:45 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4220
4221         * Merged c0ffee's multiple interface support patch.
4222           Affected files in silcd/.
4223
4224 Wed May 29 18:08:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4225
4226         * Cleanup keys properly.  Affected file is
4227           irssi/src/silc/core/clientutil.c.
4228
4229 Tue May 28 20:11:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4230
4231         * Display the user mode on the status bar.  Affected file
4232           irssi/src/silc/core/silc-expandos.c.
4233
4234 Tue May 28 13:56:26 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4235
4236         * If private message key is not set, but the flag is set in
4237           the packet, ignore the packet since it cannot be decrypted.
4238           Affected file lib/silcclient/client_prvmsg.c.
4239
4240 Thu May 23 12:00:14 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4241
4242         * When resuming client, remove the old client entry from
4243           the watcher list too.  Affected file silcd/packet_receive.c.
4244
4245         * Do not allow normal server to force founder mode away
4246           from router if the founder mode is already set.  Affected
4247           file silcd/packet_receive.c.
4248
4249         * Remove the client entry with watch notify types with short
4250           timeout, and not directly, so that other notifys can be
4251           retrieved too.  Affected file lib/silcclient/client_notify.c.
4252
4253         * Display notification about data messages that cannot be
4254           displayed.  Affected files irssi/src/silc/core/client_ops.c,
4255           irssi/src/fe-common/silc/module-formats.[ch].
4256
4257 Sun May 19 18:59:00 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4258
4259         * Fixed the CHANNEL_CHANGE notify handling in client libary
4260           to not use freed memory.  Affected file is
4261           lib/silcclient/client_notify.c.
4262
4263         * Fixed CUMODE_CHANGE notify handling in server.  Affected
4264           file silcd/packet_receive.c.
4265
4266         * Fixed USERS command to support empty channels.  Affected
4267           file silcd/command.c.
4268
4269 Sat May 18 11:35:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4270
4271         * Allow multiple identical pending commands to be registered
4272           in client library.  Affected file is lib/silcclient/command.c.
4273
4274         * Call the completion for resolving client information only
4275           after all resolvers has finished.  This fixes a crash in
4276           the client.  Added support for checking when the resolvers
4277           are finished.  Affected file is lib/silcclient/idlist.c.
4278
4279         * Wait by default 3 seconds before reconnecting to the server
4280           after being disconnected.  Makes the /detach command a bit
4281           more usable.
4282
4283 Fri May 17 17:23:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4284
4285         * Check the watcher list before sending signoff notifys
4286           when closing client connection.  Affected file is
4287           silcd/server.c.
4288
4289         * Added better CMODE command rights checking.  Affected file
4290           silcd/server_util.c.
4291
4292 Fri May 17 08:33:41 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4293
4294         * Fixed watcher list checking during server signoff.  It
4295           crashed the server.  Affected file silcd/server_util.c.
4296
4297         * The JOIN command reply returns now the founder's public
4298           key.  Affected file is silcd/command.c.
4299
4300         * Announce the channel mode, and the mode properties with
4301           CMODE_CHANGE notify.  Affected file silcd/server.c.
4302
4303         * Mark new channels by default disabled, untill at least
4304           one user joins the channel.  Affected file is
4305           silcd/packet_receive.c.
4306
4307 Thu May 16 13:05:13 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4308
4309         * The nickname argument to watch notify can be optional.
4310           Fixes a crash in server.  Affected file silcd/packet_send.c.
4311
4312         * Remove the client entry from cache if the WATCH notify type
4313           is KILLED, SERVER_SIGNOFF or SIGNOFF.  Affected file is
4314           lib/silcclient/client_notify.c.
4315
4316         * Check the watcher list before and after changing nickname
4317           when the NICK_CHANGE notify is received.  Affected file is
4318           silcd/idlist.c.
4319
4320         * Fixed a crash in OPER and SILCOPER command sending.  Empty
4321           passphrase caused the crash.  Affected file is
4322           lib/silcclient/command.c.
4323
4324 Wed May 15 19:01:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4325
4326         * Merged with Irssi CVS for Irssi SILC client.
4327
4328 Tue May 14 19:37:48 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4329
4330         * Completed the protocol specifications.
4331
4332 Tue May  7 20:41:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4333
4334         * Merged with Irssi CVS for Irssi SILC client.
4335
4336 Tue May  7 11:07:16 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4337
4338         * Added the founder's public key delivery to the
4339           CUMODE_CHANGE notify type as well.  Updated the protocol
4340           specs and the code.  Affected files are silcd/packet_send.[ch],
4341           silcd/packet_receive.c and silcd/command.c.
4342
4343 Mon May  6 19:46:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4344
4345         * Added silc_pkcs_public_key_copy function into the
4346           lib/silccrypt/silcpkcs.[ch].
4347
4348         * Remove the `iv' from the SilcChannelEntry since we can
4349           live without it.  Affected files are silcd/idlist.h and
4350           silcd/packet_receive.c.
4351
4352         * Added support for sending the founder's public key in
4353           the CMODE_CHANGE notify packet in the server.  Affected
4354           files are silcd/packet_send.[ch], silcd/packet_receive.c,
4355           silcd/command.c and silcd/server.c.
4356
4357         * Changed the FOUNDER_AUTH authentication to use only
4358           public key authentication as defined by new protocol
4359           specs.  Passphrase authentication with that mode cannot
4360           be used anymore.  It is now possible to reclaim founder
4361           mode from any server in the network.  Affected files are
4362           silcd/command.c, silcd/idlist.h and silcd/command_reply.c.
4363
4364         * Added permanent channels support by making the channel
4365           permanent when FOUNDER_AUTH mode is set on the channel.
4366           The channel will not be destroyed even if channel is empty
4367           when that mode is set.  Protocol TODO #17.  Affected
4368           files are silcd/server.[ch], server_util.[ch],
4369           silcd/command.c, silcd/packet_receive.c and
4370           lib/silcclient/command.c.
4371
4372 Fri May  3 18:36:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4373
4374         * Added reference counter to the command reply context in
4375           the client library.  Affected files are
4376           lib/silcclient/command_reply.[ch].
4377
4378 Fri May  3 11:37:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4379
4380         * Fixed rekey protocol with PFS in the client library.
4381           Affected file is lib/silcclient/protocol.c.
4382
4383         * Added support for list of errors in client library
4384           command reply handling.  Affected file is
4385           lib/silcclient/command_reply.c.
4386
4387         * Defined that the WHOIS and IDENTIFY commands can send
4388           list of errors.  Updated the protocol specs.  Protocol
4389           TODO #2.
4390
4391         * Added support for sending list of errors to WHOIS and
4392           IDENTIFY commands in server.  Added support for receiving
4393           list of errors in server.  Affected files are
4394           silcd/command.c and silcd/command_reply.c.
4395
4396         * Fixed client info resolving on LEAVE command in client
4397           library to not crash.  Affected file is
4398           lib/silcclient/client_notify.c.
4399
4400 Thu May  2 08:45:11 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4401
4402         * Defined that the NICK command replies with thew changed
4403           nickname too, to make the nickname changing simpler at
4404           the client's end.  Updated protocol specs and the code
4405           in client and server.  Affected files are
4406           silcd/command.c, lib/silcclient/command_reply.c and
4407           lib/silcclient/command.c.
4408
4409 Mon Apr 29 20:10:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4410
4411         * Added `Compressed' packet flag to indicate that the packet
4412           payload is compressed by the sender.  Updated the protocol
4413           specs and the core library.  The compression still is not
4414           implemented in the sources.  Affected file is
4415           lib/silccore/silcpacket.h.
4416
4417 Mon Apr 29 09:48:12 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4418
4419         * Remove pending command callbacks also if the connection
4420           to the server is destroyed.  Affected file is
4421           lib/silcclient/client.c.
4422
4423 Sat Apr 27 19:52:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4424
4425         * Added new QUIET channel user mode that can be used to
4426           quiet a user in a channel.  Updated the protocol specs but
4427           it wasn't implemented yet.  Protocol TODO #27.  Affected
4428           file is lib/silccore/silcmode.h.
4429
4430 Mon Apr 22 09:09:44 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4431
4432         * Added BLOCK_INVITE user mode to be able to block incoming
4433           invite notifications.  Protoocol TODO #26.  Affected files
4434           are lib/silccore/silcmode.h, lib/silcclient/command.c and
4435           silcd/command.c.
4436
4437         * SILC Publickey fields MUST be UTF-8 encoded now.  Updated
4438           the protocol specs and the code.  Affected file is
4439           lib/silccrypt/silcpkcs.c.
4440
4441 Sun Apr 21 19:44:38 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4442
4443         * Disconnect Payload includes now the status type.  Updated
4444           the protocol specs and the code.  Protocol TODO #25.
4445           Affected files are silcd/server.c, lib/silcclient/client.c.
4446
4447         * Added NOT_AUTHENTICATED, BAD_SERVER_ID, INCOMPLETE_INFORMATION,
4448           KEY_EXCHANGE_FAILED and BAD_VERSION error status types.
4449           Moved the silc_client_command_status_messages table to the
4450           lib/silcutil/silcutil.c and added new funtion
4451           silc_get_status_message, which deprecates function
4452           silc_client_status_message.  Affected files are
4453           lib/silccore/silcstatus.h, lib/silcclient/command_reply.[ch],
4454           lib/silcutil/silcutil.[ch].
4455
4456 Fri Apr 19 17:35:15 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4457
4458         * Defined that the nickname hash in Client ID MUST be from
4459           lowercase nickname.  This effectively changes nicknames in
4460           SILC to case-insensitive.  Updated the protocol specs and
4461           the code.  Affected files are lib/silcutil/silcutil.[ch],
4462           silcd/serverid.c, and silcd/idlist.c.
4463
4464         * Added new channel user modes BLOCK_MESSAGES_USERS and
4465           BLOCK_MESSAGES_ROBOTS.  Updated the protocol specs and the
4466           code.  Affected files are lib/silccore/silcmode.h,
4467           lib/silcclient/command.c, and silcd/packet_send.c.
4468
4469         * Added new error status ERR_RESOURCE_LIMIT.  Updated protocol
4470           specs and code.  Affected file lib/silccore/silcstatus.h.
4471
4472         * Added support for watch list.  It is possible to add nicknames
4473           to be watched, and when they come to network, leave network
4474           or user mode changes the watcher will be notified of this
4475           change.  Added SILC_COMMAND_WATCH command, added new
4476           notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch
4477           notifications.  Updated the protocol specs and implemented
4478           this to library, client and server.  Protocol TODO #21.
4479           Affected files are lib/silccore/silccomand.h,
4480           lib/silccore/silcnotify.h, lib/silcclient/command[_reply].[ch],
4481           silcd/command[_reply].[ch], lib/silcclient/client_notify.c,
4482           silcd/packet_send.[ch], silcd/packet_receive.c, and
4483           irssi/src/silc/core/client_ops.c.
4484
4485         * Added user mode SILC_UMODE_REJECT_WATCHING to reject
4486           somebody watching you.  Updated the protocol specs and the
4487           code.  Affected files are lib/silccore/silcmode.h, and
4488           lib/silcclient/command.c.
4489
4490 Fri Apr 19 09:02:20 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4491
4492         * Added service support to SILC protocol.  Added new command
4493           SILC_COMMAND_SERVICE.  Updated the protocol specs and the
4494           core library.  Services are not implemented in server or
4495           client for now.  Protocol TODO #20.  Affected files are
4496           lib/silccore/silcstatus.h, lib/silccore/silccommand.h.
4497
4498         * Added SilcStatus argument to `command' client operation
4499           to return the error status when command sending fails
4500           locally.  Changed all command in client library to return
4501           correct command status.  Affected files are
4502           lib/silcclient/command.c, lib/silcclient/silcclient.h and
4503           irssi/src/silc/core/client_ops.c.
4504
4505 Thu Apr 18 14:09:51 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4506
4507         * Added silc_mime_parse function to parse MIME headers.
4508           Affected files are lib/silcutil/silcstruti.[ch].
4509
4510         * Added MIME header parsing in Irssi SILC Client.  It displays
4511           all textual MIME objects, others it ignores.  Affected file
4512           is irssi/src/silc/core/clien_ops.c.
4513
4514 Wed Apr 17 22:07:59 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4515
4516         * Fixed a bug in the pid writing function, which couldn't be
4517           written in a root-owned directory.
4518
4519 Tue Apr 16 09:34:40 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4520
4521         * Defined that channel message to unknown Channel ID must
4522           cause SILC_NOTIFY_TYPE_ERROR notify message to the sender.
4523           Updated the protocol specs and the code in server.  The
4524           affected file is silcd/packet_receive.c.
4525
4526 Mon Apr 15 19:57:57 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4527
4528         * Added new notify type SILC_NOTIFY_TYPE_ERROR and specified
4529           that it is used to send error notifys if error occurs during
4530           some SILC packet processing, except commands.  The error
4531           types are same as for command reply types.  Defined that
4532           if private message is sent to unknown Client ID the error
4533           is sent in SILC_NOTIFY_TYPE_ERROR instead of command reply.
4534           Updated the protocol specs and code.  Affected files are
4535           lib/silccore/silcnotify.h, added lib/silccore/silcstatus.h,
4536           lib/silcclient/client_notify.c, silcd/packet_receive.c,
4537           and irssi/src/silc/core/client_ops.c.  Renamed the
4538           SilcCommandStatus to SilcStatus.
4539
4540         * Defined the use of extra WHOIS attributes in WHOIS command.
4541           The <Requested Attributes> (defined in a separate document)
4542           can be used to request additional information about user
4543           not returned by standard WHOIS command.  Defined that server
4544           can send WHOIS command directly to client.  Client provides
4545           the requested attributes to the server.  Updated the protocol
4546           specs.  Protocol TODO #4.  Implementation is not done yet
4547           (Protocol TODO #24).
4548
4549         * Renamed function silc_client_command_status_message to
4550           silc_client_status_message.  Affected files are
4551           lib/silcclient/command_reply.[ch].
4552
4553 Sun Apr 14 21:13:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4554
4555         * Changed the WHOIS, IDENTIFY and WHOWAS count arguments to
4556           32 bit integers.  Updated the protcol specs and the code.
4557           Affected files are silcd/command.c and
4558           lib/silcclient/command.c.
4559
4560 Sun Apr 14 19:49:02 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4561
4562         * Fixed a bug in library where sending a bogus authentication
4563           payload would lead to a crash.  Affected file is
4564           lib/silccore/silcauth.c.
4565
4566 Sat Apr 13 13:09:24 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4567
4568         * Added detach_disabled and detach_timeout server config
4569           options to the server.  Affected files silcd/serverconfig.[ch],
4570           silcd/command.c and silcd/packet_receive.c.
4571
4572 Fri Apr 12 20:09:08 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4573
4574         * Added resolve_cmd_ident field to the SilcClientEntry structure
4575           too so that if the entry is for example being resolved so
4576           another command may attach to the same pending command reply
4577           without requiring to resolve the same entry again.  Added
4578           support for adding multiple pending commands for one
4579           command idenfier.  Affected files lib/silcclient/command.[ch],
4580           lib/silcclient/command_reply.[ch], lib/silcclient/idlist.h.
4581
4582 Fri Apr 12 10:17:51 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4583
4584         * Defined that server receives WHOIS command reply for private
4585           and secret channels too.  Updated protocol specs and the
4586           code in server.  Affected file silcd/command.c.
4587
4588         * Defined <channel user mode list> argument to WHOIS command
4589           reply for returning user modes on the channels.  The
4590           channel list now doesn't include the user mode anymore but the
4591           actual channel mode.  Updated protocol specs and the code in
4592           client and server.  Affected files are silcd/command_reply.c,
4593           silcd/command.c, silcd/server.c, irssi/src/silc/core/client_ops.c,
4594           and lib/silcclient/command_reply.c.
4595
4596         * Save the channels list in WHOIS command reply in normal server
4597           so that WHOIS always shows joined channels also in normal
4598           server and not just on router.  Affected file is
4599           silcd/command_reply.c.
4600
4601 Thu Apr 11 22:29:33 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4602
4603         * Defined that server receives USERS command reply for private
4604           and secret channels too.  Updated protocol specs and the
4605           code in server.  Affected file silcd/command.c.
4606
4607 Thu Apr 11 16:32:08 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4608
4609         * Changed the UMODE's mode mask argument to be optional.  If
4610           not provided then the command merely returns the current mode
4611           mask to the client.  Updated protocol specs and the server.
4612           Affected file is silcd/command.c.
4613
4614         * Added SILC session detachment/resuming support.  It is possible
4615           to detach by closing the network connection and then re-connect
4616           and resume to the old client session.  Added DETACHED user
4617           mode that server will set for detached client.  Added new
4618           packet RESUME_CLIENT which is used to perform the resuming
4619           process.  Added DETACH command.  Updated the protocol specs,
4620           core library, client and server.  Protocol TODO #22.  Very
4621           many affected files around the tree.
4622
4623 Wed Apr 10 16:32:01 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4624
4625         * Changed the CMODE's mode mask argument to be optional.  If
4626           not provided then the command merely returns the current mode
4627           mask to the client.  Updated protocol specs and the server.
4628           Affected file is silcd/command.c.
4629
4630         * Changed the Killer's Client ID in KILLED notify to be just
4631           any ID payload since router server is allowed to kill as well.
4632           Updated protocol specs, client libary and server.  Affected
4633           files are lib/silcclient/client_notify.c, silcd/packet_receive.c,
4634           and irssi/src/silc/core/client_ops.c.
4635
4636 Tue Apr  9 17:15:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4637
4638         * Added new user modes ANONYMOUS for special anonymous servers
4639           that may set the mode for client, and BLOCK_PRIVMSG which
4640           client may set to block incoming private messages unless the
4641           Private Message Key flag is set (using private keys to protect
4642           private messages).  Updated protocol specs and code in client
4643           and server and core library.  Protocol TODO #23.  Affected
4644           files are lib/silccore/silcmode.h, silcd/server.[ch],
4645           irssi/src/silc/core/client_ops.c, silcd/packet_receive.c,
4646           irssi/docs/help/in/umode.in, lib/silcclient/command.c.
4647
4648         * Added new channel user mode BLOCK_MESSAGES which the client
4649           may set to itself to tell server not send channel messages.
4650           Other packets such as channel key packets are still sent.
4651           Protocol TODO #23.  Updated the protocol specs, client and
4652           server.  Affected files are lib/silccore/silcmode.h,
4653           irssi/docs/help/in/cumode.in, lib/silcclient/command.c,
4654           lib/silcutil/silcutil.c, silcd/command.c, and
4655           silcd/packet_send.c.
4656
4657 Mon Apr  8 23:57:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4658
4659         * Redefined the Status Payload to include now two 8 bit fields,
4660           instead of one 16 bit field.  This now makes it possible to
4661           send list of errors.  Updated the protocol specs and the code
4662           in core library, client library and server.  Protocol TODO #1.
4663           Affected files are lib/silccore/silccommand.[ch],
4664           lib/silcclient/command_reply.[ch], silcd/command.c,
4665           silcd/command_reply.c and silcd/packet_receive.[ch].
4666
4667 Mon Apr  8 19:57:40 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4668
4669         * Added config parse status SILC_CONFIG_EPRINTLINE, this status
4670           must be handled by the application and should tell the application
4671           that an error message was already printed, and it should print the
4672           config coords (line, filename, ...).  Affected files are
4673           silcd/serverconfig.c, lib/silcutil/silcconfig.[ch].
4674
4675         * Added local macro SILC_SERVER_CONFIG_ALLOCTMP to make the
4676           server config parsing code more readable.
4677
4678           Fixed a bug in the fetch_logging() config callback.
4679
4680           Affected files is silcd/serverconfig.c.
4681
4682         * Drop root privileges when started in foreground.  Don't drop them
4683           if debugging also.  Affected file is silcd/silcd.c.
4684
4685 Mon Apr  8 17:00:41 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4686
4687         * Added more IM-like features by introducing new user modes
4688           for setting various presence information.  Added new modes:
4689           INDISPOSED, BUSY, PAGE, HYPER and ROBOT.  Updated protocol
4690           specs and code.  Protocol TODO #19. Affected files are
4691           lib/silccore/silcmode.h, irssi/src/silc/core/client_ops.c,
4692           irssi/docs/help/in/umode.in and lib/silcclient/command.c.
4693
4694 Sun Apr  7 17:07:59 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4695
4696         * Added STATS command to the protocol after all, to return
4697           various statistical information about the network.  It can
4698           be used by clients to retrieve statistical information, and
4699           servers may use it to to fetch cell and network wide
4700           statistics from router.  Updated the protocol specs and
4701           implemented it to the server.  Protocol TODO #16.
4702           Affected files are lib/silccore/silccommand, silcd/command.[ch],
4703           silcd/command_reply.[ch].
4704
4705 Sat Apr  6 17:08:58 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4706
4707         * The LIST command reply in client libary now adds new channel
4708           entry if the returned channel doesn't exist yet in cache,
4709           and returns the channel entry to the application in the
4710           command_reply client operation.  Affected file is
4711           lib/silcclient/command_reply.c.
4712
4713         * Changed the channel message payload's MAC generation to
4714           include the IV in the MAC as well.  This way all relevant
4715           parts of the channel message payload are authenticated also
4716           with the channel message MAC (and not only by packet MAC).
4717           Causes incompatibility with 1.0 protocol.  Protocol TODO #7.
4718           Affected file is lib/silccore/silcchannel.c.
4719
4720         * Fixed the SKE to save the remote version, since the
4721           silc_ske_parse_version mistakenly checked wrong version,
4722           after it replaced the start payload.  Affected files are
4723           lib/silcske/silcske.[ch].
4724
4725 Fri Apr  5 16:03:03 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4726
4727         * Splitted lib/silcutil/silcutil.h into silcstrutil.h for
4728           string utility functions.  Added there also new functions
4729           silc_utf8_[encode/decode/valid] for UTF-8 string encoding.
4730           Affected files lib/silcutil/silcstrutil.[ch].
4731
4732         * Renamed silc_*_pem functions to silc_pem_* functions.  Affected
4733           files are lib/silcutil/silcstrutil.[ch].
4734
4735         * Defined that the security property fields in SKE SHOULD be
4736           UTF-8 encoded, defined that version string MUST be US-ASCII
4737           encoded, defined that passphrases sent in connection
4738           authentication protocol MUST be UTF-8 encoded.  Implemented
4739           these to the client and server.  Defined also that other
4740           passphrases sent in the protocol MUST be UTF-8 encoded.
4741           Affected files are lib/silcske/silcske.c,
4742           lib/silcclient/protocol.c, silcd/protocol.c,
4743           silcd/serverconfig.c, and lib/silccore/silcauth.c.
4744
4745         * Changed the silc_client_close_connection interface to not
4746           need the SilcSocketConnection which should not be visible
4747           to application.  Affected files are lib/silcclient/client.c
4748           and lib/silcclient/silcclient.h.
4749
4750         * Rewrote the text for Private Message Key Payload in the
4751           protocol specification.  Protocol TODO #11.
4752
4753 Wed Apr  3 16:24:51 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4754
4755         * Upgraded the protocol version to 1.1, updated protocol specs
4756           and software.
4757
4758         * Added the nickname as new argument to NICK_CHANGE notify and
4759           added it to protocol specs and implemented it to client and
4760           server.  Protocol TODO #3.  Affected files are silcd/idlist.[ch],
4761           silcd/command.c, silcd/packet_receive.c, packet_send.[ch], and
4762           lib/silcclient/client_notify.c.
4763
4764         * Added the killer's client ID to the KILLED notify and added
4765           it to protocol specs and implemented it to client and server.
4766           Protocol TODO #13.  Affected files are silcd/command.c,
4767           silcd/packet_receive.c, packet_send.[ch],
4768           lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4769           The killer's client entry is now returned to application in
4770           the `notify' client operation.
4771
4772         * Fixed the Max Argument fields that had too large value set
4773           in the protocol specs.  Protocol TODO #14.
4774
4775         * Added the LEAVE command reply to return the ID of parted
4776           channel.  Updated protocol specs and implemented it to the
4777           client and server.  Protocol TODO #15.  Affected files are
4778           silcd/command.c, lib/silcclient/command_reply.c.  The channel
4779           entry is now returned to application in the `command_reply'
4780           client operation.
4781
4782         * Rewrote the version SKE version checking in client libary
4783           and in server to use the silc_parse_version_string.  Affected
4784           files are lib/silcclient/protocol.c, silcd/protocol.c.
4785
4786         * Added SILC_STATUS_ERR_NO_CHANNEL_FOPRIV error status to few
4787           commands that was missing it, and updated protocol specs and
4788           the server implementation.  Protocol TODO #10.  The affected
4789           file is silcd/command.c.
4790
4791         * Defined new message flags SILC_MESSAGE_FLAG_REPLY to be
4792           generic reply to a generic request (REQUEST flag), and
4793           SILC_MESSAGE_FLAG_DATA to send any kind of data in a generic
4794           way.  A draft-riikonen-silc-flags-payloads-00.txt is written
4795           to define the payload for DATA flag.  Added the flags to
4796           the implementation.  Protocol TODO #9.  Affected file is
4797           lib/silccore/silcchannel.h.
4798
4799           Changed the client library to return the message length
4800           to application as well in the channel_message and private_message
4801           client operations.  Affected files are
4802           lib/silcclient/client_prvmsg, lib/silcclient/client_channel.c,
4803           lib/silcclient/silcclient.h, irssi/src/silc/core/client_ops.c,
4804           and lib/silcclient/client_ops_example.c.
4805
4806         * Added two new channel modes: SILC_CMODE_SILENCE_USERS
4807           and SILC_CMODE_SILENCE_OPERS which can be used to moderate
4808           the channel.  Updated protocol specs and impelemented this
4809           to client and server.  Protocol TODO #6.  Affected files are
4810           silcd/packet_receive.c, server_util.c, lib/silcclient/command.c,
4811           lib/silcclient/client_channel.c, lib/silccore/silcmode.h.
4812
4813           Added new options m and M to CMODE command in Irssi SILC
4814           client to set these modes.
4815
4816         * Deprecated all administrative commands from SILC protocol
4817           since they are highly implementation specific commands.
4818           Updated protocol specs.  Moved the old commands in
4819           implementations to private range of command types.  Affected
4820           files are silcd/command.c, lib/silcclient/command.c and
4821           lib/silcclient/command_reply.c.  Protocol TODO #8.
4822
4823         * Fixed a bug in server where sending unknown command crashes
4824           the server.  Affected file silcd/command.c.
4825
4826 Wed Apr  3 09:57:47 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4827
4828         * Added SILC_PROTOCOLVERSION macro to check protocol version
4829           of a socket connection.  The affected file is
4830           lib/silcutil/silcsockconn.h.
4831
4832         * Added better error logging in rekey protocol.  Affected file
4833           silcd/protocol.c.
4834
4835         * Do not check public key types in SKE during rekey.  Affected
4836           file lib/silcske/payload.c.
4837
4838         * Fixed the rekey protocol with PFS, which was totally broken.
4839           Affected file silcd/protocol.c.
4840
4841 Tue Apr  2 14:55:06 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4842
4843         * Some client implementations quit network by doing first LEAVE
4844           and then immediately SIGNOFF (like Bombyx).  We now do check
4845           after a short time after LEAVE notify and check whether the
4846           client is still valid after LEAVE, and if not we remove it from
4847           cache.  Affected file is lib/silcclient/client_notify.c.
4848
4849 Tue Apr  2 13:39:04 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4850
4851         * Merged version 1.1.4 of zlib. Even if it not currently in use,
4852           it's good not to have security holes here.
4853
4854         * Fixed a negative refcount situtuation for the config context.
4855           Affected file is silcd/serverconfig.c.
4856
4857 Mon Apr  1 20:15:10 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4858
4859         * ROBOdoc documented lib/silcutil/silcutil.h.
4860
4861 Sat Mar 30 21:06:45 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4862
4863         * Optimized even more the SilcPacketContext structure.  Now
4864           totally saved 16 bytes of memory per context after optimization.
4865           Affected files are lib/silccore/silcpacket.[ch].
4866
4867         * Made strict checks for valid SILC IDs.  Affected file is
4868           lib/silccore/silcid.c.
4869
4870 Sat Mar 30 18:15:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4871
4872         * Changed the object argument for silc_cipher_register,
4873           silc_hash_register, silc_hmac_register and silc_pkcs_register
4874           to const.  Affected files are lib/silccrypt/silccipher.[ch],
4875           silchash.[ch], silchmac.[ch] and silcpkcs.[ch].
4876
4877         * Changed the silc_get_username and silc_get_real_name to
4878           never fail.  Affected file lib/silcutil/unix/silcunixutil.c.
4879
4880         * Fixed the Irssi SILC Client to use the silc_get_username and
4881           silc_get_real_name insted of glib routines since the glib
4882           routines only corrupt stack.  Fixes the Irssi SILC to work in
4883           Cygwin.  Affected file irssi/src/silc/core/silc-core.c.
4884
4885         * Fixed the Irssi to not use g_get_home_dir since it crashes
4886           or returns garbage on cygwin and corrupts stack.  Added function
4887           get_home_dir to Irssi routines.  Affected files are
4888           irssi/src/core/misc.[ch] and irssi/src/core/core.c.
4889
4890 Fri Mar 29 21:55:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4891
4892         * Made some structure optimizations.  SFTP memory FS MemFSEntry
4893           entry structure.  Optimized SilcTask structure.  Optimized
4894           SilcPacketContext structure.
4895
4896           Affected files lib/silcsftp/sftp_fs_memory.c,
4897           lib/silcutil/silcschedule.c, lib/silccore/silcpacket.h.
4898
4899 Fri Mar 29 10:41:07 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4900
4901         * And yet again reverted back the config thing since Johnny
4902           screwed it up.  Affected file silcd/serverconfig.[ch], server.c,
4903           and silcd.c.
4904
4905         * Fixed memory leaks from config object.  Affected files are
4906           silcd/serverconfig.[ch].
4907
4908         * Added support for adding new connections to the server in rehash.
4909           After rehash they take effect.
4910
4911           Added support for changing the maximum allowed connections in
4912           rehash.  The number can grow but going smaller is not supported.
4913
4914           Added function silc_server_num_sockets_by_remote to the
4915           silcd/server_util.[ch].
4916
4917           Affected files are silcd/server.c, and silcd/serverconfig.[ch].
4918
4919 Fri Mar 29 03:26:12 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
4920
4921         * Added preliminary checking during config parsing for a valid
4922           public/private key and removed further checks in the code.
4923           Affected files are silcd/serverconfig.[ch], server.c.
4924
4925         * Moved functions silc_server_drop() and silc_server_daemonise()
4926           from server.c to silcd.c since they are stricly related to
4927           the application activity.
4928
4929         * Reverted a small part of the automatic ref/unref since
4930           it caused a double unref in some situations.  Affected
4931           files are silcd/silcd.[ch], server.c, serverconfig.c.
4932
4933         * Added some .cvsignore files in the lib directory.
4934
4935 Thu Mar 28 22:51:15 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4936
4937         * Fixed silc_net_gethostbyaddr to correctly resolve by
4938           address.  Affected file lib/silcutil/silcnet.c.
4939
4940         * Fixed the notify relaying to client.  The HMAC to be used
4941           with relayed packets ws wrong and caused decryption failure
4942           at the client end.  Affected file is silcd/packet_receive.c.
4943
4944 Thu Mar 28 19:02:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4945
4946         * Created new branch silc_protocol_1_0_branch.
4947
4948         * Reverted the silc_log_quick change in lib/silcutil/silclog.c.
4949
4950         * Changed the silc_server_config_* routines to be SilcServer
4951           independent.  They are now officially application specific code
4952           and not part of generic server implementation.  Affected files
4953           are silcd/serverconfig.[ch], silcd/silcd.c, silcd/server.c.
4954
4955 Thu Mar 28 17:01:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4956
4957         * Added automatic referencing of config context in the
4958           silc_server_config_alloc, and automatic unreferencing in the
4959           silc_server_config_destroy.  Affected files are
4960           silcd/serverconfig.[ch], silcd/silcd.c.
4961
4962         * Fixed the silc_log_quick handling in the logging routines.
4963           It didn't log quickly when it was TRUE.  Affected file is
4964           lib/silcutil/silclog.c.  Also the flush delay was set even
4965           if it was 0 in config file.  Affected file is
4966           silcd/serverconfig.c.
4967
4968         * Added support for changing key pair of the server in rehash.
4969           Affected file silcd/server.c.
4970
4971 Thu Mar 28 12:17:21 CET 2002  Pekka Riikonen <priikone@silcnet.org>
4972
4973         * Fixed the TOPIC_SET notify to not cras.  It changed the topic
4974           too early, before getting the channel entry.  Affected file
4975           is silcd/packet_receive.c.
4976
4977 Thu Mar 28 09:58:16 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
4978
4979         * Added functions silc_server_config_[ref/unref], these are used
4980           to prevent that the config object is destroyed.
4981
4982           No longer directly affect global variables silc_log_quick and
4983           silc_log_delay, they are first cached inside the config object
4984           and then applied with silc_server_config_setlogfiles().
4985
4986           silc_server_config_set_defaults() is now internal to
4987           serverconfig.c, there are no reasons to show this internal stuff
4988           to the server.
4989
4990           Affected files are silcd/serverconfig.[ch].
4991
4992         * Added macro SILC_SERVER_LOG_STDERR(), this should replace most
4993           fprintf's to stderr, since some code may be executed again after
4994           the server went into the background.  Affected files are
4995           silcd/server.[ch].
4996
4997         * Added rehash support. Added function silc_server_rehash() that
4998           will perform all the basic tasks of the rehashing procedure.
4999
5000         * Added command line option `-x, --hexdump'. This will enable the
5001           SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'.
5002           The option `--hexdump' implies `--debug'.
5003
5004         * Fixed a bad bug in the logging APIs (silcutil library) where
5005           the application would crash after calling silc_log_reset_all().
5006
5007 Wed Mar 27 19:43:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5008
5009         * Fixed the KICKED notify handling in client library to
5010           correctly remove the channel and all entries from the
5011           channel when I was kicked.  This bug crashed the client.
5012
5013           Fixed yet another but in KICKED notify handling to remove
5014           the kicked client correctly from the channel.
5015
5016           Affected file is lib/silcclient/client_notify.c.
5017
5018         * Fixed a minor bug in looking up correct client entry
5019           in KICKED notify in server.  Affected file is
5020           silcd/packet_receive.c.
5021
5022         * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP
5023           sources correctly to distribution.  Fixes --with-gmp option.
5024
5025         * Removed the manual rehashing from ID Cache, and changed it
5026           to use the SILC Hash Table's auto rehash feature.  Affected
5027           file is lib/silccore/silcidcache.c.
5028
5029 Wed Mar 27 00:07:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5030
5031         * Fixed a bug in the silc_client_nickname_format function that
5032           handles the multiple same nickname formatting.  Two clients
5033           with same nickname caused problems after the first one left
5034           and rejoined.  It didn't format the nickname correctly.
5035           Affected file is lib/silcclient/idlist.c.
5036
5037 Tue Mar 26 19:33:03 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5038
5039         * Don't change the topic if olod topic is same as new one.
5040           Affected file is silcd/packet_receive.c.
5041
5042 Mon Mar 25 21:11:35 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5043
5044         * Added cross-reference support to the SILC Documentation
5045           generator.  All types across all HTML files are now cross-
5046           referenced.  Affected files util/robodoc/generator.c and
5047           scripts/silcdoc/silcdoc.
5048
5049         * Added file lib/silcutil/silctypes.h to include all the
5050           arithmetic type definitions and some macros.  Removed
5051           includes/bitmove.h and moved macros to silctypes.h.
5052
5053 Mon Mar 25 17:19:46 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5054
5055         * Merged bugfixes for Irssi SILC client from irssi.org CVS.
5056
5057 Sun Mar 24 11:21:04 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5058
5059         * Added `type' argument to silc_id_payload_parse_id function which
5060           now returns the type of the ID to the sent pointer.  Affected
5061           file is lib/silccore/silcid.[ch].
5062
5063         * Added check for CMODE_CHANGE notify type that mode change is
5064           allowed by the sender.  Affected file silcd/packet_receive.c.
5065
5066         * Added check for CUMODE_CHANGE notify type that mode change is
5067           allowed by the sender.  Affected file silcd/packet_receive.c.
5068           Added the ID type as CUMODE_CHANGE notify type as argument
5069           to the `notify' client operation.  Affected files are
5070           lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
5071
5072         * Added function silc_client_add_server to the client library.
5073           Added support for resolving also channel and server info when
5074           received unknown entity in notify packet.  Affected files are
5075           lib/silcclient/idlist.[ch], lib/silcclient/client_notify.c.
5076
5077         * Added function silc_command_get_status to return the command
5078           status from the command reply's argument payload.  Affected files
5079           are lib/silccore/silccommand.[ch].
5080
5081         * Added check for KICKED notify type that the kicking is
5082           allowed by the client.  Affected file silcd/packet_receive.c.
5083
5084         * Created function silc_get_input which can be used to get input
5085           (echo on or off) from user on command line.  Affected files are
5086           lib/silcutil/silcutil.[ch].
5087
5088 Sat Mar 23 09:51:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5089
5090         * Optimized silc_server_packet_relay_to_channel function.
5091           Added new function silc_channel_message_payload_encrypt which
5092           can be called directly if channel message payload needs to
5093           be encrypted and is already encoded (no need to call _encode
5094           function).  Packet relaying is now done by router without any
5095           extra memory allocations.  Affected files are
5096           lib/silccore/silcchanel.[ch], silcd/packet_receive.c and
5097           silcd/packet_send.c.
5098
5099         * Fixed the INVITE notify handling.  It took wrong arguments
5100           as invite list and invite delete.  Affected file is
5101           silcd/packet_receive.c.
5102
5103         * Added check for TOPIC_SET notify type that the topic change is
5104           allowed by the client.  Affected file silcd/packet_receive.c.
5105
5106         * Added check for INVITE notify type that inviting is allowed by
5107           the client.  Affected file silcd/packet_receive.c.
5108
5109         * Changed the silc_server_client_on_channel to return the
5110           SilcChannelClientEntry as well.  Moved the function
5111           silc_server_check_cmode_rights to server_util.[ch].
5112           Affected files are silcd/server_util.[ch], silcd/command.c.
5113
5114         * Added function silc_server_check_umode_rights to check whether
5115           changing client's user mode is allowed.  Added check for
5116           UMODE_CHANGE notify type that the umode change is allowed
5117           by the client.  Affected files are silcd/server_util.[ch],
5118           silcd/packet_receive.c and silcd/command.c.
5119
5120 Fri Mar 22 12:25:58 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5121
5122         * Fixed the SILC_PACKET_MAX_ID_LEN to actually be the max
5123           ID length.  It ignored that ID can be IPv6 based as well.
5124           Affected file lib/silccore/silcpacket.h.
5125
5126         * Fixed the silc_id_id2str and silc_id_str2id to take the
5127           IPv6 address offset's into consideration.  Affecte file is
5128           lib/silccore/silcid.c.
5129
5130 Thu Mar 21 20:44:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5131
5132         * Fixed the internal Unix scheduler functions to check for
5133           NULL context they may receive.  The affected file is
5134           lib/silcutil/unix/silcunixschedule.c.
5135
5136 Thu Mar 21 19:12:22 EET 2002  Timo Sirainen <tss@iki.fi>
5137
5138         * Changed hardcoded ~/.silc paths to use get_irssi_dir() so you
5139           can specify different directory with --home command line
5140           parameter. Affected files irssi/src/silc/core/client_ops.c,
5141           clientutil.c
5142
5143         * SILC-specific commands aren't now executed if the active server
5144           isn't of SILC-type, so there won't be problems with having
5145           IRC and SILC protocol support in same client. Affected files
5146           irssi/src/silc/core/silc-channels.c, silc-servers.c,
5147           silc-commands.h
5148
5149 Wed Mar 20 11:06:57 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5150
5151         * Improved the signal support in SILC Schedule.  Added new
5152           function silc_schedule_signal_call which is used by application
5153           to mark a signal to be called.  It is now safe to perform
5154           any kind of tasks in signal callbacks since it is guaranteed
5155           that the application specified signal callback is called
5156           after the signal is over.  Affected files are
5157           lib/silcutil/silcschedule.[ch], lib/silcutil/*/silc*schedule.c.
5158
5159 Tue Mar 19 20:42:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5160
5161         * Added `name' field to SilcChannelPrivateKey to represent
5162           application given name for the key.  Moved also the context from
5163           lib/silcclient/idlist.h into lib/silcclient/silcclient.h.
5164           Added the `name' argument also to the function
5165           silc_client_add_channel_private_key.
5166
5167           Added function silc_client_current_channel_private_key to set the
5168           current channel private key in use.
5169
5170           Added "change" command to KEY command which can be used to change
5171           the current channel private key.  Bound the command also to
5172           alt+K (Alt+Shift+k).
5173
5174           Also affected files lib/silcclient/client_channel.c,
5175           irssi/src/docs/help/in/key.in, irssi/src/silc/core/silc-channel.c.
5176
5177 Tue Mar 19 16:32:43 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5178
5179         * Added silc_rng_get_byte_fast function in to the
5180           lib/silccrypt/silcrng.[ch].
5181
5182         * Changed the interface of silc_packet_assemble and the
5183           silc_packet_send_prepare.  If silc_packet_assmble is now
5184           called the application does not call silc_packet_send_prepare
5185           because the library will call it automatically.  These
5186           interfaces now also return a reference to the outgoing buffer
5187           which includes the assembled packet, which the application can
5188           use to encrypt the packet.
5189
5190           Affected files are lib/silccore/silcpacket.[ch],
5191           lib/silcclient/client.c, client_channel.c client_prvmsg.c,
5192           silcd/packet_send.c, server_backup.c and packet_receive.c.
5193
5194         * Fixed a packet sending bug on very high load, where outgoing
5195           packet queue wasn't handled correctly and packets got corrupted.
5196           Affected files are lib/silcutil/*/silc*sockconn.c,
5197           lib/silcclient/client.c and silcd/server.c.
5198
5199 Mon Mar 18 21:00:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5200
5201         * Added macro SILC_PACKET_DATALEN which can be used during
5202           packet assembling to check whether the data to be added to
5203           the packet will fit to SILC_PACKET_MAX_LEN.  If not the data
5204           len is truncated until it fits it.
5205
5206           Added checks for maximum length of channel message payload and
5207           private message payload also.
5208
5209           Added checks for maximum packet length in server and in
5210           client library.
5211
5212           Affected files are lib/silccore/silcpacket.h, silcd/packet_send.c,
5213           lib/silcclient/client.c, lib/silccore/silcchannel.c and
5214           lib/silccore/silcprivate.c, lib/silcclient/client_channel.c and
5215           lib/silcclient/client_prvmsg.c.
5216
5217 Mon Mar 18 14:54:42 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5218
5219         * Added silc_server_packet_queue_purge call to the
5220           silc_server_disconnect_remote to assure that all data in the
5221           queue before disconnecting is sent to the network.  Affected
5222           file silcd/server.c.
5223
5224 Sun Mar 17 19:26:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5225
5226         * Added the deleting of server's own ID cache entry to the
5227           silc_server_free function.  Free also everything else that
5228           has been allocated in silc_server_init.  The affected file
5229           is silcd/server.c.
5230
5231 Sun Mar 17 15:44:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5232
5233         * Added functions silc_parse_version_string, silc_version_to_num,
5234           and silc_ske_parse_version to parse SILC protocol style version
5235           strings.  Affected files lib/silcutil/silcutil.[ch] and
5236           lib/silcske/silcske.[ch].
5237
5238         * Added new configuration params: version_protocol, version_software
5239           and version_software_vendor to specify what version the remote
5240           host must at least be to be able to connect to server.  The vendor
5241           string can be regex matched too.  Added new function
5242           silc_server_connection_allowed to check maximum number of allowed
5243           connections, and allowed versions for incoming connections.
5244           Affected files are silcd/server.c, server_util.[ch] and
5245           serverconfig.[ch].
5246
5247 Sun Mar 17 10:24:50 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5248
5249         * Added preliminary support for signals in scheduler.  The
5250           signals we care about are now blocked always when the scheduler
5251           is locked.  This way we can synchronise the use of signal with
5252           scheduler.  It is guaranteed that when signal occurs the scheduler
5253           is not locked, and thus new tasks can be safely added to the
5254           scheduler.
5255
5256           Renamed silc_schedule_wakeup_init and silc_schedule_wakeup_uninit
5257           to silc_schedule_internal_init and silc_schedule_internal_uninit.
5258           Added new platform specific routines
5259           silc_schedule_internal_signals_[un]block and
5260           silc_schedule_internal_signal_[un]register.
5261
5262           Added new functions to SILC Schedule API:
5263           silc_schedule_signal_[un]register.  Each signal that application
5264           is going to use should be registered to the scheduler.
5265
5266           Affected files are lib/silcutil/silcschedule.[ch],
5267           lib/silcutil/*/silc*schedule.c.
5268
5269 Sat Mar 16 22:39:23 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5270
5271         * Check for unauthenticated client and server in the
5272           silc_server_new_client and silc_server_new_server functions.
5273           Affected file silcd/packet_receive.c.
5274
5275         * Added function silc_string_is_ascii to check whether given
5276           string is 7-bit ASCII string.  Affected files are
5277           lib/silcutil/silcutil.[ch].
5278
5279         * Added function silc_id_is_valid_server_id into the
5280           silcd/serverid.c and added checking for valid Server ID's in
5281           silc_server_new_server.  The Server ID must always be based
5282           on the server's public IP address.
5283
5284         * Added logging of DISCONNECT packet message in the server.
5285           Affected file silcd/server.c.
5286
5287 Sat Mar 16 18:04:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5288
5289         * Changed all library interfaces that use Global RNG to also
5290           accept SilcRng as argument.  Affected files are
5291           lib/silcclient/command.c, lib/silccore/silcauth.[ch],
5292           lib/silccore/silcchanel.[ch], lib/silcclient/client_channel.c,
5293           silcd/packet_send.c, lib/silccore/silcprivate.[ch],
5294           lib/silcmath/silcprimegen.c, lib/silcmath/silcmath.h, and
5295           lib/silccrypt/rsa.c.
5296
5297         * Added function silc_pkcs_generate_key to the
5298           lib/silccrypt/silcpkcs.[ch] for applications so that they
5299           don't need to do pkcs->pkcs->init calls anymore.
5300
5301         * Remove SilcSocketConnection from the SFTP API since it really
5302           wasn't needed there.  The application has the information
5303           saved in its contexts anyway and the SFTP layer doesn't need
5304           know about it.  Affected files lib/silcsft/silcsftp.h and
5305           lib/silcsftp/sftp_[server/client].c.
5306
5307         * Rewrote the SILC SIM (modules) interface in lib/silcsim.[ch].
5308           The SilcSimContext is not SilcSim.
5309
5310         * Fixed possible buffer overflows in silc_id_render in the
5311           lib/silcutil/silcutil.c.
5312
5313         * On EPOC the global crypto module lists are not used at all
5314           in the crypto library.  Added support for using the constant
5315           algorithm list on EPOC.  Affected files are
5316           lib/silccrypt/silccipher.c, silchash.c, silchmac.c and
5317           silcpkcs.c.
5318
5319         * Fixed the handling of third parameter of KICKED notify, since
5320           it was mistakenly updated to SILC Protocol 1.0 even though it
5321           is to be included in 1.1.  Since it is not in 1.0 it is not
5322           mandatory, and this fix now handles it only if it is provided,
5323           and it is not error if it is not provided.  Affected file
5324           lib/silcclient/client_notify.c.
5325
5326 Sat Mar 16 09:07:27 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5327
5328         * Handled CHANNEL_CHANGE notify (ignore it) in Irssi SILC
5329           client.  Affected file irssi/src/silc/core/client_ops.c.
5330
5331         * Merged with Irssi 0.8.4 from irssi.org CVS.
5332
5333 Thu Mar 14 12:53:57 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5334
5335         * Check for valid socket connection in client entries before
5336           sending any messages.  Fixes a crash, but doesn't fix some
5337           other underlaying bug that is lurking there.  Affected
5338           file silcd/packet_send.c.
5339
5340 Thu Mar 14 13:38:12 EET 2002  Timo Sirainen <tss@iki.fi>
5341
5342         * $usermode, $cumode and $cumode_space expandos shouldn't do
5343           anything with non-SILC server records. Affected file
5344           irssi/src/silc/core/silc-expandos.c
5345
5346 Wed Mar 13 21:38:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5347
5348         * Fixed the silc_net_check_[host/local]_by_sock to support
5349           IPv6 bound sockets as well.  Now they can return IPv6 addresses
5350           as well.  Affected file lib/silcutil/silcnet.c.
5351
5352         * Fixed silc_net_addr2bin to correctly convert IPv6 addresses.
5353           Affected lib/silcutil/unix/silcunixnet.c.
5354
5355         * Fixed ID rendering (at least on some platforms, not NetBSD)
5356           for IPv6 addresses.  Affected file lib/silcutil/silcutil.c.
5357
5358 Tue Mar 12 17:58:59 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5359
5360         * Added silc_hash_public_key and silc_hash_public_key_compare
5361           functions to be used with SilcHashTable.  They can be used to
5362           hash public keys and compare public keys in hash table.  Affected
5363           file lib/silcutil/silcutil.[ch].
5364
5365         * Added support for specifying multiple public keys for Client
5366           connection section in server configuration file.  This makes it
5367           possible to accept multiple public keys from same host, or to
5368           make a section that accepts any incoming host, and have the
5369           accepted public keys listed in the section.
5370
5371           Added functions silc_sever_[find/get]_public_key,  added the
5372           support for this actually to all connection sections but only
5373           the Client section is currently allowed to specify multiple
5374           public keys.
5375
5376           Affected files are silcd/server.c, server_internal.h,
5377           command.c, protocol.c, server_util.[ch], packet_receive.c.
5378
5379 Mon Mar 11 23:37:38 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5380
5381         * Merged Irssi 0.8.2 from irssi.org CVS.
5382
5383 Sun Mar 10 23:34:48 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5384
5385         * If silc_debug is TRUE, also output standard logging messages
5386           to stderr with the debug output.
5387
5388           Made silc_log_reset_all() flushing all channels before returning.
5389           Also fixed some documentation typos.
5390
5391           Affected files are lib/silcutil/silclog.[ch].
5392
5393 Sun Mar 10 20:07:49 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5394
5395         * Fixed the server to check correctly the amount of connections
5396           from single host, by checking also the type of the connection.
5397           Fixed also the comparison of number of connections and number
5398           of allowed connections.  Affected files are silcd/server.c,
5399           server_util.[ch].
5400
5401 Fri Mar  8 17:16:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5402
5403         * Fixed the USERS command reply to save the user's mode on the
5404           channel as well.  Fixed JOIN command reply to check whether a
5405           client is on channel already and not join it twice.  Affected
5406           file lib/silcclient/command_reply.c.
5407
5408         * Added new file silc-expandos.c into irssi/silc/core/ to return
5409           various stuff for various signal for the statusbar etc. updating.
5410           Now Irssi SILC client prints channel user modes etc. on the
5411           statusbar.
5412
5413         * The user mode (like server/router operator changes) is now shown
5414           on the Irssi SILC client's statusbar.  The affected files are
5415           irssi/src/silc/core/client_ops.c, silc-expandos.c.
5416
5417 Thu Mar  7 19:21:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5418
5419         * Changed silc_mutex_[un]lock calls in lib/silcutil/silcschedule.c
5420           to SILC_SCHEDULE_[UN]LOCK macros.
5421
5422         * Added more error printing to logs in server code.  Affected
5423           files silcd/server.c and silcd/protocol.c.
5424
5425         * Fixed -S option parsing in Irssi SILC Client.  Affected file
5426           irssi/src/silc/core/silc-core.c.
5427
5428         * Added silc_buffer_alloc_size function.  Affected file is
5429           lib/silcutil/silcbuffer.h.
5430
5431 Tue Mar  5 14:37:27 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5432
5433         * Changed all silc_[hash|hmac|cipher|pkcs]_default tables to
5434           constants.  Affected files in
5435           lib/silccrypt/silcpkcs.[ch], silchash.[ch], silchmac.[ch] and
5436           silccipher.[ch].
5437
5438         * Changed the internal SFTP Memory FS table to const.  Affected
5439           file lib/silcsftp/sftp_fs_memory.c.
5440
5441 Sun Mar  3 18:37:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5442
5443         * Fixed the buffer formatting and unformatting routines to
5444           check the size of 64 bits types with sizeof().  Affected
5445           file is lib/silcutil/silcbuffmt.c.
5446
5447 Mon Feb 25 17:19:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5448
5449         * Removed 0.6.x backwards support.
5450
5451 Sun Feb 24 12:53:25 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5452
5453         * Changed all integer type names:
5454           [u]int[8/16/32/64] -> Silc[UInt/Int][8/16/32/64].  This is
5455           to avoid collisions with other libraries using same type names
5456           as we did.
5457
5458 Sat Feb 23 20:31:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5459
5460         * Added `prefer_ipv6' argument to the functions
5461           silc_net_gethostbyname[_async].  If it is TRUE it will return
5462           IPv6 address over IPv4.  If FALSE IPv4 address is returned
5463           even if IPv6 address was found.  Affected files
5464           lib/silcutil/silcnet.[ch].
5465
5466         * Added support silc_net_create_connection[_async] to fallback
5467           to IPv4 address if IPv6 address could not be used (like if
5468           it doesn't work on a specific system).  Affected file in
5469           lib/silcutil/unix/silcunixnet.c.
5470
5471 Sat Feb 23 15:20:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5472
5473         * Added silc_schedule_reinit function to do the enlarging
5474           of the max tasks handling capabilities of the scheduler.
5475           Affected files lib/silcutil/silcschedule.[ch].
5476
5477 Wed Feb 20 20:41:01 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5478
5479         * Added automatic extern "C" { ... } for C++ compilers so the
5480           application does not need to define them.  Affected file
5481           includes/silcincludes.h.
5482
5483         * Renamed lib/silcclient/silcapi.h to silcclient.h as the
5484           old name went against naming convention.  Applications now
5485           include "silcclient.h" instead of "clientlibincludes.h".
5486           Removed includes/clientlibincludes.h, it is redundant now.
5487
5488         * Renamed includes/version.h to silcversion.h.
5489
5490         * Added really preliminary support for OS/2 into the util
5491           library.  Only thread & mutex API is implemented, others
5492           are still to be implemented.  Created the lib/silcutil/os2/
5493           directory.  Created also file includes/silcos2.h.
5494
5495 Wed Feb 20 18:48:49 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5496
5497         * Added preliminary BeOS support into the util library.
5498           Created lib/silcutil/beos/, and implemented all the needed
5499           functions to support SILC on BeOS.  Created also file
5500           includes/silcbeos.h.
5501
5502 Mon Feb 18 15:49:22 EET 2002  Timo Sirainen <tss@iki.fi>
5503
5504         * Added proper initializations to silc's irssi code, so it's
5505           now possible to load it as module.  Affected files
5506           irssi/src/silc/core/silc-core.c,
5507           fe-common/silc/fe-common-silc-core.[ch] and fe-text/silc.c
5508
5509 Sun Feb 17 19:02:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5510
5511         * Merged latest Irssi (0.8.1) from the irssi.org's CVS into
5512           the SILC tree.
5513
5514         * Fixed the silcdoc document generator to correct generate
5515           docs from all kinds of filenames.  Affected files are
5516           util/robodoc/Source/generator.c, scripts/silcdoc/silcdoc
5517
5518         * ROBOdoc documented lib/silcutil/silcmemory.h.
5519           Added also new function silc_memdup.
5520
5521         * Removed lib/silcutil/silcbufutil.h and moved those routines
5522           to the lib/silcutil/silcbuffer.h.
5523
5524 Sun Feb 17 15:52:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5525
5526         * Added `user_count' to the SilcChannelEntry which now tells the
5527           number of users on the channel.  The user count is now saved
5528           in normal server of global channels as well.  Affected files
5529           silcd/server.c, idlist.h, packet_receive.c and command.c.
5530
5531         * Splitted lib/silcutil/silcutil.[ch] into silcfileutil.[ch] to
5532           include file utility functions.
5533
5534         * Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines
5535           instead of calling directly OS routines.
5536
5537         * Fixed NICK change printing in Irssi SILC Client. Fixed
5538           KICKED notify printing in Irssi SILC Client.  Affected file
5539           irssi/src/silc/core/client_ops.c.
5540
5541         * Fixed a NICK change bug in client library, to not recreate the
5542           client_entry->channels hash table everytime nick is changed.
5543           Affected file lib/silcclient/client.c.
5544
5545 Sun Feb 17 10:10:14 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5546
5547         * ROBOdoc documented the lib/silcske/silcske.h, and improved
5548           the SKE interface a bit.
5549
5550         * Fixed padding problem in PKCS#1. The padding was not actually
5551           random since the random number generator was used incorrectly.
5552           This security bug affects only when encrypting with PKCS#1, and
5553           it is not currently used at all in SILC. SILC only use signing
5554           with PKCS#1. Affected file lib/silccrypt/pkcs1.c.
5555
5556 Sat Feb 16 13:44:24 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5557
5558         * Rewrote the notify handling in Irssi SILC client to not call
5559           the events as signals.  Fixes problems with Perl support.
5560           Affected files irssi/src/silc/core/client_ops.c, silc-channels.c.
5561
5562         * Send the auto-nicking NICK command in client library with
5563           little timeout after connecting.  The affected file is
5564           lib/silcclient/client.c.
5565
5566         * Added following new config file settings:
5567           channel_rekey_secs, key_exchange_rekey, key_exchange_pfs,
5568           key_exchange_timeout, conn_auth_timeout, connections_max,
5569           links_max.
5570
5571           Implemented all the new config settings handling in the server.
5572
5573           Optimized the use of SKE Mutual flag usage.  Use it only
5574           if connection authentication protocol is not based in public
5575           key authentication.
5576
5577           Renamed all SilcServerConfigSection* to SilcServerConfig*
5578           to have a bit shorter names.
5579
5580           Affected files silcd/serverconfig.[ch], server.[ch], and
5581           protocol.[ch].
5582
5583 Sat Feb 16 02:46:43 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5584
5585         * Cleaned up the listening sockets code, preparing for the rehash
5586           support.  Affected file is silcd/server.c.
5587
5588         * Fixed some output messages.  Affected files are silcd/silcd.c,
5589           and silcd/server.c.
5590
5591 Fri Feb 15 19:10:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5592
5593         * Create lib/doc/silcrng_intro.html document as introduction
5594           to SILC RNG.  ROBOdoc documented lib/silccrypt/silcrng.h.
5595
5596 Fri Feb 15 13:23:03 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5597
5598         * Fixes to the silcd config template.  Affected file is
5599           doc/example_silcd.conf.in.
5600
5601         * Removed type casts from silc_calloc(), conforming to the
5602           CodingStyle.  Affected file is lib/silcutil/silcconfig.c.
5603
5604         * Removed param_name member from client, server, and router
5605           section structs, now identifying the param directly.
5606
5607           Added CONFIG_FREE_AUTH macro in config file parsing.
5608
5609           Affected files are silcd/serverconfig.[ch].
5610
5611 Fri Feb 15 12:24:08 EET 2002  Timo Sirainen <tss@iki.fi>
5612
5613         * Fixed command line parameter handling. All SILC initialization
5614           is now done in silc_core_init() which also fixes autoconnecting
5615           to servers.
5616
5617           Affected files irssi/src/silc/core/silc-core.c,
5618           irssi/src/fe-text/silc.c.
5619
5620 Thu Feb 14 22:03:58 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5621
5622         * Added new configuration options and blocks:
5623           keepalive_secs, reconnect_count, reconnect_interval,
5624           reconnect_interval_max, reconnect_keep_trying and
5625           require_reverser_lookup.  Added ConnectionParam block, and
5626           implemented the connection parameters when connecting as
5627           initiator and when accepting connections as responder.
5628
5629           Added CONFIG_IS_DOUBLE macro in config file parsing, to check
5630           whether given configuration value has been given already.
5631
5632           Affected files silcd/serverconfig.[c], server.[c].
5633
5634         * Splitted the doc/example_silcd.conf.in.  Separated the crypto
5635           algorithm parts and created new file silcalgs.conf, that
5636           is now included from the example_silcd.conf.in.
5637
5638         * Optimized the silc_server_connect_to_router_second to take
5639           the connection configuration object from the SilcServerConnection
5640           object instead of finding it during the connecting phase.
5641           Added the configuration object to SilcServerConnection struct.
5642           Affected files silcd/server_internal.h, server.c.
5643
5644 Thu Feb 14 16:02:26 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5645
5646         * Add the client on channel after it was resolved at the
5647           channel message receiving, and it was not already on the
5648           channel.  Affected file lib/silcclient/client_channel.c.
5649
5650 Wed Feb 13 23:16:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5651
5652         * Fixed the public key authentication to allocate always the
5653           destination signature buffer instead of using static buffer.
5654           Affected file silcd/protocol.c.
5655
5656 Wed Feb 13 20:51:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5657
5658         * Unified the serverconfig.[ch]'s helper function interface.
5659           Affected file silcd/serverconfig.[ch].
5660
5661         * Removed doc/example_silc.conf.in since it is redundant.
5662           The make install will now install irssi/silc.conf file.
5663
5664         * Added new Passphrase and Publickey authentication methods to
5665           config file, allowing both public key and passphrase based
5666           authentication to be set at the same time.
5667
5668           Added `prefer_passphrase_auth' setting in config file which
5669           can be used to set to prefer passwd auth if both passwd and
5670           public key is set.  If not set, public key is preferred.
5671           This has effect only when being initiator (responder will try
5672           both anyway).
5673
5674           Added support for authentication with passphrase and public key
5675           at the same time.  The passphrase is tried first always since
5676           it is faster to check.
5677
5678           Affected file silcd/serverconfig.[ch], server.c, protocol.[ch].
5679
5680 Wed Feb 13 12:46:25 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5681
5682         * Merged the new SILC Config library, with the server parsing
5683           support.  Read the header file silcconfig.h or the toolkit
5684           documentation for the news.  Affected files are
5685           doc/example_silcd.conf.in lib/silcutil/silcconfig.[ch]
5686           silcd/command.c silcd/packet_receive.c silcd/packet_send.c
5687           silcd/protocol.c silcd/server.c silcd/server_backup.c
5688           silcd/serverconfig.[ch] silcd/silcd.c.
5689
5690         * Fixed some silclog documentation.  Affected file is
5691           lib/silcutil/silclog.h.
5692
5693 Sun Feb 10 18:11:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5694
5695         * The silc_cipher_register, silc_hash_register and
5696           silc_hmac_register now checks if the object to be registered
5697           is registered already.  Affected files are
5698           lib/silccrypt/silccipher.c, silchash.c and silchmac.c.
5699
5700 Sun Feb 10 15:48:38 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5701
5702         * Merged new irssi from irssi.org's CVS, the version 0.7.99.
5703
5704 Sat Feb  9 14:54:33 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5705
5706         * Allow zero length channel messages inside the Channel Message
5707           Payload.  Affected file lib/silccore/silcchannel.c.
5708
5709         * Fixed scripts/silcdoc/silcdoc to support all kinds of filenames
5710           as header filenames.
5711
5712         * Removed lib/silcclient/README and created HTML file
5713           lib/silcclient/silcclient_using.html, which is now included
5714           as part of Toolkit documentation.
5715
5716 Thu Feb  7 10:12:25 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5717
5718         * Fixed CUMODE_CHANGE notify handling to change the mode of
5719           correct client.  Affected file lib/silcclient/client_notify.c.
5720
5721         * Make silc_rng_alloc fail if it cannot allocate the sha1
5722           hash algorithm.  Affected file lib/silccrypt/silcrng.c.
5723
5724 Sun Feb  3 17:20:52 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5725
5726         * Fixed the file transfer's key agreement payload to include
5727           zero port also if the hostname is NULL because it could not
5728           be bound.
5729
5730           Call file transfer monitor callback now also if error occurs
5731           during key agreement protocol.
5732
5733           Changed the silc_client_file_send interface to return the
5734           SilcClientFileError instead of session id.  The session ID
5735           is returned into pointer provided as argument.
5736
5737           Check that the file exists locally before sending the
5738           file transfer request at all.
5739
5740           Affected file lib/silcclient/client_ftp.c, silcapi.h.
5741
5742         * Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer
5743           error than can occur while key agreement protocol.  Affected
5744           file lib/silcclient/silcapi.h.
5745
5746         * Fixed the event_mode CMODE handler to not crash when mode
5747           is changed and +k mode is set in the channel.  Affected file
5748           irssi/src/silc/core/silc-channels.c.
5749
5750         * Fixed SILC_LOG_ERROR to give out Error and not Warning, and
5751           SILC_LOG_WARNING to give out Warning and not Error.  Affected
5752           file lib/silcutil/silclog.c.
5753
5754         * Fixed the channel message payload decryption in the function
5755           silc_channel_message_payload_decrypt to not modify the original
5756           buffer before it is verified that the message decrypted
5757           correctly.  Otherwise, next time it is called with correct
5758           channel key it won't encrypt since the payload is corrupted.
5759           Affected file lib/silccore/silcchannel.c.
5760
5761 Sun Feb  3 11:46:12 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5762
5763         * Do not constantly resize the window.  A fix patch by cras.
5764           Affected file irssi/src/fe-text/screen.c.
5765
5766 Sat Feb  2 16:54:18 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5767
5768         * Applied IPv6 fix patch from Jun-ichiro itojun Hagino.
5769           Affected file lib/silcutil/silcnet.c.
5770
5771 Fri Feb  1 22:33:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5772
5773         * Fixed a bug in hash table internal routine for traversing
5774           the table with foreach callback.  The current entry may
5775           become invalid in the callback but it was referenced after
5776           the callback returned.
5777
5778           Do not allow auto rehashing of hash table during the
5779           silc_hash_table_foreach operation, for same reasons as it is
5780           not allowed for SilcHashTableList.  Affected files are
5781           lib/silcutil/silchashtable.[ch].
5782
5783 Fri Feb  1 14:55:00 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5784
5785         * Defined DLLAPI into silcincludes.h and silcwin32.h for
5786           Win32 DLL.  extern's in header files are now declared with
5787           DLLAPI.
5788
5789 Thu Jan 31 23:34:33 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5790
5791         * Fixed private message handling.  It used some old code that
5792           caused the client to crash.  Affecte file is
5793           lib/silcclient/client_prvmsg.c.
5794
5795 Thu Jan 31 19:06:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5796
5797         * Added function silc_client_add_channel,
5798           silc_client_replace_channel_id, and removed functions
5799           silc_client_new_channel_id and silc_idlist_get_channel_by_id
5800           from client library.
5801
5802         * Added cross reference of the joined channels to the
5803           SilcClientEntry, and changed the SilcChannelEntry's
5804           users list to SilcHashTable.  The affected files are
5805           lib/silcclient/idlist.[ch].
5806
5807         * Fixed a bug in hash table tarversing.  While the hash table
5808           is traversed with SilcHashTableList the table must not be
5809           rehashed.  It is now guaranteed that auto rehashable tables
5810           are not rehashed while tarversing the list.  Also defined that
5811           silc_hash_table_rehash must not be called while tarversing
5812           the table.  Added function silc_hash_table_list_reset that must
5813           be called after the tarversing is over.  The affected files are
5814           lib/silcutil/silchashtable.[ch].
5815
5816         * Changed all hash table traversing to call the new
5817           silc_hash_table_list_reset in server and in client library.
5818
5819         * Added function silc_client_on_channel to return the
5820           SilcChannelUser entry if the specified client entry is joined
5821           on the specified channel.  This is exported to application as
5822           well.  Affected files lib/silcclient/client_channel.c, silcapi.h.
5823
5824 Wed Jan 30 19:14:31 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5825
5826         * Fixed founder regaining problem with JOIN command on normal
5827           server.  The notify for mode change must be sent always and
5828           not only if !cmd->pending.  Affected file silcd/command.c.
5829
5830         * Fixed the WHOWAS command's reply sending to support the
5831           lists correctly.  Affected file silcd/command.c.
5832
5833 Wed Jan 30 11:11:47 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5834
5835         * When sending JOIN command to router for processing the
5836           sender's old command identifier was not saved back to the
5837           sender's command context, fixed now.  The affected file is
5838           silcd/command.c.
5839
5840         * Create the key in JOIN command of the router did not return
5841           the channel key, added check for this.  Affected file is
5842           silcd/command.c.
5843
5844         * Fixed a channel ID update bug in JOIN command reply.  Do
5845           not directly upgrade the ID but call the function
5846           silc_idlist_replace_channel_id if the ID was changed.
5847           Affected file silcd/command_reply.c.
5848
5849         * Fixed memory leaks from command calling if it would fail.
5850           Affected file silcd/command.c.
5851
5852 Tue Jan 29 19:49:31 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5853
5854         * Applied patches from cras:
5855
5856           Memory leak fixes around libaries, irssi window resize fix,
5857           new silclist.h and silcdlist.h, all extern inline changed to
5858           static inline.
5859
5860         * Removed dotconf from lib/dotconf, not needed anymore.
5861
5862         * Removed TRQ from lib/trq, not needed anymore.
5863
5864         * Do more frequent heartbeats (5 minutes instead of 10 minutes)
5865           with server connections.  Later this will be configurable
5866           in config file after new config file is done.  Affected file
5867           silcd/server.c.
5868
5869 Tue Jan 29 10:35:03 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5870
5871         * Fixed a crash in server related to channel announcements.
5872           Affected file silcd/server.c.
5873
5874 Mon Jan 28 17:49:42 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5875
5876         * Fixed memory leaks in silc_server_create_new_channel*
5877           functions.  Affected file silcd/server.c.
5878
5879         * Fixed the CHANNEL_CHANGE notify to re-announce the channel
5880           which ID was changed.  This way the router will send the
5881           user list for the channel again, and server won't be in
5882           desync in some rare circumstances.  Affected file is
5883           silcd/packet_receive.c.
5884
5885 Sun Jan 27 21:04:19 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5886
5887         * Check for NULL socket pointer in the function
5888           silc_server_packet_send_to_channel_real.  Affected file
5889           silcd/packet_send.c.
5890
5891         * Fixed the BAN notify handling to correctly remove ban
5892           list.  Affected file silcd/packet_receive.c.
5893
5894 Sat Jan 26 23:01:03 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5895
5896         * Fixed some header addition to Toolkit distribution in
5897           lib/silcutil/Makefile.am and lib/trq/Makefile.am.
5898
5899         * Added lib/silcclient/client_ops_example.h as an template
5900           file for application programmers to quickly start using
5901           the SilcClientOperation functions in their application.
5902           Updated the lib/silcclient/README as well to tell about this
5903           nice file made available.
5904
5905 Sat Jan 26 10:45:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5906
5907         * Call silc_server_remove_from_channels when removing client
5908           entry when NO_SUCH_CLIENT_ID was received.  Affected file
5909           is silcd/command_reply.c.
5910
5911 Fri Jan 25 19:12:36 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5912
5913         * Added server & router operator statistics updating.  Affected
5914           file silcd/packet_receive.c and silcd/command.c.
5915
5916         * Fixed the SERVER_SIGNOFF notify handling on normal server
5917           not to save the history information for clients.  Same was
5918           fixed earlier in remove_clients_by_server function, but not
5919           here.  Affected file silcd/packet_receive.c.
5920
5921         * Raised the default connection-retry count from 4 to 7 in
5922           server.  Affected file silcd/server.h.
5923
5924         * Cancel any possible reconnect timeouts when we start the
5925           key exchange.  Affected file silcd/server.c.
5926
5927         * Do not reconnect on connection failure when SCONNECT was
5928           given.  Affected files silcd/server.[ch].
5929
5930 Tue Jan 22 18:19:36 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5931
5932         * Removed assert()'s from the lib/silcclient/client_keyagr.c.
5933
5934         * Fixed the NICK command to always give the unformatted
5935           nickname to the one giving the NICK command.  If unformatted
5936           nickname is cached already it will be formatted and the
5937           local entry will always get the unformatted nickname.
5938           Affected file lib/silcclient/idlist.c.
5939
5940         * Fixed some double frees from client library commands.
5941           Affected file is lib/silcclient/command.c.
5942
5943         * Fixed CUMODE command in server to assure that no one can
5944           change founder's mode than the founder itself, there was a
5945           little bug.  Affected file silcd/command.c.
5946
5947 Mon Jan 21 19:07:53 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5948
5949         * Removed the SilcClientCommandDestructor from the client
5950           libary, it is not needed anymore.  Affected files are
5951           lib/silcclient/silcapi.h, command[_reply].[ch],
5952           client_notify, idlist.c.
5953
5954         * Fixed GETKEY command to first resolve client, and then
5955           resolve the server only if the client was not found, instead
5956           of resolving both at the same time.  Affected file is
5957           lib/silcclient/command.c.
5958
5959         * Added silc_client_start_key_exchange_cb and lookup the
5960           remote hostname and IP address before starting the key
5961           exchange with server.  The affected file is
5962           lib/silcclient/client.c.
5963
5964         * The server's public key is now saved using the IP address
5965           of the server and not the servername for the filename.
5966           The hostname public key filename is checked as an fall back
5967           method if the IP address based filename is not found.
5968
5969           Fixed the GETKEY command to save the fetched server key
5970           in correct filename.
5971
5972           Print the remote server's hostname now when new key is
5973           received during connection process.  Affected file is
5974           irssi/src/silc/core/client_ops.c.
5975
5976         * Return always our own public key to the client if it asks
5977           for it with GETKEY command.  Affected file silcd/command.c.
5978
5979         * Removed the use_auto_addr variable from default config
5980           file since it was in wrong section.  Affected file is
5981           irssi/src/config.
5982
5983         * Fixed TOPIC_CHANGE notification to not route it when it
5984           was sent using silc_server_send_notify_to_channel function.
5985           Affected file silcd/command.c.
5986
5987         * Fixed silc_server_send_notify_kicked to send the kicker's
5988           Client ID also, it was missing.  Affected files are
5989           silcd/command.c, silcd/packet_send.[ch].
5990
5991 Thu Jan 17 18:59:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5992
5993         * Do not save client history information in SERVER_SIGNOFF.
5994           Fixes the bug in normal server that it does not detect
5995           the client becoming valid after the server becomes back
5996           online.  Affected file silcd/server_util.c.
5997
5998         * Added `sock_error' field  into the SilcSocketConnection
5999           context.  When error occurs during socket operation (read
6000           or write) the error is saved.  Added also new function
6001           silc_socket_get_error to return human readable socket error
6002           message.  Affected files are lib/silcutil/silcsockconn.[ch],
6003           lib/silcutil/unix/silcunixsockconn.c, and
6004           lib/silcutil/win32/silcwin32sockconn.c.
6005
6006         * The server now prints the socket error message in the
6007           signoff for client.  Affected file silcd/server.c.
6008
6009         * Fixed the `created' channel information sending from router
6010           to server in JOIN command.  Checks now whether the channel
6011           really was created or not and set it according that.
6012
6013           Fixed the JOIN command to use the client entry's current
6014           ID during the joining procedure instead of the one it sent
6015           in the command (it is checked though), since it can change
6016           between the packet processing and command processing, and
6017           would just case unnecessary pain in the client end.  Affected
6018           file silcd/command.c.
6019
6020         * Fixed a channel key payload sending to use correct channel
6021           ID when the server was forced to change the channel's ID by
6022           router.  Router sent the key payload with the old Channel ID.
6023           Affected file silcd/packet_receive.c.
6024
6025 Wed Jan 16 22:26:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
6026
6027         * Call silc_server_save_channel_key only if the key payload
6028           was provided in the JOIN command's command reply.  Affected
6029           file silcd/command_reply.c.
6030
6031 Tue Jan 15 18:49:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
6032
6033         * Fixed silc_mp_sizeinbase to return the value correctly with
6034           MPI.  Affected file lib/silcmath/mp_mpi.c.
6035
6036         * Fixed the stop_server signal to correctly stop the scheduler
6037           and gracefully stop the server when SIGTERM or SIGINT signals
6038           are received.  Affected file silcd/silcd.c.
6039
6040 Mon Jan  7 23:38:19 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
6041
6042         * Simple handling of TERM and HUP signals. Also added some log
6043           flushing call around.  Affected file is
6044           silcd/silcd.c.
6045
6046         * Fixed small bugs in silclog.c. Now buffering output will take
6047           effect after 10 seconds since startup: This will ensure that
6048           no important startup messages are lost. Also output redirection
6049           will preserve original format ([Date] [Type] message).
6050           Affected file is lib/silcutil/silclog.c.
6051
6052         * Added two options to the config file, in the logging section:
6053           quicklogs:<yes/no>: and flushdelay:<seconds>:.  Affected files
6054           lib/silcutil/silclog.[ch], silcd/serverconfig.[ch].
6055
6056 Sun Jan  6 12:49:40 EET 2002  Pekka Riikonen <priikone@silcnet.org>
6057
6058         * Do not print the warning about log files not being initialized
6059           more than once to avoid excess logging.  Affected file is
6060           lib/silcutil/silclog.c.
6061
6062         * Fixed the SIM compilation in lib/silcsim/Makefile.am.  Fixed
6063           the SIM copying in make install in Makefile.am.pre.
6064
6065 Sun Jan  6 01:10:21 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
6066
6067         * Rewritten silclog APIs. Globally interesting changes follows:
6068           silc_log_set_files() changed to silc_log_set_file().
6069           silc_log_set_callbacks() changed to silc_log_set_callback().
6070           ROBOdoc documented silclog header file.
6071           SilcLogCb now returns bool to wether inihibit the default
6072           handler or not (to keep the old behaviour return always TRUE).
6073           The new APIs should also fix the problem of the
6074           silcd_error.log file that was written in the current directory.
6075
6076           New features:
6077           Log files streams will remain opened after silc_log_set_file()
6078           call, means less CPU usage notably on high traffic servers.
6079           File streams are now full buffered, and flushed to the disk
6080           every 5 minutes, lesses HD activity and CPU usage.
6081           Messages can be redirected, allowing admins to configure
6082           one single logfile for all server messages.
6083           the silc_log_quick global variable to activate fast-logging.
6084           Affected files lib/silcutil/silclog.[ch]
6085
6086         * Changed some code to conform new silclog APIs. Affected
6087           files are doc/example_silcd.conf.in, silcd/server.c
6088           irssi/src/silc/core/silc-core.c, silcd/serverconfig.[ch],
6089           silcd/silcd.c.
6090
6091         * Fixed a memory leak that could occur in some situations.
6092           Affected file silcd/serverconfig.c.
6093
6094 Sat Jan  5 13:37:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
6095
6096         * Added the silc_client_del_client to remove the client from
6097           all channels as well.  Affected file lib/silcclient/idlist.c.
6098
6099         * Fixed the client library to correctly remove the client
6100           from all channels when the client entry is being destroyed.
6101           Affected file lib/silcclient/client_notify.c, command.c.
6102
6103         * Added auto-nicking support to the client library.  If the
6104           applicatio now sets client->nickname it will be sent to the
6105           server after connecting by the library.  This way for example
6106           SILCNICK (or IRCNICK) environment variables will have effect
6107           and always change the nickname automatically to whatever
6108           it is wanted.  Affected file lib/silcclient/client.[ch].
6109
6110         * Renamed silc_server_command_bad_chars to the
6111           silc_server_name_bad_chars and moved it to the
6112           silcd/server_util.[ch].  Added also new function
6113           silc_server_name_modify_bad to return nickname that
6114           includes bad characters as new nickname without those
6115           bad characters.  This check and modify is now used in
6116           silc_server_new_client when the username is initially set
6117           as nickname, so it must be checked to be valid nickname.
6118           Affected file silcd/packet_receive.c.
6119
6120         * The nickname length is now taken from the packet for real
6121           and not trusted to strlen() since it clearly can return
6122           wrong length for nickname including bad characters.  This
6123           also applies to channel names.  Affected file silcd/command.c.
6124
6125         * Removed the lib/silcsilm/modules directory.  Modules are now
6126           compiled into the lib/silcsim.  Fixed the copying of the
6127           modules to follow symbolic links in Makefile.am.pre.
6128
6129 Wed Jan  2 18:56:21 EET 2002  Pekka Riikonen <priikone@silcnet.org>
6130
6131         * Fixed silc_string_regexify list creation.  Fixes bugs with
6132           BAN and INVITE commands in server.  The affected file is
6133           lib/silcutil/unix/silcunixutil.c.
6134
6135 Sun Dec 30 13:41:34 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6136
6137         * Removed the command destructor entirely from the server's
6138           command and command reply routines.  It is not needed, and
6139           its usage was buggy and caused crashes.  Affected files are
6140           silcd/command[_reply].[ch].
6141
6142 Fri Dec 28 12:43:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6143
6144         * Cancel protocol and NULL sock->protocol if timeout
6145           occurred during protocol.  Affected file silcd/server.c.
6146
6147         * Cancel protocol timeouts always before calling the final
6148           callback, to assure that after final callback is called
6149           no other state will be called for the protocol anymore.
6150           Affected file silcd/protocol.c.
6151
6152         * Print error log if incoming connection configuration could
6153           not be found.  Affected file silcd/server.c.
6154
6155         * Fixed JOIN command to correctly save the founder mode
6156           to the client on normal SILC server, when the channel
6157           was created by the router.  Affected file silcd/command.c.
6158
6159         * Fixed LIST command (hopefully) to send correct reply
6160           packets.  Affected file silcd/command.c.
6161
6162 Thu Dec 20 16:14:52 CET 2001  Pekka Riikonen <priikone@silcnet.org>
6163
6164         * The silc_packet_receive_process now returns FALSE if the
6165           read data was invalid packet, and TRUE if it was ok.
6166
6167           The server now checks that if unauthenticated connection
6168           sends data and its processing fails the server will close
6169           the connection since it could be a malicious flooder.
6170
6171           Affected files lib/silccore/silcpacket.[ch], silcd/server.c.
6172
6173 Wed Dec 19 21:31:25 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6174
6175         * Make sure the warning about error opening a log file is
6176           printed only once and not everytime it fails (produces
6177           too much useless log).  Affected file lib/silcutil/silclog.c.
6178
6179 Wed Dec 19 18:21:51 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
6180
6181         * Made the silc_server_daemonise() function more readable.
6182           Affected file silcd/server.c.
6183
6184         * Pid file is now optional, the user may comment it out from
6185           the config file. Removed define SILC_SERVER_PID_FILE, we
6186           don't need a default any longer.  Affected file
6187           configure.in.pre, lib/Makefile.am.pre.
6188
6189         * Make some use of the pid file. The server now dies at startup
6190           if it detects a valid pid file on his path. The server would
6191           die anyway in this circumstance, because of the bind() failure.
6192           Affected file silcd/silcd.c.
6193
6194         * No longer compiling lib/dotconf.
6195
6196 Mon Dec 17 18:24:27 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6197
6198         * Fixed JOIN command parsing not to crash.  Affected file
6199           lib/silcclient/command.c.
6200
6201         * Fied the NICK_CHANGE notify to add the new client entry
6202           even it is resolved.  This removes an <[unknown]> nick
6203           thingy bug in the client.  Affected file is
6204           lib/silcclient/client_notify.c.
6205
6206         * Do not try to allocate 0 bytes (efence does not like it)
6207           in lib/silccore/silccomand.c when encoding payload.
6208
6209         * Do not take IRCNICK as nickname in Irssi SILC client since
6210           it is not possible to set nickname before hand connecting
6211           the server (TODO has an entry about adding auto-nicking
6212           support).
6213
6214         * Changed the silc_server_command_pending to check whether
6215           there already exists an pending entry with the specified
6216           command, command identifier and pending callback.  This is
6217           to fix IDENTIFY and WHOIS related crashes that may register
6218           multiple pending commands with same identifier.  Affected
6219           file silcd/command.c.
6220
6221         * Fixed the server to reconnect to the router even if it
6222           was already reconnecting and EOF was received.  This to
6223           fix a possibility that the server wouldn't ever try to
6224           auto-reconnect to the router.  Affected file silcd/server.c.
6225
6226 Sat Dec 15 20:31:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6227
6228         * Fixed the server's password authentication to use the
6229           length of the locally saved password, and not the one
6230           sent in the packet.  Affected file silcd/protocol.c.
6231
6232         * Fixed same password authentication problem in the
6233           Authentication Payload handling routines in
6234           lib/silccore/silcauth.c.
6235
6236         * Yet another password authentication problem fixed with
6237           channel password handling in silcd/command.c.
6238
6239 Mon Dec 10 19:57:40 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6240
6241         * If first character of string in silc_parse_userfqdn is '@'
6242           then do not parse it.  Affected file is
6243           lib/silcutil/silcutil.c.
6244
6245 Sun Dec  9 22:18:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6246
6247         * Fixed minor bug in IDENTIFY command reply sending, which
6248           caused various weird problems during JOIN when it was
6249           resolving names for users.  Affected file silcd/command.c.
6250
6251 Sun Dec  9 19:18:41 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6252
6253         * Fixed the IDENTIFY command reply sending to chech better valid
6254           clients.  It was possible to send incomplete list of replies.
6255           Affected file silcd/command.c.
6256
6257 Sat Dec  8 15:58:31 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6258
6259         * Added silc_client_command[s]_[un]register functions now to
6260           dynamically register the commands in client library.  Removed
6261           the static table of commands.  This allows the client library
6262           to call commands without causing the application to know about
6263           what commands library has called.
6264
6265           Removed the INFO command reply kludge to detect when the command
6266           was called by library.  Now library use its own command reply
6267           function for INFO command.
6268
6269           Added function silc_client_command_call to call a command.
6270           Application can use it to call command, not access the structure
6271           directly.
6272
6273           Now all commands that are sent by the client library (not
6274           explicitly sent by application) use own command reply functions.
6275
6276           Affected files around lib/silcclient/ and in
6277           irssi/src/silc/core/.
6278
6279         * Fixed the WHOIS command reply sending to chech better valid
6280           clients.  It was possible to send incomplete list of replies.
6281
6282           Fixed the WHOIS and IDENTIFY to send the request to router
6283           if normal server did not do it and did not find any results.
6284
6285           Affected file silcd/command.c.
6286
6287 Thu Dec  6 17:21:06 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6288
6289         * Moved the internal data from SilcClient context into its
6290           own file, not accesible to application.  Affected files
6291           lib/silcclient/client.h and lib/silcclient/client_internal.h,
6292           and other files in client library.
6293
6294 Thu Dec  6 10:37:55 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6295
6296         * Added doc/examples installation target in Makefile.am.pre.
6297           A patch by salo.
6298
6299 Tue Dec  4 17:43:19 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6300
6301         * If NO_SUCH_CLIENT_ID notify is received for WHOIS or IDENTIFY
6302           commands the found client entry will be removed from the
6303           cache, after notifying application about the error.  Affected
6304           file lib/silcclient/command_reply.c.
6305
6306         * Changed the /MSG to check for exact nickname user gave, and
6307           not let `nick' match `nick@host' if it is only one found.  Now,
6308           user must type the exact nickname (like nick@host2) even if
6309           there are no more than one same nicks found.  This is to avoid
6310           a possibility of sending nickname to wrong nickname since
6311           `nick' could match `nick@host'.  Affected file is
6312           irssi/src/core/silc-servers.c.
6313
6314 Mon Dec  3 18:49:45 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6315
6316         * Do not print "you are now server operator" or similar when
6317           giving /away command.  Affected files are
6318           irssi/src/silc/core/client_ops.c, silc-servers.h.
6319
6320         * Made the silc_server_command_pending_error_check to send
6321           the same command reply payload it received back to the
6322           original sender of the command.  This way all arguments
6323           that was received by the server will be received by the
6324           client too.  Affected file silcd/command.c.
6325
6326         * Added the silc_idcache_add to return the created cache entry
6327           to a pointer.  Affected file lib/silccore/silcidcache.[ch].
6328
6329         * Add global clients to expire if they are not on any channel.
6330           This is because normal server will never know if they signoff
6331           if they are not on any channel.  The cache expiry will take
6332           case of these entries.  This is done by normal servers only.
6333           The affected files are silcd/command_reply.c,
6334           silcd/idlist.[ch], silcd/server and silcd/packet_receive.c.
6335
6336         * If server receives invalid ID notification for WHOIS or
6337           IDENTIFY and the ID exists in the lists, it is removed.
6338           Affected file silcd/command_reply.c.
6339
6340         * If NO_SUCH_CLIENT_ID is received for WHOIS or IDENTIFY command
6341           in client then client entry that it matches is searched and
6342           the nickname is printed on the screen for user.  Affected
6343           file irssi/src/silc/core/client_ops.c.
6344
6345 Mon Dec  3 11:56:59 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6346
6347         * Use cache entry expire time in the LIST command reply to
6348           purge old entries from the cache after the LIST command
6349           reply has been received.  This way we don't have non-existent
6350           entries in the cache for too long.  Affected file is
6351           silcd/command_reply.c.
6352
6353 Sun Dec  2 23:29:07 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6354
6355         * If we are normal server, and we've not resolved client info
6356           in WHOIS or IDENTIFY from router, and it is global client,
6357           we'll check whether it is on some channel.  If it is not
6358           then we cannot be sure about its validity and will resolve it
6359           from router.  Fixes a bug in WHOIS and IDENTIFY.  Affected
6360           file silcd/command.c.
6361
6362         * Search channel by name (if possible) rather than by ID
6363           in IDENTIFY command's command reply.  Affected file is
6364           silcd/command_reply.c.
6365
6366 Sun Dec  2 13:48:46 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6367
6368         * Distribute to the channel passphrase in CMODE_CHANGE notify.
6369           Updated specs and implemented it.  Affected file silcd/command.c,
6370           silcd/packet_send.c and silcd/packet_receive.c.
6371
6372         * Implemented the <founder auth> payload handling in the JOIN
6373           command.  If provided all conditions for channel joining
6374           except requirement to provide correct passphrase can be
6375           overrided by the channel founder.  Updated the protocol specs.
6376           Affected file silcd/command.c.
6377
6378           Added support for founder auth in JOIN command in client
6379           library.  Fixed the parsing of the JOIN command now to support
6380           all options as they should be.  The affected file is
6381           lib/silcclient/command.c.
6382
6383         * Optimized the WHOIS and IDENTIFY commands to send the request
6384           to router only if it includes nicknames or other names.  If
6385           they include only IDs then check the local cache first before
6386           routing.  Affected file is silcd/command.c.
6387
6388         * Added channels topic announcements.  Affected file is
6389           silcd/packet_receive.c and silcd/server.c.
6390
6391         * Fixed the silc_server_send_notify_topic_set to really destine
6392           the packet to channel.  Affected file silcd/packet_send.c.
6393
6394         * Fixed a crash in CHANNEL_CHANGE notify handling in the client
6395           library.  Affected file lib/silcclient/client_notify.c.
6396
6397         * Added UMODE announcements.  Affected file silcd/server.c.
6398
6399 Sat Dec  1 12:52:39 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6400
6401         * Memory leak fixes in:
6402
6403           lib/silcutil/silcsockconn.c
6404           lib/silcske/silcske.c
6405           lib/silcske/groups.c
6406           lib/silccrypt/rsa.c
6407           lib/silccrypt/silcpkcs.c
6408           lib/silccore/silccommand.c
6409           lib/silccore/silcidcache.c
6410           silcd/idlist.c
6411           silcd/packet_send.c
6412           silcd/command.c
6413
6414         * ROBOdoc documented the lib/silcske/groups.h file and a
6415           bit changed the interface for better.
6416
6417 Thu Nov 29 22:12:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6418
6419         * Update the client entry context in the ID cache after
6420           nick change.  Affected file lib/silcclient/command.c.
6421           Fixes the CUMODE command when regaining founder privileges,
6422           and a little WHOIS problem.
6423
6424         * Fixed silc_net_gethostbyname to correctly call the
6425           inet_ntop.  Affected file lib/silcutil/silcnet.c.
6426
6427 Thu Nov 29 19:31:23 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6428
6429         * Added IPv6 support checking to the configure.in.pre, added
6430           also --enable-ipv6 option to override the check.  Affected
6431           file configure.in.pre.
6432
6433         * The silc_thread_create now calls the start function
6434           directly if threads support is not compiled in.  Removes
6435           ugly #ifdef's from generic code.  Affected files are
6436           lib/silcutil/unix/silcunixthread, win32/silcwin32thread.c.
6437
6438         * Added silc_net_gethostby[name/addr]_async to asynchronously
6439           resolve.  Affected files are lib/silcutil/silcnet.[ch].
6440
6441         * Added support for rendering IPv6 based server, client and
6442           channel IDs.  Affected file lib/silcutil/silcutil.c.
6443
6444         * Added support for creating IPv6 based server IDs.  Affected
6445           file is silcd/serverid.c.
6446
6447 Wed Nov 28 23:46:09 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6448
6449         * Added silc_net_gethostby[addr/name] into the
6450           lib/silcutil/silcnet.[ch].  Added IPv6 support to Unix network
6451           routines.  Added silc_net_is_ip[4/6].  Affected file is
6452           lib/silcutil/unix/silcunixnet.c.  All routines that take
6453           address as argument now supports both IPv4 and IPv6 addresses.
6454
6455 Mon Nov 26 18:09:48 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6456
6457         * Fixed LIST command reply sending in server.  Affected file
6458           silcd/command.c.
6459
6460         * Server now sends the kicker's client ID in the KICK notify
6461           to the kicked client.  Affected file silcd/command.c.
6462
6463         * The client library now parses the kickers client ID and
6464           UI displays it.  Affected files lib/silcclient/client_notify.c
6465           and irssi/src/silc/core/silc-channels.c, module-formats.c.
6466
6467         * Made all payload parsing function prototypes consistent.
6468           They all take now const unsigned char * and uint32 pair as
6469           the payload data instead of SilcBuffer.  Changes all around
6470           the source tree.  Other unsigned char* -> const unsigned char*
6471           changes around the tree as well.
6472
6473         * Optimized SFTP client and server packet sending not to
6474           allocate new buffer for each packet but to recycle the
6475           first allocated buffer.  Affected files are
6476           lib/silcsftp/sftp_client.c, sftp_server.c, sftp_util.[ch].
6477
6478         * Optimized the SFTP client to use SilcList instead of
6479           SilcDList for requests, because it is faster.  Affected file
6480           is lib/silcsftp/sftp_client.c.
6481
6482         * Moved the ID Payload routines from lib/silccore/silcpayload.[ch]
6483           into lib/silccore/silcid.[ch].
6484
6485           Renamed silcpayload.[ch] into silcargument.[ch].
6486
6487 Mon Nov 26 15:01:53 CET 2001  Pekka Riikonen <priikone@silcnet.org>
6488
6489         * If client entry is deleted with active key agreement
6490           session, abort the session.
6491
6492           The silc_client_abort_key_agreement now calls the completion
6493           callback with new SILC_KEY_AGREEMENT_ABORTED status.
6494
6495           Affected file lib/silcclient/silcapi.h, client_keyagr.c and
6496           idlist.c.
6497
6498 Sun Nov 25 18:01:45 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6499
6500         * Don't use __restrict in older GCC's.  Affected file is
6501           lib/silcmath/mpi/mpi-priv.h.  A patch by salo.
6502
6503         * silc_net_localhost now attempts to reverse lookup the
6504           IP/hostname.  Affected file lib/silcutil/silcnet.c.
6505
6506         * Defined <founder auth> argument to the SILC_COMMAND_JOIN
6507           command.  It can be used to gain founder privileges at
6508           the same time when joining the channel.
6509
6510           Defined that the SILC_NOTIFY_TYPE_KICKED send the
6511           kicker's client ID as well.  Updated protocol specs.
6512
6513           Defined that the server must send SILC_COMMAND_IDENTIFY
6514           command reply with error status to client who sent
6515           private message with invalid client ID.
6516
6517           Updated the protocol specification.
6518
6519         * Added silc_server_send_command_reply to send any
6520           command reply.  Affected file silcd/packet_send.[ch].
6521
6522         * Added silc_id_payload_encode_data to encode ID payload
6523           from raw ID data.  Affected file lib/silccore/silcpayload.[ch].
6524
6525         * The server now send IDENTIFY command reply with error
6526           status if client ID in private message is invalid.  Affected
6527           file silcd/packet_receive.c.
6528
6529         * Save the server key file with server's IP address in
6530           the filename instead of hostname.  The affected file is
6531           irssi/src/silc/core/client_ops.c.
6532
6533 Sat Nov 24 20:08:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6534
6535         * Typo fixes in irssi/src/fe-common/silc/module-formats.c.
6536           A patch by Sunfall.
6537
6538         * Added libtool support for compiling shared objects in
6539           lib/silcsim.  Affected file configure.in.pre and
6540           lib/silcsim/Makefile.am.  Original patch by cras.
6541
6542 Fri Nov 23 23:30:59 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6543
6544         * Pid file configuration, and server's config file fixes
6545           patch by toma.  Updated CREDITS file.
6546
6547 Sun Nov 18 01:34:41 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6548
6549         * Fixed silc_client_channel_message to not try to decrypt
6550           the message twice if it resolved the destination client
6551           information.  This could cause of dropping one channel
6552           message.  Affected file lib/silcclient/client_channel.c.
6553
6554 Wed Nov 14 23:44:56 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6555
6556         * Added silc_client_run_one into lib/silcclient/silcapi.h and
6557           lib/silcclient/client.c. This function is used when the SILC
6558           Client is run under some other scheduler, or event loop or
6559           main loop.  On GUI applications, for example this may be
6560           desired to used to run the client under the GUI application's
6561           main loop.  Typically the GUI application would register an
6562           idle task that calls this function multiple times in a second
6563           to quickly process the SILC specific data.
6564
6565 Wed Nov 14 19:16:52 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
6566
6567         * Fixed silc_server_drop() for dropping the supplementary
6568           groups as well, this could cause a security hole on some
6569           systems.
6570
6571 Wed Nov 14 16:22:25 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6572
6573         * __pid_t -> pid_t in lib/silccrypt/silcrng.c.  A patch by
6574           johnny.
6575
6576         * Write PID file after dropping privileges.  Added -F option
6577           to run server on foreground.  A patch by debolaz.
6578           Affected files silcd/server.c, silcd/silcd.c.
6579
6580         * Fixed MOTD to return the MOTD file server name.  Affected
6581           file silcd/command.c.
6582
6583         * Added INFO command reply handling to the Irssi SILC Client.
6584           Affected file irssi/src/silc/core/client_ops.c.
6585
6586 Wed Nov 14 00:18:08 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6587
6588         * Fixed the silc_idcache_list_* routines to really support
6589           the dynamic list.  Fixes a crash.  Affected file is
6590           lib/silccore/silcidcache.c.
6591
6592         * Fixed the LIST command reply to really call LIST command's
6593           pending callbacks.  Affected file silcd/command_reply.c.
6594
6595 Tue Nov 13 00:49:17 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6596
6597         * Update conn->local_entry->nickname after giving NICK
6598           command.  Affected file lib/silcclient/command.c.
6599
6600 Sun Nov 11 23:43:02 PST 2001  Brian Costello <bc@wpfr.org>
6601
6602         * Added the [pid] option to the silcd configuration file
6603
6604           Affected files: serverconfig.[ch] and silcd.c
6605
6606 Sun Nov 11 23:56:39 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6607
6608         * Save fingerprint in WHOIS command reply in server.
6609           Affected file silcd/command_reply.c.
6610
6611         * Fixed NICK commands pending callback registration.
6612           Affected file lib/silcclient/command.c.
6613
6614 Sun Nov 11 10:49:10 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6615
6616         * Use ++server->cmd_ident when sending commands in server,
6617           instead of random number.  Affected file silcd/command.c.
6618
6619         * Fixed GETKEY command reply to call actually GETKEY pending
6620           command callbacks.  Affected file silcd/command_reply.c.
6621
6622         * A bit stricter check for nicknames.  Check for same nickname
6623           in NICK command also.  Affected file silcd/command.c.
6624
6625         * Do not call INFO command everytime client ID changes, only
6626           during first connecting.  Affected file lib/silcclient/client.c.
6627
6628         * Set the new nickname only after successful command reply for
6629           NICK command is returned by server.  Affected file
6630           lib/silcclient/command.c.
6631
6632         * Remove nicknames from nicklist during server_signoff notify.
6633           Should fix /NAMES bit more.  The affected file is
6634           irssi/src/silc/core/silc-channels.c.
6635
6636         * Added `fingerprint' field to the SilcIDListData in the
6637           silcd/idlist.h to hold the fingerprint of the client's
6638           public key.
6639
6640           Send the fingerprint of the client's public key in WHOIS
6641           command reply.
6642
6643           Affected files silcd/command.c, and silcd/idlist.[ch].
6644
6645         * Added silc_fingerprint into lib/silcutil/silcutil.[ch] to
6646           create fingerprint from given data.
6647
6648         * Show the fingerprint of the client's public key in WHOIS.
6649           Affected files irssi/src/module-formats.[ch] and
6650           irssi/src/silc/core/client_ops.c.
6651
6652         * Format the multiple same nicknames also during JOIN and
6653           NICK_CHANGE notifys.  Affected file is
6654           lib/silcclient/client_notify.c.
6655
6656         * Do not print error on screen for invalid private message
6657           payload since it can come if someone is sending private
6658           messages with wrong key.  Affected file
6659           lib/silccore/silcprivate.c.
6660
6661         * Fixed multiple concurrent /PING crash.  Affected file
6662           lib/silcclient/command.c.
6663
6664         * Changed the wrong ID encoding.  All IP addresses must be
6665           in MSB first order in encoded format.  They were encoded
6666           wrong and was in LSB format.  Affected files are
6667           silcd/serverid.c, lib/silcutil/silcutil.c.
6668
6669         * Remove silc_net_addr2bin_ne from lib/silcutil/silcnet.[ch].
6670
6671         * Call the `connect' client operation through the scheduler
6672           in case of error.  Affected file lib/silcclient/client.c.
6673
6674         * Call the `failure' client operation even if the error
6675           occurred locally during a protocol.  Affected file is
6676           lib/silcclient/protocol.c.
6677
6678         * Added support of sending LIST command to router from normal
6679           server.  This way normal server can get list of all channels
6680           in the network too.  Fixed the channel list sending in the
6681           server too.  Affected files are silcd/command.c, and
6682           silcd/command_reply.[ch].
6683
6684         * Added silc_server_update_channels_by_server and
6685           silc_server_remove_channels_by_server.  They are used during
6686           disconnection of primary router and in backup router protocol.
6687           Affected file silcd/server_util.[ch], silcd/server.c and
6688           silcd/server_backup.c.
6689
6690         * Fixed channel adding to global list in IDENTIFY command
6691           reply in server.  Affected file silcd/command_reply.c.
6692
6693 Sat Nov 10 21:39:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6694
6695         * If the incoming packet type is REKEY or REKEY_DONE process
6696           that packet always synchronously.  Fixes yet another MAC
6697           failed error on slow (dialup) connections.  Affected file
6698           lib/silcclient/client.c and silcd/server.c.
6699
6700 Thu Nov  8 22:21:09 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6701
6702         * Call check_version SKE callback for initiator too.  Affected
6703           file lib/silcske/silcske.c.
6704
6705         * Implemented fix for security hole found in the SKE that was
6706           fixed in the specification few days back; the initiator's
6707           public key is now added to the HASH value computation.
6708           Added backwards support for the old way of doing it too, for
6709           old clients and old servers.  Affected file is
6710           lib/silcske/silcske.c.
6711
6712         * Enabled mutual authentication by default in SKE.  If initiator
6713           is not providing mutual authentication the responder will
6714           force it.  This will provide the proof of posession of the
6715           private key for responder.  The affected files are
6716           lib/silcclient/protocol.c and silcd/protocol.c.
6717
6718         * Do not cache anymore the server's public key during SKE.
6719           We do mutual authentication so the proof of posession of
6720           private key is done, and if the server is authenticated in
6721           conn auth protocol with public key we must have the public
6722           key already.  Affected file silcd/protocol.c.
6723
6724         * Added new global debug variable: silc_debug_hexdump.  If
6725           it is set to TRUE SILC_LOG_HEXDUMP will be printed.  Affected
6726           file lib/silcutil/silclog.[ch].
6727
6728         * Fixed compilation warning due to char * -> const char *.
6729           Affected files lib/silcutil/silcnet.h, and
6730           lib/silccore/silcauth.[ch].
6731
6732 Wed Nov  7 20:43:03 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6733
6734         * Fixed CMODE command when new channel key was created.  If
6735           the creation failed the old key was removed.  Next time giving
6736           same command would crash the server since the old key was
6737           freed already.  Affected file silcd/command.c.
6738
6739         * Fixed the silc_server_announce_get_channels to not crash
6740           on reconnect.  Affected file silcd/server.c.
6741
6742 Wed Nov  7 17:15:07 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6743
6744         * Added silc_log_set_debug_string function to set a regex
6745           string to match for debug output.  Only the function names,
6746           or filenames matching the given debug string is actually
6747           printed.  This way it is possible to filter out those debug
6748           strings that user is not interested in.
6749
6750           Fixed a bug in silc_string_regexify.
6751
6752           Affected files lib/silcutil/silclog.[ch], and
6753           lib/silcutil/unix/silcunixutil.c.
6754
6755         * Changed the -d options in both server and Irssi SILC client
6756           to take the debug string as argument.  Affected files
6757           silcd/silcd.c and irssi/src/silc/core/silc-core.c.
6758
6759 Tue Nov  6 21:31:54 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6760
6761         * Added silc_hash_babbleprint to create a Bubble Babble
6762           Encoded fingerprint.  The encoding is developed by Antti
6763           Huima (draft-huima-babble-01.txt), and it creates human
6764           readable strings out of binary data.  Affected file
6765           lib/silccrypt/silchash.[ch].
6766
6767         * Print the babble print now in addition of fingerprint as well
6768           in Irssi SILC client.  Affected files are
6769           irssi/src/fe-common/silc/module-formats.[ch],
6770           irssi/src/fe-common/silc/core/client_ops.c.
6771
6772 Sun Nov  4 23:37:28 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6773
6774         * Fixed a security problem found in SKE.  The initiator's
6775           public key too is now added to the HASH hash value creation
6776           which is signed by the responder to create the SIGN value.
6777           This will prevent anyone in the middle to lie to the responder
6778           about the initiator's public key.  If this is done now, the
6779           man in the middle will get caught.  Updated the protocol
6780           specification.
6781
6782 Sun Nov  4 11:43:53 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6783
6784         * Better installation directory handling.  Configure module
6785           paths and other paths automatically to example_silc* files
6786           in doc/.  A patch by toma.
6787
6788         * Fixed compiler warning from MPI library, and from SILC RNG.
6789           A patch by johnny.
6790
6791         * Added SILC_SERVER_PID_FILE to define the pid file for server.
6792           It can be configured with ./configure.  A patch by toma.
6793
6794 Sat Nov  3 23:48:23 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6795
6796         * Find correct make to use in prepare-clean.  A patch by
6797           toma.  Affected file prepare-clean.
6798
6799 Sat Nov  3 22:04:00 PST 2001  Brian Costello <bc@mksecure.com>
6800
6801         * Added irssi variables use_auto_addr, auto_bind_ip,
6802           auto_bind_port and auto_public_ip.
6803
6804         * Changed the interface for silc_client_send_key_agreement
6805           in lib/silcclient/silcapi.h
6806
6807         Affected files:
6808
6809          irssi/src/silc/core/silc-core.c
6810          irssi/config
6811          lib/silcclient/silcapi.h
6812          irssi/src/silc/core/silc-channels.c
6813          lib/silcclient/client_keyagr.c
6814          irssi/docs/help/key
6815
6816 Sat Nov  3 17:48:55 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6817
6818         * Added silc_pkcs_public_key_compare to compare two
6819           public keys.  Affected file lib/silccrypt/silcpkcs.[ch].
6820
6821         * Check that the client who set the founder mode on the
6822           channel is the same client that is giving the founder
6823           mode to itself.  It is done by comparing the saved public
6824           key (it is saved even in the authentication is passphrase).
6825           Affected file silcd/command.c.
6826
6827 Fri Nov  2 18:52:08 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6828
6829         * Do not process packet for disconnected socket connection.
6830           Affected file lib/silccore/silcpacket.c.
6831
6832         * Process the DISCONNECT packet through scheduler in the
6833           client library.  Affected file lib/silcclient/client.c.
6834
6835         * Fixed the silc_client_packet_parse to not to increase
6836           the packet sequence number if the conn->sock and the
6837           current socket connection is not same.  This can happen
6838           for example during key agreement when the conn includes
6839           multiple socket connections (listeners).  Affected file
6840           lib/silcclient/client.c.
6841
6842         * The sender of the file transfer request now provides also
6843           the pointer (listener) for the key exchange protocol.  If
6844           the listener cannot be created then it sends empty key
6845           agreement and lets the receiver provide the listener.
6846
6847           Added `local_ip' and `local_port' arguments to the
6848           silc_client_file_send.  If they are provided they are used,
6849           if not then it will attempt to find local IP address, if
6850           not found or bind fails then the remote client will provide
6851           the listener.
6852
6853           Affected files are lib/silcclient/client_ftp.c and
6854           lib/silcclient/silcapi.h.
6855
6856         * Extended the FILE SEND command to support defining the
6857           local IP and port for key exchange listener.  They are
6858           optional.  Affected file irssi/src/silc/core/silc-servers.c.
6859
6860 Thu Nov  1 22:10:07 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6861
6862         * Defined to WHOIS command reply the sending of fingerprint
6863           of the client's public key (if the proof of posession of the
6864           corresponding private key is verified by the server).
6865           Updated to the protocol specification.
6866
6867         * Added support of receiving the client's public key's
6868           fingerprint in command reply in client library.  Affected
6869           file is lib/silcclient/command_reply.c, and
6870           lib/silcclient/idlist.[ch].
6871
6872 Thu Nov  1 18:06:12 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6873
6874         * Do not send over 128 chars long nickname to the server
6875           in NICK command.  Affected file lib/silcclient/command.c.
6876
6877         * Do not send over 256 chars long channel names to the server
6878           in JOIN command.  Affected file lib/silcclient/command.c.
6879
6880 Tue Oct 30 22:48:59 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6881
6882         * Assure that silc_server_close_connection cannot be called
6883           twice for same socket context.  Affected file is
6884           silcd/server.c.
6885
6886 Tue Oct 30 16:58:14 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6887
6888         * Send error message to application if opening file for
6889           writing during file transfer fails.  Affected file is
6890           lib/silcclient/client_ftp.c.
6891
6892           Remove all file transfer sessions for a client that we're
6893           removing from ID cache.
6894
6895           Affected file is lib/silcclient/client_ftp.c.
6896
6897         * Fixed silc_net_addr2bin to return correct address.  Affected
6898           file lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
6899
6900         * Fixed file transfer session removing on signoff notify.
6901           Affected file irssi/src/silc/core/silc-servers.c.
6902
6903         * Added the SilcClientFileError to be returned in the monitor
6904           callback.  Added NO_SUCH_FILE and PERMISSION_DENIED errors.
6905           Affected file lib/silcclient/silcapi.h.
6906
6907 Mon Oct 29 17:43:04 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6908
6909         * Fixed a crash in silc_client_ftp_free_sessions and
6910           silc_client_ftp_session_free_client.  Affected file
6911           lib/silcclient/client_ftp.c.
6912
6913         * Added `disabled' field in the SilcChannelEntry in the server
6914           to indicate if the server entry is disabled.  Affected file
6915           silcd/idlist.h, silcd/command[_reply].c.
6916
6917         * SILC server adds now /var/run/silcd.pid everytime it is
6918           started.  Affected file silcd/silcd.c.
6919
6920         * Added silc_server_packet_send_clients to send a packet to
6921           the provided table of client entries.  Affected file
6922           silcd/packet_send.[ch].
6923
6924         * Fixed a crash in client resolving in client_prvmsg.c in
6925           client library.  Affected file lib/silcclient/client_prvmsg.c.
6926
6927         * Do not actually remove the client directly from ID cache
6928           during SERVER_SIGNOFF, but invalidate it.  This way we
6929           preserve the WHOWAS info for the client.  Affected file
6930           silcd/server_util.c.
6931
6932         * Fixed SERVER_SIGNOFF notify handling in the server.  The
6933           server is now able to process incoming SERVER_SIGNOFF notify
6934           for a server that it doesn't even know about.  It will remove
6935           the clients provided in the notify.  Affected file
6936           silcd/packet_receive.c.
6937
6938         * Check for partial packet in data queue after every packet that
6939           was found from the queue.  Return and wait for more data if
6940           there is partial data in queue.  Affected file is
6941           lib/silccore/silcpacket.c.
6942
6943 Sun Oct 28 18:46:27 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6944
6945         * Added SilcClietFileError enum to indicate error in
6946           file transfer.  Added SILC_CLIENT_FILE_MONITOR_KEY_AGREEMENT
6947           and SILC_CLIENT_FILE_MONITOR_ERROR new monitor statuses.
6948           Affected files lib/silcclient/silcapi.h and
6949           lib/silcclient/client_ftp.c.
6950
6951         * Check that newsize in silc_buffer_realloc is larger than
6952           the old buffer's size.  Affected file lib/silcutil/silcbufutil.h.
6953
6954         * Added better monitor of file transfers.  It now monitors
6955           key agreement protocol during the file transfer too.  Added
6956           error reporting too.  Affected files
6957           irssi/src/silc/core/silc-servers.c,
6958           irssi/src/fe-common/silc/module-formats.[ch].
6959
6960         * Wrote a help file for FILE command.
6961
6962         * Added silc_rng_global_get_byte_fast to get not-so-secure
6963           random data as fast as possible.  Random data is read from
6964           /dev/urandom if available and from the SILC RNG if not
6965           available.  It is used in padding generation.  Affected file
6966           lib/silccrypt/silcrng.[ch].
6967
6968         * All packets in client library are now processed synchronously.
6969           Optimized packet processing a lot.  Affected file
6970           lib/silcclient/client.c.
6971
6972         * All server connection packets are processing synchronously
6973           now in server, to optimize packet processing.  Affected file
6974           silcd/server.c.
6975
6976         * Include files are installed now only in Toolkit distribution
6977           if make install is given.  Affected files: all Makefile.am's.
6978
6979 Thu Oct 25 22:44:06 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6980
6981         * Assure that silc_client_notify_by_server_resolve does not
6982           resolve the client information multiple times.  If it cannot
6983           be found by the first it cannot be found at all.  Affected
6984           file lib/silcclient/client_notify.c.
6985
6986         * Fixed WHOWAS command reply calling.  Affected file
6987           lib/silcclient/command_reply.c.
6988
6989         * Removed all references to silc_idlist_get_client from the
6990           Irssi SILC client since that call is internal call used by
6991           the library.  The Irssi SILC client will use now client
6992           retrieval functions found in silcapi.h.
6993
6994         * Fixed a bug in resolving nickname info before sending
6995           private message.  It used freed memory.  Affected file
6996           irssi/src/silc/core/silc-servers.c.
6997
6998 Thu Oct 25 19:04:49 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6999
7000         * Assure my_channels statistics cannot go negative in server.
7001           Affected files silcd/server.c, silcd/server_util.c.
7002
7003 Wed Oct 24 19:53:05 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7004
7005         * Upgraded dotconf 1.0.2 to 1.0.6 in lib/dotconf.
7006
7007 Tue Oct 23 13:51:19 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7008
7009         * Win32 Toolkit changes.  Affected files
7010           win32/silc.dsw, win32/libsilc/libsilc.def,
7011           win32/libsilcclient/libsilc.def,
7012           lib/silcutil/silcutil.c, and
7013           lib/sftp/sftp_fs_memory.c.
7014
7015 Mon Oct 22 16:35:05 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7016
7017         * Added silc_net_localip to return local host's IP address.
7018           Affected file lib/silcutil/silcnet.[ch].
7019
7020         * If key exchange or rekey protocol is active for a connection
7021           parse all packets syncronously since there might be packets
7022           in packet queue that we are not able to process without first
7023           processing packets before them.  Affected file silcd/server,
7024           lib/silcclient/client.c.
7025
7026         * SilcPacketParserCallback now returns TRUE or FALSE to indicate
7027           whether library should continue processing the packet.
7028           Affected file lib/silccore/silcpacket.h.
7029
7030         * Added SilcSFTPMonitor callback, SilcSFTPMonitors and
7031           SilcSFTPMonitorData to SFTP server to monitor various
7032           SFTP client requests.  Affected file lib/silcsftp/silcsftp.h,
7033           lib/silcsftp/sftp_server.c.
7034
7035         * Added silc_file_size to return file size.  Affected file
7036           lib/silcutil/silcutil.[ch].
7037
7038         * Implemented the file transfer support for the client library.
7039           Added preliminary support for simple client to client one-file
7040           transmission.  Affected file lib/silcclient/client_ftp.c,
7041           lib/silccilent/client.[ch].
7042
7043         * Added new local command FILE to the Irssi SILC Client.
7044           It is used to perform the file transfer.  It has subcommands
7045           SEND, RECEIVE, SHOW and CLOSE.  Affected files
7046           irssi/src/silc/core/client_ops.c,
7047           irssi/src/silc/core/silc-server.[ch].
7048
7049 Mon Oct 22 12:50:08 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7050
7051         * Relay the SILC_PACKET_FTP in the server.  Affected files
7052           silcd/server.c and silcd/packet_receive.c.
7053
7054 Sun Oct 21 20:21:02 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7055
7056         * Renamed silc_file_read and silc_file_write to functions
7057           silc_file_readfile and silc_file_writefile.  Added function
7058           silc_file_open and silc_file_close.  Affected files
7059           lib/silcutil/silcutil.[ch].
7060
7061 Thu Oct 18 20:58:13 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7062
7063         * Resolve the client info when received private message or
7064           channel message for a client which nickname we don't know.
7065           Affected files lib/silcclient/client_prvmsg.c and
7066           lib/silcclient/client_channel.c.
7067
7068         * Do not crash in /KEY if client is not connected.  Affected
7069           file irssi/src/silc/core/silc-channels.c.
7070
7071         * Added SilcClientStatus field to the SilcClientEntry in the
7072           lib/silcclient/idlist.h.
7073
7074           Added SILC_CLIENT_STATUS_RESOLVING to mark that the entry
7075           is incomplete and is being resolved, it won't be resolved
7076           twice.
7077
7078           Make sure also that USERS command reply does not resolve
7079           twice information.  Affected file is
7080           lib/silcclient/command_reply.c.
7081
7082           Make sure that silc_client_get_clients_by_list does not
7083           resolve twice same information.
7084
7085         * Check for valid client->id in the silc_server_free_client_data.
7086           Affected file silcd/server.c.
7087
7088         * Fixed /GETKEY nick@server not to crash if the server entry
7089           is not found.  Affected file lib/silcclient/command.c.
7090
7091         * Fixed the silc_server_check_cmode_rights to check the
7092           requested modes correctly.  Affected file silcd/command.c.
7093
7094 Thu Oct 18 12:10:22 CEST 2001  Pekka Riikonen <priikone@silcnet.org>
7095
7096         * Better checks for non-printable chars in nick added.
7097           Affected file silcd/command.c.
7098
7099 Thu Oct 18 09:18:58 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7100
7101         * Call the silc_server_udpate_servers_by_server in the
7102           primary router that comes back online in the backup resuming
7103           protocol.  Otherwise it routes packets wrong.  Affected file
7104           silcd/server_util.[ch], silcd/server_backup.c.
7105
7106 Wed Oct 17 16:51:18 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7107
7108         * Added SILC_STR_UI8_[N]STRING[_ALLOC] formats to the
7109           lib/silcutil/silcbuffmt.[ch].
7110
7111         * Redefined the SILC packet header to include the padding
7112           length.  Affected file lib/silccore/silcpacket.[ch].
7113
7114         * Added SILC_PACKET_PADLEN_MAX macro to return the padding
7115           length for maximum padding up to 128 bytes).  Affected
7116           file lib/silccore/silcpacket.h.
7117
7118         * Removed all backwards support for old 0.5.x MAC thingies.
7119           The SILC packet header change makes it impossible to be
7120           backwards compatible.
7121
7122         * Send the ENDING packet with timeout in the backup resuming
7123           protocol.  This is to assure that all routers has connected
7124           to the primary router.  Affected file silcd/server_backup.c.
7125
7126         * Changed the RNG to take the first IV from random data.  It
7127           used to take it from zero actually.  Changed the RNG also
7128           to use /dev/urandom during session.  /dev/random is used
7129           in initialization.  Affected file lib/silccrypt/silcrng.[ch].
7130
7131 Tue Oct 16 20:45:49 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7132
7133         * Changed the SILC packet header to have the first two bytes
7134           (the packet length) encrypted.  Affected files aroung the
7135           code tree, lib/silccore/silcpacket.[ch].  Removed the
7136           SilcPacketCheckDecrypt callback.  It is not needed anymore
7137           since the silc_packet_receive_process will determine now
7138           whether the packet is normal or special.
7139
7140         * Implemented the unidirectional MAC keys.  Affected files
7141           lib/silcske/silcske.c, silcd/protocol.c and
7142           lib/silcclient/protocol.c.
7143
7144         * Implemented the packet sequence number to the MAC computation.
7145           Affected files lib/silccore/silcpacket.c, silcd/protocol.c,
7146           silcd/packet_send.c, silcd/server.c, lib/silcclient/client.c,
7147           lib/silcclient/protocol.c.
7148
7149 Mon Oct 15 17:42:55 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7150
7151         * Allow backup router to announce servers.  All servers
7152           announced by backup router are added to the global list
7153           automatically.  Update hte server's socket to our primary
7154           router also when backup router announces a server.
7155           Affected file silcd/packet_receive.c.
7156
7157         * Do not update the client->router in the function
7158           silc_server_udpate_clients_by_server if the client is on
7159           global list.  We might fail to find any specific server
7160           for locally connected clients and local cell clients.  They
7161           should still use the `from' and not `to' as client->router.
7162           This fixes backup router resuming protocol.  Affected file
7163           silcd/server_util.c.
7164
7165         * Decrease channel statistics count only if the channel
7166           deletion worked.  Affected files are silcd/server.c and
7167           silcd/server_util.c.
7168
7169         * Added silc_server_update_servers_by_server to update origin
7170           of all server entries.  Used during backup router protocol.
7171           Affected files silcd/server_util.[ch], silcd/server.c. and
7172           silcd/backup_router.c.
7173
7174         * ROBODoc documented the lib/silccrypt/silchmac.h.  Added new
7175           function silc_hmac_init, silc_hmac_update, silc_hmac_final,
7176           silc_hmac_get_hash and silc_hmac_get_name.  Affected file
7177           lib/silccrypt/silchmac.c.
7178
7179 Sun Oct 14 18:28:22 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7180
7181         * Assure that router cannot reroute the same channel message
7182           to the sender.  Affected file silcd/packet_receive.c.
7183
7184 Sat Oct 13 12:46:18 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7185
7186         * Made better checks that the channel message is not sent
7187           to the router it came from.  Affected file is
7188           silcd/packet_send.c.  Fixed memory leak too.
7189
7190         * Announce informations for incoming router connection, but
7191           only after checking if it is replaced by backup router.
7192           Affected file silcd/packet_receive.c.
7193
7194 Fri Oct 12 18:37:24 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7195
7196         * Fixed the backup resuming protocol to work in multiple
7197           router environment.  Affected file silcd/server_backup.c.
7198
7199         * Route packet only to one router in the function
7200           silc_server_packet_send_to_channel.  Affected file is
7201           silcd/packet_send.c.
7202
7203         * Fixed silc_server_send_notify_dest to set the broadcast
7204           flag.  Fixed the silc_server_send_notify_topic to actually
7205           send the TOPIC_CHANGE notify and not SERVER_SIGNOFF notify.
7206           Affected file silcd/packet_send.c.
7207
7208         * Changed the SFTP Filesystem interface.  Changed the
7209           SilcSFTPFilesystemStruct to SilcSFTPFilesystemOps to include
7210           the filesystem operation function.  The SilcSFTPFilesystem
7211           is now a context that is allocated by all filesystem allocation
7212           functions and it already includes the operations structure
7213           and filesystem specific context.  It is given as argument
7214           now to the silc_sftp_server_start.  This made the interface
7215           a bit cleaner.  Affected file lib/silcsftp/silcsftp[_fs].h,
7216           lib/silcsftp/sftp_fs_memory.c and sftp_server.c.
7217
7218 Thu Oct 11 22:19:26 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7219
7220         * Changed the backup router adding and getting interfaces
7221           in the server.  The router that will be replaced by the
7222           specified backup router is now sent as argument.  Affected
7223           files silcd/serverconfig.[ch], silcd/backup_router.[ch], and
7224           silcd/server.c.
7225
7226         * Added silc_net_addr2bin_ne to return the binary form of
7227           the IP address in network byte order.  Affected files
7228           lib/silcutil/[unix/win32].silc[unix/win32]net.[ch].
7229
7230 Thu Oct 11 12:14:19 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7231
7232         * Check for existing server ID in silc_server_new_server
7233           and in silc_server_connect_to_router_final and remove the
7234           old entry if it exists.  Affected file silcd/packet_receive.c,
7235           silcd/server.c.
7236
7237         * Send the channel message always to only one router, either
7238           in upstream or downstream.  Affected file is
7239           silcd/packet_send.c.
7240
7241 Tue Oct  9 17:45:43 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7242
7243         * Wrote the definition of the backup resuming protocol to the
7244           protocol specification.
7245
7246         * Removed one redundant channel key generation from normal
7247           server during joining procedure.  Removed one redundant
7248           channel key sending from server to router during joining
7249           procedure.  Affected file silcd/command.c.
7250
7251         * Made minor bugfixes to the backup router resuming protocol.
7252           Affected file silcd/server_backup.c, server.c.
7253
7254 Mon Oct  8 16:47:42 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7255
7256         * Added --disable-asm configuration option.  Affected files
7257           configure.in.pre, lib/silcmath/mpi/configure.in.  A patch
7258           by salo.
7259
7260         * Implemented the backup resuming protocol that is used to
7261           resume the primary router position in the cell after the
7262           primary router comes back online.  Affected files
7263           silcd/server_backup.[ch], silcd/server, silcd/packet_receive.c,
7264           and silcd/server_util.[ch].
7265
7266 Sun Oct  7 12:29:25 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7267
7268         * Sleep two (2) seconds after sending QUIT command to server.
7269           Affected file lib/silcclient/command.c.
7270
7271         * Assure that if outgoing data buffer is pending do not force
7272           send any data.  Affected file silcd/packet_send.c.
7273
7274         * Assure that if outgoing data buffer is pending do not force
7275           send any data.  Affected file lib/silcclient/client.c.
7276
7277         * Implemented the backup router support when the primary router
7278           goes down.  The servers and routers can now use the backup
7279           router as new primary router without loosing connectivity.
7280
7281 Sat Oct  6 21:18:54 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7282
7283         * Added new SILC_IDLIST_STATUS_DISABLED flag for entries
7284           in the server to indicate disabled entry.  All data read
7285           from the connection will be ignored and no data is sent
7286           for entry that is disabled.  Affected files are
7287           silcd/idlist.h, silcd/server.c.
7288
7289 Fri Oct  5 00:03:29 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7290
7291         * Created SFTP client and server test programs in the
7292           lib/silcsftp/tests directory.
7293
7294 Wed Oct  3 23:31:42 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7295
7296         * Implemented memory filesystem (virtual filesystem) for
7297           SFTP server.  Affected file lib/silcsftp/silcsftp_fs.h,
7298           sftp_fs_memory.c.
7299
7300 Sun Sep 30 22:10:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7301
7302         * Implemented the SFTP (SSH File Transfer Protocol) to the
7303           lib/silcsftp.  It includes SFTP client and SFTP server
7304           implementations.
7305
7306 Sun Sep 30 10:35:44 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7307
7308         * Moved lib/silccore/silcprotocol.[ch] to the
7309           lib/silcutil library.
7310
7311         * Added silc_buffer_format_vp and silc_buffer_unformat_vp to
7312           take variable argument list pointer as argument.  Affected
7313           file lib/silcutil/silcbuffmt.[ch].
7314
7315         * Added silc_buffer_set function that is used to set data
7316           to a SilcBuffer that is not allocated at all (SilcBufferStruct).
7317           Affected file lib/silcutil/silcbuffer.h.
7318
7319         * Changed various routines in the core library to use the new
7320           silc_buffer_set instead of allocating new buffer only for
7321           temporary purposes.
7322
7323         * Added 64-bit value formatting and unformatting support to the
7324           silc_buffer_[un]format routines.  Affected file is
7325           lib/silcutil/silcbuffmt.[ch].
7326
7327           Added also 64-bit macros: SILC_GET64_MSB and SILC_PUT64_MSB,
7328           to includes/bitmove.h.
7329
7330 Fri Sep 28 21:30:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7331
7332         * Fixed channel user mode saving in client library.  Affected
7333           file lib/silcclient/command[_reply].c.
7334
7335 Thu Sep 27 22:52:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7336
7337         * Defined the file transfer to the SILC Protocol.  Added
7338           new packet type SILC_PACKET_FTP and defined File Transfer
7339           Payload.  The mandatory file transfer protocol is SFTP
7340           (SSH File Transfer Protocol).  Affected file in addition
7341           of the internet draft is lib/silccore/silcpacket.h.
7342
7343         * Deprecated the SILC_PACKET_CELL_ROUTERS and defined new
7344           packet SILC_PACKET_RESUME_ROUTER instead.  The new packet
7345           is used as part of backup router protocol when the primary
7346           router of the cell is back online and wishes to resume
7347           the position as primary router.
7348
7349         * Redefined the MAC generation keys in the protocol.  The
7350           same key is not used anymore in both direction.  Both
7351           direction will now use different keys for sending and
7352           receiving.  This fixes a potential security flaw.  This
7353           change causes incompatibilities in the protocol.
7354
7355         * Redefined also the MAC computation from the packet.
7356           An packet sequence number is now added to the MAC
7357           computation.  This prevents possible replay attacks against
7358           the protocol.  This change too causes incompatibilities
7359           in the protocol.
7360
7361           Added `sequence' field to the SilcPacketContext to hold
7362           the current sequence number for the packet.
7363
7364 Wed Sep 26 20:15:22 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7365
7366         * Added `created' field to the SilcIDListData in the file
7367           silcd/idlist.h to indicate the time when the entry was
7368           created.
7369
7370         * Added `created' field to the SilcChannelEntry too.  Affected
7371           file silcd/idlist.h.
7372
7373         * Added `creation_time' aguments to all the announcement functions
7374           in the server.  If it is provided then only the entries that
7375           was created after the provided time frame are actually
7376           announced.  Affected file silcd/server.[ch].
7377
7378         * The protocol says that the Channel ID's IP address must be
7379           based on the router's IP address.  Added check for this in
7380           the silc_server_new_channel when processing incoming New Channel
7381           Payload.  Affected file silcd/packet_receive.c.
7382
7383         * Print out the correct version with --version in SILC client.
7384           Affected file irssi/src/silc/core/silc-core.c.
7385
7386 Mon Sep 24 17:19:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7387
7388         * Fixed WHOWAS command to check for completnes of the client
7389           entry always, not just when the command is coming from client.
7390           Affected file silcd/command.c.
7391
7392         * Added new function silc_server_packet_queue_purge to purge the
7393           outgoing data queue to the network.  After the function returns
7394           it is guaranteed that the outgoing packet queue is empty.
7395           Affected file silcd/packet_send.[ch].
7396
7397         * Purge the outgoing packet queue in the rekey protocol's final
7398           callback to assure that all rekey packets go to the network
7399           before quitting the protocol.  Affected file silcd/server.c.
7400
7401         * Added silc_client_packet_queue_parse as similar function as
7402           in server to the client library.  The affected file is
7403           lib/silcclient/client.c.
7404
7405 Sun Sep 23 15:15:53 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7406
7407         * Splitted silcd/server.c and created silcd/server_util.[ch]
7408           for utility functions.
7409
7410         * Added new socket flag SILC_SF_DISABLED to indicate that the
7411           connection is open but nothing can be sent to or received from
7412           the connection.  Affected file lib/silcutil/silsockconn.[ch].
7413           The checking for disabled socket is checked in the low level
7414           silc_socket_write and silc_socket_read functions.
7415
7416 Thu Sep 20 23:11:28 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7417
7418         * Allow only nicknames and channel names that fits into the
7419           7-bit unsigned char ASCII set.  Affected file silcd/command.c.
7420
7421 Thu Sep 20 18:04:12 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7422
7423         * When processing JOIN command reply in server check that if
7424           the channel exists in our global list we'll move it the local
7425           list.  Affected file silcd/command_reply.c.
7426
7427         * Fixed the check whether client is joined on the channel already
7428           in JOIN command.  Affected file lib/silcclient/command.c.
7429
7430         * Fixed the JOIN command reply to check whether the channel
7431           already exists.  Affected file lib/silcclient/command_reply.c.
7432
7433 Wed Sep 19 22:58:32 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7434
7435         * Added silc_ske_status_string to map the SKE error numbers
7436           to readable strings.  The affected files are
7437           lib/silcske/silcske[_status].[ch].
7438
7439 Tue Sep 18 22:50:41 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7440
7441         * Do not show the private channels on the WHOIS channel list
7442           as it is not allowed by the protocol.  The affected file is
7443           silcd/server.c.
7444
7445 Sun Sep 16 12:32:58 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7446
7447         * Assure that the packet length digged from the actual packet
7448           is something sensible in the silc_packet_decrypt_rest_special
7449           in lib/silccrypt/silcpacket.c.
7450
7451         * Free and NULL the allocated pointer in silc_hmac_alloc if
7452           the HMAC allocation fails.  The affected file is
7453           lib/silccrypt/silchmac.c.
7454
7455         * Print the selected security properties to the log files in
7456           the server.  Affected file silcd/protocol.c.
7457
7458         * Add SKE's reference counter even if calling the completion
7459           callback manually.  Otherwise it goes negative, although it
7460           does not cause any problems.  The affected file is
7461           lib/silcske/silcske.c.
7462
7463         * Remove the client entry with short timeout after giving the
7464           KILL command.  Affected file lib/silcclient/command.c.
7465
7466         * Fixed to send error reply in WHOIS and IDENTIFY commands in
7467           case all found clients are already disconnected (WHOWAS would
7468           found them) in the server.  Affected file silcd/command.c.
7469
7470         * Update the last_receive (time of last data received) to be
7471           updated only when received private or channel message so that
7472           the idle time showed in WHOIS makes more sense.
7473
7474         * Added boolean field `valid' in to the SilcClientEntry in the
7475           client library to indicate whether the entry is valid or not.
7476           This fixes the nickname change bug on channel when changing
7477           the nickname to be same than the old (like nick to Nick) the
7478           nickname formatter doesn't set the new nick anymore to Nick@host.
7479           Affected file lib/silcclient/idlist.[ch].
7480
7481         * Now actually fixed the nickname changing on disconnection.
7482           Added new function silc_change_nick to the Irssi SILC Client.
7483           Affected file irssi/src/silc/core/client_ops.c,
7484           irssi/src/silc/core/silc-nicklist.[ch].
7485
7486 Sat Sep 15 13:29:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7487
7488         * Check that the public key exists in the GETKEY command before
7489           trying to encode it.  Affected file silcd/command.c.
7490
7491         * Print some notifications on received public keys with GETKEY
7492           command in the Irssi SILC Client.  Affected files are
7493           irssi/src/fe-common/silc/module-formats.[ch],
7494           irssi/src/silc/core/client_ops.c.
7495
7496         * Use IDENTIFY command to resolve the server information in the
7497           GETKEY command instead of INFO command.  Affected file
7498           lib/silcclient/command.c.
7499
7500         * All command reply functions in the client library now calls
7501           the pending command reply callbacks even if an error has
7502           occurred.  The server has done this a long time and now it was
7503           time to move the client library to this as well.  Now all
7504           errors can be delivered back to the pending command reply
7505           callbacks if necessary.  Affected files are
7506           lib/silcclient/command[_reply].[ch].
7507
7508         * Change the nickname on disconnection back to the username
7509           because in reconnect the server will enforce it to it anyway.
7510           Affected file irssi/src/silc/core/silc-servers.c.
7511
7512         * Fixed a config file parsing bug in the Irssi SILC client.
7513           Affected file irssi/src/silc/core/clientconfig.c.
7514
7515 Thu Sep 13 23:11:18 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7516
7517         * When printing the channel mode on JOIN, verify that the
7518           channel key and channel's HMAC are valid.  Affected file
7519           irssi/src/silc/core/client_ops.c.
7520
7521 Thu Sep 13 20:24:52 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7522
7523         * Added defines SILC_DEFAULT_CIPHER, SILC_DEFAULT_HMAC,
7524           SILC_DEFAULT_HASH and SILC_DEFAULT_PKCS in the file
7525           lib/silccrypt/[silccipher.h|silchmac.h|silchash.h|silcpkcs.h].
7526
7527         * Removed channel key rekey task deleting from the function
7528           silc_server_save_channel_key.  Affected file silcd/server.c.
7529           Added explicit timeout task context instead that is used to
7530           delete the task if we are registering a new task before the
7531           new task has elapsed.
7532
7533         * When channel key rekey occurs the client library now saves
7534           the old channel key for a short period of time (10 seconds) and
7535           is able to use it in case some is still sending channel
7536           messages encrypted with the old key after the rekey.  Affected
7537           file lib/silcclient/[idlist.h|client_channel.c].
7538
7539 Sun Sep  9 15:49:16 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7540
7541         * Added check to the silc_server_new_id_real to not accept
7542           new ID if it is the sender's own ID.  Affected file is
7543           silcd/packet_receive.c.
7544
7545         * Assure that we do not announce ourself or the one we've
7546           sending our announcements when we're router and are announcing
7547           servers to our primary router.  Affected file silcd/server.c.
7548
7549         * Fixed silc_server_command_identify_check_client to assemble
7550           correct WHOIS packet.  It send corrupted WHOIS packet and
7551           caused problem with router to router connections.  Affected
7552           file silcd/command.c.
7553
7554           Fixed also silc_server_command_whois_check the same way
7555           as for the IDENTIFY command.
7556
7557         * Added new SilcIDListStatus to the server in the SilcIDListData
7558           structure.   The status now includes the current status of
7559           the entry (like registered, resolved etc.).  Affected file
7560           silcd/idlist.[ch].  Defined a bunch of different status types
7561           as well.  This replaced the old boolean registered field as well.
7562
7563           Added resolve_cmd_ident field to the SilcClientEntry structure
7564           too so that if the entry is for example being resolved so
7565           another command may attach to the same pending command reply
7566           without requiring to resolve the same entry again.  This concept
7567           should optimize the WHOIS and the IDENTIFY resolving under
7568           heavy load by taking away unnecessary resolving for entries
7569           that are being resolved already.
7570
7571           Added support for adding multiple pending commands for one
7572           command idenfier.  Affected file silcd/command[_reply].[ch].
7573
7574         * Fixed WHOIS and IDENTIFY save to remove the cache entry
7575           before deleting the data.  Otherwise the hash table will have
7576           freed data in comparison functions.  Affected file is
7577           silcd/command_reply.c.
7578
7579         * Fixed silc_idlist_replace_client_id to add the new entry to
7580           the cache with NULL nickname.  Otherwise there will be invalid
7581           memory as the nickname after the nickname is freed.  Affected
7582           file silcd/packet_receive.c.
7583
7584         * Fixed the silc_idlist_get_clients_by_hash.  The entries was
7585           saved into wrong slots because the previous number of entries
7586           was not taken into account.  Affected file silcd/idlist.c.
7587           Fixed same thing in silc_idlist_get_clients_by_nickname too.
7588
7589         * If we are router and we receive JOIN notify to a channel that
7590           does not have any users then notified client is marked as the
7591           channel founder, as it is it.  The affected file is
7592           silcd/packet_receive.c
7593
7594         * Added to the extended hash table API's table_del_*ext functions
7595           the destructor as argument too, so that the caller can decide
7596           which destructor to use or whether to use destructor at all.
7597           Affected file lib/silcutil/silchashtable.[ch].
7598
7599         * Fixed ID Cache purging.  It actually deleted the entries from
7600           the hash table after the data was freed.  The hash table ended
7601           up comparing freed memory.  The affected file is
7602           lib/silccore/silcidcache.c.
7603
7604 Sat Sep  8 10:22:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7605
7606         * Fixed Irssi SILC client's KILL command's HELP syntax.
7607
7608         * The USERS command now resolves the detailed user information
7609           if the userinfo field is missing.  Affected file is
7610           lib/silcclient/command_reply.c.
7611
7612         * Do not print error in silc_file_read if the read file does
7613           not exist.  Just silently return NULL.  Affected file is
7614           lib/silcutil/silcutil.c.
7615
7616         * Fixed the silc_log_output to not wine about NULL filename
7617           and to not create some bogus " " filename.  Affected file is
7618           lib/silcutil/silclog.c.
7619
7620 Fri Sep  7 22:16:38 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7621
7622         * Fixed various printing bugs on the user interface in the
7623           Irssi SILC Client.  Minor changes that were forgotten from
7624           the release.
7625
7626 Fri Sep  7 17:28:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7627
7628         * Fixed the configure.in.pre and the compilation and distribution
7629           environment to support the new autoconf 2.52.  That version is
7630           now required to compile the CVS trunk.
7631
7632 Thu Sep  6 12:47:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7633
7634         * Renamed function silc_parse_nickname to silc_parse_userfqdn
7635           to generally parse user@fqdn format strings.  Affected file
7636           lib/silcutil/silcutil.c.
7637
7638         * Added nickname_format and nickname_force_format fields to the
7639           SilcClientParams structure.  The first one defines the format
7640           for the nicknames that the library will enforce if the receives
7641           multiple same nicknames.  The second one is boolean value and
7642           can be used to force the library to always enforce the format
7643           to the nicknames regardles whether there are multiple nicknames
7644           or not.  This configurable formatting was employed to flexibly
7645           support accessing multiple nicknames from the user interface.
7646           The userinterface can now set the nicknames to what ever format
7647           they prefer.  Affected file lib/silcclient/silcapi.h.
7648
7649           Added function silc_client_nickname_format to the file
7650           lib/silcclient/idlist.c.  It performs the nickname formatting.
7651
7652           Added new field `hostname´ to the SilcClientEntry context.
7653           It holds the hostname of the client.  Affected file is
7654           lib/silcclient/idlist.h.
7655
7656         * Irssi SILC Client sets the nicknames in nick@hostn format.
7657           Fe. priikone@otaku, priikone@otaku2 etc.  Affected file
7658           irssi/src/silc/core/silc-core.c.
7659
7660           The WHOIS printing now also shows both the real nickname and
7661           the formatted nickname so that user knows how to access the
7662           user if there are multiple same nicknames cached.  Affected
7663           file irssi/src/silc/core/client_ops.c.  Changed the WHOIS
7664           printing formatting too to take the hostname now as a separate
7665           argument.  The Affected file is
7666           irssi/src/fe-common/silc/modules-formats.[ch].
7667
7668         * Changed the silc_client_get_clients_local to accept the formatted
7669           nickname as argument.  It accepts the real nickname too but the
7670           formatted nickname can be used to find the true entry from
7671           multiple entries.  Affected file lib/silcclient/silcapi.h and
7672           lib/silcclient/idlist.c.
7673
7674         * Added nickname_format_parse field to the SilcClientParams.
7675           It is a callback function provided by the application to parse
7676           the nickname out of the formatted nickname string. The library
7677           calls it to get the nickname from the formatted string. Since
7678           the application generally knows better the format of the nickname
7679           string it parses it instead of the library, even though library
7680           encodes the formatted string.  If the callback function is not
7681           provided then the library will use the string as is.  The
7682           affected file is lib/silcclient/silcapi.h.
7683
7684         * All the nickname strings passed to the client library in
7685           commands are now expected to be formatted nickname strings.
7686           If the command does not support the formatted nickname string
7687           it will assume that the sent string is the actual nickname.
7688           Affected file lib/silcclient/command.c.
7689
7690 Tue Sep  4 22:31:28 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7691
7692         * Added public key authentication support to OPER and SILCOPER
7693           commands in the client library.  Affected file is
7694           lib/silcclient/command.c.
7695
7696 Tue Sep  4 12:39:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7697
7698         * Changed the get_auth_methdod client operation to be asynchronous.
7699           It can be async if the application resolves the authentication
7700           method from the server during the negotiation.  Added new
7701           SilcGetAuthMeth completion callback that the application will
7702           call after resolving the authentication method.
7703
7704           Added function silc_client_request_authentication_method that
7705           the application can use to resolve the authentication method
7706           from the server.  Added also SilcConnectionAuthRequest callback
7707           that the library will call after the server has replied.  The
7708           application can call this function if it does not know the
7709           current authentication method.
7710
7711           Affected files are lib/silcclient/client.c and
7712           lib/silcclient/silcapi.h.
7713
7714         * The Irssi SILC client now automatically resolves the authentication
7715           method incase any configuration information is not present (and
7716           currently there never is).  The affected file is
7717           irssi/src/silc/core/client_ops.c.
7718
7719         * Fixed public key authentication from the client library.
7720           Affected file lib/silcclient/protocol.c.  Changed also the
7721           protocol specification about the public key authentication in
7722           the connection authentication protocol.  The actual data to be
7723           signed is now computed with a hash function before signing.
7724
7725         * Fixed the public key authentication from the server as well.
7726           Affected file silcd/protocol.c.
7727
7728         * Removed the mlock()'s from the memory allocation routines.
7729           Affected file lib/silcutil/silcmemory.c.  The ./configure does
7730           not check anymore for the mlock().  Affected file is
7731           configure.in.pre.
7732
7733         * Fixed USERS command in server to allow the execution of the
7734           command for private and secret channels if the client sending
7735           the command is on the channel.  Affected file silcd/command.c.
7736
7737         * Fixed silc_client_get_clients_local to return the clients
7738           count correctly.  It could return wrong value.  Affected file
7739           lib/silcclient/idlist.c.
7740
7741 Mon Sep  3 20:09:59 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7742
7743         * Fixed the lib/silcmath/mpi/mpi.h to always use 32-bit data
7744           types.  The assembler optimizations seemed not to like 64-bit
7745           data types.  The assmebler optimizations thus are now enabled
7746           also for BSD systems as opposed to only enable them for Linux.
7747
7748         * Do not check for threads at all on BSD systems.  Affected
7749           file configure.in.pre.
7750
7751         * Removed -n and -h options from the Irssi SILC Client since
7752           they are not used in silc.
7753
7754         * Fixed the prime generation to assure that the first digit
7755           of the generated random number is not zero since our conversion
7756           routines does not like number strings that starts with zero
7757           digit.  If zero digit is seen the random number is regenerated.
7758           This caused some corrupted RSA keys when the zero first digit
7759           was met.  Affected file lib/silcmath/silcprimegen.c.
7760
7761 Sun Sep  2 17:17:24 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7762
7763         * Fixed WIN32 configuration in the ./configure script.
7764           Fixed to include xti.h on environments that has it.
7765           Patches by Carsten Ilchmann and andrew.
7766
7767 Sat Sep  1 00:29:33 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7768
7769         * Changed the silc_id_create_client_id to be collision
7770           resistant.  It is now assured that there cannot be created
7771           two same client ID's.  I suspect that some weird bugs in
7772           the server were actually caused by duplicate Client IDs.
7773           Affected file silcd/serverid.[ch].  A router receiving
7774           new ID now also assures and informs the sending server
7775           if the ID caused collision.
7776
7777         * Changed the silc_id_create_channel_id to also assure that
7778           there are no collisions.
7779
7780 Wed Aug 29 17:55:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7781
7782         * Statement about ignoring the Mutual Authentication flag when
7783           performing rekey with PFS was a bit misleading.  It is ignored
7784           if it was set in the initial negotiation, it cannot be even
7785           set in the rekey.  Fixed in the ke-auth draft.  Started the
7786           new versions of the protocol drafts in the doc/.
7787
7788 Sun Aug 26 14:59:15 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7789
7790         * Fixed a bug in silc_client_command_identify_save when saving
7791           new channel information.  The channel name was no duplicated
7792           and caused crash on exit.  Affected file is
7793           lib/silcclient/command_reply.c.
7794
7795 Fri Aug 17 23:07:45 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7796
7797         * Fixed the getkey command handling in the server.  Send just
7798           empty OK reply to the sender if the key could not be fetched
7799           (but everything else was ok, like the key just was not available).
7800           Changed the public key parameter to optional in the protocol
7801           specs so that empty OK reply can be sent.  Affected file
7802           silcd/command.c.
7803
7804           Added a message to Irssi SILC client to tell to user if the
7805           server did not return a public key.
7806
7807 Tue Aug 14 07:29:27 CEST 2001  Pekka Riikonen <priikone@silcnet.org>
7808
7809         * Fixed a channel key regeneration bug.  It registered new
7810           timeout tasks exponentially until all system resources were
7811           used.  Affected file silcd/server.c.
7812
7813 Sun Aug 12 20:48:14 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7814
7815         * Added the SILC Document generator to the scripts/silcdoc.
7816           It can be used to generate the Toolkit Reference Manual out
7817           of the source tree.  Internally it will also use the RoboDoc
7818           generator now imported in util/robodoc.
7819
7820 Sun Aug 12 12:28:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7821
7822         * Added couple of return's in rekey protocol if error orccurred
7823           during the protocol.  The execution must be terminated.
7824           Affected file silcd/protocol.c.  Also, terminate the protocol
7825           always with timeout.
7826
7827 Sat Aug 11 12:36:02 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7828
7829         * The client's Client ID was created initally from the wrong
7830           nickname (it could have been in format nick@host) in the
7831           silc_server_new_client.  Affected file silcd/packet_receive.c
7832
7833 Sat Aug 11 00:29:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7834
7835         * Added some SILC_LOG_ERROR's to various error conditions
7836           if client could not be added to ID cache.  Affected files
7837           silcd/packet_receive.c and silcd/server.c.
7838
7839         * When client's sock->user_data is freed, NULL also the
7840           client->router and client->connection pointers.  Added check
7841           for these pointers being NULL to various places around the
7842           code.  Affected file silcd/server.c.
7843
7844         * Added client->data.registered == TRUE checks to various
7845           places around the code to assure that unregistered client's
7846           are not handled when it is not allowed.  Affected file
7847           silcd/server.c.
7848
7849         * Added `bool registered' fields to all
7850           silc_idlist_[server|client]_get_* routines to indicate whether
7851           the fetched client needs to be registered or not.  Affected
7852           file silcd/idlist.[ch].
7853
7854         * Add your own entry as registered to the ID cache in the
7855           server.  Affected file server.c.
7856
7857         * Fixed a bug in silc_server_new_server.  The SilcServer was
7858           set as the new server's context instead of SilcServerEntry.
7859           This naturally caused some weird bugs.
7860
7861         * Added "updated" field the SilcChannelEntry which indicates
7862           the time since the channel entry was last accessed.  This
7863           can be used to determine whether it is necessary to
7864           announce the channel after backup resuming protocol.
7865           Affected files silcd/idlist.[ch].
7866
7867 Thu Aug  9 18:28:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7868
7869         * Do not delete the channel rekey task when adding it
7870           for in silc_server_create_channel_key.
7871
7872         * Changed the silc_server_create_channel_key to return
7873           TRUE or FALSE to indicate the success of the channel key
7874           creation.
7875
7876 Thu Jul 26 11:32:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7877
7878         * Fixed MSVC++ project files and added missing files to
7879           Makefiles under win32/.
7880
7881 Wed Jul 25 18:43:54 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7882
7883         * Do not add TCP_NODELAY flag if the operating system
7884           does not have it defined.  Affected files are
7885           lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
7886
7887         * Fixed buffer overflow from Irssi SILC Client.  Affected
7888           file irssi/src/fe-common/core/themes.c.
7889
7890         * Fixed double free in client library in the file
7891           lib/silcclient/client.c when disconnecting from server.
7892
7893         * Applied double free patch from cras to Irssi SILC client.
7894           Affected files irssi/src/core/[modules/expandos].c
7895
7896         * Fixed the disconnection handling to Irssi SILC Client.
7897           The application must call silc_client_close_connection
7898           in ops->connect client operation in case of failure of
7899           the connection.  Affected file is
7900           irssi/src/silc/core/client_ops.c.
7901
7902         * Do not set sock->protocol to NULL in the function
7903           silc_client_close_connection after executing the protocol's
7904           final callback since the sock might not be valid anymore.
7905           Affected file lib/silcclient/client.c.
7906
7907 Wed Jul 25 16:04:35 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7908
7909         * Do not enable SILC_THREADS if the linking with libpthread
7910           did not happen.  Affected file configure.in.pre.
7911
7912         * Added notion to protocol specification that server must
7913           verify the sent authentication payload with CMODE when
7914           setting the channel founder key.  Implemented it to the
7915           server.  Affected file silcd/command.c.
7916
7917 Mon Jul 23 18:31:43 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7918
7919         * Added _EXTRA_DIST SILC distribution variable to the
7920           distributions file.  It is used to conditionally add extra
7921           files or directories to the specific distribution.  Affected
7922           files ./prepare, Makefile.am.pre and distributions.
7923
7924           Removed the `_' from the start of the distribution names.
7925           It is redundant.
7926
7927         * Added README.WIN32 for instructions to compile the Toolkit
7928           under WIN32.
7929
7930 Mon Jul 23 10:12:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7931
7932         * Fixed a double free in disconnection in the server.  Affected
7933           file is silcd/server.c.
7934
7935         * Fixed the lib/silcske/groups.c to work now also with GMP
7936           MP library.  The string conversion did not work when using
7937           specific base and the base is indicated in the string as well.
7938
7939         * Created win32/ directory which now includes MSVC++ specific
7940           stuff so that toolkit (DLLs) may be compiled with MSVC++.
7941           It will appear only in the toolkit distribution
7942
7943 Sun Jul 22 19:40:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7944
7945         * Changed the key material distribution function in case when
7946           the hash output is too short.  The data is now concatenated
7947           a bit differently than it used to.  Made the change to the
7948           SKE protocol specification.
7949
7950         * Added better GMP detection to configure.in.pre.  A patch
7951           by salo.
7952
7953 Fri Jul 20 13:16:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7954
7955         * Fixed a minor bug in SKE that might cause some problem on
7956           some platforms.  Affected file lib/silcske/silcske.c.
7957
7958         * Added the cookie checking for initiator in the SKE.  It checks
7959           that the responder returns the sent cookie unmodified.  The
7960           affected file is lib/silcske/silcske.c.  Added new SKE
7961           error type INVALID_COOKIE that can be sent during the
7962           negotiation.  Fixed some memory leaks as well.
7963
7964         * Added the "invalid cookie" error message to Irssi SILC client's
7965           message formats.
7966
7967 Thu Jul 19 21:44:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7968
7969         * Added `task_max' field to the SilcClientParams to indicate
7970           the maximum tasks the scheduler can handle.  If set to zero,
7971           default values are used.  Affected file lib/silcclient/silcapi.h.
7972
7973         * Fixed memory leaks in silc_client_close_connection.  Affected
7974           file lib/silcclient/client.c.
7975
7976         * Added silc_client_del_client_entry to client library to free
7977           all memory of given client entry.  Affected file is
7978           lib/silcclient/idlist.[ch].
7979
7980         * Added new functions silc_client_del_channel and
7981           silc_client_del_server to delete channel and server entries.
7982           Affected file lib/silcclient/[silcapi.h/idlist.c].
7983
7984         * Removed silc_client_del_client_by_id from silcapi.h.
7985
7986         * Fixed the INFO command to return the server's own info
7987           correctly when querying by Server ID.  Affected file is
7988           silcd/command.c.
7989
7990 Thu Jul 19 14:47:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7991
7992         * Removed the non-blocking settings in WIN32 code in the
7993           silc_sock_[read/write] and added SleepEx instead.  Affected
7994           file lib/silcutil/win32/silcwin32sockconn.c.  The availability
7995           of input data is now checked with FIONREAD and ioctlsocket.
7996
7997 Wed Jul 18 18:34:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7998
7999         * Call silc_schedule_task_del_by_context in the
8000           silc_protocol_cancel instead of silc_schedule_task_del_by_callback.
8001           Affected file lib/silccore/silcprotocol.c.
8002
8003         * Call silc_protocol_cancel for active protocols in the
8004           silc_server_close_connection if the funtion
8005           silc_server_free_sock_user_data has not been called.
8006           Affected file silcd/server.c.
8007
8008         * Generic tasks cannot be deleted using the del_by_fd
8009           task deleting function since generic tasks does not match
8010           any specific fd.  Affected file lib/silcutil/silcschedule.[ch].
8011
8012         * Added a notion to SILCOPER help file that the SILCOPER works
8013           only on router server, not on normal server.
8014
8015 Wed Jul 18 09:40:04 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8016
8017         * Added for WIN32 support for the new scheduler as well.
8018           Affected file lib/silcutil/win32/silcwin32schedule.c.
8019
8020         * Fixed the SHA1 implementation to work on various platforms.
8021
8022 Tue Jul 17 23:04:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8023
8024         * Rewrote the SILC Scheduler entirely.  Removed the old SILC Task
8025           API.  It is part of the scheduler now.  Everything else is
8026           as previously but some functions has changed their names.
8027           Checkout the lib/silcutil/silcschedule.h for the interface.
8028           Updated all applications to use the new interface.  Affected
8029           files are lib/silcutil/silcschedule.[ch].
8030
8031 Tue Jul 17 16:53:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8032
8033         * Found a bug in the SKE implementation.  The HASH value,
8034           specified by the protocol, was not computed correctly.  The
8035           public key of the responder was not added to the computation
8036           even though it is mandatory.  Affected file lib/silcske/silcske.c.
8037           This unfortunately causes incompatibilities with older
8038           clients and servers.
8039
8040         * Added WIN32 specific network init and uninit functions:
8041           silc_net_win32_init and silc_net_win32_uninit to init and uninit
8042           the Winsock2.  Affected file lib/silcutil/silcnet.h and
8043           lib/silcutil/win32/silcwin32net.c.
8044
8045         * Set the socket always to nonblocking mode on WIN32 after
8046           reading data or writing data.  Affected file is
8047           lib/silcutil/win32/silcwin32sockconn.c.
8048
8049 Mon Jul 16 22:55:26 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8050
8051         * Fixed various compilation problems under WIN32.  Affected
8052           files lib/silcutil/win32/silcwin32thread.c and
8053           lib/silcutil/win32/silcwin32schedule.c.
8054
8055         * Removed all _internal.h #includes from public header
8056           files.  Internal headers must never be included from
8057           public headers.
8058
8059           Removed also the lib/silcske/payload_internal.h file.
8060
8061         * All include files that may be needed (public and some others
8062           included by the public headers) by application developers are
8063           now copied to the ./includes directory.  It does not copy any
8064           internal headers.  Affected file Makefile.defines.pre and all
8065           Makefile.am's under lib/ and subdirs.
8066
8067 Thu Jul 12 17:49:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8068
8069         * Do not change the ~/.silc directory's permissions automatically.
8070           Affected file irssi/src/silc/core/clientutil.c.
8071
8072 Thu Jul 12 10:18:40 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8073
8074         * Do not cancel the protocol in silc_server_close_connection
8075           it might cause recursion.  Now cancelled in the function
8076           silc_server_free_sock_user_data.  Affected file silcd/server.c.
8077
8078         * Fixed the silc_server_remove_clients_by_server to regenerate
8079           the channel keys correctly finally.  Added also new function
8080           silc_server_remove_clients_channels to actually do it.
8081           Affected file silcd/server.c.
8082
8083         * Fixed the silc_server_new_channel to not crash by giving
8084           wrong router to the new channel.  Affected file is
8085           silcd/packet_receive.c.
8086
8087 Wed Jul 11 18:31:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8088
8089         * Added SilcClientParams structure to the lib/silcclient/silcapi.h
8090           which is given as argument to the silc_client_alloc now.
8091           It can be used to configure the client and set various parameters
8092           that affect the function of the client.
8093
8094         * The USERS command in server did not check whether the channel
8095           is private or secret.  Affected file silcd/command.c.
8096
8097         * Added new argument to the USERS command in protocol specification.
8098           The USERS command now can take the channel name as argument
8099           as well.  Added support for this in client and server and
8100           updated the protocol specs.
8101
8102         * Completed the GETKEY command in client. It can be now used
8103           to fetch also servers public key not only some clients.
8104           Affected files lib/silcclient/command[_reply].c.
8105
8106         * Added silc_client_get_server to return server entry by the
8107           server name.  Affected files lib/silcclient/silcapi.h and
8108           idlist.c.
8109
8110         * Redefined the IDENTIFY command in protocol specification to be
8111           more generic.  It now can be used to query information about
8112           any entity in the SILC Network, including clients, servers and
8113           channels.  The query may be based either the entity's name
8114           or the ID.  Added support for this in both client and server.
8115
8116           Affected files silcd/command.c and lib/silcclient/command.c
8117           and command_reply.c.
8118
8119         * Optimized the WHOIS and WHOWAS commands in the server. Removed
8120           the _from_client and _from_server functions.  Affected file
8121           silcd/command.c.
8122
8123         * Added silc_client_get_channel_by_id_resolve to the file
8124           lib/silcclient/silcapi.h to resolve channel information by
8125           its ID.  Added also silc_client_get_channel_by_id that
8126           does not resolve it from the server.
8127
8128 Tue Jul 10 18:05:38 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8129
8130         * Added SilcServerEntry context into the client library
8131           to represent one server.  The INFO command now allocates
8132           these to save the resolved server info.  For now on the
8133           client library will also keep information about servers,
8134           connected and resolved with INFO.
8135
8136           The INFO command now allocates the SilcServerEntry context
8137           and saves the server info there.  The COMMAND_REPLY in
8138           the INFO now returns the parameters to application in
8139           same order as defined in the protocol specification.
8140
8141           The entries are cached in the client->server_cache.
8142
8143         * The INFO command is now issued after received the Client ID
8144           from the server.  Affected file lib/silcclient/client.c.
8145
8146         * The CMODE_CHANGE notify may now return also an SilcServerEntry
8147           to the application as the mode changer might be server.
8148           It is guaranteed that NULL is not returned anymore to the
8149           application.  Affected file lib/silcclient/client_notify.c.
8150
8151           The ID Type is now also passed to the application so that
8152           it can check whether the returned entry is SilcClientEntry
8153           or SilcServerEntry.
8154
8155           Added new function silc_client_get_server_by_id to return
8156           the server entry by ID.  Affected files are the
8157           lib/silcclient/silcapi.h and lib/silcclient/idlist.c.
8158
8159         * Do not create the channel in the Irssi SILC Client when issuing
8160           the JOIN command but when received the sucessful JOIN command
8161           reply.  Otherwise the channel might get created even though we
8162           could not join it.  The Affected file is
8163           irssi/src/silc/core/[silc-channels.c/client_ops.c].
8164
8165         * Fixed a channel joining bug in router.  The router must also
8166           check the channel modes, invite and ban lists etc. when serving
8167           the JOIN command sent by normal server.  Affected file is
8168           silcd/command.c.  The router now resolves the client's
8169           information from the server who sent the JOIN command if it
8170           does not know it, and processes the JOIN command only after
8171           that.
8172
8173         * Changed the SilcCommandCb to take new argument; void *context2.
8174           Affected file lib/silccore/silccommand.h
8175
8176           The second argument in the command callbacks in the server now
8177           includes the SilcServerCommandReplyContext if the command was
8178           called as pending command callback from the command reply.
8179           Otherwise it is NULL. When called as pending the status of the
8180           command reply will be checked and if it was erronous the
8181           error will be sent to the original sender of the command.
8182           This way the client always receives the error messages even
8183           though the server was actually the one who received the error
8184           when it resent the command to router, for example.  Affected
8185           files silcd/command[_reply].[ch].
8186
8187         * Fixed sending WHOWAS command's error message to client if
8188           the requested client could not be found.  It was missing.
8189           silcd/command.c.
8190
8191         * Changed the CMODE and CUMODE commands reply arguments in the
8192           protocol specification.  The Channel ID is now sent in both
8193           of the commands to identify the channel.  Implemented this
8194           new feature to the client and server.  Affected files
8195           lib/silcclient/command_reply.c and silcd/command.c.
8196
8197         * Made better checks for invite and ban lists in the JOIN
8198           command in server.  Affected file silcd/command.c.
8199
8200 Mon Jul  9 18:28:34 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8201
8202         * The server now performs the incoming host IP/DNS lookup
8203           using the silc_socket_host_lookup and thus does not block
8204           the server anymore.  Affected file silcd/server.c.
8205
8206         * Completed the multi-thread support for SILC Scheduler in
8207           the lib/silcutil/silcschedule.c.
8208
8209         * Fixed the configure.in.pre to detect the pthread correctly
8210           on various systems.
8211
8212         * Fixed a deadlock in silc_task_queue_wakeup in the file
8213           lib/silcutil/silctask.c.
8214
8215 Mon Jul  9 13:40:03 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8216
8217         * Added new function silc_schedule_wakeup that is used in
8218           multi-threaded environment to wakeup the main thread's
8219           schduler. It needs to be used when a thread adds a new task
8220           or removes a task from task queues. After waking up, the
8221           scheduler will detect the task queue changes. If threads
8222           support is not compiled in this function has no effect.
8223           Implemented the wakeup mechanism to both Unix and WIN32
8224           systems.  Affected files are lib/silcutil/silcschedule.[ch],
8225           lib/silcutil/unix/silcunixschedule.c and the
8226           lib/silcutil/win32/silcwin32schedule.c.
8227
8228         * Added new function silc_task_queue_wakeup to wakeup the
8229           scheduler by the specified task queue.  Affected file
8230           lib/silcutil/silctask.[ch].
8231
8232         * The silc_socket_host_lookup_start now wakes up the scheduler
8233           after adding the timeout task.  Affected file is
8234           lib/silcutil/silcsockconn.c.
8235
8236         * The silc_socket_host_lookup is synchronous now if the threads
8237           support is not compiled in.  However, the callback is still
8238           called asyncronously through the scheduler, anyway.  Affected
8239           file lib/silcutil/silcsockconn.c.
8240
8241 Mon Jul  9 00:24:45 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8242
8243         * Added new function silc_socket_host_lookup to perform
8244           asynchronous IP and FQDN lookups for the socket connection.
8245           Affected files lib/silcutil/silcsockconn.[ch].
8246
8247 Sun Jul  8 18:44:53 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8248
8249         * Added SILC_MUTEX_DEFINE to define the mutex on environments
8250           that may or may not compile the mutex support in.
8251
8252           Changed the silc_mutex_alloc interface. It allocates the
8253           mutex now to the sent pointer and returns TRUE or FALSE.
8254
8255           Affected file lib/silcutil/silcmutex.h.
8256
8257         * Wrote the SILC Task Queue interface to support multi-threads.
8258           Affected file lib/silcutil/silctask.[ch].
8259
8260         * Wrote the SILC Scheduler to support multi-threads.  Affected
8261           file lib/silcutil/silcschedule.c.
8262
8263 Sun Jul  8 11:16:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8264
8265         * Implemented the SILC Mutex API and SILC Thread API for WIN32
8266           in lib/silcutil/win32/.
8267
8268 Sun Jul  8 00:18:15 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8269
8270         * Defined SILC Mutex API and SILC Thread API and implemented
8271           them for Unix.  Affected files are
8272           lib/silcutil/silcmutex.h, lib/silcutil/silcthread.h,
8273           lib/silcutil/unix/silcunixmutex.c and
8274           lib/silcutil/unix/silcunixthread.c.
8275
8276 Sat Jul  7 14:40:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8277
8278         * Fixed the silc_server_remove_clients_by_server's channel
8279           key re-generation.  The hash table handling was incorrect
8280           and would not work with many channels.  Affected file is
8281           silcd/server.c.
8282
8283         * Fixed some memory leaks around the server code.
8284
8285         * Rewrote the silc_server_get_users_on_channel to support IPv6
8286           based Client ID's.  Affected file silcd/server.c.
8287
8288         * Defined the SILC_MESSAGE_FLAG_SIGNED to the protocol
8289           specification.  However, a separate document must be written
8290           to define the detailed signing procedure and the payload
8291           associated with the flag.  Defined the flag to the
8292           lib/silccore/silcchannel.h as well.
8293
8294 Fri Jul  6 18:26:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8295
8296         * Changed the dynamic tables to static size tables in the
8297           lib/silccrypt/silchmac.c.
8298
8299         * Removed GCC dependencies from the code.  A patch by cras.
8300
8301 Fri Jul  6 09:39:35 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8302
8303         * Do not show the error "Error receiving packet bla bla"
8304           in server if it really was not an error (-2 means that reading
8305           is pending).  Affected file silcd/server.c.
8306
8307 Thu Jul  5 21:22:32 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8308
8309         * Fixed a possible crash in silc_server_remove_clients_by_server
8310           in silcd/server.c.  Fixed there also some memory leaks.
8311
8312         * Fixed the silc_idlist_replace_client_id.  It could replace
8313           wrong key in the hash table.  Affected file silcd/idlist.c.
8314
8315         * Do not check whether there are global users on the channel
8316           if the channel->global_users is FALSE.  Affected functions
8317           silc_server_remove_from_one_channel and
8318           silc_server_remove_from_channels in silcd/server.c.  Also,
8319           do not check if the removed client is local as we can be
8320           sure that global client was not removed from the channel
8321           and checking for global users is not needed.
8322
8323         * The silc_server_remove_clients_by_server now re-generates
8324           the channel keys correctly for those channels that had
8325           clients removed from them.  Affected file silcd/server.c.
8326
8327 Tue Jul  3 11:39:20 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8328
8329         * Found the reason of random crashes in the server.  We weren't
8330           ignoring the SIGPIPE signal (which can be sent in write())
8331           and it crashed the server.  Affected file silcd/silcd.c.
8332
8333 Fri Jun 29 20:05:25 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8334
8335         * Assure that sock->user_data is not NULL in the function
8336           silc_server_packet_send in silcd/packet_send.c.
8337
8338         * Disconnect the remote connection if it could not be added
8339           to any ID lists in the server.  The affected file is
8340           silcd/server.c.
8341
8342         * Check in silc_server_packet_send[_real/dest] that the
8343           socket is not disconnecting and ignore the data if it is.
8344           Affected file silcd/packet_send.c.
8345
8346         * Define inline to __inline on native WIN32 compilation.
8347           Affected file includes/silcwin32.h.
8348
8349         * Added some explicit type casts for inline code since MSVC
8350           require them.  Affected files lib/silcutil/silcbuffer.h,
8351           lib/trq/silcdlist.h and lib/trq/silclist.h.
8352
8353         * Print warning in log files from now on if the packet
8354           decryption fails.  Affected file silcd/server.c.
8355
8356 Thu Jun 28 21:30:39 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8357
8358         * Changed the `say' client operation's interface to accept
8359           new `type' argument to indicate the type of the message sent
8360           by the library.  The application may filter the library's
8361           messages according the type.  The affected file is the
8362           lib/silcclient/silcapi.h.
8363
8364         * Added two new functions to lib/silcclient/silcapi.h:
8365           silc_client_del_client and silc_client_del_client_by_id.
8366           Affected file lib/silcclient/idlist.c.
8367
8368         * Moved the clientincludes.h from includes/ to silc/ and
8369           serverincludes.h from includes/ to silcd/.
8370
8371         * The modes for the CMODE and CUMODE are now passed as
8372           uint32 for application with COMMAND_REPLY.  The affected
8373           file is lib/silcclient/command_reply.c.
8374
8375 Wed Jun 27 22:24:47 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8376
8377         * /WHOIS without arguments shows client's own information.
8378           Affected file lib/silcclient/command.c.
8379
8380         * Changed PING to not accept any arguments.  The specs
8381           says that client can ping only the connected server so
8382           requiring an argument is not needed.  Affected file is
8383           lib/silcclient/command.c.
8384
8385 Wed Jun 27 00:10:33 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8386
8387         * Fixed a fatal bug in private message sending and reception
8388           encryption and decryption when using private message keys.
8389           The implementation was incorrect and did not follow the
8390           specification.  It causd that some of the message were
8391           lost since it did not use the sending and receiving keys
8392           as the protocol suggests.  This has been fixed and will cause
8393           incompatibilities with older clients when sending private
8394           message encrypted with private message keys.  Affected files
8395           lib/silcclient/client_prvmsg.c, lib/silcclient/client_keyagr.c
8396           and various other in Irssi SILC Client.
8397
8398           Added `responder' boolean argument to the functions
8399           silc_client_add_private_message_key[_ske] to indicate when
8400           the key is added as responder or initiator of the key
8401           negotiation.
8402
8403 Tue Jun 26 19:23:07 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8404
8405         * Removed the silc_ske_check_version function and created
8406           a SilcSKECheckVersion callback.  Added also a function
8407           silc_ske_set_callbacks that is now used to set all SKE
8408           callbacks.  The callback functions are not given to
8409           the SKE functions anymore, but this function is used to
8410           set the callbacks.
8411
8412         * Fixed the WIN32 DLL generation in lib/Makefile.am.pre.
8413
8414         * Added `silc_version' argument to the silc_client_alloc
8415           to define the version of the application for the library.
8416           The library will use the version string to compare it
8417           against the remote host's (usually a server) version
8418           string.  Affected file lib/silcclient/silcapi.h
8419
8420         * Added the KE protocol context to Key Agreement context
8421           in client library so that we can abort the SKE if it
8422           is in process when we get timeout.  Affected file is
8423           lib/silcclient/client_keyagr.c.
8424
8425         * Do not resolve the client ID forever if it returns in the
8426           first time that such client does not exist.  This was done
8427           for example with private message.  Affected file is
8428           lib/silcclient/client_prvmsg.c.
8429
8430 Mon Jun 25 21:42:51 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8431
8432         * Do not add regex.h for WIN32.  The affected file
8433           includes/silcincludes.h.
8434
8435         * Added WIN32 DLL generation to lib/Makefile.am.pre.  It might
8436           not work yet 100%.  It generates the DLL's automatically
8437           when compiling with --with-win32 under cygwin.
8438
8439 Sun Jun 24 19:49:23 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8440
8441         * lib/contrib/regex.c is not compiled on WIN32.
8442
8443         * Added silc_net_get_socket_opt function to the
8444           lib/silcutil/silcnet.h.
8445
8446         * Added includes/silcwin32.h for WIN32 specific includes
8447           and definitions.
8448
8449         * Do not use ptime structure or any of the posix process
8450           functions on WIN32 in lib/silccrypt/silrng.c.
8451
8452         * Added silc_gettimeofday to provide generic function
8453           for struct timeval on all platforms.  Added the function
8454           to lib/silcutil/silcutil.h.
8455
8456 Sun Jun 24 12:19:52 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8457
8458         * Moved the lib/silccore/silcsockconn.[ch] to the utility
8459           library as they clearly belong there.  As a plus side we
8460           can make the actual socket connection routines platform
8461           specific.
8462
8463           Added also new generic function silc_socket_read and
8464           silc_socket_write (that used to be silc_packet_[read/write].
8465           The implementation of these are platform specific.
8466
8467         * Added WIN32 specific routines of silc_socket_[read/write]
8468           to lib/silcutil/win32/silcwin32sockconn.c.
8469
8470 Sat Jun 23 16:01:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8471
8472         * Added preliminary support for native WIN32 compilation under
8473           cygwin (using the -mno-cygwin option for GCC) to the
8474           ./configure.in.pre.  The --with-win32 now prepares the
8475           compilation for native WIN32.
8476
8477         * Rewrote the SILC Scheduler interface in the file
8478           lib/silcutil/silcschedule.h.  The scheduler is now context
8479           based and does not have anymore any global static scheduler.
8480           Moved the Unix scheduler to the lib/silcutil/unix/ directory
8481           and created lib/silcutil/win32 directory for WIN32 based
8482           scheduler.
8483
8484         * Added Unix specific network routines to the
8485           lib/silcutil/unix/silcunixnet.c and the old
8486           lib/silcutil/silcnet.c includes now only generic routines.
8487
8488           Added WIN32 specific network routines to the
8489           lib/silcutil/win32/silcwin32net.c.
8490
8491         * Added Unix specific utility functions from the
8492           lib/silcutil/silcutil.c to lib/silcutil/unix/silcunixutil.c.
8493
8494         * Added WIN32 SILC Scheduler to the file
8495           lib/silcutil/win32/silcwin32schedule.c. The code is of course
8496           untested.
8497
8498 Fri Jun 22 10:44:14 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8499
8500         * Do not handle JOIN notify in the server if the target client
8501           is not registered (idata->registered == FALSE).  The affected
8502           file is silcd/packet_receive.c.
8503
8504         * Update the nickrec->founder in event_cumode in the Irssi SILC
8505           client.  Affected file irssi/src/silc/core/silc-channels.c.
8506
8507         * Fixed the CUMODE_CHANGE notify handling in the server when
8508           server and router are announcing their clients on channels.
8509           Now the mode changes are saved and notified correctly.  The
8510           affected file is /silcd/packet_receive.c.
8511
8512         * Fixed silc_idlit_replace_[server/client/channel]_id functions.
8513           They really did not replace the cache entry in the ID Cache.
8514           Now they do that.  Affected file silcd/idlist.c.
8515
8516         * Fixed the KICK notify handling in the Irssi SILC client to
8517           update the channel records so that the kicked client does not
8518           appear to be on the channel.  The affected file is
8519           irssi/src/silc/core/silc-channels.c.
8520
8521         * Always update the conn->current_channel when executing command
8522           on a channel.  Affected file irssi/src/silc/core/silc-servers.c.
8523
8524         * Fixed the KILL notify handling in Irssi SILC client to remove
8525           the killed client on all channels.
8526
8527 Thu Jun 21 17:10:08 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8528
8529         * Fixed the silc_parse_command_line to remove extra spaces
8530           from the start and end of the arguments.  Affected file is
8531           lib/silcutil/silcutil.c.
8532
8533         * Cancel and free any active protocol in the function
8534           silc_server_close_connection.  Affected file silcd/server.c.
8535
8536         * Cancel and free any active protocol in the function
8537           silc_client_close_connction.  Affected file is
8538           lib/silcclient/client.c.
8539
8540         * Do not execute the KILL command for clients that are in
8541           history (ie. they are not in the network).  Affected file is
8542           silcd/command.c.
8543
8544         * Fixed KILL notify handling, client does not crash anymore.
8545           Affected file irssi/src/silc/core/silc-channels.c.
8546
8547         * Reduced the default packet buffer size from 2048 to 1024 in
8548           lib/silccore/silcpacket.c.
8549
8550         * Added SILC_SKE_STATUS_FREED SKE status type and a reference
8551           counter to the SKE context that is incresed when the SKE library
8552           performs async operation outside the library.  If the outside
8553           process frees the SKE context and FREED status will be set
8554           and the library will detect after the sync operation that the
8555           libary is freed.  The affected files are
8556           lib/silcske/silcske[_status].[ch].
8557
8558         * Resolve the client entry information in the function
8559           silc_client_channel_message to assure that NULL pointer is not
8560           passed as client entry to the application. */
8561
8562         * Fixed the task timeout calculation to assure that there is
8563           never negative timeouts.  The affected file is
8564           lib/silcutil/silcschedule.c.
8565
8566         * Fixed the channel user mode notification sending in server.
8567           It was sent point-to-point to the router (or to server by router)
8568           but it needs to be destined to a channel.  The routines now
8569           supports sending the channel user mode notifys to the channels
8570           when announcing clients and channels.  Affected files are
8571           silcd/server.c and silcd/packet_receive.c.
8572
8573         * Fixed the CHANNEL_CHANGE notify handling in the client libary.
8574           It did not actually replace the old channel entry in the cache.
8575           Affected file lib/silcclient/client_notify.c.
8576
8577 Tue Jun 19 22:10:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8578
8579         * Fixed a possible crash in silc_packet_send_prepare.  It now
8580           assures always that there is enough space in the buffer and
8581           at the tail area of the buffer (for MAC).
8582
8583           Fixed the inbound buffer reallocation in silc_packet_read.
8584           It was old code and did not handle the reallocation correctly.
8585           Affected
8586
8587           The affected file is lib/silccore/silcpacket.c.
8588
8589         * Fixed buffer overflow in silc_parse_nickname in the file
8590           lib/silcutil/silcutil.c.
8591
8592 Tue Jun 19 13:40:09 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8593
8594         * make install generates new server keys only if there is not
8595           keys already.
8596
8597 Mon Jun 18 18:49:07 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8598
8599         * Set SILC_MESSAGE_FLAG_NOREPLY when sending the away message.
8600           Added check that if the NOREPLY is set then we will not send
8601           the away message.  This avoids infinite loop of away messages
8602           if both clients are away.  The affected file is
8603           lib/silcclient/client_prvmsg.c.
8604
8605         * Fixed client crash if /NICK was given without arguments.
8606           Affected file lib/silcclient/command.c.
8607
8608         * Server does not send the invite list in INVITE command back
8609           to the client if the list was not altered.  Added this notion
8610           to the protocol spec as well.  Affected file silcd/command.c.
8611
8612           Fixed possible crash in INVITE command by checking the
8613           value of silc_server_get_client_route command.
8614
8615         * Fixed the INVITE notify type handling.  The arguments are now
8616           taken in correct order and client does not crash.  The affected
8617           file is irssi/src/silc/core/silc-channels.c.
8618
8619           Removed the "Inviting xxx to channel" message from the
8620           client library away and let the application handle it.
8621           Affected file lib/silcclient/command.c.  Added that message
8622           to Irssi SILC client's message formats.
8623
8624         * Fixed CMODE command crash in client.  It now checks the
8625           amount of arguments correctly and does not crash.  The affected
8626           file is lib/silcclient/command.c.
8627
8628         * Do not create new channel automatically in silc_channels_join
8629           but check whether the channel by that name already exists.
8630           Affected file irssi/silc/core/silc-channels.c.
8631
8632         * Do not send the SERVER_SIGNOFF to router if the disconnected
8633           entity was the router.  Affected file silcd/server.c.
8634
8635         * Added the handling of the SERVER_SIGNOFF notify to the Irssi
8636           SILC client as it was missing from there.
8637
8638           Added the handling of the KICK notify to the Irssi SILC client
8639           as it was missing.  Added "you have been kicked" message to
8640           Irssi SILC client's message modules formats.
8641
8642           Added the handing of the KILL notify to the Irssi SILC client
8643           as it was missing.  Added the kill message module formats
8644           as well.
8645
8646           The affected file is irssi/src/silc/core/silc-channels.c.
8647
8648         * The router did not save the channel mode the server announced.
8649           Affected file silcd/packet_receive.c.
8650
8651         * Fixed a possible crash in INFO command in server.  If the
8652           server did not provide the server info it crashed.  Affected
8653           file silcd/command.c.
8654
8655 Sun Jun 17 15:26:05 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8656
8657         * Fixed the GETKEY command in the server to check also the
8658           global list.  Otherwise the GETKEY would not work correctly
8659           in normal SILC server.  Affected file silcd/command.c.
8660
8661 Sat Jun 16 18:00:00 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8662
8663         * Fixed GETKEY crash, it crashed if the command did not succseed.
8664
8665 Tue Jun 12 21:36:18 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8666
8667         * Redefined the SILC MP API in lib/silcmath/silcmp.h. The API
8668           is now real and not just an macro interface to GMP.
8669
8670           Removed the entire GMP from the source tree and imported new
8671           NSS MPI library instead.  Reason for removing GMP is that it is
8672           extremely large and compiles extremely slow.  The NSS MPI
8673           is only a few files and compiles in less than 10 seconds.
8674           The speed is also about the same as GMP.  The MPI is imported
8675           to lib/silcmath/mpi.
8676
8677           If the system has GMP installed we will still use the GMP.
8678           If it is not then the NSS MPI will be compiled.
8679
8680 Mon Jun 11 18:07:24 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8681
8682         * Merged a long nickname (127 characters long) crash bugfix from
8683           Irssi CVS tree.  Affected file irssi/src/core/misc.c.
8684
8685         * Merged a freed memory reference bugfix from Irssi CVS tree.
8686           Affected file irssi/src/core/commands.c.
8687
8688 Sun Jun 10 16:08:35 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8689
8690         * Added the server's public key sving and verification to the
8691           server when performing the SKE.  This was missing and the
8692           remote server's (or router's) public key was accepted without
8693           checking whether we have it previously or trust it at all.
8694           Affected file silcd/protocol.c.
8695
8696 Sat Jun  9 20:17:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8697
8698         * Check in the silc_server_timeout_remote if protocol is active
8699           and make sure that the protocol's final callback is called so
8700           that all memory if freed.  Affected file silcd/server.c.
8701
8702 Sat Jun  9 12:51:27 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8703
8704         * silc_server_whois_send_reply crashed the server if the nickname
8705           was 127 characters long.  Affected file silcd/command.c.
8706
8707 Thu Jun  7 16:29:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8708
8709         * Added sanity check to the silc_server_new_client. If the hostname
8710           is provided inside username then check that the provided hostname
8711           really is the same as the resolved one.  If the hostname was not
8712           resolved then check it from the public key.  Affected file is
8713           silcd/packet_receive.c.
8714
8715         * Fixed a fatal bug in Irssi SILC client. Do not send QUIT command
8716           if the server disconnected us and the connection is not valid
8717           anymore.  Affected file irssi/src/silc/core/silc-channels.c.
8718
8719         * Moved the silc_client_[chmode|chumode|chumode_char] away from
8720           the library to the lib/silcutil/silcutil.[ch].
8721
8722 Thu Jun  7 08:57:16 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8723
8724         * Close log file after open.  Affected file
8725           lib/silcutil/silclog.c.
8726
8727         * Check whether sock == NULL in silc_client_send_packet and return
8728           if it is.  Affected file lib/silcclient/silcclient.c.
8729
8730         * Check rec->entry == NULL in the Irssi SILC Client before
8731           sending the channel message.  Affecte file is
8732           irssi/src/silc/core/silc-servers.c.
8733
8734 Tue Jun  5 08:08:21 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8735
8736         * Merged a splitted window bugfix from Irssi CVS tree.  The
8737           affected file is irssi/src/fe-text/textbuffer-view.c.
8738
8739         * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
8740           It did not print nickname.
8741
8742         * Improved the distributions system a bit.
8743
8744 Mon Jun  4 17:57:16 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8745
8746         * Merged /WINDOW bugfix from irssi CVS tree. Affected file is
8747           irssi/src/fe-text/gui-window.c.
8748
8749         * Fixed a fatal bug in Irssi SILC client. Crashed if sent message
8750           to in-active server.  The affected file is
8751           irssi/src/silc/core/client_ops.c.
8752
8753         * Resolve the client in USERS command reply if the entry does
8754           not have username resolved.  The affected file is
8755           lib/silcclient/command_reply.c.  Also, changed the IDENTIFY
8756           command to WHOIS command to really resolve stuff.  The USERS
8757           is not used any more in any critical section so WHOIS can
8758           be used even though it might be slower than IDENTIFY.
8759
8760         * Changed the lib/silcutil/silchashtable.h header to ROBODoc
8761           format.
8762
8763 Sun Jun  3 14:21:32 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8764
8765         * Changed the protocol API a bit more consistent in the
8766           lib/silccore/silcprotocol.[ch].
8767
8768         * Changed the following headers to ROBODoc format:
8769
8770                 lib/silccore/silcpayload.h
8771                 lib/silccore/silcprotocol.h
8772                 lib/silccore/silcsockconn.h
8773
8774           All core library headers are now formatted.
8775
8776 Sat Jun  2 10:45:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8777
8778         * Fixed a bug in Irssi SILC client; do not show that you are
8779           server/router operator if you really are not.  Affected file is
8780           irssi/src/silc/core/client_ops.c.
8781
8782         * Renamed silc_command_free_payload to silc_command_payload_free.
8783           Affected file lib/silccore/silccommand.h
8784
8785         * Added silcmath.h to include the prototoypes of various routines
8786           in the lib/silcmath.  Removed the old modinv.h, mpbin.h and
8787           silcprimegen.h.
8788
8789         * Changed the following headers to ROBODoc format:
8790
8791                 lib/silccore/silcchannel.h
8792                 lib/silccore/silccommand.h
8793                 lib/silccore/silcid.h
8794                 lib/silccore/silcidcache.h
8795                 lib/silccore/silcmode.h
8796                 lib/silccore/silcnotify.h
8797                 lib/silccore/silcpacket.h
8798                 lib/silcmath/silcmath.h
8799
8800 Fri Jun  1 22:19:37 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8801
8802         * Added checking to the server code not to start the server if
8803           ciphers and stuff are not configured properly.  Affected files
8804           silcd/serverconfig.[h] and silcd/server.c.
8805
8806         * Changed the layout of the header files of the public interfaces
8807           in the SILC libraries.  The new layout supports ROBODoc
8808           documentation tool (and some others) so that it is easy to create
8809           a library reference manual.  All the other headers and source
8810           code must still follow the CodingStyle document.  Also source
8811           code must not include these ROBODoc stuffs, only the headers.
8812           Furthermore, all public interface headers must now be named
8813           by using `silc' prefix, example: silcapi.h, silccipher.h.
8814           Some files were renamed due to this.  All the other headers
8815           must not be used as public interfaces.  I will update the
8816           CodingStyle document later.  Changed following headers, so far:
8817
8818                 lib/silcclient/silcapi.h
8819                 lib/silccore/silcauth.h
8820                 lib/silccore/silcprivate.h
8821                 lib/silccrypt/silcdh.h
8822
8823 Fri Jun  1 10:28:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8824
8825         * Updated TODO.
8826
8827         * Removed silc_client_packet_send_flush from the client library
8828           as it is not needed.  Affected file lib/silcclient/client.[ch].
8829
8830         * Added printing of message of unresolved authentication method
8831           to the Irssi SILC client.  Added it to the module formats.
8832           Removed the same message from the client library.
8833
8834 Thu May 31 13:57:33 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8835
8836         * Added new distribution feature, DISTLABEL.  Every distribution
8837           can define own preprocessor label that can be used in the
8838           source code.  For example: #ifdef SILC_DIST_CLIENT.  Affected
8839           file distributions, acconfig.h.pre and prepare.
8840
8841 Tue May 29 22:16:40 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8842
8843         * Added Makefile.defines_int to include the actual definitions
8844           for Makefile.defines.in.  Tested the new distribution system,
8845           created distributions and tested installation.
8846
8847         * Added AWAY message printing to the Irssi SILC client.  Added
8848           the messages to the irssi/src/fe-common/silc/module-formats.[ch].
8849
8850         * Added SCONNECT command to call the SILC's CONNECT command.
8851           Cannot use CONNECT directly since Irssi uses that internally.
8852           Affected file irssi/src/silc/core/silc-servers.c.
8853
8854           Added ACTION local command.  It is same as ME command but takes
8855           the channel as mandatory argument.
8856
8857           Rewrote some of the Irssi's help files to suite for SILC
8858           protocol.
8859
8860 Mon May 28 19:05:22 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8861
8862         * Added Makefile.defines[.in] that should for now on be included
8863           in all Makefile.am file in the source tree.  That file includes
8864           all common compilation definitions for SILC source tree.
8865
8866 Mon May 28 10:30:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8867
8868         * Minor changes to the ./prepare script to change the package
8869           name according the distribution name to the configure.in.
8870
8871 Sun May 27 22:24:57 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8872
8873         * Created new distribution system.  Added file `distributions'
8874           that defines all the distributions that can be created out of
8875           the SILC source tree.  The ./prepare script now reads that
8876           file to determine how to prepare the distributions.  The
8877           first argument to the ./prepare is the name of the distribution
8878           and second is the version of the distribution.  If given
8879           without arguments it creates the default (toolkit) distribution
8880           with the default version (defined in ./prepare).
8881
8882           All Makefile.am files that are subject to the distributions
8883           are now named as Makefile.am.pre.  These are ./Makefile.am
8884           and lib/Makefile.am.  Others may be changed later.
8885
8886 Sun May 27 15:57:17 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8887
8888         * Added invite list, ban list, some key management and connection
8889           error message printing to module formats in the Irssi SILC client.
8890
8891         * Added new silc_client_set_away_message to set the away message
8892           that is back to the person who sent private message.  The
8893           affected file lib/silcclient/silcapi.h and the
8894           lib/silcclient/client_prvmsg.c.
8895
8896 Sun May 27 12:39:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8897
8898         * Fixed the private message sending in the Irssi SILC client,
8899           added local command KEY to the Irssi SILC client.
8900
8901           Added key management and key agreement message formats to the
8902           irssi/src/fe-common/silc/module-formats.[ch].
8903
8904           Added USERS (alias WHO) printing, server/router operator
8905           indication and LIST command printing to the module formats.
8906
8907 Sat May 26 17:43:42 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8908
8909         * Fixed channel joining notify handling, cumode notify handling
8910           from Irssi SILC client.
8911
8912         * Added SILC specific module-formats to the Irssi SILC client so
8913           that SILC specific message hilighting, colors etc is possible.
8914           Affected file irssi/src/fe-common/silc/module-formats.[ch].
8915
8916           Added channel mode, channel user mode, actions, notices,
8917           whois and whowas printing to the the module-formats.c.
8918
8919         * Fixed a bug in channel deletion in the server.  The channel
8920           is not left to the cache even if the channel founder auth mode
8921           is set when there are no users anymore on the channel.  Affected
8922           file silcd/server.c.
8923
8924         * The silc_net_localhost now resolves the entire hostname including
8925           the domain name.  Affected file lib/silcutil/silcnet.c.
8926
8927 Sat May 26 12:13:37 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8928
8929         * Changed the ask_passphrase client operation to be ascynchronous.
8930           It has now a completion callback and a context that the
8931           application must call after it has got the passphrase from
8932           the user.  Affected files lib/silcclient/silcapi.h,
8933           lib/silcclient/protocol.c, lib/silcclient/command.c and
8934           silc/client_ops.c.
8935
8936           Added SilcAskPassphrase callback that the application calls
8937           to deliver the passphrase to the library.
8938
8939         * Changed the SKE protocol's SilcSKEVerifyCb to be asynchronous.
8940           The public key verification and especially a certificate
8941           verification is asynchronous procedure.
8942
8943           Added new SILC_SKE_STATUS_PENDING status to indicate the
8944           request is pending and a callback will be called to finalize
8945           the request.
8946
8947           Added also SILC_SKE_STATUS_PUBLIC_KEY_NOT_PROVIDED status to
8948           indicate that remote end did not send its public key (or
8949           certificate), even though we require it.  Added check for this
8950           condition in the SKE.  This was a security bug, now fixed.
8951
8952           Defined new SilcSKEVerifyCbCompletion callback that is called
8953           when the verification process is completed.
8954
8955           The affected files lib/silcske/silcske_status.h and
8956           lib/silcske/silcske.[ch].
8957
8958         * Changed the verify_public_key client operation to be async
8959           as well.  Defined SilcVerifyPublicKey callback that is used to
8960           indicate the success of the public key verification process.
8961
8962           Changed the server and client to use the new async client
8963           operations.
8964
8965         * Changed the Irssi SILC client's internal scheduler to be called
8966           twice as many times as it used to be.  As a result the client
8967           should be a bit faster now.  Affected file is
8968           irssi/src/silc/core/silc-core.c.
8969
8970         * Added support to Irssi SILC client of asynchronous public key
8971           verification and passphrase inquiry.  Affected file is
8972           irssi/src/silc/core/silc-core.c.
8973
8974 Fri May 25 14:38:38 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8975
8976         * Do not say "You have left channel %s" in client library.
8977           Moved it to the application.  Affected files are
8978           lib/silcclient/command.c and silc/client_ops.c.
8979
8980         * Fixed silc_client_get_clients.  Command context was not
8981           duplicated and was freed memory in the callback.  Affected
8982           file lib/silcclient/idlist.c.
8983
8984         * Do not say "you are now talking..." on JOIN command in the
8985           client library.  The appliation must handle it.
8986
8987         * Do not say ".. changed topic to" in command reply in the
8988           client libary.  The application must handle it.
8989
8990         * Fixed TOPIC command sending in the client library.
8991
8992         * Fixed a memory leak in silc_client_command_free in the file
8993           lib/silcclient/command.c.
8994
8995 Thu May 24 19:08:55 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8996
8997         * Imported a modified version of Irssi client to the source tree.
8998           The Irssi will be used to create a new client called
8999           Irssi SILC.  Imported to irssi/.
9000
9001           Added silc_core_init_finish function to the Irssi.  Affected
9002           file irssi/configure.in.
9003
9004           A lot changes in the Makefile.ams around the irssi tree.
9005
9006 Tue May 22 22:23:49 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9007
9008         * Do not rehash if the new size is same as the old size of the
9009           hash table, in the silc_hash_table_rehash*.  The affected file
9010           lib/silcutil/silchashtable.c.
9011
9012         * Replaced hash_table_del_by_context calls from the server
9013           (when channel->user_list and client->channels) to the
9014           hash_table_del as it is sufficient and faster.
9015
9016 Tue May 22 17:27:16 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9017
9018         * Added silc_hash_table_list, silc_hash_table_get and the
9019           SilcHashTableList structure to provide an alternative way to
9020           traverse the hash table.  The affected files are
9021           lib/silcutil/silchashtable.[ch].
9022
9023         * Changed the server's idlist routines to use the hash table
9024           routines to optimize the code.
9025
9026 Mon May 21 21:46:20 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9027
9028         * Replaced the client entry's `channel' list and channel entry's
9029           `user_list' list to hash tables for optimized lookup.  Changed
9030           the code to use the hash table interface around the code.
9031           Affected file lib/silcd/idlist.[ch].
9032
9033         * Added `auto_rehash' boolean argument to the function
9034           silc_hash_table_alloc to indicate whether the hash table should
9035           auto-rehash when it thinks is appropriate time.  It will
9036           increase the hash table size if the there is twice as much
9037           entries in the table than the size of the table, and will
9038           decrease the size if there are twice as less entries than
9039           the size of the table.
9040
9041 Mon May 21 09:51:11 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9042
9043         * Fixed silc_xxx_get_supported to not crash at some circumstances.
9044
9045 Sun May 20 13:45:58 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9046
9047         * silc_idcache_purge_by_context deletes the entry now by context
9048           as it is supposed to do.  Affected file lib/silccore/idcache.c.
9049
9050         * Send the ERR_NO_SUCH_NICK in the WHOIS command reply if the
9051           client is not anymore valid (WHOWAS givens the info) and not
9052           the ERR_NO_SUCH_CLIENT_ID if the nickname still exists.
9053
9054 Sat May 19 16:30:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9055
9056         * Removed the `data' and `data_len' arguments from the ID Cache
9057           interfaces and added `name' argument.  ID Cache does not handle
9058           anymore the binary data only a names associated with given ID.
9059
9060         * When hashing a Client ID with silc_hash_id the entire ID is
9061           not hashed anymore, instead only the hash of the Client ID is
9062           hashed.  This way we can access the Client ID from the cache
9063           with Client ID but with the hash of the ID (which is a hash of
9064           the nickname) as well without any difference in performance.
9065
9066           Added also silc_idcache_find_by_id_one_ext to do one on one
9067           searching when we have the actual ID.  Added also function
9068           silc_hash_client_id_compare.  The affected files are
9069           lib/silccore/idcache.[ch] and lib/silcutil/silcutil.[ch].
9070
9071         * When hashing the name associated with a ID it is always done
9072           in lowercase.  This way we can access the cache without worrying
9073           about case-sensitivity, even though, for example nicknames are
9074           case sensitive.
9075
9076         * Fixed a bug in server with channel message sending.  It put
9077           wrong ID type as destination ID.  The affected file
9078           silcd/packet_send.c.
9079
9080         * silc_idcache_del_by_context now deletes from all hash tables
9081           by context.  Affected file lib/silccore/idcache.c.
9082
9083 Fri May 18 17:42:00 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9084
9085         * Changed the client library to use the new ID Cache interface.
9086           Changes around the source tree.
9087
9088         * Added silc_hash_table_rehash_ext to rehash with specific
9089           hash function.  Affected file lib/silcutil/silchashtable.[ch].
9090
9091         * Added silc_hash_string_compare to compare two strings in the
9092           hash table.  Affected file lib/silcutil/silcutil.[ch].
9093
9094 Fri May 18 11:18:45 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9095
9096         * Added new function silc_idcache_del_by_context into the
9097           lib/silccore/idcache.[ch].
9098
9099         * Changed the server's ID list routines to use the new ID Cache
9100           interface.  Changes around the source tree.
9101
9102 Fri May 18 08:35:31 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9103
9104         * Added silc_hash_table_del[_by_context]_ext functions in to the
9105           lib/silcutil/silchashtable.[ch].
9106
9107           Removed silc_hash_table_find_all* routines and added new
9108           silc_hash_table_find_foreach to replace them.
9109
9110           Added silc_hash_table_replace_ext function as extended
9111           replacing function.  Separated the simple hash table interface
9112           from the extended hash table interface in the file
9113           lib/silcutil/silchashtable.h.
9114
9115         * Fixed minor bugs and changed it to use some of the new
9116           hash table functions in lib/silccore/idcache.c
9117
9118 Thu May 17 18:15:12 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9119
9120         * Added new function silc_hash_table_find_all to return all keys
9121           in the hash table by the specified key.  As the hash table is
9122           collision resistant it also makes it possible to have several
9123           duplicate keys in the hash table.  This function may be used to
9124           find all of the keys from the hash.
9125
9126           Added user_context arguments to the SilcHashFunction,
9127           SilcHashCompare and SilcHashDestructor to deliver user specified
9128           context.
9129
9130           Added new fuctions silc_hash_table_find[_all]_ext to do
9131           extended lookup with specified hash and compare functions and
9132           specified user contexts.
9133
9134           Added new function silc_hash_table_add_ext to add the key
9135           with specified hash function and user context.
9136
9137           Added new function silc_hash_table_foreach to traverse all
9138           entrys in the hash table.  Added SilcHashForeach callback
9139           function.
9140
9141           Added new function silc_hash_table_del_by_context to delete
9142           the entry only if the context associated with the key matches.
9143
9144           Affected files are lib/silcutil/silchashtable.[ch].
9145
9146         * Removed silc_hash_[server/client/channel]_id and added just
9147           silc_hash_id to the lib/silcutil/silcutil.[ch].  Added also
9148           silc_hash_id_compare to compare two ID's using as the hash table
9149           comparison function.  Added also silc_hash_data to hash
9150           binary data and silc_hash_data_compare to compare it.
9151
9152         * Removed silc_idlist_find_client_by_hash as it is not needed
9153           anymore.  Affected file silcd/idlist.[ch].
9154
9155         * Rewrote the entire ID Cache system (in lib/silccore/idcache.[ch])
9156           to use internally the SilcHashTable.  The new ID Cache is a lot
9157           faster than the old one.  Some of the ID Cache interface was also
9158           rewritten and obsolete and stupid functions were removed.
9159
9160 Wed May 16 23:03:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9161
9162         * Added entry_count field to the SilcHashTable to keep the number
9163           of the entries in the table.  Implemented the function
9164           silc_hash_table_rehash.  Added new function
9165           silc_hash_table_count.  Affected file lib/silcutil/silchashtable.c.
9166
9167           Fixed a minor bug in silc_hash_table_free.
9168
9169         * Added silc_hash_string, silc_hash_uint, silc_hash_ptr,
9170           silc_hash_client_id, silc_hash_server_id and silc_hash_channel_id
9171           into the lib/silcutil/silcutil.[ch].
9172
9173 Wed May 16 20:02:47 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9174
9175         * Implemented a collision resistant hash table into the
9176           lib/silcutil/silchashtable[ch].  See the header and the source
9177           for the SilcHashTable API.
9178
9179 Tue May 15 22:05:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9180
9181         * Merged dotconf version 1.0.2 into lib/dotconf.
9182
9183 Sun May 13 19:32:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9184
9185         * Do not compile anything in lib/silcsim/* if the SIM support
9186           is not enabled.  The tree should now compile without problems
9187           under cygwin.
9188
9189 Thu May 10 22:49:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9190
9191         * Compiled the SILC under cygwin.  Compiled and tested briefly
9192           without problems.  More tests needed.  The SIMs didn't compile
9193           though.
9194
9195         * Added various #ifdef HAVE_* stuff to lib/silccrypt/silrng.c.
9196
9197         * Fixed possible crash in silc_get_username in the
9198           lib/silcutil/silcutil.c.
9199
9200 Tue May  8 09:04:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9201
9202         * Fixed a va_arg in silc/client_ops.c.
9203
9204         * Oops, RC5 routines were named AES and caused some problems
9205           when not using SIM's.  Affected file lib/silccrypt/rc5.c.
9206
9207 Sun May  6 13:59:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9208
9209         * Added new SilcIDIP structure into the lib/silccore/id.h and
9210           replaced the old `ip' fields from all SILC ID's to that type.
9211           This is a step towards IPv6 support.
9212
9213           The silc_id_get_len takes now the ID as an extra argument.
9214           The silc_id_id2str, silc_id_str2id and silc_id_dup now supports
9215           both IPv4 and IPv6 based ID's.
9216
9217           The affected files are lib/silccore/id.[ch] and other files
9218           around the tree using these routines.
9219
9220         * Removed the ID length arguments in server from various
9221           silc_server_send_notify_* routines -> they are not needed
9222           anymore.
9223
9224 Sat May  5 13:56:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9225
9226         * Fixed memory leak in silc_encode_pem_file in the file
9227           lib/silcutil/silcutil.c.
9228
9229 Thu May  3 21:23:50 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9230
9231         * Check minor version as well in the SKE.  Affected files are
9232           silcd/protocol.c and lib/silcclient/protocol.c.
9233
9234         * Added --identifier option to the server so that an identifier
9235           can be when creating the public key for the server.  Affected
9236           file is silcd/silcd.c.
9237
9238         * Fixed minor decoding bug in silc_pkcs_decode_identifier in
9239           lib/silccrypt/silcpkcs.c.
9240
9241 Wed May  2 20:50:49 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9242
9243         * Register default ciphers and stuff when using -C option with
9244           the server.  Affected file sildc/silcd.c.
9245
9246         * Put back the servers public key filename format, it is better
9247           than the new one.  For now, the client keys are saved with the
9248           new filename format.  The affected file silc/client_ops.c.
9249
9250         * Implemented the Cipher API for the rest of the ciphers that
9251           did not implement it or implemented it the wrong way.
9252
9253 Wed May  2 13:31:26 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9254
9255         * Register default ciphers and stuff when using the -S option
9256           in the client.  Affected file silc/silc.c.  Same also when
9257           creating new key pair with -C option.
9258
9259 Tue May  1 14:18:13 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9260
9261         * Fixed the silc_verify_public_key client operation function to
9262           save the public keys differently.  The fingerprint is now
9263           used as filename and not the hostname.  This way also the
9264           client keys are saved uniquely and not with hostnames.  The
9265           affected file is silc/client_ops.c.
9266
9267         * Trimmed the silc_hash_fingerprint function to remove extra
9268           whitespaces from the end of the fingerprint.  The affected
9269           file is lib/silccrypt/silchash.c.
9270
9271         * Updated TODO.
9272
9273         * Added silc_cipher_register_default function to register all
9274           default ciphers.  It can be used when configuration files
9275           does not exist and the application does not want any specific
9276           ciphers in any specific order.
9277
9278           The SilcDList is now used as silc_cipher_list dynamically
9279           allocated cipher list.  Removed the static list all together
9280           and now all ciphers must be allocated to the dynamic list.
9281           The silc_cipher_alloc routine was changed to check only the
9282           dynamic list.
9283
9284           All silc_cipher_* routines that used to return int returns
9285           now bool.
9286
9287           The affected files lib/silccrypt/silccrypt.[ch].
9288
9289         * The same thing was done to silc_hash_* as for silc_cipher_*
9290           routines.  Affected files lib/silccrypt/silchash.[ch].
9291
9292         * The same thing was done to silc_pkcs_* as for silc_cipher_*
9293           routines.  Affected files lib/silccrypt/silcpkcs.[ch].
9294           Added also silc_pkcs_[un]register[_default] functions.
9295           Removed the data_context from the PKCS API.
9296
9297         * Added silc_hmac_register_default function to register default
9298           hmacs.  Affected files lib/silccrypt/silchmac.[ch].  Added also
9299           SILC_ALL_HMACS macro that can be used with silc_hmac_unregister
9300           to unregister all hmacs at once.
9301
9302         * Register the default ciphers, hash functions, PKCSs and HMACs
9303           if client's configuration file does not exist.  The affected
9304           file silc/silc.c.
9305
9306         * The client did not load the hash functions from the SIM
9307           modules at all.  Added support for this.  Affected file is
9308           silc/clientconfig.c.
9309
9310         * When decoding public key with silc_pkcs_public_key_decode, check
9311           the supported algorithm only if PKCS are registered.  Affected
9312           file lib/silccrypt/silcpkcs.c.  The same was done with the
9313           silc_pkcs_private_key_decode.
9314
9315         * Fixed the SILC List routines to keep the list always in order.
9316           It used to change the list's order when traversing the list but
9317           not it preserves the order.  Affected file lib/trq/silclist.h.
9318
9319 Mon Apr 30 17:29:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9320
9321         * Added the client library to use the SilcSocketConnection's
9322           reference counter (by silc_socket_dup) to prevent the bug that
9323           the socket object may be freed underneath async operation.
9324
9325         * The name resolv library checking fixes in the configure.in.pre.
9326           The patch by salo.
9327
9328         * Created new version of the protocol drafts for future
9329           development. The -03 drafts are the ones that will be changed
9330           in the trunk now and the -02 will remain as they are.
9331
9332         * Send list of CUMODE notifys to the router when announcing
9333           the channel users to the router.  Affected file silcd/server.c.
9334           If the router receiving channel founder CUMODE for a channel
9335           that already has channel founder it will send CUMODE notify
9336           to the sender to remove the channel founder rights from the
9337           announced client.  Affected file silcd/packet_receive.c.
9338
9339         * The CUMODE notify may now use Server ID as well as the entity
9340           who changes the mode.  Updated protocool specs.
9341
9342         * Updated INSTALL and README files.
9343
9344 Sun Apr 29 23:17:50 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9345
9346         * New web pages in the http://silc.pspt.fi.  The pages was
9347           designed by salo.
9348
9349         * Updated CREDITS.
9350
9351 Sun Apr 29 13:33:41 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9352
9353         * Implemented the [DenyConnectin] config section in the server.
9354           Added silc_server_config_denied_conn to check whether incoming
9355           connection is denied.  Affected file silcd/serverconfig.[ch].
9356
9357         * Do not check the ports when checking the incoming configuration
9358           data if the port is 0, meaning any.  Affected file is
9359           silcd/serverconfig.c.
9360
9361 Fri Apr 20 18:58:43 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9362
9363         * Fixed buffer overflow in silc_string_compare in the file
9364           lib/silcutil/silcutil.c.
9365
9366         * Fixed double free in silc_server_command_leave in the file
9367           silcd/command.c.
9368
9369 Fri Apr 20 14:00:11 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9370
9371         * Fixed the version checking in the server.  Affected file is
9372           silcd/protocol.c.
9373
9374 Thu Apr 19 19:52:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9375
9376         * Fixed the configuration data fetching when accepting new
9377           connections in the server.  Affected file silcd/server.c.
9378
9379 Thu Apr 19 11:40:20 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9380
9381         * Added `sender_entry' argument to the function
9382           silc_server_packet_relay_to_channel so that we can check
9383           whether some destination actually belongs to the same route
9384           the sender belongs (ie, we must not resend the packet to the
9385           sender).  Affected file silcd/packet_send.[ch].
9386
9387         * Added `servername' field to the SilcClientEntry in the server
9388           to hold the name of the server where client is from.  Affected
9389           file is silcd/idlist.h.
9390
9391 Wed Apr 18 22:19:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9392
9393         * Moved the channel message encrypting in the router betwen
9394           router connections from silc_server_channel_message to the
9395           silc_server_packet_relay_to_channel since we want to check
9396           whether we have anybody channel before encrypting anything.
9397           Affected files silcd/packet_[receive/send].c.
9398
9399 Tue Apr 17 21:18:19 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9400
9401         * Fixed the [AdminConnection] server config section to support
9402           multiple entries.  Affected file silcd/serverconfig.c.
9403
9404         * Added support into the server to check the validity of the
9405           incoming connection before executing any KE or authentication
9406           protocols.
9407
9408         * The connection configuration is now saved to the KE and
9409           connection auth protocol contexts and not fetched anymore in
9410           the protocol.  Affected files silcd/server.c, silcd/protocol.[ch].
9411
9412         * The local hosts listenning address and port is also resolved
9413           now when starting the server.  We want to have the socket object
9414           to include the real address and port for the listener.  Added
9415           new function silc_net_check_local_by_sock into the files
9416           lib/silcutil/silcnet.[ch].
9417
9418         * Fixed a broadcast bug in server -> do not broadcast if we
9419           are standalone.
9420
9421         * Fixed a routing bug.  Do not route broadcast packets ever.
9422           Broadcast packets must be processed always and not routed since
9423           they may be destined to some other host than yourself and thus
9424           would get routed without no good reason.  Affected file is
9425           silcd/server.c.
9426
9427         * Added function silc_server_config_is_primary_route to check
9428           whether primary router connection has been configured (a router
9429           configuration that we are initiating).  If there is not, we
9430           will assume that there is only two routers in the SILC network
9431           and we will use the incoming router connection as our primary
9432           route.  Affected files silcd/serverconfig.[ch], silcd/server.c.
9433
9434         * Changed the order of the broadcasting.  Broadcast _after_ the
9435           packet has been processed not before.  Affected file is
9436           silcd/server.c.
9437
9438         * Fixed a [ClientConnection] parsing bug.  The port was never
9439           parsed correctly thus resulting to port 0.  Affected file
9440           silcd/serverconfig.c.
9441
9442         * Fixed silc_server_send_notify_args -> it ignored the `broadcast'
9443           argument and did not set the broadcast packet flag.  Affected
9444           file silcd/packet_send.c.  Fixed same bug in the function
9445           silc_server_send_notify as well.
9446
9447         * If we receive NEW_ID packet for our own ID in the server, ignore
9448           the packet.
9449
9450 Mon Apr 16 12:10:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9451
9452         * Updated TODO.
9453
9454         * Removed the nickname from the Private Message Payload.
9455           Updated the code and the protocol specs.
9456
9457         * Updated protocol specs for submitting to the IETF.
9458
9459         * Tweaked the Random Number Generator a bit.  Affected file
9460           lib/silccrypt/silcrng.c.  Exported a new function
9461           silc_rng_[global]_add_noise which can be used to add more
9462           noise to the RNG.
9463
9464 Sat Apr 14 16:21:32 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9465
9466         * Do not parse packets with different timeout when protocol
9467           is active -> may cause problem with rekey.  Affected file
9468           silcd/server.c.
9469
9470         * When server receives signoff notify it must not create
9471           new channel key if the client is on any channels since the
9472           sender of the signoff notify will create it.
9473
9474 Fri Apr 13 17:12:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9475
9476         * Added printing of error messages during SKE protocol from the
9477           failure packet sent by server during SKE.  Affected file
9478           silc/client_ops.c.
9479
9480         * Removed the client's failure_callback handling with timeout
9481           and handle it immediately when received.
9482
9483         * The SKE library returned wrong type in SUCCESS and FAILURE
9484           packets.  They must be 32 bit MSB not 16 bit MSB.
9485
9486 Fri Apr 13 00:09:08 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9487
9488         * Ok, rewrote the logic of the re-key and now it seems to work.
9489           I tested it on high traffic with frequent re-keys without
9490           problems.  Added hmac_receive (and renamed hmac to hmac_send)
9491           in SilcClientConnection in lib/silcclient/client.h and
9492           in SilcIDListData in silcd/idlist.h.  Also, removed the
9493           SilcPacketParserContext's cipher and hmac fields as they are
9494           not needed anymore and actually caused some problems when
9495           the ciphers and hmac's changed underneath the packet parser.
9496
9497 Thu Apr 12 14:42:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9498
9499         * If re-key protocol is active then process the incoming packets
9500           synchronously since we must assure that icoming packets encrypted
9501           with the old key is processed before the new keys is set to
9502           use.  This is true other packets than for REKEY packets.
9503           Affected file silcd/server.c.  The same was done to client library
9504           as well, affected file lib/silcclient/client.c.
9505
9506 Thu Apr 12 12:01:52 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9507
9508         * Fixed bug in client and server to accept the force send if
9509           the packet is send from silc_[server/client]_packet_process
9510           function.  Otherwise the packets are never delivered, oops.
9511
9512 Wed Apr 11 22:10:15 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9513
9514         * Disable force sending of packets when REKEY protocol is active.
9515           We must assure that no packet is sent directly when rekey is
9516           performed.  All packets must be sent through packet queue.
9517           Added macro SILC_SERVER_IS_REKEY to silcd/server.h and
9518           SILC_CLIENT_IS_REKEY to lib/silcclient/client.h.  Affected
9519           function is silc_[server/client]_packet_send_real to check
9520           the situation.
9521
9522         * Replaced the SIM paths from example config files to
9523           /usr/local/modules.  Also, make install creates now
9524           /usr/local/silc/logs directory to hold all the SILC server
9525           logs.
9526
9527 Wed Apr 11 16:59:59 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9528
9529         * Made the configure.in.pre work on Solaris.  Patch by salo.
9530
9531         * Made all ciphers compatible with non-x86 machines.  Defined
9532           CBC mode macros into lib/silccrypt/ciphers_def.h.
9533
9534 Tue Apr 10 20:32:44 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9535
9536         * Fixed the make install.
9537
9538 Tue Apr 10 16:20:34 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9539
9540         * When MAC computation fails the silc_packet_decrypt returned 0
9541           even though it was supposed to return -1.  Fixed this.  The
9542           affected file is lib/silccore/silcpacket.c.
9543
9544         * Do not replace the config files in /etc/silc (in make install)
9545           if they already exist.  Affected file ./Makefile.am.
9546
9547         * Do not send re-key packets immediately but through packet queue.
9548           Affected file silcd/protocol.c and lib/silcclient/protocol.c.
9549
9550         * Changed silc_net_check_host_by_sock to return FALSE if the
9551           IP/DNS could not be resolved.  Though, it returns the IP address
9552           now even if it could not resolve it (but returns also FALSE).
9553           Affected file lib/silcutil/silcnet.[ch].
9554
9555 Mon Apr  9 21:54:44 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9556
9557         * Added silc_pkcs_decode_identifier to decode the public key's
9558           identifier.  Affected file lib/silccrypt/silpkcs.[ch].
9559           Added also silc_pkcs_free_identifier.  Added also new context
9560           SilcPublicKeyIdentifier.
9561
9562         * Added -S option to the silc client.  It is used to dump the
9563           contents of the specified public key file.
9564
9565         * Changed the PKCS api to return the public key length when
9566           setting the public key.
9567
9568         * Fixed a fatal bug in the public and private key file loading.
9569           Affected file lib/silccrypt/silcpkcs.c.
9570
9571         * Execute the packet parsing for client with zero (0) timeout
9572           if the protocol is active.  Affected file silcd/server.c.
9573
9574 Sun Apr  8 19:30:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9575
9576         * Made the key generation options to the silcd program.  Added
9577           -C option, equivalent to client's option.
9578
9579         * Added new [ServerKeys] config section to the server.  It
9580           configures the server's public and private key.
9581
9582         * Defined generic Public Key Payload into the protocol
9583           specification to send specific type of public keys and
9584           certificates.
9585
9586         * Defined new command SILC_COMMAND_GETKEY to fetch a client's
9587           public key or certificate.
9588
9589         * Implemented the GETKEY command to the server and to the
9590           client library and on user interface.
9591
9592 Sun Apr  8 01:37:21 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9593
9594         * Made preliminary `make install' work.
9595
9596 Thu Apr  5 17:42:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9597
9598         * Added SilcServerRekey context into silcd/idlist.h.
9599
9600         * Added the PFS support as defined in the specification to the
9601           SKE protocol.  Affected files lib/silcske/*.c.
9602
9603         * Added `ske_group' field to the SilcServerRekey context to hold
9604           the number of the SKE group that is used with PFS in re-key.
9605           Affected file silcd/idlist.h.
9606
9607         * Added PFS re-key support to the server.  Affected file is
9608           silcd/protocol.c.
9609
9610         * Added silc_protocol_cancel to cancel execution of the next
9611           state of the protocol.  Affected file is
9612           lib/silccore/silcprotocol.[ch].
9613
9614         * Added the re-key support with and without PFS to the client
9615           library.  Re-key is performed once in an hour, by default.
9616
9617           Added new protocol type SILC_PROTOCOL_CLIENT_REKEY.
9618           Added silc_client_rekey_callback and silc_client_rekey_final.
9619           Affected files are lib/silcclient/protocol.[ch] and
9620           lib/silcclient/client.[ch].
9621
9622         * Removed the `hmac_key' and `hmac_key_len' fields from the
9623           SilcClientConnection structure; not needed.  Affected file is
9624           lib/silcclient/client.h.
9625
9626         * Updated TODO.
9627
9628 Wed Apr  4 16:32:31 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9629
9630         * Do not ask whether user wants to use the negotiated private key
9631           for private messages, just use it.  Affected file is
9632           silc/local_command.c.
9633
9634         * Added `send_enc_key' and `enc_key_len' fields to the
9635           SilcIDListData structure since they are needed in the re-key
9636           phase.  Affected file is silcd/idlist.[ch].
9637
9638         * Implemented the simple re-key protocol into the server.
9639           Affected files silcd/server.c and silcd/protocol.[ch].  The
9640           re-key will be performed once in an hour, by default.
9641
9642           Added new protocol type SILC_PROTOCOL_SERVER_REKEY.
9643           Added silc_server_rekey, silc_server_rekey_callback and
9644           silc_server_rekey_final.
9645
9646         * Removed Tunneled flag from the protocol.  Updated the code
9647           and the specifications.
9648
9649         * Adde `pfs' field to the SilcIDListData to indicate whether
9650           the PFS is to be performed in the re-key.  Affected file is
9651           silcd/idlist.h.
9652
9653 Tue Apr  3 21:52:42 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9654
9655         * Defined uint8, int8, uint16, int16, uint32, int32, uint64 and
9656           int64 of at least the xintXX size.  If void * is less that 4
9657           bytes uint32 * will be used.  Defined bool as boolean.
9658
9659         * Changed _ALL_ unsigned long and unsigned int to uint32,
9660           unsgined short to uint16 in the source tree.
9661
9662         * Fixed a fatal bug in silc_server_remove_clients_by_server.  Do
9663           not handle clients that has entry->data.registered == FALSE.
9664           They are not in the network anymore.  Affected file is
9665           silcd/server.c.
9666
9667 Tue Apr  3 16:39:19 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9668
9669         * Implemented the sending of the SERVER_SIGNOFF notify in the
9670           server.  Affected file is silcd/server.c.
9671
9672         * Added silc_server_send_notify_args into silcd/packet_send.[ch].
9673           Added also silc_notify_payload_encode_args into the
9674           lib/silccore/silcnotify.[ch].
9675
9676         * Implemented ther SERVER_SIGNOFF notify handling in the server.
9677           Affected file silcd/packet_receive.c.
9678
9679         * Implemented the SERVER_SIGNOFF notify handling in the client
9680           library.  Affected file lib/silcclient/client_notify.c.  Also,
9681           implemnted the printing of the SERVER_SIGNOFF info to the
9682           application.  Affected file silc/client_ops.c.
9683
9684         * The silc_idlist_del_server now returns TRUE or FALSE to indicate
9685           if the deleting was successful.  Affected file silcd/idlist.[ch].
9686
9687         * Added support for public key authentication in the connection
9688           authentication protocol in the client library.  Affected file
9689           lib/silcclient/protocol.c.
9690
9691         * Changed the server's silc_idlist_get_clients_by_* interface
9692           to support already allocated array so that new entries may be
9693           added to pre-allocated array.  Affected file silcd/idlist.[ch].
9694           This fixes some bugs with WHOIS, WHOWAS and IDENTIFY commands
9695           and command replies.
9696
9697         * All command reply functions in the server now calls the
9698           pending command callback even if error occured.  This way the
9699           error will be delivered to the client as well.  Affected files
9700           silcd/command.c and silcd/command_reply.c.
9701
9702         * Fixed INFO command to return local server's info if no server
9703           was provided.  Affected file lib/silcclient/command.c.
9704
9705         * Removed RESTART command for good.  Updated the code and the
9706           protocol specs.
9707
9708         * Rewrote parts of the task system.  It is a bit simpler now.
9709           Removed unsued task priorities. The affected files are
9710           lib/silcutil/silctask.[ch].
9711
9712 Mon Apr  2 20:02:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9713
9714         * Moved the USERS printing from the library to the application.
9715           Affected files lib/silcclient/command.c and silc/client_ops.c.
9716
9717 Mon Apr  2 13:13:23 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9718
9719         * Updated TODO.
9720
9721         * Added channel key re-key support.  The re-key is perfomed
9722           only by the router and is done once in an hour.  Added `rekey'
9723           field to the SilcChannelEntry in the server.  Affected files
9724           silcd/server.c and silcd/idlist.h.
9725
9726         * Added silc_task_unregister_by_context into the file
9727           lib/silcutil/silctask.[ch].
9728
9729 Sun Apr  1 19:49:34 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9730
9731         * Added SILC_UMODE_GONE mode to indicate when the client is not
9732           present in the SILC network.  Added also support to the local
9733           command AWAY that will set this mode.  Added support of showing
9734           "xxx is gone" in WHOIS command.  The USERS command shows the
9735           gone status as well.
9736
9737         * Fixed setting server and router operator privileges in the
9738           server's UMODE command.  Affected file silcd/command.c.
9739
9740         * Merged the SKE KE1 and KE2 payloads into one payload.  The
9741           new KE payload is equivalent to the old KE2 payload.
9742
9743           Cleaned up the SKE Start Payload parsing.  It now uses the
9744           simple buffer unformatting to do the parsing.  A lot faster
9745           now.
9746
9747           Added new Mutual Authentication flag (SILC_SKE_SP_FLAG_MUTUAL)
9748           to the SKE that is used to indicate whether both of the SKE
9749           parties should perform authentication.  By default only the
9750           responder performs authentication.  By setting this flag also
9751           the initiator must do authentication.  By default it is unset
9752           since in normal SKE case, client to server connection, only
9753           the responder should do authentication.  When doing SKE between
9754           two clients both should perform authentication.  Updated the
9755           code and the protocol specs.
9756
9757         * A little fix to IDENTIFY command in the server.  Search the
9758           client first by hash not nickname.  Affected file is
9759           silcd/command.c.
9760
9761         * Fixed the silc_client_close_connection to support closing
9762           the client to client connections wihtout deleting too much
9763           data.  Affected file lib/silcclient/client.c.
9764
9765         * Fixed a fatal bug in server and client; if KE1 or KE2 packets
9766           are received if protocol used to be active but is not anymore
9767           the application would crash due to NULL pointer dereference.
9768           Affected files silcd/server.c and lib/silcclient/client.c.
9769
9770         * Added `hash' field to the SilcClientConnection to include
9771           the hash function negotiated in the SKE protocol.
9772
9773         * Added new channel mode SILC_CMODE_FOUNDER_AUTH that is used
9774           to set the channel founder authentication data.  A client can
9775           claim the founder rights later by providing the authentication
9776           data to the CUMODE command using SILC_CUMODE_FOUNDER mode.
9777           This way the channel founder can regain the channel founder
9778           privileges even it is left the channel.  This works only on
9779           local server and the client must be connected to the same
9780           server to be able to regain the founder rights.  Updated the
9781           protocol specs accordingly.
9782
9783           Added support to the CMODE command in the client to set the
9784           founder auth data.  Read the README to see how to set it.
9785
9786           Added support to the CUMODE command to claim the founder
9787           rights.  Read the README to see how to do it.
9788
9789           Added support for the founder authentication to the Channel
9790           Entry in the server.  Affected file silcd/idlist.h.
9791
9792           Added support for the SILC_CMODE_FOUNDER_AUTH mode in the
9793           server's CMODE command.  Affected file silcd/command.c.
9794
9795         * Added the following new functions into lib/silccore/silcauth.[ch]:
9796           silc_auth_get_method and silc_auth_get_data.
9797
9798         * The server now saves the remote hosts public key to the
9799           SilcIDListData pointer.  Affected file silcd/protocol.c.
9800
9801         * The normal server now does not remove the channel entry from
9802           the cache if the founder authentication data is set.  It used
9803           to remove it if the founder was the last one on the channel on
9804           the server and left the channel.  The auth data is saved and
9805           if the channel is re-joined later the old entry is used with
9806           the old auth data.  Affected files silcd/command_reply.c and
9807           silcd/server.c.
9808
9809         * Removed the `pkcs' field from the SilcIDListData structure
9810           in the server; it is not used.  Affected file silcd/idlist.h.
9811
9812 Sat Mar 31 15:38:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9813
9814         * Fixed packet processing on slow links.  Partial packets were
9815           never re-processed because the incoming data buffer was cleared
9816           by the application.  Application must not directly clear the
9817           sock->inbuf, the packet processing routines handle it.  Fixed
9818           this in client library and in server.
9819
9820 Fri Mar 30 16:35:27 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9821
9822         * Fixed the WHOIS and IDENTIFY send reply function to really
9823           check whether to send list or just one entry.  Affected file
9824           silcd/command.c.
9825
9826         * Cleaned up the LEAVE command's channel key distribution.  The
9827           affected file silcd/command.c.
9828
9829         * Changed CMODE_CHANGE's <Client ID> to <ID Payload> as server
9830           can enforce the channel mode as well.  In that case the ID
9831           includes the ID of the server.  The code now enforces the
9832           mode change if the router have different mode than the server.
9833
9834         * The notify client operation with CMODE_CHANGE notify can now
9835           return NULL client_entry pointer if the CMODE was not changed
9836           by client.  Application must check for this.
9837
9838         * Added <Server ID> argument to INFO command to support server
9839           info fetching by Server ID.
9840
9841         * Added silc_server_announce_get_channel_users to get assembled
9842           packets of channel users of the specified channel.  Affected
9843           file silcd/server.[ch].
9844
9845         * Fixed bug in CHANNEL_CHANGE notify in the server.  The new ID
9846           was freed underneath the ID Cache.
9847
9848         * Re-announce clients when the server received CHANNEL_CHANGE
9849           notify from the router.  Affected file silcd/packet_send.c.
9850
9851 Thu Mar 29 19:10:28 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9852
9853         * Fixed a fatal bug when client does /join 1 2 3 4 5 6 the server
9854           crashed since it did not handle the fact that there is no cipher
9855           called "3" and didn't check the error condition.  Now fixed.
9856
9857         * Added SILC_MESSAGE_FLAG_REQUEST message flag as generic request
9858           flag.  It can be used to send message requests.
9859
9860 Thu Mar 29 12:26:25 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9861
9862         * Implemented the RESTART command in the client.
9863
9864         * Added SILC_MESSAGE_FLAG_NOTICE message flag for informational
9865           notice type messages.  Added notice printing to the user
9866           interface.
9867
9868         * The channel keys are not re-generated if the channel's mode
9869           is PRIVKEY, ie private key on the channel exists.  Affected
9870           files silcd/server.c and silcd/command.c.
9871
9872         * Fixed a little bug in channel message delivery when channel
9873           private keys are set in the server.  Affected file is
9874           silcd/packet_send.c.
9875
9876         * Changed the setting on channel->on_channel = TRUE from the
9877           silc_client_save_channel_key to the JOIN command reply.  The
9878           key payload is not received if the private channel key is set.
9879           Affected file lib/silcclient/command_reply.c and the
9880           lib/silcclient/client_channel.c.
9881
9882         * When the CMODE_CHANGE notify is sent and the channel private
9883           key mode is removed the channel key must be re-generated in
9884           other cells as well.  Added this support for the router in the
9885           silcd/packet_receive.c.
9886
9887         * Added new local command NOTICE to send notice message on
9888           channel.  Affected file silc/local_command.[ch].
9889
9890 Wed Mar 28 23:55:54 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9891
9892         * Added new local command ME to the client.  It is used to send
9893           message to a channel with SILC_MESSAGE_FLAG_ACTION to indicate
9894           some action.  Affected file silc/local_command.[ch].
9895
9896         * Changed channel_message and private_message client operations
9897           to deliver the message flags to the application.  Added also
9898           the `flags' arguments to the silc_client_send_channel_message
9899           and silc_client_send_private_message functions.  Affected file
9900           silcapi.h.
9901
9902 Wed Mar 28 20:50:47 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9903
9904         * Redefined the Private Message Payload to support private message
9905           keys and to support the new private message flags.  Updated
9906           the protocol specs.  Flags makes it possible to have for example
9907           CTCP style messages.
9908
9909         * Added new type SilcPrivateMessagePayload and defined an API
9910           for it in the lib/silcclient/silcprivate.[ch].
9911
9912         * Tested private message private keys successfully.  Tested the
9913           private message key set, unset and list commands with the new
9914           KEY command.
9915
9916         * Redefined the Channel Message Payload to include the channel
9917           message flags (equal with private message flags) to support
9918           for example CTCP style messages.
9919
9920         * Defined some of the message (for channel and private message)
9921           flags.  Updated the protocol specs and added the flags to the
9922           lib/silccore/silcchannel.h.  The type is SilcMessageFlags.
9923
9924 Wed Mar 28 15:52:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9925
9926         * Added SilcKeyAgreementStatus type to the key agreement routines
9927           to indicate the current status and error if one occured.
9928           The status types are defined in the lib/silcclient/silcapi.h.
9929
9930         * Added new local command KEY that is used to set and unset private
9931           keys for channels, set and unset private keys for private messages
9932           with remote clients and to send key agreement requests and
9933           negotiate the key agreement protocol with remote client.  The
9934           key agreement is supported only to negotiate private message keys,
9935           it currently cannot be used to negotiate private keys for channels,
9936           as it is not convenient for that purpose.
9937
9938         * Fixed a minor pending callback setting bug in the function
9939           silc_client_get_client_by_id_resolve, now the function works.
9940           Affected file lib/silcclient/idlist.c.
9941
9942         * Added function silc_net_get_local_port to get local bound
9943           port by socket.  Added to lib/silcutil/silcnet.[ch].
9944
9945         * Added `sockets' and `sockets_count' fields to the SilcClient
9946           object.  They hold the sockets of the listenning sockets in
9947           the client.  Listenning sockets may be for example the key
9948           agreement server.  Affected file lib/silcclient/client.[ch].
9949           Added functions the silc_client_add_socket and the
9950           silc_client_del_socket.  They are exported to the application
9951           as well.
9952
9953         * Added ~./silc/clientkeys to support other client's public keys.
9954
9955         * Renamed verify_server_key client operation to verify_public_key
9956           and added one argument to indicate the type of the connection
9957           (server, client etc.).
9958
9959 Tue Mar 27 22:22:38 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9960
9961         * Added silc_server_connection_auth_request to handle the
9962           incoming CONNECTION_AUTH_REQUEST packet.  Affected file is
9963           silcd/packet_receive.[ch].
9964
9965         * Added silc_server_send_connection_auth_request into the
9966           silcd/packet_send.c to send the connection auth request packet.
9967
9968         * Cleaned up the silcd/protocol.c a bit and fixed some memory
9969           leaks.
9970
9971         * Fixed the public key authentication in responder side in the
9972           server.  The `auth_data' pointer includes the SilcPublicKey
9973           not the path to the public key.  Affected file silcd/protocol.c.
9974
9975         * Implemented the public key authentication in the initiator side
9976           in the server.  Affected file silcd/protocol.c.
9977
9978         * Removed the [RedirectClient] config section from the server
9979           configuration.  Is not needed and I don't want to implement it.
9980
9981 Tue Mar 27 12:49:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9982
9983         * Cleaned up the CMODE command in the server.  It now works
9984           correctly and supports all the modes defined in the protocol.
9985           Affected file is silcd/command.c.
9986
9987         * Added `hmac_name' field to the SilcChannelEntry in the server
9988           to hold the default HMAC of the channel.  It can be set when
9989           creating the channel (with JOIN command).  Affected files
9990           silcd/idlist.[ch].
9991
9992         * Added <cipher> and <hmac> argument to the CMODE_CHANGE notify
9993           type to indicate the change of the current cipher and hmac
9994           on the channel.  Client can safely ignore the <cipher> argument
9995           (if it chooses to do so) since the CHANNEL_KEY packet will
9996           force the channel key change anyway.  The <hmac> argument is
9997           important since the client is responsible of setting the new
9998           HMAC and the hmac key into use.
9999
10000         * Fixed the CMODE command in the client library as well.
10001
10002         * Tested CMODE command in router environment successfully.
10003
10004 Mon Mar 26 14:39:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10005
10006         * Show the version of the remote client (or server) when connecting
10007           to the server.  It is logged to the log file.  Affected file
10008           is silcd/protocol.c.
10009
10010         * Fixed the KILLED notify handling in the client library.  The
10011           client must be removed from all channels when receiving the
10012           KILLED notify.
10013
10014           Also, do not remove the client entry when giving the KILL
10015           command but when the KILLED notify is received.
10016
10017         * Removed silc_idlist_find_client_by_nickname from the server.
10018           Not needed anymore.  Affected files silcd/idlist.[ch].
10019
10020         * Implemented the CHANNEL_CHANGE notify type handling to the
10021           server.  Affected file silcd/server.c.
10022
10023         * Updated TODO.
10024
10025 Mon Mar 26 12:11:14 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10026
10027         * Added silc_server_send_notify_invite to send the INVITE
10028           notify between routers.
10029
10030         * Implemented the INVITE command correctly to the server.
10031
10032         * Implemented the INVITE notify type handling in the server.
10033
10034         * Implemented the INVITE command to the client library and on the
10035           user interface.
10036
10037 Sun Mar 25 20:27:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10038
10039         * Added function silc_server_get_client_resolve to find the
10040           client entry by ID from all ID lists and then resolve it
10041           (using WHOIS) if it cannot be found.  Affected file is
10042           silcd/server.[ch].
10043
10044 Sun Mar 25 13:52:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10045
10046         * Implemented the BAN command to the client library.
10047
10048         * The JOIN command in the server now checks the invite list
10049           and the ban list.
10050
10051         * Changed the silc_command_reply_payload_encode_va and the
10052           silc_command_payload_encode_va to support that if argument is
10053           NULL it ignores and checks the next argument.  Affected file
10054           lib/silccore/silccommand.c.
10055
10056         * Added silc_server_send_notify_ban to send the BAN notify
10057           type between routers.
10058
10059         * Chaned the silc_notify_payload_encode to support that if
10060           argument is NULL it ignores and checks the next argument.
10061           Affected file lib/silccore/silcnotify.c.
10062
10063         * Tested ban lists in router environment successfully.
10064
10065 Sat Mar 24 14:47:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10066
10067         * Implemented BAN command to the server, in silcd/command.[ch].
10068
10069         * Removed the BAN and INVITE_LIST modes from the CMODE command
10070           in the server code.
10071
10072         * Added function silc_string_match to regex match two strings.
10073           Affected files lib/silcutil/silcutil.[ch].
10074
10075 Fri Mar 23 22:02:40 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10076
10077         * Redefined parts of the SilcChannelEntry in the server to support
10078           the new ban and invite lists.
10079
10080 Fri Mar 23 16:25:11 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10081
10082         * Redefined the INVITE command.  The same command can be used to
10083           invite individuals to the channel but also to manage the invite
10084           list of the channel (to add to and remove from the invite list).
10085           Updated the protocol specs.
10086
10087         * Added new command SILC_COMMAND_BAN that can be used to manage
10088           the ban list of the channel.  Updated the protocol specs.
10089
10090         * Removed the channel modes: the SILC_CMODE_BAN and the
10091           SILC_CMODE_INVITE_LIST as they were a bit kludge to be included
10092           in the CMODE command.  The equivalent features are now available
10093           using INVITE and BAN commands.  Updated the protocol specs.
10094
10095         * Added new SILC_NOTIFY_TYPE_BAN notify type to notify routers
10096           in the network about change in the current ban list.  The notify
10097           type is not used by the client.
10098
10099         * Redefined parts of the SILC_NOTIFY_TYPE_INVITE command to
10100           support the invite lists.
10101
10102 Thu Mar 22 22:52:23 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10103
10104         * Added new function silc_string_regexify that converts string
10105           including wildcard characters into regex string that can
10106           be used by the GNU regex library.  Added into the file
10107           lib/silcutil/silcutil.[ch].
10108
10109           Added silc_string_regex_combine to combine to regex strings
10110           into one so that they can be used as one regex string by
10111           the GNU regex library.  Added into the file
10112           lib/silcutil/silcutil.[ch].
10113
10114           Added silc_string_regex_match to match two strings.  It returns
10115           TRUE if the strings match.  Added into lib/silcutil/silcutil.[ch].
10116
10117 Thu Mar 22 15:29:42 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10118
10119         * Imported GNU regex to the soruce tree into lib/contrib.
10120           Fixed some compiler warning from the regex.c.
10121
10122 Wed Mar 21 15:27:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10123
10124         * Fixed MOTD command in the server to work in router environment.
10125
10126         * Fixed the MOTD command in the client library to support
10127           the server argument in the command.
10128
10129         * Added `nickname_len' argument to the silc_idlist_add_client
10130           in the server, as the `nickname' argument may be binary data
10131           (it may be hash).
10132
10133         * Added silc_idlist_get_channels to return all channels from
10134           the ID list.
10135
10136         * Implemented LIST command to the server.  Affected file is
10137           silcd/command.c.
10138
10139         * Implemented the LIST command to the client library and on the
10140           user interface.
10141
10142         * Added [<user count>] argument to the LIST command reply.
10143           With private channels the user count is not shown.
10144
10145         * Updated TODO and README.
10146
10147 Tue Mar 20 21:05:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10148
10149         * The client entry's data.registered must be TRUE even with
10150           global client entry on global client list.  The data.registered
10151           is used to check whether the client is anymore in the network,
10152           for example with WHOWAS command so it must be valid.
10153
10154         * Fixed the WHOWAS command in the server.  It now actually works
10155           in router environment.  Added function into silcd/command_reply.c
10156           silc_server_command_reply_whowas_save.
10157
10158         * Added silc_idlist_purge function to the silcd/idlist.c
10159           to periodically purge the ID Cache.
10160
10161         * Fixed INFO command in the server.  It works now in router
10162           environment.  Added <server name> argument to the INFO command
10163           reply.  Updated the protocol specs.
10164
10165         * Fixed minor bug in silc_idcache_purge to not purge if the
10166           expire value is zero.
10167
10168         * Fixed various bugs in WHOIS and IDENTIFY command handling as
10169           they were buggy because of the WHOWAS information.
10170
10171         * Fixed local command MSG to handle the async resolving of
10172           the remote client properly.  It used to fail the first MSG.
10173           Affected file silc/local_command.c.
10174
10175         * Added `data_len' field to SilcIDCache context.
10176
10177 Tue Mar 20 16:29:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10178
10179         * Update TODO.  Todo in commands in the server.
10180
10181 Tue Mar 20 15:45:14 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10182
10183         * Added new notify type SILC_NOTIFY_TYPE_UMODE_CHANGE that is
10184           used by routers as broadcast packet to inform other routers
10185           about the changed user mode.
10186
10187           Implemented the notify handling in the server.  Affected file is
10188           silcd/packet_receive.c.  Added the function
10189           silc_server_send_notify_umode to the silcd/packet_send.[ch].
10190
10191         * Added new generic Channel Payload and deprecated the New Channel
10192           Payload.  The New Channel Payload is now the generic Channel
10193           Payload.
10194
10195         * Added new argument `mode' to the silc_server_send_new_channel
10196           as it is required in the Channel Payload now.
10197
10198         * Renamed the SilcChannelPayload to SilcChannelMessagePayload
10199           and created a new and real SilChannelPayload to represent the
10200           new generic Channel Payload.  Implemented the encode/decode
10201           for Channel Payload.  Affected file lib/silccore/silcchannel.[ch].
10202
10203         * Added silc_server_get_client_channel_list to return the list
10204           of channels the client has joined for WHOIS command reply.
10205           Affected file silcd/server.[ch].
10206
10207         * Implemented the channel list sending in the WHOIS command reply
10208           in server and in the client.
10209
10210           Implemented the channel list displaying on the user interface
10211           as well.  Affected file silc/client_ops.c.
10212
10213         * Added silc_channel_payload_parse_list to parse list of Channel
10214           Payloads.  It returns SilcDList list of SilcChannelPayloads.
10215           Client for example can use this function to parse the list of
10216           channels it receives in the WHOIS command reply.  The caller
10217           must free the list by calling silc_channel_payload_list_free.
10218           Affected files lib/silccore/silcchannel.[ch].
10219
10220 Mon Mar 19 21:39:15 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10221
10222         * Added one new argument <user mode> to the WHOIS command reply
10223           to return the mode of the user in SILC.  Updated the protocol
10224           specs.
10225
10226           Implemented it to the server and client.
10227
10228 Mon Mar 19 18:43:06 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10229
10230         * Fixed the mode printing on the user interface on joining.
10231           Affected file silc/client_ops.c.
10232
10233         * Implemented the UMODE command and user modes in general to the
10234           client library and to the user interface.
10235
10236         * Implemented the UMODE command to the server.
10237
10238         * The server now sends UNKNOWN_COMMAND error status if client sends
10239           unknown command.  Affected file silcd/command.c.
10240
10241         * All server commands now handle the command identifier the right
10242           way when sending the command reply to the client.  The client can
10243           use to identify the command replies with the identifier.
10244
10245 Mon Mar 19 16:13:07 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10246
10247         * Added silc_server_get_client_route to resolve the route to
10248           the client indicated by the client ID.  Affected file is
10249           silcd/server.[ch].
10250
10251         * Added silc_server_relay_packet as general function to relay
10252           packet to arbitrary destination.  This deprecates functions
10253           like _send_private_message_key, _relay_notify etc.  Affected
10254           file is silcd/packet_send.[ch].
10255
10256           Removed silc_server_send_key_agreement,
10257           silc_server_send_private_message_key and
10258           silc_server_packet_relay_notify functions from the file
10259           silcd/packet_send.[ch].
10260
10261         * Updated TODO.
10262
10263         * Implemented the SILC_NOTIFY_TYPE_KILLED notify handling in the
10264           server.  Affected file silcd/packet_receive.[ch].
10265
10266         * Implemented the KILL command to the client.  Implemented the
10267           SILC_NOTIFY_TYPE_KILLED notify handling in the client library.
10268           Affected files lib/silcclient/command[_reply].c and
10269           lib/silcclient/client_notify.c.  Implemented the KILL notify
10270           printing in the user inteface.
10271
10272         * Fixed a lot silc_parse_nick memory leaks from the client
10273           library in the file lib/silcclient/command.c.
10274
10275         * Changed the silc_server_send_notify_on_channels's `sender'
10276           argument from SilcSocketConnection to SilcClientEntry to
10277           check the sender as entry and not as connection object and not
10278           to send to the client provided as argument.  The affected file
10279           is silcd/packet_send.[ch].
10280
10281         * The notify packets that are destined directly to the client used
10282           to not to be processed by the server.  Now changed that and the
10283           server processes all notify packets.  After relaying the packet
10284           to the client the notify packet is processed in the server.
10285
10286         * The silc_server_free_client_data now checks whether there is
10287           pending outgoing traffic for the client and purges the data to
10288           the network before removing the client entry.
10289
10290 Sun Mar 18 21:02:47 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10291
10292         * Added SILC_NOTIFY_TYPE_KILLED notify type.  It is sent when
10293           an client is killed from the SILC Network.  Updated the protocol
10294           specs accordingly.
10295
10296           Added new function silc_server_send_notify_killed to the
10297           silcd/packet_send.[ch].
10298
10299         * Added function silc_server_packet_relay_notify to relay notify
10300           packets that are destined directly to a client.  In this case
10301           the server does not process the notify packets but merely relays
10302           it to the client.  Affected file silcd/packet_send.[ch].
10303
10304           Added also silc_server_packet_process_relay_notify to check
10305           whereto relay the notify.  Affected file is
10306           silcd/packet_receive.[ch].
10307
10308         * Implemented the KILL command to the server.
10309
10310         * Updated TODO.
10311
10312         * Added the backup schema desgined last fall to the protocol
10313           specs for everyone to see.  The specification is in the
10314           *-spec-xx.txt draft and the packet type definitions for the
10315           backup routers is in *-pp-xx.txt draft.  Thusly, added also
10316           new packet type SILC_PACKET_CELL_ROUTERS.
10317
10318         * A big security problem in the implementation discovered.  The
10319           signoff of an client did not cause new channel key generation
10320           which it of course should've done.  The channel keys must be
10321           always re-generated when client leaves (or signoffs) the channel.
10322           The silc_server_remove_from_channels funtion now handles
10323           the channel key re-generation.
10324
10325         * Added `sender' argument to the silc_server_send_notify_on_channels
10326           to not to send the client provided as argument.  Affected file
10327           silcd/packet_send.[ch].
10328
10329 Fri Mar 16 15:52:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10330
10331         * Implemented OPER and SILCOPER commands into the server and
10332           the client library.
10333
10334         * Added silc_auth_verify and silc_auth_verify_data to verify
10335           the authentication directly from the authentication payload.
10336           It supports verifying both passphrase and public key based
10337           authentication.  Affected file lib/silccore/silcauth.[ch].
10338
10339         * Added `hash' field to the SilcIDListData structure.  It is the
10340           hash negotiated in the SKE protocol.  Affected file is
10341           silcd/idlist.[ch].
10342
10343         * Slight redesigning of the SilcAuthPayload handling routines.
10344           Do not send SilcPKCS but SilcPublicKey as argument.
10345
10346         * Implemented the public key authentication support to the
10347           serverconfig.  The public key is loaded from the provided path
10348           and saved as authentication data to void * pointer.  Thus,
10349           changed the unsigned char *auth_data to void *auth_data;
10350
10351         * Fixed SHUTDOWN command to send the reply before the server
10352           is shutdown. :)  Affected file silcd/command.c.
10353
10354         * Fixed fatal bug in CONNECT command.  The hostname was invalid
10355           memory and server crashed.  Affected file silcd/command.c.
10356
10357         * Fixed fatal bug in CLOSE command.  The server_entry became
10358           invalid but was referenced later in the command.  Affected file
10359           silcd/command.c.
10360
10361 Thu Mar 15 12:46:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10362
10363         * Fixed fatal bug in failure packet handling.  Server ignored
10364           the failure and thus crashed when it came.
10365
10366         * Updated TODO.
10367
10368 Wed Mar 14 20:37:35 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10369
10370         * Added new SILC_CF_LAG_STRICT command flag that strictly forces
10371           that the command may be executed only once in (about) 2 seconds.
10372           The old SILC_CF_LAG flag is same but allows command bursts up
10373           to five before limiting.
10374
10375           Added the support for CF_LAG and CF_LAG_STRICT flags to the
10376           server code.  Various commands now includes the CF_LAG_STRICT
10377           flag to disallow any kind of miss-use of the command.
10378
10379         * Fixed the silc_buffer_unformat to not to allocate any data
10380           if the length of the data is zero.  It used to allocate the
10381           length + 1.  Affected file lib/silcutil/silcbuffmt.c.
10382
10383 Wed Mar 14 16:10:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10384
10385         * Changed the format of AdminConnection configuration section
10386           in the server.  Added username of the admin to the format.
10387           Affected files silcd/serverconfig.[ch].
10388
10389           Added silc_server_config_find_admin into silcd/serverconfig.[ch]
10390           to return admin configuration data by host, username and/or
10391           nickname.
10392
10393 Wed Mar 14 13:18:16 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10394
10395         * Implemented WHOWAS command to the server.  Added the functions:
10396
10397           silc_server_command_whowas_parse,
10398           silc_server_command_whowas_send_reply,
10399           silc_server_command_whowas_from_client and
10400           silc_server_command_whowas_from_server
10401
10402         * Added <Client ID> argument to the WHOWAS command reply.  Updated
10403           the protocol specs accordingly.
10404
10405         * Implemented WHOWAS command and command_reply to the client
10406           library.
10407
10408           Implemented the WHOWAS printing on the user interface.
10409
10410 Tue Mar 13 22:17:34 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10411
10412         * Added new argument to the WHOWAS command reply, the real name.
10413           It is an optional argument.  Updated the protocol specs.
10414
10415         * Added SilcIDCacheDestructor callback that is registered when
10416           the SilcIDCache is allocated.  The callback is called when
10417           an cache entry in the ID Cache expires, or is purged from the
10418           cache.  Added into lib/silccore/idcache.[ch].
10419
10420           Added silc_idlist_client_destructor to the silcd/idlist.[ch]
10421           to destruct the client entries when the cache entry expires.
10422           Other ID Cache's in server and in the client library ignores
10423           the destructor.
10424
10425         * If the ID Cache entry's `expire' field is zero then the entry
10426           never expires.  Added boolean `expire' argument to the
10427           silc_idcache_add function in the lib/silccore/idcache.[ch].
10428           If it is TRUE the default expiry value is used.
10429
10430         * Added silc_server_free_client_data_timeout that is registered
10431           when client disconnects.  By default for 5 minutes we preserve
10432           the client entry for history - for WHOWAS command.
10433
10434 Tue Mar 13 13:26:18 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10435
10436         * Added support to the server to enforce that commands are not
10437           executed more than once in 2 seconds.  If server receives
10438           commands from client more frequently, timeout is registered
10439           to process the commands.  Affected file silcd/command.c.
10440           Added new function silc_server_command_process_timeout.
10441
10442         * Changed NICK_NOTIFY handling in client library to check that
10443           if the client's nickname was changed, so there is no need to
10444           resolve anything from the server.
10445
10446         * Removed error printing from the WHOIS and IDENTIFY commands.
10447           If error occurs then it is ignored silently in the client library.
10448           The application, however, may map the received error to
10449           human readable error string.  The application currently maps
10450           the NO_SUCH_NICKNAME error to string.
10451
10452         * Made the command status message public to the application.  Moved
10453           them from lib/silcclient/command_reply.c to
10454           lib/silcclient/command_reply.h.  The application can map the
10455           received command status to the string with the
10456           silc_client_command_status_message function.
10457
10458         * Added check to the server to check that client's ID is same
10459           as the Source ID in the packet the client sent.  They must
10460           match.
10461
10462 Tue Mar 13 12:49:21 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10463
10464         * Added dist-bzip hook to the Makefile.am to make bzip2
10465           compressed distributions.
10466
10467 Mon Mar 12 18:43:38 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10468
10469         * Server now enforces the maximum length for the nickname and
10470           the channel as protocol specification dictates.  128 bytes for
10471           nickname and 256 bytes for channel name.
10472
10473         * Moved the WHOIS printing to the application.  The client libary
10474           does not print out the WHOIS information anymore, the application
10475           must do it.  Renamed silc_client_command_reply_whois_print to
10476           the silc_client_command_reply_whois_save.
10477
10478           The client's idle time is also sent to the application now, and
10479           the idle is shown on screen.
10480
10481         * Added silc_client_command_reply_identify_save to save the
10482           received IDENTIFY entries.
10483
10484         * Do not check for channel private keys in message sending and
10485           reception if the channel does not have the PRIVKEY mode set.
10486           Affected file lib/silclient/client_channel.c.
10487
10488 Sun Mar 11 20:25:06 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10489
10490         * Fixed a minor bug if WHOIS and IDENTIFY command parsing that
10491           just surfaced after chaning the JOIN procedure.
10492
10493 Sun Mar 11 14:59:05 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10494
10495         * Added silc_client_get_clients_by_list to get client entries
10496           from Client ID list, that is returned for example by JOIN
10497           and USERS command replies.  The application should use this
10498           function for example when JOIN command reply is received to
10499           resolve the clients already on the channel (library does not
10500           do that anymore as USERS command reply is not used in the JOIN
10501           procedure anymore).  Affected files lib/silcclient/silcapi.h and
10502           lib/silcclient/idlist.c.
10503
10504         * JOIN command reply and USERS command reply returns now SilcBuffer
10505           pointers instead of unsigned char pointers when returning
10506           the client list and mode list.
10507
10508         * Added <Client ID> argument to the JOIN command reply, mainly
10509           for the server to identify for which client the command was
10510           originally sent.  Updated protocol specs accordingly.
10511
10512         * Added SilcDlist private_key pointer to the SilcChannelEntry
10513           in the client to support the channel private keys.  Affected
10514           file is lib/silcclient/idlist.h.
10515
10516         * Added SilcChannelPrivateKey argument to the function
10517           silc_client_send_channel_message so that application can choose
10518           to use specific private ke if it wants to.  If it is not provided,
10519           the normal channel key is used, unless private keys are set.
10520           In this case the first (key that was added first) is used
10521           as the encryption key.
10522
10523         * Implemented the support for channel private key handling.
10524           Implemented the following functions:
10525
10526           silc_client_add_channel_private_key,
10527           silc_client_del_channel_private_keys,
10528           silc_client_del_channel_private_key,
10529           silc_client_list_channel_private_keys and
10530           silc_client_free_channel_private_keys
10531
10532           Affected file lib/silcclient/client_channel.c.
10533
10534         * Added the support for the private keys in the channel message
10535           sending and encryption and in the message reception and
10536           decryption.  Affected funtions are
10537           silc_client_send_channel_message and silc_client_channel_message.
10538
10539 Sat Mar 10 21:36:22 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10540
10541         * Added SKE's key verify callback to the client library's
10542           KE protocol context. Affected files lib/silcclient/protocol.[ch].
10543
10544         * Removed the statement that server (or router) must send USERS
10545           command reply when joining to the channel so that the client
10546           knows who are on the channel.  Instead, the client list and
10547           client's mode list is now sent in the JOIN command reply to the
10548           client who joined channel.  This is better solution.
10549
10550         * Added function silc_server_get_users_on_channel and function
10551           silc_server_save_users_on_channel to the silcd/server.[ch].
10552
10553         * Removed function silc_server_command_send_users from the
10554           silcd/command.c.
10555
10556         * Do not show topic on the client library anymore.  The topic is
10557           sent in the command reply notify to the application and the
10558           application must show the topic now.
10559
10560 Sat Mar 10 00:07:37 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10561
10562         * Added client searching by nickname hash into the IDENTIFY and
10563           WHOIS commands in the server as they were clearly missing from
10564           them.  Affected file is silcd/command.c.
10565
10566         * Fixed a bug in private message receiving in the client library.
10567           The remote ID was freed and it wasn't supposed, now it is
10568           duplicated.
10569
10570 Fri Mar  9 12:40:42 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10571
10572         * Minor fix to the channel payload; allocate the data area, as it
10573           needs to be of specific length.
10574
10575         * If the key agreement port is zero then the operating
10576           system will define the bound port.  Affected files are
10577           lib/silcclient/silcapi.h and lib/silcclient/client_keyagr.c.
10578
10579         * Added new function silc_channel_payload_decrypt into the file
10580           lib/silccore/silcchannel.[ch].
10581
10582         * Moved the channel message etc, check from silc_packet_decrypt
10583           to applications.  The library calls now a generic
10584           SilcPacketCheckDecrypt callback which is to return TRUE or FALSE
10585           when the packet is either normal or special.  This was done to
10586           allow more wide range of checking that was not allowed when
10587           the code was in library.  Now applications can do virtually any
10588           checks to the packet and return to the library the decision how
10589           the packet should be processed.  Affected files are
10590           lib/silccore/silcpacket.[ch].
10591
10592           Added silc_server_packet_decrypt_check to the server and
10593           silc_client_packet_decrypt_check to the client library.
10594
10595         * Added silc_server_packet_send_srcdest into silcd/packet_send.[ch]
10596           to send with specified source and destination information.
10597
10598         * Channel message delivery between routers was broken after the
10599           channel key distribution was fixed earlier.  The channel key
10600           was used be to distributed to other routers as well which is not
10601           allowed by the protocol.  Now this is fixed and channel keys
10602           really are cell specific and the channel message delivery between
10603           routers comply with the protocol specification.
10604
10605         * Fixed various commands in server to check also the global list
10606           for the channel entry and not just the local list.  The affected
10607           file silcd/command.c.
10608
10609 Thu Mar  8 21:39:03 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10610
10611         * Added assert()s to buffer formatting and unformatting routines
10612           to assert (if --enable-debug) when error occurs.  Affected
10613           file: lib/silcutil/silcbuffmt.c.
10614
10615         * Changed to auto-reconnect to check whether the remote host is
10616           router and register the re-connect timeout if it is.  It used
10617           to check that whether we are normal server, but router must do
10618           auto-reconnect with another router as well.  Affected file
10619           silcd/server.c.
10620
10621         * Removed the [<key len>] option from CMODE command as the cipher
10622           name decides the key length, nowadays.  See the defined ciphers
10623           from the protocol specification.
10624
10625         * Added [<hmac>] option to the CMODE command to define the HMAC
10626           for the channel.  Added SILC_CMODE_HMAC channel mode.
10627
10628         * Added [<hmac>] option for the JOIN command so that user can
10629           select which HMAC is used to compute the MACs of the channel
10630           messages.
10631
10632         * Added Hmac field to the Channel Message Payload.  The integrity
10633           of plaintext channel messages are now protected by computing
10634           MAC of the message and attaching the MAC to the payload.  The
10635           MAC is encrypted.  Now, it is clear that this causes some
10636           overhead to the size of the packet but rationale for this is that
10637           now the receiver can verify whether the channel message decrypted
10638           correctly and also when private keys are set for the channel the
10639           receiver can decrypt the packet with several keys and check from
10640           the MAC which key decrypted the message correctly.
10641
10642         * Added silc_cipher_encrypt and silc_cipher_decrypt into the
10643           lib/silccrypt/silccipher.[ch].
10644
10645         * Added silc_hash_len to return the digest length into the
10646           lib/silcrypt/silchash.[ch].
10647
10648         * Rewrote parts of Silc Channel Payload interface in the
10649           lib/silccore/silcchannel.[ch].  The encode function now also
10650           encrypts the packet and parse function decrypts it.
10651
10652 Wed Mar  7 20:58:50 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10653
10654         * Fixed a minor formatting bug in the SKE's key material processing.
10655           It actually might have processed the keys wrong way resulting
10656           into wrong keys.
10657
10658         * Redefined the mandatory HMAC algorithms and added new algorithms.
10659           Added hmac-sha1-96 and hmac-md5-96 which are normal hmac-sha1
10660           and hmac-md5 truncated to 96 bits.  The mandatory is now
10661           hmac-sha1-96.  Rest are optional (including the one that used
10662           to be mandatory).  Rationale for this is that the truncated HMAC
10663           length is sufficient from security point of view and can actually
10664           make the attack against the HMAC harder.  Also, the truncated
10665           HMAC causes less overhead to the packets.  See the RFC2104 for
10666           more information.
10667
10668         * Added new [hmac] configuration section.  The SKE used to use
10669           the hash names (md5 and sha1) in the SKE proposal as HMCAS which
10670           is of course wrong.  The official names that must be proposed in
10671           the SKE are the ones defined in the protocol specification
10672           (hmac-sha1-96 for example).  The user can configure any hmac
10673           using any hash function configured in the [hash] section.  At
10674           least, the mandatory must be configured.
10675
10676           Rewrote the HMAC interface in lib/silccrypt/silchmac.[ch].
10677
10678         * Added HMAC list to the SKE proposal list.  It has now both
10679           hash algorithm list and HMAC list.  This makes the protocol
10680           incompatible with previous versions.  The SKE now seems to work
10681           the way it is supposed to work, for the first time actually.
10682
10683         * Defined plain Hash algorithms to the protocol specification.
10684           Added sha1 and md5.
10685
10686 Tue Mar  6 15:36:11 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10687
10688         * Implemented support for key agreement packets into the server.
10689           Added functions silc_server_key_agreement and
10690           silc_server_send_key_agreement.  Other than these functions,
10691           server has nothing to do with this packet.
10692
10693         * Added support for private message key packets into the server.
10694           Added functions silc_server_private_message_key and
10695           silc_server_send_private_message_key.
10696
10697         * Updated TODO.
10698
10699         * Changed the silc_[client|server]_protocol_ke_set_keys to be
10700           called in the protocol's final callback instead in the END
10701           protocol state.  This makes a little more sense and in the same
10702           time in client we can use the same protocol routines for normal
10703           key exchange and to key agreement packet handling as well.
10704
10705         * Added to both client's and server's KE protocol context the
10706           SilcSKEKeyMaterial pointer to save the key material.  We will
10707           bring the key material to the protocol's final callback by doing
10708           this.  The final callback must free the key material.
10709
10710         * Added SKE's packet_send callback into client's KE protocol
10711           context so that the caller can choose what packet sending function
10712           is used.  This way we can use different packet sending when
10713           doing normal SKE when doing key agreement packet handling (in
10714           the key agreement packet handling we do not want to encrypt
10715           the packets).
10716
10717         * Implemented the responder side of the key agreement routines
10718           in the client.  The client can now bind to specified port and
10719           accept incoming key negotiation.  The key material is passed
10720           to the application after the protocol is over.
10721
10722         * Implemented the processing of incoming Key Agreement packet
10723           in the client.  Added function silc_client_key_agreement to
10724           process the packet.
10725
10726         * Implemented the intiator side of the key agreement routines
10727           in the client.  The client can now initiate key agreement with
10728           another remote client.  The key material is passed to the
10729           application after the protocol is over.
10730
10731         * Created client_keyagr.c to include all the key agreement
10732           routines.
10733
10734         * Added macro SILC_TASK_CALLBACK_GLOBAL which is equal to the
10735           SILC_TASK_CALLBACK except that it is not static.
10736
10737         * Created client_notify.c and moved the Notify packet handling
10738           from the client.[ch] into that file.
10739
10740         * Created client_prvmsg.c and moved all private message and
10741           private message key routines from the client.[ch] into that file.
10742
10743         * Create client_channel.c and moved all channel message and
10744           channel private key routines from the client.[ch] into that file.
10745
10746         * Changed silc_client_get_client_by_id_resolve to resolve with
10747           WHOIS command instead of IDENTIFY command, in the file
10748           lib/silclient/idlist.c.
10749
10750 Mon Mar  5 18:39:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10751
10752         * Implemented the SKE's responder side to the Client library.
10753
10754         * When FAILURE is received to the protocol do not trust it
10755           blindly.  Register a timeout to wait whether the remote closes
10756           the connection as it should do it, only after that process the
10757           actual failure.  This was changed to both client and server.
10758
10759         * Added client_internal.h to include some of the structures
10760           there instead of client.h in lib/silcclient/.
10761
10762         * Added function silc_task_unregister_by_callback to unregister
10763           timeouts by the callback function.
10764
10765 Sat Mar  3 19:15:43 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10766
10767         * Some "Incomplete WHOIS info" errors has been appearing on the
10768           log files.  Took away the entry->userinfo check from WHOIS
10769           reply sending.  The entry->userinfo is now " " if client did not
10770           provide one.  I thought this was fixed earlier but something
10771           is wrong still.  Let's see if the error still appears.
10772
10773 Wed Feb 28 20:56:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10774
10775         * Fixed a minor bug in the login when the channel key is
10776           re-generated in the server.  It used to generate the key in
10777           wrong order and thus caused problems in the channel traffic.
10778
10779         * Fixed a minor bug in channel key distsribution after
10780           KICK command.  The key was not sent to the router even though
10781           it should've been.
10782
10783 Tue Feb 27 20:24:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10784
10785         * Added silc_ske_process_key_material_data as generic routine
10786           to process any key material as the SILC protocol dictates.  The
10787           function is used by the actual SKE library but can be used by
10788           applications as well.  This relates to the private message keys
10789           and the channel private keys since they must be processed the
10790           same way the normal SILC session keys.  The protocol dictates
10791           this.  Affected files: lib/silcske/silcske.[ch].
10792
10793           Added also silc_ske_free_key_material to free the
10794           SilcSKEKeyMaterial structure.
10795
10796         * Defined silc_cipher_set_key function to set the key for
10797           cipher without using the object's method function.  The affected
10798           files: lib/silccrypt/silccipher.[ch].
10799
10800         * Implemented silc silc_client_add_private_message_key,
10801           silc_client_add_private_message_key_ske,
10802           silc_client_del_private_message_key,
10803           silc_client_list_private_message_keys and
10804           silc_client_free_private_message_keys functions in the
10805           client library.
10806
10807           Added functions silc_client_send_private_message_key to send
10808           the Private Message Key payload and silc_client_private_message_key
10809           to handle incoming Private Message Key payload.
10810
10811         * Added Cipher field to the Private Message Key payload to set
10812           the cipher to be used.  If ignored, the default cipher defined
10813           in the SILC protocol (aes-256-cbc) is used.
10814
10815 Tue Feb 27 13:30:52 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10816
10817         * Removed lib/silcclient/ops.h file.
10818
10819           Redefined parts of the SILC Client Library API. Created new
10820           file silcapi.h that deprecates the ops.h file and defines the
10821           published Client Library API.  Defined also private message key
10822           API and channel private key API into the file.
10823
10824           This is the file that the application must include from the
10825           SILC Client Library.  Other files need not be included by
10826           the application anymore.
10827
10828         * Added new key_agreement client operation callback and also
10829           defined the Key Agreement library API for the application.
10830
10831 Tue Feb 27 11:28:31 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10832
10833         * Added new packet type: SILC_PACKET_KEY_AGREEMENT.  This packet
10834           is used by clients to request key negotiation  between another
10835           client in the SILC network.  If the negotiation is started it
10836           is performed using the SKE protocol.  The result of the
10837           negotiation, the secret key material, can be used for example
10838           as private message key.
10839
10840           Implemented the Key Agreement payload into the files
10841           lib/silccore/silauth.[ch].
10842
10843 Mon Feb 26 12:13:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10844
10845         * Redefined ciphers for the SILC protocol.  Added some new ciphers
10846           and defined the key lengths for the algorithms.  Changed the
10847           code accordingly.  The default key length is now 256 bits.
10848
10849         * Fixed SKE key distribution function silc_ske_process_key_material
10850           when the key length is more than 128 bits.  The default key
10851           length in SILC is now 256 bits.
10852
10853         * Added new command status type: SILC_STATUS_ERR_UNKOWN_ALGORITHM
10854           to indicate unsupported algorithm.
10855
10856         * Renamed rijndael.c to aes.c and all functions as well.
10857
10858         * Fixed a long standing channel key setting bug in client library.
10859           Weird that it has never surfaced before.
10860
10861         * Fixed bug in channel deletion.  If the entire channel is removed
10862           then it must also delete the references of the channel entry
10863           from the client's channel list as the client's channel entry and
10864           the channel's client entry share same memory.
10865
10866 Sun Feb 25 20:47:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10867
10868         * Implemented CONNECT and SHUTDOWN commands in the client.
10869
10870         * Implemented CLOSE command to the client.
10871
10872         * Added the function silc_idlist_find_server_by_name into the
10873           files silcd/idlist.[ch].
10874
10875           Added the function silc_idlist_find_server_by_conn into the
10876           files silcd/idlist.[ch].
10877
10878 Sat Feb 24 23:45:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10879
10880         * DIE command was renamed to SHUTDOWN.  Updated the both code
10881           and protocol specs.
10882
10883         * Defined SILC_UMODE_NONE, SILC_UMODE_SERVER_OPERATOR and
10884           SILC_UMODE_ROUTER_OPERATOR modes into lib/silccore/silcmode.h.
10885
10886         * Implemented CONNECT, CLOSE and SHUTDOWN commands to the server
10887           side.
10888
10889         * Added function silc_server_create_connection function to create
10890           connection to remote router.  My server implementation actually
10891           does not allow router to connect to normal server (it expects
10892           that normal server always initiates the connection to the router)
10893           so the CONNECT command is only good for connecting to another
10894           router.
10895
10896 Sat Feb 24 16:03:45 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10897
10898         * Added SILC_NOTIFY_TYPE_KICKED to indicate that the client
10899           or some other client was kicked from the channel.
10900
10901           Implemented the handling of the notify type to both client
10902           and server.
10903
10904           Implemented silc_server_send_notify_kicked to send the KICKED
10905           notify.  It is used to send it to the server's primary router.
10906
10907         * Implemented the KICK command into server and client.
10908
10909         * Added `query' argument to the silc_idlist_get_client function
10910           to indicate whether to query the client from server or not if
10911           it was not found.
10912
10913         * Added new command status type SILC_STATUS_ERR_NO_CHANNEL_FOPRIV
10914           to indicate that the client is not channel founder.
10915
10916         * Updated TODO.
10917
10918 Sat Feb 24 00:00:55 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10919
10920         * Removed the rng context from SilcPacketContext structure and
10921           changed that the packet routine uses the Global RNG API.
10922
10923 Fri Feb 23 11:22:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10924
10925         * Added support for quit message that client can "leave" on the
10926           channel when it quits the SILC.  It is ditributed inside the
10927           SILC_NOTIFY_TYPE_SIGNOFF notify type.
10928
10929           Added silc_server_free_client_data that will take the
10930           signoff message as argument.
10931
10932         * Changed SKE routines to use the silc_pkcs_sign/verify routines.
10933
10934 Thu Feb 22 23:05:36 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10935
10936         * Updated parts of the protocol specification to keep it up
10937           to date.
10938
10939 Thu Feb 22 15:08:20 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10940
10941         * Added List flag (SILC_PACKET_FLAG_LIST) to indicate list of
10942           payloads in one packet.
10943
10944         * Deprecated following packet types: NEW_ID_LIST, NEW_CHANNEL_LIST,
10945           NEW_CHANNEL_USER_LIST, SET_MODE and SET_MODE_LIST.  List packets
10946           use now the new List flag.
10947
10948         * Also deprecated the following packet types: REPLACE_ID,
10949           NEW_CHANNEL_USER and REMOVE_CHANNEL_USER packet types.
10950
10951         * Added list support for Notify packet in server.
10952
10953         * Added silc_server_send_notify_channel_change to send the
10954           CHANNEL_CHANGE notify type to replace channel ID's.  Deprecates
10955           the silc_server_send_replace_id.
10956
10957         * Added silc_server_send_notify_nick_change to send the
10958           NICK_CHANGE notify type.  Deprecates the function
10959           silc_server_send_replace_id.
10960
10961         * Added silc_server_send_notify_join to send the JOIN notify type.
10962           Deprecates the function silc_server_send_new_channel_user.
10963
10964         * Added silc_server_send_notify_leave to send LEAVE notify type.
10965           Deprecates the function silc_server_send_remove_channel_user.
10966
10967         * Added silc_server_send_notify_cmode and
10968           silc_server_send_notify_cumode to send CMODE and CUMODE notify
10969           types.  Deprecates the silc_server_send_set_mode function.
10970
10971         * Added SERVER_SIGNOFF notify type to indicate that server has
10972           quit.  This means that all clients on the channel from that
10973           server will drop.  This can be also used when netsplit happens.
10974
10975           Deprecated REMOVE_ID packet type since it is not needed anymore
10976           even from server.
10977
10978           Added silc_server_send_notify_server_signoff to send the
10979           SERVER_SIGNOFF notify type.  Deprecates the function
10980           silc_server_send_remove_id.
10981
10982           Added also silc_server_send_notify_signoff to send the
10983           SIGNOFF notify type.
10984
10985         * Employed the PKCS #1. It is the mandatory way to do RSA in the
10986           SILC protocol from this day on.  Changed the protocol
10987           specification as well.
10988
10989         * Added silc_server_send_notify_topic_set to send TOPIC_SET
10990           notify type.  It is used between routers to notify about
10991           topic changes on a channel.
10992
10993         * Added silc_id_dup into lib/silccore/id.[ch] to duplicate
10994           ID data.
10995
10996         * Partly updated the protocol specification to comply with the
10997           changes now made.  It is still though a bit outdated.
10998
10999         * The JOIN notify type now takes one extra argument <Channel ID>.
11000           The packet used to be destined to the channel but now the
11001           JOIN type may be sent as list thus it is impossible to
11002           destine it to any specific channel.  By adding this argument
11003           it is again possible.
11004
11005 Wed Feb 21 22:39:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11006
11007         * Added CREDITS file.  The CHANGES and CREDITS file will appear
11008           in the distribution as well.
11009
11010 Wed Feb 21 14:17:04 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11011
11012         * Implemented CMODE_CHANGE, CUMODE_CHANGE and TOPIC_SET notify
11013           types in the server's silcd/packet_receive.c.
11014
11015         * Implemented CMODE and CUMODE to work in router environment.
11016
11017         * Fixed minor encoding and decoding buglet from the
11018           lib/silccore/silcmode.c.
11019
11020         * Fixed buffer overflow from lib/silcclient/command.c in USERS
11021           command parsing.
11022
11023 Wed Feb 21 12:44:00 EET 2001  Mika Boström <bostik@lut.fi>
11024
11025         * Changed all SilcConfigServer* and silc_config_server* to
11026           SilcServerConfig* and silc_server_config*, respectively.
11027           Patch by Bostik.
11028
11029 Wed Feb 21 00:10:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11030
11031         * Associated the ID (client or server ID) to the Authentication
11032           Payload to avoid any possibility of forging.  Updated the
11033           protocol specification and the code accordingly.
11034
11035 Tue Feb 20 14:14:14 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11036
11037         * The RSA key length is now save to the RsaKey context in the
11038           key generation process in lib/silccrypt/rsa.c.  The key length
11039           is now used to figure out the maximum size of the block allowed
11040           to be encrypted/signed.
11041
11042         * Added silc_mp_mp2bin_noalloc into lib/silcmath/mpbin.[ch].  It
11043           is equivalent to the silc_mp_mp2bin but does not allocate any
11044           memory.
11045
11046         * Changed silc_mp_mp2bin API to take length argument.  If it is
11047           non-zero then the buffer is allocated that large.  If zero, then
11048           the size is approximated using silc_mp_sizeinbase, which however
11049           is not relieable.
11050
11051         * Created Global RNG API which is global RNG that application can
11052           initialize.  After initializing, any routine anywhere in the
11053           code (including library) can use RNG without allocating a new
11054           RNG object.  This was done to allow this sort of use of the
11055           RNG in code that has no chance to allocate RNG object.  All
11056           applications currently allocate this and many routines in the
11057           library use this.  Affected file lib/silccrypt/silcrng.[ch].
11058
11059         * Removed the RNG kludge from lib/silcmath/primegen.c and changed
11060           it to use the Global RNG API.
11061
11062         * Defined Authentication Payload into protocol specification that
11063           is used during SILC session to authenticate entities.  It is
11064           used for example by client to authenticate itself to the server
11065           to obtain server operator privileges.
11066
11067           Implemented this payload into the lib/silccore/silcauth.[ch].
11068           Implemented also routines for public key based authentication
11069           as the new protocol specification dictates.
11070
11071           Moved definitions of different authentication methods from
11072           lib/silccore/silcprotocol.h into lib/silccore/silcauth.h.
11073
11074         * Added silc_pkcs_encrypt, silc_pkcs_decrypt, silc_pkcs_sign,
11075           silc_pkcs_verify and silc_pkcs_sign_with_hash and
11076           silc_pkcs_verify_with_hash functions into the file
11077           lib/silccrypt/silcpkcs.[ch].
11078
11079 Mon Feb 19 19:59:28 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11080
11081         * The client entry's userinfo pointer must be always valid.
11082           Otherwise the [<unknown>] bug will surface beacuse the WHOIS
11083           will fail since it requires the userinfo.  Now, the userinfo
11084           is allocated as "" if actual userinfo does not exist.  Actually,
11085           it must exist and it is totally Ok to drop client connections
11086           that does not announce the userinfo.  However, we will make
11087           this workaround for now.
11088
11089         * Added silc_net_get_remote_port into lib/silcutil/silcnet.[ch]
11090           to return the remote port by socket.
11091
11092 Mon Feb 19 14:26:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11093
11094         * Changed SILC_SERVER_COMMAND_EXEC_PENDING macro to the name
11095           SILC_SERVER_PENDING_EXEC and added an new macro
11096           SILC_SERVER_PENDING_DESTRUCTOR which is called to free the
11097           data or when error occurs while processing the pending command.
11098
11099           Added new argument `destructor' into silc_server_command_pending
11100           and to the SilcServerCommandPending object.  This destructor is
11101           now called after calling the pending callback or if error occurs
11102           immediately.  If error occurs the actual pending callback won't
11103           be called at all - only the destructor.  The destructor may be
11104           NULL if destructor is not needed.
11105
11106           All this applies for client library code as well.  Similar
11107           changes were made there as well for the pending commands.
11108
11109           In the client, the application must now allocate the
11110           SilcClientCommandContext with the silc_client_command_alloc
11111           function.
11112
11113         * Added reference counter to the SilcServerCommandContext.  Added
11114           function silc_server_command_alloc and silc_server_command_dup
11115           functions.
11116
11117           Same type of functions added to the client library for the same
11118           purpose as well.
11119
11120         * Removed the cmd_ident from IDListData away since it is now
11121           global for all connections.  It is the command identifier used
11122           in command sending and with pending commands.  The affected file
11123           is silcd/idlist.h.
11124
11125         * Added reference counter to the SilcSocketConnection objecet to
11126           indicate the usage count of the object.  The object won't be
11127           freed untill the reference counter hits zero.  Currently only
11128           server uses this, and client ignores it.  The client must be
11129           set to use this too later.  The affected files are
11130           lib/silccore/silcsockconn.[ch].  Added also the function
11131           silc_socket_dup to increase the reference counter.
11132
11133           This was mainly added because it is possible that the socket
11134           is removed underneath of pending command or other async
11135           operation.  Now it won't be free'd and proper DISCONNECTING
11136           flags, etc. can be set to avoid sending data to connection that
11137           is not valid anymore.
11138
11139         * Added SILC_SET_DISCONNECTING to server.c when EOF is read from
11140           the connection.  After that it sets SILC_SET_DISCONNECTED.
11141           It is, however, possible that the socket data is not still freed.
11142           The silc_server_packet_process now checks that data is not
11143           read or written to connection that is DISCONNECTED.  The socket
11144           get's freed when the reference counter hits zero.
11145
11146 Mon Feb 19 00:50:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11147
11148         * Changed the client operation API: channel_message operation's
11149           `sender' is now the client entry of the sender, not the nickname
11150           and the `channel' is the channel entry, not the channel name.
11151
11152           In the private_message operation the `sender' is now also the
11153           client entry of the sender not the nickname.
11154
11155           Affected file is lib/silcclient/ops.h and all applications
11156           using the client operations.
11157
11158 Sat Feb 17 22:11:50 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11159
11160         * Moved the calling of ops->connect() from connect_to_server_final
11161           into receive_new_id functin since that is the point when the
11162           client is actually allowed to send traffic to network.  The
11163           affected file is lib/silcclient/client.c.
11164
11165 Sat Feb 17 13:15:35 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11166
11167         * When receiving NEW_CHANNEL_LIST, NEW_CHANNEL_USER_LIST,
11168           NEW_ID_LIST and SET_MODE_LIST packets, broadcast the list packet
11169           (if needs broadcasting) instead of broadcasting the packets one
11170           by one which would make a burst in the network traffic.
11171
11172         * Added `broadcast' argument to the functions in silcd/server.[ch]
11173           silc_server_create_new_channel[_with_id] to indicate whether
11174           to send New Channel packet to primary router.
11175
11176 Sat Feb 17 01:06:44 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11177
11178         * Added new function into the silcd/server.[ch] files:
11179           silc_server_create_new_channel_with_id to create new channel with
11180           already existing Channel ID.
11181
11182         * Added new packet type SILC_PACKET_SET_MODE_LIST into the file
11183           lib/silccore/silcpacket.h.  This packet is used t send list of
11184           Set Mode payloads inside one packet.  Server uses this to set
11185           the modes for the channels and clients on those channels, that it
11186           announced to the router when it connected to it.  The protocol
11187           specification has been updated accordingly.
11188
11189         * The silc_server_new_channel did not handle the packet coming
11190           from normal server as it normally does not send that.  However,
11191           when it announces its channels it does send it.  Implemented
11192           the support for that.
11193
11194         * Added SILC_ID_CHANNEL_COMPARE macro to compare to Channel ID's
11195           into the file lib/silccore/id.h.
11196
11197 Fri Feb 16 23:57:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11198
11199         * Fixed memory leaks in the functions silc_idlist_del_client,
11200           silc_idlist_del_channel and silc_idlist_del_server in the file
11201           silcd/idlist.c.  All of those leaked like a sieve.
11202
11203         * Fixed some small memory leaks in the client's function
11204           silc_client_notify_by_server.
11205
11206         * Added functions into silcd/server.c: silc_server_announce_clients,
11207           silc_server_announce_channels and silc_server_announce_server.
11208           These functions are used by normal and router server to announce
11209           to its primary router about clients, channels and servers (when
11210           router) that we own.  This is done after we've connected to the
11211           router.
11212
11213           These functions effectively implements the following packet types:
11214           SILC_PACKET_NEW_CHANNEL_LIST, SILC_PACKET_NEW_CHANNEL_USER_LIST
11215           and SILC_PACKET_NEW_ID_LIST.
11216
11217         * Added new functions into the silcd/packet_receive.[ch]:
11218           silc_server_new_id_list, silc_server_new_channel_list and
11219           silc_server_new_channel_user_list to handle the incoming
11220           NEW_ID_LIST, NEW_CHANNEL_LIST and NEW_CHANNEL_USER_LIST packets.
11221
11222         * Added support of changing Channel ID in the function
11223           silc_server_replace_id.  If the server that announces a channel
11224           to the router already exists in the router (with same name but
11225           with different Channel ID), router is responsible to send
11226           Replace ID packet to the server and force the server to change
11227           the Channel ID to the one router has.
11228
11229         * Added new notify type SILC_NOTIFY_TYPE_CHANNEL_CHANGE to notify
11230           client that the Channel ID has been changed by the router.  The
11231           normal server sends this to the client.  Client must start using
11232           the new Channel ID as the channel's ID.
11233
11234           Implemented handling of this new type into lib/silcclient/client.c
11235           into the function silc_client_notify_by_server.
11236
11237         * Added new function silc_idlist_replace_channel_id into the files
11238           silcd/idlist.[ch] to replace the Channel ID.
11239
11240 Fri Feb 16 14:14:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11241
11242         * Call silc_server_command_identify_check always when processing
11243           the IDENTIFY command in silcd/command.c
11244
11245 Thu Feb 15 20:07:37 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11246
11247         * Added new packet type SILC_PACKET_HEARTBEAT that is used to
11248           send keepalive packets.  The packet can be sent by clients,
11249           servers and routers.
11250
11251           Added function silc_socket_set_heartbeat into the file
11252           lib/silccore/silcsockconn.[ch] to set the heartbeat timeout.
11253           If not set, the heartbeat is not performed.  The actual
11254           heartbeat is implemented in the low level socket connection
11255           library.  However, application is responsible of actually
11256           sending the packet.
11257
11258           Added silc_server_send_heartbeat to send the actual heartbeat
11259           packet into silcd/packet_send.[ch].  Server now performs
11260           keepalive with all connections.
11261
11262         * Added silc_task_get_first function into lib/silcutil/silctask.c
11263           to return the timeout task with shortest timeout.  There was a bug
11264           in task unregistration that caused problems.  TODO has been
11265           updated to include that task system must be rewritten.
11266
11267         * The client library will now resolve the client information when
11268           receiving JOIN notify from server for client that we know but
11269           have incomplete information.
11270
11271         * Rewrote parts of silc_server_remove_from_channels and
11272           silc_server_remove_from_one_channel as they did not remove the
11273           channel in some circumstances even though they should've.
11274
11275         * Encryption problem encountered in server:
11276
11277           The LEAVE command used to send the Channel Key packet to the
11278           router immediately after generating it.  However, the code
11279           had earlier sent Remove Channel user packet but not immediately,
11280           ie. it was put to queue.  The order of packets in the router
11281           was that Channel Key packet was first and Remove Channel User
11282           packet was second, even though they were encrypted in the
11283           reverse order.  For this reason, MAC check failed.  Now, this
11284           is fixed by not sending the Channel Key packet immediately but
11285           putting it to queue.  However, this is more fundamental problem:
11286           packets that are in queue should actually not be encrypted
11287           because packets that are sent immediately gets encrypted
11288           actually with wrong IV (and thus MAC check fails).  So, packets
11289           that are in queue should be encrypted when they are sent to
11290           the wire and not when they put to the queue.
11291
11292           However, the problem is that the current system has not been
11293           designed to work that way.  Instead, the packet is encrypted
11294           as soon as possible and left to the queue.  The queue is then
11295           just purged into wire.  There won't be any fixes for this
11296           any time soon.  So, the current semantic for packet sending
11297           is as follows:
11298
11299           o If you send packet to remote host and do not force the send
11300           (the packet will be in queue) then all subsequent packets to the
11301           same remote host must also be put to the queue.  Only after the
11302           queue has been purged is it safe again to force the packet
11303           send immediately.
11304
11305           o If you send all packets immediately then it safe to send
11306           any of subsequent packets through the queue, however, after
11307           the first packet is put to queue then any subsequent packets
11308           must also be put to the queue.
11309
11310           Follow these rules and everything works fine.
11311
11312 Thu Feb 15 14:24:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11313
11314         * Added new function silc_server_remove_clients_by_server to
11315           remove all client entries from ID list when the server connection
11316           is lost.  In this case it is also important to invalidate all
11317           client entires as they hold the invalid server entry.  This
11318           fixes fatal bug when server has lost connection and will reconnect
11319           again.
11320
11321 Wed Feb 14 16:03:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11322
11323         * Made some sanity checks to silc_server_daemonise like to check
11324           whether the requested user and group actually exists.
11325
11326         * Added sanity check to SKE's silc_ske_responder_finish to check
11327           that the public and private key actually is valid.
11328
11329         * Invalidate the client's nickname when receiving Replace ID
11330           packet and the Client ID is being replaced.  This means that the
11331           server will query the nickname if someone needs it (client)
11332           a bit later.
11333
11334         * Sort the ID Cache in client library when the ID Cache data
11335           has changed (needs sorting).
11336
11337         * Do not allow for SILC client to create several connections to
11338           several servers.  The client does not support windows right now
11339           and generating multiple connections causes weird behaviour.
11340
11341           Irssi-silc client does support windows and can handle several
11342           connections without problems, see: www.irssi.org and SILC plugin.
11343
11344         * Fixed some places where client was added to the IDList.  The
11345           rule of thumb is following (in order to get everything right):
11346           If the client is directly connected local client then the
11347           `connection' argument must be set and `router' argument must be
11348           NULL to silc_idlist_add_client function.  If the client is not
11349           directly connected client then the `router' argument must
11350           bet set and the `connection' argument must be NULL to the
11351           silc_idlist_add_client function.
11352
11353         * The funtion silc_server_packet_send_local_channel actually did
11354           not check whether the client was locally connected or not.  It
11355           does that now.  Fixed a bug related to LEAVE command.
11356
11357         * Fixed Remove Channel User payload parsing bug in server's
11358           silcd/packet_receive.c.  Fixed a bug related to LEAVE command.
11359
11360         * The server's silc_server_save_channel_key now checks also the
11361           global ID list for the channel as it might not be in the local
11362           list.  Fixed a bug related to LEAVE command.
11363
11364         * Is this the end of the [<unknown>] buglet that has been lurking
11365           around for a long time?  A little for loop fix in server's
11366           silc_server_command_whois_parse that is used by both IDENTIFY
11367           and WHOIS command.  At least, this was a clear bug and a cause
11368           of one type of [<unknown>] buglet.
11369
11370         * WHOIS and IDENTIFY commands call the function
11371           silc_server_command_[whois/identify]_check function even if
11372           we are not router server.
11373
11374 Tue Feb 13 19:55:59 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11375
11376         * Added --with-gmp configuration option.  If set the GMP
11377           is always compiled in the SILC source tree.  If not set then
11378           it is checked whether the system has the GMP3 installed.  If
11379           it has then the GMP won't be compiled (the system's headers
11380           and library is used), if it doesn't have it then the GMP is
11381           compiled in the SILC source tree.
11382
11383 Mon Feb 12 11:20:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11384
11385         * Changed RSA private exponent generation to what PKCS #1
11386           suggests.  We try to find the smallest possible d by doing
11387           modinv(e, lcm(phi)) instead of modinv(e, phi).  Note: this is
11388           not security fix but optimization.
11389
11390 Sun Feb 11 18:19:51 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11391
11392         * Added new config entry [Identity] to fork the server and run
11393           it as specific user and group.  A patch from Bostik.
11394
11395         * Imported Dotconf configuration library into lib/dotconf.
11396           This will be used to create the SILC configuration files later.
11397           It will appear in the distsribution after this commit.
11398
11399 Sat Feb 10 21:13:45 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11400
11401         * A big code auditing weekend happening.  Auditing code for
11402           obvious mistakes, bugs and errors.  Also, removing any code
11403           that is obsolete.
11404
11405           Removed files for being obsolete:
11406
11407           o lib/silcutil/silcbuffer.c (the buffer interface is entirely in
11408           inline in the file lib/silcutil/silcbuffer.h)
11409
11410           o lib/silcutil/silcbufutil.c (the header has inline versions)
11411
11412           Changed code to fix possible error conditions:
11413
11414           o The buffer formatting routines now check that the destination
11415           buffer really has enough space to add the data.  This applies for
11416           both buffer formatting and unformatting
11417           (lib/silcutil/silcbuffmt.[ch]).  Also, the entire buffer
11418           unformatting was changed to accomodate following rules:
11419           XXX_*STRING_ALLOC will allocate space for the data into the pointer
11420           sent to the function while XXX_*STRING will not allocate or copy
11421           the data into the buffer.  Instead it sets the pointer from the
11422           buffer into the pointer sent as argument (XXX_*STRING used to
11423           require that the pointer must be allocated already).  This change
11424           makes this whole thing a bit more consistent and more optimized
11425           (note that the data returned in the unformatting with XXX_*STRING
11426           must not be freed now).  The routines return now -1 on error.
11427
11428           o Tried to find all code that use buffer_format and buffer_unformat
11429           and added return value checking to prevent formatting and
11430           especially unformatting errors and possible subsequent fatal
11431           errors.
11432
11433           o Changed ske->x and ske->KEY to mallocated pointers in
11434           lib/silcske/silcske.h.  Fixed possible data and memory leak.
11435
11436           o Added return value checking to all *_parse* functions.  Fixed
11437           many memory leaks as well.
11438
11439           o Added length argument to silc_id_str2id in lib/silccore/id.[ch]
11440           so that buffer overflows would not happen.  All code now also
11441           checks the return value as it can fail.
11442
11443 Mon Feb  5 20:08:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11444
11445         * Added reconnection support to server if the normal server looses
11446           its connection to the router (for example if router is rebooted).
11447           The server performs normal reconnection strategy implemented
11448           to the server.  Affected file silcd/server.c.
11449
11450 Sun Feb  4 13:18:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11451
11452         * Added new packet type SILC_PACKET_SET_MODE that is used to
11453           distribute the information about changed modes (for clients,
11454           channels and clients channel modes) to all routers in the
11455           network.  Updated the protocol specification accordingly.
11456
11457           Added functions into silcd/packet_send.c and
11458           silcd/packet_receive.c: silc_server_send_set_mode,
11459           silc_server_set_mode.
11460
11461           Added new files silcmode.[ch] into lib/silccore that implements
11462           the encoding and decoding of Set Mode Payload.  Added new type
11463           SilcSetModePayload.  Moved the definitions of different modes
11464           from lib/silccore/silcchannel.h into lib/silccore/silcmode.h.
11465
11466 Sat Feb  3 15:44:54 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11467
11468         * Oops, a little mistake in server's connection authentication
11469           protocol.  The protocol is not ended with FAILURE but with
11470           SUCCESS if the authentication is Ok. :)  Affected file is
11471           silcd/protocol.c.
11472
11473         * Implemented NICK_CHANGE notify handling in server in the file
11474           silcd/packet_receive.c  The NICK_CHANGE notify is distributed to
11475           the local clients on the channel.  After the changing nickname
11476           in router environment snhould work and the [<unknown>] nickname
11477           should appear no more.
11478
11479           The silc_server_replace_id function that receives the Replace ID
11480           payload now sends the NICK_CHANGE notify type also in the file
11481           silcd/packet_receive.c
11482
11483         * Changed WHOIS and IDENTIFY command to support the maximum amount
11484           of arguments defined in protocol specs (3328 arguments).  This
11485           fixed a bug that caused problems when there were more than three
11486           users on a channel.
11487
11488 Fri Feb  2 11:42:56 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11489
11490         * Added extra parameter, command identifier, to the
11491           silc_client_send_command so that explicit command identifier
11492           can be defined.
11493
11494           Changed that ID list routines uses specific command identifier
11495           when sending WHOIS/IDENTIFY requests to the server so that they
11496           can be identified when the reply comes back.
11497
11498           Affected files lib/silcclient/command.[ch],
11499           lib/silcclient/client.c and lib/silcclient/idlist.[ch].
11500
11501         * Added `sender' argument to silc_server_packet_send_to_channel
11502           to indicaet the sender who originally sent the packet to us
11503           that we are now re-sending.  Ignored if NULL.  Affected file
11504           silcd/packet_send.[ch].
11505
11506         * Added some server statistics support in silcd/server_internal.h
11507           SilcServerStatistics structure and around the server code.  Also
11508           send some nice statistics information when client is connecting
11509           to the client.
11510
11511 Thu Feb  1 23:31:21 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11512
11513         * Fixed channel ID decoding in server's JOIN command reply in
11514           silcd/command_reply.c
11515
11516         * Fixed braodcasting of replace ID payload to not to send it if
11517           we are standalone server in silcd/packet_receive.c.
11518
11519         * Fixed all channel message sending routines to not to send
11520           packets to clients that has router set, since they are routed
11521           separately in the same function earlier.  Affects file
11522           silcd/packet_send.c and all channel packet sending functions.
11523
11524         * In USERS reply, res_argv[i] are not allocated, the table
11525           is allocated.  Thus changed that free the table, not its
11526           internals.
11527
11528         * In server's whois_check and identify_check if the client is
11529           locally connected do not send any WHOIS commands - they are not
11530           needed.
11531
11532 Thu Feb  1 21:32:27 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11533
11534         * Fixed some minor bugs in client when sending WHOIS command.  The
11535           arguments was in wrong order.
11536
11537         * Removed statis function add_to_channel from server in
11538           silcd/command.c that was previously used with the joining but
11539           is obsolete now.
11540
11541         * Tested USERS command in router environment successfully with two
11542           routers, two servers and two clients.
11543
11544 Thu Feb  1 00:54:26 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11545
11546         * Reorganized the USERS command and command reply in client library
11547           in lib/silcclient/command.c and lib/silcclient/command_reply.c.
11548           When the command is given by user we register a pending command
11549           callback that will reprocess the command after the reply has been
11550           received from the server.  When reprocessing the packet we then
11551           display the information.  Thus, the USERS information is displayed
11552           now in the command callback instead of in the command reply
11553           callback.  The processing of the command is same as previously
11554           when server has sent the command reply in the JOINing process.
11555
11556         * Added to USERS command in silcd/command_reply.c to join the client,
11557           we didn't use to know about, to the channel after we've created
11558           a client entry for it.  Also, for clienet we did know already still
11559           check whether it is on the channel or not and add it if not.
11560
11561         * Removed silc_server_command_join_notify as the function and its
11562           use was obsolete.
11563
11564 Tue Jan 30 22:39:15 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11565
11566         * Changed the client's pending command handling to the same as the
11567           server's pending command handling.  It is also now possible to
11568           execute command reply functions from other command reply
11569           function as the function callbacks for commands and command
11570           replies are one and same.  The pending commands are not static
11571           list anymore, it is mallocated SilcDList in lib/silcclient/client.h
11572           in client connection context.  Thus, pending commands are server
11573           connection specific as it is convenient.
11574
11575           Changed the function silc_client_command_pending and
11576           silc_client_command_pending_del and added new function
11577           silc_client_command_pending_check.  Removed the
11578           SILC_CLIENT_CMD_REPLY_EXEC, and SILC_CLIENT_PENDING_COMMAND_CHECK
11579           macros.
11580
11581         * Added cmd_ident, current command identifier, to the client
11582           connection context in lib/silcclient/client.h to keep track on
11583           command identifiers used in command sending.  Client's command reply
11584           function handling now supports the mandatory command identifiers.
11585
11586         * Added SILC_CLIENT_COMMAND_EXEC_PENDING macros to all command reply
11587           funtions in client to fully support pending command callbacks.
11588
11589         * NOTE: the name_list in USERS (old NAMES) command is NOT sent anymore
11590           as one of the arguments to the application in the command reply
11591           client operation.
11592
11593         * NOTE: The FORWARDED flag is depracated.  It used to be depracated
11594           before first releasing SILC but came back.  Now it is removed again
11595           and should come back nomore.  The FORWARDED flag was used only
11596           by the JOINing procedure by forwarding the command packet to router.
11597           Now, the JOINing procedure has been changed to more generic (due
11598           to various router environment issues) and FORWARDED is not needed
11599           anymore for anything.  The protocol specification is yet to be
11600           updated.
11601
11602           Now, removed silc_server_packet_forward from server and the flag
11603           SILC_PACKET_FORWARDED from lib/silccore/silcpacket.h.
11604
11605 Tue Jan 30 00:05:05 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11606
11607         * Renamed NAMES command to USERS command.  The NAMES was named that
11608           due to historical reasons.  Now it is renamed.  Also, rewrote
11609           parts of the USERS command.  The nickname list is not sent anymore
11610           by the server.  Only Client ID and mode lists are sent in the USERS
11611           command.  Changed this also to the protocol specification.
11612
11613           The client now resolves the names and stuff after it receives
11614           the USERS list from the server when joining to the channel.
11615
11616         * WHOIS and IDENTIFY commands has been changed to support multiple
11617           Client ID's per command.  One can now search for multiple users
11618           in the network by sending only one WHOIS or IDENTIFY command.
11619           Changed the code and the protocol specifications.
11620
11621         * Removed silc_server_command_identify_parse and changed that IDENTIFY
11622           uses silc_server_command_whois_parse to parse the request. */
11623
11624         * If normal server, do not parse the WHOIS and IDENTIFY requests
11625           before sending it to the router.  Saves some time.
11626
11627 Sun Jan 28 16:19:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11628
11629         * Fixed JOIN command on client library.  Wrong number of arguments
11630           used to crash the client.
11631
11632         * Added silc_server_channel_has_global function to check whether
11633           channel has global users or not.
11634
11635         * Added silc_server_channel_has_local function to check whether channel
11636           has locally connected clients on the channel.
11637
11638         * The silc_server_remove_from_one_channel now checks whether the
11639           channel has global users or not after given client was removed from
11640           the channel.  It also checks whether the channel has local clients
11641           on the channel anymore.  If it does not have then the channel entry
11642           is removed as it is not needed anymore.
11643
11644         * The silc_server_notify now checks on JOIN notify whether the joining
11645           client is one of locally connected or global.  If it is global then
11646           the channel has now global users on the channel and that is marked
11647           to the channel entry.  Also, it now saves the global client to
11648           global list who is joining and JOINs it to the channel.  This is
11649           for normal server, that is.
11650
11651           Changed silc_server_send_notify_on_channel,
11652           silc_server_packet_relay_to_channel and
11653           silc_server_packet_send_to_channel check if we are normal server
11654           and client has router set (ie. global client) do not send the
11655           message to that client, as it is already routed to our router.
11656
11657         * Implemented LEAVE notify type handling in silc_server_notify
11658           function.
11659
11660         * Tested LEAVE command in router environment successfully.  Tested
11661           with two routers, two servers and two clients.
11662
11663         * Updated TODO.
11664
11665         * idlist_find_xxx_by_id routines now dumps the ID on the debug mode.
11666
11667         * Implemented SIGNOFF notify type handling in silc_server_notify
11668           function.
11669
11670         * silc_server_remove_id now removes the client entry from all channels
11671           it has joined and thusly sends SIGNOFF notify type.
11672
11673         * Rewrote the NAMES list generation in server by removing two excess
11674           loops.  The lists are created now inside one loop.
11675
11676 Sat Jan 27 22:34:56 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11677
11678         * silc_server_remove_channel_user checks now also global list
11679           for channel and client.
11680
11681         * silc_server_new_channel_user checks now both local and global
11682           list for channel and client.  Fixed a bug in client id decoding.
11683           Used to decode wrong buffer.
11684
11685         * silc_server_channel_message checks now both local and global
11686           list for channel entry.
11687
11688         * Tested channel joining (hence JOIN) in router environment
11689           successfully.  Tested with two routers, two servers and two
11690           clients.
11691
11692         * Tested channel message sending in router environment successfully.
11693
11694 Thu Jan 11 03:22:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11695
11696         * Added silc_server_save_channel_key into server.[ch] to save the
11697           received channel key in Channel Key payload processing. It is
11698           also used in JOIN command reply handling.
11699
11700           Equivalent function silc_client_save_channel_key added into
11701           client.[ch] into client library.
11702
11703         * Changed JOIN command reply to send information whether the channel
11704           was created or not (is existing already) and the channel key
11705           payload.  Changed protocol specs accordingly.
11706
11707         * Fixed bugs in WHOIS and IDENTIFY command reply sending when
11708           the request was sent by ID and not by nickname.  Crashed on
11709           NULL dereference.
11710
11711 Sat Dec 23 21:55:07 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11712
11713         * Fixed a bug in Client library.  IDENTIFY and WHOIS reply functions
11714           now correctly save the received data.
11715
11716         * silc_server_free_sock_user_data now notifies routers in the
11717           network about entities leaving the network.
11718
11719           At the same time implemented functions silc_server_remove_id
11720           and silc_server_send_remove_id to receive and send REMOVE_ID
11721           packets.  The packet is used to notify routers in the network
11722           about leaving entities.  The ID removed will become invalid in
11723           the network.
11724
11725         * Added function silc_idlist_del_server into server. Removes and
11726           free's server entry from ID list.
11727
11728         * silc_server_private_message function now checks, if we are router,
11729           that the destination ID really is valid ID, naturally.
11730
11731         * In router when NEW_ID packet is received (for new client) the
11732           hash of the Client ID is saved in the ID Cache but the
11733           client->nickname is set to NULL, instead of putting the hash
11734           to it as well.
11735
11736           IDENTIFY command now also checks that client->nickname must be
11737           valid. If it is not if will request the data from the server who
11738           owns the client.  Added new function
11739           silc_server_command_identify_check.
11740
11741         * Added silc_command_set_command into lib/silccore/silcommand.[ch]
11742           to set the command to already allocated Command Payload.
11743
11744         * Tested private message sending in router environment with two
11745           routers, two servers and two clients.  Fixed minor bugs and now
11746           it works fine.
11747
11748         * Fixed segfault from client's NAMES command. Used to crash if
11749           not on any channel.
11750
11751         * Forwarded packets must not be routed even if it is not destined
11752           to the receiver.  Changed server code comply with this.
11753
11754 Sun Dec 17 14:40:08 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11755
11756         * Added `require_reverse_mapping' boolean value to ServerParams
11757           structure. If TRUE (not default) the server will require that
11758           the connecting host has fully qualified domain name.
11759
11760           If the reverse mapping is not required and hostname could not be
11761           found the IP address is used as hostname.
11762
11763 Sat Dec 16 17:39:54 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11764
11765         * Implemented version string checking to both client and server.
11766           The check is incomplete currently due to the abnormal version
11767           strings used in development version of SILC.
11768
11769         * Changed all command functions in server to use the new
11770           CHECK_ARGS macro.
11771
11772 Fri Dec 15 15:55:12 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11773
11774         * Changed char *data to unsigned char *data in ID Cache system to
11775           support binary data as ID Cache data. Changed code to support
11776           binary data in lib/silccore/idcache.c.
11777
11778         * Renamed silc_server_packet_relay_command_reply to
11779           silc_server_command_reply as it is normal packet receiving
11780           function. Rewrote the function to accept command replys for
11781           servers and not only for clients.
11782
11783         * Mark remote router always as registered server if we are connecting
11784           to it.  Otherwise, commands sent by the router to us are ignored.
11785
11786         * All ID List find routines now returns the ID Cache Entry pointer
11787           as well if requested.
11788
11789         * WHOIS command works now in router environment, tested with two
11790           routers, two servers and two clients.
11791
11792         * Cleaned up and rewrote IDENTIFY command. IDENTIFY should work now
11793           in router environment (as it is almost equivalent to WHOIS) but
11794           hasn't been tested thoroughly.  Added new functions:
11795
11796           silc_server_command_identify_parse
11797           silc_server_command_identify_send_reply
11798           silc_server_command_identify_from_client
11799           silc_server_command_identify_from_server
11800
11801         * Disabled route cache adding because adding two different ID's with
11802           same IP replaces the old cache entry thus giving wrong route.
11803           The entry->router->connection is always the fastest route anyway
11804           so route cache may not be needed.  Of course, new routes maybe
11805           established after receiving the ID when the entry->router->connection
11806           might not be anymore the most optimal.
11807
11808 Thu Dec 14 15:55:35 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11809
11810         * Add route cache for received ID for fast routing.
11811
11812         * Added silc_server_packet_route to route received packet on router
11813           that is not destined to us.
11814
11815         * Renamed silc_server_get_route to silc_server_route_get.
11816
11817         * Added id_string and id_string_len fields into SilcServer to
11818           include encoded ServerID for fast comparing without excess
11819           encoding of the ID's.
11820
11821         * Cleaned up WHOIS command on server side. Added following static
11822           functions:
11823
11824           silc_server_command_whois_parse
11825           silc_server_command_whois_check
11826           silc_server_command_whois_send_reply
11827           silc_server_command_whois_from_client
11828           silc_server_command_whois_from_server
11829
11830         * Added macro SILC_SERVER_COMMAND_CHECK_ARGC to check mandatory
11831           arguments in command replies. All command functions should be
11832           updated to use this macro.
11833
11834 Sun Dec 10 23:52:00 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11835
11836         * Minor typo fixes on command reply handling on server.
11837
11838 Tue Nov 28 11:05:39 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11839
11840         * Added silc_server_command_add_to_channel internal routine to add
11841           the client to the channel after router has created the channel and
11842           sent command reply to the server.
11843
11844         * Added generic silc_server_send_command to send any command from
11845           server.
11846
11847         * Use static buffer with ID rendering instead of duplicating data.
11848
11849 Mon Nov 27 21:39:40 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11850
11851         * Fixed a channel user mode bug when joining to a channel server gave
11852           everybody channel founder rights, oops.
11853
11854         * We mark ourselves as the router of the incoming server connection
11855           if we are router ourselves.  This way we can check in some packet
11856           sending functions whether it is locally connected server.  For
11857           incoming router connections we put NULL.
11858
11859         * For router sending packets locally means now always sending the
11860           packet cell wide; to local clients and local servers.  For normal
11861           server sending packet locally means sending it to only local
11862           clients.
11863
11864         * Fixed the JOIN command to really work in router environment.  If the
11865           channel is created it is always created by the router.  Router is
11866           also responsible of making the initial joining to the channel,
11867           sending JOIN notify to the sending server and distributing
11868           NEW_CHANNEL and NEW_CHANNEL_USER packets.  Hence, if the channel
11869           does not exist server doesn't do anything else but forward the
11870           command to the router which performs everything.
11871
11872         * Added silc_server_send_channel_key function to send the Channel Key
11873           payload.
11874
11875         * Added silc_server_create_channel_key to create new channel key.  The
11876           channel key is now re-generated everytime someone joins or leaves
11877           a channel, as protocol dictates.  Note: channel->key_len is the
11878           key length in bits.
11879
11880 Wed Nov 22 22:14:19 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11881
11882         * Splitted server.[ch] finally.  Created now packet_send.[ch] and
11883           packet_receive.[ch] to separate packet sending and receiving
11884           routines.  The server.[ch] now includes everything else including
11885           actual packet processing (writing and reading data) and other
11886           server issues.
11887
11888           Renamed silc_server_private_message_send_internal to
11889           silc_server_send_private_message.  The routine is still though
11890           used only to relay private messages as server does not send
11891           private messages itself.
11892
11893           Renamed silc_server_new_channel to silc_server_create_new_channel
11894           and added new function sicl_server_new_channel that handles the
11895           incoming New Channel packet.  Added also new sending function
11896           silc_server_send_new_channel to send New Channel Payload.
11897
11898         * Added new function silc_server_notify to process incoming notify
11899           packet to the server/router. Server may then relay the notify
11900           to clients if needed.
11901
11902         * Added new function silc_server_new_channel_user to process incoming
11903           New Channel User packet.  Router will redistribute the packet and
11904           send JOIN notify to its local clients and locally connected servers
11905           if needed.  Normal server will send JOIN notify to its local client
11906           on same channel when received this packet.  Added also corresponding
11907           sending function silc_server_send_new_channel_user to sent the
11908           payload.
11909
11910         * Added boolean route argument to send_notif_to_channel and
11911           packet_send_to_channel functions to attempt to route the packet
11912           if it is TRUE and send only locally if it is FALSE.
11913
11914 Tue Nov 21 19:49:31 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11915
11916         * silc_server_replace_id now broadcasts the received replace ID
11917           packet if it is not broadcast packet already. The router must
11918           broadcast to inform other routers about changed ID.
11919
11920         * Added backpointer to server's router into SilcServer context in
11921           silcd/server_internal.h.
11922
11923         * Fixed silc_server_packet_broadcast to send correct broadcast
11924           packets.
11925
11926         * The channel key is now distributed to the local client as soon
11927           as it is received from the router (in router environment) so that
11928           no other packet may be sent for the channel until client has
11929           received the key.
11930
11931         * silc_server_remove_channel_user now broadcasts the received
11932           Remove Channel User packet if it is not broadcast packet already.
11933           The router must broadcast to inform other routers about removed
11934           channel user.
11935
11936         * Added users field into SilcPacketContext that is a reference count
11937           of the context.  One can increase the reference count by calling
11938           silc_packet_context_dup which is now changed to just increase the
11939           reference count instead of duplicating the data.  The reference
11940           count is decresed by calling silc_packet_context_free that will
11941           free the data after the reference count hits zero.
11942
11943           For now on the packet context and everything allocated into it
11944           (including the raw packet from network) must be freed by calling
11945           the new silc_packet_context_free function.  Added also new function
11946           silc_packet_context_alloc that must be used now to allocate the
11947           context.  This also means that if a routine is asynchronous from
11948           silc_[client/server]_packet_parse_type the packet context must
11949           be duplicated by calling silc_packet_context_dup.  Otherwise it
11950           gets free'd after silc_[client/server]_packet_parse_type returns.
11951           Also, one must remember that if packet is duplicated then its
11952           reference count must be decresed by calling the free function as
11953           many times as it was duplicated.
11954
11955         * Changed SilcBuffer field from protocol contexts to SilcPacketContext
11956           from both client and server.
11957
11958 Mon Nov 20 23:47:03 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11959
11960         * Made joining to a channel working in router environment.
11961
11962         * Cleaned up JOIN command on server side and create function
11963           silc_server_command_join_channel internal routine to make the
11964           joining happen.
11965
11966 Thu Nov  9 21:12:39 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11967
11968         * Changed silc_command_pending list to SilcDList.  Also, added
11969           `ident' field to SilcServerCommandPending structure to identify
11970           the reply and to call correct callback.
11971
11972           Added silc_server_command_pending_check function to replace the
11973           corresnponding macro.  The silc_command_pending list is not
11974           extern anymore.
11975
11976         * Added silc_command_set_ident into lib/silccore/silccommand.[ch]
11977           to set identifier to previously allocated Command Payload.  It
11978           is used to set identifier for command when resending Command
11979           Payload.
11980
11981         * Added silc_command_payload_encode_payload to encode Command
11982           Payload buffer from SilcCommandPayload structure.
11983
11984         * Added silc_argument_payload_encode_payload to encode Argument
11985           payload buffer from SilcArgumentPayload structure.
11986
11987 Wed Nov  8 21:03:28 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11988
11989         * Changed WHOIS command to support router connection on server side.
11990           The whois request is always sent to router unless the server is
11991           standalone server.  After server has received the reply from the
11992           router will it send the reply to the client.
11993
11994         * Added silc_server_packet_broadcast into silcd/server.[ch] to
11995           broadcast received broadcast packet.  The function is used only
11996           by router.  The broadcast packet is always sent to the router's
11997           primary route.
11998
11999         * Added silc_id_render function in lib/silcutil/silcutil.[ch] to
12000           render given ID to printable string, for log files for example.
12001
12002 Tue Nov  7 22:14:19 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12003
12004         * Made basic router to router connections working.  At least they
12005           can now connect to each other but nothing really works the way
12006           they are supposed - yet.
12007
12008         * Added new initiator token to RouterConnection configuration
12009           file in silcd/serverconfig.[ch].  It is used to tell whether we
12010           are the initiator to the remote router or whether we'll expect
12011           the other end to connect.
12012
12013         * Moved registering of listener task to silc_server_init, hence
12014           the server starts listenning as soon as it is run, even if it
12015           does not have connections to other routers.  Let's see how well
12016           this will work.
12017
12018         * Changed default connection retry timeouts for more suitable in
12019           silcd/server.h.
12020
12021         * Removed cipher and such arguments from silc_idlist_add_client
12022           and silc_idlist_add_server prototypes from silcd/idlist.[ch].
12023           Added new function silc_idlist_add_data to add the keys and stuff
12024           to any ID entry.
12025
12026         * Added SilcIDListData structure and added it to SilcClientEntry
12027           and SilcServerEntry as their first field in the structure.  This
12028           way we can explicitly cast the ID entries to the SilcIDListData
12029           structure and get common data for the entries.  In past, we had
12030           to first check what type of connection it is and then cast it to
12031           correct ID entry type.  Now, we can directly cast the opaque
12032           pointer to the SilcIDListData (no matter what ID entry it actually
12033           is) and get the data needed.
12034
12035 Mon Nov  6 21:56:12 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12036
12037         * Wow, found a bug in scheduler.  The scheduler uninitialized itself
12038           in some circumstances even if threre were timeout tasks, though not
12039           IO tasks, but tasks anyway.  Now fixed.
12040
12041         * Defined SilcServerConnection structure to hold connection specific
12042           stuff about directly connected servers and routers.  The definition
12043           is currently in silcd/server_internal.h.  I thought about having
12044           a bit more important role fro this struct but for now it is used
12045           only when connecting to other server (or router actually).
12046
12047         * Added connecting retry support in server when connecting to
12048           router(s).  The retry feature implement exponential backoff
12049           algorithm.  Also, added SilcServerParams structure to hold default
12050           parameters for server.  For now, it include these retry settings
12051           and are hard coded.  After server is moded to be as Silc Server
12052           Library this structure will be more important.
12053
12054 Sun Nov  5 22:28:44 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12055
12056         * Changed client librarys channel->clients table to SilcList and
12057           changed code accordingly.
12058
12059 Thu Nov  2 16:28:01 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12060
12061         * Changed client's channel table to SilcList and changed code
12062           accordingly.  Also changed SilcChannelClientEntry to include back-
12063           pointer to the channel so that client entry can use that structure
12064           as list as well and we have fast cross-reference to the channel.
12065           This change dramatically decreased the complexity of channel
12066           handling with client entry and vice versa (removed one extra
12067           loop when searching for channel entry from many functions).
12068
12069         * Changed server->sim from table to SilcDList and changed code
12070           accordingly.
12071
12072         * NAMES command can now be used from user interface.  It will show
12073           the user list on the channel, neatly.
12074
12075         * Added realname pointer to SilcClientEntry in lib/silcclient/idlist.h.
12076           Code now saves realname of the user if it becomes available.
12077
12078         * Renamed configure.in to configure.in.pre and made ./prepare
12079           script to automatically add correct version string to
12080           configure.in which it creates from configure.in.pre.
12081
12082 Wed Nov  1 17:21:26 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12083
12084         * NAMES command reply now shows users mode with the nickname when
12085           joining to channel.
12086
12087         * Moved silc_client_ch[u]mode[_char] functions from
12088           silc/clientutil.[ch] to lib/silcclient/client.[ch].  Though, that
12089           place sucks, they are utility functions and should be in some
12090           other file.
12091
12092         * Fixed some unsigned int's to unsigned short's.  Patch by cras.
12093
12094         * Fixed contrib/getopt*.[ch] to not require config.h.  Patch by
12095           cras.
12096
12097 Tue Oct 31 20:10:37 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12098
12099         * Updated README.
12100
12101         * Added TRQ (efficient deque and list library) into lib/trq.  This is
12102           a very good list library that is currently used in the SILC.  Defined
12103           SilcList API over the library because I didn't like the API very
12104           much.  See lib/trq/silclist.h for the API and examples of how to
12105           use the API.  Fixed various places in the code to use the new
12106           SilcList API. The SilcList is meant for lists that has a structure
12107           already defined as a list.  It is not suitable to add just some
12108           context to the list (in TRQ, the context is the list actually).
12109
12110           So, I defined SilcDList that can be used for the purpose where
12111           predefined list structure does not exit.  This can be used as
12112           such list.  Now some context just can be added to the SilcDList.
12113           Currently this list is not used in the SILC just yet, though there
12114           are a lot places where this can replace dynamically allocated
12115           tables and I will fix these places, later, to use SilcDList.
12116           See lib/trq/silcdlist.h for SilcDList (they are all inline functions,
12117           and use TRQ internally).
12118
12119           Also fixed some annoying warning messages that the original TRQ
12120           code generated.  Also minor changes to TRQ's Makefile.in.
12121
12122         * Added support for querying by Client ID to both WHOIS and
12123           IDENTIFY commands into server, as required by the protocol.
12124
12125         * Removed method function pointers from SilcBuffer structure. They
12126           weren't used to anything and just increased the context size for
12127           no good reason.  This change also made silc_buffer_alloc and
12128           silc_buffer_free functions inline functions.
12129
12130         * Disabled command flooding detection support until it's fixed so
12131           that it accepts commands in but does not execute them more than once
12132           in two seconds.
12133
12134         * Added silc_net_localhost(), to return local hostname, into
12135           lib/silcutil/silcnet.[ch].  Also added client->hostname pointer
12136           that must be initialized before calling silc_client_init.
12137
12138         * Added new function: silc_server_send_notify_on_channels to send
12139           notify messages to all channels client has joined.  It is assured
12140           that the message is sent only once per client.
12141
12142         * Moved silc_log_format (from lib/silcutil/silclog.[ch] into
12143           lib/silcutil/silcutil.[ch] as silc_format function.  The new
12144           function is generic and is used by server as well, not only by
12145           the logging routines.
12146
12147         * Added new SKE status type: SILC_SKE_STATUS_BAD_VERSION to indicate
12148           the provided version string was not acceptable.  Added new function:
12149           silc_ske_check_version into lib/silcske/silcske.h.  The function
12150           must be implemented by the application (client or server) and it
12151           does not reside in the SKE library.  The function checks the version
12152           string remote end sent.
12153
12154         * Added back pointers (to opaque context and to SilcSocketConnection)
12155           into SilcPacketContext structure into lib/silccore/silcpacket.h.
12156
12157         * Added silc_packet_context_dup into lib/silccore/silcpacket.[ch] to
12158           duplicate packet context structure.
12159
12160         * Changed `notify' client operation to send same arguments as client
12161           receives from server except for ID's.  ID's are mapped to correct
12162           ID entry and that is returned.  Also, if channel entry is not sent
12163           by server but the notify is for channel the channel entry is sent
12164           to application (otherwise application doesn't know that it is for
12165           channel (library gets it from packet's Destination ID)).
12166
12167         * Added silc_client_remove_from_channels into client library to
12168           remove a client from all channels it has joined to.  Used when
12169           received SIGNOFF notify from server.  Added also new function
12170           silc_client_replace_from_channels to replace old ID entry with
12171           new ID entry on all channels.  Used when received NICK_CHANGE
12172           notify from server.
12173
12174         * Fixed ID Cache list handling in silc_idlist_get_client in
12175           lib/silcclient/idlist.c.  Also, added silc_idlist_get_client_by_id
12176           to get (or query) client by ID.
12177
12178         * Updated TODO list.
12179
12180         * Added connection authentication status message defined by the
12181           protocol: SILC_CONN_AUTH_OK and SILC_CONN_AUTH_FAILED and added the
12182           support for these into the code in client and server side.
12183
12184         * Added generic function silc_client_send_command to send any command
12185           with variable argument list.  Application should use this function
12186           to send commands if the command functions provided by the library
12187           does not suite for the application's user interface needs.
12188
12189         * Added new `failure' client operation.  Application is notified about
12190           received failure packet if client is executing a protocol.  In this
12191           case the protocol's execution has failed.
12192
12193         * Added SKE's end notify to send the SKE_SUCCESS notify message that
12194           is required by the protocol.
12195
12196         * Added SILC_PROTOCOL_STATE_FAILURE to indicate received failure
12197           packet from remote.  SILC_PROTOCOL_STATE_ERROR indicates local
12198           error at our end.
12199
12200         * Added status flag to SilcSKE object to indicate realtime status
12201           of the SKE protocol.
12202
12203         * Application receives now exactly same command reply arguments as
12204           the library receives from server.  However, if ID is received the
12205           corresponding ID entry is returned to the application (eg. Client
12206           ID is mapped to correct SilcClientEntry entry and that is returned).
12207           Changed command_reply client operation due to this change.
12208
12209         * Changed all ID's in commands and in command replys as ID Payloads.
12210           Change affected both client and server side codes.
12211
12212           All ID's sent in SILC network (with execption of ID's in SILC
12213           Packet header) are sent in ID Payload to support variable length
12214           ID's.
12215
12216         * Server now notifies nick changes and notifies all clients on
12217           the channels about the new nickname (about the new Client ID,
12218           actually).
12219
12220         * Implemented CMODE command to change channel modes. Supports all
12221           channel modes defined by the protocol specs except ban and invite
12222           lists. (Also, private channel key mode is supported but support for
12223           setting private channel key in client is missing, thus, this mode
12224           has no effect on client side (except that server requires that the
12225           client uses private channel key and normal channel traffic does not
12226           work anymore)).
12227
12228           Also, invite mode works per se, but INVITE command does not work
12229           yet correctly, so you can set channel as invite only channel but
12230           inviting clients to the channel does not work (it is yet to be
12231           thought what's the best way to do it).
12232
12233         * Added new command SILC_COMMAND_CUMODE to change user mode on the
12234           channel.  Defined user modes: CHANNEL_FOUNDER and CHANNEL_OPERATOR.
12235           Implemented CUMODE command to change user's mode on the channel.
12236           Supports all modes defined by the protocol specs.
12237
12238         * Added NAMES command reply to return users modes on the channel.
12239
12240         * Removed unnecessary and slow ciphers from lib/silccrypt.
12241
12242         * Set SO_KEEPALIVE option to connection sockets by default.
12243
12244         * Added new command reply status: SILC_STATUS_USER_NOT_ON_CHANNEL.
12245
12246         * Added notify types: MOTD, CMODE_CHANGE and CUMODE_CHANGE.  Also,
12247           redefined the Notify Payload into protocol specs.
12248
12249         * Added silc_id_payload_parse_id to get ID directly from raw
12250           ID payload data.
12251
12252 Mon Oct  9 20:57:02 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12253
12254         * Changed SILC_COMMAND_IDENTIFY in protocol specification to
12255           accept searching by Client ID as well.
12256
12257         * Added support for LEAVE and SIGNOFF notify types in client library.
12258
12259         * Added silc_id_payload_parse_data into lib/silccore/silcpayload.[ch]
12260           to parse ID Payload from raw data.
12261
12262 Sun Oct  8 19:33:08 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12263
12264         * Added flags parameter into silc_ske_assemble_security_properties
12265           function in lib/silcske/silcske.[ch].
12266
12267         * Changed notify client operation to fit better for notify messages
12268           sent by server.  The notify payload received from server is now
12269           passed to the application (after parsing it to SilcNotifyPayload).
12270           It is application's responsibility to retrieve the arguments
12271           from the payload and show the message the way it wants.  The message
12272           sent by server is implementation specific.
12273
12274         * Changed public keys to comply with the protocol specification.
12275           Old public keys are not supported anymore and are not compatible.
12276
12277         * Removed nickname from Channel Payload as the latest draft removed
12278           it.  The client must resolve the nickname from the NAMES command
12279           reply received when it joined the channel.
12280
12281           Also, changed all channel_xxxx_payload to channel_payload_xxxx.
12282
12283 Sat Oct  7 21:55:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12284
12285         * Fixed some errors in protocol specification drafts.
12286
12287         * Created lib/silccore/silcnotify.c to implement Notify Payload
12288           encoding and decoding, lib/silccore/silcpayload.[ch] to implement
12289           generic payloads described by protocol specifications.  The file
12290           includes implementations for ID Payload and Argument Payload.
12291
12292         * Changed Command Payload implementation to use the new Argument
12293           Payload.  Changed command_xxxx_payload to command_payload_xxxx
12294           to comply with SILC coding conventions.
12295
12296         * Added suppport for Argument Payload handling in Notify Payload
12297           implementation as protocol requires it.  Added the new support
12298           into server and client lib as well.
12299
12300 Thu Oct  5 21:16:28 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12301
12302         * Added support for multiple nicknames on same channel.  [n] is
12303           added locally to the nickname if there are more than one same
12304           nicknames on the channel.
12305
12306         * Server now sends all nicknames that matched WHOIS request.
12307           Client also shows the list received from server.
12308
12309         * Added TOPIC command to client side.  User can now set and show
12310           current topic on channel.
12311
12312         * Added MOTD command to client and server.  Also, server sends the
12313           motd when client connects to the server.
12314
12315         * Changed version strings to comply ISO 8601.
12316
12317 Wed Oct  4 23:29:06 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12318
12319         * Fixed protocol error handling in client library.  It should now
12320           cope even if the SKE fails for some reason.
12321
12322         * Made new protocol specification drafts for submitting to IETF.
12323
12324         * Implemented TOPIC command to server in silcd/command.c.
12325
12326         * Added two new notify types into lib/silccore/silcnotify.h:
12327           SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_TOPIC_SET to
12328           notify nickname change and topic setting/change on a channel.
12329
12330         * API change of command_reply operation in client library.  The
12331           application gets now the status type received from server as well.
12332
12333 Sat Sep 30 16:57:42 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12334
12335         * Removed the function just added to lib/silcutil/silcschedule.[ch].
12336
12337         * Cras fixed and optimized the packet handling even further and
12338           it should work now.  Minor change to the prototype of function
12339           silc_packet_receive_process in lib/silccore/silcpacket.[ch].
12340
12341 Sat Sep 30 08:48:47 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12342
12343         * Added new function into lib/silcutil/silcschedule.[ch]:
12344           silc_schedule_with_fd to select() a specified fd.  The function
12345           returns after timeout expires or data arrives or goes.  The
12346           function is used by packet routines to wait that all data is
12347           received from network.
12348
12349         * Fixed data reading from network in lib/silccore/silcpacket.c.
12350           The code now assures that all data is read from the fd and then
12351           continues packet processing.  This was a bug fix since the code
12352           used to drop some data in some circumstances.
12353
12354         * Added new function into lib/silcclient/client.[ch]:
12355           silc_client_start_key_exchange to start key exchange after
12356           connection has been established to server.  The code internally
12357           now uses this funtion but its main purpose was to provide it
12358           for applications that perform their own connecting.  After
12359           application has created a connection it merely calls this
12360           function to start the key exchange between client and server.
12361           The library takes care of everything else after that.
12362
12363           Updated also lib/silcclient/README to explain the usage of
12364           this new function.
12365
12366         * Do not send to application information that connection has
12367           been established.  Application gets notified it by connect
12368           operation anyway.
12369
12370 Thu Sep 28 23:40:19 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12371
12372         * Applied cras's patch to add silc_schedule_one function.  The
12373           function runs scheduler once and returns.
12374
12375         * Fixed the scheduler after cras messed it up.  The timeout
12376           handling works now as it's supposed to work.
12377
12378         * Added into lib/silccore/ silcnotify.h to include notify
12379           message types support.  Changed silc_server_send_notify*
12380           functions, in server.[ch], to support those new notify types.
12381           Added the support for the notify types into client library,
12382           as well.  Added new notify client operation into ops.h in
12383           lib/silcclient/.
12384
12385         * Changed silc_server_packet_send_to_channel to send normal
12386           packets instead of just channel message packets.  The function
12387           is now used to send the notify packets to channels.  It is not
12388           used to send channel message packets anymore, as server never
12389           sends them anymore.
12390
12391         * Added explicit casting into lib/silcutil/silcbuffmt.c to few
12392           va_arg()s as it seems to require it nowadays.  I guess, if SILC
12393           is compiled with older va_arg() the new code should work anyway.
12394
12395 Wed Sep 13 18:10:14 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12396
12397         * Splitted core library.  Core library (lib/silccore) includes
12398           now only SILC protocol specific core (and common) components.
12399           Created new utility library (lib/silcutil) that includes more
12400           generic purpose stuff.  The stuff for util library was taken
12401           from the old core library.  This was minor and easy split.
12402
12403         * Created SILC Client Library (lib/silcclient) that includes
12404           implementation of the SILC client without user interface.  This
12405           was major move from silc/ directory.  The code has been changed
12406           so that it is transparent towards the user interface.  The
12407           silc/ directory includes now the same user interface as before
12408           and it uses the new client library.  Read lib/silcclient/README.
12409           Basicly, the client library performs everything else related
12410           to SILC except user interface handling.  Also, configuration
12411           files are considered to be part of user interface and library
12412           does not handle them.
12413
12414           This change also changed a lot of structures, function naming etc.
12415           Most important change was that SilcClientWindow object was
12416           renamed to SilcClientConnection in the client library.  Created
12417           also new file lib/silcclient/ops.h.  Also added new files
12418           silc/local_command.[ch] and silc/client_ops.[ch].
12419
12420           All these changes were made to make it easier for user interface
12421           designers to create what ever user interface for the SILC client
12422           they want.
12423
12424           It is also expected that the server will be moved to lib
12425           directory as well and SILC Server Library will be created;
12426           sometimes in the future.
12427
12428         * Removed Local commands from lib/silccore/silccommand.h as
12429           they are application specific and new client library does not
12430           handle any of those anymore.
12431
12432         * Several functions moved to lib/silcutil/silcutilc.[ch] from
12433           old client implementation in silc/.
12434
12435         * Added support for callback functions in SILC_LOG_* macros.
12436           Application can now set its own callbacks that will be called
12437           instead of using the default functions that will always print
12438           the debug messages to stderr (or stdout).  Also, debugging can
12439           now be disabled by setting silc_debug to FALSE and re-enabled by
12440           setting it to TRUE.  Note, that logging will still work even
12441           if debugging is disabled.
12442
12443           New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
12444           silc_log_reset_callbacks, silc_log_set_debug_callbacks and
12445           silc_log_reset_debug_callbacks.
12446
12447         * To enable debugging in silc client one must give now -d
12448           option on command line.
12449
12450         * Changed silc_schedule_init to automatically allocate task queues
12451           if they are not allocated before calling it.
12452
12453 Thu Sep  7 10:49:33 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12454
12455         * Added GMP 3.1 into math library.
12456
12457 Sun Aug 20 21:27:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12458
12459         * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
12460           a channel in SILC network.  The packet is used by servers and
12461           routers to notify other routers that user has left a channel.
12462           This little feature was missing until now.  Added the feature
12463           to protocol specification as well.
12464
12465           Added functions: silc_server_send_remove_channel_user and
12466           silc_server_remove_channel_user into server.[ch].
12467
12468         * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
12469           lib/silccore/silcpacket.h.  However, they are not implemented
12470           yet.
12471
12472 Sat Aug 19 23:04:16 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12473
12474         * Fixed joining to a channel and sending channel messages
12475           between server and router.  The channel message sending should
12476           now work inside a cell.
12477
12478 Tue Jul 25 20:46:13 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12479
12480         * Fixed the private message sending between server and router.
12481           The private message sending should now work inside a cell.
12482
12483         * Added silc_server_replace_id into server.[ch] to replace
12484           existing ID in the SILC network.
12485
12486         * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
12487           and silc_idlist_replace_server_id into idlist.[ch] in server.
12488
12489 Mon Jul 24 18:33:31 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12490
12491         * Fixed the server to server connections.  Server can again now
12492           connect to router.  Router to router connections probably does
12493           not work just yet.
12494
12495 Thu Jul 20 13:15:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12496
12497         * Added dynamic protocol registering support.  Now protocols can
12498           registered and unregistered on the fly.  Patch by cras.
12499
12500 Wed Jul 19 19:08:46 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12501
12502         * Added lib/contrib directory to hold routines that some platforms
12503           don't have but are needed by SILC.
12504
12505         * Added getopt.c, getopt1.c and getopt.h from GNU C library
12506           into lin/contrib to provide getopt() and getopt_long() for
12507           those who don't have it.
12508
12509 Tue Jul 18 20:41:20 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12510
12511         * Added AWAY command to client.  When away message is set and
12512           client receives a private message packet the client automatically
12513           replies to the sender with the away message.
12514
12515         * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin.  This
12516           bug seemed to be the cause of recent problems when compiling
12517           with gcc-2.95.
12518
12519         * Added version detection support to SKE protocol specification
12520           and added the new changes to the SKE implementation as well.
12521           There were other minor changes in the SKE protocol as well.
12522
12523           Many changes in lib/silcske/silcske.[ch] and in
12524           lib/silcske/payload.[ch].
12525
12526         * Added ^U functionality, clear input line.  Patch from cras.
12527
12528 Mon Jul 17 23:33:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12529
12530         * Mainly small bugfixes on core library.  Fixed some debugging
12531           logging and buffer overflow in silclog.c.
12532
12533         * Updated config.sub and config.guess on the distribution tree.
12534
12535 Sat Jul 15 15:33:48 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12536
12537         * Added command lagging support in server. Client may execute
12538           commands now only once in two seconds.
12539
12540 Thu Jul 13 22:10:21 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12541
12542         * Optimized packet reception. MAC computation and checking is now
12543           also more optimized.  A lot previously duplicated code is now
12544           used as generic by both client and server.
12545
12546         * Fixed key pair generation in clientutil.c
12547
12548 Wed Jul 12 18:28:07 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12549
12550         * Added into lib/silccore/silcbufutil.[ch] new function;
12551           silc_buffer_realloc.
12552
12553         * Moved generic packet sending/encryption functions to
12554           lib/silccore/silcpacket.[ch] from client and server.  Some
12555           rewriting of the functions.
12556
12557         * Moved all generic packet reception/decryption functions to
12558           lib/silccore/silcpacket.[ch] from client and server.  The
12559           packet processing is now much cleaner in both client and server.
12560           These were major changes in both client and server.
12561
12562         * Created many common functions in server to do packet sending.
12563           Previously code were duplicated a lot, this has been removed
12564           with these changes.
12565
12566 Tue Jul 11 20:27:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12567
12568         * Rewrote major parts of the ID cache system.  Don't know
12569           whether it is better now or not but at least the API is more
12570           cleaner now.
12571
12572         * Major rewrite on ID cache stuff on client because of the ID
12573           cache API changes.  Added idlist.c to client.
12574
12575         * Also major rewrite on ID cache stuff on server as well.
12576           Major rewrite of idlist.[ch]. SilcXXXList's are now named
12577           SilcXXXEntry's.  We won't keep anymore idlist specific pointers
12578           in hand, instead they are all put into the ID cache system now.
12579           All server_idlist_* routines uses ID cache now instead of
12580           traversing its own lists (those lists does not exist anymore).
12581           SilcIDList though still exists.  Also, SilcXXXEntry's are
12582           now pointers.
12583
12584 Sun Jul  9 15:19:24 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12585
12586         * Finally made the SKE implementation compliant to the protocol
12587           specification.  All mp integers are now binary encoded as
12588           opposed being HEX encoded.
12589
12590         * Added lib/silcmath/mpbin.[ch].  Encoding mp intergers to and
12591           from binary data.
12592
12593         * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
12594           functions: silc_[encode/decode]_pem.  Also added function
12595           silc_encode_pem_file to PEM encode with newlines ('\n') for
12596           saving into a file.
12597
12598         * SILC public keys are now encoded either PEM or binary.  Same
12599           option is for private keys as well.  By default private keys
12600           are binary encoded and public keys PEM encoded.  Silly HEX
12601           encoding were removed.
12602
12603         * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
12604           function to create fingerprints.
12605
12606         * Fixed a bug in SHA1; does not change the original data anymore.
12607
12608         * Partly implemented INFO command on client and server side.
12609           Fixed CLEAR command.  Changes to SERVER command; show current
12610           server(s) when giving command without arguments.  Added
12611           VERSION command to client.
12612
12613         * Added check to server that unregistered connections cannot
12614           execute commands (unless it is specificly allowed).
12615
12616 Thu Jul  6 18:12:24 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12617
12618         * Fixed screen refresh.
12619
12620         * Fixed channel joining bug from client.  On some circumstances
12621           client tried to join to a channel it had already joined.
12622
12623         * Added public key verification process into client's protocol.c.
12624           The client now verifies the public key from user and saves
12625           it into ~./silc/serverkeys/ directory.
12626
12627           Added into: clientutil.[ch]: silc_client_verify_server_key.
12628
12629         * Changed SKE protocol's silc_ske_initiator_finish function
12630           to accept callback function that verifies the received public
12631           key.  Removed old silc_ske_verify_public_key function.
12632
12633 Wed Jul  5 19:19:02 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12634
12635         * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
12636           silc_pkcs_private_key[_data]_set.
12637
12638         * Made the password and public authentication more cleaner in
12639           server's protocol.c.
12640
12641         * Removed historic and obsolete protocol `channel_auth' from
12642           both client and server.
12643
12644         * Removed wrong way of sending command status messages from
12645           server to client in server's command.c.  The old way violated
12646           protocol specification.
12647
12648           Changes to silccore/silccommand.[ch]: removed
12649           silc_command_encode_status_payload -> not needed anymore,
12650           changed silc_command_encode_payload_va to accept extra
12651           argument on variable argument list.  The argument type must
12652           now be provided to the function.  Also, added new function:
12653           silc_command_encode_reply_payload_va which is same as
12654           normal command_encode_payload_va except command status type
12655           is provided as extra argument.
12656
12657 Tue Jul  4 18:26:39 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12658
12659         * Added ~./silc directory handling.  The directory includes the
12660           public and private keys for the client.
12661
12662           Added silc_client_check_silc_dir, silc_client_create_identifier
12663           and silc_client_load_keys.
12664
12665         * Implemented SILC protocol compliant public key.  Added public
12666           and private key saving to and loading from files.
12667
12668           Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
12669           silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
12670           silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
12671           silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
12672           silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
12673
12674           Implemented: silc_pkcs_save_[public/private]_key[_data] and
12675           silc_pkcs_load_[public/private]_key.
12676
12677 Mon Jul  3 18:51:27 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12678
12679         * Added silc_server_get_route (route.[ch]) to get connection
12680           data for the fastest route for given ID.
12681
12682         * Implemented INVITE command on client and server.  The command
12683           were re-defined in the SILC Protocol Specification and the
12684           implementation now complies with the specification.
12685
12686         * Implemented PING command on client and server.
12687
12688         * Implemented NAMES command on client and server.  The server side
12689           supports currently only normal server not router server yet.
12690           Some changes to NAMES definition in SILC protocol specification.
12691
12692 Sun Jul  2 18:23:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12693
12694         * Implemented LEAVE command on client and server.
12695
12696         * Previously deprecated SILC_PACKET_FORWARDED flag is now in use
12697           again.  This change was made to the protocol as well.  Server
12698           should not violate the protocol specification anymore.
12699
12700 Fri Jun 30 14:03:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12701
12702         * Added SOCKS4 and SOCKS5 support to SILC client.  SOCKS5
12703           was tested.  SOCKS4 was not but should work anyway.