Fixed silc_client_get_clients_local to parse nick@server string
[silc.git] / CHANGES
1 Tue Jun  5 20:48:40 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
2
3         * Fixed silc_packet_get_ids to decode the IDs correctly.
4           Affected file is lib/silccore/silcpacket.c.
5
6         * Fixed silc_client_get_clients_local to parse correctly nickname
7           string that may have server name in it (nick@server) regardless
8           whether it was formatted nickname or not.  Affected file is
9           lib/silcclient/client_entry.c.
10
11 Mon Jun  4 22:02:53 CEST 2007  Jochen Eisinger <jochen@penguin-breeder.org>
12
13         * Only destroy sendbuffers, if they still exist (they cease to
14           exist during /upgrade).  Affected file is
15           apps/irssi/src/silc/core/silc-servers.c
16
17 Mon Jun  4 21:24:17 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
18
19         * Removed --enable-silc-plugin.  Added --with-silc-plugin.
20           Affected files are configure.ad, lib/configure.ad,
21           apps/irssi/configure.ad, apps/irssi/configure.in,
22           apps/irssi/scripts/Makefile.am,
23           apps/irssi/scripts/examples/Makefile.am,
24           apps/irssi/src/silc/core/silc/Makefile.am,
25           apps/irssi/src/fe-common/silc/Makefile.am.
26
27 Mon Jun  4 08:35:59 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
28
29         * SILC Client 1.1.
30
31 Sun Jun  3 14:00:09 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
32
33         * Fixed DESTDIR handling in make install.
34
35 Sat Jun  2 21:04:32 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
36
37         * SIM modules are not delivered to SILC CLient distribution
38           anymore.
39
40         * Changed default installation path from /usr/local/silc to
41           /usr/local for all distributions.
42
43         * Removed --with-etcdir and --with-docdir.  The etcdir is now
44           the system's default.  The Docdir is system's default.
45
46 Sat Jun  2 00:51:57 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
47
48         * If public key/private key loading fails set the return
49           pointer to NULL.  Affected file is lib/silccrypt/silcpkcs.c.
50
51         * If private key loading fails in silc_load_key_pair free the
52           loaded public key.  Affected file is
53           lib/silcapputil/silcapputil.c.
54
55         * Fixed key pair loading crash with SILC Plugin if key pair
56           loading fails.  Affected file is
57           apps/irssi/src/silc/core/silc-core.c.
58
59         * Fixed SILC Client help and script file installation path
60           to go to prefix/share/silc.  Affected files are
61           apps/irssi/src/scripts/Makefile.am and
62           apps/irssi/docs/help/Makefile.am.gen.
63
64 Thu May 31 16:49:13 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
65
66         * Fixed UTC offset minutes to be actually minutes.  Affected
67           file is lib/silcutil/silctime.c.
68
69 Thu May 31 09:40:56 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
70
71         * SILC Toolkit 1.1.
72
73         * Added support for checking for timezone and tm_gmtoff.
74           Affected files are configure.ad and lib/silcutil/silctime.c.
75
76 Wed May 30 18:46:34 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
77
78         * Added silc-toolkit.spec.in RPM spec file.
79
80 Mon May 28 23:21:39 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
81
82         * Fixed nickname formatting crash when updating existing
83           client entry.  Affected file is lib/silcclient/client_entry.c.
84
85         * Fixed MIME object encoding in attribute payload encoding.
86           Affected file is lib/silccore/silcattrs.c.
87
88 Mon May 28 09:02:26 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
89
90         * SILC Client 1.1 Beta6
91
92 Sun May 27 20:38:30 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
93
94         * Copy SILC Plugin's libfe_common_silc.so to libfe_silc.so so
95           that user's don't have to do it manually.  Affected file
96           is apps/irssi/src/fe-common/silc/core/Makefile.am.
97
98 Thu May 24 15:30:31 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
99
100         * SILC Toolkit 1.1 Beta4.
101
102         * Fixed channel and server entry freeing in client library.
103           Affected file is lib/silcclient/client_entry.c.
104
105         * Do not allow stopping client before it has been started.
106           Affected file is lib/silcclient/client.c.
107
108 Wed May 23 23:21:03 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
109
110         * Fixed formatted nickname renaming to rename also irssi's
111           nicklist (/NAMES etc).  Affected file is
112           apps/irssi/src/silc/core/client_ops.c.
113
114         * Fixed SILC Plugin crash when stopping client library before
115           it has been started.  Affected file is
116           apps/irssi/src/silc/core/silc-core.c.
117
118 Tue May 22 17:18:54 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
119
120         * For SILC Client and SILC Server check for 1.1 Toolkit
121           in configure.  Affected file is configure.ad.
122
123         * Added better library linking flags and orders for SILC Client.
124           Affected file is configure.ad, Makefile.defines_int.in and
125           apps/irssi/src/fe-text/Makefile.am
126
127 Mon May 21 08:26:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
128
129         * SILC Client 1.1 Beta5.
130
131 Sun May 20 18:34:22 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
132
133         * Add hooks for Irssi 0.8.11 module functions.  Affected file
134           is apps/irssi/src/fe-common/silc/fe-common-silc.c
135
136 Sat May 19 14:46:36 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
137
138         * Fixed passphrase authentication with server.  Affected file
139           is lib/silcclient/client_connect.c.
140
141         * Fixed passphrase authentication as responder.  Affected file is
142           lib/silcske/silcconnauth.c.
143
144         * Changed SilcAskPassphrase and SilcGetAuthMeth callbacks to
145           return data as const.  Affected file is
146           lib/silcclient/silcclient.h.
147
148         * Fixed timeout calculation in Symbian scheduler.  Affected
149           file is lib/silcutil/symbian/silcsymbianscheduler.c.
150
151 Fri May 18 21:10:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
152
153         * Do not uninitialize u.m.threads atomic int in finish but in
154           free.  Fixes crash on any platform using atomic operations
155           using mutexes (like Symbian).  Affected file is
156           lib/silcutil/silcfsm.c.
157
158         * Fixes Symbian scheduler wakeup synchronization.  Affected file
159           is lib/silcutil/symbian/silcsymbianscheduler.c.
160
161 Fri May 18 18:10:36 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
162
163         * Fixed nickname formatting to handle already formatted nicknames
164           better.  Affected file is lib/silccilent/client_entry.c.
165
166         * Added "foo#2 appears as foo" support to SILC Client when user
167           leaves or quits and one formatted nickname remain.  Affected file 
168           is apps/irssi/src/silc/core/client_ops.c.
169
170         * Send SilcChannelEntry to application in SILC_NOTIFY_TYPE_SIGNOFF.
171           Affected file is lib/silcclient/client_notify.c.
172
173 Thu May 17 18:05:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
174
175         * Fixed silc_show_public_key to not free public key in case of
176           failure.  Affected file is lib/silcapputil/silcapputil.c.
177
178 Thu May 17 17:09:50 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
179
180         * SILC Toolkit 1.1 Beta3.
181
182         * Porting Toolkit to Symbian.  It should work while some sporadic
183           odd crashes remain.  However I was able to run mybot on SILCNet.
184           Basically tested scheduler, net routines, socket  routines,
185           threads and some other utility routines.  Affected files are
186           in lib/silcutil/symbian/.
187
188 Thu May 17 11:57:40 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
189
190         * Show realname and email address from public key when verifying
191           cached public keys with GETKEY.  Affected files are
192           apps/irssi/src/fe-common/module-formats.[ch] and
193           apps/irssi/src/silc/core/client_ops.c.
194
195 Wed May 16 20:41:04 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
196
197         * Include SILC Plugin theme.  Affected file is apps/irssi/plugin.theme
198
199         * Include SILC Plugin /silc command help.  Affected file is
200           apps/irssi/docs/help/silc
201
202         * Create channels before joining them.  Affected file is
203           apps/irssi/src/silc/core/client_ops.c
204
205 Wed May 16 18:59:22 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
206
207         * Fixed channel private key listing with /key.  Affected file
208           is apps/irssi/src/silc/core/silc-channels.c.
209
210         * Fixed the public headers from anonymous structures.  Affected
211           files are lib/.
212
213         * Changed silc_buffer_*len macros to inline functions.  Affected
214           file is lib/silcutil/silcbuffer.h.
215
216 Wed May 16 10:21:45 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
217
218         * Fixed nickname format parsing in JOIN notify handling and
219           in WHOIS command reply.  Affected file is
220           apps/irssi/src/silc/core/client_ops.c.
221
222 Wed May 16 09:34:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
223
224         * SILC Client 1.1 Beta4.
225
226 Tue May 15 23:55:41 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
227
228         * Added SILC_VERIFY macro which is equivalent to SILC_ASSERT
229           but is compiled always in.  Affected file is 
230           lib/silcutil/silclog.h.
231
232         * Use SILC_VERIFY in FSM macros instead of SILC_ASSERT which is
233           not there in release builds.  Affected file is
234           lib/silcutil/silcfsm.h.
235
236 Tue May 15 21:19:09 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
237
238         * SILC Client 1.1-beta3
239
240 Mon May 14 23:20:59 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
241
242         * Added silc_utf8_c2w and silc_utf8_w2c to do UTF-8 to widechar
243           and widechar to UTF-8 conversions.  Affected files are
244           lib/silcutil/silcutf8.[ch].
245
246 Mon May 14 19:45:14 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
247
248         * Include a README for the SILC Plugin
249
250 Sun May 13 22:08:59 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
251
252         * Adopt perl Makefiles for SILC Plugin.
253
254 Sun May 13 18:27:13 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
255
256         * Fixed client library initialization when the running callback
257           is not given to silc_client_init.  Affected file is
258           lib/silcclient/client.c.
259
260         * Fixed Symbian compilation problems around the tree.  Added
261           new Carbide.c++ project files to symbian/ directory.
262
263         * Fixed SilcLog API to work on Symbian.  On Symbian it doesn't
264           use any globals.  Affected files are lib/silcutil/silclog.c
265           and silclog_i.h.
266
267 Sun May 13 16:54:35 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
268
269         * Fix several warnings in Irssi's Makefiles.
270
271 Sun May 13 12:16:30 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
272
273         * Disable ASM if --with-pic was given.  Affected file is
274           lib/silccrypt/configure.ad
275
276 Fri May 11 19:10:54 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
277
278         * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later
279           in case they are called from a thread.  Affected file is
280           lib/silcutil/silcfsm.c.
281
282         * Fixed WIN32 thread creation to handle the Tls correctly.
283           Affected file is lib/silcutil/win32/silcwin32thread.c.
284
285 Thu May 10 18:29:18 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
286
287         * SILC Toolkit 1.1-beta2.
288
289 Thu May 10 18:21:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
290
291         * Fixed silc_net_tcp_connect crash on Unix and Win32.  Handle
292           the socket async operation correctly.  Changed that DNS lookup
293           is now done during connecting.  Affected files are
294           lib/silcutil/[unix|win32]/silc[unix|win32]net.c.
295
296         * Changed also silc_net_tcp_connect on Symbian to do DNS lookup.
297           Affected file is lib/silcutil/symbian/silcsymbiannet.c.
298
299         * Optimize silc_net_gethostbyname to check if the name is already
300           IP address.  Affected file is lib/silcutil/silcnet.c.
301
302 Wed May  9 19:51:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
303
304         * Print filename instead of empty function name in debug output
305           on WIN32.  Affected files are lib/silcutil/silclog_i.h and
306           silclog.c.
307
308         * Rewrote WIN32 SILC Scheduler.  It now handles non-blocking file 
309           descriptors and sockets better.  Though, room for optimization
310           remains.  Affected file is lib/silcutil/win32/silcwin32schedule.c.
311
312         * Removed silc_net_win32_[init|uninit].  They are called now
313           automatically when SILC Scheduler is allocated.  Wrote IPv4
314           address parser because inet_addr seemed not to work on my WIN32.
315           Affected file is lib/silcutil/win32/silcwin32net.c.
316
317         * Improved socketstream.h and stream.h documentation.
318
319 Tue May  8 18:13:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
320
321         * Changed private message waiting API in client library to make
322           it work better with multiple waiting threads.  The waiting is
323           not always per client entry instead of per connection.  Affected
324           files are lib/silcclient/client_prvmsg.c, client.h and
325           silcclient.h.
326
327         * Changed silc_packet_wait_init function to accept the the expected
328           Source ID of the packet as argument.  If specified only packets
329           with the specified types and Source ID are delivered.  Affected
330           files are lib/silccore/silcpacket.[ch].
331
332         * Fixed file transfer disconnection crash when closing the session
333           directly in the monitor callback after disconnection.  Affected
334           file is lib/silcclient/client_ftp.c.
335
336         * Make Toolkit compile on WIN32.  Affected files in win32/
337           and in lib/silcutil/win32/.
338
339         * Changed silc_compare_timeval to return negative, zero or
340           positive instead of just TRUE or FALSE.  This fixes 0 timeout
341           task dispatching on Windows.  Affected files are
342           lib/silcutil/silctime.[ch] and silcschedule.c.
343
344 Mon May  7 18:18:48 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
345
346         * Fixed CMODE channel auth public key retrieval.  Affected
347           file is lib/silcclient/command.c.
348
349         * Fixed CMODE command reply to return channel public keys
350           correctly.  Affected files are lib/silcclient/command_reply.c
351           and client_channel.c.
352
353 Sun May  6 12:43:19 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
354
355         * Added current channel key cipher name and HMAC name to
356           SilcChannelEntry.  Fixed channel private key creation.
357           Affected files are lib/silcclient/client_channel.c,
358           client_entry and silcclient_entry.h.
359
360         * Allow formatted nicknames as input to silc_client_get_clients
361           and silc_client_get_clients_whois.  Affected file is
362           lib/silcclient/client_entry.c.
363
364         * Fixed silc_message_payload_free crash.  Affected file is
365           lib/silccore/silcmessage.c.
366
367         * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to
368           lib/silccore/silcstatus.h.
369
370 Thu May  3 18:07:50 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
371
372         * Imported libtommath 0.41.  Renamed all mp_* functions to
373           tma_mp_* functions to avoid rare linking problems on systems
374           with mp_* functions.  Affected files are in lib/silcmath/.
375
376 Wed May  2 17:46:25 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
377
378         * SILC Toolkit 1.1 Beta1.
379
380 Wed May  2 11:38:17 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
381
382         * Set the server and router operator modes to local entry after
383           successful OPER or SILCOPER commands.  Affected file is
384           lib/silcclient/command_reply.c.
385
386 Tue May  1 14:17:06 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
387
388         * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API,
389           and other smaller APIs to WIN32.  Affected files are in
390           lib/silcutil/win32/.
391
392         * Changed the various regex APIs as generic code in util library.
393           Affected files are lib/silcutil/silcstrutil.[ch].
394
395 Sat Apr 28 13:47:47 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
396
397         * Ported SILC Server to the new Toolkit API, working towards
398           SILC Server 1.1.  Affected files are in apps/silcd/.
399
400         * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key
401           to lib/silcskr/silcskr.[ch].
402
403         * Fixed SILC public key copying to copy the identifier also.
404           Affected file is lib/silccrypt/silcpk.c.
405
406         * Added silc_packet_error_string to lib/silccore/silcpacket.[ch].
407
408         * Fixed OPER and SILCOPER passphrase asking in Client library.
409           Affected file is lib/silcclient/command.c.
410
411 Tue Apr 24 17:55:24 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
412
413         * Fixed command queue enabling after connecting to server.
414           The comparisons was from after changing to silc_utf8_strcasecmp.
415           Affected file is apps/irssi/src/silc/core/silc-servers.c.
416
417         * Fixed nickname setting with own client entry with 1.3 protocol
418           version server.  Affected file lib/silcclient/client_register.c.
419
420         * Ignore error notify for local client entry.  Affected file is
421           lib/silcclient/client_notify.c.
422
423         * Implemented responder rekey to SKE library.  Affected files are
424           lib/silcske/silcske.[ch].
425
426         * Fixed connection auth protocol completion sending.  Affected
427           file lib/silcske/silcconnauth.c.
428
429 Mon Apr 23 17:20:01 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
430
431         * Do not call TCP network listener callback with any error
432           status, as documented.  Affected file is
433           lib/silcutil/unix/silcunixnet.c.
434
435 Sun Apr 22 21:13:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
436
437         * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
438
439         * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type.
440           Changed silc_skr_find to have SilcSchedule argument and removed
441           it from silc_skr_[alloc|init].  Affected files are
442           lib/silcskr/silcskr.[ch].
443
444         * Allow NULL id for silc_idcache_add.  Affected file is
445           lib/silcapputil/silcidcache.c.
446
447         * Added silc_packet_stream_is_valid, silc_packet_get_ids and
448           silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch].
449           Fixed also channel message encryption with router-to-router
450           packets.
451
452         * Added silc_id_str2id2 to lib/silccore/silcid.[ch].
453
454         * Added silc_net_get_error_string, silc_net_listener_get_ip and
455           silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
456
457 Tue Apr 10 15:55:42 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
458
459         * Add option --enable-silc-plugin.  Affected files are
460           apps/irssi/configure.{ad,in}
461
462         * Only compile the SILC Plugin if required.  Affected files are
463           apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am
464
465         * Conditionally build the SILC Plugin.  Affected files are
466           apps/irssi/src/silc/core/Makefile.am,
467           apps/irssi/src/fe-common/silc/Makefile.am
468
469         * Backout delayed protocol exit and replace with a lame busy
470           wait.  Affected files are apps/irssi/src/fe-text/silc.c,
471           apps/irssi/src/silc/core/silc-core.c
472
473         * Fix key generation for SILC Plugin.  Affected file
474           apps/irssi/src/silc/core/clientutil.c
475
476 Tue Apr 10 12:40:19 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
477
478         * Only pass -rpath to libtool when building shared libraries.
479           Affected file lib/Makefile.ad
480
481         * Removing the stray "s" in configure.ad
482
483 Sat Mar 24 19:13:58 CET 2007  Jochen Eisinger <coffee@silcnet.org>
484
485         * Redraw the screen after creating a new key.  Affected file
486           apps/irssi/src/silc/core/clientutil.c
487
488 Sun Mar 18 15:54:10 EET 2007  Pekka Riikonen <priikone@silcnet.org>
489
490         * Added SILC Client setting /set nickname_format that specifies
491           the nickname format string.  Changed default nickname format
492           string to "%n#%a".  Affected file is
493           apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf.
494
495         * Fixed nickname parsing with WHOIS command to accept formatted
496           nicknames.  Changed the silc_client_get_clients_local to allow
497           the searched nickname to be formatted nickname.  Removed %s and
498           %S nickname formatters.  Affected files are in lib/silcclient/.
499
500         * Added silc_client_nickname_parse to Client library API.  Affected
501           file is lib/silcclient/silcclient.h.
502
503         * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY
504           commands.  Affected file are
505           apps/irssi/src/silc/core/silc-servers.c and silc-channels.c.
506
507 Sat Mar 17 19:07:15 CET 2007  Jochen Eisinger <coffee@silcnet.org>
508
509         * Incorporate SILC Plugin patches.  Affected files are
510           apps/irssi/src/fe-common/silc/module-formats.{c,h},
511           apps/irssi/src/silc/core/clientutil.{c,h},
512           apps/irssi/src/silc/core/silc-core.c,
513           apps/irssi/src/silc/core/silc-chatnets.{c,h},
514           apps/irssi/src/fe-common/silc/fe-silcnet.c, and
515           apps/irssi/src/fe-common/silc/module.h
516
517 Wed Mar 14 17:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
518
519         * In notify handling resolve user entries many times if the
520           resolving timedout.  Affected file lib/silcclient/client_notify.c.
521
522         * silc_client_get_clients_local do not return any invalid entries.
523           Affected file is lib/silcclient/client_entry.c.
524
525         * Do not print "there are now xx user on this channel" for users
526           that actually aren't anymore on the channel.  Affected file
527           is apps/irssi/src/client_ops.c.
528
529 Sun Mar 11 17:43:18 CET 2007  Jochen Eisinger <coffee@silcnet.org>
530
531         * When joining channels with a password given in the config file,
532           use it.  Also use it when cycling (it would be better to get
533           the password from the server, but this isn't possible in SILC).
534           Affected files apps/irssi/src/silc/core/silc-servers.c,
535           apps/irssi/src/silc/core/silc-channels.c
536
537 Sun Mar 11 15:22:42 CET 2007  Jochen Eisinger <coffee@silcnet.org>
538
539         * Import perl script for sign_messages from silc-plugin.  Affected
540           file apps/irssi/scripts/silc.pl
541
542 Sun Mar 11 15:19:10 CET 2007  Jochen Eisinger <coffee@silcnet.org>
543
544         * Only wait for a nick on connecting, when it differs
545           (not counting case) from the username.  Affected file
546           is apps/irssi/src/silc/core/silc-servers.c
547
548 Sun Mar 11 13:50:53 CET 2007  Jochen Eisinger <coffee@silcnet.org>
549
550         * Use time settings for lag settings.  Affected file is
551           apps/irssi/src/silc/core/silc-lag.c
552
553 Tue Feb 27 17:07:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
554
555         * Added silc_thread_yield.  Affected file is
556           lib/silcutil/silcmutex.h.
557
558 Wed Feb 21 17:01:01 EET 2007  Pekka Riikonen <priikone@silcnet.org>
559
560         * Fixed WHOIS command and requested attributes handling in
561           client library.  Affected files are lib/silcclient/command.c
562           and lib/silcclient/client_attrs.c.
563
564         * Fixed silc_time_value to actually work.  Added new function
565           silc_timezone.  Affected files are lib/silcutil/silctime.[ch].
566
567 Tue Feb 20 08:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
568
569         * SILC Client 1.1 beta2.
570
571 Mon Feb 19 16:06:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
572
573         * Fixed client to properly abort TCP stream creation when
574           giving /QUIT.  Affected file
575           apps/irssi/src/silc/core/silc-servers.c.
576
577         * Fixed several connecting aborting crashes from the client
578           library, packet engine and socket stream.  Affected files
579           are in lib/silclient/, lib/silccore/silcpacket.c and
580           lib/silcutil/unix/silcunixsocketstream.c.
581
582         * Fixed private key export double free crash in key generation.
583           Affected file is lib/silccrypt/silcpk.c.
584
585         * Fixed FSM event waiting when there are multiple signallers
586           and the waiter goes away after the first signal.  Affected
587           file in lib/silcutil/silcfsm.c.
588
589 Sun Feb 18 22:02:22 EET 2007  Pekka Riikonen <priikone@silcnet.org>
590
591         * Fixed FSM event signalling to check if the waiter has gone
592           away already.  Affected file is lib/silcutil/silcfsm.c.
593
594         * Fixed counter mode encryption/decryption to handle non-padded
595           SILC packets correctly.  The silc_cipher_set_iv now
596           in counter mode resets for a new block.  Affected files are
597           in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
598
599 Sun Feb 18 12:15:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
600
601         * SILC Client 1.1 beta1.
602
603         * Memory leak fixes around the libraries.
604
605 Fri Feb 16 16:53:16 EET 2007  Pekka Riikonen <priikone@silcnet.org>
606
607         * Added better check for epoll() in configure.  Affected file
608           is lib/configure.ad.
609
610 Thu Feb 15 16:50:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
611
612         * Fixed per scheduler data input buffer in packet engine.  Use
613           list of inbufs instead of just one so that multiple streams
614           can do partial reads to different buffers.  Affected file is
615           lib/silccore/silcpacket.c.
616
617         * Fixed WATCH notify handling in client library.  Affected file
618           is lib/silcclient/client_notify.c.
619
620 Wed Feb 14 17:05:38 EET 2007  Pekka Riikonen <priikone@silcnet.org>
621
622         * Fixed packet wrapper stream API to support encoder/decoder
623           for packets, and to handle partial reading correctly.  Fixed
624           also inbuf size checking in reading to have enough space before
625           reading.  Affected files are lib/silccore/silcpacket.[ch].
626
627         * Rewrote file transfer in client library.  Affected files are
628           in lib/silcclient/.
629
630         * Added TCP/UDP listener (internal) API to client library to have
631           generic way of dealing with listeners.  Fixed Key Agreement and
632           file transfer to use it.  Affected files are in lib/silcclient/.
633
634         * Fixed SKE to process SUCCESS packets synchronously and to call
635           completion synchronously.  Affected file is lib/silcske/silske.c.
636
637         * Fixed pthread rwlock detection.  Affected file includes/silc.h.in.
638
639         * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER.  Affected files are
640           lib/silccore/silcattrs.[ch].  SILC Protocol version 1.3 change.
641
642 Fri Feb  2 22:24:11 EET 2007  Pekka Riikonen <priikone@silcnet.org>
643
644         * Added support for SILC protocol version 1.3 NEW_CLIENT packet
645           to client library.  Affected file is
646           lib/silcclient/client_register.c.
647
648         * Serialize NICK and JOIN commands to avoid problems locally
649           with changing ID while joining to channel.  Affected file is
650           lib/silcclient/command.c.
651
652         * Fixed entry resolving while handling incoming JOIN notify.
653           Handle properly cases, in re-processing of notify packets, where
654           the IDs may become invalid while resolving the entry (like nick
655           change).  Entry is invalid if it doesn't have nickname, and such
656           entries are not delivered to application anymore.  These fixes
657           problems of not seeing JOINs when remote user changes nickname
658           at the same time.  Affected files are in lib/silcclient/.
659
660 Thu Feb  1 18:35:58 EET 2007  Pekka Riikonen <priikone@silcnet.org>
661
662         * Added support for computing message payload MAC in new way
663           (SILC Protocol version 1.3).  Bakcwards support for old way
664           remains.  Affected files are lib/silccore/silcmessage.[ch].
665
666 Sat Jan 27 22:37:30 EET 2007  Pekka Riikonen <priikone@silcnet.org>
667
668         * Added SilcRwLock API, a read/write lock.  Affected files are
669           lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
670
671 Wed Jan 24 18:55:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
672
673         * Merged Irssi SVN (irssi 0.8.11).  Affected files in apps/irssi/.
674
675 Tue Jan 23 16:05:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
676
677         * The silc_schedule_set_listen_fd now returns boolean value.
678           Fixed FD task adding to check correctly for already added
679           FD tasks.  Added stricter error checking for FD scheduling
680           with epoll().  Affected files are lib/silcutil/silcschedule.[ch]
681           and lib/silcutil/unix/silcunixschedule.c.
682
683         * The silc_stream_set_notifier now returns boolean value.  Changed
684           all streams to support and check for the error condition.
685           Affected files are in lib/silcutil/.
686
687         * Fixed SKE library session aborting and deletion.  Affected
688           file are lib/silcske/silcske.c.
689
690 Tue Jan 16 18:22:08 EET 2007  Pekka Riikonen <priikone@silcnet.org>
691
692         * Implemented PKCS #1 with appendix with hash OID in the
693           signature.  Affected files are lib/silccrypt/silcpkcs1.[ch],
694           lib/silccrypt/silchash.[ch] and
695           lib/silcasn1/silcasn1[_encode|decode].[ch].
696
697 Sun Jan 14 23:12:41 EET 2007  Pekka Riikonen <priikone@silcnet.org>
698
699         * Added support for Version (V) SILC public key identifier.
700           Affected files are lib/silccrypt/silcpk.[ch].
701
702 Tue Jan  9 19:37:51 EET 2007  Pekka Riikonen <priikone@silcnet.org>
703
704         * Rewrote connection auth request in client library.  It is now
705           done automatically by the library and the resolved method given
706           as a hint to get_auth_method client operation.  Affected files
707           are lib/silcclient/.
708
709 Wed Jan  3 18:06:33 EET 2007  Pekka Riikonen <priikone@silcnet.org>
710
711         * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch].
712           It can be used to wrap SilcPacketStream into SilcStream.
713
714         * Fixed %p formatting from silc_snprintf.  Affected file is
715           lib/silcutil/silcsnprintf.c.
716
717         * Ported SFTP library to new utility library.  Ported also
718           the SFTP testers.  Affected files in lib/silcsftp/.
719
720 Tue Jan  2 17:18:46 EET 2007  Pekka Riikonen <priikone@silcnet.org>
721
722         * Added lib/silcutil/silcsnprintf.[ch].  Added in addition
723           of silc_snprintf, silc_vsnprintf, silc_asprintf and
724           silc_vasprintf.
725
726 Sat Dec 30 23:23:17 EET 2006  Pekka Riikonen <priikone@silcnet.org>
727
728         * Added preliminary Symbian support.  Changes around the source
729           tree.  The symbian/ directory now includes Carbide.c++ project
730           files to compile the sources.
731
732         * Added silc_snprintf.  Affected files are
733           lib/silcutil/silcstrutil.[ch].
734
735 Thu Dec 21 18:01:51 EET 2006  Pekka Riikonen <priikone@silcnet.org>
736
737         * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to
738           macros.  SILC_FSM_CONTINUE macro now immediately calls the
739           next state instead of first returning back to FSM.  Helps
740           in debugging crashes etc.
741
742           Removed FSM Semaphores.  Introduced FSM Event which is
743           asynchronous event.   Affected files are in lib/.
744
745         * Added epoll(7) support to SILC Scheduler.  It is used by default
746           if it is available.  Affected files are
747           lib/silcutil/silcschedule.[ch],
748           lib/silcutil/unix/silcunixschedule.c.
749
750 Tue Dec 19 20:39:35 EET 2006  Pekka Riikonen <priikone@silcnet.org>
751
752         * Added CTR mode to AES.  Simplified cipher implementation API
753           more.  Affected files are in lib/silccrypt/.
754
755 Sun Dec 17 16:46:55 EET 2006  Pekka Riikonen <priikone@silcnet.org>
756
757         * Removed `detach' client operation.  The detachment data is
758           now delivered in SILC_COMMAND_DETACH command reply to
759           application.  Affected file in lib/silcclient/.
760
761         * Rewrote resuming/detaching in client library.
762
763         * Added boolean encryption indicator for silc_cipher_set_key.
764           Affected files lib/silccrypt/silccipher.[ch].
765
766 Wed Dec 13 18:05:50 EET 2006  Pekka Riikonen <priikone@silcnet.org>
767
768         * Added silc_likely and silc_unlikely macros for GCC branch
769           prediction optimizations.  Affected file lib/silcutil/silctypes.h.
770
771         * Added assembler AES optimization.  Cleaned up the SILC Cipher
772           implementation API.  Affected files are in lib/silccrypt/.
773
774 Tue Dec 12 18:56:14 EET 2006  Pekka Riikonen <priikone@silcnet.org>
775
776         * Changed back the SILC_FSM_THREAD_WAIT operation to not
777           continue to next state if thread is finished already.  That
778           check is not done anymore.  Affected files are
779           lib/silcutil/silcfsm.[ch].
780
781 Sun Dec 10 13:54:52 EET 2006  Pekka Riikonen <priikone@silcnet.org>
782
783         * Removed silc_packet_[get|set]_ciphers and
784           silc_packet_[get|set]_hmacs.  Added silc_packet_set_keys that
785           handle REKEY_DONE packet sending in rekey.  Affected files
786           are lib/silccore/silcpacket.[ch].
787
788         * Added silc_fsm_is_started.  Affected files are
789           lib/silcutil/silcfsm.[ch].
790
791         * Added settings sign_channel_message, sign_private_message
792           and key_exchange_rekey_pfs to SILC Client.  Added UDP transport
793           support for key agreement in /KEY command. Affected files
794           in apps/irssi/src/silc/core/.
795
796         * During SILC Client initialization forward log messages to
797           stderr.   Affected files in apps/irssi/src/silc/core/.
798
799 Thu Dec  7 19:07:21 EET 2006  Pekka Riikonen <priikone@silcnet.org>
800
801         * Added silc_ske_get_key_material.  Affected files are
802           lib/silcske/silcske.[ch].
803
804         * Added silc_packet_stream_is_udp.  Affected files are
805           lib/silccore/silcpacket.[ch].
806
807         * Added SKE packet retransmission support with UDP transport.
808           Affected file is lib/silcske/silcske.c.
809
810 Sun Dec  3 22:00:12 EET 2006  Pekka Riikonen <priikone@silcnet.org>
811
812         * Added silc_socket_stream_is_udp.  Affected file is
813           lib/silcutil/silcsocketstream.[ch].
814
815         * Added UDP transport support to packet engine.  Affected file
816           is lib/silccore/silcpacket.c.
817
818         * Added silc_socket_stream_is_udp.  Affected file is
819           lib/silcutil/silcsocketstream.[ch].
820
821 Sat Nov 18 11:33:03 EET 2006  Pekka Riikonen <priikone@silcnet.org>
822
823         * Added silc_packet_send_va[_ext] to send variable argument
824           formatted buffers.  Affected files lib/silcore/silcpacket.[ch].
825
826         * Timeout freelist garbage collection added to scheduler.
827           Affected file lib/silcutil/silcschedule.c.
828
829 Thu Nov  9 18:12:15 EET 2006  Pekka Riikonen <priikone@silcnet.org>
830
831         * Added silc_show_public_key_file to
832           lib/silcapputil/silcapputil.[ch].
833
834         * Added SILC_STR_ADVANCE support for buffer unformatting.
835           Affected file lib/silcutil/silcbuffmt.c.
836
837 Tue Nov  7 18:04:36 EET 2006  Pekka Riikonen <priikone@silcnet.org
838
839         * Added silc_string_split to lib/silcutil/silcstrutil.[ch].
840
841         * Added silc_mutex_assert_locked to lib/silcutil/silcmutex.h.
842
843         * silc_fsm_continue[_sync] now cancels erlier timeout set with
844           silc_fsm_next_later.  Affected file lib/silcutil/silcfsm.c.
845
846 Sat Nov  4 21:50:37 EET 2006  Pekka Riikonen <priikone@silcnet.org
847
848         * Added SILC_STR_FUNC to buffer format API.  Affected files
849           are lib/silcutil/silcbuffmt.[ch].
850
851         * Added silc_buffer_[s]enlarge to lib/silcutil/silcbuffer.h.
852
853         * No more memory allocation for message payload parsing.
854           Pre-allocated buffer can be used with message payload encoding.
855           Affected files lib/silccore/silcmessage.[ch].
856
857 Fri Oct 27 21:01:26 EEST 2006  Pekka Riikonen <priikone@silcnet.org
858
859         * Added silc_buffer_sunformat and silc_buffer_sunformat_vp
860           to silcutil/silcbuffmt.[ch].
861
862 Sun Oct 22 13:03:07 EEST 2006  Pekka Riikonen <priikone@silcnet.org
863
864         * Added SILC_STR_BUFFER to format and unformat SilcBuffer.
865           Affected file lib/silcutil/silcbuffmt.[ch].
866
867         * Removed silc_schedule_signal_[un]register and
868           silc_schedule_signal_call.  Added silc_schedule_task_add_signal
869           to add signal task.  Only one callback per signal may be
870           added.  The signals are now automatically called back to
871           caller.  Affected files lib/silcutil/silcschedule.[ch] and
872           silcutil/[unix/win32]/silc[unix/win32]schedule.c.
873
874         * Added silc_time_msec and silc_time_usec to silcutil/silctime.[ch].
875
876         * Added SilcSKEParams for SKE parameters and simplied even more
877           the SKE interface.  Affected files are lib/silcske/silcske.[ch].
878           Added support for IV included and session port handling with
879           UDP/IP connections.
880
881         * Added Secure ID (SID) support with IV Included flag (for UDP/IP)
882           in lib/silccore/silcpacket.[ch].  Added silc_packet_set_sid
883           which is called after every rekey when IV Included flag is used.
884           See SILC specifications for details.
885
886 Thu Oct 19 10:03:03 EEST 2006  Pekka Riikonen <priikone@silcnet.org
887
888         * Added lib/silcapputil and moved SILC application specific
889           utility routines from the generic util library lib/silcutil
890           to the new library.  Removed lib/silcidcache and moved that
891           to lib/silcapputil as well.
892
893 Tue Sep 19 00:14:11 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
894
895         * Added SILC_STR_ADVANCE.  Affected file is
896           lib/silcutil/silcbuffmt.[ch].
897
898         * The silc_buffer_strformat preserves buffer locations now.
899
900         * Added lib/silcutil/silcatomic.h for atomic operations.
901
902 Sat Sep 16 11:23:06 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
903
904         * Added lib/silchttp, SILC HTTP server, a very simple HTTP
905           server.
906
907         * Fixed MIME deocing when data portion is not present.
908           Affected file lib/silcutil/silcmime.c.
909
910 Wed Jul 19 12:06:38 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
911
912         * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/.
913
914         * Added IV Included support to packet routines, to allow
915           packet sending and receiving on UDP/IP.  Affected files are
916           lib/silccore/silcpacket.[ch].
917
918         * Added SILC_FSM_YIELD.  Affected files lib/silcutil/silcfsm.[ch].
919
920 Tue Jul 18 20:10:28 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
921
922         * Added UDP support to network and socket stream library.
923
924 Sat Jun 24 22:33:18 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
925
926         * Added conditional variables.  New files are
927           lib/silcutil/silcondvar.h and platform specific implementations.
928
929 Thu Jan  5 20:02:31 CET 2006 Patrik Weiskircher <pat@icore.at>
930
931         * make sure session->hostname and session->port are valid before the
932           application callback is done, since things will go wrong if the
933           application immediately calls silc_client_file_receive. Affected
934           file lib/silcclient/client_ftp.c.
935           Patch received from Stefan Siegel <stesie@brokenpipe.de>, thanks!
936
937 Fri Dec 30 22:54:21 EET 2005  Pekka Riikonen <priikone@silcnet.org>
938
939         * New SILC PKCS API enabling support for other public keys
940           and certificates, lib/silccrypt/silcpkcs.[ch], silcpk.[ch].
941
942         * Separated SILC Public Key Payload routines from the PKCS API
943           to lib/silccore/silcpubkey.[ch].
944
945 Wed Dec 28 13:55:22 EET 2005  Pekka Riikonen <priikone@silcnet.org>
946
947         * Added SILC Key Repository library, lib/silcskr.
948
949         * Added SILC Server library, lib/silcserver.
950
951 Mon Dec 19 18:04:24 EET 2005  Pekka Riikonen <priikone@silcnet.org>
952
953         * MIME objects in attributes now use SilcMime.  Affected files
954           are lib/silccore/silcattrs.[ch].
955
956 Sat Dec 17 20:13:31 EET 2005  Pekka Riikonen <priikone@silcnet.org>
957
958         * Synchronize semaphore posting for real threads in FSM.
959           Affected files are lib/silcutil/silcfsm.c, silcfsm_i.h.
960
961 Mon Nov 28 17:06:54 EET 2005  Pekka Riikonen <priikone@silcnet.org>
962
963         * Added silc_file_set_nonblock.  Affected file is
964           lib/silcutil/silcfileutil.h.
965
966         * Added silc_fd_stream_file to lib/silcutil/silcfdstream.[ch].
967
968 Sat Nov 26 16:13:40 EET 2005  Pekka Riikonen <priikone@silcnet.org>
969
970         * FSM based implementation of SILC SKE.  Simpler interface also.
971           Affected files are in lib/silcske/.
972
973         * Added SilcBool type.  Affected file lib/silcutil/silctypes.h.
974
975 Sat Nov 19 17:34:51 EET 2005  Pekka Riikonen <priikone@silcnet.org>
976
977         * Added SilcMime API to lib/silcutil/silcmime.[ch].  The old
978           silc_mime_parse is available but deprecated.
979
980         * Check that packet is valid when processing key exchange,
981           authentication and rekey protocols.  Fixes a crashbug.
982           Affected files are apps/silcd/protocol.c and
983           lib/silcclient/protocol.c.
984
985         * Added SILC_HASH_MAXLEN to lib/silccrypt/silchash.h, and changed
986           all hash buffers to use that instead of fixed values.
987
988 Wed Nov 16 15:47:12 EET 2005  Pekka Riikonen <priikone@silcnet.org>
989
990         * Added SHA-256 to crypto library.  The SHA-256 takes now
991           precedence over SHA-1.
992
993 Thu May 26 20:31:06 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
994
995         * Check for valid return value from regcomp.  Affected file
996           lib/silcutil/unix/silcunixutil.c.
997
998 Tue May 10 23:11:17 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
999
1000         * Fixed silc_hash_uint to work with integers.  Affected
1001           file lib/silcutil/silcutil.c.
1002
1003 Tue May 10 15:11:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1004
1005         * Rewritten SILC Log API.  Affected files lib/silcutil/silclog.[ch].
1006
1007 Mon May  9 12:00:08 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1008
1009         * Fixed channel public key list saving on JOIN command reply
1010           on backup router.  Affected file apps/silcd/command_reply.c.
1011
1012 Mon May  2 10:42:49 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1013
1014         * Added default limit how many channels client can join,
1015           default is 50.  Added 'channel_join_limit' configuration
1016           option to server too.  Affected files are apps/silcd/command.c
1017           and serverconfig.[ch].
1018
1019 Sun May  1 17:42:55 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1020
1021         * --without-silc -> --with-silc, --without-irssi -> --with-irssi.
1022           On Toolkit the server and client are not compiled by default.
1023           Affected file configure.ad.
1024
1025 Thu Apr 28 15:57:37 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1026
1027         * Added lib/contrib/getopt.[ch] for platforms that don't
1028           have it (it is not GPL implementation).
1029
1030         * Fixed compilation when pkg-config is used.
1031
1032 Wed Apr 27 11:49:41 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1033
1034         * A comma in invite/ban string is invalid, check for it.
1035           Affected file apps/silcd/server_util.c.
1036
1037         * Added SERVICE command to the server.  It parses the command
1038           request but SILC Server does not support services for the
1039           time being.  Affected file apps/silcd/command.[ch].
1040
1041         * Added SERVICE command and command reply to client library.
1042           It is however incomplete.  Updated Toolkit documentation.
1043           Affected files are lib/silcclient/command[_reply].[ch].
1044
1045         * Fixed IDENTIFY/WHOWAS command reply to send the username
1046           correctly (uninitialized buffer).  Affected file is
1047           apps/silcd/server_query.c.
1048
1049 Mon Apr 25 14:25:24 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1050
1051         * Moved silcer/, silc/, silcd/ and irssi/ to apps/.  This
1052           finalizes the major restructuring of the CVS tree.
1053
1054 Mon Apr 25 00:39:30 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1055
1056         * Send empty MOTD reply if MOTD file cannot be read.
1057           Affected file silcd/command.c.
1058
1059 Sun Apr 24 12:01:37 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1060
1061         * Optimized primer number generator to use simpler conversion
1062           routines.  Also assure that the prime number will have the
1063           highest bit set after modifying it.  Affected file is
1064           lib/silcmath/silcprimegen.c.
1065
1066         * Added LibTomMath to SILC Math library (SILC_DIST_TMA).
1067
1068         * Added FastTomMath to SILC Math Library (SILC_DIST_TFM),
1069           for now only for testing purposes, it will not be delivered
1070           in any distribution for now.
1071
1072         * Removed NSS MPI from the source tree.  Due to upcoming
1073           license change for the SILC Toolkit, we cannot deliver the
1074           NSS MPI anymore.  I decided to replace it in all distributions
1075           with public domain library.
1076
1077         * Removed GNU regex from lib/contrib and introduced free
1078           GNU compatible regex, lib/contrib/regexpr.[ch].  Added
1079           GNU regex compatible API to it (only partial).
1080
1081         * Removed getopt routines from lib/contrib.
1082
1083 Fri Apr 22 12:21:44 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1084
1085         * Use silc_server_send_command_reply to send replies instead
1086           of encoding packet itself.  Affected file silcd/command.c.
1087
1088         * Added command sending and receiving statistics to server.
1089           Affected files in silcd/.
1090
1091         * GCC 4 warning fixes.  -Wno-pointer-sign option is now used
1092           with GCC, for it not to warn about pointer signedness.
1093
1094 Tue Apr 19 11:57:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1095
1096         * Added context to the SilcIDCache destructor.  Affected
1097           files are lib/silccore/silcidcache.[ch],
1098           lib/silcclient/client.c and silcd/server.c.
1099
1100 Mon Apr 18 09:53:28 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1101
1102         * Added pkg-config check to configure.
1103
1104         * The PublicKeyDir must not be used with Admin block in server
1105           config.  Affected file silcd/serverconfig.c.
1106
1107 Sat Apr 16 20:23:48 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1108
1109         * Added Autodist.
1110
1111 Thu Apr 14 20:25:08 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1112
1113         * Handle empty LIST command reply correcttly in server.  Affected
1114           file silcd/command_reply.c.
1115
1116         * Handle empty LIST command reply correctly in client library.
1117           The application will now receive one LIST command reply with
1118           all arguments set to NULL if there are no channels.  Updated
1119           Client Library documentation accordingly.  Affected file
1120           lib/silcclient/command_reply.c.
1121
1122 Tue Apr 12 00:02:09 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1123
1124         * Added channel name string stringprep profile to the protocol
1125           and implementation to allow a little free'er channel name
1126           strings.  Affected files are lib/silcutil/silcstringprep.[ch].
1127
1128         * Added silc_channel_name_[check|verify] to check and verify
1129           channel name strings.  Affected files are
1130           lib/silcutil/silcstrutil.[ch].
1131
1132         * Added support for the new channel name preparation in client
1133           library and server.  Affected files in lib/silcclient and
1134           silcd/.
1135
1136 Mon Apr 11 13:40:27 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1137
1138         * Added the Autodist into the source tree.  It replaces the
1139           old ./prepare.  It can be used to create distributions as
1140           previously.  See README.CVS and README.DIST.  See
1141           distributions in distdir/.
1142
1143 Sun Apr 10 11:30:56 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1144
1145         * Make sure query sends at least an error back if nothing
1146           more is sent.  Affected file silcd/server_query.c.
1147
1148 Thu Apr  7 14:50:01 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1149
1150         * During query, check if the original command caller goes
1151           away.  If it does, stop the query.  Affected file
1152           silcd/server_query.c.
1153
1154         * Check for valid channel creation in JOIN command reply.
1155           Affected file lib/silcclient/command_reply.c.
1156
1157         * Handle the resolver counter in silc_client_get_users_by_channel
1158           callback correctly.  Fixed auto-join bug in Gaim.  Affected
1159           file lib/silcclient/idlist.c.
1160
1161 Wed Apr  6 16:56:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1162
1163         * Added some better error messages.  Affected file
1164           silcd/command_reply.c and packet_receive.c.
1165
1166         * Handle error in WATCH command propely on backup router.
1167           Affected file silcd/command.c.
1168
1169         * Fixed freeing of unfreeable variable in WHOIS command reply.
1170           Affected file silcd/command_reply.c.
1171
1172 Wed Apr  6 09:10:31 CEST 2005  Pekka Riikonen <priikone@silcnet.org>
1173
1174         * Added pkg-config .pc file creation for silc core library
1175           and silcclient library.  A patch by c0ffee.
1176
1177         * Removed the need for GNU Libidn.  Added the simple stringprep
1178           from libidn into lib/contrib/.  It is now used also on Windows
1179           build.
1180
1181 Mon Apr  4 15:15:46 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1182
1183         * Simplified the invite and ban string handling in the
1184           server.  Check for valid invite and ban arguments also.
1185           Affected file silcd/server_util.c.
1186
1187 Sun Apr  3 14:58:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1188
1189         * Added WATCH list announcing in backup router protocol.
1190           Affected files are silcd/command.c, server.c, server_backup.c.
1191
1192         * Do not change users mode to founder on normal server/backup
1193           if the founder mode is set, and user is first one to join.
1194           Affected file silcd/pcaket_receive.c.
1195
1196         * Do not send CUMODE_CHANGE notify back to sender.  Affected
1197           file silcd/packet_receive.c.
1198
1199         * Added getrusage() to take noise in SILC RNG.  A patch by
1200           Mika Boström.  Affected files are configure.in.pre,
1201           includes/silcincludes.h.in, lib/silccrypt/silcrng.c.
1202
1203 Sat Apr  2 18:09:30 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1204
1205         * Splitted the SILC libraries configuration into a configure
1206           fragment into lib/configure.ad.  It is now possible, once
1207           this feature is added, to specify whether to compile or not
1208           compile included SILC libraries.  Affected files are
1209           configure.in.pre, lib/silcmath/mpi/configure.ad,
1210           lib/configure.ad, Makefile.defines.pre and
1211           Makefile.defines_int.pre.
1212
1213         * Added --with-silc-includes and --with-silc-libs to configure.
1214           If specified the included libs are not compiled, but the
1215           specified libs are used.  Pkg-config is not yet supported.
1216           Affected file configure.in.pre.
1217
1218         * Fixed WATCH command handling on backup router.  Router does not
1219           send the watch command any more to backup if it originates from
1220           backup.  Affected file silcd/command.c.
1221
1222 Fri Apr  1 18:52:47 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1223
1224         * Changed announcing to not announce unregistered clients.
1225           Affected file silcd/server.c.
1226
1227         * Fixed username handling in command reply.  Affected file
1228           silcd/command_reply.c.
1229
1230         * Log files are now 0600.  Affected file lib/silcutil/silclog.c.
1231
1232 Thu Mar 31 22:34:22 CEST 2005  Patrik Weiskircher <pat@icore.at>
1233
1234         * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
1235           Affected file: includes/silcincludes.h.in
1236
1237         * bool is defined as _Bool on Mac OS X now.
1238           Affected file: lib/silcutil/silctypes.h
1239
1240 Thu Mar 31 08:52:06 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1241
1242         * Added support for UTF-8 nicknames, channel names and
1243           server names in client library.  Affected files in
1244           lib/silcclient/.
1245
1246         * Added __SILC_HAVE_PTHREAD, __SILC_HAVE_SIM, __SILC_HAVE_LIBIDN,
1247           and __SILC_ENABLE_DEBUG to include/silcclient.h for third-party
1248           software to check how Toolkit has been compiled.
1249
1250 Wed Mar 30 22:16:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1251
1252         * Added silc_utf8_str[n]casecmp into lib/silcutil/silcutf8.[ch].
1253
1254         * Use silc_utf8_str[n]casecmp instead of strcmp routines
1255           in library and in SILC Client when dealing with nicknames
1256           and other identifier strings.  Affected file in client lib
1257           and irssi.
1258
1259         * Convert nickname to UTF-8 in /msg and /smsg.  Affected file
1260           irssi/src/silc/core/silc-servers.c.
1261
1262 Wed Mar 30 10:50:02 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1263
1264         * Fixed idcache to work with the new identifier strings.
1265           Affected file lib/silccore/silcidcache.c.
1266
1267         * Added UTF-8 hash and compare function for SilcHashTable.
1268           Affected file lib/silcutil/silcutil.[ch].
1269
1270         * Added casefolding stringprep, SILC_CASEFOLD_PREP.
1271           Affected file lib/silcutil/silcstringprep.[ch].
1272
1273         * Changed the identifier string handling to include the original
1274           format in client, server, channel entries and normalized
1275           format in cache.  Affected files in silcd/.
1276
1277 Tue Mar 29 16:51:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1278
1279         * Added support for the new identifier strings and their
1280           validity checking.  Nicknames, channel names and usernames
1281           can now include practically any kind of letters and various
1282           other characters.  Affected files in silcd/ and in libraries.
1283
1284           NOTE: comparing these strings should now be done with memcmp()
1285           to check binary compatibility.  All these strings are normalized
1286           and casing is irrelevant.
1287
1288         * Added silc_identifier_check to lib/silcutil/silcstrutil.[ch]
1289           as easy function for applications to check whether identifier
1290           strings are valid.
1291
1292 Tue Mar 29 00:45:11 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1293
1294         * Fixed SILC_STRING_LDAP_DN encoding and decoding.  Affected
1295           file lib/silcutil/silcutf8.c.
1296
1297         * Added SILC_STRING_UTF8_ESCAPE to lib/silcutil/silcstrutil.h.
1298
1299 Mon Mar 28 22:46:23 CEST 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1300
1301         * Make public key in getkey reply mandatory.  Affected file
1302           lib/silcclient/command_reply.c
1303
1304 Sun Mar 27 19:03:31 CEST 2005  Patrik Weiskircher <pat@icore.at>
1305
1306         * Added Parameter dont_register_crypto_library to
1307           SilcClientParam. If set to TRUE, silcclient library will
1308           not initalize the Crypto Libraries and application
1309           will need to do it. Affected file lib/silcclient/silcclient.h,
1310           lib/silcclient/client.c.
1311
1312 Sun Mar 27 19:02:48 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1313
1314         * Imported new silc_utf8_[encode|decode] routines from
1315           my internal SILC 1.1 source tree.  New encodings added:
1316           SILC_STRING_LOCALE (SILC_STRING_LANGUAGE is deprecated),
1317           SILC_STRING_UTF8, SILC_STRING_PRINTABLE, SILC_STRING_VISIBLE,
1318           SILC_STRING_TELETEX, SILC_STRING_NUMERICAL and
1319           SILC_STRING_LDAP_DN.
1320
1321         * Splitted UTF-8 routines into lib/silcutil/silcutf8.[ch].
1322
1323         * Implemented stringprep (RFC 3454) API.  Internally we use
1324           GNU Libidn's stringprep, for now, so it is required now to
1325           compile SILC sources.  Added lib/silcutil/silcstringprep.[ch].
1326
1327         * Added checking for GNU Libidn and --with-libidn to configure.
1328
1329 Wed Mar 23 11:20:33 CET 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1330
1331         * If the passphrases entered do not match while generating a new key,
1332           completly start over instead of going into an infinite loop asking
1333           the user to re-enter the passphrase correctly.  Affected file
1334           lib/silcutil/silcapputil.c
1335
1336 Sun Jan  9 14:28:51 CET 2005  Pekka Riikonen <priikone@silcnet.org>
1337
1338         * Make sure server is removed from backup list when it is
1339           deleted.  Affected files silcd/command.c, server.c,
1340           server_util.c.
1341
1342         * Close socket when connecting to router fails.  Affected
1343           file silcd/server.c.
1344
1345 Tue Jan  4 13:06:26 CET 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1346
1347         * Adopt configuration toolchain to current auto-tools.
1348           Affected files prepare, irssi/configure.in
1349         * Revert most of the UTF-8 fixes to SILC Client 1.0.1.  Will
1350           redo that.  Affected files irssi/src/silc/core/client_ops.c,
1351           irssi/src/fe-common/silc/fe-silc-channels.c
1352         * Take over command line options into silcclient data structure.
1353           Affected file irssi/src/silc/core/silc-core.c
1354
1355 Wed Dec  8 16:15:11 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1356
1357         * Do not try to initiate backup resuming protocol forever.
1358           Affected file silcd/server_backup.c.
1359
1360 Wed Nov 24 18:24:05 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1361
1362         * ID change in resuming has to be done before changing
1363           detached client's modes, since the ID change may fail and
1364           leave ghosts on the network.  Affected file is
1365           silcd/packet_receive.c.
1366
1367 Tue Nov 23 16:54:35 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1368
1369         * Fixed Win32 scheduler to not stuck anymore.  A patch from
1370           Juha Räsänen.  Affected file is
1371           lib/silcutil/win32/silcwin32schedule.c.
1372
1373         * Fixed QoS parsing for connection blocks in server.  Affected
1374           file is silcd/serverconfig.c.
1375
1376         * Fixed server statistics increasing in server.  Affected file
1377           is silcd/server.c.
1378
1379         * The CLOSE command now marks backup router as self disconnected
1380           to avoid resuming problems.  Affected file silcd/command.c.
1381
1382 Wed Sep 22 19:46:32 CEST 2004  Patrik Weiskircher <pat@icore.at>
1383
1384         * When using silc_net_create_connection[_async], and your system can
1385           create IPv6 sockets, it will try to connect to the IPv6 host.
1386           Now it tries to connect to an IPv4 host if IPv6 fails. Affected
1387           file lib/silcutil/unix/silcunixnet.c
1388
1389 Fri Jun 18 19:26:58 CEST 2004  Pekka Riikonen <priikone@silcnet.org>
1390
1391         * Check for valid route when receiving packet from router and
1392           when routing it to local server in the cell.  A patch from
1393           Matt Miller.  Affected files silcd/router.c and server.c.
1394
1395 Sat May  1 13:55:54 CEST 2004  Patrik Weiskircher <pat@icore.at>
1396
1397         * Couldn't detach and reattach twice, because of the previous
1398           commit. Affected file silcd/packet_receive.c
1399
1400 Fri Apr 30 19:40:28 CEST 2004  Patrik Weiskircher <pat@icore.at>
1401
1402         * Added check to ignore Port value if Initiator is FALSE.
1403           Remote router coudln't connect if Port was set. Affected file
1404           silcd/serverconfig.c
1405
1406         * If some client tries to resume more than once at the same time,
1407           server crashed. Router didn't crash, but showed odd behaviour
1408           (didn't allow clients to join anymore, ..). Affected files
1409           silcd/packet_receive.c silcd/idlist.h
1410
1411 Mon Mar 15 21:10:08 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1412
1413         * Destroy the file transfer session in silc_client_file_close
1414           with timeout.  Affected file lib/silcclient/client_ftp.c.
1415
1416         * Call SFTP server monitor in READ and WRITE after the actual
1417           operations.  Affected file lib/silcsftp/sftp_server.c.
1418
1419 Wed Mar 10 21:30:02 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1420
1421         * Create one configure script from configure fragments
1422           (configure.ad).  This is a first step towards new distribution
1423           system.  Affected files prepare, configure.in.pre,
1424           lib/silcmath/mpi/configure.ad.
1425
1426 Wed Mar 10 18:35:24 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1427
1428         * Removed expiring of client key pair.  Affected file is
1429           irssi/src/silc/core/clientutil.c
1430
1431 Tue Mar  9 17:11:58 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1432
1433         * Check the number of connections from real number of
1434           connections instead of socket number, when deciding if
1435           server is full.  Affected files are silcd/server.c,
1436           server_internal.h and silcd.c.
1437
1438         * Clarified the connections_max meaning in General section
1439           in doc/example_silcd.conf.in.
1440
1441         * The reconnect_keep_trying default value set to TRUE
1442           if it is not defined in the config file.  Affected file
1443           silcd/serverconfig.c.
1444
1445 Wed Mar  3 15:13:49 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1446
1447         * Fixed crashbug in connection closing, after a protocol
1448           completion callback, which might have closed it already.
1449           Affected file silcd/server.c.
1450
1451         * Fixed rekey with PFS in backup router.  It did not allow
1452           rekeys with PFS, and when the rekey protocol timedout
1453           it crashed the backup router without the above fix.  Affected
1454           file silcd/packet_send.c and server.c.
1455
1456 Sat Feb 28 16:25:09 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1457
1458         * The silc_client_add_channel_private_key now returns the
1459           private key context if pointer is given as argument.
1460           Affected files are lib/silcclient/silcclient.h and
1461           client_channel.c.
1462
1463         * Added support for using channel private keys in SILC
1464           Client Library even if the private key mode is not set
1465           on the channel.  Affected file lib/silcclient/client_channel.c.
1466
1467         * The channel private key used to decrypt message is now
1468           delivered to the application in the 'channel_messageÃ' client
1469           operation.  Affected files are lib/silcclient/silcclient.h
1470           and client_channel.c.
1471
1472         * Fixed wrong arg type for user limit in CMODE command reply.
1473           Affected file silcd/command.c.
1474
1475         * The user limit is now taken and saved to SilcClientEntry in
1476           JOIN and CMODE command replies and in CMODE_CHANGE notify.
1477           Affected files lib/silcclient/silcclient.h, command_reply.c
1478           and client_notify.c.
1479
1480         * Added support to the new private message key indicator
1481           packet.  Added a new function to the client library:
1482           silc_client_send_private_message_key_request.  The sender
1483           indicates to be initiator, and receiver is responder.
1484           Added the indicator to the SilcClientEntry as 'prv_resp'
1485           boolean.  Affected files are lib/silcclient/silcclient.h
1486           client.[ch], and client_prvmsg.c.
1487
1488 Fri Feb 27 11:25:26 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1489
1490         * Fixed the JOIN command calling when called with both
1491          -auth and -founder.  Affected file is lib/silcclien/command.c.
1492
1493 Wed Feb 25 23:12:11 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1494
1495         * Check watcher list for resumed clients as well.  Affected
1496           file is silcd/packet_receive.c.
1497
1498 Tue Feb 24 16:49:10 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1499
1500         * Implemented the user limit to the CMODE_CHANGE notify,
1501           CMODE command reply and JOIN command reply in server.
1502           Affected files are silcd/server.c, command.c, command_reply.c,
1503           packet_send.c and packet_receive.c.
1504
1505 Mon Feb 23 23:31:15 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1506
1507         * Defined SILC_STRFMT_END that must be used now with
1508           silc_buffer_strformat, instead of SILC_STR_END.  Fixes
1509           crashes on AMD64.  Affected files are lib/silcutil/silcbuffmt.h,
1510           lib/silcclient/silcvcard.c, silcd/server_util.c.
1511
1512         * Fixed the adding of public key to the WATCH list in server.
1513           Fixed the WATCH notify sending to client.  Affected files
1514           are silcd/packet_send.[ch], command.c, server_util.c.
1515
1516         * Implemented the watching by public key in the SILC Client
1517           Library and SILC Client.  Affected files are
1518           lib/silcclient/command.c and client_notify.c.
1519
1520 Mon Feb 23 09:30:30 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1521
1522         * Added support for public key watching in server.  Affected
1523           files are silcd/server.c, server_internal.h, command.c,
1524           server_util.c.
1525
1526 Sun Feb 22 19:03:59 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1527
1528         * Added public key to the SIlcClientEntry.  Affected files
1529           are lib/silcclient/silcclient.h, command_reply.c, idlist.c
1530
1531         * Fixed the get_clients_whois reply processing to return
1532           exactly same entries server returned.  Makes it possible
1533           to search using attributes.  Affected file is
1534           lib/silcclient/idlist.c.
1535
1536 Sat Feb 21 19:21:57 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1537
1538         * Save founder key to SilcChannelEntry.  Affected files are
1539           lib/silcclient/silcclient.h, command_reply.c, idlist.c.
1540
1541 Fri Feb 20 20:37:38 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1542
1543         * Call the monitor callback with _CLOSED status from the
1544           silc_client_file_close.  Affected files are
1545           lib/silcclient/client_fpt.c, silcclient.h
1546
1547         * Added silc_client_get_clients_whois which resolves using
1548           WHOIS, and supports requested attributes as well.
1549           Affected files are lib/silcclient/silcclient.h, idlist.c.
1550
1551 Fri Feb 19 21:09:22 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1552
1553         * Added support for asking the destination filename where
1554           the downloaded file is saved in the file transfer.  Affected
1555           files are lib/silccilent/silcclient.h, client_ftp.c.
1556
1557 Wed Feb 18 02:46:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1558
1559         * Fixed error handling in resuming data processing.  Affected
1560           files are lib/silcclient/client_resume.c and client.c.
1561
1562 Tue Feb 17 19:34:30 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1563
1564         * Fixed silc_client_send_private_message to return TRUE correctly.
1565           Affected file lib/silcclient/client_prvmsg.c.
1566
1567         * Added topic to the SilcChannelEntry.  Affected files are
1568           lib/silcclient/silcclient.h, command_reply.c, client_notify.c.
1569
1570 Fri Feb 13 14:19:14 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1571
1572         * Use conn->cmd_ident for all silc_client_command_call()s.  Affected
1573           file lib/silcclient/command.c
1574
1575 Fri Feb 13 13:53:45 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1576
1577         * Convert all commands to UTF-8 before passing them to the
1578           client library.  Still need to convert replies from UTF-8 to
1579           the locale encoding.  Affected file
1580           irssi/src/silc/core/silc-cmdqueue.c
1581
1582 Fri Feb 13 13:13:07 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1583
1584         * redirect all silc_client_command_calls through a queueing framework.
1585           This fixes /CYCLE and the annoying "nick change after auto-joining
1586           a channel".  Furthermore it defines one central point where
1587           command parameters can be UTF-8-ified.  Affected files
1588           irssi/src/silc/core/Makefile, client_ops.c, silc-channels.c,
1589           silc-servers.[ch], silc-core.c, silc-cmdqueue.[ch], silc-lag.c
1590
1591 Fri Feb 13 12:04:41 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1592
1593         * use asynchronous connect() to establish router connections.
1594           Fixes problem when the primary router goes down.  Affected files
1595           silcd/server.c, silcd/server_backup.c
1596
1597 Thu Feb 12 20:09:59 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1598
1599         * Added SILC_[32|64]_TO_PTR and SILC_PTR_TO_[32|64] macros.
1600           Fixed various compilation warnings when type casting ints
1601           to pointers or vice versa, of different size.  Updates around
1602           the source free.
1603
1604 Tue Feb  3 23:25:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1605
1606         * Surrogates not allowed in UTF-8 strings, updated decoder.
1607           Affected file lib/silcutil/silcstrutil.c.  Added UTF-8
1608           testers in lib/silcutil/tests/ directory.
1609
1610 Wed Jan 14 18:42:44 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1611
1612         * Added SILC_CLIENT_CONN_ERROR_KE, ERROR_AUTH, ERROR_RESUME and
1613           ERROR_TIMEOUT SilcClientConnectionStatus errors.  Affected
1614           files are lib/silcclient/silcclient.h, client.c.
1615
1616 Mon Jan 12 13:01:10 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1617
1618         * When resuming a session fails, notify the user that the session
1619           file needs to be removed eventually.  Affected files
1620           irssi/src/fe-common/silc/module-formats.[ch],
1621           irssi/src/silc/core/client_ops.c.
1622
1623 Tue Jan 04 12:16:04 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1624
1625         * Added DIST_SUBDIRS symbols to include all subdirs in distributions.
1626           Affected files lib/silcutil/Makefile.am, lib/silcmath/Makefile.am
1627
1628         * Typofix in Irssi::Silc module.  Affected file
1629           irssi/src/perl/silc/Silc.xs.
1630
1631 Tue Jan 04 02:43:44 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1632
1633         * Changed the way NOTICE flagged messages are treated. Added support
1634           for notices in queries and signing notices.  Affected files
1635           irssi/default.theme; irssi/docs/help/in/notice.in;
1636           irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c;
1637           irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.c
1638
1639         * Fixed typo in /ACTION help.  Affected file
1640           irssi/docs/help/in/action.in
1641
1642 Mon Jan 03 23:26:38 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1643
1644         * Fixed typo in perl module.  Affected file
1645           irssi/src/perl/silc/Server.xs
1646
1647         * Changed the way ACTION flagged messages are treated. Added support
1648           for actions in queries and signing actions.  Affected files
1649           irssi/default.theme; irssi/docs/help/in/action.in;
1650           irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c,
1651           fe-silc-queries.c; irssi/src/silc/core/client_ops.c, silc-channels.c,
1652           silc-servers.[ch]
1653
1654 Mon Jan 03 16:04:29 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1655
1656         * Incorrectly reported error when client had to be resolved from
1657           server in /SMSG.  Affected file irssi/src/silc/core/silc-servers.c
1658
1659 Sat Jan  3 16:37:15 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1660
1661         * Fixed whois public key hash table deleting and adding in
1662           detached client case.  Affected file silcd/packet_receive.c.
1663
1664 Sat Jan 03 12:15:38 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1665
1666         * Changed filenames of silc/fe module not to collide with filenames
1667           from core/fe.  Also seperated public messages printing from
1668           query messages printing.  Affected files are all in
1669           irssi/src/fe-common/silc.
1670
1671 Sat Jan  3 12:18:07 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1672
1673         * Fixed the invite process handling during joining to use
1674           correct server name for the client that is matched against
1675           the invite string for the channel.  Wrong server name caused
1676           inability to join the channel.  Affected file is
1677           silcd/command.c.
1678
1679 Fri Jan  2 23:34:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1680
1681         * Fixed the CUMODE channel founder authentication on normal
1682           server to not remove the founder rights on existing founder
1683           before checking that router accepts the mode change.  Affected
1684           files are silcd/command.c and silcd/packet_receive.c.
1685
1686         * Remove the server entry correctly when rekey timeouts and
1687           remote router connection on normal server is closed.  Fixes
1688           a crash where server uses the freed server entry.  Affected
1689           file silcd/server.c.
1690
1691 Fri Jan 02 10:28:15 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1692
1693         * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
1694           networks.  This is the first step in solving the bug about
1695           /SERVER ADD -silcnet <silcnet>.  Affected files
1696           irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am,
1697           fe-silcnet.c, fe-common-silc.c, module-formats.[ch];
1698           irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am
1699
1700 Thu Jan 01 20:11:32 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1701
1702         * /SMSG and /MMSG now correctly create new queries. Affected files
1703           irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl
1704
1705         * Add basic support for SILC protocol specific variables in perl.
1706           Affected files irssi/src/perl/silc/*, irssi/configure.in,
1707           irssi/src/perl/Makefile.am
1708
1709 Wed Dec 31 17:06:55 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1710
1711         * Don't use silc_get_input, it's obviously not reliable.  Fixes
1712           issue when the current key expires.  Affect file
1713           irssi/src/silc/core/clientutils.c
1714
1715         * Make the session data filename configurable.  This makes it
1716           possible to have different session files for different
1717           SILC networks.  Affected files irssi/src/silc/core/silc-core.c,
1718           client_ops.[ch], silc-servers.c,
1719           irssi/src/silc/fe-common/silc/module-formats.[ch]
1720
1721         * Use the same set of libtool files for the MPI lib as for the
1722           rest of the toolkit.  Affected files lib/silcmath/mpi/config.guess,
1723           config.sub, configure.in, install-sh, missing, mkinstalldirs
1724
1725 Sun Dec 28 21:57:39 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1726
1727         * Fixed server statistics decrementing error to not go to
1728           negative.  Affected file silcd/packet_receive.c.
1729
1730 Sat Dec 20 14:42:36 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1731
1732         * Use silc_server_query_add_error to add error in public key
1733           search error.  Added support in send_reply to send errors
1734           without specific argument.  Affected file silcd/server_query.c.
1735
1736         * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
1737           Client for NO_SUCH_NICK.  It was against the protocol specs.
1738           Affected file irssi/src/silc/core/client_ops.c.
1739
1740         * Added backwards support for the wrong NO_SUCH_NICK error sending
1741           in server.  To be removed in SILC Server 1.0.  Both old clients
1742           and clients with fixed error handling now works.  Affected file
1743           silcd/server_query.c.
1744
1745 Sat Dec 20 00:44:47 CET 2003  Patrik Weiskircher <pat@icore.at>
1746
1747         * fixed a bug in the whois using attributes function where no
1748           error was sent if no nickname and client id but the attributes were
1749           given to whois. Affected file silcd/server_query.c
1750
1751 Tue Dec 16 21:34:59 CET 2003  Patrik Weiskircher <pat@icore.at>
1752
1753         * remove public key from public key hashtable on detach. Affected
1754           file silcd/packet_receive.c
1755
1756         * free public key hashtable before removing clients on server
1757           shutdown. Affected file silcd/server.c
1758
1759         * remove public key prior deleting client-data on killing a client.
1760           Affected file silcd/server_util.c
1761
1762 Sat Dec 06 21:35:14 CET 2003  Patrik Weiskircher <pat@icore.at>
1763
1764         * Getting the MOTD from other servers works now. Affected
1765           files are silcd/command.c and silcd/command_reply.c
1766
1767 Thu Dec 04 11:33:46 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1768
1769         * Initialize the variable idletag, since it is tested in
1770           silc_core_deinit for its default value.  Affected file
1771           irssi/src/silc/core/silc-core.c
1772
1773 Sun Nov 30 19:47:02 CET 2003  Patrik Weiskircher <pat@icore.at>
1774
1775         * Fixed signed channel messages across cells. Affected file
1776           silcd/packet_send.c
1777
1778 Fri Nov 28 19:13:21 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1779
1780         * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG
1781           is not defined.  They can now be safely used in if-statements
1782           without braces.  Affected file lib/silcutil/silclog.h.
1783
1784         * Added the checks for backup closing connection due to error
1785           (local or remote) and thus not allow the resuming to occur
1786           in reconnect.  Affected files are silcd/packet_send.c
1787           and server.c.
1788
1789 Tue Nov 25 15:20:59 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1790
1791         * Help file updates.  Affected files in irssi/src/docs/help/in/.
1792
1793 Wed Nov 23 20:51:21 CET 2003  Patrik Weiskircher <pat@icore.at>
1794
1795         * Fixed channel messages across cells. Affected file
1796           silcd/packet_send.c
1797
1798 Wed Nov 12 11:34:56 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1799
1800         * Fixed file transmission accepting in client library to not
1801           start the negotiation if user hasn't accepted the transfer,
1802           instead create new session for resent transfer.  Affected
1803           file lib/silcclient/client_ftp.c.
1804
1805         * Show the session ID in the file transmision list.  Remove
1806           session from list that failed to transfer.  Switch the current
1807           session automatically after transmission, and in errors, to new
1808           session if other sessions exists in the transfer list.  Affected
1809           files are irssi/src/silc/core/silc-servers.c,
1810           irssi/src/fe-common/silc/modfule-formats.c.
1811
1812 Mon Nov 10 14:41:40 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1813
1814         * Fixed MIME header parsing for the hopefully last time.  Affected
1815           file lib/silcutil/silcstrutil.c
1816
1817 Mon Nov 10 13:03:46 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1818
1819         * Rewrote the PKCS#1 routines.  Added lib/silccrypt/silcpkcs1.[ch].
1820
1821         * The SILC RNG is now gauranteed to return non-zero random
1822           values.  Affected files are lib/silccrypt/silcrng.[ch].
1823
1824 Sun Nov  9 20:44:56 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1825
1826         * Fixed nickname formatting when changing only case of the
1827           nickname.  Affected file lib/silcclient/idlist.c.
1828
1829 Sun Nov  9 19:33:59 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1830
1831         * Fixed a memory leak and incorrect printing of the "appears as"
1832           message.  Affected file irssi/src/silc/core/client_ops.c
1833
1834 Sun Nov  9 17:45:11 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1835
1836         * Added CRT (Chinese Remainder Theorem) supported RSA
1837           private keys and private key operations.  This significantly
1838           increases private key operation efficiency.  No compatibility
1839           issues with new or old private keys.  Affected files are
1840           lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c.
1841
1842 Sat Nov  8 13:08:53 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1843
1844         * Fixed GCC-3.3.2 related compilation warnings from the
1845           source tree.
1846
1847 Fri Nov  7 23:01:47 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1848
1849         * Removed RC6 from distributions.
1850
1851 Fri Nov  7 19:38:42 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1852
1853         * Added some better comments to lib/silccrypt/silcpkcs.h,
1854           optimized some routines in lib/silccrypt/silcpkcs.c.
1855           Added test_silcpkcs into lib/silccrypt/tests/.
1856
1857         * Fixed silc_rng_global_init to actually init the global RNG
1858           if RNG wasn't provided for it.  Affected file is
1859           lib/silccrypt/silrng.c.
1860
1861 Thu Nov  6 21:08:28 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1862
1863         * Added silc_hash_table_find_by_context_ext.  Affected files
1864           lib/silcutil/silchashtable.[ch].
1865
1866         * Save the public key on normal server in WHOIS command reply
1867           from attributes, if present, and add it to public key hash
1868           table.  Fixes WHOIS resolving by public key on normal server.
1869
1870           Optimized the attributes resolving on normal server to not
1871           resolve if we resolved them already from router.
1872
1873           Affected files are silcd/server_query.c, command_reply.c.
1874
1875 Wed Nov  5 19:36:30 CET 2003 Patrik Weiskircher <pat@icore.at>
1876
1877         * Added support for whois using attributes.
1878           Affected files silcd/command_reply.c, silcd/packet_receive.c,
1879           silcd/server.c, silcd/server_internal.h, silcd/server_query.c,
1880           silcd/server_util.c
1881
1882         * Added support for whois using public key attribute to /WHOIS i
1883           client command. Affected files irssi/docs/help/in/whois.in,
1884           irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c
1885
1886 Wed Nov  5 23:37:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1887
1888         * Fixed UMODE setting in server when the client has anonymous
1889           mode set.  The mode setting was not working.  Affected file
1890           silcd/command.c.
1891
1892 Mon Nov  2 11:36:08 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1893
1894         * Fixed some bugs and typos related to sending split messages.
1895           Print notification when sending messages with /MMSG.  Affected
1896           files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c
1897
1898 Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1899
1900         * Optimized the socket referencing in packet routines, client
1901           library and server.  Affected files are lib/silccore/silcpacket.c,
1902           lib/silcclient/client.c and silcd/server.c.
1903
1904         * If silc_socket_set_qos is given with NULL arguments the QoS is
1905           reset from the socket.  Affected files are
1906           lib/silcutil/silcsockconn.[ch].
1907
1908 Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1909
1910         * Add a /LISTKEYS command which lists the locally cached
1911           client and server keys.  Affected files
1912           irssi/src/fe-common/module-formats.[ch],
1913           irssi/src/silc/core/silc-{channels,servers}.c
1914           irssi/docs/help/in/listkeys.in
1915
1916 Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1917
1918         * Check that packet queue purging was successful.  Affected
1919           files lib/silcclient/client.c and silcd/packet_send.c.  Related
1920           to MAC failed errors.
1921
1922         * Do not clear the inbuf even if it is empty if QoS was applied
1923           to it.  Otherwise the QoS data is cleared and MAC failed error
1924           will occur.  Affected file lib/silccore/silcpacket.c.
1925
1926         * Use the rekey period time as rekey protocol timeout value.
1927           If the rekey does not succeed during the rekey period there's
1928           something very wrong, and we most likely end up with wrong keys,
1929           do graceful reconnect then.   Affected file silcd/server.c.
1930
1931         * Take reference of the socket in the parser context, as it's
1932           possible to have the parsers in queue after the socket is
1933           disconnected and this may cause crash.  Affected files are
1934           lib/silccore/silcpacket.c, lib/silcclient/client.c and
1935           silcd/server.c.
1936
1937 Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1938
1939         * Fixed KICK command reply sending, it sent to replies.
1940           Affected file silcd/command.c.
1941
1942 Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1943
1944         * Finish the silc-mime.pl script. It now supports MIME type
1945           guessing using magic files, signing data messages, executing
1946           MIME handlers in background. Affected files
1947           irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in
1948
1949         * Changed MIME signal handler to make things easier for the perl
1950           script. Affected files irssi/src/silc/core/client_ops.c,
1951           silc-servers.c, and irssi/docs/signals.txt
1952
1953         * Cleaned up the silc_mime_parse function and fixed detection
1954           of wrapped header lines. Affected file lib/silcutil/silcstrutil.c
1955
1956 Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1957
1958         * Resolve the IP for file transfer listener from the connection
1959           socket.  Affected file lib/silcclient/client_ftp.c.
1960
1961         * Accept NULL hostname parameter in the functions
1962           silc_net_check_[local|remote]_by_socket.  Do not reverse lookup
1963           if hostname is not wanted.
1964
1965 Fri Oct 24 21:24:12 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1966
1967         * Fixed race condition between silc_client_init and
1968           my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c
1969
1970 Fri Oct 24 16:43:40 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
1971
1972         * Fixed file transfer connection closing when SIGNOFF for
1973           the client is received from server.  Affected file is
1974           lib/silcclient/client_ftp.c.
1975
1976 Tue Oct 21 13:35:57 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
1977
1978         * Check for disconnected socket in QUIT callback.  Affected
1979           file silcd/command.c.
1980
1981 Thu Oct 21 09:43:17 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1982
1983         * Modified the MIME parsing to allow \n and \r\n as delimiters.
1984           Affected files lib/silcutil/silcstrutil.c
1985
1986         * Cleaned up the escape/unescape functions for correctness and
1987           speed. Affected file irssi/src/silc/core/client_ops.c
1988
1989         * Removed handling for data messages with Content-Type: text/*,
1990           moved parsing of MIME headers to the signal handler, added
1991           support for signing and verifying data messages. Affected
1992           files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c,
1993           irssi/src/silc/core/silc-{servers,channels}.c
1994
1995         * Added a perl script for handling data messages based on
1996           information read from Mailcap files. New file
1997           irssi/scripts/silc-mime.pl
1998
1999 Mon Oct 20 16:08:22 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2000
2001         * Added new SILC_MESSAGE_FLAG_ACK that can  be used to
2002           acknowledge recepetion of a message to the sender.  Updated
2003           protocol specs.
2004
2005 Sat Oct 18 11:55:33 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2006
2007         * Unregister channel key saving callback when deleting channel.
2008           Affected file lib/silcclient/idlist.c.
2009
2010         * Do not remove the client from channels in NOTIFY_TYPE_SIGNOFF
2011           before calling notify client operation.  Affected file is
2012           lib/silcclient/client_notify.c.
2013
2014         * Unregister QoS tasks when deleting the socket connection.
2015           Affected files lib/silcutil/silcsockconn.[ch],
2016           unix/silcunixsockconn.c.
2017
2018         * Implemented latest presence-attrs draft changes.  Affected
2019           files lib/silccore/silcattrs.h and
2020           irssi/src/silc/core/silc-queries.c.
2021
2022 Tue Oct 14 18:24:53 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2023
2024         * Save old channel keys in list to allow more rapid change
2025           of channel keys if server for some reason does that.  This
2026           avoids loosing so many channel messages due to not having
2027           key to decrypt.  Affected file lib/silcclient/silcclient.h,
2028           idlist.c and client_channel.c.
2029
2030 Mon Oct 13 21:37:47 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2031
2032         * Continued backup router tests and fixes.  Affected files
2033           silcd/server_backup, server_util.c, server.c.  See TODO.
2034
2035 Sun Oct 12 19:58:18 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2036
2037         * Fixed SERVER_SIGNOFF handling in servers.  The client
2038           was removed from wrong list thus not removing the client
2039           at all.  Affected file silcd/packet_receive.c.
2040
2041         * Do not execute rekey protocol for disabled connections as
2042           it would never go through.  Affected file silcd/server.c.
2043
2044         * Added timeout for rekey protocol to catch if the protocol
2045           never executes successfully.  Affected files silcd/server.c
2046           and protocol.h.
2047
2048 Sat Oct 11 15:39:22 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2049
2050         * Abandon packet processing for disconnected sockets.  Check
2051           this always after calling packet processing callback.
2052           Affected file lib/silccore/silcpacket.c.
2053
2054         * Fixed double registration disconnection code in server.
2055           Closed wrong connection.  Affected file silcd/packet_receive.c.
2056
2057 Fri Oct 10 16:27:12 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2058
2059         * On normal server reconnect to primary during resuming 4
2060           times, then give up.  Affected file silcd/server_backup.c.
2061
2062         * If during reconnecting to routers we notice we have router
2063           connection but no primary router set, the server is in desync.
2064           Reconnect to primary to restore network.  Affected file
2065           silcd/server.c.
2066
2067         * Assure that only one protocol is exeucting at the same time.
2068           Added checks for all protocols.  Affected files are
2069           silcd/server.c and server_backup.c.
2070
2071 Thu Oct  9 20:24:09 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2072
2073         * Check that a string is not already part on invite/ban
2074           string when processing it.  Affected file silcd/server_util.c.
2075
2076 Thu Oct  9 12:06:40 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
2077
2078         * Fixed the CUMODE_CHANGE for founder mode changes to comply
2079           with 1.2 version of the protocol.  Affected file is
2080           silcd/packet_receive.c.
2081
2082 Wed Oct  8 19:41:15 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2083
2084         * ERR_BAD_PASSWORD now returns the Channel ID of the channel
2085           where the passphrase was given.  Affected file is
2086           silcd/command.c.
2087
2088 Wed Oct  8 09:32:12 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
2089
2090         * INVITE and BAN notifys are now delivered from routers to
2091           servers (but not clients) on the channel.  Updated specs and
2092           code.  Affected files silcd/packet_[send|receive].[ch],
2093           command.c, server.c and server_util.c.
2094
2095         * Implemented INVITE and BAN announcing.  Affected files are
2096           silcd/server.[ch], server_util.c.
2097
2098         * Implemented SilcStatus error type argument returning in
2099           command reply error in server.  Affected file silcd/command.c.
2100
2101         * Implemented SilcStatus argument returning in comand reply
2102           in client library.  The command_reply client operation now
2103           returns error specific arguments as well.  Affected files
2104           are lib/silcclient/command_reply.[ch], client_resume.c,
2105           lib/silccore/silcstatus.[ch].
2106
2107 Sun Oct  5 20:22:08 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2108
2109         * Backup router protocol version 1.2 implemented.  Testing still
2110           required.  Affected files in silcd/server_backup.[ch], server.c,
2111           packet_receive.c and server_internal.h.
2112
2113 Sun Oct  5 12:36:37 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2114
2115         * silc_client_send_[channel|private]_message now return TRUE
2116           or FALSE.  Affected file lib/silcclien/client_channel.c and
2117           client_prvmsg.c.
2118
2119 Thu Oct  2 17:03:09 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2120
2121         * Check for explicit nickname in INVITE and BAN processing
2122           during join as well (and don't expect only wildcards in
2123           invite/ban strings).  Affected file silcd/command.c.
2124
2125         * Fixed the INVITE and BAN by public key.  The public key saved
2126           is the PK payload (as specified) not the raw data.  Affected
2127           file silcd/server_util.c.
2128
2129 Wed Oct  1 20:29:06 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2130
2131         * UTF-8 text message support for actions and notices in SILC
2132           Client.  Affected file irssi/src/silc/core/client_ops.c.
2133
2134         * silc_get_username and silc_get_real_name now returns sensible
2135           data on Win32.  Patch by Toni Willberg.  Affected file is
2136           lib/silcutil/win32/silcwin32util.c.
2137
2138 Sun Aug 24 23:35:19 CEST 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2139
2140         * Provide a signal handler to send MIME encoded messages and emit
2141           a signal when a MIME encoded message is received. Also document
2142           the signals for usage with the perl interface.
2143
2144           A sample perl script will be supplied at a later point.
2145
2146           Affected files are irssi/docs/signals.txt,
2147           irssi/src/silc/core/client_ops.[ch],
2148           irssi/src/silc/core/silc-{channels,servers}.c
2149
2150 Sun Aug 24 12:58:30 CEST 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2151
2152         * Use SILC_COMMAND_PING to estimate the round-trip time to the
2153           server. Use this time to display a lag and disconnect when it
2154           exceeds a specified limit.
2155
2156           Affected files are irssi/src/silc/core/silc-{lag,core}.c.
2157
2158 Mon Aug 11 17:14:17 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2159
2160         * Remove the channel auth list in normal server if router
2161           encofrces its list during connecting.  Send notify to channel
2162           to remove the mode to remove the list.  Affected files are
2163           silcd/server_util.c and silcd/packet_receive.c.
2164
2165 Wed Aug  6 14:52:04 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2166
2167         * Added support for channel public keys.  Updated protocol specs
2168           and implemented it.  Affected files are
2169           silcd/command.c, command_reply.c, lib/silcclient/command.c,
2170           lib/silcclient/command_reply.c.
2171
2172 Wed Jul 23 12:17:01 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2173
2174         * Ignore SIGXFSZ and SIGXCPU signals in server.  They can
2175           terminate the process on Linux.  Affected file silcd/silcd.c.
2176
2177 Mon Jun  2 19:13:27 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2178
2179         * Check for NULL buffer in silc_buffer_clear.  Affected file
2180           is lib/silcutil/silcbuffer.h.
2181
2182         * Simplified the backup router protocol by removing the _GLOBAL
2183           types.  Updated protocol specs and the code.  Affected files
2184           are silcd/server_backup.[ch].
2185
2186 Thu Apr 24 19:50:25 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2187
2188         * Deny '@' and '!' from nicknames since they are reserved
2189           by the SILC_COMMAND_INVITE and SILC_COMMAND_BAN commands.
2190           Updated protocol specs and the code.
2191
2192           Affected files are silcd/server_util.[ch].
2193
2194 Wed Apr  9 18:51:59 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2195
2196         * Fixed stack overflow in Irssi SILC client.  Affected
2197           file irssi/src/silc/core/client_ops.c.
2198
2199         * Check that Host is set in ServerConnection and RouterConnection
2200           in silcd.conf.  Affected file silcd/serverconfig.c.
2201
2202         * Fixed crash in server with protocol completion callbacks,
2203           namely rekey and backup resuming protocols.  Affected files
2204           are silcd/server_backup.c and silcd/server.c.
2205
2206         * Fixed rekey protocol to not restart if it is started already.
2207           Affected files are lib/silcclient/client.c and
2208           silcd/server.c.c
2209
2210 Mon Mar 17 18:35:24 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2211
2212         * Rewrote SilcList, affected file lib/silcutil/silc*list.h.
2213
2214         * Fixed EOF handling in SILC Config, affected file
2215           lib/silcutil/silcconfig.c.
2216
2217         * Fixed buffer overflows in lib/silcutil/silcstrutil.c.
2218
2219         * Fixed RESOLVING flag handling in JOIN notify and other
2220           notifys to handle the resolvings correctly in client library.
2221           Affected file lib/silcclient/client_notify.c.
2222
2223         * Do not send full INVITE and BAN lists in INVITE and BAN
2224           notifys, only the changed information.  Affected file
2225           silcd/command.c.
2226
2227         * Fixed INVITE notify sending in INVITE command, send it
2228           only when needed.  Affected file silcd/command.c.
2229
2230         * Handle the founder key change properly in CMODE_CHANGE
2231           notify.  Bug #122.  Affected file silcd/packet_receive.c.
2232
2233 Sun Mar  9 16:29:20 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2234
2235         * Remove the mark for output (mark it only for input) after
2236           purging outgoing queue.  Prevents the "Error in select()"
2237           floods.  Affected file silcd/packet_send.c.
2238
2239         * Fixed incorrect connection deletion from client library
2240           after calling "connect" client operation.  Could cause
2241           crashes for example during reconnect timeouts.  Affected
2242           files are lib/silcclient/client.c and
2243           irssi/src/silc/core/client_ops.c.
2244
2245         * Check server private key file permissions before starting
2246           the server.  Affected file silcd/serverconfig.c.
2247
2248 Tue Feb  4 22:53:26 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2249
2250         * NULL terminate allocated string in silc_buffer_strformat.
2251           Affected file lib/silcutil/silcbuffmt.c.
2252
2253         * Rewrote the invite/ban list string handling in server to
2254           use SilcBuffer instead.  Affected files are silcd/command.c
2255           and silcd/server_util.c.
2256
2257 Mon Feb  3 14:43:52 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2258
2259         * Fixed double free in CMODE command when setting new HMAC
2260           for channel.  Affected file silcd/command.c.
2261
2262         * Added couple of missing memset's to zero sensitive memory.
2263           Affected files silcd/command.c, lib/silcclient/command.c.
2264
2265 Sun Jan 26 12:20:30 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2266
2267         * Fixed a double free in INVITE command error handling in
2268           server.  Affected file silcd/command.c.
2269
2270         * Added macros SILC_SWAB_[16|32] to swab byte order of
2271           16-bit and 32-bit unsigned integers.  Affected file
2272           lib/silcutil/silctypes.h.
2273
2274         * Use the SILC_SWAB_16 instead of htons() in server when
2275           handling ports since the ports in structures are always
2276           in little-endian order (regardless of platform).  Affected
2277           file silcd/serverid.c and silcd/server_backup.c.
2278
2279 Tue Jan 21 17:18:04 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2280
2281         * Send DISCONNECT in close admin command in server.  Affected
2282           file silcd/command.c.
2283
2284         * Check whether we are already connecting to a remote router
2285           (in addition of checking whether we are already connected)
2286           before creating new connection.  Affected file silcd/server.c.
2287
2288 Thu Jan 16 18:47:00 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2289
2290         * Added better compiler and compiler flags checking in
2291           configure.
2292
2293         * Check that socket is valid after QoS is applied to data.
2294           Affected file lib/silcutil/unix/silcunixsockconn.c.
2295
2296         * Make sure the socket connecetion is not closed to early
2297           when closing connection in server.  Also make sure the
2298           connection is always closed after error in a protocol.
2299           Affected file silcd/server.c.
2300
2301 Wed Jan 15 11:03:36 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2302
2303         * Removed --session and --dummy options from Irssi SILC Client.
2304           -d option is available only if --enable-debug was given.
2305           Affected files are irssi/src/silc/core/silc-core,
2306           irssi/src/core/session.c and irssi/src/fe-text/silc.c.
2307
2308 Tue Jan 14 12:25:09 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2309
2310         * Added silc_buffer_steal to steal the data from the buffer.
2311           Affected file lib/silcutil/silcbuffer.h.
2312
2313 Sat Jan 11 18:16:29 CET 2003  Giovanni Giacobbi <giovanni@giacobbi.net>
2314
2315         * Fixed server crash with double Primary block in config file.
2316
2317           Fixed also various memory leaks around the config file
2318           parser.  Affected files lib/silcutil/silcconfig.c,
2319           silcd/serverconfig.c.
2320
2321         * Changed my nickname (Johnny Mnemonic) to my real name, this
2322           means that bugs introduced by him were actually introduced
2323           by me!
2324
2325 Tue Jan  7 21:58:53 CET 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2326
2327         * Don't display "foo appears as foo\nYou're now known as foo"
2328           messages.  Affected file irssi/src/silc/core/client_ops.c
2329
2330 Tue Jan  7 20:08:15 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2331
2332         * Fixed error handling of invalid client entry when calling
2333           commands in server.  Fixes a crash.  Affected file
2334           silcd/command.c.
2335
2336 Thu Dec 26 14:19:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2337
2338         * Added some sanity checks in server for correctness of the
2339           server configuration.  Affected file silcd/serverconfig.c.
2340
2341 Fri Dec 20 10:47:59 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2342
2343         * Prevent endless resolving of user informations in USERS
2344           command by checking the command reply status correctly.
2345           Affected file lib/silcclient/command_reply.c.
2346
2347 Tue Dec 17 10:05:00 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2348
2349         * Fixed file writing on WIN32 to use O_BINARY flag.  Affected
2350           file is lib/silcutil/silcfileutil.c.  A patch by Matthew
2351           Aldous <Matthew@Aldous.com>.
2352
2353         * Added better implementation using CriticalSection of
2354           SilcMutex on WIN32.  A patch by Mikko Lähteenmäki
2355           <mikko.lahteenmaki@pikabaana.net>.
2356
2357         * Added some Winsock WIN32 compatiblity defines into
2358           includes/silcwin32.h.
2359
2360 Mon Dec 16 19:33:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2361
2362         * Fixed double free in async host lookup code.  Affected file
2363           lib/silcutil/silcsockconn.c.
2364
2365         * On backup router handle now the SERVER_SIGNOFF from router
2366           for local connected servers too, and close the connections.
2367
2368           Do not process them as normally signing off servers when they
2369           really signoff by sending EOF fe, but always assume that
2370           router sends the SERVER_SIGNOFF.
2371
2372           Affected files silcd/server.c and silcd/packet_receive.c.
2373
2374         * Fixed socket unsetting when closing connections.  Affected
2375           files silcd/server.c and silcd/packet_send.c.
2376
2377         * Do not print the nickname in SERVER_SIGNOFF if we do not
2378           have it.  Prevents asserts in Irssi core.  It is possible we
2379           don't have the nick if it was just being resolved when server
2380           signoff.  Affected file irssi/src/silc/core/client_ops.c.
2381
2382 Thu Dec 12 23:22:50 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2383
2384         * Fixed autonick crashbug in client library.  Affected file
2385           lib/silcclient/client.c.
2386
2387         * Fixed Unix implementation of SilcMutex to really assert if
2388           the mutex is locked/unlcoked already.  Affected file
2389           lib/silcutil/unix/silcunixmutex.c.
2390
2391         * Fixed locking in silc_schedule_uninit.  It didn't lock
2392           when dispatching timeout tasks.  Affected file is
2393           lib/silcutil/silcschedule.c.
2394
2395         * Changed Win32 implementation of SilcThread to use modern
2396           Win32 interface.  Affected file is
2397           lib/silcutil/win32/silcwin32thread.c  A patch by Mikko L.
2398
2399 Thu Dec 12 12:06:59 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2400
2401         * Don't print signed messages when sending failed.  Affected files
2402           irssi/src/silc/core/silc-[servers.c/commands.h]
2403
2404         * Send adquate signal when founding a channel by joing it.  Affect
2405           file irssi/src/silc/core/client_ops.c
2406
2407 Wed Dec 11 21:46:19 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2408
2409         * Fix theme abstracts parsing.  Affected files irssi/default.theme,
2410           irssi/src/fe-common/core/themes.c
2411
2412 Wed Dec 11 20:20:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2413
2414         * Fixed close command to use the port correctly when closing
2415           server connections.  Affected file silcd/idlist.c.
2416
2417         * Check for NULL outbuf in silc_socket_write.  It is possible
2418           that it is NULL is some odd case.  Affected files are
2419           lib/silcutil/[unix/win32]/silc[unix/win32]sockconn.c.
2420
2421         * Do not call final protocol callback for backup router
2422           resuming protocol when closing connection.  It is closed
2423           by timeout in case of error.  Affected file silcd/server.c.
2424
2425         * Backup reconnect to router if backup resuming protocol
2426           failed.  Affected file silcd/server_backup.c.
2427
2428 Wed Dec 11 10:01:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2429
2430         * Fixed double free in SKE library error hadling when signature
2431           error occurred.  Affected file lib/silcske/silcske.c.
2432
2433         * Save the fingerprint to new SilcClientEntry after changing
2434           nickname.  Affected file lib/silcclient/client_notify.c.
2435
2436         * Print SIGNOFF in Irssi SILC client only if the nickname is
2437           known.  Prevents asserts in Irssi core.  It is possible we
2438           don't have the nick if it was just being resolved when it
2439           quit.  Affected file irssi/src/silc/core/client_ops.c.
2440
2441 Tue Dec 10 21:47:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2442
2443         * Fixed double free in invite list adding code when adding
2444           invite strings.  Affected file silcd/server_util.c.
2445
2446 Fri Dec  6 17:40:24 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2447
2448         * More log printing during backup router protocol.  Affected
2449           file silcd/server_backup.c.
2450
2451         * Removed backwards support for old private key file format.
2452           Affected file lib/silccrypt/silcpkcs.c.
2453
2454         * Removed backwards support for not-so-strict decryption length
2455           check, it's strict now.  Affected lib/silccrypt/silccipher.c.
2456
2457         * GETKEY to update the client entrys fingerprint too.
2458           Affected file lib/silcclient/command_reply.c.
2459
2460         * Added --without-libtoolfix for package builders using weird
2461           wrappers around libtool (BSD at least).
2462
2463 Thu Dec  5 22:29:46 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2464
2465         * Fixed backup router bugs:  When backup resumes router and
2466           receives a CHANNEL_MESSAGE packet the backup must not act
2467           as router since the packet header decryption would be
2468           different.  Also, when relaying packets to channel, do
2469           not re-encrypt packets on backup that came from the primary
2470           since the connection isn't really router-router connection.
2471           Affected files silcd/server.c, silcd/packet_send.c.
2472
2473         * Added checks in encryption/decryption that encryption/decryption
2474           length sent as argument really is multiple by block size.  Helps
2475           catching really weird bugs like the above backup router bugs
2476           when packets are being decrypted in wrong way.  Affected files
2477           lib/silccore/silcpacket.c, and lib/silccrypt/silccipher.c.
2478
2479         * Fixed padding generation in private key file encryption.
2480           Affected file lib/silccrypt/silcpkcs.c.
2481
2482 Thu Dec  5 16:35:23 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2483
2484         * Added ignore_message_signatures setting which can be used
2485           to ignore signatures in messages.  Affected files are
2486           irssi/src/silc/core/client_ops.c, silc-core.c.
2487
2488         * Fixed the libtoolfix to use command line options instead of
2489           environment variables.  They didn't work as expected.  Now,
2490           the libtool is fully run-time configurable.
2491
2492 Wed Dec  4 21:08:52 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2493
2494         * Verify signature payload for signed messages. Affected files
2495           irssi/src/silc/core/client_ops.h, irssi/src/silc/core/silc-servers.c,
2496           irssi/src/silc/core/silc-core.h
2497
2498         * Display signature verification result in public and private
2499           messages using theme abstracts. See irssi/default.theme for
2500           examples on their usage. Affected files
2501           irssi/default.theme, irssi/src/fe-common/silc/fe-messages.h,
2502           irssi/src/fe-common/silc/module-formats.[ch],
2503           irssi/src/fe-common/silc/fe-common-silc.c,
2504           irssi/src/fe-common/silc/Makefile.am
2505           irssi/src/fe-common/core/fe-messages.[ch]
2506
2507         * Fixed bugs in Irssi's theme parsing. Affected files
2508           irssi/src/fe-common/core/themes.c
2509
2510 Wed Dec  4 18:29:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2511
2512         * Calculate the correct length for signed messages before
2513           encrypting, it must be multiple by block size.  Affected
2514           file lib/silccore/silcmessage.c.
2515
2516         * silc_message_signed_get_public_key returns now both
2517           decoded and encoded public key.  Affected files are
2518           lib/silccore/silcmessage.[ch].
2519
2520         * Added libtoolfix script that makes the libtool more generic
2521           and configurable in run-time.  Now we can specify in run-time
2522           if what kind of libraries we want to create, regardless of
2523           configuration.  SIMs are now creates even if --disable-shared
2524           was explicitly given.
2525
2526 Tue Dec  3 23:26:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2527
2528         * Fixed founder key sending in CMODE command in client.
2529           Affected file lib/silcclient/command.c.
2530
2531         * Fixed CUMODE founder authentication in server to not check
2532           for client's public key since it's not supposed to do that.
2533           Affected file silcd/command.c.
2534
2535 Tue Dec  3 12:02:41 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2536
2537         * Set realname and hostname in NICK_REC records. Affected file
2538           irssi/src/silc/core/silc-nicklist.c
2539
2540 Mon Dec  2 20:50:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2541
2542         * Remove 1.0 protocol backwards compat code from client
2543           library.
2544
2545         * Added more reliable check for whether nickname did change
2546           or not, or whether only Client ID changed in NICK_CHANGE
2547           notify.  Affected file lib/silcclient/client_notify.c.
2548           Fixes bug in '@' character handling in a nickname.
2549
2550         * Added support for automatically parsing signature from
2551           the message payload.  Added new function
2552           silc_message_get_signature to return the payload to
2553           application.  Affected files lib/silccore/silcmessage.[ch].
2554
2555         * Changed the private_message and channel_message client
2556           operations to deliver the SilcMessagePayload to the
2557           application too.  Application can use it fe. to get the
2558           signature from the message for verification.  Affected
2559           file lib/silcclient/silcclient.h, client_channel.c and
2560           client_prvmsg.c.
2561
2562         * Redefined the signed payload for message payloads.
2563           Updated protocol specs and implemented.
2564
2565 Mon Dec  2 16:28:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2566
2567         * Fixed wrong invite and ban list handling in server command
2568           reply.  Affected files are silcd/command_reply.c,
2569           silcd/server_util.[ch].
2570
2571 Sun Dec  1 20:48:17 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2572
2573         * Fixed CMODE setting in server when founder mode was set.
2574           Affected file silcd/command.c.  Bug #95.
2575
2576         * Added support to setting specific public key in CMODE in
2577           Irssi SILC client.  Affected file lib/silcclient/command.c.
2578
2579         * Added support to use specific public key in CUMODE in
2580           Irssi SILC Client.  Affected file lib/silcclient/command.c.
2581
2582         * Added support for inviting and banning by public key in
2583           Irssi SILC client.  Affected file lib/silcclient/command.c.
2584
2585         * Fixed fingerprint/babbleprint showing in invite and ban
2586           list command replys.  Affected file is
2587           irssi/src/silc/core/client_ops.c.
2588
2589 Sun Dec  1 16:32:03 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2590
2591         * Format CMODE +c and +h to display both the mode and the argument
2592
2593 Sun Dec  1 18:17:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2594
2595         * Added test vectors and test programs for SHA-1, MD5,
2596           HMAC-SHA1 and HMAC-MD5.  New tests are located in
2597           lib/silccrypt/tests/.  Fixed also argument decoding bug in
2598           MD5 implementation.  Affected file lib/silccrypt/md5.c.
2599
2600         * Changed the channel private key and private message key
2601           generation (with static keys) to use SHA1 instead of MD5,
2602           as SHA1 is the mandatory hash function in SILC.  Affected
2603           file lib/silcclient/client_[channel/prvmsg].c.
2604
2605         * Changed the private key file encryption to use SHA1 instead
2606           of MD5.  Added support for the old generation and added
2607           automatic change of the key (to be removed later).  Affected
2608           files lib/silccrypt/silcpkcs.c.
2609
2610 Sat Nov 30 19:07:52 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2611
2612         * Load only files with .pub suffix in PublicKeyDir.  Affected
2613           file silcd/serverconfig.c.
2614
2615 Sat Nov 30 14:29:34 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
2616
2617         * Extended the SILC_SERVER_LOG_ERROR macro to all available logging
2618           channels.  Affected files silcd/silcd.c, silcd/server.h.
2619
2620         * Added the config directive PublicKeyDir for the client block.
2621           Affected files doc/exampe_silcd.conf.in, silcd/serverconfig.[ch].
2622
2623 Sat Nov 30 09:30:55 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2624
2625         * Merged Toni's irssi/silc.conf patch.
2626
2627         * ROBODoc cleanup patch to lib/silccrypt/silcpkcs.h by johnny.
2628
2629         * Max alloc tests in allocation routines.  Affected file
2630           lib/silcutil/silcmemory.c.
2631
2632 Fri Nov 29 23:44:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2633
2634         * Fixed a typo in resuming code that fixed detach/resume code
2635           in server.  Bug #93.  Affected file silcd/packet_receive.c.
2636
2637 Thu Nov 28 17:17:11 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2638
2639         * Do reverse lookups for server when /connecting. Affected files
2640           irssi/silc.conf, irssi/src/core/servers.c, irssi/src/core/network.c,
2641           irssi/src/core/net-nonblock.*
2642
2643 Thu Nov 28 16:19:18 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2644
2645         * Added library versioning for shared libraries.  Affected
2646           files configure.in.pre and lib/Makefile.am.pre.
2647
2648 Wed Nov 27 21:51:52 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2649
2650         * Display INVITE and BAN lists as specified by SILC 1.2
2651
2652 Wed Nov 27 16:01:11 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2653
2654         * Do not send invite list back unless asked (when sending
2655           no arguments) or when list was modified.  Affected file
2656           silcd/command.c.
2657
2658         * Remove client from invite list in KILLED notify and in
2659           KILL command.  Affected file silcd/command.c and
2660           silcd/server.[ch].
2661
2662         * Fixed bugs in invite list handling in INVITE command.
2663           Affected files silcd/command.c and silcd/server_util.c.
2664
2665         * Merged with Irssi 0.8.6.
2666
2667         * Fixed UTF-8 in Irssi SILC Client, setlocale was missing.
2668           Affected file irssi/src/fe-text/silc.c.
2669
2670 Mon Nov 25 18:21:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2671
2672         * The silc_argument_get_[first/next] now return the argument
2673           type to caller.  Added silc_argument_payload_encode_one.
2674
2675           Affected files are lib/silccore/silcargument.[ch].
2676
2677         * Added support for the SILC 1.2 INVITE command and new
2678           invite lists to server.  Affected files are silcd/command.c,
2679           silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2680
2681         * Added support for the SILC 1.2 BAN command and new
2682           ban lists to server.  Affected files are silcd/command.c,
2683           silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2684
2685         * Added support to client sending new INVITE command.  Affected
2686           file is lib/silcclient/command.c.
2687
2688         * Added support to client sending new BAN command.  Affected
2689           file is lib/silcclient/command.c.
2690
2691         * Added support for removing client from invite list when kicked
2692           from channel, as SILC 1.2 dictates.  Affected files are
2693           silcd/packet_receive.c and silcd/command.c.
2694
2695 Sun Nov 24 18:26:42 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2696
2697         * If iv argument to silc_cipher_[encrypt/decrypt] is NULL, use
2698           automatically the cipher's internal IV.  Affected files
2699           lib/silccrypt/silccipher.[ch].
2700
2701         * Assure the RESUME_CLIENT packet is not sent to twice to
2702           backup router if the detached client was originated from
2703           the backup.  Affected file silcd/server.c.  Bug #76.
2704
2705         * Changed silc_sim_symname to not allocate memory.  Affected
2706           file lib/silcsim/silcsimutil.c.
2707
2708         * Fixed memory leaks with SIMs in server.  Affected files
2709           silcd/serverconfig.c, silcd/server.c.
2710
2711         * Fixed channel key distribution after resuming detached
2712           client.  Affected files silcd/packet_receive.c.
2713
2714         * Fixed channel's global_user boolean checking after detaching.
2715           Check it after changing the owner of the client not before.
2716           Affected file silcd/packet_receive.c.
2717
2718         * Fixed few double frees from client library.  Fixes at least
2719           Bug #81, possibly others too.
2720
2721         * UTF-8 decode topics also in JOIN command reply and TOPIC_SET
2722           notifys in Irssi SILC Client.  Affected file is
2723           irssi/src/silc/core/client_ops.c.  Bug #82.
2724
2725         * Applied Ville Räsänen's manual page and --mandir bugfix
2726           patch.  Affected files are configure.in.pre and Makefile.am.pre.
2727           Bug #88.
2728
2729 Fri Nov 22 18:34:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2730
2731         * Added support to backup router protocol for backup to tell
2732           normal server that it cannot use the backup router as primary
2733           because the primary isn't really down.  Updated protocol
2734           specs.
2735
2736         * Added support for primary router to tell backup router that
2737           resuming is not possible because the backup really isn't primary
2738           in the cell.  For example if backup disconnected itself the
2739           resuming is not allowed since the primary really did not
2740           go down.  Updated protocol specs.
2741
2742         * Removed MARS from crypto library.
2743
2744         * Defined the CTR mode and Randomized CBC mode in SILC.  The
2745           CTR mode is RECOMMENDED now in specification.  Defined also
2746           Serpent cipher as optional cipher.  Updated the protocol specs.
2747
2748 Thu Nov 21 12:43:28 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2749
2750         * Added support for inviting/banning by IP/MASK, public key,
2751           and explicit Client ID.  Redefined the command and notify
2752           types to allow easier forwards support for other methods
2753           of inviting/banning.  Updated protocol specs.
2754
2755         * Remove the client from channel's invite lists if the client
2756           is kicked or killed.  Updated protocol specs.
2757
2758         * Unified the Channel Message Payload and Private Message
2759           into one Message Payload.  Updated protocol specs and
2760           implemented.
2761
2762 Tue Nov 19 22:30:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2763
2764         * Don't wait for EOF after socket error has occurred, but
2765           close the connection.  Affected file is silcd/server.c.
2766
2767 Mon Nov 18 18:58:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2768
2769         * Added support for setting FOUNDER mode on channel with
2770           specific public key which can be set with CMODE command.
2771           Updated protocol specs and implemented in client and server.
2772
2773         * Fixed the Irssi SILC client to correctly shutdown the client
2774           library to avoid memory leaks.  Affected files are
2775           irssi/src/silc/core/silc-core.c and silc-servers.c.
2776
2777         * Deprecated the No Reply flag in SKE protocol and introduced
2778           "IV Included" flag which can be used to indicate that the IV
2779           is included in the ciphertext.  This makes it possible to use
2780           SILC on unreliable transport, such as UDP which may cause
2781           packet reordering and losses.  Updated protocol specs, did
2782           not implement yet.
2783
2784 Sun Nov 17 15:50:57 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2785
2786         * Fixed the MPI implementation of silc_mp_sizeinbase to return
2787           < 32 bit values in correct size.  Affected file is
2788           lib/silcmath/mp_mpi.c.
2789
2790 Sat Nov 16 13:14:45 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2791
2792         * Fixed the KE Start Payload parsing to check that mandatory
2793           fields are present.  Affected file lib/silcske/payload.c.
2794
2795         * Fixed compilation warnigs in Irssi SILC Client.  Affected
2796           files are irssi/src/silc/core/silc-query.c. client_ops.c.
2797
2798 Thu Nov 14 19:33:28 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2799
2800         * Print "nick now appears as newnick" and update Irssi's nicklist
2801           when you change your nick to "nick". Closes #62
2802
2803         * Never format your own nick. Closes #63
2804
2805 Thu Nov 14 09:44:54 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2806
2807         * SILC_UMODE_GONE changes are now propagated correctly to the
2808           Irssi client. Closes #54
2809
2810 Tue Nov 12 19:42:18 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2811
2812         * Fixed example in /HELP KEY
2813
2814         * Added expando $j which expands to current SILC Client version
2815
2816 Tue Nov 12 19:46:39 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2817
2818         * Fixed public key decoding in crypto library.
2819
2820         * Added better error printing to SKE library.
2821
2822 Tue Nov 12 08:50:12 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2823
2824         * Fixed NICK command to not crash if nickname was not sent.
2825
2826 Mon Nov 11 19:32:00 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2827
2828         * Added Encrypt-Then-MAC order to SILC packet MAC generation.
2829           Deprecated the old Encrypt-And-MAC order.  Updated protocol
2830           specs and implemented.
2831
2832         * Added Encrypt-Then-MAC order to Channel Message Payload MAC
2833           generation.  Updated specs and implemented.
2834
2835 Sun Nov 10 12:20:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2836
2837         * Added support for rekey before 2^32 sequence number wraps.
2838           Affected files in server and client library.
2839
2840         * Padding must be at least 8 bytes now.  Implemented and updated
2841           protocol specs.
2842
2843         * Compute maximum padding for authentication packets to make
2844           passphrase approximation attacks impossible.  Affected files
2845           in client library and in server.
2846
2847         * Fixed PING command sending in client library and handling in
2848           server.  The server ID must be ID Payload, not raw ID data.
2849           Affected files in server and client library.
2850
2851         * Defined that all public keys sent in commands and notify
2852           payloads are actually Public Key Payloads not raw public key
2853           data.  Updated protocol specs and implemented.
2854
2855         * Updated protocol version to 1.2.  Updated specs and code.
2856
2857         * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED
2858           status types.  Updated specs and the code.
2859
2860         * Added support for normal client to kill its own entries from
2861           the network.  Updated protocol specs and the code.
2862
2863         * Defined the SILC_MESSAGE_FLAG_SIGNED.  Updated protocol specs
2864           and added initial implementation.
2865
2866         * Added MAC field to the Private Message Payload to protect
2867           against chosen ciphertext attacks.  Updated the protocol specs
2868           and implemented.
2869
2870         * Added idle and signon fields to the ATTRIBUTE_SERVICE
2871           attribute to indicate the user's current idle and signon time
2872           of a service.  Updated protocol specs and implemented.
2873
2874 Thu Nov  7 19:21:10 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2875
2876         * Added "do_not_bind" argument to silc_client_file_send what
2877           can be used to not bind locally but assume the file receiver
2878           provides the point of connect.  Usefull when sender is behind
2879           NAT device.  Affected file lib/silcclient/silcclient.h and
2880           client_ftp.c.
2881
2882         * Added -no-listener option to FILE SEND command in Irssi SILC
2883           client.  Affected file irssi/src/silc/core/silc-servers.c.
2884           Renamed FILE RECEIVE to FILE ACCEPT.
2885
2886         * Confirm passphrase for private key encryption in
2887           silc_create_key_pair and silc_change_private_key_passphrase.
2888           Affected files are lib/silcutil/silcapputil.c.
2889
2890 Thu Nov  7 10:05:28 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2891
2892         * Move silc_client_packet_send back to internal, added
2893           silc_client_send_packet, a bit simpler function for application.
2894           Affected files lib/silcclient/silcclient.h, client.c and
2895           client_internal.h.
2896
2897         * Moved the SilcClientEntry, SilcChannelEntry and
2898           SilcServerEntry to silcclient.h to be public and documented
2899           them for application.  Affected files are
2900           lib/silcclient/silcclient.h and idlist.h.
2901
2902 Wed Nov  6 17:18:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2903
2904         * Fixed manual page installation patch by Ville Räsänen.
2905           USERS help page fix patch by Ville Räsänen
2906
2907         * Changed the silc_client_command_call interface to make
2908           the command call simpler for the application.  The library
2909           now handles the command line parsing, command finding and
2910           execution.  Application only needs to call the function
2911           with the command line.  Affected files are
2912           lib/silcclient/silcclient.h, command.[ch].
2913
2914         * Fixed silc_get_input to NULL-terminate the returned input.
2915           Affected file lib/silcutil/silcutil.c.
2916
2917         * Resolve the client's public key in JOIN command if the
2918           founder auth data is being requested but we don't know the
2919           client's public key.  Affected file silcd/command.c.
2920           Bug #53.
2921
2922 Mon Nov  4 16:02:59 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2923
2924         * Print notify for server opers when backup router comes
2925           online.  Affected file silcd/server.c.
2926
2927         * Fixed the INVITE command to send the invite list in
2928           command reply.  Affected file silcd/command_reply.c.
2929
2930         * Fixed MOTD command reply sending.  Affected file
2931           silcd/command.c.
2932
2933         * UTF-8 decode the topic in TOPIC command reply and LIST
2934           command reply in Irssi SILC client.  Affected file is
2935           irssi/src/silc/core/client_ops.c.
2936
2937 Sun Nov  3 17:59:15 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2938
2939         * Fixed the INVITE command to not crash Irssi SILC client
2940           when given without nickname argument.  AFfected file
2941           irssi/src/silc/core/client_ops.c.
2942
2943         * Fixed double free in WHOIS query on normal server when
2944           forwarding query to router.  Affected file is
2945           silcd/server_query.c.
2946
2947         * Fixed WATCH command reply handling on normal server which
2948           was missing altogether.  Affected file silcd/command_reply.c.
2949           Bug #44.
2950
2951 Sun Nov  3 00:42:05 EET 2002  Mika Boström <bostik@lut.fi>
2952
2953         * Added man-pages for silc(1), silcd(8) and silcd.conf(5).
2954           Included yodl sources for each of these. Also modified
2955           Makefile.am prototype to install these files to proper
2956           locations. Updated CREDITS. Affected file Makefile.am.pre,
2957           new files doc/*.yo, doc/silc.1, doc/silcd.conf.5,
2958           doc/silcd.8.
2959
2960 Sat Nov  2 21:26:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2961
2962         * Added support for encrypted private key files.  Now
2963           passphrase must be provided when new key pair is created
2964           (can be empty though), and prompted when loading the
2965           private key.  Added support for loading the old-style
2966           non-encrypted private keys as well.  Affected files
2967           lib/silccrypt/silcpkcs.[ch], Irssi SILC client and
2968           SILC Server.
2969
2970         * Fixed silc_get_input to accept input on all terminals.
2971           Affected file lib/silcutil/silcutil.c.
2972
2973         * Moved the Irssi SILC client key loading and other stuff
2974           to be called after the arguments and UI is initialized.
2975           Affected file irssi/src/silc/core/silc-core.c.  Bug #31.
2976
2977         * Added -P option to Irssi SILC client which can be used
2978           to change the passphrase of the private key.  Affected
2979           file irssi/src/silc/core/silc-core.c.
2980
2981         * Added silc_change_private_key_passphrase apputil routine
2982           to lib/silcutil/silcapputil.[ch].
2983
2984 Sat Nov  2 12:53:09 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2985
2986         * Fixed connection closing in client library to not crash.
2987           Moved the connection freeing totally to function
2988           silc_clinet_del_connection.  Affected file
2989           lib/silcclinet/client.c.
2990
2991 Fri Nov  1 18:57:02 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2992
2993         * Changed includes/silcincludes.h to silcincludes.h.in to
2994           include configuration specific information.  The silcdefs.h
2995           is not included in to installation anymore (it's only
2996           compilation time header).
2997
2998 Fri Nov  1 10:30:26 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2999
3000         * Moved the SilcClient and SilcClientConnection from client.h
3001           to the public lib/silcclient/silcclient.h.  Changed the
3002           structures a bit.
3003
3004 Thu Oct 31 22:44:07 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3005
3006         * If version string in silc_clinet_alloc is NULL the library
3007           puts it automatically.  Affected file lib/silcclient/client.c.
3008
3009         * Changed the version strings from variables to #define's
3010           in includes/silcversion.h.
3011
3012 Wed Oct 30 16:17:30 CET 2002  Pekka Riikonen <priikone@silcnet.org>
3013
3014         * Added shared library complation support.
3015
3016 Tue Oct 29 21:48:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3017
3018         * Added lib/silcutil/silcapputil.[ch] for application
3019           utility functions.  It includes routines for applications'
3020           convenience.  Added silc_create_key_pair, silc_show_public_key
3021           and silc_load_key_pair functions.
3022
3023 Tue Oct 29 17:36:44 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3024
3025         * Send RESUME_CLIENT packet from router to backup routers
3026           to in resuming.  Affected file silcd/packet_receive.c.
3027
3028 Mon Oct 28 21:23:39 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3029
3030         * In IDENTIFY command parsing, send all other IDs except
3031           Client IDs explicitly to router for resolving on normal
3032           server.  Also check that ID received in WHOIS command is
3033           always Client ID, others are not allowed.  Affected file
3034           silcd/server_query.c.
3035
3036         * Merged latest changes from irssi.org CVS.
3037
3038 Sun Oct 27 11:44:32 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3039
3040         * Merged c0ffee's /set heartbeat patch to Irssi SILC client.
3041           Affected files irssi/src/silc/core/silc-core, silc-server.c.
3042
3043         * Fixed the heartbeat sending in Irssi SILC client.  Moved
3044           the silc_client_packet_send to silcclient.h for application
3045           usage.  Affected files lib/silcclient/client_internal.h
3046           lib/silcclient/silcclient.h.
3047
3048         * Fixed a bug in query resolving in server.  Used wrong
3049           variable in a for loop and crashed.  Affected file is
3050           silcd/server_query.c.
3051
3052         * Server constructs requested attributes only to locally
3053           connected clients.  Affected file silcd/server_query.c.
3054           Bug #36.
3055
3056         * Fixed a bug when sending resolving from router to server
3057           with requested attributes.  The constructed WHOIS command
3058           was incorrect.  Affected file silcd/server_query.c.
3059           Bug #38.
3060
3061         * Fixed Requested Attributes saving in WHOIS command reply.
3062           The length of the data buffer must be saved too.  Affected
3063           file silcd/command_reply.c.
3064
3065         * Update the client entry's servername after detaching is
3066           over.  Affected file silcd/packet_receive.c.  Bug #37.
3067
3068         * Resolve incomplete client entrys in CUMODE_CHANGE and
3069           CMODE_CHANGE notifys.  Affected file is
3070           lib/silcclient/client_notify.c.  Bug #42.
3071
3072 Thu Oct 24 12:22:35 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3073
3074         * Fixed channel key packet processing bug on backup router
3075           during backup resuming protocol.  Affected file is
3076           silcd/packet_receive.c.
3077
3078         * Fixed memory leaks in server.  Affected files are
3079           silcd/server.c and silcd/packet_receive.c.
3080
3081         * Fixed packet decryption problem when backup router encrypted
3082           channel message with wrong key during backup resuming
3083           protocol.  Affected file silcd/packet_send.c.
3084
3085         * ROBODoc documented lib/silccrypt/silccipher.h.  A patch by
3086           Toni Willberg (toniw@iki.fi)
3087
3088         * Changed the SilcCipher context to be private.  Changed the
3089           silc_cipher_get_iv to just return pointer to the IV.  Added
3090           silc_cipher_get_name to return the name of the cipher.
3091           Fixed code all around to support these changes.  Affected
3092           files are lib/silccrypt/silccipher.[ch], client library and
3093           server.
3094
3095 Wed Oct 23 19:01:41 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3096
3097         * Fixed unaligned access in lib/silccore/silcattrs.c.
3098
3099         * Fixed libtool linking in lib/silcsim/Makefile.am.
3100
3101         * Fixed services attribute printing.  Affected files is
3102           irssi/src/silc/core/silc-queries.c.
3103
3104 Wed Oct 23 09:51:04 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3105
3106         * Fixed a crashbug in incoming server accepting.  Affected
3107           file silcd/server.c.
3108
3109 Tue Oct 22 13:02:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3110
3111         * Added automatically generated index to Toolkit Reference
3112           Manual.
3113
3114         * Added support for Postscript Toolkit Reference Manual.
3115
3116 Mon Oct 21 21:30:40 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3117
3118         * Merged DISCONNECT fix, and autoconn port fix from Irssi
3119           CVS.
3120
3121 Sun Oct 20 19:54:55 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3122
3123         * Added 'send_events' boolean argument to the function
3124           silc_schedule_set_listen_fd which sends the set events to
3125           the application explicitly if set to TRUE.  Default action
3126           should be FALSE.  Affected file lib/silcutil/silcschedule.[ch],
3127           lib/silcclient/client_internal.h and silcd/server_internal.h.
3128
3129         * Added silc_compare_timeval to determine which time values
3130           is smaller.  Affected file lib/silcutil/silcutil.[ch].
3131
3132         * Added sort-of "Quality of Service" (QoS) support to
3133           SilcSocketConnection.  Data reception can be controlled with
3134           rate limit per second and/or read data length limit.
3135           Added silc_socket_set_qos.  Affected files are
3136           lib/silcutil/silcsockconn.[ch] and unix/silcunixsockconn.c.
3137
3138         * Added the QoS configuration to SILC Server configuration
3139           file.  Affected files are silcd/serverconfig.[ch] and
3140           server.c.
3141
3142 Sun Oct 20 14:12:24 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3143
3144         * Merged with irssi.org CVS.
3145
3146         * Failed OPER and SILCOPER authentications are now logged.
3147           Affected file silcd/command.c.  Bugs #25.
3148
3149 Sat Oct 19 13:32:15 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3150
3151         * ROBODoc documented lib/silcutil/silcbuffer.h and
3152           lib/silcutil/silcdlist.h.  Patch by Ville Räsänen
3153           <ville.rasanen@iki.fi>.
3154
3155 Fri Oct 18 10:51:04 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3156
3157         * Added support for auto-passphrase authentication from the
3158           config file during connecting which was not implemented
3159           yet.  Affected file irssi/src/silc/core/client_ops.c.
3160
3161         * Fixed a bug in authentication protocol failure handling which
3162           was processing wrong callback context.  Affected files
3163           are lib/silcclient/client.c and protocol.c.
3164
3165         * Fixed the /ATTR allow off to actually work.  Affected file
3166           is irssi/src/silc/core/silc-queries.c.
3167
3168         * Fixed the /ATTR -del to work.  Affected file is
3169           irssi/src/silc/core/silc-queries.c.
3170
3171 Thu Oct 17 23:45:12 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3172
3173         * Fixed string formatting crashbug in lib/silccore/silcattrs.c.
3174
3175         * Fixed mask attribute adding in Irssi SILC client.  Affected
3176           file irssi/src/silc/core/silc-queries.c.
3177
3178 Thu Oct 17 16:40:39 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3179
3180         * Added support for saving the requested attributes in
3181           WHOIS to directory.  Affected file is
3182           irssi/src/silc/core/silc-queries.c.
3183
3184 Wed Oct 16 17:40:56 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3185
3186         * Added support for parsing VCard fields that do not have
3187           the TYPE= for types.  Affected file lib/silcutil/silcvcard.c.
3188
3189         * Fixed a double free bug in hash table foreach function
3190           if the entry was deleted in the foreach callback.  Affected
3191           file lib/silcutil/silchashtable.c.
3192
3193 Tue Oct 15 18:05:24 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3194
3195         * Added silc_attribute_get_verify_data to return the signature
3196           verification data for either user digital signature or
3197           server digital signature in Requested Attributes.  Affected
3198           files are lib/silccore/silcattrs.[ch].
3199
3200         * Added silc_vcard_alloc which is used to allocated dynamic
3201           SilcVCard context.  The silc_vcard_free now checks whether
3202           the context is dynamically allocated or not.  Affected files
3203           are lib/silcutil/silcvcard.[ch].
3204
3205 Mon Oct 14 17:55:44 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3206
3207         * Periodically remove the NOATTR status from client entry
3208           so that the client may take the attributes in use even after
3209           server has resolved them unsuccessfully earlier.  Affected
3210           file silcd/server_query.c and idlist.h.
3211
3212         * Moved sha1hash and md5hash from client->internal to
3213           SilcClient for application usage.  Affected files are
3214           lib/silcclient/client.h and client_internal.h.
3215
3216         * Fixed attribute encoding and decoding bugs.  Affected
3217           files lib/silccore/silcattrs.[ch].
3218
3219         * Added ATTR command to Irssi SILC Client which is used to
3220           manage user's Requested Attributes sending and values for
3221           WHOIS command.  Affected files around Irssi SILC client.
3222
3223 Mon Oct 14 14:33:54 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3224
3225         * Added silc_buffer_strformat which can be used to format
3226           strings into a buffer which size is automatically increased.
3227           Affected file lib/silcutil/silcbuffmt.[ch].
3228
3229         * Added implementation of VCard (RFC 2426) which can be used
3230           as part of Requested Attributes in WHOIS command.  Affected
3231           file lib/silcutil/silcvcard.[ch].
3232
3233 Fri Oct 11 23:52:17 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3234
3235         * Some strncat -> silc_strncat changes our the core and
3236           client library.
3237
3238         * Added SILC_SKE_STATUS_SIGNATURE_ERROR and OUT_OF_MEMORY
3239           errors.  Added better error printing to SKE library.
3240           Affected files lib/silcske/silcske.c, silcske_status.h and
3241           payload.c.
3242
3243         * Save the PKCS key length even if only private key is set to
3244           SilcPKCS.  Affected file lib/silccrypt/silcpkcs.[ch] and rsa.c.
3245
3246         * Fixed the usage of silc_pkcs_get_key_len since it returns the
3247           length in bits not in bytes.  Affected files are
3248           lib/silcske/silcske.c, lib/silccore/silcauth.c and
3249           silcd/server_query.c.
3250
3251 Wed Oct  9 17:22:57 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3252
3253         * Added silc_attribute_payload_encode_data to directly encode
3254           the data into the attributes buffer.  Renamed function
3255           silc_attribute_payload_parse_list to silc_attribute_payload_parse.
3256           Affected files are lib/silccore/silcattrs.[ch].
3257
3258         * silc_hash_table_find_foreach calls the foreach function now
3259           once even if the nothing was found with context set to NULL.
3260           Affected file lib/silcutil/silchashtable.[ch].
3261
3262         * Remove the RESOLVING flag from client entry after received
3263           the Requested Attributes from the client.  Fixed memory leak
3264           in client entry freeing.  Affected files silcd/server_query.c
3265           and idlist.c.
3266
3267         * Added Requested Attributes support into SILC Client Library.
3268           It is not able to send requested attributes in WHOIS command,
3269           and also receive and process requested attributes.  Added
3270           silc_client_attribute_[add|del] and silc_client_attributes_get
3271           functions.  Added also `ignore_requested_attributes' to the
3272           SilcClientParams to not use attributes in client.  Affected
3273           files are lib/silcclient/command.c, client_attrs.[ch],
3274           silcclient.h, client_internal and client.[ch].
3275
3276         * Changed the silc_client_get_client_by_id to support Requested
3277           Attributes, it takes them as argument now.  Affected file
3278           is lib/silcclient/silcclient.h, and idlist.c.
3279
3280         * Added -details option to WHOIS command in Irssi SILC Client
3281           to support the requested attributes.  By default it requests
3282           all attributes.  Affected file lib/silcclient/command.c and
3283           irssi/doc/help/in/whois.in.
3284
3285 Tue Oct  8 17:58:28 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3286
3287         * Add also SERVICE attribute for server-constructed attribute
3288           data.  Also digitally sign the attributes and add
3289           SERVER_DIGITAL_SIGNATURE attribute.  Affected file is
3290           silcd/server_query.c.
3291
3292 Mon Oct  7 18:25:35 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3293
3294         * Changed the silc_attribute_payload_encode to support list
3295           of attributes (function may be called several times to add
3296           a new attribute).  Removed the silc_attribute_payload_encode_list
3297           function.  The encoding function now also automatically encodes
3298           the data, so the caller does not need to do that.  Affected
3299           files lib/silccore/silcattrs.[ch].
3300
3301         * Added support for replying on behalf of the user to the
3302           Requested Attributes in WHOIS command in the server.  Affected
3303           file silcd/server_query.c.
3304
3305         * SILC_NOT_IMPLEMENTED macro use SILC_LOG_INFO now instead of
3306           SILC_LOG_DEBUG.  Affected file lib/silcutil/silclog.h.
3307
3308 Sun Oct  6 16:48:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3309
3310         * Don't swtich to become primary router if we are backup if
3311           decryption error has occurred.  Affected file silcd/server.c.
3312
3313         * Fixed a bug in backup router IP address comparison in
3314           silc_server_backup_get.
3315
3316           Save now also the port of the server/router and use that
3317           in comparison as well.  Affected file silcd/server_backup.c.
3318
3319         * Normal server now reconnects to backup router automatically
3320           if connection is lost to it.  Affected file silcd/server.c.
3321
3322 Thu Sep 26 13:51:02 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3323
3324         * If packet processing fails (like integrity check fails)
3325           the connection is closed now.  Affected files are
3326           lib/silccore/silcpacket.c and silcd/server.c.
3327
3328 Mon Sep 23 10:59:39 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3329
3330         * Fixed double free in RSA public key set function
3331           silc_rsa_set_public_key.  Affected file lib/silccrypt/rsa.c.
3332           Bug #29.
3333
3334 Sun Sep 22 14:54:05 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3335
3336         * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server.
3337           Added server_query.[ch] which provides one interface for
3338           querying information using all three commands.
3339
3340         * Changed all "typedef unsigned char" in core library to
3341           "typedef SilcUInt8".
3342
3343 Sat Sep 21 21:36:45 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3344
3345         * Added silc_strncat into lib/silcutil/silcstrutil.[ch].
3346
3347         * Renamed silc_server_get_client_resolve to
3348           silc_server_query_resolve and moved to server_query.[ch].
3349
3350 Wed Sep 18 18:28:04 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3351
3352         * Resumed client packet handling from server put the resumed
3353           client on wrong list on router and caused the client not
3354           be present on the network anymore.  Now fixed to put the
3355           client to correct list.  Affected file silcd/packet_receive.c.
3356
3357 Wed Sep 18 15:13:48 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
3358
3359         * Various cleanup in error message output in config parsing code
3360           and in server init code.  Fixed error log files containing
3361           too many newlines ('\n') in some situations.  Affected files are
3362           silcd/serverconfig.c, silcd/silcd.c, and silcd/server.c.
3363
3364 Wed Sep 18 10:51:23 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3365
3366         * Use the reverse lookupped hostname in client internals
3367           instead of one user provided us as remote server name.
3368           Affected file lib/silcclient/client.c.
3369
3370 Mon Sep 16 12:02:54 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3371
3372         * Added 'app_context' to silc_schedule_init.  It is an
3373           application specific context that is delivered to application
3374           in task callback functions.  Affected files are
3375           lib/silcutil/silcutil.[ch].
3376
3377         * The hb_context in SilcSocketConnection is not freed
3378           automatically anymore (application must free it).  Freeing
3379           it automatic is inconsistent.  Affected files are
3380           lib/silcutil/silcsockconn.[ch].
3381
3382 Sun Sep 15 22:16:19 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3383
3384         * Added support for removing explicitly added client connections
3385           in rehash and closing the client connections if they were
3386           unconfigured in the rehash.  Affected file silcd/server.c.
3387
3388         * Added support for aborting automatically pending commands
3389           that never receives the reply (to avoid memory leaks).
3390           Added also silc_server_command_pending_timed to set the
3391           specific timeout for pending command.  Affected files are
3392           silcd/command[_reply].[ch].
3393
3394         * Added SILC_STATUS_ERR_TIMEDOUT status.  Updated protocol
3395           specs and lib/silccore/silcstatus.h.
3396
3397 Sun Sep 15 12:25:10 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3398
3399         * Changed the silc_get_time to accept time value as argument
3400           or if zero is sent return current local time.  Affected
3401           file lib/silcutil/silcutil.[ch].
3402
3403         * Added STATS command to client library and Irssi SILC client.
3404           Patch provided by Ville Räsänen <ville.rasanen@iki.fi>.
3405
3406 Wed Sep 11 09:22:00 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3407
3408         * Assure that channel key is set before sending it.  May
3409           crash server otherwise.  Affected file silcd/packet_send.c.
3410
3411 Tue Sep 10 09:50:08 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3412
3413         * Assure that endless loop cannot happen with detached client
3414           resolving on normal server.  Added idlist status
3415           SILC_IDLIST_STATUS_RESUME_RES.   Affected files are
3416           silcd/idlist.h and silcd/packet_receive.c.
3417
3418 Mon Sep  9 12:18:18 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3419
3420         * Incoming file transfer request cannot use same session as
3421           the sending session.  This can happen when sending file to
3422           yourself.  Crashed the client on quit.  Affected file
3423           lib/silcclient/client_ftp.c.  Bug #24.
3424
3425 Sun Sep  8 18:39:25 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3426
3427         * Implemented the draft-riikonen-precense-attrs draft and
3428           the Attribute Payload into the lib/silccore/silcattrs.[ch].
3429
3430 Sun Sep  8 13:13:44 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3431
3432         * Distribute the SERVER_SIGNOFF notify also to local backup
3433           routers from the primary router.  The backup router may not
3434           have the signing of local server directly connected and need
3435           to know about the signoff.  Affected file silcd/server_util.c.
3436
3437         * Use the primary router as the origin of the locally connected
3438           server when it is disconnecting from the backup router since
3439           that's where it really is coming from.  Now the clients from
3440           the disconnecting server are removed correctly and "shadow"
3441           clients are not left to the backup router.  Affected file
3442           silcd/server.c.
3443
3444 Sat Sep  7 22:26:50 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3445
3446         * If normal server is standalone and found existing but disabled
3447           channel, do not re-create the channel since it creates
3448           duplicate same channels.  Affected file silcd/server.c.
3449
3450         * Added anonymous client connections support to server.  New
3451           "anonymous" configuration option to ConnectionParams section
3452           added.  If set to true, the username and hostname information
3453           of the client will be scrambled and anonymous user mode is
3454           set automatically to the user.  Affected files are
3455           silcd/serverconfig.[ch], silcd/packet_receive.c and server.c.
3456
3457 Sat Sep  7 16:02:09 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3458
3459         * In JOIN notify handling, mark that the cache entry of the
3460           client cannot be expired.  Can cause crashes on normal
3461           server (asserts client->channels).  Affected file is
3462           silcd/packet_receive.c.
3463
3464         * From now on distribution versions are used as protocol versions
3465           instead of by default using the Toolkit base version as protocol
3466           version.  Affected file prepare.
3467
3468         * Do not set the locally resolved hostname for local client
3469           entry but take what server sends.  This way the real hostname
3470           is showed in WHOIS for yourself.  Affected file is
3471           lib/silcclient/idlist.c and lib/silcclient/client.c.
3472
3473         * Resolve local info with IDENTIFY when connecting to server.y
3474
3475 Sat Sep  7 14:22:43 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3476
3477         * Rewritten check for POSIX threads.  Use --with-pthreads[=DIR]
3478           for implied search (not needed on platforms which has native
3479           pthreads library).  Use --without-pthreads to disable threads.
3480           Affected file is configure.in.pre
3481
3482         * Fixed --with-iconv on platforms which need to bypass (broken)
3483           native iconv().  Affected file is configure.in.pre
3484
3485 Sat Sep  7 15:08:13 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3486
3487         * Moved -C option parsing in Irssi SILC client at same time
3488           as other options.  The UI was initialized earlier and caused
3489           problems on command line.  Bug #16.  Affected file is
3490           irssi/src/silc/core/silc-core.c.
3491
3492 Mon Sep  2 23:00:30 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3493
3494         * Added global variable silc_log_timestamp that tells silclog
3495           wether to print or not the timestamp in the logging files.
3496           Affected file lib/silcutil/silclog.[ch].
3497
3498         * Added silcd configuration option Timestamp in the Logging
3499           section.  Affected file silcd/serverconfig.[ch],
3500           doc/example_silcd.conf.in.
3501
3502 Fri Aug 30 08:57:33 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3503
3504         * Fixed fingerprint checking to check for entirely empty
3505           fingerprint instead of two first bytes when determining
3506           if it is set.  Bug #18.  Affected file silcd/command.c.
3507
3508         * Fixed duplicate PKCS name registering to not allow it.
3509           Bugs #17.  Affected file lib/silccrypt/silcpkcs.c.
3510
3511 Sun Aug 25 08:02:04 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3512
3513         * Conditionalize non-gcc compiler optimizations for various
3514           platforms, enable those commented out.  Cleanups.
3515           Affected file lib/silcmath/mpi/configure.in
3516
3517 Sat Aug 24 15:11:32 EEST 2002 Timo Sirainen <tss@iki.fi>
3518
3519         * silc_rng_exec_command() left zombie processes if command
3520           didn't generate any output.  Affected file
3521           lib/silccrypt/silcrng.c
3522
3523 Fri Aug 23 22:05:44 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3524
3525         * Rewrote iconv checking, introduce --with-iconv for systems
3526           which rely on libiconv.  Check if iconv() provided by libc
3527           is good enough, otherwise demand libiconv.  Affected file
3528           configure.in.pre
3529
3530 Fri Aug 23 07:10:52 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3531
3532         * Search for ldopen() also in libc.  This enables SIM support
3533           on *BSD systems.  Based on patch from Alex Zepeda.  Affected
3534           file configure.in.pre
3535
3536 Sun Aug 18 04:44:30 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3537
3538         * Don't call AM_CONDITIONAL conditonally for SILC_THREADS.
3539           This fixes prepare on *BSD systems.  Affected file
3540           configure.in.pre
3541
3542 Sun Aug  4 15:55:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3543
3544         * More fixed for not having purge timeout for global clients
3545           that are on channel.  Affected files silcd/command_reply.c
3546           and server_util.c.
3547
3548         * Fixed the rekey protocol to work with backup router connections.
3549           Rekey packets are now allowed on disabled connections as
3550           well.  Affected files silcd/packet_send.c and server.c.
3551
3552         * Do not switch to be as backup router when shutting down and
3553           closing the primary connection.  Affected file silcd/server.c.
3554
3555         * Fixed memory leaks in backup router deleting.  Added
3556           silc_server_backup_free to free all data during shutdown of
3557           server.  Affected files silcd/server_backup.[ch].
3558
3559 Sun Jul 14 21:33:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3560
3561         * Do not process commands if the sock->user_data is NULL.
3562           Affected file silcd/command.c.
3563
3564 Tue Jul  9 19:03:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3565
3566         * Fixed buffer overflow and security problems (loosing bits
3567           in CFB encryption) in SILC RNG.  Problems reported by
3568           Markku-Juhani O. Saarinen <mjos@saturn.tcs.hut.fi>.
3569
3570 Sun Jul  7 13:10:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3571
3572         * Added yet more checks that client is not expired on global
3573           list if it is on channels.  Affected file is
3574           silcd/command_reply.c.
3575
3576 Sat Jul  6 11:45:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3577
3578         * Merged c0ffee's MIME signal patch which adds support for
3579           sending also MIME messages in Irssi SILC Client, and handling
3580           received MIME messages in a signal (and perhaps doing something
3581           to non-textual MIME messages).
3582
3583 Sun Jun 30 01:30:22 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3584
3585         * Fixed pending command deletion in server and client library
3586           to check the whole list instead of breaking after first found.
3587           The affected files are silcd/command.[ch] and
3588           lib/silcclient/command.[ch].
3589
3590 Sat Jun 29 17:40:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3591
3592         * Return NO_SUCH_CHANNEL error in USERS for channel that is
3593           secret or private, otherwise it's possible to find out
3594           whether a secret channel exists or not.  Affected file
3595           silcd/command.c.
3596
3597         * If CMODE change fails during the mode setting, assure that
3598           the old mode mask is set for the channel back.  Affected
3599           file silcd/command.c.
3600
3601         * Fixed passphrase saving on +a channel on normal server
3602           after successful JOIN command.  Affected file silcd/command.c.
3603
3604 Fri Jun 28 11:53:25 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3605
3606         * Remove server/router operator privileges in DETACH command,
3607           since it's possible to resume to server where these
3608           privileges would not be allowed for the client.  Affected
3609           file silcd/command.c.
3610
3611         * Do not set to wait for backup in rehash of the server.
3612           Affected file silcd/server.c.
3613
3614         * Do not check listener sockets when counting how many
3615           socket connections we have.  Affected file is
3616           silcd/server_util.c.
3617
3618         * Do not announce disconnected clients that are remaining
3619           in history (for WHOWAS).  This is because SIGNOFF notify
3620           for these has been sent earlier already.  Affected file
3621           silcd/server.c.
3622
3623 Thu Jun 27 20:07:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3624
3625         * Buffer overflow with CUMODE command's mode->mode character
3626           conversion.  Reported by Ville Räsänen.  Affected file
3627           lib/silcutil/silcutil.c.
3628
3629 Thu Jun 27 16:54:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3630
3631         * Allow heartbeat packets to go disabled connections anyway.
3632           Affected files silcd/server.c and silcd/packet_send.c.
3633
3634         * Do not broadcast New Channel packets with List flag set
3635           in the packet to backup routers.  The router must check
3636           for the correctness of the packets before sending them.
3637           It is possible that router will have enforce Channel ID
3638           change and this would cause desync in the backup router.
3639           Affected file silcd/packet_receive.c.
3640
3641         * Remove SILC_PACKET_FLAG_LIST from the temp packets that
3642           are handled in list parsing.  They are not list packets
3643           anymore.  Affected file silcd/packet_receive.c.
3644
3645 Thu Jun 27 11:27:07 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3646
3647         * Stop waiting for backup router through the timeout, not
3648           directly after backup router has arrived.  Affected file
3649           silcd/server.c.
3650
3651         * Do not re-create channel keys and send them when removing
3652           clients in server shutdown.  Affected files are
3653           silcd/server_internal.h and silcd/server_util.c.
3654
3655         * Notify distribution to backup routers was missing from
3656           the silc_server_send_notify_dest function which caused
3657           desyncing problems with backup router.  Affected file is
3658           silcd/packet_send.c.
3659
3660         * The client's channel removing was working wrong on
3661           backup router.  It assumed that it doesn't know global
3662           information but backup router does know.  For this reason
3663           it could remove channel when it wasn't supposed to do that.
3664           Affected file silcd/server.c and silcd/server_util.c.
3665
3666 Wed Jun 26 15:14:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3667
3668         * Stop for a couple seconds after badkup router has become
3669           primary router.  Affected file silcd/server.c.
3670
3671         * Added silc_server_remove_servers_by_server, which is used
3672           to remove servers originated from some other server.  Also
3673           clients of those servers can be removed too.  Affected file
3674           silcd/server_util.[ch].
3675
3676         * When removing clients after a server has signed of remove
3677           also all servers behind that server (unless they are known
3678           to be available locally), and send SERVER_SIGNOFF for each
3679           of the server separately.  Also the signed off clients are
3680           sent now separately per signed off server.  The affected files
3681           are silcd/server.c and silcd/server_util.[ch].
3682
3683         * All servers added with silc_idlist_add_server must always
3684           have both "router" and "connection" pointers set.  Otherwise,
3685           bad server entries may be left around in the cache.
3686           Affected file silcd/command_reply.c.
3687
3688         * Do not create the channel key in NEW_CHANNEL packet
3689           processing if the channel is empty.  Affected file
3690           silcd/packet_receive.c.
3691
3692         * Completed backup router support for standalone routers.
3693           Supports also servers in the cell that do not use the backup
3694           at all.
3695
3696 Wed Jun 26 10:38:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3697
3698         * Fixed a bug in silc_string_regexify which did not add '^'
3699           at the start of each string, and thus the matching was
3700           not explicit.  For example ban list iikone@*!*@* would
3701           match also "priikone", which is wrong, it would have to be
3702           *iikone@*!*@* to match also "priikone".  Affected
3703           file lib/silcutil/unix/silcunixutil.c.
3704
3705 Tue Jun 25 18:47:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3706
3707         * Enable all local server connections before updating client
3708           caches when we've become backup router.  Otherwise, signoff
3709           packets may not reach the clients.  Affected files are
3710           silcd/server.c and silcd/server_util.[ch].
3711
3712         * Fixed a bug in version string parsing which could crash
3713           the program with specially formatted version string.
3714           Bug reported and patch provided by Ville Räsänen.  Affected
3715           file lib/silcutil/silcutil.c.
3716
3717         * Handle the disconnection immediately when DISCONNECT
3718           packet is received in server.  Affected file silcd/server.c.
3719
3720         * Primary router now waits a short time (10 seconds) for
3721           backup router connection before accepting any other
3722           connection (except local).  Affected file silcd/server.c,
3723           serverconfig.[ch].
3724
3725         * Fixed a crash in client libary in NICK_CHANGE notify when
3726           NICK_CHANGE arrived for client entry we are resolving
3727           currently.  Affected file lib/silcclient/client_notify.c.
3728
3729         * Call the sconn->callback completion even if error had
3730           occurred.  Start reconnecting always if connection to
3731           primary router fails during backup router protocol.
3732           Affected files silcd/server.c and server_backup.c.
3733
3734 Mon Jun 24 17:47:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3735
3736         * Added functions silc_server_send_opers and
3737           silc_server_send_opers_notify to send packets stricly
3738           to operators.  Added macro SILC_SERVER_SEND_OPERS macro
3739           to send variable argument notify to operators.
3740           Affected files silcd/packet_send.[ch] and silcd/server.h.
3741
3742         * Removed UMODE rights checking with UMODE_CHANGE notify.
3743           Affected file silcd/packet_receive.c.
3744
3745         * Server/router operator now receives notify when network
3746           switches to backup router and when it resumes the use of
3747           primary router.  Affected file silcd/server.c and
3748           silcd/server_backup.c.
3749
3750         * Fixed the updating of client information after backup
3751           resuming protocol is over; update all except local clients
3752           to the new primary router.  The affected file is
3753           silcd/server_util.c.
3754
3755         * Added support for closing active connections in rehash
3756           that were unconfigured by the user.  Supports currently
3757           closing server and router connections.  Affected file
3758           silcd/server.c.
3759
3760         * Rewrote some SILC_LOG_DEBUG's in silcd/server_backup.c.
3761
3762 Sun Jun 23 17:32:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3763
3764         * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer
3765           is NULL since seems that on some platforms NULL is allowed
3766           and on some it's not.  Fallback encoding is used instead.
3767           Affected file lib/silcutil/silcstrutil.c.
3768
3769         * Fixed statistics updating for incoming server connection
3770           which could cause problems when re-connecting.  Affected
3771           file silcd/server.c.
3772
3773         * Preliminary backup router support for standalone router
3774           added.  Affected files in silcd/.
3775
3776         * Mark server connections in backup router disabled before
3777           and after backup protocol.  Affected file is
3778           silcd/server_backup.c.
3779
3780         * Added support for reconnecting to remote server connection
3781           even if the protocol fails, and if the configuration wants
3782           us to keep trying to connect anyway.
3783
3784           Server connection is not allowed to backup router if
3785           backup router does not have connection to primary router yet.
3786
3787           Affected file is silcd/server.c.
3788
3789 Sat Jun 22 21:34:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3790
3791         * Added silc_client_udpate_server function to update changed
3792           server info.  Affected file lib/silcclient/idlist.[ch].
3793
3794         * Added check for server entries that are being resolved when
3795           notify is received.  If being resolved, handle the received
3796           notify only after it's resolved so that all notifys are
3797           handled in same order as received from the server.
3798
3799           Added similar resolver check to channel entries.  Every
3800           notify that cause resolving of any information that affects
3801           channel entry marks the channel entry in waiting state.
3802           After whatever resolving is over the waiters are signalled
3803           and only then the notifys are handled in the same order
3804           as delivered from the server.
3805
3806           Affected files are lib/silcclient/idlist.[ch], and
3807           client_notify.c.
3808
3809         * Fixed KILLED notify handling in normal server.  Affected
3810           file silcd/packet_receive.c.
3811
3812         * Added SILC_IDLIST_STATUS_LOCAL which indicates that entry
3813           is locally connected, or was locally connected (but may
3814           be detached and connection is not active).  Added also
3815           SILC_IS_LOCAL for checking this status.  Affected files
3816           silcd/idlist.h, silcd/packet_receive.c, silcd/server_util.c,
3817           silcd/server.c and silcd/server_internal.h.
3818
3819 Sat Jun 22 17:06:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3820
3821         * Don't send or handle TOPIC_SET if topic is already set and
3822           is same as being set.  Affected files silcd/command.c and
3823           silcd/packet_receive.c.
3824
3825         * Fixed CMODE change rights checking to work correctly when
3826           removing modes by operator.  Affected file is
3827           silcd/server_util.c.
3828
3829         * Fixed some handling with New Channel packet in router and
3830           fixed some CMODE_CHANGE notify handling in server and router.
3831           Affected file is silcd/packet_receive.c.
3832
3833         * Changed "disconnect" client operation to include the
3834           reason of the disconnection and optional disconnection
3835           message.  Affected file lib/silcclient/silcclient.h.
3836
3837         * Made the compilation of lib/contrib/ stuff conditional.
3838           Affected files configure.in.pre, lib/contrib/Makefile.am.
3839
3840 Sat Jun 22 12:49:21 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3841
3842         * All CMODE_CHANGE and CUMODE_CHANGE notifys are now sent back
3843           to the sender of the notify too, to avoid situation where two
3844           notifys are in the network at the same time going to oppsite
3845           directions.  Affected file silcd/packet_receice.c.
3846
3847 Fri Jun 21 10:00:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3848
3849         * Delete the client from channel even if the cilent->id is
3850           NULL.  It was possible that client was deleted without
3851           removing from channels (theoretically at least).  Affected
3852           file silcd/server.c and silcd/server_util.c.
3853
3854         * Free the client data too when resuming is not successful.
3855           Affected file silcd/packet_receive.c.
3856
3857         * Merged some code from c0ffee's silc-plugin.  Affected files
3858           irssi/src/silc/core/silc-channels.c and silc-expandos.c.
3859
3860         * Added SILC_PRIMARY_ROUTE and SILC_BROADXAST macros to
3861           silcd/server_internal.h.  SILC_PRIMARY_ROUTE Returns pointer
3862           to the primary router connection, the other one returns
3863           TRUE if packet must be broadcasted to network.
3864
3865         * All notifys that are destined to primary router (to network)
3866           are now automatically sent to backup routers even if the
3867           router is standalone (and has backup router).  Affected files
3868           in silcd/.
3869
3870         * Added --without-irssi and --without-silcd configuration
3871           options for disabling the compilation of these applications.
3872           Affected file configure.in.pre and prepare.
3873
3874 Thu Jun 20 13:48:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3875
3876         * Implemented SILC_STRING_BMP and SILC_STRING_UNIVERSAL for
3877           UTF-8 encoding and decoding.  Added also new encodings
3878           SILC_STRING_BMP_LSB and SILC_STRING_UNIVERSAL_LSB.
3879
3880           Added also SILC_STRING_LANGUAGE which is language and charset
3881           specific encoder and decoer for those platforms that support
3882           iconv().  It can convert the UTF-8 to and from the locale
3883           specific character set.
3884
3885           Affected file lib/silcutil/silcstrutil.[ch].
3886
3887         * Added macro SILC_NOT_IMPLEMENTED to lib/silcutil/silclog.h.
3888
3889         * Added function silc_get_command_name to the file
3890           lib/silcutil/silcutil.[ch].
3891
3892         * Improved the server debug output a bit.  Affected files are
3893           in silcd/.
3894
3895 Wed Jun 19 17:46:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3896
3897         * Save the channel passphrase when received succesful JOIN
3898           command reply from router, on normal server.  Otherwise
3899           joinig +a channels from normal server is not possible.
3900           Affected file silcd/command.c.
3901
3902         * Fixed a bug in TOPIC_SET notify handling.  The notifier
3903           may be other than client too, like server or channel.
3904           It expected it to always be only client and ignored the
3905           notify.  Affected file silcd/packet_recieve.c.
3906
3907         * Removed some (unnecessary) debug printing from
3908           lib/silccore/silcid.c and lib/silccore/silcargument.c.
3909
3910         * Do not force CMODE_CHANGE when server is announcing new
3911           channel.
3912
3913           Router announces stuff only after server reannounces channel
3914           after CHANNEL_CHANGE notify.
3915
3916           These fixes optimizes the announcing procedure, and perhaps
3917           fixes some problems too.  Affected file silcd/packet_receive.c.
3918
3919         * Fixed SERVER_SIGNOFF sending to local clients.  It was
3920           totally broken and sent the notify to all local clients,
3921           instead of only to those that was on same channel as the
3922           signing off clients.  Affected file silcd/server_util.c.
3923
3924         * Added -D option to server.  It can be used to give debug
3925           level.  The levels are from 0 - 99, and are predefined for
3926           smooth server debugging.  (see silcd.c for the predefined
3927           levels).  Affected file silcd/server.c.
3928
3929 Wed Jun 19 16:01:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3930
3931         * Fixed a bug in Irssi SILC client to close the connection
3932           properly when disconnecting from server.  Affected file
3933           irssi/src/silc/core/client_ops.c.
3934
3935 Tue Jun 18 17:14:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3936
3937         * When authenticating as founder during JOIN command, check
3938           that the one authenticating becomes the only founder on the
3939           channel.  Affected file silcd/command.c.
3940
3941         * Better checking for founder mode setting when CUMODE_CHANGE
3942           notify is received.  Affected file silcd/packet_receive.c.
3943
3944         * Close all connections when shutting down the server by sending
3945           DISCONNECT packet.  Close all listeners too when shutting
3946           down the server.  Affected file silcd/server.c.
3947
3948         * Handle DISCONNECT packet correctly in client library by
3949           calling the "disconnect" client operation.  Affected file
3950           lib/silcclient/client.c.
3951
3952         * Handle local errors correctly during resuming.  Affected
3953           file lib/silcclient/client.c.
3954
3955 Tue Jun 18 10:26:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3956
3957         * The log file is not dupped internally anymore in
3958           lib/silcutil/silclog.c.  Fixed memory leaks too.
3959
3960         * The scheduler now dispatches all pending timeout tasks
3961           when it is uninitialized with silc_schedule_uninit.
3962           Affected file lib/silcutil/silcschedule.c.
3963
3964 Mon Jun 17 21:30:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3965
3966         * Added --enable-stack-trace option to configure.  Added
3967           memory allocation stack trace support.  Added files
3968           lib/silcutil/stacktrace.[ch].  Affected files are
3969           lib/silcutil/silcmemory.[ch].
3970
3971         * Fixed memory leaks from libraries and server.  Affected
3972           files around the tree.
3973
3974         * Reverted back a fix made to CUMODE which broke it.
3975           Affected file silcd/command.c.
3976
3977 Sun Jun 16 11:49:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3978
3979         * Added SILC_MESSAGE_FLAG_UTF8 to the protocol specs and the
3980           core library, and implemented it.  All textual messages SHOULD
3981           use this flag and the message MUST be UTF-8 encoded.
3982           All text messages sent by Irssi SILC client are now UTF-8
3983           encoded (regardless whether the terminal supports UTF-8 or not).
3984           Affected files are lib/silccore/silcchannel.h,
3985           irssi/src/silc/core/silc-servers.c, silc-channels.c and
3986           client_ops.c.
3987
3988 Sat Jun 15 18:23:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3989
3990         * Added lots of new statistics updating that was missing from
3991           the server and router code.  Affected files in silcd/.
3992
3993         * Sending SIGUSR1 signal to server now dumps the current
3994           server statistics into /tmp directory.  Affected file is
3995           silcd/silcd.c.
3996
3997         * ROBODoc documented the lib/silccrypt/silchash.h.  Improved
3998           the SILC Hash Interface also.  Added new functions
3999           silc_hash_get_name, silc_hash_init, silc_hash_update and
4000           silc_hash_final.  Affected file lib/silccrypt/silchash.c.
4001
4002 Sat Jun 15 12:09:14 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4003
4004         * Added some better info printing for client during connecting.
4005           Affected file silcd/server_util.c.
4006
4007         * Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
4008           to silence a user on a channel.  Affected files are
4009           lib/silcclient/client_channel.c, irssi/src/silc/core/client_ops.c,
4010           irssi/src/fe-common/silc/module-formats.[ch], silcd/command.c
4011           and silcd/packet_receive.c.
4012
4013         * Fixed a fatal bug in handling of malformed command payload.
4014           Affected file silcd/command.c.
4015
4016         * Fixed a double free when announcing channel users to router.
4017           Affected file silcd/server.c.
4018
4019         * After successful authentication to channel founder mode, check
4020           that there isn't anyone else with founder mode on the channel.
4021           The one that authenticated will become founder and anyone
4022           else is demoted.  Affected file silcd/command.c.
4023
4024         * Added error printing of any error that has occurred during
4025           any command in client library.  Affected file is
4026           irssi/src/silc/core/client_ops.c.
4027
4028         * Removed some error printing from the client library and left
4029           it for the application to worry (from the error status it
4030           receives in 'command' client operation.  Affected file is
4031           lib/silcclient/command.c.
4032
4033 Fri Jun 14 22:59:02 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4034
4035         * Added new status types KEY_AGREEMENT_ALREADY_STARTED and
4036           KEY_AGREEMENT_SELF_DENIED to lib/silcclient/silcclient.h.
4037           Starting key agreement with itself is denied.  Affected file
4038           is lib/silcclient/client_keyagr.c.
4039
4040         * Fixed some error checkings from the SFTP library which caused
4041           misbehaviour.  Affected files are lib/silcsftp/sftp_client.c
4042           and lib/silcsftp/sftp_util.c.
4043
4044         * Added new "debug" and "debug_string" settings to Irssi SILC
4045           client which can be used to print runtime debugging on the
4046           Irssi's screen.  Available when compiled with --enable-debug
4047           option.  Affected file irssi/src/silc/core/silc-core.c.
4048
4049 Tue Jun 11 16:36:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4050
4051         * Fixed a missing variadic parameter in a function call that
4052           caused server crash when a non-allowed connection arrived.
4053           Reported by Richard Becker.  Affected file silcd/server.c.
4054
4055 Mon Jun 10 16:29:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4056
4057         * Added WATCH list sending to backup routers from router.
4058           The WATCH command is sent by the router to the backup
4059           router.  Affected file silcd/command.c.
4060
4061         * Mark the backup_router flag for RouterConnection entry
4062           if the backup router stuff is defined in the config file.
4063           Affected file silcd/serverconfig.c.
4064
4065         * Fixed some backup data sending around the code to work better
4066           if the router is standalone router.  Not all places were fixed.
4067           Affected file silcd/packet_receive.c, silcd/packet_send.c,
4068           silcd/server.c.
4069
4070         * Fixed the router connecting when connecting to multiple
4071           routers.  It ignored every other router except the first
4072           one.  Affected file silcd/server.c.
4073
4074 Mon Jun 10 09:28:21 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4075
4076         * Made the private key generation after expiration optional.
4077           If not created after expiration the old key will re-expire
4078           at a later time (and thus key pair is not necessary to
4079           change).  Affected file irssi/src/silc/core/clientutil.c.
4080
4081 Sun Jun  9 18:58:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4082
4083         * The length arguments in bind() and connect() were wrong
4084           and fixed now to used SIZEOF_SOCKADDR in the
4085           lib/silcutil/unix/silcunixutil.c.
4086
4087 Tue Jun  4 18:36:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4088
4089         * Fixed detach timeout handling to use Client ID and not
4090           the actual client entry which may be freed in the callback.
4091           Affected file silcd/command.c.
4092
4093 Thu May 30 15:53:45 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4094
4095         * Merged c0ffee's multiple interface support patch.
4096           Affected files in silcd/.
4097
4098 Wed May 29 18:08:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4099
4100         * Cleanup keys properly.  Affected file is
4101           irssi/src/silc/core/clientutil.c.
4102
4103 Tue May 28 20:11:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4104
4105         * Display the user mode on the status bar.  Affected file
4106           irssi/src/silc/core/silc-expandos.c.
4107
4108 Tue May 28 13:56:26 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4109
4110         * If private message key is not set, but the flag is set in
4111           the packet, ignore the packet since it cannot be decrypted.
4112           Affected file lib/silcclient/client_prvmsg.c.
4113
4114 Thu May 23 12:00:14 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4115
4116         * When resuming client, remove the old client entry from
4117           the watcher list too.  Affected file silcd/packet_receive.c.
4118
4119         * Do not allow normal server to force founder mode away
4120           from router if the founder mode is already set.  Affected
4121           file silcd/packet_receive.c.
4122
4123         * Remove the client entry with watch notify types with short
4124           timeout, and not directly, so that other notifys can be
4125           retrieved too.  Affected file lib/silcclient/client_notify.c.
4126
4127         * Display notification about data messages that cannot be
4128           displayed.  Affected files irssi/src/silc/core/client_ops.c,
4129           irssi/src/fe-common/silc/module-formats.[ch].
4130
4131 Sun May 19 18:59:00 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4132
4133         * Fixed the CHANNEL_CHANGE notify handling in client libary
4134           to not use freed memory.  Affected file is
4135           lib/silcclient/client_notify.c.
4136
4137         * Fixed CUMODE_CHANGE notify handling in server.  Affected
4138           file silcd/packet_receive.c.
4139
4140         * Fixed USERS command to support empty channels.  Affected
4141           file silcd/command.c.
4142
4143 Sat May 18 11:35:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4144
4145         * Allow multiple identical pending commands to be registered
4146           in client library.  Affected file is lib/silcclient/command.c.
4147
4148         * Call the completion for resolving client information only
4149           after all resolvers has finished.  This fixes a crash in
4150           the client.  Added support for checking when the resolvers
4151           are finished.  Affected file is lib/silcclient/idlist.c.
4152
4153         * Wait by default 3 seconds before reconnecting to the server
4154           after being disconnected.  Makes the /detach command a bit
4155           more usable.
4156
4157 Fri May 17 17:23:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4158
4159         * Check the watcher list before sending signoff notifys
4160           when closing client connection.  Affected file is
4161           silcd/server.c.
4162
4163         * Added better CMODE command rights checking.  Affected file
4164           silcd/server_util.c.
4165
4166 Fri May 17 08:33:41 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4167
4168         * Fixed watcher list checking during server signoff.  It
4169           crashed the server.  Affected file silcd/server_util.c.
4170
4171         * The JOIN command reply returns now the founder's public
4172           key.  Affected file is silcd/command.c.
4173
4174         * Announce the channel mode, and the mode properties with
4175           CMODE_CHANGE notify.  Affected file silcd/server.c.
4176
4177         * Mark new channels by default disabled, untill at least
4178           one user joins the channel.  Affected file is
4179           silcd/packet_receive.c.
4180
4181 Thu May 16 13:05:13 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4182
4183         * The nickname argument to watch notify can be optional.
4184           Fixes a crash in server.  Affected file silcd/packet_send.c.
4185
4186         * Remove the client entry from cache if the WATCH notify type
4187           is KILLED, SERVER_SIGNOFF or SIGNOFF.  Affected file is
4188           lib/silcclient/client_notify.c.
4189
4190         * Check the watcher list before and after changing nickname
4191           when the NICK_CHANGE notify is received.  Affected file is
4192           silcd/idlist.c.
4193
4194         * Fixed a crash in OPER and SILCOPER command sending.  Empty
4195           passphrase caused the crash.  Affected file is
4196           lib/silcclient/command.c.
4197
4198 Wed May 15 19:01:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4199
4200         * Merged with Irssi CVS for Irssi SILC client.
4201
4202 Tue May 14 19:37:48 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4203
4204         * Completed the protocol specifications.
4205
4206 Tue May  7 20:41:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4207
4208         * Merged with Irssi CVS for Irssi SILC client.
4209
4210 Tue May  7 11:07:16 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4211
4212         * Added the founder's public key delivery to the
4213           CUMODE_CHANGE notify type as well.  Updated the protocol
4214           specs and the code.  Affected files are silcd/packet_send.[ch],
4215           silcd/packet_receive.c and silcd/command.c.
4216
4217 Mon May  6 19:46:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4218
4219         * Added silc_pkcs_public_key_copy function into the
4220           lib/silccrypt/silcpkcs.[ch].
4221
4222         * Remove the `iv' from the SilcChannelEntry since we can
4223           live without it.  Affected files are silcd/idlist.h and
4224           silcd/packet_receive.c.
4225
4226         * Added support for sending the founder's public key in
4227           the CMODE_CHANGE notify packet in the server.  Affected
4228           files are silcd/packet_send.[ch], silcd/packet_receive.c,
4229           silcd/command.c and silcd/server.c.
4230
4231         * Changed the FOUNDER_AUTH authentication to use only
4232           public key authentication as defined by new protocol
4233           specs.  Passphrase authentication with that mode cannot
4234           be used anymore.  It is now possible to reclaim founder
4235           mode from any server in the network.  Affected files are
4236           silcd/command.c, silcd/idlist.h and silcd/command_reply.c.
4237
4238         * Added permanent channels support by making the channel
4239           permanent when FOUNDER_AUTH mode is set on the channel.
4240           The channel will not be destroyed even if channel is empty
4241           when that mode is set.  Protocol TODO #17.  Affected
4242           files are silcd/server.[ch], server_util.[ch],
4243           silcd/command.c, silcd/packet_receive.c and
4244           lib/silcclient/command.c.
4245
4246 Fri May  3 18:36:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4247
4248         * Added reference counter to the command reply context in
4249           the client library.  Affected files are
4250           lib/silcclient/command_reply.[ch].
4251
4252 Fri May  3 11:37:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4253
4254         * Fixed rekey protocol with PFS in the client library.
4255           Affected file is lib/silcclient/protocol.c.
4256
4257         * Added support for list of errors in client library
4258           command reply handling.  Affected file is
4259           lib/silcclient/command_reply.c.
4260
4261         * Defined that the WHOIS and IDENTIFY commands can send
4262           list of errors.  Updated the protocol specs.  Protocol
4263           TODO #2.
4264
4265         * Added support for sending list of errors to WHOIS and
4266           IDENTIFY commands in server.  Added support for receiving
4267           list of errors in server.  Affected files are
4268           silcd/command.c and silcd/command_reply.c.
4269
4270         * Fixed client info resolving on LEAVE command in client
4271           library to not crash.  Affected file is
4272           lib/silcclient/client_notify.c.
4273
4274 Thu May  2 08:45:11 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4275
4276         * Defined that the NICK command replies with thew changed
4277           nickname too, to make the nickname changing simpler at
4278           the client's end.  Updated protocol specs and the code
4279           in client and server.  Affected files are
4280           silcd/command.c, lib/silcclient/command_reply.c and
4281           lib/silcclient/command.c.
4282
4283 Mon Apr 29 20:10:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4284
4285         * Added `Compressed' packet flag to indicate that the packet
4286           payload is compressed by the sender.  Updated the protocol
4287           specs and the core library.  The compression still is not
4288           implemented in the sources.  Affected file is
4289           lib/silccore/silcpacket.h.
4290
4291 Mon Apr 29 09:48:12 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4292
4293         * Remove pending command callbacks also if the connection
4294           to the server is destroyed.  Affected file is
4295           lib/silcclient/client.c.
4296
4297 Sat Apr 27 19:52:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4298
4299         * Added new QUIET channel user mode that can be used to
4300           quiet a user in a channel.  Updated the protocol specs but
4301           it wasn't implemented yet.  Protocol TODO #27.  Affected
4302           file is lib/silccore/silcmode.h.
4303
4304 Mon Apr 22 09:09:44 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4305
4306         * Added BLOCK_INVITE user mode to be able to block incoming
4307           invite notifications.  Protoocol TODO #26.  Affected files
4308           are lib/silccore/silcmode.h, lib/silcclient/command.c and
4309           silcd/command.c.
4310
4311         * SILC Publickey fields MUST be UTF-8 encoded now.  Updated
4312           the protocol specs and the code.  Affected file is
4313           lib/silccrypt/silcpkcs.c.
4314
4315 Sun Apr 21 19:44:38 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4316
4317         * Disconnect Payload includes now the status type.  Updated
4318           the protocol specs and the code.  Protocol TODO #25.
4319           Affected files are silcd/server.c, lib/silcclient/client.c.
4320
4321         * Added NOT_AUTHENTICATED, BAD_SERVER_ID, INCOMPLETE_INFORMATION,
4322           KEY_EXCHANGE_FAILED and BAD_VERSION error status types.
4323           Moved the silc_client_command_status_messages table to the
4324           lib/silcutil/silcutil.c and added new funtion
4325           silc_get_status_message, which deprecates function
4326           silc_client_status_message.  Affected files are
4327           lib/silccore/silcstatus.h, lib/silcclient/command_reply.[ch],
4328           lib/silcutil/silcutil.[ch].
4329
4330 Fri Apr 19 17:35:15 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4331
4332         * Defined that the nickname hash in Client ID MUST be from
4333           lowercase nickname.  This effectively changes nicknames in
4334           SILC to case-insensitive.  Updated the protocol specs and
4335           the code.  Affected files are lib/silcutil/silcutil.[ch],
4336           silcd/serverid.c, and silcd/idlist.c.
4337
4338         * Added new channel user modes BLOCK_MESSAGES_USERS and
4339           BLOCK_MESSAGES_ROBOTS.  Updated the protocol specs and the
4340           code.  Affected files are lib/silccore/silcmode.h,
4341           lib/silcclient/command.c, and silcd/packet_send.c.
4342
4343         * Added new error status ERR_RESOURCE_LIMIT.  Updated protocol
4344           specs and code.  Affected file lib/silccore/silcstatus.h.
4345
4346         * Added support for watch list.  It is possible to add nicknames
4347           to be watched, and when they come to network, leave network
4348           or user mode changes the watcher will be notified of this
4349           change.  Added SILC_COMMAND_WATCH command, added new
4350           notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch
4351           notifications.  Updated the protocol specs and implemented
4352           this to library, client and server.  Protocol TODO #21.
4353           Affected files are lib/silccore/silccomand.h,
4354           lib/silccore/silcnotify.h, lib/silcclient/command[_reply].[ch],
4355           silcd/command[_reply].[ch], lib/silcclient/client_notify.c,
4356           silcd/packet_send.[ch], silcd/packet_receive.c, and
4357           irssi/src/silc/core/client_ops.c.
4358
4359         * Added user mode SILC_UMODE_REJECT_WATCHING to reject
4360           somebody watching you.  Updated the protocol specs and the
4361           code.  Affected files are lib/silccore/silcmode.h, and
4362           lib/silcclient/command.c.
4363
4364 Fri Apr 19 09:02:20 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4365
4366         * Added service support to SILC protocol.  Added new command
4367           SILC_COMMAND_SERVICE.  Updated the protocol specs and the
4368           core library.  Services are not implemented in server or
4369           client for now.  Protocol TODO #20.  Affected files are
4370           lib/silccore/silcstatus.h, lib/silccore/silccommand.h.
4371
4372         * Added SilcStatus argument to `command' client operation
4373           to return the error status when command sending fails
4374           locally.  Changed all command in client library to return
4375           correct command status.  Affected files are
4376           lib/silcclient/command.c, lib/silcclient/silcclient.h and
4377           irssi/src/silc/core/client_ops.c.
4378
4379 Thu Apr 18 14:09:51 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4380
4381         * Added silc_mime_parse function to parse MIME headers.
4382           Affected files are lib/silcutil/silcstruti.[ch].
4383
4384         * Added MIME header parsing in Irssi SILC Client.  It displays
4385           all textual MIME objects, others it ignores.  Affected file
4386           is irssi/src/silc/core/clien_ops.c.
4387
4388 Wed Apr 17 22:07:59 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4389
4390         * Fixed a bug in the pid writing function, which couldn't be
4391           written in a root-owned directory.
4392
4393 Tue Apr 16 09:34:40 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4394
4395         * Defined that channel message to unknown Channel ID must
4396           cause SILC_NOTIFY_TYPE_ERROR notify message to the sender.
4397           Updated the protocol specs and the code in server.  The
4398           affected file is silcd/packet_receive.c.
4399
4400 Mon Apr 15 19:57:57 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4401
4402         * Added new notify type SILC_NOTIFY_TYPE_ERROR and specified
4403           that it is used to send error notifys if error occurs during
4404           some SILC packet processing, except commands.  The error
4405           types are same as for command reply types.  Defined that
4406           if private message is sent to unknown Client ID the error
4407           is sent in SILC_NOTIFY_TYPE_ERROR instead of command reply.
4408           Updated the protocol specs and code.  Affected files are
4409           lib/silccore/silcnotify.h, added lib/silccore/silcstatus.h,
4410           lib/silcclient/client_notify.c, silcd/packet_receive.c,
4411           and irssi/src/silc/core/client_ops.c.  Renamed the
4412           SilcCommandStatus to SilcStatus.
4413
4414         * Defined the use of extra WHOIS attributes in WHOIS command.
4415           The <Requested Attributes> (defined in a separate document)
4416           can be used to request additional information about user
4417           not returned by standard WHOIS command.  Defined that server
4418           can send WHOIS command directly to client.  Client provides
4419           the requested attributes to the server.  Updated the protocol
4420           specs.  Protocol TODO #4.  Implementation is not done yet
4421           (Protocol TODO #24).
4422
4423         * Renamed function silc_client_command_status_message to
4424           silc_client_status_message.  Affected files are
4425           lib/silcclient/command_reply.[ch].
4426
4427 Sun Apr 14 21:13:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4428
4429         * Changed the WHOIS, IDENTIFY and WHOWAS count arguments to
4430           32 bit integers.  Updated the protcol specs and the code.
4431           Affected files are silcd/command.c and
4432           lib/silcclient/command.c.
4433
4434 Sun Apr 14 19:49:02 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4435
4436         * Fixed a bug in library where sending a bogus authentication
4437           payload would lead to a crash.  Affected file is
4438           lib/silccore/silcauth.c.
4439
4440 Sat Apr 13 13:09:24 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4441
4442         * Added detach_disabled and detach_timeout server config
4443           options to the server.  Affected files silcd/serverconfig.[ch],
4444           silcd/command.c and silcd/packet_receive.c.
4445
4446 Fri Apr 12 20:09:08 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4447
4448         * Added resolve_cmd_ident field to the SilcClientEntry structure
4449           too so that if the entry is for example being resolved so
4450           another command may attach to the same pending command reply
4451           without requiring to resolve the same entry again.  Added
4452           support for adding multiple pending commands for one
4453           command idenfier.  Affected files lib/silcclient/command.[ch],
4454           lib/silcclient/command_reply.[ch], lib/silcclient/idlist.h.
4455
4456 Fri Apr 12 10:17:51 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4457
4458         * Defined that server receives WHOIS command reply for private
4459           and secret channels too.  Updated protocol specs and the
4460           code in server.  Affected file silcd/command.c.
4461
4462         * Defined <channel user mode list> argument to WHOIS command
4463           reply for returning user modes on the channels.  The
4464           channel list now doesn't include the user mode anymore but the
4465           actual channel mode.  Updated protocol specs and the code in
4466           client and server.  Affected files are silcd/command_reply.c,
4467           silcd/command.c, silcd/server.c, irssi/src/silc/core/client_ops.c,
4468           and lib/silcclient/command_reply.c.
4469
4470         * Save the channels list in WHOIS command reply in normal server
4471           so that WHOIS always shows joined channels also in normal
4472           server and not just on router.  Affected file is
4473           silcd/command_reply.c.
4474
4475 Thu Apr 11 22:29:33 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4476
4477         * Defined that server receives USERS command reply for private
4478           and secret channels too.  Updated protocol specs and the
4479           code in server.  Affected file silcd/command.c.
4480
4481 Thu Apr 11 16:32:08 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4482
4483         * Changed the UMODE's mode mask argument to be optional.  If
4484           not provided then the command merely returns the current mode
4485           mask to the client.  Updated protocol specs and the server.
4486           Affected file is silcd/command.c.
4487
4488         * Added SILC session detachment/resuming support.  It is possible
4489           to detach by closing the network connection and then re-connect
4490           and resume to the old client session.  Added DETACHED user
4491           mode that server will set for detached client.  Added new
4492           packet RESUME_CLIENT which is used to perform the resuming
4493           process.  Added DETACH command.  Updated the protocol specs,
4494           core library, client and server.  Protocol TODO #22.  Very
4495           many affected files around the tree.
4496
4497 Wed Apr 10 16:32:01 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4498
4499         * Changed the CMODE's mode mask argument to be optional.  If
4500           not provided then the command merely returns the current mode
4501           mask to the client.  Updated protocol specs and the server.
4502           Affected file is silcd/command.c.
4503
4504         * Changed the Killer's Client ID in KILLED notify to be just
4505           any ID payload since router server is allowed to kill as well.
4506           Updated protocol specs, client libary and server.  Affected
4507           files are lib/silcclient/client_notify.c, silcd/packet_receive.c,
4508           and irssi/src/silc/core/client_ops.c.
4509
4510 Tue Apr  9 17:15:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4511
4512         * Added new user modes ANONYMOUS for special anonymous servers
4513           that may set the mode for client, and BLOCK_PRIVMSG which
4514           client may set to block incoming private messages unless the
4515           Private Message Key flag is set (using private keys to protect
4516           private messages).  Updated protocol specs and code in client
4517           and server and core library.  Protocol TODO #23.  Affected
4518           files are lib/silccore/silcmode.h, silcd/server.[ch],
4519           irssi/src/silc/core/client_ops.c, silcd/packet_receive.c,
4520           irssi/docs/help/in/umode.in, lib/silcclient/command.c.
4521
4522         * Added new channel user mode BLOCK_MESSAGES which the client
4523           may set to itself to tell server not send channel messages.
4524           Other packets such as channel key packets are still sent.
4525           Protocol TODO #23.  Updated the protocol specs, client and
4526           server.  Affected files are lib/silccore/silcmode.h,
4527           irssi/docs/help/in/cumode.in, lib/silcclient/command.c,
4528           lib/silcutil/silcutil.c, silcd/command.c, and
4529           silcd/packet_send.c.
4530
4531 Mon Apr  8 23:57:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4532
4533         * Redefined the Status Payload to include now two 8 bit fields,
4534           instead of one 16 bit field.  This now makes it possible to
4535           send list of errors.  Updated the protocol specs and the code
4536           in core library, client library and server.  Protocol TODO #1.
4537           Affected files are lib/silccore/silccommand.[ch],
4538           lib/silcclient/command_reply.[ch], silcd/command.c,
4539           silcd/command_reply.c and silcd/packet_receive.[ch].
4540
4541 Mon Apr  8 19:57:40 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4542
4543         * Added config parse status SILC_CONFIG_EPRINTLINE, this status
4544           must be handled by the application and should tell the application
4545           that an error message was already printed, and it should print the
4546           config coords (line, filename, ...).  Affected files are
4547           silcd/serverconfig.c, lib/silcutil/silcconfig.[ch].
4548
4549         * Added local macro SILC_SERVER_CONFIG_ALLOCTMP to make the
4550           server config parsing code more readable.
4551
4552           Fixed a bug in the fetch_logging() config callback.
4553
4554           Affected files is silcd/serverconfig.c.
4555
4556         * Drop root privileges when started in foreground.  Don't drop them
4557           if debugging also.  Affected file is silcd/silcd.c.
4558
4559 Mon Apr  8 17:00:41 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4560
4561         * Added more IM-like features by introducing new user modes
4562           for setting various presence information.  Added new modes:
4563           INDISPOSED, BUSY, PAGE, HYPER and ROBOT.  Updated protocol
4564           specs and code.  Protocol TODO #19. Affected files are
4565           lib/silccore/silcmode.h, irssi/src/silc/core/client_ops.c,
4566           irssi/docs/help/in/umode.in and lib/silcclient/command.c.
4567
4568 Sun Apr  7 17:07:59 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4569
4570         * Added STATS command to the protocol after all, to return
4571           various statistical information about the network.  It can
4572           be used by clients to retrieve statistical information, and
4573           servers may use it to to fetch cell and network wide
4574           statistics from router.  Updated the protocol specs and
4575           implemented it to the server.  Protocol TODO #16.
4576           Affected files are lib/silccore/silccommand, silcd/command.[ch],
4577           silcd/command_reply.[ch].
4578
4579 Sat Apr  6 17:08:58 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4580
4581         * The LIST command reply in client libary now adds new channel
4582           entry if the returned channel doesn't exist yet in cache,
4583           and returns the channel entry to the application in the
4584           command_reply client operation.  Affected file is
4585           lib/silcclient/command_reply.c.
4586
4587         * Changed the channel message payload's MAC generation to
4588           include the IV in the MAC as well.  This way all relevant
4589           parts of the channel message payload are authenticated also
4590           with the channel message MAC (and not only by packet MAC).
4591           Causes incompatibility with 1.0 protocol.  Protocol TODO #7.
4592           Affected file is lib/silccore/silcchannel.c.
4593
4594         * Fixed the SKE to save the remote version, since the
4595           silc_ske_parse_version mistakenly checked wrong version,
4596           after it replaced the start payload.  Affected files are
4597           lib/silcske/silcske.[ch].
4598
4599 Fri Apr  5 16:03:03 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4600
4601         * Splitted lib/silcutil/silcutil.h into silcstrutil.h for
4602           string utility functions.  Added there also new functions
4603           silc_utf8_[encode/decode/valid] for UTF-8 string encoding.
4604           Affected files lib/silcutil/silcstrutil.[ch].
4605
4606         * Renamed silc_*_pem functions to silc_pem_* functions.  Affected
4607           files are lib/silcutil/silcstrutil.[ch].
4608
4609         * Defined that the security property fields in SKE SHOULD be
4610           UTF-8 encoded, defined that version string MUST be US-ASCII
4611           encoded, defined that passphrases sent in connection
4612           authentication protocol MUST be UTF-8 encoded.  Implemented
4613           these to the client and server.  Defined also that other
4614           passphrases sent in the protocol MUST be UTF-8 encoded.
4615           Affected files are lib/silcske/silcske.c,
4616           lib/silcclient/protocol.c, silcd/protocol.c,
4617           silcd/serverconfig.c, and lib/silccore/silcauth.c.
4618
4619         * Changed the silc_client_close_connection interface to not
4620           need the SilcSocketConnection which should not be visible
4621           to application.  Affected files are lib/silcclient/client.c
4622           and lib/silcclient/silcclient.h.
4623
4624         * Rewrote the text for Private Message Key Payload in the
4625           protocol specification.  Protocol TODO #11.
4626
4627 Wed Apr  3 16:24:51 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4628
4629         * Upgraded the protocol version to 1.1, updated protocol specs
4630           and software.
4631
4632         * Added the nickname as new argument to NICK_CHANGE notify and
4633           added it to protocol specs and implemented it to client and
4634           server.  Protocol TODO #3.  Affected files are silcd/idlist.[ch],
4635           silcd/command.c, silcd/packet_receive.c, packet_send.[ch], and
4636           lib/silcclient/client_notify.c.
4637
4638         * Added the killer's client ID to the KILLED notify and added
4639           it to protocol specs and implemented it to client and server.
4640           Protocol TODO #13.  Affected files are silcd/command.c,
4641           silcd/packet_receive.c, packet_send.[ch],
4642           lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4643           The killer's client entry is now returned to application in
4644           the `notify' client operation.
4645
4646         * Fixed the Max Argument fields that had too large value set
4647           in the protocol specs.  Protocol TODO #14.
4648
4649         * Added the LEAVE command reply to return the ID of parted
4650           channel.  Updated protocol specs and implemented it to the
4651           client and server.  Protocol TODO #15.  Affected files are
4652           silcd/command.c, lib/silcclient/command_reply.c.  The channel
4653           entry is now returned to application in the `command_reply'
4654           client operation.
4655
4656         * Rewrote the version SKE version checking in client libary
4657           and in server to use the silc_parse_version_string.  Affected
4658           files are lib/silcclient/protocol.c, silcd/protocol.c.
4659
4660         * Added SILC_STATUS_ERR_NO_CHANNEL_FOPRIV error status to few
4661           commands that was missing it, and updated protocol specs and
4662           the server implementation.  Protocol TODO #10.  The affected
4663           file is silcd/command.c.
4664
4665         * Defined new message flags SILC_MESSAGE_FLAG_REPLY to be
4666           generic reply to a generic request (REQUEST flag), and
4667           SILC_MESSAGE_FLAG_DATA to send any kind of data in a generic
4668           way.  A draft-riikonen-silc-flags-payloads-00.txt is written
4669           to define the payload for DATA flag.  Added the flags to
4670           the implementation.  Protocol TODO #9.  Affected file is
4671           lib/silccore/silcchannel.h.
4672
4673           Changed the client library to return the message length
4674           to application as well in the channel_message and private_message
4675           client operations.  Affected files are
4676           lib/silcclient/client_prvmsg, lib/silcclient/client_channel.c,
4677           lib/silcclient/silcclient.h, irssi/src/silc/core/client_ops.c,
4678           and lib/silcclient/client_ops_example.c.
4679
4680         * Added two new channel modes: SILC_CMODE_SILENCE_USERS
4681           and SILC_CMODE_SILENCE_OPERS which can be used to moderate
4682           the channel.  Updated protocol specs and impelemented this
4683           to client and server.  Protocol TODO #6.  Affected files are
4684           silcd/packet_receive.c, server_util.c, lib/silcclient/command.c,
4685           lib/silcclient/client_channel.c, lib/silccore/silcmode.h.
4686
4687           Added new options m and M to CMODE command in Irssi SILC
4688           client to set these modes.
4689
4690         * Deprecated all administrative commands from SILC protocol
4691           since they are highly implementation specific commands.
4692           Updated protocol specs.  Moved the old commands in
4693           implementations to private range of command types.  Affected
4694           files are silcd/command.c, lib/silcclient/command.c and
4695           lib/silcclient/command_reply.c.  Protocol TODO #8.
4696
4697         * Fixed a bug in server where sending unknown command crashes
4698           the server.  Affected file silcd/command.c.
4699
4700 Wed Apr  3 09:57:47 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4701
4702         * Added SILC_PROTOCOLVERSION macro to check protocol version
4703           of a socket connection.  The affected file is
4704           lib/silcutil/silcsockconn.h.
4705
4706         * Added better error logging in rekey protocol.  Affected file
4707           silcd/protocol.c.
4708
4709         * Do not check public key types in SKE during rekey.  Affected
4710           file lib/silcske/payload.c.
4711
4712         * Fixed the rekey protocol with PFS, which was totally broken.
4713           Affected file silcd/protocol.c.
4714
4715 Tue Apr  2 14:55:06 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4716
4717         * Some client implementations quit network by doing first LEAVE
4718           and then immediately SIGNOFF (like Bombyx).  We now do check
4719           after a short time after LEAVE notify and check whether the
4720           client is still valid after LEAVE, and if not we remove it from
4721           cache.  Affected file is lib/silcclient/client_notify.c.
4722
4723 Tue Apr  2 13:39:04 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4724
4725         * Merged version 1.1.4 of zlib. Even if it not currently in use,
4726           it's good not to have security holes here.
4727
4728         * Fixed a negative refcount situtuation for the config context.
4729           Affected file is silcd/serverconfig.c.
4730
4731 Mon Apr  1 20:15:10 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4732
4733         * ROBOdoc documented lib/silcutil/silcutil.h.
4734
4735 Sat Mar 30 21:06:45 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4736
4737         * Optimized even more the SilcPacketContext structure.  Now
4738           totally saved 16 bytes of memory per context after optimization.
4739           Affected files are lib/silccore/silcpacket.[ch].
4740
4741         * Made strict checks for valid SILC IDs.  Affected file is
4742           lib/silccore/silcid.c.
4743
4744 Sat Mar 30 18:15:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4745
4746         * Changed the object argument for silc_cipher_register,
4747           silc_hash_register, silc_hmac_register and silc_pkcs_register
4748           to const.  Affected files are lib/silccrypt/silccipher.[ch],
4749           silchash.[ch], silchmac.[ch] and silcpkcs.[ch].
4750
4751         * Changed the silc_get_username and silc_get_real_name to
4752           never fail.  Affected file lib/silcutil/unix/silcunixutil.c.
4753
4754         * Fixed the Irssi SILC Client to use the silc_get_username and
4755           silc_get_real_name insted of glib routines since the glib
4756           routines only corrupt stack.  Fixes the Irssi SILC to work in
4757           Cygwin.  Affected file irssi/src/silc/core/silc-core.c.
4758
4759         * Fixed the Irssi to not use g_get_home_dir since it crashes
4760           or returns garbage on cygwin and corrupts stack.  Added function
4761           get_home_dir to Irssi routines.  Affected files are
4762           irssi/src/core/misc.[ch] and irssi/src/core/core.c.
4763
4764 Fri Mar 29 21:55:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4765
4766         * Made some structure optimizations.  SFTP memory FS MemFSEntry
4767           entry structure.  Optimized SilcTask structure.  Optimized
4768           SilcPacketContext structure.
4769
4770           Affected files lib/silcsftp/sftp_fs_memory.c,
4771           lib/silcutil/silcschedule.c, lib/silccore/silcpacket.h.
4772
4773 Fri Mar 29 10:41:07 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4774
4775         * And yet again reverted back the config thing since Johnny
4776           screwed it up.  Affected file silcd/serverconfig.[ch], server.c,
4777           and silcd.c.
4778
4779         * Fixed memory leaks from config object.  Affected files are
4780           silcd/serverconfig.[ch].
4781
4782         * Added support for adding new connections to the server in rehash.
4783           After rehash they take effect.
4784
4785           Added support for changing the maximum allowed connections in
4786           rehash.  The number can grow but going smaller is not supported.
4787
4788           Added function silc_server_num_sockets_by_remote to the
4789           silcd/server_util.[ch].
4790
4791           Affected files are silcd/server.c, and silcd/serverconfig.[ch].
4792
4793 Fri Mar 29 03:26:12 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
4794
4795         * Added preliminary checking during config parsing for a valid
4796           public/private key and removed further checks in the code.
4797           Affected files are silcd/serverconfig.[ch], server.c.
4798
4799         * Moved functions silc_server_drop() and silc_server_daemonise()
4800           from server.c to silcd.c since they are stricly related to
4801           the application activity.
4802
4803         * Reverted a small part of the automatic ref/unref since
4804           it caused a double unref in some situations.  Affected
4805           files are silcd/silcd.[ch], server.c, serverconfig.c.
4806
4807         * Added some .cvsignore files in the lib directory.
4808
4809 Thu Mar 28 22:51:15 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4810
4811         * Fixed silc_net_gethostbyaddr to correctly resolve by
4812           address.  Affected file lib/silcutil/silcnet.c.
4813
4814         * Fixed the notify relaying to client.  The HMAC to be used
4815           with relayed packets ws wrong and caused decryption failure
4816           at the client end.  Affected file is silcd/packet_receive.c.
4817
4818 Thu Mar 28 19:02:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4819
4820         * Created new branch silc_protocol_1_0_branch.
4821
4822         * Reverted the silc_log_quick change in lib/silcutil/silclog.c.
4823
4824         * Changed the silc_server_config_* routines to be SilcServer
4825           independent.  They are now officially application specific code
4826           and not part of generic server implementation.  Affected files
4827           are silcd/serverconfig.[ch], silcd/silcd.c, silcd/server.c.
4828
4829 Thu Mar 28 17:01:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4830
4831         * Added automatic referencing of config context in the
4832           silc_server_config_alloc, and automatic unreferencing in the
4833           silc_server_config_destroy.  Affected files are
4834           silcd/serverconfig.[ch], silcd/silcd.c.
4835
4836         * Fixed the silc_log_quick handling in the logging routines.
4837           It didn't log quickly when it was TRUE.  Affected file is
4838           lib/silcutil/silclog.c.  Also the flush delay was set even
4839           if it was 0 in config file.  Affected file is
4840           silcd/serverconfig.c.
4841
4842         * Added support for changing key pair of the server in rehash.
4843           Affected file silcd/server.c.
4844
4845 Thu Mar 28 12:17:21 CET 2002  Pekka Riikonen <priikone@silcnet.org>
4846
4847         * Fixed the TOPIC_SET notify to not cras.  It changed the topic
4848           too early, before getting the channel entry.  Affected file
4849           is silcd/packet_receive.c.
4850
4851 Thu Mar 28 09:58:16 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
4852
4853         * Added functions silc_server_config_[ref/unref], these are used
4854           to prevent that the config object is destroyed.
4855
4856           No longer directly affect global variables silc_log_quick and
4857           silc_log_delay, they are first cached inside the config object
4858           and then applied with silc_server_config_setlogfiles().
4859
4860           silc_server_config_set_defaults() is now internal to
4861           serverconfig.c, there are no reasons to show this internal stuff
4862           to the server.
4863
4864           Affected files are silcd/serverconfig.[ch].
4865
4866         * Added macro SILC_SERVER_LOG_STDERR(), this should replace most
4867           fprintf's to stderr, since some code may be executed again after
4868           the server went into the background.  Affected files are
4869           silcd/server.[ch].
4870
4871         * Added rehash support. Added function silc_server_rehash() that
4872           will perform all the basic tasks of the rehashing procedure.
4873
4874         * Added command line option `-x, --hexdump'. This will enable the
4875           SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'.
4876           The option `--hexdump' implies `--debug'.
4877
4878         * Fixed a bad bug in the logging APIs (silcutil library) where
4879           the application would crash after calling silc_log_reset_all().
4880
4881 Wed Mar 27 19:43:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4882
4883         * Fixed the KICKED notify handling in client library to
4884           correctly remove the channel and all entries from the
4885           channel when I was kicked.  This bug crashed the client.
4886
4887           Fixed yet another but in KICKED notify handling to remove
4888           the kicked client correctly from the channel.
4889
4890           Affected file is lib/silcclient/client_notify.c.
4891
4892         * Fixed a minor bug in looking up correct client entry
4893           in KICKED notify in server.  Affected file is
4894           silcd/packet_receive.c.
4895
4896         * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP
4897           sources correctly to distribution.  Fixes --with-gmp option.
4898
4899         * Removed the manual rehashing from ID Cache, and changed it
4900           to use the SILC Hash Table's auto rehash feature.  Affected
4901           file is lib/silccore/silcidcache.c.
4902
4903 Wed Mar 27 00:07:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4904
4905         * Fixed a bug in the silc_client_nickname_format function that
4906           handles the multiple same nickname formatting.  Two clients
4907           with same nickname caused problems after the first one left
4908           and rejoined.  It didn't format the nickname correctly.
4909           Affected file is lib/silcclient/idlist.c.
4910
4911 Tue Mar 26 19:33:03 CET 2002  Pekka Riikonen <priikone@silcnet.org>
4912
4913         * Don't change the topic if olod topic is same as new one.
4914           Affected file is silcd/packet_receive.c.
4915
4916 Mon Mar 25 21:11:35 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4917
4918         * Added cross-reference support to the SILC Documentation
4919           generator.  All types across all HTML files are now cross-
4920           referenced.  Affected files util/robodoc/generator.c and
4921           scripts/silcdoc/silcdoc.
4922
4923         * Added file lib/silcutil/silctypes.h to include all the
4924           arithmetic type definitions and some macros.  Removed
4925           includes/bitmove.h and moved macros to silctypes.h.
4926
4927 Mon Mar 25 17:19:46 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4928
4929         * Merged bugfixes for Irssi SILC client from irssi.org CVS.
4930
4931 Sun Mar 24 11:21:04 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4932
4933         * Added `type' argument to silc_id_payload_parse_id function which
4934           now returns the type of the ID to the sent pointer.  Affected
4935           file is lib/silccore/silcid.[ch].
4936
4937         * Added check for CMODE_CHANGE notify type that mode change is
4938           allowed by the sender.  Affected file silcd/packet_receive.c.
4939
4940         * Added check for CUMODE_CHANGE notify type that mode change is
4941           allowed by the sender.  Affected file silcd/packet_receive.c.
4942           Added the ID type as CUMODE_CHANGE notify type as argument
4943           to the `notify' client operation.  Affected files are
4944           lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4945
4946         * Added function silc_client_add_server to the client library.
4947           Added support for resolving also channel and server info when
4948           received unknown entity in notify packet.  Affected files are
4949           lib/silcclient/idlist.[ch], lib/silcclient/client_notify.c.
4950
4951         * Added function silc_command_get_status to return the command
4952           status from the command reply's argument payload.  Affected files
4953           are lib/silccore/silccommand.[ch].
4954
4955         * Added check for KICKED notify type that the kicking is
4956           allowed by the client.  Affected file silcd/packet_receive.c.
4957
4958         * Created function silc_get_input which can be used to get input
4959           (echo on or off) from user on command line.  Affected files are
4960           lib/silcutil/silcutil.[ch].
4961
4962 Sat Mar 23 09:51:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4963
4964         * Optimized silc_server_packet_relay_to_channel function.
4965           Added new function silc_channel_message_payload_encrypt which
4966           can be called directly if channel message payload needs to
4967           be encrypted and is already encoded (no need to call _encode
4968           function).  Packet relaying is now done by router without any
4969           extra memory allocations.  Affected files are
4970           lib/silccore/silcchanel.[ch], silcd/packet_receive.c and
4971           silcd/packet_send.c.
4972
4973         * Fixed the INVITE notify handling.  It took wrong arguments
4974           as invite list and invite delete.  Affected file is
4975           silcd/packet_receive.c.
4976
4977         * Added check for TOPIC_SET notify type that the topic change is
4978           allowed by the client.  Affected file silcd/packet_receive.c.
4979
4980         * Added check for INVITE notify type that inviting is allowed by
4981           the client.  Affected file silcd/packet_receive.c.
4982
4983         * Changed the silc_server_client_on_channel to return the
4984           SilcChannelClientEntry as well.  Moved the function
4985           silc_server_check_cmode_rights to server_util.[ch].
4986           Affected files are silcd/server_util.[ch], silcd/command.c.
4987
4988         * Added function silc_server_check_umode_rights to check whether
4989           changing client's user mode is allowed.  Added check for
4990           UMODE_CHANGE notify type that the umode change is allowed
4991           by the client.  Affected files are silcd/server_util.[ch],
4992           silcd/packet_receive.c and silcd/command.c.
4993
4994 Fri Mar 22 12:25:58 CET 2002  Pekka Riikonen <priikone@silcnet.org>
4995
4996         * Fixed the SILC_PACKET_MAX_ID_LEN to actually be the max
4997           ID length.  It ignored that ID can be IPv6 based as well.
4998           Affected file lib/silccore/silcpacket.h.
4999
5000         * Fixed the silc_id_id2str and silc_id_str2id to take the
5001           IPv6 address offset's into consideration.  Affecte file is
5002           lib/silccore/silcid.c.
5003
5004 Thu Mar 21 20:44:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5005
5006         * Fixed the internal Unix scheduler functions to check for
5007           NULL context they may receive.  The affected file is
5008           lib/silcutil/unix/silcunixschedule.c.
5009
5010 Thu Mar 21 19:12:22 EET 2002  Timo Sirainen <tss@iki.fi>
5011
5012         * Changed hardcoded ~/.silc paths to use get_irssi_dir() so you
5013           can specify different directory with --home command line
5014           parameter. Affected files irssi/src/silc/core/client_ops.c,
5015           clientutil.c
5016
5017         * SILC-specific commands aren't now executed if the active server
5018           isn't of SILC-type, so there won't be problems with having
5019           IRC and SILC protocol support in same client. Affected files
5020           irssi/src/silc/core/silc-channels.c, silc-servers.c,
5021           silc-commands.h
5022
5023 Wed Mar 20 11:06:57 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5024
5025         * Improved the signal support in SILC Schedule.  Added new
5026           function silc_schedule_signal_call which is used by application
5027           to mark a signal to be called.  It is now safe to perform
5028           any kind of tasks in signal callbacks since it is guaranteed
5029           that the application specified signal callback is called
5030           after the signal is over.  Affected files are
5031           lib/silcutil/silcschedule.[ch], lib/silcutil/*/silc*schedule.c.
5032
5033 Tue Mar 19 20:42:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5034
5035         * Added `name' field to SilcChannelPrivateKey to represent
5036           application given name for the key.  Moved also the context from
5037           lib/silcclient/idlist.h into lib/silcclient/silcclient.h.
5038           Added the `name' argument also to the function
5039           silc_client_add_channel_private_key.
5040
5041           Added function silc_client_current_channel_private_key to set the
5042           current channel private key in use.
5043
5044           Added "change" command to KEY command which can be used to change
5045           the current channel private key.  Bound the command also to
5046           alt+K (Alt+Shift+k).
5047
5048           Also affected files lib/silcclient/client_channel.c,
5049           irssi/src/docs/help/in/key.in, irssi/src/silc/core/silc-channel.c.
5050
5051 Tue Mar 19 16:32:43 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5052
5053         * Added silc_rng_get_byte_fast function in to the
5054           lib/silccrypt/silcrng.[ch].
5055
5056         * Changed the interface of silc_packet_assemble and the
5057           silc_packet_send_prepare.  If silc_packet_assmble is now
5058           called the application does not call silc_packet_send_prepare
5059           because the library will call it automatically.  These
5060           interfaces now also return a reference to the outgoing buffer
5061           which includes the assembled packet, which the application can
5062           use to encrypt the packet.
5063
5064           Affected files are lib/silccore/silcpacket.[ch],
5065           lib/silcclient/client.c, client_channel.c client_prvmsg.c,
5066           silcd/packet_send.c, server_backup.c and packet_receive.c.
5067
5068         * Fixed a packet sending bug on very high load, where outgoing
5069           packet queue wasn't handled correctly and packets got corrupted.
5070           Affected files are lib/silcutil/*/silc*sockconn.c,
5071           lib/silcclient/client.c and silcd/server.c.
5072
5073 Mon Mar 18 21:00:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5074
5075         * Added macro SILC_PACKET_DATALEN which can be used during
5076           packet assembling to check whether the data to be added to
5077           the packet will fit to SILC_PACKET_MAX_LEN.  If not the data
5078           len is truncated until it fits it.
5079
5080           Added checks for maximum length of channel message payload and
5081           private message payload also.
5082
5083           Added checks for maximum packet length in server and in
5084           client library.
5085
5086           Affected files are lib/silccore/silcpacket.h, silcd/packet_send.c,
5087           lib/silcclient/client.c, lib/silccore/silcchannel.c and
5088           lib/silccore/silcprivate.c, lib/silcclient/client_channel.c and
5089           lib/silcclient/client_prvmsg.c.
5090
5091 Mon Mar 18 14:54:42 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5092
5093         * Added silc_server_packet_queue_purge call to the
5094           silc_server_disconnect_remote to assure that all data in the
5095           queue before disconnecting is sent to the network.  Affected
5096           file silcd/server.c.
5097
5098 Sun Mar 17 19:26:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5099
5100         * Added the deleting of server's own ID cache entry to the
5101           silc_server_free function.  Free also everything else that
5102           has been allocated in silc_server_init.  The affected file
5103           is silcd/server.c.
5104
5105 Sun Mar 17 15:44:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5106
5107         * Added functions silc_parse_version_string, silc_version_to_num,
5108           and silc_ske_parse_version to parse SILC protocol style version
5109           strings.  Affected files lib/silcutil/silcutil.[ch] and
5110           lib/silcske/silcske.[ch].
5111
5112         * Added new configuration params: version_protocol, version_software
5113           and version_software_vendor to specify what version the remote
5114           host must at least be to be able to connect to server.  The vendor
5115           string can be regex matched too.  Added new function
5116           silc_server_connection_allowed to check maximum number of allowed
5117           connections, and allowed versions for incoming connections.
5118           Affected files are silcd/server.c, server_util.[ch] and
5119           serverconfig.[ch].
5120
5121 Sun Mar 17 10:24:50 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5122
5123         * Added preliminary support for signals in scheduler.  The
5124           signals we care about are now blocked always when the scheduler
5125           is locked.  This way we can synchronise the use of signal with
5126           scheduler.  It is guaranteed that when signal occurs the scheduler
5127           is not locked, and thus new tasks can be safely added to the
5128           scheduler.
5129
5130           Renamed silc_schedule_wakeup_init and silc_schedule_wakeup_uninit
5131           to silc_schedule_internal_init and silc_schedule_internal_uninit.
5132           Added new platform specific routines
5133           silc_schedule_internal_signals_[un]block and
5134           silc_schedule_internal_signal_[un]register.
5135
5136           Added new functions to SILC Schedule API:
5137           silc_schedule_signal_[un]register.  Each signal that application
5138           is going to use should be registered to the scheduler.
5139
5140           Affected files are lib/silcutil/silcschedule.[ch],
5141           lib/silcutil/*/silc*schedule.c.
5142
5143 Sat Mar 16 22:39:23 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5144
5145         * Check for unauthenticated client and server in the
5146           silc_server_new_client and silc_server_new_server functions.
5147           Affected file silcd/packet_receive.c.
5148
5149         * Added function silc_string_is_ascii to check whether given
5150           string is 7-bit ASCII string.  Affected files are
5151           lib/silcutil/silcutil.[ch].
5152
5153         * Added function silc_id_is_valid_server_id into the
5154           silcd/serverid.c and added checking for valid Server ID's in
5155           silc_server_new_server.  The Server ID must always be based
5156           on the server's public IP address.
5157
5158         * Added logging of DISCONNECT packet message in the server.
5159           Affected file silcd/server.c.
5160
5161 Sat Mar 16 18:04:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5162
5163         * Changed all library interfaces that use Global RNG to also
5164           accept SilcRng as argument.  Affected files are
5165           lib/silcclient/command.c, lib/silccore/silcauth.[ch],
5166           lib/silccore/silcchanel.[ch], lib/silcclient/client_channel.c,
5167           silcd/packet_send.c, lib/silccore/silcprivate.[ch],
5168           lib/silcmath/silcprimegen.c, lib/silcmath/silcmath.h, and
5169           lib/silccrypt/rsa.c.
5170
5171         * Added function silc_pkcs_generate_key to the
5172           lib/silccrypt/silcpkcs.[ch] for applications so that they
5173           don't need to do pkcs->pkcs->init calls anymore.
5174
5175         * Remove SilcSocketConnection from the SFTP API since it really
5176           wasn't needed there.  The application has the information
5177           saved in its contexts anyway and the SFTP layer doesn't need
5178           know about it.  Affected files lib/silcsft/silcsftp.h and
5179           lib/silcsftp/sftp_[server/client].c.
5180
5181         * Rewrote the SILC SIM (modules) interface in lib/silcsim.[ch].
5182           The SilcSimContext is not SilcSim.
5183
5184         * Fixed possible buffer overflows in silc_id_render in the
5185           lib/silcutil/silcutil.c.
5186
5187         * On EPOC the global crypto module lists are not used at all
5188           in the crypto library.  Added support for using the constant
5189           algorithm list on EPOC.  Affected files are
5190           lib/silccrypt/silccipher.c, silchash.c, silchmac.c and
5191           silcpkcs.c.
5192
5193         * Fixed the handling of third parameter of KICKED notify, since
5194           it was mistakenly updated to SILC Protocol 1.0 even though it
5195           is to be included in 1.1.  Since it is not in 1.0 it is not
5196           mandatory, and this fix now handles it only if it is provided,
5197           and it is not error if it is not provided.  Affected file
5198           lib/silcclient/client_notify.c.
5199
5200 Sat Mar 16 09:07:27 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5201
5202         * Handled CHANNEL_CHANGE notify (ignore it) in Irssi SILC
5203           client.  Affected file irssi/src/silc/core/client_ops.c.
5204
5205         * Merged with Irssi 0.8.4 from irssi.org CVS.
5206
5207 Thu Mar 14 12:53:57 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5208
5209         * Check for valid socket connection in client entries before
5210           sending any messages.  Fixes a crash, but doesn't fix some
5211           other underlaying bug that is lurking there.  Affected
5212           file silcd/packet_send.c.
5213
5214 Thu Mar 14 13:38:12 EET 2002  Timo Sirainen <tss@iki.fi>
5215
5216         * $usermode, $cumode and $cumode_space expandos shouldn't do
5217           anything with non-SILC server records. Affected file
5218           irssi/src/silc/core/silc-expandos.c
5219
5220 Wed Mar 13 21:38:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5221
5222         * Fixed the silc_net_check_[host/local]_by_sock to support
5223           IPv6 bound sockets as well.  Now they can return IPv6 addresses
5224           as well.  Affected file lib/silcutil/silcnet.c.
5225
5226         * Fixed silc_net_addr2bin to correctly convert IPv6 addresses.
5227           Affected lib/silcutil/unix/silcunixnet.c.
5228
5229         * Fixed ID rendering (at least on some platforms, not NetBSD)
5230           for IPv6 addresses.  Affected file lib/silcutil/silcutil.c.
5231
5232 Tue Mar 12 17:58:59 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5233
5234         * Added silc_hash_public_key and silc_hash_public_key_compare
5235           functions to be used with SilcHashTable.  They can be used to
5236           hash public keys and compare public keys in hash table.  Affected
5237           file lib/silcutil/silcutil.[ch].
5238
5239         * Added support for specifying multiple public keys for Client
5240           connection section in server configuration file.  This makes it
5241           possible to accept multiple public keys from same host, or to
5242           make a section that accepts any incoming host, and have the
5243           accepted public keys listed in the section.
5244
5245           Added functions silc_sever_[find/get]_public_key,  added the
5246           support for this actually to all connection sections but only
5247           the Client section is currently allowed to specify multiple
5248           public keys.
5249
5250           Affected files are silcd/server.c, server_internal.h,
5251           command.c, protocol.c, server_util.[ch], packet_receive.c.
5252
5253 Mon Mar 11 23:37:38 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5254
5255         * Merged Irssi 0.8.2 from irssi.org CVS.
5256
5257 Sun Mar 10 23:34:48 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5258
5259         * If silc_debug is TRUE, also output standard logging messages
5260           to stderr with the debug output.
5261
5262           Made silc_log_reset_all() flushing all channels before returning.
5263           Also fixed some documentation typos.
5264
5265           Affected files are lib/silcutil/silclog.[ch].
5266
5267 Sun Mar 10 20:07:49 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5268
5269         * Fixed the server to check correctly the amount of connections
5270           from single host, by checking also the type of the connection.
5271           Fixed also the comparison of number of connections and number
5272           of allowed connections.  Affected files are silcd/server.c,
5273           server_util.[ch].
5274
5275 Fri Mar  8 17:16:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5276
5277         * Fixed the USERS command reply to save the user's mode on the
5278           channel as well.  Fixed JOIN command reply to check whether a
5279           client is on channel already and not join it twice.  Affected
5280           file lib/silcclient/command_reply.c.
5281
5282         * Added new file silc-expandos.c into irssi/silc/core/ to return
5283           various stuff for various signal for the statusbar etc. updating.
5284           Now Irssi SILC client prints channel user modes etc. on the
5285           statusbar.
5286
5287         * The user mode (like server/router operator changes) is now shown
5288           on the Irssi SILC client's statusbar.  The affected files are
5289           irssi/src/silc/core/client_ops.c, silc-expandos.c.
5290
5291 Thu Mar  7 19:21:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5292
5293         * Changed silc_mutex_[un]lock calls in lib/silcutil/silcschedule.c
5294           to SILC_SCHEDULE_[UN]LOCK macros.
5295
5296         * Added more error printing to logs in server code.  Affected
5297           files silcd/server.c and silcd/protocol.c.
5298
5299         * Fixed -S option parsing in Irssi SILC Client.  Affected file
5300           irssi/src/silc/core/silc-core.c.
5301
5302         * Added silc_buffer_alloc_size function.  Affected file is
5303           lib/silcutil/silcbuffer.h.
5304
5305 Tue Mar  5 14:37:27 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5306
5307         * Changed all silc_[hash|hmac|cipher|pkcs]_default tables to
5308           constants.  Affected files in
5309           lib/silccrypt/silcpkcs.[ch], silchash.[ch], silchmac.[ch] and
5310           silccipher.[ch].
5311
5312         * Changed the internal SFTP Memory FS table to const.  Affected
5313           file lib/silcsftp/sftp_fs_memory.c.
5314
5315 Sun Mar  3 18:37:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5316
5317         * Fixed the buffer formatting and unformatting routines to
5318           check the size of 64 bits types with sizeof().  Affected
5319           file is lib/silcutil/silcbuffmt.c.
5320
5321 Mon Feb 25 17:19:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5322
5323         * Removed 0.6.x backwards support.
5324
5325 Sun Feb 24 12:53:25 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5326
5327         * Changed all integer type names:
5328           [u]int[8/16/32/64] -> Silc[UInt/Int][8/16/32/64].  This is
5329           to avoid collisions with other libraries using same type names
5330           as we did.
5331
5332 Sat Feb 23 20:31:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5333
5334         * Added `prefer_ipv6' argument to the functions
5335           silc_net_gethostbyname[_async].  If it is TRUE it will return
5336           IPv6 address over IPv4.  If FALSE IPv4 address is returned
5337           even if IPv6 address was found.  Affected files
5338           lib/silcutil/silcnet.[ch].
5339
5340         * Added support silc_net_create_connection[_async] to fallback
5341           to IPv4 address if IPv6 address could not be used (like if
5342           it doesn't work on a specific system).  Affected file in
5343           lib/silcutil/unix/silcunixnet.c.
5344
5345 Sat Feb 23 15:20:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5346
5347         * Added silc_schedule_reinit function to do the enlarging
5348           of the max tasks handling capabilities of the scheduler.
5349           Affected files lib/silcutil/silcschedule.[ch].
5350
5351 Wed Feb 20 20:41:01 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5352
5353         * Added automatic extern "C" { ... } for C++ compilers so the
5354           application does not need to define them.  Affected file
5355           includes/silcincludes.h.
5356
5357         * Renamed lib/silcclient/silcapi.h to silcclient.h as the
5358           old name went against naming convention.  Applications now
5359           include "silcclient.h" instead of "clientlibincludes.h".
5360           Removed includes/clientlibincludes.h, it is redundant now.
5361
5362         * Renamed includes/version.h to silcversion.h.
5363
5364         * Added really preliminary support for OS/2 into the util
5365           library.  Only thread & mutex API is implemented, others
5366           are still to be implemented.  Created the lib/silcutil/os2/
5367           directory.  Created also file includes/silcos2.h.
5368
5369 Wed Feb 20 18:48:49 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5370
5371         * Added preliminary BeOS support into the util library.
5372           Created lib/silcutil/beos/, and implemented all the needed
5373           functions to support SILC on BeOS.  Created also file
5374           includes/silcbeos.h.
5375
5376 Mon Feb 18 15:49:22 EET 2002  Timo Sirainen <tss@iki.fi>
5377
5378         * Added proper initializations to silc's irssi code, so it's
5379           now possible to load it as module.  Affected files
5380           irssi/src/silc/core/silc-core.c,
5381           fe-common/silc/fe-common-silc-core.[ch] and fe-text/silc.c
5382
5383 Sun Feb 17 19:02:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5384
5385         * Merged latest Irssi (0.8.1) from the irssi.org's CVS into
5386           the SILC tree.
5387
5388         * Fixed the silcdoc document generator to correct generate
5389           docs from all kinds of filenames.  Affected files are
5390           util/robodoc/Source/generator.c, scripts/silcdoc/silcdoc
5391
5392         * ROBOdoc documented lib/silcutil/silcmemory.h.
5393           Added also new function silc_memdup.
5394
5395         * Removed lib/silcutil/silcbufutil.h and moved those routines
5396           to the lib/silcutil/silcbuffer.h.
5397
5398 Sun Feb 17 15:52:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5399
5400         * Added `user_count' to the SilcChannelEntry which now tells the
5401           number of users on the channel.  The user count is now saved
5402           in normal server of global channels as well.  Affected files
5403           silcd/server.c, idlist.h, packet_receive.c and command.c.
5404
5405         * Splitted lib/silcutil/silcutil.[ch] into silcfileutil.[ch] to
5406           include file utility functions.
5407
5408         * Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines
5409           instead of calling directly OS routines.
5410
5411         * Fixed NICK change printing in Irssi SILC Client. Fixed
5412           KICKED notify printing in Irssi SILC Client.  Affected file
5413           irssi/src/silc/core/client_ops.c.
5414
5415         * Fixed a NICK change bug in client library, to not recreate the
5416           client_entry->channels hash table everytime nick is changed.
5417           Affected file lib/silcclient/client.c.
5418
5419 Sun Feb 17 10:10:14 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5420
5421         * ROBOdoc documented the lib/silcske/silcske.h, and improved
5422           the SKE interface a bit.
5423
5424         * Fixed padding problem in PKCS#1. The padding was not actually
5425           random since the random number generator was used incorrectly.
5426           This security bug affects only when encrypting with PKCS#1, and
5427           it is not currently used at all in SILC. SILC only use signing
5428           with PKCS#1. Affected file lib/silccrypt/pkcs1.c.
5429
5430 Sat Feb 16 13:44:24 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5431
5432         * Rewrote the notify handling in Irssi SILC client to not call
5433           the events as signals.  Fixes problems with Perl support.
5434           Affected files irssi/src/silc/core/client_ops.c, silc-channels.c.
5435
5436         * Send the auto-nicking NICK command in client library with
5437           little timeout after connecting.  The affected file is
5438           lib/silcclient/client.c.
5439
5440         * Added following new config file settings:
5441           channel_rekey_secs, key_exchange_rekey, key_exchange_pfs,
5442           key_exchange_timeout, conn_auth_timeout, connections_max,
5443           links_max.
5444
5445           Implemented all the new config settings handling in the server.
5446
5447           Optimized the use of SKE Mutual flag usage.  Use it only
5448           if connection authentication protocol is not based in public
5449           key authentication.
5450
5451           Renamed all SilcServerConfigSection* to SilcServerConfig*
5452           to have a bit shorter names.
5453
5454           Affected files silcd/serverconfig.[ch], server.[ch], and
5455           protocol.[ch].
5456
5457 Sat Feb 16 02:46:43 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5458
5459         * Cleaned up the listening sockets code, preparing for the rehash
5460           support.  Affected file is silcd/server.c.
5461
5462         * Fixed some output messages.  Affected files are silcd/silcd.c,
5463           and silcd/server.c.
5464
5465 Fri Feb 15 19:10:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5466
5467         * Create lib/doc/silcrng_intro.html document as introduction
5468           to SILC RNG.  ROBOdoc documented lib/silccrypt/silcrng.h.
5469
5470 Fri Feb 15 13:23:03 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5471
5472         * Fixes to the silcd config template.  Affected file is
5473           doc/example_silcd.conf.in.
5474
5475         * Removed type casts from silc_calloc(), conforming to the
5476           CodingStyle.  Affected file is lib/silcutil/silcconfig.c.
5477
5478         * Removed param_name member from client, server, and router
5479           section structs, now identifying the param directly.
5480
5481           Added CONFIG_FREE_AUTH macro in config file parsing.
5482
5483           Affected files are silcd/serverconfig.[ch].
5484
5485 Fri Feb 15 12:24:08 EET 2002  Timo Sirainen <tss@iki.fi>
5486
5487         * Fixed command line parameter handling. All SILC initialization
5488           is now done in silc_core_init() which also fixes autoconnecting
5489           to servers.
5490
5491           Affected files irssi/src/silc/core/silc-core.c,
5492           irssi/src/fe-text/silc.c.
5493
5494 Thu Feb 14 22:03:58 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5495
5496         * Added new configuration options and blocks:
5497           keepalive_secs, reconnect_count, reconnect_interval,
5498           reconnect_interval_max, reconnect_keep_trying and
5499           require_reverser_lookup.  Added ConnectionParam block, and
5500           implemented the connection parameters when connecting as
5501           initiator and when accepting connections as responder.
5502
5503           Added CONFIG_IS_DOUBLE macro in config file parsing, to check
5504           whether given configuration value has been given already.
5505
5506           Affected files silcd/serverconfig.[c], server.[c].
5507
5508         * Splitted the doc/example_silcd.conf.in.  Separated the crypto
5509           algorithm parts and created new file silcalgs.conf, that
5510           is now included from the example_silcd.conf.in.
5511
5512         * Optimized the silc_server_connect_to_router_second to take
5513           the connection configuration object from the SilcServerConnection
5514           object instead of finding it during the connecting phase.
5515           Added the configuration object to SilcServerConnection struct.
5516           Affected files silcd/server_internal.h, server.c.
5517
5518 Thu Feb 14 16:02:26 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5519
5520         * Add the client on channel after it was resolved at the
5521           channel message receiving, and it was not already on the
5522           channel.  Affected file lib/silcclient/client_channel.c.
5523
5524 Wed Feb 13 23:16:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5525
5526         * Fixed the public key authentication to allocate always the
5527           destination signature buffer instead of using static buffer.
5528           Affected file silcd/protocol.c.
5529
5530 Wed Feb 13 20:51:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5531
5532         * Unified the serverconfig.[ch]'s helper function interface.
5533           Affected file silcd/serverconfig.[ch].
5534
5535         * Removed doc/example_silc.conf.in since it is redundant.
5536           The make install will now install irssi/silc.conf file.
5537
5538         * Added new Passphrase and Publickey authentication methods to
5539           config file, allowing both public key and passphrase based
5540           authentication to be set at the same time.
5541
5542           Added `prefer_passphrase_auth' setting in config file which
5543           can be used to set to prefer passwd auth if both passwd and
5544           public key is set.  If not set, public key is preferred.
5545           This has effect only when being initiator (responder will try
5546           both anyway).
5547
5548           Added support for authentication with passphrase and public key
5549           at the same time.  The passphrase is tried first always since
5550           it is faster to check.
5551
5552           Affected file silcd/serverconfig.[ch], server.c, protocol.[ch].
5553
5554 Wed Feb 13 12:46:25 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5555
5556         * Merged the new SILC Config library, with the server parsing
5557           support.  Read the header file silcconfig.h or the toolkit
5558           documentation for the news.  Affected files are
5559           doc/example_silcd.conf.in lib/silcutil/silcconfig.[ch]
5560           silcd/command.c silcd/packet_receive.c silcd/packet_send.c
5561           silcd/protocol.c silcd/server.c silcd/server_backup.c
5562           silcd/serverconfig.[ch] silcd/silcd.c.
5563
5564         * Fixed some silclog documentation.  Affected file is
5565           lib/silcutil/silclog.h.
5566
5567 Sun Feb 10 18:11:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5568
5569         * The silc_cipher_register, silc_hash_register and
5570           silc_hmac_register now checks if the object to be registered
5571           is registered already.  Affected files are
5572           lib/silccrypt/silccipher.c, silchash.c and silchmac.c.
5573
5574 Sun Feb 10 15:48:38 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5575
5576         * Merged new irssi from irssi.org's CVS, the version 0.7.99.
5577
5578 Sat Feb  9 14:54:33 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5579
5580         * Allow zero length channel messages inside the Channel Message
5581           Payload.  Affected file lib/silccore/silcchannel.c.
5582
5583         * Fixed scripts/silcdoc/silcdoc to support all kinds of filenames
5584           as header filenames.
5585
5586         * Removed lib/silcclient/README and created HTML file
5587           lib/silcclient/silcclient_using.html, which is now included
5588           as part of Toolkit documentation.
5589
5590 Thu Feb  7 10:12:25 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5591
5592         * Fixed CUMODE_CHANGE notify handling to change the mode of
5593           correct client.  Affected file lib/silcclient/client_notify.c.
5594
5595         * Make silc_rng_alloc fail if it cannot allocate the sha1
5596           hash algorithm.  Affected file lib/silccrypt/silcrng.c.
5597
5598 Sun Feb  3 17:20:52 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5599
5600         * Fixed the file transfer's key agreement payload to include
5601           zero port also if the hostname is NULL because it could not
5602           be bound.
5603
5604           Call file transfer monitor callback now also if error occurs
5605           during key agreement protocol.
5606
5607           Changed the silc_client_file_send interface to return the
5608           SilcClientFileError instead of session id.  The session ID
5609           is returned into pointer provided as argument.
5610
5611           Check that the file exists locally before sending the
5612           file transfer request at all.
5613
5614           Affected file lib/silcclient/client_ftp.c, silcapi.h.
5615
5616         * Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer
5617           error than can occur while key agreement protocol.  Affected
5618           file lib/silcclient/silcapi.h.
5619
5620         * Fixed the event_mode CMODE handler to not crash when mode
5621           is changed and +k mode is set in the channel.  Affected file
5622           irssi/src/silc/core/silc-channels.c.
5623
5624         * Fixed SILC_LOG_ERROR to give out Error and not Warning, and
5625           SILC_LOG_WARNING to give out Warning and not Error.  Affected
5626           file lib/silcutil/silclog.c.
5627
5628         * Fixed the channel message payload decryption in the function
5629           silc_channel_message_payload_decrypt to not modify the original
5630           buffer before it is verified that the message decrypted
5631           correctly.  Otherwise, next time it is called with correct
5632           channel key it won't encrypt since the payload is corrupted.
5633           Affected file lib/silccore/silcchannel.c.
5634
5635 Sun Feb  3 11:46:12 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5636
5637         * Do not constantly resize the window.  A fix patch by cras.
5638           Affected file irssi/src/fe-text/screen.c.
5639
5640 Sat Feb  2 16:54:18 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5641
5642         * Applied IPv6 fix patch from Jun-ichiro itojun Hagino.
5643           Affected file lib/silcutil/silcnet.c.
5644
5645 Fri Feb  1 22:33:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5646
5647         * Fixed a bug in hash table internal routine for traversing
5648           the table with foreach callback.  The current entry may
5649           become invalid in the callback but it was referenced after
5650           the callback returned.
5651
5652           Do not allow auto rehashing of hash table during the
5653           silc_hash_table_foreach operation, for same reasons as it is
5654           not allowed for SilcHashTableList.  Affected files are
5655           lib/silcutil/silchashtable.[ch].
5656
5657 Fri Feb  1 14:55:00 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5658
5659         * Defined DLLAPI into silcincludes.h and silcwin32.h for
5660           Win32 DLL.  extern's in header files are now declared with
5661           DLLAPI.
5662
5663 Thu Jan 31 23:34:33 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5664
5665         * Fixed private message handling.  It used some old code that
5666           caused the client to crash.  Affecte file is
5667           lib/silcclient/client_prvmsg.c.
5668
5669 Thu Jan 31 19:06:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5670
5671         * Added function silc_client_add_channel,
5672           silc_client_replace_channel_id, and removed functions
5673           silc_client_new_channel_id and silc_idlist_get_channel_by_id
5674           from client library.
5675
5676         * Added cross reference of the joined channels to the
5677           SilcClientEntry, and changed the SilcChannelEntry's
5678           users list to SilcHashTable.  The affected files are
5679           lib/silcclient/idlist.[ch].
5680
5681         * Fixed a bug in hash table tarversing.  While the hash table
5682           is traversed with SilcHashTableList the table must not be
5683           rehashed.  It is now guaranteed that auto rehashable tables
5684           are not rehashed while tarversing the list.  Also defined that
5685           silc_hash_table_rehash must not be called while tarversing
5686           the table.  Added function silc_hash_table_list_reset that must
5687           be called after the tarversing is over.  The affected files are
5688           lib/silcutil/silchashtable.[ch].
5689
5690         * Changed all hash table traversing to call the new
5691           silc_hash_table_list_reset in server and in client library.
5692
5693         * Added function silc_client_on_channel to return the
5694           SilcChannelUser entry if the specified client entry is joined
5695           on the specified channel.  This is exported to application as
5696           well.  Affected files lib/silcclient/client_channel.c, silcapi.h.
5697
5698 Wed Jan 30 19:14:31 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5699
5700         * Fixed founder regaining problem with JOIN command on normal
5701           server.  The notify for mode change must be sent always and
5702           not only if !cmd->pending.  Affected file silcd/command.c.
5703
5704         * Fixed the WHOWAS command's reply sending to support the
5705           lists correctly.  Affected file silcd/command.c.
5706
5707 Wed Jan 30 11:11:47 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5708
5709         * When sending JOIN command to router for processing the
5710           sender's old command identifier was not saved back to the
5711           sender's command context, fixed now.  The affected file is
5712           silcd/command.c.
5713
5714         * Create the key in JOIN command of the router did not return
5715           the channel key, added check for this.  Affected file is
5716           silcd/command.c.
5717
5718         * Fixed a channel ID update bug in JOIN command reply.  Do
5719           not directly upgrade the ID but call the function
5720           silc_idlist_replace_channel_id if the ID was changed.
5721           Affected file silcd/command_reply.c.
5722
5723         * Fixed memory leaks from command calling if it would fail.
5724           Affected file silcd/command.c.
5725
5726 Tue Jan 29 19:49:31 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5727
5728         * Applied patches from cras:
5729
5730           Memory leak fixes around libaries, irssi window resize fix,
5731           new silclist.h and silcdlist.h, all extern inline changed to
5732           static inline.
5733
5734         * Removed dotconf from lib/dotconf, not needed anymore.
5735
5736         * Removed TRQ from lib/trq, not needed anymore.
5737
5738         * Do more frequent heartbeats (5 minutes instead of 10 minutes)
5739           with server connections.  Later this will be configurable
5740           in config file after new config file is done.  Affected file
5741           silcd/server.c.
5742
5743 Tue Jan 29 10:35:03 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5744
5745         * Fixed a crash in server related to channel announcements.
5746           Affected file silcd/server.c.
5747
5748 Mon Jan 28 17:49:42 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5749
5750         * Fixed memory leaks in silc_server_create_new_channel*
5751           functions.  Affected file silcd/server.c.
5752
5753         * Fixed the CHANNEL_CHANGE notify to re-announce the channel
5754           which ID was changed.  This way the router will send the
5755           user list for the channel again, and server won't be in
5756           desync in some rare circumstances.  Affected file is
5757           silcd/packet_receive.c.
5758
5759 Sun Jan 27 21:04:19 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5760
5761         * Check for NULL socket pointer in the function
5762           silc_server_packet_send_to_channel_real.  Affected file
5763           silcd/packet_send.c.
5764
5765         * Fixed the BAN notify handling to correctly remove ban
5766           list.  Affected file silcd/packet_receive.c.
5767
5768 Sat Jan 26 23:01:03 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5769
5770         * Fixed some header addition to Toolkit distribution in
5771           lib/silcutil/Makefile.am and lib/trq/Makefile.am.
5772
5773         * Added lib/silcclient/client_ops_example.h as an template
5774           file for application programmers to quickly start using
5775           the SilcClientOperation functions in their application.
5776           Updated the lib/silcclient/README as well to tell about this
5777           nice file made available.
5778
5779 Sat Jan 26 10:45:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5780
5781         * Call silc_server_remove_from_channels when removing client
5782           entry when NO_SUCH_CLIENT_ID was received.  Affected file
5783           is silcd/command_reply.c.
5784
5785 Fri Jan 25 19:12:36 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5786
5787         * Added server & router operator statistics updating.  Affected
5788           file silcd/packet_receive.c and silcd/command.c.
5789
5790         * Fixed the SERVER_SIGNOFF notify handling on normal server
5791           not to save the history information for clients.  Same was
5792           fixed earlier in remove_clients_by_server function, but not
5793           here.  Affected file silcd/packet_receive.c.
5794
5795         * Raised the default connection-retry count from 4 to 7 in
5796           server.  Affected file silcd/server.h.
5797
5798         * Cancel any possible reconnect timeouts when we start the
5799           key exchange.  Affected file silcd/server.c.
5800
5801         * Do not reconnect on connection failure when SCONNECT was
5802           given.  Affected files silcd/server.[ch].
5803
5804 Tue Jan 22 18:19:36 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5805
5806         * Removed assert()'s from the lib/silcclient/client_keyagr.c.
5807
5808         * Fixed the NICK command to always give the unformatted
5809           nickname to the one giving the NICK command.  If unformatted
5810           nickname is cached already it will be formatted and the
5811           local entry will always get the unformatted nickname.
5812           Affected file lib/silcclient/idlist.c.
5813
5814         * Fixed some double frees from client library commands.
5815           Affected file is lib/silcclient/command.c.
5816
5817         * Fixed CUMODE command in server to assure that no one can
5818           change founder's mode than the founder itself, there was a
5819           little bug.  Affected file silcd/command.c.
5820
5821 Mon Jan 21 19:07:53 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5822
5823         * Removed the SilcClientCommandDestructor from the client
5824           libary, it is not needed anymore.  Affected files are
5825           lib/silcclient/silcapi.h, command[_reply].[ch],
5826           client_notify, idlist.c.
5827
5828         * Fixed GETKEY command to first resolve client, and then
5829           resolve the server only if the client was not found, instead
5830           of resolving both at the same time.  Affected file is
5831           lib/silcclient/command.c.
5832
5833         * Added silc_client_start_key_exchange_cb and lookup the
5834           remote hostname and IP address before starting the key
5835           exchange with server.  The affected file is
5836           lib/silcclient/client.c.
5837
5838         * The server's public key is now saved using the IP address
5839           of the server and not the servername for the filename.
5840           The hostname public key filename is checked as an fall back
5841           method if the IP address based filename is not found.
5842
5843           Fixed the GETKEY command to save the fetched server key
5844           in correct filename.
5845
5846           Print the remote server's hostname now when new key is
5847           received during connection process.  Affected file is
5848           irssi/src/silc/core/client_ops.c.
5849
5850         * Return always our own public key to the client if it asks
5851           for it with GETKEY command.  Affected file silcd/command.c.
5852
5853         * Removed the use_auto_addr variable from default config
5854           file since it was in wrong section.  Affected file is
5855           irssi/src/config.
5856
5857         * Fixed TOPIC_CHANGE notification to not route it when it
5858           was sent using silc_server_send_notify_to_channel function.
5859           Affected file silcd/command.c.
5860
5861         * Fixed silc_server_send_notify_kicked to send the kicker's
5862           Client ID also, it was missing.  Affected files are
5863           silcd/command.c, silcd/packet_send.[ch].
5864
5865 Thu Jan 17 18:59:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5866
5867         * Do not save client history information in SERVER_SIGNOFF.
5868           Fixes the bug in normal server that it does not detect
5869           the client becoming valid after the server becomes back
5870           online.  Affected file silcd/server_util.c.
5871
5872         * Added `sock_error' field  into the SilcSocketConnection
5873           context.  When error occurs during socket operation (read
5874           or write) the error is saved.  Added also new function
5875           silc_socket_get_error to return human readable socket error
5876           message.  Affected files are lib/silcutil/silcsockconn.[ch],
5877           lib/silcutil/unix/silcunixsockconn.c, and
5878           lib/silcutil/win32/silcwin32sockconn.c.
5879
5880         * The server now prints the socket error message in the
5881           signoff for client.  Affected file silcd/server.c.
5882
5883         * Fixed the `created' channel information sending from router
5884           to server in JOIN command.  Checks now whether the channel
5885           really was created or not and set it according that.
5886
5887           Fixed the JOIN command to use the client entry's current
5888           ID during the joining procedure instead of the one it sent
5889           in the command (it is checked though), since it can change
5890           between the packet processing and command processing, and
5891           would just case unnecessary pain in the client end.  Affected
5892           file silcd/command.c.
5893
5894         * Fixed a channel key payload sending to use correct channel
5895           ID when the server was forced to change the channel's ID by
5896           router.  Router sent the key payload with the old Channel ID.
5897           Affected file silcd/packet_receive.c.
5898
5899 Wed Jan 16 22:26:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5900
5901         * Call silc_server_save_channel_key only if the key payload
5902           was provided in the JOIN command's command reply.  Affected
5903           file silcd/command_reply.c.
5904
5905 Tue Jan 15 18:49:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5906
5907         * Fixed silc_mp_sizeinbase to return the value correctly with
5908           MPI.  Affected file lib/silcmath/mp_mpi.c.
5909
5910         * Fixed the stop_server signal to correctly stop the scheduler
5911           and gracefully stop the server when SIGTERM or SIGINT signals
5912           are received.  Affected file silcd/silcd.c.
5913
5914 Mon Jan  7 23:38:19 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5915
5916         * Simple handling of TERM and HUP signals. Also added some log
5917           flushing call around.  Affected file is
5918           silcd/silcd.c.
5919
5920         * Fixed small bugs in silclog.c. Now buffering output will take
5921           effect after 10 seconds since startup: This will ensure that
5922           no important startup messages are lost. Also output redirection
5923           will preserve original format ([Date] [Type] message).
5924           Affected file is lib/silcutil/silclog.c.
5925
5926         * Added two options to the config file, in the logging section:
5927           quicklogs:<yes/no>: and flushdelay:<seconds>:.  Affected files
5928           lib/silcutil/silclog.[ch], silcd/serverconfig.[ch].
5929
5930 Sun Jan  6 12:49:40 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5931
5932         * Do not print the warning about log files not being initialized
5933           more than once to avoid excess logging.  Affected file is
5934           lib/silcutil/silclog.c.
5935
5936         * Fixed the SIM compilation in lib/silcsim/Makefile.am.  Fixed
5937           the SIM copying in make install in Makefile.am.pre.
5938
5939 Sun Jan  6 01:10:21 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
5940
5941         * Rewritten silclog APIs. Globally interesting changes follows:
5942           silc_log_set_files() changed to silc_log_set_file().
5943           silc_log_set_callbacks() changed to silc_log_set_callback().
5944           ROBOdoc documented silclog header file.
5945           SilcLogCb now returns bool to wether inihibit the default
5946           handler or not (to keep the old behaviour return always TRUE).
5947           The new APIs should also fix the problem of the
5948           silcd_error.log file that was written in the current directory.
5949
5950           New features:
5951           Log files streams will remain opened after silc_log_set_file()
5952           call, means less CPU usage notably on high traffic servers.
5953           File streams are now full buffered, and flushed to the disk
5954           every 5 minutes, lesses HD activity and CPU usage.
5955           Messages can be redirected, allowing admins to configure
5956           one single logfile for all server messages.
5957           the silc_log_quick global variable to activate fast-logging.
5958           Affected files lib/silcutil/silclog.[ch]
5959
5960         * Changed some code to conform new silclog APIs. Affected
5961           files are doc/example_silcd.conf.in, silcd/server.c
5962           irssi/src/silc/core/silc-core.c, silcd/serverconfig.[ch],
5963           silcd/silcd.c.
5964
5965         * Fixed a memory leak that could occur in some situations.
5966           Affected file silcd/serverconfig.c.
5967
5968 Sat Jan  5 13:37:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5969
5970         * Added the silc_client_del_client to remove the client from
5971           all channels as well.  Affected file lib/silcclient/idlist.c.
5972
5973         * Fixed the client library to correctly remove the client
5974           from all channels when the client entry is being destroyed.
5975           Affected file lib/silcclient/client_notify.c, command.c.
5976
5977         * Added auto-nicking support to the client library.  If the
5978           applicatio now sets client->nickname it will be sent to the
5979           server after connecting by the library.  This way for example
5980           SILCNICK (or IRCNICK) environment variables will have effect
5981           and always change the nickname automatically to whatever
5982           it is wanted.  Affected file lib/silcclient/client.[ch].
5983
5984         * Renamed silc_server_command_bad_chars to the
5985           silc_server_name_bad_chars and moved it to the
5986           silcd/server_util.[ch].  Added also new function
5987           silc_server_name_modify_bad to return nickname that
5988           includes bad characters as new nickname without those
5989           bad characters.  This check and modify is now used in
5990           silc_server_new_client when the username is initially set
5991           as nickname, so it must be checked to be valid nickname.
5992           Affected file silcd/packet_receive.c.
5993
5994         * The nickname length is now taken from the packet for real
5995           and not trusted to strlen() since it clearly can return
5996           wrong length for nickname including bad characters.  This
5997           also applies to channel names.  Affected file silcd/command.c.
5998
5999         * Removed the lib/silcsilm/modules directory.  Modules are now
6000           compiled into the lib/silcsim.  Fixed the copying of the
6001           modules to follow symbolic links in Makefile.am.pre.
6002
6003 Wed Jan  2 18:56:21 EET 2002  Pekka Riikonen <priikone@silcnet.org>
6004
6005         * Fixed silc_string_regexify list creation.  Fixes bugs with
6006           BAN and INVITE commands in server.  The affected file is
6007           lib/silcutil/unix/silcunixutil.c.
6008
6009 Sun Dec 30 13:41:34 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6010
6011         * Removed the command destructor entirely from the server's
6012           command and command reply routines.  It is not needed, and
6013           its usage was buggy and caused crashes.  Affected files are
6014           silcd/command[_reply].[ch].
6015
6016 Fri Dec 28 12:43:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6017
6018         * Cancel protocol and NULL sock->protocol if timeout
6019           occurred during protocol.  Affected file silcd/server.c.
6020
6021         * Cancel protocol timeouts always before calling the final
6022           callback, to assure that after final callback is called
6023           no other state will be called for the protocol anymore.
6024           Affected file silcd/protocol.c.
6025
6026         * Print error log if incoming connection configuration could
6027           not be found.  Affected file silcd/server.c.
6028
6029         * Fixed JOIN command to correctly save the founder mode
6030           to the client on normal SILC server, when the channel
6031           was created by the router.  Affected file silcd/command.c.
6032
6033         * Fixed LIST command (hopefully) to send correct reply
6034           packets.  Affected file silcd/command.c.
6035
6036 Thu Dec 20 16:14:52 CET 2001  Pekka Riikonen <priikone@silcnet.org>
6037
6038         * The silc_packet_receive_process now returns FALSE if the
6039           read data was invalid packet, and TRUE if it was ok.
6040
6041           The server now checks that if unauthenticated connection
6042           sends data and its processing fails the server will close
6043           the connection since it could be a malicious flooder.
6044
6045           Affected files lib/silccore/silcpacket.[ch], silcd/server.c.
6046
6047 Wed Dec 19 21:31:25 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6048
6049         * Make sure the warning about error opening a log file is
6050           printed only once and not everytime it fails (produces
6051           too much useless log).  Affected file lib/silcutil/silclog.c.
6052
6053 Wed Dec 19 18:21:51 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
6054
6055         * Made the silc_server_daemonise() function more readable.
6056           Affected file silcd/server.c.
6057
6058         * Pid file is now optional, the user may comment it out from
6059           the config file. Removed define SILC_SERVER_PID_FILE, we
6060           don't need a default any longer.  Affected file
6061           configure.in.pre, lib/Makefile.am.pre.
6062
6063         * Make some use of the pid file. The server now dies at startup
6064           if it detects a valid pid file on his path. The server would
6065           die anyway in this circumstance, because of the bind() failure.
6066           Affected file silcd/silcd.c.
6067
6068         * No longer compiling lib/dotconf.
6069
6070 Mon Dec 17 18:24:27 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6071
6072         * Fixed JOIN command parsing not to crash.  Affected file
6073           lib/silcclient/command.c.
6074
6075         * Fied the NICK_CHANGE notify to add the new client entry
6076           even it is resolved.  This removes an <[unknown]> nick
6077           thingy bug in the client.  Affected file is
6078           lib/silcclient/client_notify.c.
6079
6080         * Do not try to allocate 0 bytes (efence does not like it)
6081           in lib/silccore/silccomand.c when encoding payload.
6082
6083         * Do not take IRCNICK as nickname in Irssi SILC client since
6084           it is not possible to set nickname before hand connecting
6085           the server (TODO has an entry about adding auto-nicking
6086           support).
6087
6088         * Changed the silc_server_command_pending to check whether
6089           there already exists an pending entry with the specified
6090           command, command identifier and pending callback.  This is
6091           to fix IDENTIFY and WHOIS related crashes that may register
6092           multiple pending commands with same identifier.  Affected
6093           file silcd/command.c.
6094
6095         * Fixed the server to reconnect to the router even if it
6096           was already reconnecting and EOF was received.  This to
6097           fix a possibility that the server wouldn't ever try to
6098           auto-reconnect to the router.  Affected file silcd/server.c.
6099
6100 Sat Dec 15 20:31:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6101
6102         * Fixed the server's password authentication to use the
6103           length of the locally saved password, and not the one
6104           sent in the packet.  Affected file silcd/protocol.c.
6105
6106         * Fixed same password authentication problem in the
6107           Authentication Payload handling routines in
6108           lib/silccore/silcauth.c.
6109
6110         * Yet another password authentication problem fixed with
6111           channel password handling in silcd/command.c.
6112
6113 Mon Dec 10 19:57:40 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6114
6115         * If first character of string in silc_parse_userfqdn is '@'
6116           then do not parse it.  Affected file is
6117           lib/silcutil/silcutil.c.
6118
6119 Sun Dec  9 22:18:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6120
6121         * Fixed minor bug in IDENTIFY command reply sending, which
6122           caused various weird problems during JOIN when it was
6123           resolving names for users.  Affected file silcd/command.c.
6124
6125 Sun Dec  9 19:18:41 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6126
6127         * Fixed the IDENTIFY command reply sending to chech better valid
6128           clients.  It was possible to send incomplete list of replies.
6129           Affected file silcd/command.c.
6130
6131 Sat Dec  8 15:58:31 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6132
6133         * Added silc_client_command[s]_[un]register functions now to
6134           dynamically register the commands in client library.  Removed
6135           the static table of commands.  This allows the client library
6136           to call commands without causing the application to know about
6137           what commands library has called.
6138
6139           Removed the INFO command reply kludge to detect when the command
6140           was called by library.  Now library use its own command reply
6141           function for INFO command.
6142
6143           Added function silc_client_command_call to call a command.
6144           Application can use it to call command, not access the structure
6145           directly.
6146
6147           Now all commands that are sent by the client library (not
6148           explicitly sent by application) use own command reply functions.
6149
6150           Affected files around lib/silcclient/ and in
6151           irssi/src/silc/core/.
6152
6153         * Fixed the WHOIS command reply sending to chech better valid
6154           clients.  It was possible to send incomplete list of replies.
6155
6156           Fixed the WHOIS and IDENTIFY to send the request to router
6157           if normal server did not do it and did not find any results.
6158
6159           Affected file silcd/command.c.
6160
6161 Thu Dec  6 17:21:06 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6162
6163         * Moved the internal data from SilcClient context into its
6164           own file, not accesible to application.  Affected files
6165           lib/silcclient/client.h and lib/silcclient/client_internal.h,
6166           and other files in client library.
6167
6168 Thu Dec  6 10:37:55 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6169
6170         * Added doc/examples installation target in Makefile.am.pre.
6171           A patch by salo.
6172
6173 Tue Dec  4 17:43:19 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6174
6175         * If NO_SUCH_CLIENT_ID notify is received for WHOIS or IDENTIFY
6176           commands the found client entry will be removed from the
6177           cache, after notifying application about the error.  Affected
6178           file lib/silcclient/command_reply.c.
6179
6180         * Changed the /MSG to check for exact nickname user gave, and
6181           not let `nick' match `nick@host' if it is only one found.  Now,
6182           user must type the exact nickname (like nick@host2) even if
6183           there are no more than one same nicks found.  This is to avoid
6184           a possibility of sending nickname to wrong nickname since
6185           `nick' could match `nick@host'.  Affected file is
6186           irssi/src/core/silc-servers.c.
6187
6188 Mon Dec  3 18:49:45 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6189
6190         * Do not print "you are now server operator" or similar when
6191           giving /away command.  Affected files are
6192           irssi/src/silc/core/client_ops.c, silc-servers.h.
6193
6194         * Made the silc_server_command_pending_error_check to send
6195           the same command reply payload it received back to the
6196           original sender of the command.  This way all arguments
6197           that was received by the server will be received by the
6198           client too.  Affected file silcd/command.c.
6199
6200         * Added the silc_idcache_add to return the created cache entry
6201           to a pointer.  Affected file lib/silccore/silcidcache.[ch].
6202
6203         * Add global clients to expire if they are not on any channel.
6204           This is because normal server will never know if they signoff
6205           if they are not on any channel.  The cache expiry will take
6206           case of these entries.  This is done by normal servers only.
6207           The affected files are silcd/command_reply.c,
6208           silcd/idlist.[ch], silcd/server and silcd/packet_receive.c.
6209
6210         * If server receives invalid ID notification for WHOIS or
6211           IDENTIFY and the ID exists in the lists, it is removed.
6212           Affected file silcd/command_reply.c.
6213
6214         * If NO_SUCH_CLIENT_ID is received for WHOIS or IDENTIFY command
6215           in client then client entry that it matches is searched and
6216           the nickname is printed on the screen for user.  Affected
6217           file irssi/src/silc/core/client_ops.c.
6218
6219 Mon Dec  3 11:56:59 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6220
6221         * Use cache entry expire time in the LIST command reply to
6222           purge old entries from the cache after the LIST command
6223           reply has been received.  This way we don't have non-existent
6224           entries in the cache for too long.  Affected file is
6225           silcd/command_reply.c.
6226
6227 Sun Dec  2 23:29:07 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6228
6229         * If we are normal server, and we've not resolved client info
6230           in WHOIS or IDENTIFY from router, and it is global client,
6231           we'll check whether it is on some channel.  If it is not
6232           then we cannot be sure about its validity and will resolve it
6233           from router.  Fixes a bug in WHOIS and IDENTIFY.  Affected
6234           file silcd/command.c.
6235
6236         * Search channel by name (if possible) rather than by ID
6237           in IDENTIFY command's command reply.  Affected file is
6238           silcd/command_reply.c.
6239
6240 Sun Dec  2 13:48:46 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6241
6242         * Distribute to the channel passphrase in CMODE_CHANGE notify.
6243           Updated specs and implemented it.  Affected file silcd/command.c,
6244           silcd/packet_send.c and silcd/packet_receive.c.
6245
6246         * Implemented the <founder auth> payload handling in the JOIN
6247           command.  If provided all conditions for channel joining
6248           except requirement to provide correct passphrase can be
6249           overrided by the channel founder.  Updated the protocol specs.
6250           Affected file silcd/command.c.
6251
6252           Added support for founder auth in JOIN command in client
6253           library.  Fixed the parsing of the JOIN command now to support
6254           all options as they should be.  The affected file is
6255           lib/silcclient/command.c.
6256
6257         * Optimized the WHOIS and IDENTIFY commands to send the request
6258           to router only if it includes nicknames or other names.  If
6259           they include only IDs then check the local cache first before
6260           routing.  Affected file is silcd/command.c.
6261
6262         * Added channels topic announcements.  Affected file is
6263           silcd/packet_receive.c and silcd/server.c.
6264
6265         * Fixed the silc_server_send_notify_topic_set to really destine
6266           the packet to channel.  Affected file silcd/packet_send.c.
6267
6268         * Fixed a crash in CHANNEL_CHANGE notify handling in the client
6269           library.  Affected file lib/silcclient/client_notify.c.
6270
6271         * Added UMODE announcements.  Affected file silcd/server.c.
6272
6273 Sat Dec  1 12:52:39 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6274
6275         * Memory leak fixes in:
6276
6277           lib/silcutil/silcsockconn.c
6278           lib/silcske/silcske.c
6279           lib/silcske/groups.c
6280           lib/silccrypt/rsa.c
6281           lib/silccrypt/silcpkcs.c
6282           lib/silccore/silccommand.c
6283           lib/silccore/silcidcache.c
6284           silcd/idlist.c
6285           silcd/packet_send.c
6286           silcd/command.c
6287
6288         * ROBOdoc documented the lib/silcske/groups.h file and a
6289           bit changed the interface for better.
6290
6291 Thu Nov 29 22:12:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6292
6293         * Update the client entry context in the ID cache after
6294           nick change.  Affected file lib/silcclient/command.c.
6295           Fixes the CUMODE command when regaining founder privileges,
6296           and a little WHOIS problem.
6297
6298         * Fixed silc_net_gethostbyname to correctly call the
6299           inet_ntop.  Affected file lib/silcutil/silcnet.c.
6300
6301 Thu Nov 29 19:31:23 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6302
6303         * Added IPv6 support checking to the configure.in.pre, added
6304           also --enable-ipv6 option to override the check.  Affected
6305           file configure.in.pre.
6306
6307         * The silc_thread_create now calls the start function
6308           directly if threads support is not compiled in.  Removes
6309           ugly #ifdef's from generic code.  Affected files are
6310           lib/silcutil/unix/silcunixthread, win32/silcwin32thread.c.
6311
6312         * Added silc_net_gethostby[name/addr]_async to asynchronously
6313           resolve.  Affected files are lib/silcutil/silcnet.[ch].
6314
6315         * Added support for rendering IPv6 based server, client and
6316           channel IDs.  Affected file lib/silcutil/silcutil.c.
6317
6318         * Added support for creating IPv6 based server IDs.  Affected
6319           file is silcd/serverid.c.
6320
6321 Wed Nov 28 23:46:09 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6322
6323         * Added silc_net_gethostby[addr/name] into the
6324           lib/silcutil/silcnet.[ch].  Added IPv6 support to Unix network
6325           routines.  Added silc_net_is_ip[4/6].  Affected file is
6326           lib/silcutil/unix/silcunixnet.c.  All routines that take
6327           address as argument now supports both IPv4 and IPv6 addresses.
6328
6329 Mon Nov 26 18:09:48 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6330
6331         * Fixed LIST command reply sending in server.  Affected file
6332           silcd/command.c.
6333
6334         * Server now sends the kicker's client ID in the KICK notify
6335           to the kicked client.  Affected file silcd/command.c.
6336
6337         * The client library now parses the kickers client ID and
6338           UI displays it.  Affected files lib/silcclient/client_notify.c
6339           and irssi/src/silc/core/silc-channels.c, module-formats.c.
6340
6341         * Made all payload parsing function prototypes consistent.
6342           They all take now const unsigned char * and uint32 pair as
6343           the payload data instead of SilcBuffer.  Changes all around
6344           the source tree.  Other unsigned char* -> const unsigned char*
6345           changes around the tree as well.
6346
6347         * Optimized SFTP client and server packet sending not to
6348           allocate new buffer for each packet but to recycle the
6349           first allocated buffer.  Affected files are
6350           lib/silcsftp/sftp_client.c, sftp_server.c, sftp_util.[ch].
6351
6352         * Optimized the SFTP client to use SilcList instead of
6353           SilcDList for requests, because it is faster.  Affected file
6354           is lib/silcsftp/sftp_client.c.
6355
6356         * Moved the ID Payload routines from lib/silccore/silcpayload.[ch]
6357           into lib/silccore/silcid.[ch].
6358
6359           Renamed silcpayload.[ch] into silcargument.[ch].
6360
6361 Mon Nov 26 15:01:53 CET 2001  Pekka Riikonen <priikone@silcnet.org>
6362
6363         * If client entry is deleted with active key agreement
6364           session, abort the session.
6365
6366           The silc_client_abort_key_agreement now calls the completion
6367           callback with new SILC_KEY_AGREEMENT_ABORTED status.
6368
6369           Affected file lib/silcclient/silcapi.h, client_keyagr.c and
6370           idlist.c.
6371
6372 Sun Nov 25 18:01:45 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6373
6374         * Don't use __restrict in older GCC's.  Affected file is
6375           lib/silcmath/mpi/mpi-priv.h.  A patch by salo.
6376
6377         * silc_net_localhost now attempts to reverse lookup the
6378           IP/hostname.  Affected file lib/silcutil/silcnet.c.
6379
6380         * Defined <founder auth> argument to the SILC_COMMAND_JOIN
6381           command.  It can be used to gain founder privileges at
6382           the same time when joining the channel.
6383
6384           Defined that the SILC_NOTIFY_TYPE_KICKED send the
6385           kicker's client ID as well.  Updated protocol specs.
6386
6387           Defined that the server must send SILC_COMMAND_IDENTIFY
6388           command reply with error status to client who sent
6389           private message with invalid client ID.
6390
6391           Updated the protocol specification.
6392
6393         * Added silc_server_send_command_reply to send any
6394           command reply.  Affected file silcd/packet_send.[ch].
6395
6396         * Added silc_id_payload_encode_data to encode ID payload
6397           from raw ID data.  Affected file lib/silccore/silcpayload.[ch].
6398
6399         * The server now send IDENTIFY command reply with error
6400           status if client ID in private message is invalid.  Affected
6401           file silcd/packet_receive.c.
6402
6403         * Save the server key file with server's IP address in
6404           the filename instead of hostname.  The affected file is
6405           irssi/src/silc/core/client_ops.c.
6406
6407 Sat Nov 24 20:08:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6408
6409         * Typo fixes in irssi/src/fe-common/silc/module-formats.c.
6410           A patch by Sunfall.
6411
6412         * Added libtool support for compiling shared objects in
6413           lib/silcsim.  Affected file configure.in.pre and
6414           lib/silcsim/Makefile.am.  Original patch by cras.
6415
6416 Fri Nov 23 23:30:59 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6417
6418         * Pid file configuration, and server's config file fixes
6419           patch by toma.  Updated CREDITS file.
6420
6421 Sun Nov 18 01:34:41 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6422
6423         * Fixed silc_client_channel_message to not try to decrypt
6424           the message twice if it resolved the destination client
6425           information.  This could cause of dropping one channel
6426           message.  Affected file lib/silcclient/client_channel.c.
6427
6428 Wed Nov 14 23:44:56 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6429
6430         * Added silc_client_run_one into lib/silcclient/silcapi.h and
6431           lib/silcclient/client.c. This function is used when the SILC
6432           Client is run under some other scheduler, or event loop or
6433           main loop.  On GUI applications, for example this may be
6434           desired to used to run the client under the GUI application's
6435           main loop.  Typically the GUI application would register an
6436           idle task that calls this function multiple times in a second
6437           to quickly process the SILC specific data.
6438
6439 Wed Nov 14 19:16:52 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
6440
6441         * Fixed silc_server_drop() for dropping the supplementary
6442           groups as well, this could cause a security hole on some
6443           systems.
6444
6445 Wed Nov 14 16:22:25 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6446
6447         * __pid_t -> pid_t in lib/silccrypt/silcrng.c.  A patch by
6448           johnny.
6449
6450         * Write PID file after dropping privileges.  Added -F option
6451           to run server on foreground.  A patch by debolaz.
6452           Affected files silcd/server.c, silcd/silcd.c.
6453
6454         * Fixed MOTD to return the MOTD file server name.  Affected
6455           file silcd/command.c.
6456
6457         * Added INFO command reply handling to the Irssi SILC Client.
6458           Affected file irssi/src/silc/core/client_ops.c.
6459
6460 Wed Nov 14 00:18:08 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6461
6462         * Fixed the silc_idcache_list_* routines to really support
6463           the dynamic list.  Fixes a crash.  Affected file is
6464           lib/silccore/silcidcache.c.
6465
6466         * Fixed the LIST command reply to really call LIST command's
6467           pending callbacks.  Affected file silcd/command_reply.c.
6468
6469 Tue Nov 13 00:49:17 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6470
6471         * Update conn->local_entry->nickname after giving NICK
6472           command.  Affected file lib/silcclient/command.c.
6473
6474 Sun Nov 11 23:43:02 PST 2001  Brian Costello <bc@wpfr.org>
6475
6476         * Added the [pid] option to the silcd configuration file
6477
6478           Affected files: serverconfig.[ch] and silcd.c
6479
6480 Sun Nov 11 23:56:39 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6481
6482         * Save fingerprint in WHOIS command reply in server.
6483           Affected file silcd/command_reply.c.
6484
6485         * Fixed NICK commands pending callback registration.
6486           Affected file lib/silcclient/command.c.
6487
6488 Sun Nov 11 10:49:10 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6489
6490         * Use ++server->cmd_ident when sending commands in server,
6491           instead of random number.  Affected file silcd/command.c.
6492
6493         * Fixed GETKEY command reply to call actually GETKEY pending
6494           command callbacks.  Affected file silcd/command_reply.c.
6495
6496         * A bit stricter check for nicknames.  Check for same nickname
6497           in NICK command also.  Affected file silcd/command.c.
6498
6499         * Do not call INFO command everytime client ID changes, only
6500           during first connecting.  Affected file lib/silcclient/client.c.
6501
6502         * Set the new nickname only after successful command reply for
6503           NICK command is returned by server.  Affected file
6504           lib/silcclient/command.c.
6505
6506         * Remove nicknames from nicklist during server_signoff notify.
6507           Should fix /NAMES bit more.  The affected file is
6508           irssi/src/silc/core/silc-channels.c.
6509
6510         * Added `fingerprint' field to the SilcIDListData in the
6511           silcd/idlist.h to hold the fingerprint of the client's
6512           public key.
6513
6514           Send the fingerprint of the client's public key in WHOIS
6515           command reply.
6516
6517           Affected files silcd/command.c, and silcd/idlist.[ch].
6518
6519         * Added silc_fingerprint into lib/silcutil/silcutil.[ch] to
6520           create fingerprint from given data.
6521
6522         * Show the fingerprint of the client's public key in WHOIS.
6523           Affected files irssi/src/module-formats.[ch] and
6524           irssi/src/silc/core/client_ops.c.
6525
6526         * Format the multiple same nicknames also during JOIN and
6527           NICK_CHANGE notifys.  Affected file is
6528           lib/silcclient/client_notify.c.
6529
6530         * Do not print error on screen for invalid private message
6531           payload since it can come if someone is sending private
6532           messages with wrong key.  Affected file
6533           lib/silccore/silcprivate.c.
6534
6535         * Fixed multiple concurrent /PING crash.  Affected file
6536           lib/silcclient/command.c.
6537
6538         * Changed the wrong ID encoding.  All IP addresses must be
6539           in MSB first order in encoded format.  They were encoded
6540           wrong and was in LSB format.  Affected files are
6541           silcd/serverid.c, lib/silcutil/silcutil.c.
6542
6543         * Remove silc_net_addr2bin_ne from lib/silcutil/silcnet.[ch].
6544
6545         * Call the `connect' client operation through the scheduler
6546           in case of error.  Affected file lib/silcclient/client.c.
6547
6548         * Call the `failure' client operation even if the error
6549           occurred locally during a protocol.  Affected file is
6550           lib/silcclient/protocol.c.
6551
6552         * Added support of sending LIST command to router from normal
6553           server.  This way normal server can get list of all channels
6554           in the network too.  Fixed the channel list sending in the
6555           server too.  Affected files are silcd/command.c, and
6556           silcd/command_reply.[ch].
6557
6558         * Added silc_server_update_channels_by_server and
6559           silc_server_remove_channels_by_server.  They are used during
6560           disconnection of primary router and in backup router protocol.
6561           Affected file silcd/server_util.[ch], silcd/server.c and
6562           silcd/server_backup.c.
6563
6564         * Fixed channel adding to global list in IDENTIFY command
6565           reply in server.  Affected file silcd/command_reply.c.
6566
6567 Sat Nov 10 21:39:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6568
6569         * If the incoming packet type is REKEY or REKEY_DONE process
6570           that packet always synchronously.  Fixes yet another MAC
6571           failed error on slow (dialup) connections.  Affected file
6572           lib/silcclient/client.c and silcd/server.c.
6573
6574 Thu Nov  8 22:21:09 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6575
6576         * Call check_version SKE callback for initiator too.  Affected
6577           file lib/silcske/silcske.c.
6578
6579         * Implemented fix for security hole found in the SKE that was
6580           fixed in the specification few days back; the initiator's
6581           public key is now added to the HASH value computation.
6582           Added backwards support for the old way of doing it too, for
6583           old clients and old servers.  Affected file is
6584           lib/silcske/silcske.c.
6585
6586         * Enabled mutual authentication by default in SKE.  If initiator
6587           is not providing mutual authentication the responder will
6588           force it.  This will provide the proof of posession of the
6589           private key for responder.  The affected files are
6590           lib/silcclient/protocol.c and silcd/protocol.c.
6591
6592         * Do not cache anymore the server's public key during SKE.
6593           We do mutual authentication so the proof of posession of
6594           private key is done, and if the server is authenticated in
6595           conn auth protocol with public key we must have the public
6596           key already.  Affected file silcd/protocol.c.
6597
6598         * Added new global debug variable: silc_debug_hexdump.  If
6599           it is set to TRUE SILC_LOG_HEXDUMP will be printed.  Affected
6600           file lib/silcutil/silclog.[ch].
6601
6602         * Fixed compilation warning due to char * -> const char *.
6603           Affected files lib/silcutil/silcnet.h, and
6604           lib/silccore/silcauth.[ch].
6605
6606 Wed Nov  7 20:43:03 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6607
6608         * Fixed CMODE command when new channel key was created.  If
6609           the creation failed the old key was removed.  Next time giving
6610           same command would crash the server since the old key was
6611           freed already.  Affected file silcd/command.c.
6612
6613         * Fixed the silc_server_announce_get_channels to not crash
6614           on reconnect.  Affected file silcd/server.c.
6615
6616 Wed Nov  7 17:15:07 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6617
6618         * Added silc_log_set_debug_string function to set a regex
6619           string to match for debug output.  Only the function names,
6620           or filenames matching the given debug string is actually
6621           printed.  This way it is possible to filter out those debug
6622           strings that user is not interested in.
6623
6624           Fixed a bug in silc_string_regexify.
6625
6626           Affected files lib/silcutil/silclog.[ch], and
6627           lib/silcutil/unix/silcunixutil.c.
6628
6629         * Changed the -d options in both server and Irssi SILC client
6630           to take the debug string as argument.  Affected files
6631           silcd/silcd.c and irssi/src/silc/core/silc-core.c.
6632
6633 Tue Nov  6 21:31:54 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6634
6635         * Added silc_hash_babbleprint to create a Bubble Babble
6636           Encoded fingerprint.  The encoding is developed by Antti
6637           Huima (draft-huima-babble-01.txt), and it creates human
6638           readable strings out of binary data.  Affected file
6639           lib/silccrypt/silchash.[ch].
6640
6641         * Print the babble print now in addition of fingerprint as well
6642           in Irssi SILC client.  Affected files are
6643           irssi/src/fe-common/silc/module-formats.[ch],
6644           irssi/src/fe-common/silc/core/client_ops.c.
6645
6646 Sun Nov  4 23:37:28 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6647
6648         * Fixed a security problem found in SKE.  The initiator's
6649           public key too is now added to the HASH hash value creation
6650           which is signed by the responder to create the SIGN value.
6651           This will prevent anyone in the middle to lie to the responder
6652           about the initiator's public key.  If this is done now, the
6653           man in the middle will get caught.  Updated the protocol
6654           specification.
6655
6656 Sun Nov  4 11:43:53 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6657
6658         * Better installation directory handling.  Configure module
6659           paths and other paths automatically to example_silc* files
6660           in doc/.  A patch by toma.
6661
6662         * Fixed compiler warning from MPI library, and from SILC RNG.
6663           A patch by johnny.
6664
6665         * Added SILC_SERVER_PID_FILE to define the pid file for server.
6666           It can be configured with ./configure.  A patch by toma.
6667
6668 Sat Nov  3 23:48:23 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6669
6670         * Find correct make to use in prepare-clean.  A patch by
6671           toma.  Affected file prepare-clean.
6672
6673 Sat Nov  3 22:04:00 PST 2001  Brian Costello <bc@mksecure.com>
6674
6675         * Added irssi variables use_auto_addr, auto_bind_ip,
6676           auto_bind_port and auto_public_ip.
6677
6678         * Changed the interface for silc_client_send_key_agreement
6679           in lib/silcclient/silcapi.h
6680
6681         Affected files:
6682
6683          irssi/src/silc/core/silc-core.c
6684          irssi/config
6685          lib/silcclient/silcapi.h
6686          irssi/src/silc/core/silc-channels.c
6687          lib/silcclient/client_keyagr.c
6688          irssi/docs/help/key
6689
6690 Sat Nov  3 17:48:55 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6691
6692         * Added silc_pkcs_public_key_compare to compare two
6693           public keys.  Affected file lib/silccrypt/silcpkcs.[ch].
6694
6695         * Check that the client who set the founder mode on the
6696           channel is the same client that is giving the founder
6697           mode to itself.  It is done by comparing the saved public
6698           key (it is saved even in the authentication is passphrase).
6699           Affected file silcd/command.c.
6700
6701 Fri Nov  2 18:52:08 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6702
6703         * Do not process packet for disconnected socket connection.
6704           Affected file lib/silccore/silcpacket.c.
6705
6706         * Process the DISCONNECT packet through scheduler in the
6707           client library.  Affected file lib/silcclient/client.c.
6708
6709         * Fixed the silc_client_packet_parse to not to increase
6710           the packet sequence number if the conn->sock and the
6711           current socket connection is not same.  This can happen
6712           for example during key agreement when the conn includes
6713           multiple socket connections (listeners).  Affected file
6714           lib/silcclient/client.c.
6715
6716         * The sender of the file transfer request now provides also
6717           the pointer (listener) for the key exchange protocol.  If
6718           the listener cannot be created then it sends empty key
6719           agreement and lets the receiver provide the listener.
6720
6721           Added `local_ip' and `local_port' arguments to the
6722           silc_client_file_send.  If they are provided they are used,
6723           if not then it will attempt to find local IP address, if
6724           not found or bind fails then the remote client will provide
6725           the listener.
6726
6727           Affected files are lib/silcclient/client_ftp.c and
6728           lib/silcclient/silcapi.h.
6729
6730         * Extended the FILE SEND command to support defining the
6731           local IP and port for key exchange listener.  They are
6732           optional.  Affected file irssi/src/silc/core/silc-servers.c.
6733
6734 Thu Nov  1 22:10:07 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6735
6736         * Defined to WHOIS command reply the sending of fingerprint
6737           of the client's public key (if the proof of posession of the
6738           corresponding private key is verified by the server).
6739           Updated to the protocol specification.
6740
6741         * Added support of receiving the client's public key's
6742           fingerprint in command reply in client library.  Affected
6743           file is lib/silcclient/command_reply.c, and
6744           lib/silcclient/idlist.[ch].
6745
6746 Thu Nov  1 18:06:12 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6747
6748         * Do not send over 128 chars long nickname to the server
6749           in NICK command.  Affected file lib/silcclient/command.c.
6750
6751         * Do not send over 256 chars long channel names to the server
6752           in JOIN command.  Affected file lib/silcclient/command.c.
6753
6754 Tue Oct 30 22:48:59 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6755
6756         * Assure that silc_server_close_connection cannot be called
6757           twice for same socket context.  Affected file is
6758           silcd/server.c.
6759
6760 Tue Oct 30 16:58:14 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6761
6762         * Send error message to application if opening file for
6763           writing during file transfer fails.  Affected file is
6764           lib/silcclient/client_ftp.c.
6765
6766           Remove all file transfer sessions for a client that we're
6767           removing from ID cache.
6768
6769           Affected file is lib/silcclient/client_ftp.c.
6770
6771         * Fixed silc_net_addr2bin to return correct address.  Affected
6772           file lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
6773
6774         * Fixed file transfer session removing on signoff notify.
6775           Affected file irssi/src/silc/core/silc-servers.c.
6776
6777         * Added the SilcClientFileError to be returned in the monitor
6778           callback.  Added NO_SUCH_FILE and PERMISSION_DENIED errors.
6779           Affected file lib/silcclient/silcapi.h.
6780
6781 Mon Oct 29 17:43:04 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6782
6783         * Fixed a crash in silc_client_ftp_free_sessions and
6784           silc_client_ftp_session_free_client.  Affected file
6785           lib/silcclient/client_ftp.c.
6786
6787         * Added `disabled' field in the SilcChannelEntry in the server
6788           to indicate if the server entry is disabled.  Affected file
6789           silcd/idlist.h, silcd/command[_reply].c.
6790
6791         * SILC server adds now /var/run/silcd.pid everytime it is
6792           started.  Affected file silcd/silcd.c.
6793
6794         * Added silc_server_packet_send_clients to send a packet to
6795           the provided table of client entries.  Affected file
6796           silcd/packet_send.[ch].
6797
6798         * Fixed a crash in client resolving in client_prvmsg.c in
6799           client library.  Affected file lib/silcclient/client_prvmsg.c.
6800
6801         * Do not actually remove the client directly from ID cache
6802           during SERVER_SIGNOFF, but invalidate it.  This way we
6803           preserve the WHOWAS info for the client.  Affected file
6804           silcd/server_util.c.
6805
6806         * Fixed SERVER_SIGNOFF notify handling in the server.  The
6807           server is now able to process incoming SERVER_SIGNOFF notify
6808           for a server that it doesn't even know about.  It will remove
6809           the clients provided in the notify.  Affected file
6810           silcd/packet_receive.c.
6811
6812         * Check for partial packet in data queue after every packet that
6813           was found from the queue.  Return and wait for more data if
6814           there is partial data in queue.  Affected file is
6815           lib/silccore/silcpacket.c.
6816
6817 Sun Oct 28 18:46:27 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6818
6819         * Added SilcClietFileError enum to indicate error in
6820           file transfer.  Added SILC_CLIENT_FILE_MONITOR_KEY_AGREEMENT
6821           and SILC_CLIENT_FILE_MONITOR_ERROR new monitor statuses.
6822           Affected files lib/silcclient/silcapi.h and
6823           lib/silcclient/client_ftp.c.
6824
6825         * Check that newsize in silc_buffer_realloc is larger than
6826           the old buffer's size.  Affected file lib/silcutil/silcbufutil.h.
6827
6828         * Added better monitor of file transfers.  It now monitors
6829           key agreement protocol during the file transfer too.  Added
6830           error reporting too.  Affected files
6831           irssi/src/silc/core/silc-servers.c,
6832           irssi/src/fe-common/silc/module-formats.[ch].
6833
6834         * Wrote a help file for FILE command.
6835
6836         * Added silc_rng_global_get_byte_fast to get not-so-secure
6837           random data as fast as possible.  Random data is read from
6838           /dev/urandom if available and from the SILC RNG if not
6839           available.  It is used in padding generation.  Affected file
6840           lib/silccrypt/silcrng.[ch].
6841
6842         * All packets in client library are now processed synchronously.
6843           Optimized packet processing a lot.  Affected file
6844           lib/silcclient/client.c.
6845
6846         * All server connection packets are processing synchronously
6847           now in server, to optimize packet processing.  Affected file
6848           silcd/server.c.
6849
6850         * Include files are installed now only in Toolkit distribution
6851           if make install is given.  Affected files: all Makefile.am's.
6852
6853 Thu Oct 25 22:44:06 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6854
6855         * Assure that silc_client_notify_by_server_resolve does not
6856           resolve the client information multiple times.  If it cannot
6857           be found by the first it cannot be found at all.  Affected
6858           file lib/silcclient/client_notify.c.
6859
6860         * Fixed WHOWAS command reply calling.  Affected file
6861           lib/silcclient/command_reply.c.
6862
6863         * Removed all references to silc_idlist_get_client from the
6864           Irssi SILC client since that call is internal call used by
6865           the library.  The Irssi SILC client will use now client
6866           retrieval functions found in silcapi.h.
6867
6868         * Fixed a bug in resolving nickname info before sending
6869           private message.  It used freed memory.  Affected file
6870           irssi/src/silc/core/silc-servers.c.
6871
6872 Thu Oct 25 19:04:49 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6873
6874         * Assure my_channels statistics cannot go negative in server.
6875           Affected files silcd/server.c, silcd/server_util.c.
6876
6877 Wed Oct 24 19:53:05 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6878
6879         * Upgraded dotconf 1.0.2 to 1.0.6 in lib/dotconf.
6880
6881 Tue Oct 23 13:51:19 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
6882
6883         * Win32 Toolkit changes.  Affected files
6884           win32/silc.dsw, win32/libsilc/libsilc.def,
6885           win32/libsilcclient/libsilc.def,
6886           lib/silcutil/silcutil.c, and
6887           lib/sftp/sftp_fs_memory.c.
6888
6889 Mon Oct 22 16:35:05 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6890
6891         * Added silc_net_localip to return local host's IP address.
6892           Affected file lib/silcutil/silcnet.[ch].
6893
6894         * If key exchange or rekey protocol is active for a connection
6895           parse all packets syncronously since there might be packets
6896           in packet queue that we are not able to process without first
6897           processing packets before them.  Affected file silcd/server,
6898           lib/silcclient/client.c.
6899
6900         * SilcPacketParserCallback now returns TRUE or FALSE to indicate
6901           whether library should continue processing the packet.
6902           Affected file lib/silccore/silcpacket.h.
6903
6904         * Added SilcSFTPMonitor callback, SilcSFTPMonitors and
6905           SilcSFTPMonitorData to SFTP server to monitor various
6906           SFTP client requests.  Affected file lib/silcsftp/silcsftp.h,
6907           lib/silcsftp/sftp_server.c.
6908
6909         * Added silc_file_size to return file size.  Affected file
6910           lib/silcutil/silcutil.[ch].
6911
6912         * Implemented the file transfer support for the client library.
6913           Added preliminary support for simple client to client one-file
6914           transmission.  Affected file lib/silcclient/client_ftp.c,
6915           lib/silccilent/client.[ch].
6916
6917         * Added new local command FILE to the Irssi SILC Client.
6918           It is used to perform the file transfer.  It has subcommands
6919           SEND, RECEIVE, SHOW and CLOSE.  Affected files
6920           irssi/src/silc/core/client_ops.c,
6921           irssi/src/silc/core/silc-server.[ch].
6922
6923 Mon Oct 22 12:50:08 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6924
6925         * Relay the SILC_PACKET_FTP in the server.  Affected files
6926           silcd/server.c and silcd/packet_receive.c.
6927
6928 Sun Oct 21 20:21:02 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6929
6930         * Renamed silc_file_read and silc_file_write to functions
6931           silc_file_readfile and silc_file_writefile.  Added function
6932           silc_file_open and silc_file_close.  Affected files
6933           lib/silcutil/silcutil.[ch].
6934
6935 Thu Oct 18 20:58:13 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6936
6937         * Resolve the client info when received private message or
6938           channel message for a client which nickname we don't know.
6939           Affected files lib/silcclient/client_prvmsg.c and
6940           lib/silcclient/client_channel.c.
6941
6942         * Do not crash in /KEY if client is not connected.  Affected
6943           file irssi/src/silc/core/silc-channels.c.
6944
6945         * Added SilcClientStatus field to the SilcClientEntry in the
6946           lib/silcclient/idlist.h.
6947
6948           Added SILC_CLIENT_STATUS_RESOLVING to mark that the entry
6949           is incomplete and is being resolved, it won't be resolved
6950           twice.
6951
6952           Make sure also that USERS command reply does not resolve
6953           twice information.  Affected file is
6954           lib/silcclient/command_reply.c.
6955
6956           Make sure that silc_client_get_clients_by_list does not
6957           resolve twice same information.
6958
6959         * Check for valid client->id in the silc_server_free_client_data.
6960           Affected file silcd/server.c.
6961
6962         * Fixed /GETKEY nick@server not to crash if the server entry
6963           is not found.  Affected file lib/silcclient/command.c.
6964
6965         * Fixed the silc_server_check_cmode_rights to check the
6966           requested modes correctly.  Affected file silcd/command.c.
6967
6968 Thu Oct 18 12:10:22 CEST 2001  Pekka Riikonen <priikone@silcnet.org>
6969
6970         * Better checks for non-printable chars in nick added.
6971           Affected file silcd/command.c.
6972
6973 Thu Oct 18 09:18:58 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6974
6975         * Call the silc_server_udpate_servers_by_server in the
6976           primary router that comes back online in the backup resuming
6977           protocol.  Otherwise it routes packets wrong.  Affected file
6978           silcd/server_util.[ch], silcd/server_backup.c.
6979
6980 Wed Oct 17 16:51:18 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6981
6982         * Added SILC_STR_UI8_[N]STRING[_ALLOC] formats to the
6983           lib/silcutil/silcbuffmt.[ch].
6984
6985         * Redefined the SILC packet header to include the padding
6986           length.  Affected file lib/silccore/silcpacket.[ch].
6987
6988         * Added SILC_PACKET_PADLEN_MAX macro to return the padding
6989           length for maximum padding up to 128 bytes).  Affected
6990           file lib/silccore/silcpacket.h.
6991
6992         * Removed all backwards support for old 0.5.x MAC thingies.
6993           The SILC packet header change makes it impossible to be
6994           backwards compatible.
6995
6996         * Send the ENDING packet with timeout in the backup resuming
6997           protocol.  This is to assure that all routers has connected
6998           to the primary router.  Affected file silcd/server_backup.c.
6999
7000         * Changed the RNG to take the first IV from random data.  It
7001           used to take it from zero actually.  Changed the RNG also
7002           to use /dev/urandom during session.  /dev/random is used
7003           in initialization.  Affected file lib/silccrypt/silcrng.[ch].
7004
7005 Tue Oct 16 20:45:49 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7006
7007         * Changed the SILC packet header to have the first two bytes
7008           (the packet length) encrypted.  Affected files aroung the
7009           code tree, lib/silccore/silcpacket.[ch].  Removed the
7010           SilcPacketCheckDecrypt callback.  It is not needed anymore
7011           since the silc_packet_receive_process will determine now
7012           whether the packet is normal or special.
7013
7014         * Implemented the unidirectional MAC keys.  Affected files
7015           lib/silcske/silcske.c, silcd/protocol.c and
7016           lib/silcclient/protocol.c.
7017
7018         * Implemented the packet sequence number to the MAC computation.
7019           Affected files lib/silccore/silcpacket.c, silcd/protocol.c,
7020           silcd/packet_send.c, silcd/server.c, lib/silcclient/client.c,
7021           lib/silcclient/protocol.c.
7022
7023 Mon Oct 15 17:42:55 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7024
7025         * Allow backup router to announce servers.  All servers
7026           announced by backup router are added to the global list
7027           automatically.  Update hte server's socket to our primary
7028           router also when backup router announces a server.
7029           Affected file silcd/packet_receive.c.
7030
7031         * Do not update the client->router in the function
7032           silc_server_udpate_clients_by_server if the client is on
7033           global list.  We might fail to find any specific server
7034           for locally connected clients and local cell clients.  They
7035           should still use the `from' and not `to' as client->router.
7036           This fixes backup router resuming protocol.  Affected file
7037           silcd/server_util.c.
7038
7039         * Decrease channel statistics count only if the channel
7040           deletion worked.  Affected files are silcd/server.c and
7041           silcd/server_util.c.
7042
7043         * Added silc_server_update_servers_by_server to update origin
7044           of all server entries.  Used during backup router protocol.
7045           Affected files silcd/server_util.[ch], silcd/server.c. and
7046           silcd/backup_router.c.
7047
7048         * ROBODoc documented the lib/silccrypt/silchmac.h.  Added new
7049           function silc_hmac_init, silc_hmac_update, silc_hmac_final,
7050           silc_hmac_get_hash and silc_hmac_get_name.  Affected file
7051           lib/silccrypt/silchmac.c.
7052
7053 Sun Oct 14 18:28:22 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7054
7055         * Assure that router cannot reroute the same channel message
7056           to the sender.  Affected file silcd/packet_receive.c.
7057
7058 Sat Oct 13 12:46:18 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7059
7060         * Made better checks that the channel message is not sent
7061           to the router it came from.  Affected file is
7062           silcd/packet_send.c.  Fixed memory leak too.
7063
7064         * Announce informations for incoming router connection, but
7065           only after checking if it is replaced by backup router.
7066           Affected file silcd/packet_receive.c.
7067
7068 Fri Oct 12 18:37:24 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7069
7070         * Fixed the backup resuming protocol to work in multiple
7071           router environment.  Affected file silcd/server_backup.c.
7072
7073         * Route packet only to one router in the function
7074           silc_server_packet_send_to_channel.  Affected file is
7075           silcd/packet_send.c.
7076
7077         * Fixed silc_server_send_notify_dest to set the broadcast
7078           flag.  Fixed the silc_server_send_notify_topic to actually
7079           send the TOPIC_CHANGE notify and not SERVER_SIGNOFF notify.
7080           Affected file silcd/packet_send.c.
7081
7082         * Changed the SFTP Filesystem interface.  Changed the
7083           SilcSFTPFilesystemStruct to SilcSFTPFilesystemOps to include
7084           the filesystem operation function.  The SilcSFTPFilesystem
7085           is now a context that is allocated by all filesystem allocation
7086           functions and it already includes the operations structure
7087           and filesystem specific context.  It is given as argument
7088           now to the silc_sftp_server_start.  This made the interface
7089           a bit cleaner.  Affected file lib/silcsftp/silcsftp[_fs].h,
7090           lib/silcsftp/sftp_fs_memory.c and sftp_server.c.
7091
7092 Thu Oct 11 22:19:26 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7093
7094         * Changed the backup router adding and getting interfaces
7095           in the server.  The router that will be replaced by the
7096           specified backup router is now sent as argument.  Affected
7097           files silcd/serverconfig.[ch], silcd/backup_router.[ch], and
7098           silcd/server.c.
7099
7100         * Added silc_net_addr2bin_ne to return the binary form of
7101           the IP address in network byte order.  Affected files
7102           lib/silcutil/[unix/win32].silc[unix/win32]net.[ch].
7103
7104 Thu Oct 11 12:14:19 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7105
7106         * Check for existing server ID in silc_server_new_server
7107           and in silc_server_connect_to_router_final and remove the
7108           old entry if it exists.  Affected file silcd/packet_receive.c,
7109           silcd/server.c.
7110
7111         * Send the channel message always to only one router, either
7112           in upstream or downstream.  Affected file is
7113           silcd/packet_send.c.
7114
7115 Tue Oct  9 17:45:43 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7116
7117         * Wrote the definition of the backup resuming protocol to the
7118           protocol specification.
7119
7120         * Removed one redundant channel key generation from normal
7121           server during joining procedure.  Removed one redundant
7122           channel key sending from server to router during joining
7123           procedure.  Affected file silcd/command.c.
7124
7125         * Made minor bugfixes to the backup router resuming protocol.
7126           Affected file silcd/server_backup.c, server.c.
7127
7128 Mon Oct  8 16:47:42 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7129
7130         * Added --disable-asm configuration option.  Affected files
7131           configure.in.pre, lib/silcmath/mpi/configure.in.  A patch
7132           by salo.
7133
7134         * Implemented the backup resuming protocol that is used to
7135           resume the primary router position in the cell after the
7136           primary router comes back online.  Affected files
7137           silcd/server_backup.[ch], silcd/server, silcd/packet_receive.c,
7138           and silcd/server_util.[ch].
7139
7140 Sun Oct  7 12:29:25 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7141
7142         * Sleep two (2) seconds after sending QUIT command to server.
7143           Affected file lib/silcclient/command.c.
7144
7145         * Assure that if outgoing data buffer is pending do not force
7146           send any data.  Affected file silcd/packet_send.c.
7147
7148         * Assure that if outgoing data buffer is pending do not force
7149           send any data.  Affected file lib/silcclient/client.c.
7150
7151         * Implemented the backup router support when the primary router
7152           goes down.  The servers and routers can now use the backup
7153           router as new primary router without loosing connectivity.
7154
7155 Sat Oct  6 21:18:54 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7156
7157         * Added new SILC_IDLIST_STATUS_DISABLED flag for entries
7158           in the server to indicate disabled entry.  All data read
7159           from the connection will be ignored and no data is sent
7160           for entry that is disabled.  Affected files are
7161           silcd/idlist.h, silcd/server.c.
7162
7163 Fri Oct  5 00:03:29 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7164
7165         * Created SFTP client and server test programs in the
7166           lib/silcsftp/tests directory.
7167
7168 Wed Oct  3 23:31:42 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7169
7170         * Implemented memory filesystem (virtual filesystem) for
7171           SFTP server.  Affected file lib/silcsftp/silcsftp_fs.h,
7172           sftp_fs_memory.c.
7173
7174 Sun Sep 30 22:10:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7175
7176         * Implemented the SFTP (SSH File Transfer Protocol) to the
7177           lib/silcsftp.  It includes SFTP client and SFTP server
7178           implementations.
7179
7180 Sun Sep 30 10:35:44 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7181
7182         * Moved lib/silccore/silcprotocol.[ch] to the
7183           lib/silcutil library.
7184
7185         * Added silc_buffer_format_vp and silc_buffer_unformat_vp to
7186           take variable argument list pointer as argument.  Affected
7187           file lib/silcutil/silcbuffmt.[ch].
7188
7189         * Added silc_buffer_set function that is used to set data
7190           to a SilcBuffer that is not allocated at all (SilcBufferStruct).
7191           Affected file lib/silcutil/silcbuffer.h.
7192
7193         * Changed various routines in the core library to use the new
7194           silc_buffer_set instead of allocating new buffer only for
7195           temporary purposes.
7196
7197         * Added 64-bit value formatting and unformatting support to the
7198           silc_buffer_[un]format routines.  Affected file is
7199           lib/silcutil/silcbuffmt.[ch].
7200
7201           Added also 64-bit macros: SILC_GET64_MSB and SILC_PUT64_MSB,
7202           to includes/bitmove.h.
7203
7204 Fri Sep 28 21:30:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7205
7206         * Fixed channel user mode saving in client library.  Affected
7207           file lib/silcclient/command[_reply].c.
7208
7209 Thu Sep 27 22:52:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7210
7211         * Defined the file transfer to the SILC Protocol.  Added
7212           new packet type SILC_PACKET_FTP and defined File Transfer
7213           Payload.  The mandatory file transfer protocol is SFTP
7214           (SSH File Transfer Protocol).  Affected file in addition
7215           of the internet draft is lib/silccore/silcpacket.h.
7216
7217         * Deprecated the SILC_PACKET_CELL_ROUTERS and defined new
7218           packet SILC_PACKET_RESUME_ROUTER instead.  The new packet
7219           is used as part of backup router protocol when the primary
7220           router of the cell is back online and wishes to resume
7221           the position as primary router.
7222
7223         * Redefined the MAC generation keys in the protocol.  The
7224           same key is not used anymore in both direction.  Both
7225           direction will now use different keys for sending and
7226           receiving.  This fixes a potential security flaw.  This
7227           change causes incompatibilities in the protocol.
7228
7229         * Redefined also the MAC computation from the packet.
7230           An packet sequence number is now added to the MAC
7231           computation.  This prevents possible replay attacks against
7232           the protocol.  This change too causes incompatibilities
7233           in the protocol.
7234
7235           Added `sequence' field to the SilcPacketContext to hold
7236           the current sequence number for the packet.
7237
7238 Wed Sep 26 20:15:22 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7239
7240         * Added `created' field to the SilcIDListData in the file
7241           silcd/idlist.h to indicate the time when the entry was
7242           created.
7243
7244         * Added `created' field to the SilcChannelEntry too.  Affected
7245           file silcd/idlist.h.
7246
7247         * Added `creation_time' aguments to all the announcement functions
7248           in the server.  If it is provided then only the entries that
7249           was created after the provided time frame are actually
7250           announced.  Affected file silcd/server.[ch].
7251
7252         * The protocol says that the Channel ID's IP address must be
7253           based on the router's IP address.  Added check for this in
7254           the silc_server_new_channel when processing incoming New Channel
7255           Payload.  Affected file silcd/packet_receive.c.
7256
7257         * Print out the correct version with --version in SILC client.
7258           Affected file irssi/src/silc/core/silc-core.c.
7259
7260 Mon Sep 24 17:19:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7261
7262         * Fixed WHOWAS command to check for completnes of the client
7263           entry always, not just when the command is coming from client.
7264           Affected file silcd/command.c.
7265
7266         * Added new function silc_server_packet_queue_purge to purge the
7267           outgoing data queue to the network.  After the function returns
7268           it is guaranteed that the outgoing packet queue is empty.
7269           Affected file silcd/packet_send.[ch].
7270
7271         * Purge the outgoing packet queue in the rekey protocol's final
7272           callback to assure that all rekey packets go to the network
7273           before quitting the protocol.  Affected file silcd/server.c.
7274
7275         * Added silc_client_packet_queue_parse as similar function as
7276           in server to the client library.  The affected file is
7277           lib/silcclient/client.c.
7278
7279 Sun Sep 23 15:15:53 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7280
7281         * Splitted silcd/server.c and created silcd/server_util.[ch]
7282           for utility functions.
7283
7284         * Added new socket flag SILC_SF_DISABLED to indicate that the
7285           connection is open but nothing can be sent to or received from
7286           the connection.  Affected file lib/silcutil/silsockconn.[ch].
7287           The checking for disabled socket is checked in the low level
7288           silc_socket_write and silc_socket_read functions.
7289
7290 Thu Sep 20 23:11:28 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7291
7292         * Allow only nicknames and channel names that fits into the
7293           7-bit unsigned char ASCII set.  Affected file silcd/command.c.
7294
7295 Thu Sep 20 18:04:12 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7296
7297         * When processing JOIN command reply in server check that if
7298           the channel exists in our global list we'll move it the local
7299           list.  Affected file silcd/command_reply.c.
7300
7301         * Fixed the check whether client is joined on the channel already
7302           in JOIN command.  Affected file lib/silcclient/command.c.
7303
7304         * Fixed the JOIN command reply to check whether the channel
7305           already exists.  Affected file lib/silcclient/command_reply.c.
7306
7307 Wed Sep 19 22:58:32 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7308
7309         * Added silc_ske_status_string to map the SKE error numbers
7310           to readable strings.  The affected files are
7311           lib/silcske/silcske[_status].[ch].
7312
7313 Tue Sep 18 22:50:41 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7314
7315         * Do not show the private channels on the WHOIS channel list
7316           as it is not allowed by the protocol.  The affected file is
7317           silcd/server.c.
7318
7319 Sun Sep 16 12:32:58 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7320
7321         * Assure that the packet length digged from the actual packet
7322           is something sensible in the silc_packet_decrypt_rest_special
7323           in lib/silccrypt/silcpacket.c.
7324
7325         * Free and NULL the allocated pointer in silc_hmac_alloc if
7326           the HMAC allocation fails.  The affected file is
7327           lib/silccrypt/silchmac.c.
7328
7329         * Print the selected security properties to the log files in
7330           the server.  Affected file silcd/protocol.c.
7331
7332         * Add SKE's reference counter even if calling the completion
7333           callback manually.  Otherwise it goes negative, although it
7334           does not cause any problems.  The affected file is
7335           lib/silcske/silcske.c.
7336
7337         * Remove the client entry with short timeout after giving the
7338           KILL command.  Affected file lib/silcclient/command.c.
7339
7340         * Fixed to send error reply in WHOIS and IDENTIFY commands in
7341           case all found clients are already disconnected (WHOWAS would
7342           found them) in the server.  Affected file silcd/command.c.
7343
7344         * Update the last_receive (time of last data received) to be
7345           updated only when received private or channel message so that
7346           the idle time showed in WHOIS makes more sense.
7347
7348         * Added boolean field `valid' in to the SilcClientEntry in the
7349           client library to indicate whether the entry is valid or not.
7350           This fixes the nickname change bug on channel when changing
7351           the nickname to be same than the old (like nick to Nick) the
7352           nickname formatter doesn't set the new nick anymore to Nick@host.
7353           Affected file lib/silcclient/idlist.[ch].
7354
7355         * Now actually fixed the nickname changing on disconnection.
7356           Added new function silc_change_nick to the Irssi SILC Client.
7357           Affected file irssi/src/silc/core/client_ops.c,
7358           irssi/src/silc/core/silc-nicklist.[ch].
7359
7360 Sat Sep 15 13:29:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7361
7362         * Check that the public key exists in the GETKEY command before
7363           trying to encode it.  Affected file silcd/command.c.
7364
7365         * Print some notifications on received public keys with GETKEY
7366           command in the Irssi SILC Client.  Affected files are
7367           irssi/src/fe-common/silc/module-formats.[ch],
7368           irssi/src/silc/core/client_ops.c.
7369
7370         * Use IDENTIFY command to resolve the server information in the
7371           GETKEY command instead of INFO command.  Affected file
7372           lib/silcclient/command.c.
7373
7374         * All command reply functions in the client library now calls
7375           the pending command reply callbacks even if an error has
7376           occurred.  The server has done this a long time and now it was
7377           time to move the client library to this as well.  Now all
7378           errors can be delivered back to the pending command reply
7379           callbacks if necessary.  Affected files are
7380           lib/silcclient/command[_reply].[ch].
7381
7382         * Change the nickname on disconnection back to the username
7383           because in reconnect the server will enforce it to it anyway.
7384           Affected file irssi/src/silc/core/silc-servers.c.
7385
7386         * Fixed a config file parsing bug in the Irssi SILC client.
7387           Affected file irssi/src/silc/core/clientconfig.c.
7388
7389 Thu Sep 13 23:11:18 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7390
7391         * When printing the channel mode on JOIN, verify that the
7392           channel key and channel's HMAC are valid.  Affected file
7393           irssi/src/silc/core/client_ops.c.
7394
7395 Thu Sep 13 20:24:52 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7396
7397         * Added defines SILC_DEFAULT_CIPHER, SILC_DEFAULT_HMAC,
7398           SILC_DEFAULT_HASH and SILC_DEFAULT_PKCS in the file
7399           lib/silccrypt/[silccipher.h|silchmac.h|silchash.h|silcpkcs.h].
7400
7401         * Removed channel key rekey task deleting from the function
7402           silc_server_save_channel_key.  Affected file silcd/server.c.
7403           Added explicit timeout task context instead that is used to
7404           delete the task if we are registering a new task before the
7405           new task has elapsed.
7406
7407         * When channel key rekey occurs the client library now saves
7408           the old channel key for a short period of time (10 seconds) and
7409           is able to use it in case some is still sending channel
7410           messages encrypted with the old key after the rekey.  Affected
7411           file lib/silcclient/[idlist.h|client_channel.c].
7412
7413 Sun Sep  9 15:49:16 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7414
7415         * Added check to the silc_server_new_id_real to not accept
7416           new ID if it is the sender's own ID.  Affected file is
7417           silcd/packet_receive.c.
7418
7419         * Assure that we do not announce ourself or the one we've
7420           sending our announcements when we're router and are announcing
7421           servers to our primary router.  Affected file silcd/server.c.
7422
7423         * Fixed silc_server_command_identify_check_client to assemble
7424           correct WHOIS packet.  It send corrupted WHOIS packet and
7425           caused problem with router to router connections.  Affected
7426           file silcd/command.c.
7427
7428           Fixed also silc_server_command_whois_check the same way
7429           as for the IDENTIFY command.
7430
7431         * Added new SilcIDListStatus to the server in the SilcIDListData
7432           structure.   The status now includes the current status of
7433           the entry (like registered, resolved etc.).  Affected file
7434           silcd/idlist.[ch].  Defined a bunch of different status types
7435           as well.  This replaced the old boolean registered field as well.
7436
7437           Added resolve_cmd_ident field to the SilcClientEntry structure
7438           too so that if the entry is for example being resolved so
7439           another command may attach to the same pending command reply
7440           without requiring to resolve the same entry again.  This concept
7441           should optimize the WHOIS and the IDENTIFY resolving under
7442           heavy load by taking away unnecessary resolving for entries
7443           that are being resolved already.
7444
7445           Added support for adding multiple pending commands for one
7446           command idenfier.  Affected file silcd/command[_reply].[ch].
7447
7448         * Fixed WHOIS and IDENTIFY save to remove the cache entry
7449           before deleting the data.  Otherwise the hash table will have
7450           freed data in comparison functions.  Affected file is
7451           silcd/command_reply.c.
7452
7453         * Fixed silc_idlist_replace_client_id to add the new entry to
7454           the cache with NULL nickname.  Otherwise there will be invalid
7455           memory as the nickname after the nickname is freed.  Affected
7456           file silcd/packet_receive.c.
7457
7458         * Fixed the silc_idlist_get_clients_by_hash.  The entries was
7459           saved into wrong slots because the previous number of entries
7460           was not taken into account.  Affected file silcd/idlist.c.
7461           Fixed same thing in silc_idlist_get_clients_by_nickname too.
7462
7463         * If we are router and we receive JOIN notify to a channel that
7464           does not have any users then notified client is marked as the
7465           channel founder, as it is it.  The affected file is
7466           silcd/packet_receive.c
7467
7468         * Added to the extended hash table API's table_del_*ext functions
7469           the destructor as argument too, so that the caller can decide
7470           which destructor to use or whether to use destructor at all.
7471           Affected file lib/silcutil/silchashtable.[ch].
7472
7473         * Fixed ID Cache purging.  It actually deleted the entries from
7474           the hash table after the data was freed.  The hash table ended
7475           up comparing freed memory.  The affected file is
7476           lib/silccore/silcidcache.c.
7477
7478 Sat Sep  8 10:22:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7479
7480         * Fixed Irssi SILC client's KILL command's HELP syntax.
7481
7482         * The USERS command now resolves the detailed user information
7483           if the userinfo field is missing.  Affected file is
7484           lib/silcclient/command_reply.c.
7485
7486         * Do not print error in silc_file_read if the read file does
7487           not exist.  Just silently return NULL.  Affected file is
7488           lib/silcutil/silcutil.c.
7489
7490         * Fixed the silc_log_output to not wine about NULL filename
7491           and to not create some bogus " " filename.  Affected file is
7492           lib/silcutil/silclog.c.
7493
7494 Fri Sep  7 22:16:38 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7495
7496         * Fixed various printing bugs on the user interface in the
7497           Irssi SILC Client.  Minor changes that were forgotten from
7498           the release.
7499
7500 Fri Sep  7 17:28:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7501
7502         * Fixed the configure.in.pre and the compilation and distribution
7503           environment to support the new autoconf 2.52.  That version is
7504           now required to compile the CVS trunk.
7505
7506 Thu Sep  6 12:47:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7507
7508         * Renamed function silc_parse_nickname to silc_parse_userfqdn
7509           to generally parse user@fqdn format strings.  Affected file
7510           lib/silcutil/silcutil.c.
7511
7512         * Added nickname_format and nickname_force_format fields to the
7513           SilcClientParams structure.  The first one defines the format
7514           for the nicknames that the library will enforce if the receives
7515           multiple same nicknames.  The second one is boolean value and
7516           can be used to force the library to always enforce the format
7517           to the nicknames regardles whether there are multiple nicknames
7518           or not.  This configurable formatting was employed to flexibly
7519           support accessing multiple nicknames from the user interface.
7520           The userinterface can now set the nicknames to what ever format
7521           they prefer.  Affected file lib/silcclient/silcapi.h.
7522
7523           Added function silc_client_nickname_format to the file
7524           lib/silcclient/idlist.c.  It performs the nickname formatting.
7525
7526           Added new field `hostname´ to the SilcClientEntry context.
7527           It holds the hostname of the client.  Affected file is
7528           lib/silcclient/idlist.h.
7529
7530         * Irssi SILC Client sets the nicknames in nick@hostn format.
7531           Fe. priikone@otaku, priikone@otaku2 etc.  Affected file
7532           irssi/src/silc/core/silc-core.c.
7533
7534           The WHOIS printing now also shows both the real nickname and
7535           the formatted nickname so that user knows how to access the
7536           user if there are multiple same nicknames cached.  Affected
7537           file irssi/src/silc/core/client_ops.c.  Changed the WHOIS
7538           printing formatting too to take the hostname now as a separate
7539           argument.  The Affected file is
7540           irssi/src/fe-common/silc/modules-formats.[ch].
7541
7542         * Changed the silc_client_get_clients_local to accept the formatted
7543           nickname as argument.  It accepts the real nickname too but the
7544           formatted nickname can be used to find the true entry from
7545           multiple entries.  Affected file lib/silcclient/silcapi.h and
7546           lib/silcclient/idlist.c.
7547
7548         * Added nickname_format_parse field to the SilcClientParams.
7549           It is a callback function provided by the application to parse
7550           the nickname out of the formatted nickname string. The library
7551           calls it to get the nickname from the formatted string. Since
7552           the application generally knows better the format of the nickname
7553           string it parses it instead of the library, even though library
7554           encodes the formatted string.  If the callback function is not
7555           provided then the library will use the string as is.  The
7556           affected file is lib/silcclient/silcapi.h.
7557
7558         * All the nickname strings passed to the client library in
7559           commands are now expected to be formatted nickname strings.
7560           If the command does not support the formatted nickname string
7561           it will assume that the sent string is the actual nickname.
7562           Affected file lib/silcclient/command.c.
7563
7564 Tue Sep  4 22:31:28 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7565
7566         * Added public key authentication support to OPER and SILCOPER
7567           commands in the client library.  Affected file is
7568           lib/silcclient/command.c.
7569
7570 Tue Sep  4 12:39:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7571
7572         * Changed the get_auth_methdod client operation to be asynchronous.
7573           It can be async if the application resolves the authentication
7574           method from the server during the negotiation.  Added new
7575           SilcGetAuthMeth completion callback that the application will
7576           call after resolving the authentication method.
7577
7578           Added function silc_client_request_authentication_method that
7579           the application can use to resolve the authentication method
7580           from the server.  Added also SilcConnectionAuthRequest callback
7581           that the library will call after the server has replied.  The
7582           application can call this function if it does not know the
7583           current authentication method.
7584
7585           Affected files are lib/silcclient/client.c and
7586           lib/silcclient/silcapi.h.
7587
7588         * The Irssi SILC client now automatically resolves the authentication
7589           method incase any configuration information is not present (and
7590           currently there never is).  The affected file is
7591           irssi/src/silc/core/client_ops.c.
7592
7593         * Fixed public key authentication from the client library.
7594           Affected file lib/silcclient/protocol.c.  Changed also the
7595           protocol specification about the public key authentication in
7596           the connection authentication protocol.  The actual data to be
7597           signed is now computed with a hash function before signing.
7598
7599         * Fixed the public key authentication from the server as well.
7600           Affected file silcd/protocol.c.
7601
7602         * Removed the mlock()'s from the memory allocation routines.
7603           Affected file lib/silcutil/silcmemory.c.  The ./configure does
7604           not check anymore for the mlock().  Affected file is
7605           configure.in.pre.
7606
7607         * Fixed USERS command in server to allow the execution of the
7608           command for private and secret channels if the client sending
7609           the command is on the channel.  Affected file silcd/command.c.
7610
7611         * Fixed silc_client_get_clients_local to return the clients
7612           count correctly.  It could return wrong value.  Affected file
7613           lib/silcclient/idlist.c.
7614
7615 Mon Sep  3 20:09:59 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7616
7617         * Fixed the lib/silcmath/mpi/mpi.h to always use 32-bit data
7618           types.  The assembler optimizations seemed not to like 64-bit
7619           data types.  The assmebler optimizations thus are now enabled
7620           also for BSD systems as opposed to only enable them for Linux.
7621
7622         * Do not check for threads at all on BSD systems.  Affected
7623           file configure.in.pre.
7624
7625         * Removed -n and -h options from the Irssi SILC Client since
7626           they are not used in silc.
7627
7628         * Fixed the prime generation to assure that the first digit
7629           of the generated random number is not zero since our conversion
7630           routines does not like number strings that starts with zero
7631           digit.  If zero digit is seen the random number is regenerated.
7632           This caused some corrupted RSA keys when the zero first digit
7633           was met.  Affected file lib/silcmath/silcprimegen.c.
7634
7635 Sun Sep  2 17:17:24 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7636
7637         * Fixed WIN32 configuration in the ./configure script.
7638           Fixed to include xti.h on environments that has it.
7639           Patches by Carsten Ilchmann and andrew.
7640
7641 Sat Sep  1 00:29:33 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7642
7643         * Changed the silc_id_create_client_id to be collision
7644           resistant.  It is now assured that there cannot be created
7645           two same client ID's.  I suspect that some weird bugs in
7646           the server were actually caused by duplicate Client IDs.
7647           Affected file silcd/serverid.[ch].  A router receiving
7648           new ID now also assures and informs the sending server
7649           if the ID caused collision.
7650
7651         * Changed the silc_id_create_channel_id to also assure that
7652           there are no collisions.
7653
7654 Wed Aug 29 17:55:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7655
7656         * Statement about ignoring the Mutual Authentication flag when
7657           performing rekey with PFS was a bit misleading.  It is ignored
7658           if it was set in the initial negotiation, it cannot be even
7659           set in the rekey.  Fixed in the ke-auth draft.  Started the
7660           new versions of the protocol drafts in the doc/.
7661
7662 Sun Aug 26 14:59:15 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7663
7664         * Fixed a bug in silc_client_command_identify_save when saving
7665           new channel information.  The channel name was no duplicated
7666           and caused crash on exit.  Affected file is
7667           lib/silcclient/command_reply.c.
7668
7669 Fri Aug 17 23:07:45 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7670
7671         * Fixed the getkey command handling in the server.  Send just
7672           empty OK reply to the sender if the key could not be fetched
7673           (but everything else was ok, like the key just was not available).
7674           Changed the public key parameter to optional in the protocol
7675           specs so that empty OK reply can be sent.  Affected file
7676           silcd/command.c.
7677
7678           Added a message to Irssi SILC client to tell to user if the
7679           server did not return a public key.
7680
7681 Tue Aug 14 07:29:27 CEST 2001  Pekka Riikonen <priikone@silcnet.org>
7682
7683         * Fixed a channel key regeneration bug.  It registered new
7684           timeout tasks exponentially until all system resources were
7685           used.  Affected file silcd/server.c.
7686
7687 Sun Aug 12 20:48:14 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7688
7689         * Added the SILC Document generator to the scripts/silcdoc.
7690           It can be used to generate the Toolkit Reference Manual out
7691           of the source tree.  Internally it will also use the RoboDoc
7692           generator now imported in util/robodoc.
7693
7694 Sun Aug 12 12:28:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7695
7696         * Added couple of return's in rekey protocol if error orccurred
7697           during the protocol.  The execution must be terminated.
7698           Affected file silcd/protocol.c.  Also, terminate the protocol
7699           always with timeout.
7700
7701 Sat Aug 11 12:36:02 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7702
7703         * The client's Client ID was created initally from the wrong
7704           nickname (it could have been in format nick@host) in the
7705           silc_server_new_client.  Affected file silcd/packet_receive.c
7706
7707 Sat Aug 11 00:29:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7708
7709         * Added some SILC_LOG_ERROR's to various error conditions
7710           if client could not be added to ID cache.  Affected files
7711           silcd/packet_receive.c and silcd/server.c.
7712
7713         * When client's sock->user_data is freed, NULL also the
7714           client->router and client->connection pointers.  Added check
7715           for these pointers being NULL to various places around the
7716           code.  Affected file silcd/server.c.
7717
7718         * Added client->data.registered == TRUE checks to various
7719           places around the code to assure that unregistered client's
7720           are not handled when it is not allowed.  Affected file
7721           silcd/server.c.
7722
7723         * Added `bool registered' fields to all
7724           silc_idlist_[server|client]_get_* routines to indicate whether
7725           the fetched client needs to be registered or not.  Affected
7726           file silcd/idlist.[ch].
7727
7728         * Add your own entry as registered to the ID cache in the
7729           server.  Affected file server.c.
7730
7731         * Fixed a bug in silc_server_new_server.  The SilcServer was
7732           set as the new server's context instead of SilcServerEntry.
7733           This naturally caused some weird bugs.
7734
7735         * Added "updated" field the SilcChannelEntry which indicates
7736           the time since the channel entry was last accessed.  This
7737           can be used to determine whether it is necessary to
7738           announce the channel after backup resuming protocol.
7739           Affected files silcd/idlist.[ch].
7740
7741 Thu Aug  9 18:28:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7742
7743         * Do not delete the channel rekey task when adding it
7744           for in silc_server_create_channel_key.
7745
7746         * Changed the silc_server_create_channel_key to return
7747           TRUE or FALSE to indicate the success of the channel key
7748           creation.
7749
7750 Thu Jul 26 11:32:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7751
7752         * Fixed MSVC++ project files and added missing files to
7753           Makefiles under win32/.
7754
7755 Wed Jul 25 18:43:54 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7756
7757         * Do not add TCP_NODELAY flag if the operating system
7758           does not have it defined.  Affected files are
7759           lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
7760
7761         * Fixed buffer overflow from Irssi SILC Client.  Affected
7762           file irssi/src/fe-common/core/themes.c.
7763
7764         * Fixed double free in client library in the file
7765           lib/silcclient/client.c when disconnecting from server.
7766
7767         * Applied double free patch from cras to Irssi SILC client.
7768           Affected files irssi/src/core/[modules/expandos].c
7769
7770         * Fixed the disconnection handling to Irssi SILC Client.
7771           The application must call silc_client_close_connection
7772           in ops->connect client operation in case of failure of
7773           the connection.  Affected file is
7774           irssi/src/silc/core/client_ops.c.
7775
7776         * Do not set sock->protocol to NULL in the function
7777           silc_client_close_connection after executing the protocol's
7778           final callback since the sock might not be valid anymore.
7779           Affected file lib/silcclient/client.c.
7780
7781 Wed Jul 25 16:04:35 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7782
7783         * Do not enable SILC_THREADS if the linking with libpthread
7784           did not happen.  Affected file configure.in.pre.
7785
7786         * Added notion to protocol specification that server must
7787           verify the sent authentication payload with CMODE when
7788           setting the channel founder key.  Implemented it to the
7789           server.  Affected file silcd/command.c.
7790
7791 Mon Jul 23 18:31:43 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7792
7793         * Added _EXTRA_DIST SILC distribution variable to the
7794           distributions file.  It is used to conditionally add extra
7795           files or directories to the specific distribution.  Affected
7796           files ./prepare, Makefile.am.pre and distributions.
7797
7798           Removed the `_' from the start of the distribution names.
7799           It is redundant.
7800
7801         * Added README.WIN32 for instructions to compile the Toolkit
7802           under WIN32.
7803
7804 Mon Jul 23 10:12:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7805
7806         * Fixed a double free in disconnection in the server.  Affected
7807           file is silcd/server.c.
7808
7809         * Fixed the lib/silcske/groups.c to work now also with GMP
7810           MP library.  The string conversion did not work when using
7811           specific base and the base is indicated in the string as well.
7812
7813         * Created win32/ directory which now includes MSVC++ specific
7814           stuff so that toolkit (DLLs) may be compiled with MSVC++.
7815           It will appear only in the toolkit distribution
7816
7817 Sun Jul 22 19:40:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7818
7819         * Changed the key material distribution function in case when
7820           the hash output is too short.  The data is now concatenated
7821           a bit differently than it used to.  Made the change to the
7822           SKE protocol specification.
7823
7824         * Added better GMP detection to configure.in.pre.  A patch
7825           by salo.
7826
7827 Fri Jul 20 13:16:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7828
7829         * Fixed a minor bug in SKE that might cause some problem on
7830           some platforms.  Affected file lib/silcske/silcske.c.
7831
7832         * Added the cookie checking for initiator in the SKE.  It checks
7833           that the responder returns the sent cookie unmodified.  The
7834           affected file is lib/silcske/silcske.c.  Added new SKE
7835           error type INVALID_COOKIE that can be sent during the
7836           negotiation.  Fixed some memory leaks as well.
7837
7838         * Added the "invalid cookie" error message to Irssi SILC client's
7839           message formats.
7840
7841 Thu Jul 19 21:44:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7842
7843         * Added `task_max' field to the SilcClientParams to indicate
7844           the maximum tasks the scheduler can handle.  If set to zero,
7845           default values are used.  Affected file lib/silcclient/silcapi.h.
7846
7847         * Fixed memory leaks in silc_client_close_connection.  Affected
7848           file lib/silcclient/client.c.
7849
7850         * Added silc_client_del_client_entry to client library to free
7851           all memory of given client entry.  Affected file is
7852           lib/silcclient/idlist.[ch].
7853
7854         * Added new functions silc_client_del_channel and
7855           silc_client_del_server to delete channel and server entries.
7856           Affected file lib/silcclient/[silcapi.h/idlist.c].
7857
7858         * Removed silc_client_del_client_by_id from silcapi.h.
7859
7860         * Fixed the INFO command to return the server's own info
7861           correctly when querying by Server ID.  Affected file is
7862           silcd/command.c.
7863
7864 Thu Jul 19 14:47:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7865
7866         * Removed the non-blocking settings in WIN32 code in the
7867           silc_sock_[read/write] and added SleepEx instead.  Affected
7868           file lib/silcutil/win32/silcwin32sockconn.c.  The availability
7869           of input data is now checked with FIONREAD and ioctlsocket.
7870
7871 Wed Jul 18 18:34:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7872
7873         * Call silc_schedule_task_del_by_context in the
7874           silc_protocol_cancel instead of silc_schedule_task_del_by_callback.
7875           Affected file lib/silccore/silcprotocol.c.
7876
7877         * Call silc_protocol_cancel for active protocols in the
7878           silc_server_close_connection if the funtion
7879           silc_server_free_sock_user_data has not been called.
7880           Affected file silcd/server.c.
7881
7882         * Generic tasks cannot be deleted using the del_by_fd
7883           task deleting function since generic tasks does not match
7884           any specific fd.  Affected file lib/silcutil/silcschedule.[ch].
7885
7886         * Added a notion to SILCOPER help file that the SILCOPER works
7887           only on router server, not on normal server.
7888
7889 Wed Jul 18 09:40:04 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7890
7891         * Added for WIN32 support for the new scheduler as well.
7892           Affected file lib/silcutil/win32/silcwin32schedule.c.
7893
7894         * Fixed the SHA1 implementation to work on various platforms.
7895
7896 Tue Jul 17 23:04:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7897
7898         * Rewrote the SILC Scheduler entirely.  Removed the old SILC Task
7899           API.  It is part of the scheduler now.  Everything else is
7900           as previously but some functions has changed their names.
7901           Checkout the lib/silcutil/silcschedule.h for the interface.
7902           Updated all applications to use the new interface.  Affected
7903           files are lib/silcutil/silcschedule.[ch].
7904
7905 Tue Jul 17 16:53:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7906
7907         * Found a bug in the SKE implementation.  The HASH value,
7908           specified by the protocol, was not computed correctly.  The
7909           public key of the responder was not added to the computation
7910           even though it is mandatory.  Affected file lib/silcske/silcske.c.
7911           This unfortunately causes incompatibilities with older
7912           clients and servers.
7913
7914         * Added WIN32 specific network init and uninit functions:
7915           silc_net_win32_init and silc_net_win32_uninit to init and uninit
7916           the Winsock2.  Affected file lib/silcutil/silcnet.h and
7917           lib/silcutil/win32/silcwin32net.c.
7918
7919         * Set the socket always to nonblocking mode on WIN32 after
7920           reading data or writing data.  Affected file is
7921           lib/silcutil/win32/silcwin32sockconn.c.
7922
7923 Mon Jul 16 22:55:26 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7924
7925         * Fixed various compilation problems under WIN32.  Affected
7926           files lib/silcutil/win32/silcwin32thread.c and
7927           lib/silcutil/win32/silcwin32schedule.c.
7928
7929         * Removed all _internal.h #includes from public header
7930           files.  Internal headers must never be included from
7931           public headers.
7932
7933           Removed also the lib/silcske/payload_internal.h file.
7934
7935         * All include files that may be needed (public and some others
7936           included by the public headers) by application developers are
7937           now copied to the ./includes directory.  It does not copy any
7938           internal headers.  Affected file Makefile.defines.pre and all
7939           Makefile.am's under lib/ and subdirs.
7940
7941 Thu Jul 12 17:49:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7942
7943         * Do not change the ~/.silc directory's permissions automatically.
7944           Affected file irssi/src/silc/core/clientutil.c.
7945
7946 Thu Jul 12 10:18:40 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7947
7948         * Do not cancel the protocol in silc_server_close_connection
7949           it might cause recursion.  Now cancelled in the function
7950           silc_server_free_sock_user_data.  Affected file silcd/server.c.
7951
7952         * Fixed the silc_server_remove_clients_by_server to regenerate
7953           the channel keys correctly finally.  Added also new function
7954           silc_server_remove_clients_channels to actually do it.
7955           Affected file silcd/server.c.
7956
7957         * Fixed the silc_server_new_channel to not crash by giving
7958           wrong router to the new channel.  Affected file is
7959           silcd/packet_receive.c.
7960
7961 Wed Jul 11 18:31:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7962
7963         * Added SilcClientParams structure to the lib/silcclient/silcapi.h
7964           which is given as argument to the silc_client_alloc now.
7965           It can be used to configure the client and set various parameters
7966           that affect the function of the client.
7967
7968         * The USERS command in server did not check whether the channel
7969           is private or secret.  Affected file silcd/command.c.
7970
7971         * Added new argument to the USERS command in protocol specification.
7972           The USERS command now can take the channel name as argument
7973           as well.  Added support for this in client and server and
7974           updated the protocol specs.
7975
7976         * Completed the GETKEY command in client. It can be now used
7977           to fetch also servers public key not only some clients.
7978           Affected files lib/silcclient/command[_reply].c.
7979
7980         * Added silc_client_get_server to return server entry by the
7981           server name.  Affected files lib/silcclient/silcapi.h and
7982           idlist.c.
7983
7984         * Redefined the IDENTIFY command in protocol specification to be
7985           more generic.  It now can be used to query information about
7986           any entity in the SILC Network, including clients, servers and
7987           channels.  The query may be based either the entity's name
7988           or the ID.  Added support for this in both client and server.
7989
7990           Affected files silcd/command.c and lib/silcclient/command.c
7991           and command_reply.c.
7992
7993         * Optimized the WHOIS and WHOWAS commands in the server. Removed
7994           the _from_client and _from_server functions.  Affected file
7995           silcd/command.c.
7996
7997         * Added silc_client_get_channel_by_id_resolve to the file
7998           lib/silcclient/silcapi.h to resolve channel information by
7999           its ID.  Added also silc_client_get_channel_by_id that
8000           does not resolve it from the server.
8001
8002 Tue Jul 10 18:05:38 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8003
8004         * Added SilcServerEntry context into the client library
8005           to represent one server.  The INFO command now allocates
8006           these to save the resolved server info.  For now on the
8007           client library will also keep information about servers,
8008           connected and resolved with INFO.
8009
8010           The INFO command now allocates the SilcServerEntry context
8011           and saves the server info there.  The COMMAND_REPLY in
8012           the INFO now returns the parameters to application in
8013           same order as defined in the protocol specification.
8014
8015           The entries are cached in the client->server_cache.
8016
8017         * The INFO command is now issued after received the Client ID
8018           from the server.  Affected file lib/silcclient/client.c.
8019
8020         * The CMODE_CHANGE notify may now return also an SilcServerEntry
8021           to the application as the mode changer might be server.
8022           It is guaranteed that NULL is not returned anymore to the
8023           application.  Affected file lib/silcclient/client_notify.c.
8024
8025           The ID Type is now also passed to the application so that
8026           it can check whether the returned entry is SilcClientEntry
8027           or SilcServerEntry.
8028
8029           Added new function silc_client_get_server_by_id to return
8030           the server entry by ID.  Affected files are the
8031           lib/silcclient/silcapi.h and lib/silcclient/idlist.c.
8032
8033         * Do not create the channel in the Irssi SILC Client when issuing
8034           the JOIN command but when received the sucessful JOIN command
8035           reply.  Otherwise the channel might get created even though we
8036           could not join it.  The Affected file is
8037           irssi/src/silc/core/[silc-channels.c/client_ops.c].
8038
8039         * Fixed a channel joining bug in router.  The router must also
8040           check the channel modes, invite and ban lists etc. when serving
8041           the JOIN command sent by normal server.  Affected file is
8042           silcd/command.c.  The router now resolves the client's
8043           information from the server who sent the JOIN command if it
8044           does not know it, and processes the JOIN command only after
8045           that.
8046
8047         * Changed the SilcCommandCb to take new argument; void *context2.
8048           Affected file lib/silccore/silccommand.h
8049
8050           The second argument in the command callbacks in the server now
8051           includes the SilcServerCommandReplyContext if the command was
8052           called as pending command callback from the command reply.
8053           Otherwise it is NULL. When called as pending the status of the
8054           command reply will be checked and if it was erronous the
8055           error will be sent to the original sender of the command.
8056           This way the client always receives the error messages even
8057           though the server was actually the one who received the error
8058           when it resent the command to router, for example.  Affected
8059           files silcd/command[_reply].[ch].
8060
8061         * Fixed sending WHOWAS command's error message to client if
8062           the requested client could not be found.  It was missing.
8063           silcd/command.c.
8064
8065         * Changed the CMODE and CUMODE commands reply arguments in the
8066           protocol specification.  The Channel ID is now sent in both
8067           of the commands to identify the channel.  Implemented this
8068           new feature to the client and server.  Affected files
8069           lib/silcclient/command_reply.c and silcd/command.c.
8070
8071         * Made better checks for invite and ban lists in the JOIN
8072           command in server.  Affected file silcd/command.c.
8073
8074 Mon Jul  9 18:28:34 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8075
8076         * The server now performs the incoming host IP/DNS lookup
8077           using the silc_socket_host_lookup and thus does not block
8078           the server anymore.  Affected file silcd/server.c.
8079
8080         * Completed the multi-thread support for SILC Scheduler in
8081           the lib/silcutil/silcschedule.c.
8082
8083         * Fixed the configure.in.pre to detect the pthread correctly
8084           on various systems.
8085
8086         * Fixed a deadlock in silc_task_queue_wakeup in the file
8087           lib/silcutil/silctask.c.
8088
8089 Mon Jul  9 13:40:03 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8090
8091         * Added new function silc_schedule_wakeup that is used in
8092           multi-threaded environment to wakeup the main thread's
8093           schduler. It needs to be used when a thread adds a new task
8094           or removes a task from task queues. After waking up, the
8095           scheduler will detect the task queue changes. If threads
8096           support is not compiled in this function has no effect.
8097           Implemented the wakeup mechanism to both Unix and WIN32
8098           systems.  Affected files are lib/silcutil/silcschedule.[ch],
8099           lib/silcutil/unix/silcunixschedule.c and the
8100           lib/silcutil/win32/silcwin32schedule.c.
8101
8102         * Added new function silc_task_queue_wakeup to wakeup the
8103           scheduler by the specified task queue.  Affected file
8104           lib/silcutil/silctask.[ch].
8105
8106         * The silc_socket_host_lookup_start now wakes up the scheduler
8107           after adding the timeout task.  Affected file is
8108           lib/silcutil/silcsockconn.c.
8109
8110         * The silc_socket_host_lookup is synchronous now if the threads
8111           support is not compiled in.  However, the callback is still
8112           called asyncronously through the scheduler, anyway.  Affected
8113           file lib/silcutil/silcsockconn.c.
8114
8115 Mon Jul  9 00:24:45 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8116
8117         * Added new function silc_socket_host_lookup to perform
8118           asynchronous IP and FQDN lookups for the socket connection.
8119           Affected files lib/silcutil/silcsockconn.[ch].
8120
8121 Sun Jul  8 18:44:53 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8122
8123         * Added SILC_MUTEX_DEFINE to define the mutex on environments
8124           that may or may not compile the mutex support in.
8125
8126           Changed the silc_mutex_alloc interface. It allocates the
8127           mutex now to the sent pointer and returns TRUE or FALSE.
8128
8129           Affected file lib/silcutil/silcmutex.h.
8130
8131         * Wrote the SILC Task Queue interface to support multi-threads.
8132           Affected file lib/silcutil/silctask.[ch].
8133
8134         * Wrote the SILC Scheduler to support multi-threads.  Affected
8135           file lib/silcutil/silcschedule.c.
8136
8137 Sun Jul  8 11:16:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8138
8139         * Implemented the SILC Mutex API and SILC Thread API for WIN32
8140           in lib/silcutil/win32/.
8141
8142 Sun Jul  8 00:18:15 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8143
8144         * Defined SILC Mutex API and SILC Thread API and implemented
8145           them for Unix.  Affected files are
8146           lib/silcutil/silcmutex.h, lib/silcutil/silcthread.h,
8147           lib/silcutil/unix/silcunixmutex.c and
8148           lib/silcutil/unix/silcunixthread.c.
8149
8150 Sat Jul  7 14:40:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8151
8152         * Fixed the silc_server_remove_clients_by_server's channel
8153           key re-generation.  The hash table handling was incorrect
8154           and would not work with many channels.  Affected file is
8155           silcd/server.c.
8156
8157         * Fixed some memory leaks around the server code.
8158
8159         * Rewrote the silc_server_get_users_on_channel to support IPv6
8160           based Client ID's.  Affected file silcd/server.c.
8161
8162         * Defined the SILC_MESSAGE_FLAG_SIGNED to the protocol
8163           specification.  However, a separate document must be written
8164           to define the detailed signing procedure and the payload
8165           associated with the flag.  Defined the flag to the
8166           lib/silccore/silcchannel.h as well.
8167
8168 Fri Jul  6 18:26:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8169
8170         * Changed the dynamic tables to static size tables in the
8171           lib/silccrypt/silchmac.c.
8172
8173         * Removed GCC dependencies from the code.  A patch by cras.
8174
8175 Fri Jul  6 09:39:35 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8176
8177         * Do not show the error "Error receiving packet bla bla"
8178           in server if it really was not an error (-2 means that reading
8179           is pending).  Affected file silcd/server.c.
8180
8181 Thu Jul  5 21:22:32 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8182
8183         * Fixed a possible crash in silc_server_remove_clients_by_server
8184           in silcd/server.c.  Fixed there also some memory leaks.
8185
8186         * Fixed the silc_idlist_replace_client_id.  It could replace
8187           wrong key in the hash table.  Affected file silcd/idlist.c.
8188
8189         * Do not check whether there are global users on the channel
8190           if the channel->global_users is FALSE.  Affected functions
8191           silc_server_remove_from_one_channel and
8192           silc_server_remove_from_channels in silcd/server.c.  Also,
8193           do not check if the removed client is local as we can be
8194           sure that global client was not removed from the channel
8195           and checking for global users is not needed.
8196
8197         * The silc_server_remove_clients_by_server now re-generates
8198           the channel keys correctly for those channels that had
8199           clients removed from them.  Affected file silcd/server.c.
8200
8201 Tue Jul  3 11:39:20 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8202
8203         * Found the reason of random crashes in the server.  We weren't
8204           ignoring the SIGPIPE signal (which can be sent in write())
8205           and it crashed the server.  Affected file silcd/silcd.c.
8206
8207 Fri Jun 29 20:05:25 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8208
8209         * Assure that sock->user_data is not NULL in the function
8210           silc_server_packet_send in silcd/packet_send.c.
8211
8212         * Disconnect the remote connection if it could not be added
8213           to any ID lists in the server.  The affected file is
8214           silcd/server.c.
8215
8216         * Check in silc_server_packet_send[_real/dest] that the
8217           socket is not disconnecting and ignore the data if it is.
8218           Affected file silcd/packet_send.c.
8219
8220         * Define inline to __inline on native WIN32 compilation.
8221           Affected file includes/silcwin32.h.
8222
8223         * Added some explicit type casts for inline code since MSVC
8224           require them.  Affected files lib/silcutil/silcbuffer.h,
8225           lib/trq/silcdlist.h and lib/trq/silclist.h.
8226
8227         * Print warning in log files from now on if the packet
8228           decryption fails.  Affected file silcd/server.c.
8229
8230 Thu Jun 28 21:30:39 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8231
8232         * Changed the `say' client operation's interface to accept
8233           new `type' argument to indicate the type of the message sent
8234           by the library.  The application may filter the library's
8235           messages according the type.  The affected file is the
8236           lib/silcclient/silcapi.h.
8237
8238         * Added two new functions to lib/silcclient/silcapi.h:
8239           silc_client_del_client and silc_client_del_client_by_id.
8240           Affected file lib/silcclient/idlist.c.
8241
8242         * Moved the clientincludes.h from includes/ to silc/ and
8243           serverincludes.h from includes/ to silcd/.
8244
8245         * The modes for the CMODE and CUMODE are now passed as
8246           uint32 for application with COMMAND_REPLY.  The affected
8247           file is lib/silcclient/command_reply.c.
8248
8249 Wed Jun 27 22:24:47 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8250
8251         * /WHOIS without arguments shows client's own information.
8252           Affected file lib/silcclient/command.c.
8253
8254         * Changed PING to not accept any arguments.  The specs
8255           says that client can ping only the connected server so
8256           requiring an argument is not needed.  Affected file is
8257           lib/silcclient/command.c.
8258
8259 Wed Jun 27 00:10:33 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8260
8261         * Fixed a fatal bug in private message sending and reception
8262           encryption and decryption when using private message keys.
8263           The implementation was incorrect and did not follow the
8264           specification.  It causd that some of the message were
8265           lost since it did not use the sending and receiving keys
8266           as the protocol suggests.  This has been fixed and will cause
8267           incompatibilities with older clients when sending private
8268           message encrypted with private message keys.  Affected files
8269           lib/silcclient/client_prvmsg.c, lib/silcclient/client_keyagr.c
8270           and various other in Irssi SILC Client.
8271
8272           Added `responder' boolean argument to the functions
8273           silc_client_add_private_message_key[_ske] to indicate when
8274           the key is added as responder or initiator of the key
8275           negotiation.
8276
8277 Tue Jun 26 19:23:07 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8278
8279         * Removed the silc_ske_check_version function and created
8280           a SilcSKECheckVersion callback.  Added also a function
8281           silc_ske_set_callbacks that is now used to set all SKE
8282           callbacks.  The callback functions are not given to
8283           the SKE functions anymore, but this function is used to
8284           set the callbacks.
8285
8286         * Fixed the WIN32 DLL generation in lib/Makefile.am.pre.
8287
8288         * Added `silc_version' argument to the silc_client_alloc
8289           to define the version of the application for the library.
8290           The library will use the version string to compare it
8291           against the remote host's (usually a server) version
8292           string.  Affected file lib/silcclient/silcapi.h
8293
8294         * Added the KE protocol context to Key Agreement context
8295           in client library so that we can abort the SKE if it
8296           is in process when we get timeout.  Affected file is
8297           lib/silcclient/client_keyagr.c.
8298
8299         * Do not resolve the client ID forever if it returns in the
8300           first time that such client does not exist.  This was done
8301           for example with private message.  Affected file is
8302           lib/silcclient/client_prvmsg.c.
8303
8304 Mon Jun 25 21:42:51 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8305
8306         * Do not add regex.h for WIN32.  The affected file
8307           includes/silcincludes.h.
8308
8309         * Added WIN32 DLL generation to lib/Makefile.am.pre.  It might
8310           not work yet 100%.  It generates the DLL's automatically
8311           when compiling with --with-win32 under cygwin.
8312
8313 Sun Jun 24 19:49:23 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8314
8315         * lib/contrib/regex.c is not compiled on WIN32.
8316
8317         * Added silc_net_get_socket_opt function to the
8318           lib/silcutil/silcnet.h.
8319
8320         * Added includes/silcwin32.h for WIN32 specific includes
8321           and definitions.
8322
8323         * Do not use ptime structure or any of the posix process
8324           functions on WIN32 in lib/silccrypt/silrng.c.
8325
8326         * Added silc_gettimeofday to provide generic function
8327           for struct timeval on all platforms.  Added the function
8328           to lib/silcutil/silcutil.h.
8329
8330 Sun Jun 24 12:19:52 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8331
8332         * Moved the lib/silccore/silcsockconn.[ch] to the utility
8333           library as they clearly belong there.  As a plus side we
8334           can make the actual socket connection routines platform
8335           specific.
8336
8337           Added also new generic function silc_socket_read and
8338           silc_socket_write (that used to be silc_packet_[read/write].
8339           The implementation of these are platform specific.
8340
8341         * Added WIN32 specific routines of silc_socket_[read/write]
8342           to lib/silcutil/win32/silcwin32sockconn.c.
8343
8344 Sat Jun 23 16:01:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8345
8346         * Added preliminary support for native WIN32 compilation under
8347           cygwin (using the -mno-cygwin option for GCC) to the
8348           ./configure.in.pre.  The --with-win32 now prepares the
8349           compilation for native WIN32.
8350
8351         * Rewrote the SILC Scheduler interface in the file
8352           lib/silcutil/silcschedule.h.  The scheduler is now context
8353           based and does not have anymore any global static scheduler.
8354           Moved the Unix scheduler to the lib/silcutil/unix/ directory
8355           and created lib/silcutil/win32 directory for WIN32 based
8356           scheduler.
8357
8358         * Added Unix specific network routines to the
8359           lib/silcutil/unix/silcunixnet.c and the old
8360           lib/silcutil/silcnet.c includes now only generic routines.
8361
8362           Added WIN32 specific network routines to the
8363           lib/silcutil/win32/silcwin32net.c.
8364
8365         * Added Unix specific utility functions from the
8366           lib/silcutil/silcutil.c to lib/silcutil/unix/silcunixutil.c.
8367
8368         * Added WIN32 SILC Scheduler to the file
8369           lib/silcutil/win32/silcwin32schedule.c. The code is of course
8370           untested.
8371
8372 Fri Jun 22 10:44:14 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8373
8374         * Do not handle JOIN notify in the server if the target client
8375           is not registered (idata->registered == FALSE).  The affected
8376           file is silcd/packet_receive.c.
8377
8378         * Update the nickrec->founder in event_cumode in the Irssi SILC
8379           client.  Affected file irssi/src/silc/core/silc-channels.c.
8380
8381         * Fixed the CUMODE_CHANGE notify handling in the server when
8382           server and router are announcing their clients on channels.
8383           Now the mode changes are saved and notified correctly.  The
8384           affected file is /silcd/packet_receive.c.
8385
8386         * Fixed silc_idlit_replace_[server/client/channel]_id functions.
8387           They really did not replace the cache entry in the ID Cache.
8388           Now they do that.  Affected file silcd/idlist.c.
8389
8390         * Fixed the KICK notify handling in the Irssi SILC client to
8391           update the channel records so that the kicked client does not
8392           appear to be on the channel.  The affected file is
8393           irssi/src/silc/core/silc-channels.c.
8394
8395         * Always update the conn->current_channel when executing command
8396           on a channel.  Affected file irssi/src/silc/core/silc-servers.c.
8397
8398         * Fixed the KILL notify handling in Irssi SILC client to remove
8399           the killed client on all channels.
8400
8401 Thu Jun 21 17:10:08 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8402
8403         * Fixed the silc_parse_command_line to remove extra spaces
8404           from the start and end of the arguments.  Affected file is
8405           lib/silcutil/silcutil.c.
8406
8407         * Cancel and free any active protocol in the function
8408           silc_server_close_connection.  Affected file silcd/server.c.
8409
8410         * Cancel and free any active protocol in the function
8411           silc_client_close_connction.  Affected file is
8412           lib/silcclient/client.c.
8413
8414         * Do not execute the KILL command for clients that are in
8415           history (ie. they are not in the network).  Affected file is
8416           silcd/command.c.
8417
8418         * Fixed KILL notify handling, client does not crash anymore.
8419           Affected file irssi/src/silc/core/silc-channels.c.
8420
8421         * Reduced the default packet buffer size from 2048 to 1024 in
8422           lib/silccore/silcpacket.c.
8423
8424         * Added SILC_SKE_STATUS_FREED SKE status type and a reference
8425           counter to the SKE context that is incresed when the SKE library
8426           performs async operation outside the library.  If the outside
8427           process frees the SKE context and FREED status will be set
8428           and the library will detect after the sync operation that the
8429           libary is freed.  The affected files are
8430           lib/silcske/silcske[_status].[ch].
8431
8432         * Resolve the client entry information in the function
8433           silc_client_channel_message to assure that NULL pointer is not
8434           passed as client entry to the application. */
8435
8436         * Fixed the task timeout calculation to assure that there is
8437           never negative timeouts.  The affected file is
8438           lib/silcutil/silcschedule.c.
8439
8440         * Fixed the channel user mode notification sending in server.
8441           It was sent point-to-point to the router (or to server by router)
8442           but it needs to be destined to a channel.  The routines now
8443           supports sending the channel user mode notifys to the channels
8444           when announcing clients and channels.  Affected files are
8445           silcd/server.c and silcd/packet_receive.c.
8446
8447         * Fixed the CHANNEL_CHANGE notify handling in the client libary.
8448           It did not actually replace the old channel entry in the cache.
8449           Affected file lib/silcclient/client_notify.c.
8450
8451 Tue Jun 19 22:10:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8452
8453         * Fixed a possible crash in silc_packet_send_prepare.  It now
8454           assures always that there is enough space in the buffer and
8455           at the tail area of the buffer (for MAC).
8456
8457           Fixed the inbound buffer reallocation in silc_packet_read.
8458           It was old code and did not handle the reallocation correctly.
8459           Affected
8460
8461           The affected file is lib/silccore/silcpacket.c.
8462
8463         * Fixed buffer overflow in silc_parse_nickname in the file
8464           lib/silcutil/silcutil.c.
8465
8466 Tue Jun 19 13:40:09 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8467
8468         * make install generates new server keys only if there is not
8469           keys already.
8470
8471 Mon Jun 18 18:49:07 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8472
8473         * Set SILC_MESSAGE_FLAG_NOREPLY when sending the away message.
8474           Added check that if the NOREPLY is set then we will not send
8475           the away message.  This avoids infinite loop of away messages
8476           if both clients are away.  The affected file is
8477           lib/silcclient/client_prvmsg.c.
8478
8479         * Fixed client crash if /NICK was given without arguments.
8480           Affected file lib/silcclient/command.c.
8481
8482         * Server does not send the invite list in INVITE command back
8483           to the client if the list was not altered.  Added this notion
8484           to the protocol spec as well.  Affected file silcd/command.c.
8485
8486           Fixed possible crash in INVITE command by checking the
8487           value of silc_server_get_client_route command.
8488
8489         * Fixed the INVITE notify type handling.  The arguments are now
8490           taken in correct order and client does not crash.  The affected
8491           file is irssi/src/silc/core/silc-channels.c.
8492
8493           Removed the "Inviting xxx to channel" message from the
8494           client library away and let the application handle it.
8495           Affected file lib/silcclient/command.c.  Added that message
8496           to Irssi SILC client's message formats.
8497
8498         * Fixed CMODE command crash in client.  It now checks the
8499           amount of arguments correctly and does not crash.  The affected
8500           file is lib/silcclient/command.c.
8501
8502         * Do not create new channel automatically in silc_channels_join
8503           but check whether the channel by that name already exists.
8504           Affected file irssi/silc/core/silc-channels.c.
8505
8506         * Do not send the SERVER_SIGNOFF to router if the disconnected
8507           entity was the router.  Affected file silcd/server.c.
8508
8509         * Added the handling of the SERVER_SIGNOFF notify to the Irssi
8510           SILC client as it was missing from there.
8511
8512           Added the handling of the KICK notify to the Irssi SILC client
8513           as it was missing.  Added "you have been kicked" message to
8514           Irssi SILC client's message modules formats.
8515
8516           Added the handing of the KILL notify to the Irssi SILC client
8517           as it was missing.  Added the kill message module formats
8518           as well.
8519
8520           The affected file is irssi/src/silc/core/silc-channels.c.
8521
8522         * The router did not save the channel mode the server announced.
8523           Affected file silcd/packet_receive.c.
8524
8525         * Fixed a possible crash in INFO command in server.  If the
8526           server did not provide the server info it crashed.  Affected
8527           file silcd/command.c.
8528
8529 Sun Jun 17 15:26:05 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8530
8531         * Fixed the GETKEY command in the server to check also the
8532           global list.  Otherwise the GETKEY would not work correctly
8533           in normal SILC server.  Affected file silcd/command.c.
8534
8535 Sat Jun 16 18:00:00 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8536
8537         * Fixed GETKEY crash, it crashed if the command did not succseed.
8538
8539 Tue Jun 12 21:36:18 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8540
8541         * Redefined the SILC MP API in lib/silcmath/silcmp.h. The API
8542           is now real and not just an macro interface to GMP.
8543
8544           Removed the entire GMP from the source tree and imported new
8545           NSS MPI library instead.  Reason for removing GMP is that it is
8546           extremely large and compiles extremely slow.  The NSS MPI
8547           is only a few files and compiles in less than 10 seconds.
8548           The speed is also about the same as GMP.  The MPI is imported
8549           to lib/silcmath/mpi.
8550
8551           If the system has GMP installed we will still use the GMP.
8552           If it is not then the NSS MPI will be compiled.
8553
8554 Mon Jun 11 18:07:24 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8555
8556         * Merged a long nickname (127 characters long) crash bugfix from
8557           Irssi CVS tree.  Affected file irssi/src/core/misc.c.
8558
8559         * Merged a freed memory reference bugfix from Irssi CVS tree.
8560           Affected file irssi/src/core/commands.c.
8561
8562 Sun Jun 10 16:08:35 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8563
8564         * Added the server's public key sving and verification to the
8565           server when performing the SKE.  This was missing and the
8566           remote server's (or router's) public key was accepted without
8567           checking whether we have it previously or trust it at all.
8568           Affected file silcd/protocol.c.
8569
8570 Sat Jun  9 20:17:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8571
8572         * Check in the silc_server_timeout_remote if protocol is active
8573           and make sure that the protocol's final callback is called so
8574           that all memory if freed.  Affected file silcd/server.c.
8575
8576 Sat Jun  9 12:51:27 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8577
8578         * silc_server_whois_send_reply crashed the server if the nickname
8579           was 127 characters long.  Affected file silcd/command.c.
8580
8581 Thu Jun  7 16:29:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8582
8583         * Added sanity check to the silc_server_new_client. If the hostname
8584           is provided inside username then check that the provided hostname
8585           really is the same as the resolved one.  If the hostname was not
8586           resolved then check it from the public key.  Affected file is
8587           silcd/packet_receive.c.
8588
8589         * Fixed a fatal bug in Irssi SILC client. Do not send QUIT command
8590           if the server disconnected us and the connection is not valid
8591           anymore.  Affected file irssi/src/silc/core/silc-channels.c.
8592
8593         * Moved the silc_client_[chmode|chumode|chumode_char] away from
8594           the library to the lib/silcutil/silcutil.[ch].
8595
8596 Thu Jun  7 08:57:16 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8597
8598         * Close log file after open.  Affected file
8599           lib/silcutil/silclog.c.
8600
8601         * Check whether sock == NULL in silc_client_send_packet and return
8602           if it is.  Affected file lib/silcclient/silcclient.c.
8603
8604         * Check rec->entry == NULL in the Irssi SILC Client before
8605           sending the channel message.  Affecte file is
8606           irssi/src/silc/core/silc-servers.c.
8607
8608 Tue Jun  5 08:08:21 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8609
8610         * Merged a splitted window bugfix from Irssi CVS tree.  The
8611           affected file is irssi/src/fe-text/textbuffer-view.c.
8612
8613         * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
8614           It did not print nickname.
8615
8616         * Improved the distributions system a bit.
8617
8618 Mon Jun  4 17:57:16 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8619
8620         * Merged /WINDOW bugfix from irssi CVS tree. Affected file is
8621           irssi/src/fe-text/gui-window.c.
8622
8623         * Fixed a fatal bug in Irssi SILC client. Crashed if sent message
8624           to in-active server.  The affected file is
8625           irssi/src/silc/core/client_ops.c.
8626
8627         * Resolve the client in USERS command reply if the entry does
8628           not have username resolved.  The affected file is
8629           lib/silcclient/command_reply.c.  Also, changed the IDENTIFY
8630           command to WHOIS command to really resolve stuff.  The USERS
8631           is not used any more in any critical section so WHOIS can
8632           be used even though it might be slower than IDENTIFY.
8633
8634         * Changed the lib/silcutil/silchashtable.h header to ROBODoc
8635           format.
8636
8637 Sun Jun  3 14:21:32 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8638
8639         * Changed the protocol API a bit more consistent in the
8640           lib/silccore/silcprotocol.[ch].
8641
8642         * Changed the following headers to ROBODoc format:
8643
8644                 lib/silccore/silcpayload.h
8645                 lib/silccore/silcprotocol.h
8646                 lib/silccore/silcsockconn.h
8647
8648           All core library headers are now formatted.
8649
8650 Sat Jun  2 10:45:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8651
8652         * Fixed a bug in Irssi SILC client; do not show that you are
8653           server/router operator if you really are not.  Affected file is
8654           irssi/src/silc/core/client_ops.c.
8655
8656         * Renamed silc_command_free_payload to silc_command_payload_free.
8657           Affected file lib/silccore/silccommand.h
8658
8659         * Added silcmath.h to include the prototoypes of various routines
8660           in the lib/silcmath.  Removed the old modinv.h, mpbin.h and
8661           silcprimegen.h.
8662
8663         * Changed the following headers to ROBODoc format:
8664
8665                 lib/silccore/silcchannel.h
8666                 lib/silccore/silccommand.h
8667                 lib/silccore/silcid.h
8668                 lib/silccore/silcidcache.h
8669                 lib/silccore/silcmode.h
8670                 lib/silccore/silcnotify.h
8671                 lib/silccore/silcpacket.h
8672                 lib/silcmath/silcmath.h
8673
8674 Fri Jun  1 22:19:37 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8675
8676         * Added checking to the server code not to start the server if
8677           ciphers and stuff are not configured properly.  Affected files
8678           silcd/serverconfig.[h] and silcd/server.c.
8679
8680         * Changed the layout of the header files of the public interfaces
8681           in the SILC libraries.  The new layout supports ROBODoc
8682           documentation tool (and some others) so that it is easy to create
8683           a library reference manual.  All the other headers and source
8684           code must still follow the CodingStyle document.  Also source
8685           code must not include these ROBODoc stuffs, only the headers.
8686           Furthermore, all public interface headers must now be named
8687           by using `silc' prefix, example: silcapi.h, silccipher.h.
8688           Some files were renamed due to this.  All the other headers
8689           must not be used as public interfaces.  I will update the
8690           CodingStyle document later.  Changed following headers, so far:
8691
8692                 lib/silcclient/silcapi.h
8693                 lib/silccore/silcauth.h
8694                 lib/silccore/silcprivate.h
8695                 lib/silccrypt/silcdh.h
8696
8697 Fri Jun  1 10:28:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8698
8699         * Updated TODO.
8700
8701         * Removed silc_client_packet_send_flush from the client library
8702           as it is not needed.  Affected file lib/silcclient/client.[ch].
8703
8704         * Added printing of message of unresolved authentication method
8705           to the Irssi SILC client.  Added it to the module formats.
8706           Removed the same message from the client library.
8707
8708 Thu May 31 13:57:33 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8709
8710         * Added new distribution feature, DISTLABEL.  Every distribution
8711           can define own preprocessor label that can be used in the
8712           source code.  For example: #ifdef SILC_DIST_CLIENT.  Affected
8713           file distributions, acconfig.h.pre and prepare.
8714
8715 Tue May 29 22:16:40 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8716
8717         * Added Makefile.defines_int to include the actual definitions
8718           for Makefile.defines.in.  Tested the new distribution system,
8719           created distributions and tested installation.
8720
8721         * Added AWAY message printing to the Irssi SILC client.  Added
8722           the messages to the irssi/src/fe-common/silc/module-formats.[ch].
8723
8724         * Added SCONNECT command to call the SILC's CONNECT command.
8725           Cannot use CONNECT directly since Irssi uses that internally.
8726           Affected file irssi/src/silc/core/silc-servers.c.
8727
8728           Added ACTION local command.  It is same as ME command but takes
8729           the channel as mandatory argument.
8730
8731           Rewrote some of the Irssi's help files to suite for SILC
8732           protocol.
8733
8734 Mon May 28 19:05:22 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8735
8736         * Added Makefile.defines[.in] that should for now on be included
8737           in all Makefile.am file in the source tree.  That file includes
8738           all common compilation definitions for SILC source tree.
8739
8740 Mon May 28 10:30:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8741
8742         * Minor changes to the ./prepare script to change the package
8743           name according the distribution name to the configure.in.
8744
8745 Sun May 27 22:24:57 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8746
8747         * Created new distribution system.  Added file `distributions'
8748           that defines all the distributions that can be created out of
8749           the SILC source tree.  The ./prepare script now reads that
8750           file to determine how to prepare the distributions.  The
8751           first argument to the ./prepare is the name of the distribution
8752           and second is the version of the distribution.  If given
8753           without arguments it creates the default (toolkit) distribution
8754           with the default version (defined in ./prepare).
8755
8756           All Makefile.am files that are subject to the distributions
8757           are now named as Makefile.am.pre.  These are ./Makefile.am
8758           and lib/Makefile.am.  Others may be changed later.
8759
8760 Sun May 27 15:57:17 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8761
8762         * Added invite list, ban list, some key management and connection
8763           error message printing to module formats in the Irssi SILC client.
8764
8765         * Added new silc_client_set_away_message to set the away message
8766           that is back to the person who sent private message.  The
8767           affected file lib/silcclient/silcapi.h and the
8768           lib/silcclient/client_prvmsg.c.
8769
8770 Sun May 27 12:39:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8771
8772         * Fixed the private message sending in the Irssi SILC client,
8773           added local command KEY to the Irssi SILC client.
8774
8775           Added key management and key agreement message formats to the
8776           irssi/src/fe-common/silc/module-formats.[ch].
8777
8778           Added USERS (alias WHO) printing, server/router operator
8779           indication and LIST command printing to the module formats.
8780
8781 Sat May 26 17:43:42 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8782
8783         * Fixed channel joining notify handling, cumode notify handling
8784           from Irssi SILC client.
8785
8786         * Added SILC specific module-formats to the Irssi SILC client so
8787           that SILC specific message hilighting, colors etc is possible.
8788           Affected file irssi/src/fe-common/silc/module-formats.[ch].
8789
8790           Added channel mode, channel user mode, actions, notices,
8791           whois and whowas printing to the the module-formats.c.
8792
8793         * Fixed a bug in channel deletion in the server.  The channel
8794           is not left to the cache even if the channel founder auth mode
8795           is set when there are no users anymore on the channel.  Affected
8796           file silcd/server.c.
8797
8798         * The silc_net_localhost now resolves the entire hostname including
8799           the domain name.  Affected file lib/silcutil/silcnet.c.
8800
8801 Sat May 26 12:13:37 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8802
8803         * Changed the ask_passphrase client operation to be ascynchronous.
8804           It has now a completion callback and a context that the
8805           application must call after it has got the passphrase from
8806           the user.  Affected files lib/silcclient/silcapi.h,
8807           lib/silcclient/protocol.c, lib/silcclient/command.c and
8808           silc/client_ops.c.
8809
8810           Added SilcAskPassphrase callback that the application calls
8811           to deliver the passphrase to the library.
8812
8813         * Changed the SKE protocol's SilcSKEVerifyCb to be asynchronous.
8814           The public key verification and especially a certificate
8815           verification is asynchronous procedure.
8816
8817           Added new SILC_SKE_STATUS_PENDING status to indicate the
8818           request is pending and a callback will be called to finalize
8819           the request.
8820
8821           Added also SILC_SKE_STATUS_PUBLIC_KEY_NOT_PROVIDED status to
8822           indicate that remote end did not send its public key (or
8823           certificate), even though we require it.  Added check for this
8824           condition in the SKE.  This was a security bug, now fixed.
8825
8826           Defined new SilcSKEVerifyCbCompletion callback that is called
8827           when the verification process is completed.
8828
8829           The affected files lib/silcske/silcske_status.h and
8830           lib/silcske/silcske.[ch].
8831
8832         * Changed the verify_public_key client operation to be async
8833           as well.  Defined SilcVerifyPublicKey callback that is used to
8834           indicate the success of the public key verification process.
8835
8836           Changed the server and client to use the new async client
8837           operations.
8838
8839         * Changed the Irssi SILC client's internal scheduler to be called
8840           twice as many times as it used to be.  As a result the client
8841           should be a bit faster now.  Affected file is
8842           irssi/src/silc/core/silc-core.c.
8843
8844         * Added support to Irssi SILC client of asynchronous public key
8845           verification and passphrase inquiry.  Affected file is
8846           irssi/src/silc/core/silc-core.c.
8847
8848 Fri May 25 14:38:38 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8849
8850         * Do not say "You have left channel %s" in client library.
8851           Moved it to the application.  Affected files are
8852           lib/silcclient/command.c and silc/client_ops.c.
8853
8854         * Fixed silc_client_get_clients.  Command context was not
8855           duplicated and was freed memory in the callback.  Affected
8856           file lib/silcclient/idlist.c.
8857
8858         * Do not say "you are now talking..." on JOIN command in the
8859           client library.  The appliation must handle it.
8860
8861         * Do not say ".. changed topic to" in command reply in the
8862           client libary.  The application must handle it.
8863
8864         * Fixed TOPIC command sending in the client library.
8865
8866         * Fixed a memory leak in silc_client_command_free in the file
8867           lib/silcclient/command.c.
8868
8869 Thu May 24 19:08:55 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8870
8871         * Imported a modified version of Irssi client to the source tree.
8872           The Irssi will be used to create a new client called
8873           Irssi SILC.  Imported to irssi/.
8874
8875           Added silc_core_init_finish function to the Irssi.  Affected
8876           file irssi/configure.in.
8877
8878           A lot changes in the Makefile.ams around the irssi tree.
8879
8880 Tue May 22 22:23:49 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8881
8882         * Do not rehash if the new size is same as the old size of the
8883           hash table, in the silc_hash_table_rehash*.  The affected file
8884           lib/silcutil/silchashtable.c.
8885
8886         * Replaced hash_table_del_by_context calls from the server
8887           (when channel->user_list and client->channels) to the
8888           hash_table_del as it is sufficient and faster.
8889
8890 Tue May 22 17:27:16 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8891
8892         * Added silc_hash_table_list, silc_hash_table_get and the
8893           SilcHashTableList structure to provide an alternative way to
8894           traverse the hash table.  The affected files are
8895           lib/silcutil/silchashtable.[ch].
8896
8897         * Changed the server's idlist routines to use the hash table
8898           routines to optimize the code.
8899
8900 Mon May 21 21:46:20 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8901
8902         * Replaced the client entry's `channel' list and channel entry's
8903           `user_list' list to hash tables for optimized lookup.  Changed
8904           the code to use the hash table interface around the code.
8905           Affected file lib/silcd/idlist.[ch].
8906
8907         * Added `auto_rehash' boolean argument to the function
8908           silc_hash_table_alloc to indicate whether the hash table should
8909           auto-rehash when it thinks is appropriate time.  It will
8910           increase the hash table size if the there is twice as much
8911           entries in the table than the size of the table, and will
8912           decrease the size if there are twice as less entries than
8913           the size of the table.
8914
8915 Mon May 21 09:51:11 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8916
8917         * Fixed silc_xxx_get_supported to not crash at some circumstances.
8918
8919 Sun May 20 13:45:58 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8920
8921         * silc_idcache_purge_by_context deletes the entry now by context
8922           as it is supposed to do.  Affected file lib/silccore/idcache.c.
8923
8924         * Send the ERR_NO_SUCH_NICK in the WHOIS command reply if the
8925           client is not anymore valid (WHOWAS givens the info) and not
8926           the ERR_NO_SUCH_CLIENT_ID if the nickname still exists.
8927
8928 Sat May 19 16:30:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8929
8930         * Removed the `data' and `data_len' arguments from the ID Cache
8931           interfaces and added `name' argument.  ID Cache does not handle
8932           anymore the binary data only a names associated with given ID.
8933
8934         * When hashing a Client ID with silc_hash_id the entire ID is
8935           not hashed anymore, instead only the hash of the Client ID is
8936           hashed.  This way we can access the Client ID from the cache
8937           with Client ID but with the hash of the ID (which is a hash of
8938           the nickname) as well without any difference in performance.
8939
8940           Added also silc_idcache_find_by_id_one_ext to do one on one
8941           searching when we have the actual ID.  Added also function
8942           silc_hash_client_id_compare.  The affected files are
8943           lib/silccore/idcache.[ch] and lib/silcutil/silcutil.[ch].
8944
8945         * When hashing the name associated with a ID it is always done
8946           in lowercase.  This way we can access the cache without worrying
8947           about case-sensitivity, even though, for example nicknames are
8948           case sensitive.
8949
8950         * Fixed a bug in server with channel message sending.  It put
8951           wrong ID type as destination ID.  The affected file
8952           silcd/packet_send.c.
8953
8954         * silc_idcache_del_by_context now deletes from all hash tables
8955           by context.  Affected file lib/silccore/idcache.c.
8956
8957 Fri May 18 17:42:00 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8958
8959         * Changed the client library to use the new ID Cache interface.
8960           Changes around the source tree.
8961
8962         * Added silc_hash_table_rehash_ext to rehash with specific
8963           hash function.  Affected file lib/silcutil/silchashtable.[ch].
8964
8965         * Added silc_hash_string_compare to compare two strings in the
8966           hash table.  Affected file lib/silcutil/silcutil.[ch].
8967
8968 Fri May 18 11:18:45 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8969
8970         * Added new function silc_idcache_del_by_context into the
8971           lib/silccore/idcache.[ch].
8972
8973         * Changed the server's ID list routines to use the new ID Cache
8974           interface.  Changes around the source tree.
8975
8976 Fri May 18 08:35:31 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8977
8978         * Added silc_hash_table_del[_by_context]_ext functions in to the
8979           lib/silcutil/silchashtable.[ch].
8980
8981           Removed silc_hash_table_find_all* routines and added new
8982           silc_hash_table_find_foreach to replace them.
8983
8984           Added silc_hash_table_replace_ext function as extended
8985           replacing function.  Separated the simple hash table interface
8986           from the extended hash table interface in the file
8987           lib/silcutil/silchashtable.h.
8988
8989         * Fixed minor bugs and changed it to use some of the new
8990           hash table functions in lib/silccore/idcache.c
8991
8992 Thu May 17 18:15:12 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8993
8994         * Added new function silc_hash_table_find_all to return all keys
8995           in the hash table by the specified key.  As the hash table is
8996           collision resistant it also makes it possible to have several
8997           duplicate keys in the hash table.  This function may be used to
8998           find all of the keys from the hash.
8999
9000           Added user_context arguments to the SilcHashFunction,
9001           SilcHashCompare and SilcHashDestructor to deliver user specified
9002           context.
9003
9004           Added new fuctions silc_hash_table_find[_all]_ext to do
9005           extended lookup with specified hash and compare functions and
9006           specified user contexts.
9007
9008           Added new function silc_hash_table_add_ext to add the key
9009           with specified hash function and user context.
9010
9011           Added new function silc_hash_table_foreach to traverse all
9012           entrys in the hash table.  Added SilcHashForeach callback
9013           function.
9014
9015           Added new function silc_hash_table_del_by_context to delete
9016           the entry only if the context associated with the key matches.
9017
9018           Affected files are lib/silcutil/silchashtable.[ch].
9019
9020         * Removed silc_hash_[server/client/channel]_id and added just
9021           silc_hash_id to the lib/silcutil/silcutil.[ch].  Added also
9022           silc_hash_id_compare to compare two ID's using as the hash table
9023           comparison function.  Added also silc_hash_data to hash
9024           binary data and silc_hash_data_compare to compare it.
9025
9026         * Removed silc_idlist_find_client_by_hash as it is not needed
9027           anymore.  Affected file silcd/idlist.[ch].
9028
9029         * Rewrote the entire ID Cache system (in lib/silccore/idcache.[ch])
9030           to use internally the SilcHashTable.  The new ID Cache is a lot
9031           faster than the old one.  Some of the ID Cache interface was also
9032           rewritten and obsolete and stupid functions were removed.
9033
9034 Wed May 16 23:03:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9035
9036         * Added entry_count field to the SilcHashTable to keep the number
9037           of the entries in the table.  Implemented the function
9038           silc_hash_table_rehash.  Added new function
9039           silc_hash_table_count.  Affected file lib/silcutil/silchashtable.c.
9040
9041           Fixed a minor bug in silc_hash_table_free.
9042
9043         * Added silc_hash_string, silc_hash_uint, silc_hash_ptr,
9044           silc_hash_client_id, silc_hash_server_id and silc_hash_channel_id
9045           into the lib/silcutil/silcutil.[ch].
9046
9047 Wed May 16 20:02:47 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9048
9049         * Implemented a collision resistant hash table into the
9050           lib/silcutil/silchashtable[ch].  See the header and the source
9051           for the SilcHashTable API.
9052
9053 Tue May 15 22:05:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9054
9055         * Merged dotconf version 1.0.2 into lib/dotconf.
9056
9057 Sun May 13 19:32:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9058
9059         * Do not compile anything in lib/silcsim/* if the SIM support
9060           is not enabled.  The tree should now compile without problems
9061           under cygwin.
9062
9063 Thu May 10 22:49:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9064
9065         * Compiled the SILC under cygwin.  Compiled and tested briefly
9066           without problems.  More tests needed.  The SIMs didn't compile
9067           though.
9068
9069         * Added various #ifdef HAVE_* stuff to lib/silccrypt/silrng.c.
9070
9071         * Fixed possible crash in silc_get_username in the
9072           lib/silcutil/silcutil.c.
9073
9074 Tue May  8 09:04:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9075
9076         * Fixed a va_arg in silc/client_ops.c.
9077
9078         * Oops, RC5 routines were named AES and caused some problems
9079           when not using SIM's.  Affected file lib/silccrypt/rc5.c.
9080
9081 Sun May  6 13:59:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9082
9083         * Added new SilcIDIP structure into the lib/silccore/id.h and
9084           replaced the old `ip' fields from all SILC ID's to that type.
9085           This is a step towards IPv6 support.
9086
9087           The silc_id_get_len takes now the ID as an extra argument.
9088           The silc_id_id2str, silc_id_str2id and silc_id_dup now supports
9089           both IPv4 and IPv6 based ID's.
9090
9091           The affected files are lib/silccore/id.[ch] and other files
9092           around the tree using these routines.
9093
9094         * Removed the ID length arguments in server from various
9095           silc_server_send_notify_* routines -> they are not needed
9096           anymore.
9097
9098 Sat May  5 13:56:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9099
9100         * Fixed memory leak in silc_encode_pem_file in the file
9101           lib/silcutil/silcutil.c.
9102
9103 Thu May  3 21:23:50 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9104
9105         * Check minor version as well in the SKE.  Affected files are
9106           silcd/protocol.c and lib/silcclient/protocol.c.
9107
9108         * Added --identifier option to the server so that an identifier
9109           can be when creating the public key for the server.  Affected
9110           file is silcd/silcd.c.
9111
9112         * Fixed minor decoding bug in silc_pkcs_decode_identifier in
9113           lib/silccrypt/silcpkcs.c.
9114
9115 Wed May  2 20:50:49 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9116
9117         * Register default ciphers and stuff when using -C option with
9118           the server.  Affected file sildc/silcd.c.
9119
9120         * Put back the servers public key filename format, it is better
9121           than the new one.  For now, the client keys are saved with the
9122           new filename format.  The affected file silc/client_ops.c.
9123
9124         * Implemented the Cipher API for the rest of the ciphers that
9125           did not implement it or implemented it the wrong way.
9126
9127 Wed May  2 13:31:26 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9128
9129         * Register default ciphers and stuff when using the -S option
9130           in the client.  Affected file silc/silc.c.  Same also when
9131           creating new key pair with -C option.
9132
9133 Tue May  1 14:18:13 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9134
9135         * Fixed the silc_verify_public_key client operation function to
9136           save the public keys differently.  The fingerprint is now
9137           used as filename and not the hostname.  This way also the
9138           client keys are saved uniquely and not with hostnames.  The
9139           affected file is silc/client_ops.c.
9140
9141         * Trimmed the silc_hash_fingerprint function to remove extra
9142           whitespaces from the end of the fingerprint.  The affected
9143           file is lib/silccrypt/silchash.c.
9144
9145         * Updated TODO.
9146
9147         * Added silc_cipher_register_default function to register all
9148           default ciphers.  It can be used when configuration files
9149           does not exist and the application does not want any specific
9150           ciphers in any specific order.
9151
9152           The SilcDList is now used as silc_cipher_list dynamically
9153           allocated cipher list.  Removed the static list all together
9154           and now all ciphers must be allocated to the dynamic list.
9155           The silc_cipher_alloc routine was changed to check only the
9156           dynamic list.
9157
9158           All silc_cipher_* routines that used to return int returns
9159           now bool.
9160
9161           The affected files lib/silccrypt/silccrypt.[ch].
9162
9163         * The same thing was done to silc_hash_* as for silc_cipher_*
9164           routines.  Affected files lib/silccrypt/silchash.[ch].
9165
9166         * The same thing was done to silc_pkcs_* as for silc_cipher_*
9167           routines.  Affected files lib/silccrypt/silcpkcs.[ch].
9168           Added also silc_pkcs_[un]register[_default] functions.
9169           Removed the data_context from the PKCS API.
9170
9171         * Added silc_hmac_register_default function to register default
9172           hmacs.  Affected files lib/silccrypt/silchmac.[ch].  Added also
9173           SILC_ALL_HMACS macro that can be used with silc_hmac_unregister
9174           to unregister all hmacs at once.
9175
9176         * Register the default ciphers, hash functions, PKCSs and HMACs
9177           if client's configuration file does not exist.  The affected
9178           file silc/silc.c.
9179
9180         * The client did not load the hash functions from the SIM
9181           modules at all.  Added support for this.  Affected file is
9182           silc/clientconfig.c.
9183
9184         * When decoding public key with silc_pkcs_public_key_decode, check
9185           the supported algorithm only if PKCS are registered.  Affected
9186           file lib/silccrypt/silcpkcs.c.  The same was done with the
9187           silc_pkcs_private_key_decode.
9188
9189         * Fixed the SILC List routines to keep the list always in order.
9190           It used to change the list's order when traversing the list but
9191           not it preserves the order.  Affected file lib/trq/silclist.h.
9192
9193 Mon Apr 30 17:29:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9194
9195         * Added the client library to use the SilcSocketConnection's
9196           reference counter (by silc_socket_dup) to prevent the bug that
9197           the socket object may be freed underneath async operation.
9198
9199         * The name resolv library checking fixes in the configure.in.pre.
9200           The patch by salo.
9201
9202         * Created new version of the protocol drafts for future
9203           development. The -03 drafts are the ones that will be changed
9204           in the trunk now and the -02 will remain as they are.
9205
9206         * Send list of CUMODE notifys to the router when announcing
9207           the channel users to the router.  Affected file silcd/server.c.
9208           If the router receiving channel founder CUMODE for a channel
9209           that already has channel founder it will send CUMODE notify
9210           to the sender to remove the channel founder rights from the
9211           announced client.  Affected file silcd/packet_receive.c.
9212
9213         * The CUMODE notify may now use Server ID as well as the entity
9214           who changes the mode.  Updated protocool specs.
9215
9216         * Updated INSTALL and README files.
9217
9218 Sun Apr 29 23:17:50 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9219
9220         * New web pages in the http://silc.pspt.fi.  The pages was
9221           designed by salo.
9222
9223         * Updated CREDITS.
9224
9225 Sun Apr 29 13:33:41 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9226
9227         * Implemented the [DenyConnectin] config section in the server.
9228           Added silc_server_config_denied_conn to check whether incoming
9229           connection is denied.  Affected file silcd/serverconfig.[ch].
9230
9231         * Do not check the ports when checking the incoming configuration
9232           data if the port is 0, meaning any.  Affected file is
9233           silcd/serverconfig.c.
9234
9235 Fri Apr 20 18:58:43 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9236
9237         * Fixed buffer overflow in silc_string_compare in the file
9238           lib/silcutil/silcutil.c.
9239
9240         * Fixed double free in silc_server_command_leave in the file
9241           silcd/command.c.
9242
9243 Fri Apr 20 14:00:11 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9244
9245         * Fixed the version checking in the server.  Affected file is
9246           silcd/protocol.c.
9247
9248 Thu Apr 19 19:52:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9249
9250         * Fixed the configuration data fetching when accepting new
9251           connections in the server.  Affected file silcd/server.c.
9252
9253 Thu Apr 19 11:40:20 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9254
9255         * Added `sender_entry' argument to the function
9256           silc_server_packet_relay_to_channel so that we can check
9257           whether some destination actually belongs to the same route
9258           the sender belongs (ie, we must not resend the packet to the
9259           sender).  Affected file silcd/packet_send.[ch].
9260
9261         * Added `servername' field to the SilcClientEntry in the server
9262           to hold the name of the server where client is from.  Affected
9263           file is silcd/idlist.h.
9264
9265 Wed Apr 18 22:19:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9266
9267         * Moved the channel message encrypting in the router betwen
9268           router connections from silc_server_channel_message to the
9269           silc_server_packet_relay_to_channel since we want to check
9270           whether we have anybody channel before encrypting anything.
9271           Affected files silcd/packet_[receive/send].c.
9272
9273 Tue Apr 17 21:18:19 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9274
9275         * Fixed the [AdminConnection] server config section to support
9276           multiple entries.  Affected file silcd/serverconfig.c.
9277
9278         * Added support into the server to check the validity of the
9279           incoming connection before executing any KE or authentication
9280           protocols.
9281
9282         * The connection configuration is now saved to the KE and
9283           connection auth protocol contexts and not fetched anymore in
9284           the protocol.  Affected files silcd/server.c, silcd/protocol.[ch].
9285
9286         * The local hosts listenning address and port is also resolved
9287           now when starting the server.  We want to have the socket object
9288           to include the real address and port for the listener.  Added
9289           new function silc_net_check_local_by_sock into the files
9290           lib/silcutil/silcnet.[ch].
9291
9292         * Fixed a broadcast bug in server -> do not broadcast if we
9293           are standalone.
9294
9295         * Fixed a routing bug.  Do not route broadcast packets ever.
9296           Broadcast packets must be processed always and not routed since
9297           they may be destined to some other host than yourself and thus
9298           would get routed without no good reason.  Affected file is
9299           silcd/server.c.
9300
9301         * Added function silc_server_config_is_primary_route to check
9302           whether primary router connection has been configured (a router
9303           configuration that we are initiating).  If there is not, we
9304           will assume that there is only two routers in the SILC network
9305           and we will use the incoming router connection as our primary
9306           route.  Affected files silcd/serverconfig.[ch], silcd/server.c.
9307
9308         * Changed the order of the broadcasting.  Broadcast _after_ the
9309           packet has been processed not before.  Affected file is
9310           silcd/server.c.
9311
9312         * Fixed a [ClientConnection] parsing bug.  The port was never
9313           parsed correctly thus resulting to port 0.  Affected file
9314           silcd/serverconfig.c.
9315
9316         * Fixed silc_server_send_notify_args -> it ignored the `broadcast'
9317           argument and did not set the broadcast packet flag.  Affected
9318           file silcd/packet_send.c.  Fixed same bug in the function
9319           silc_server_send_notify as well.
9320
9321         * If we receive NEW_ID packet for our own ID in the server, ignore
9322           the packet.
9323
9324 Mon Apr 16 12:10:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9325
9326         * Updated TODO.
9327
9328         * Removed the nickname from the Private Message Payload.
9329           Updated the code and the protocol specs.
9330
9331         * Updated protocol specs for submitting to the IETF.
9332
9333         * Tweaked the Random Number Generator a bit.  Affected file
9334           lib/silccrypt/silcrng.c.  Exported a new function
9335           silc_rng_[global]_add_noise which can be used to add more
9336           noise to the RNG.
9337
9338 Sat Apr 14 16:21:32 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9339
9340         * Do not parse packets with different timeout when protocol
9341           is active -> may cause problem with rekey.  Affected file
9342           silcd/server.c.
9343
9344         * When server receives signoff notify it must not create
9345           new channel key if the client is on any channels since the
9346           sender of the signoff notify will create it.
9347
9348 Fri Apr 13 17:12:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9349
9350         * Added printing of error messages during SKE protocol from the
9351           failure packet sent by server during SKE.  Affected file
9352           silc/client_ops.c.
9353
9354         * Removed the client's failure_callback handling with timeout
9355           and handle it immediately when received.
9356
9357         * The SKE library returned wrong type in SUCCESS and FAILURE
9358           packets.  They must be 32 bit MSB not 16 bit MSB.
9359
9360 Fri Apr 13 00:09:08 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9361
9362         * Ok, rewrote the logic of the re-key and now it seems to work.
9363           I tested it on high traffic with frequent re-keys without
9364           problems.  Added hmac_receive (and renamed hmac to hmac_send)
9365           in SilcClientConnection in lib/silcclient/client.h and
9366           in SilcIDListData in silcd/idlist.h.  Also, removed the
9367           SilcPacketParserContext's cipher and hmac fields as they are
9368           not needed anymore and actually caused some problems when
9369           the ciphers and hmac's changed underneath the packet parser.
9370
9371 Thu Apr 12 14:42:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9372
9373         * If re-key protocol is active then process the incoming packets
9374           synchronously since we must assure that icoming packets encrypted
9375           with the old key is processed before the new keys is set to
9376           use.  This is true other packets than for REKEY packets.
9377           Affected file silcd/server.c.  The same was done to client library
9378           as well, affected file lib/silcclient/client.c.
9379
9380 Thu Apr 12 12:01:52 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9381
9382         * Fixed bug in client and server to accept the force send if
9383           the packet is send from silc_[server/client]_packet_process
9384           function.  Otherwise the packets are never delivered, oops.
9385
9386 Wed Apr 11 22:10:15 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9387
9388         * Disable force sending of packets when REKEY protocol is active.
9389           We must assure that no packet is sent directly when rekey is
9390           performed.  All packets must be sent through packet queue.
9391           Added macro SILC_SERVER_IS_REKEY to silcd/server.h and
9392           SILC_CLIENT_IS_REKEY to lib/silcclient/client.h.  Affected
9393           function is silc_[server/client]_packet_send_real to check
9394           the situation.
9395
9396         * Replaced the SIM paths from example config files to
9397           /usr/local/modules.  Also, make install creates now
9398           /usr/local/silc/logs directory to hold all the SILC server
9399           logs.
9400
9401 Wed Apr 11 16:59:59 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9402
9403         * Made the configure.in.pre work on Solaris.  Patch by salo.
9404
9405         * Made all ciphers compatible with non-x86 machines.  Defined
9406           CBC mode macros into lib/silccrypt/ciphers_def.h.
9407
9408 Tue Apr 10 20:32:44 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9409
9410         * Fixed the make install.
9411
9412 Tue Apr 10 16:20:34 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9413
9414         * When MAC computation fails the silc_packet_decrypt returned 0
9415           even though it was supposed to return -1.  Fixed this.  The
9416           affected file is lib/silccore/silcpacket.c.
9417
9418         * Do not replace the config files in /etc/silc (in make install)
9419           if they already exist.  Affected file ./Makefile.am.
9420
9421         * Do not send re-key packets immediately but through packet queue.
9422           Affected file silcd/protocol.c and lib/silcclient/protocol.c.
9423
9424         * Changed silc_net_check_host_by_sock to return FALSE if the
9425           IP/DNS could not be resolved.  Though, it returns the IP address
9426           now even if it could not resolve it (but returns also FALSE).
9427           Affected file lib/silcutil/silcnet.[ch].
9428
9429 Mon Apr  9 21:54:44 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9430
9431         * Added silc_pkcs_decode_identifier to decode the public key's
9432           identifier.  Affected file lib/silccrypt/silpkcs.[ch].
9433           Added also silc_pkcs_free_identifier.  Added also new context
9434           SilcPublicKeyIdentifier.
9435
9436         * Added -S option to the silc client.  It is used to dump the
9437           contents of the specified public key file.
9438
9439         * Changed the PKCS api to return the public key length when
9440           setting the public key.
9441
9442         * Fixed a fatal bug in the public and private key file loading.
9443           Affected file lib/silccrypt/silcpkcs.c.
9444
9445         * Execute the packet parsing for client with zero (0) timeout
9446           if the protocol is active.  Affected file silcd/server.c.
9447
9448 Sun Apr  8 19:30:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9449
9450         * Made the key generation options to the silcd program.  Added
9451           -C option, equivalent to client's option.
9452
9453         * Added new [ServerKeys] config section to the server.  It
9454           configures the server's public and private key.
9455
9456         * Defined generic Public Key Payload into the protocol
9457           specification to send specific type of public keys and
9458           certificates.
9459
9460         * Defined new command SILC_COMMAND_GETKEY to fetch a client's
9461           public key or certificate.
9462
9463         * Implemented the GETKEY command to the server and to the
9464           client library and on user interface.
9465
9466 Sun Apr  8 01:37:21 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9467
9468         * Made preliminary `make install' work.
9469
9470 Thu Apr  5 17:42:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9471
9472         * Added SilcServerRekey context into silcd/idlist.h.
9473
9474         * Added the PFS support as defined in the specification to the
9475           SKE protocol.  Affected files lib/silcske/*.c.
9476
9477         * Added `ske_group' field to the SilcServerRekey context to hold
9478           the number of the SKE group that is used with PFS in re-key.
9479           Affected file silcd/idlist.h.
9480
9481         * Added PFS re-key support to the server.  Affected file is
9482           silcd/protocol.c.
9483
9484         * Added silc_protocol_cancel to cancel execution of the next
9485           state of the protocol.  Affected file is
9486           lib/silccore/silcprotocol.[ch].
9487
9488         * Added the re-key support with and without PFS to the client
9489           library.  Re-key is performed once in an hour, by default.
9490
9491           Added new protocol type SILC_PROTOCOL_CLIENT_REKEY.
9492           Added silc_client_rekey_callback and silc_client_rekey_final.
9493           Affected files are lib/silcclient/protocol.[ch] and
9494           lib/silcclient/client.[ch].
9495
9496         * Removed the `hmac_key' and `hmac_key_len' fields from the
9497           SilcClientConnection structure; not needed.  Affected file is
9498           lib/silcclient/client.h.
9499
9500         * Updated TODO.
9501
9502 Wed Apr  4 16:32:31 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9503
9504         * Do not ask whether user wants to use the negotiated private key
9505           for private messages, just use it.  Affected file is
9506           silc/local_command.c.
9507
9508         * Added `send_enc_key' and `enc_key_len' fields to the
9509           SilcIDListData structure since they are needed in the re-key
9510           phase.  Affected file is silcd/idlist.[ch].
9511
9512         * Implemented the simple re-key protocol into the server.
9513           Affected files silcd/server.c and silcd/protocol.[ch].  The
9514           re-key will be performed once in an hour, by default.
9515
9516           Added new protocol type SILC_PROTOCOL_SERVER_REKEY.
9517           Added silc_server_rekey, silc_server_rekey_callback and
9518           silc_server_rekey_final.
9519
9520         * Removed Tunneled flag from the protocol.  Updated the code
9521           and the specifications.
9522
9523         * Adde `pfs' field to the SilcIDListData to indicate whether
9524           the PFS is to be performed in the re-key.  Affected file is
9525           silcd/idlist.h.
9526
9527 Tue Apr  3 21:52:42 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9528
9529         * Defined uint8, int8, uint16, int16, uint32, int32, uint64 and
9530           int64 of at least the xintXX size.  If void * is less that 4
9531           bytes uint32 * will be used.  Defined bool as boolean.
9532
9533         * Changed _ALL_ unsigned long and unsigned int to uint32,
9534           unsgined short to uint16 in the source tree.
9535
9536         * Fixed a fatal bug in silc_server_remove_clients_by_server.  Do
9537           not handle clients that has entry->data.registered == FALSE.
9538           They are not in the network anymore.  Affected file is
9539           silcd/server.c.
9540
9541 Tue Apr  3 16:39:19 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9542
9543         * Implemented the sending of the SERVER_SIGNOFF notify in the
9544           server.  Affected file is silcd/server.c.
9545
9546         * Added silc_server_send_notify_args into silcd/packet_send.[ch].
9547           Added also silc_notify_payload_encode_args into the
9548           lib/silccore/silcnotify.[ch].
9549
9550         * Implemented ther SERVER_SIGNOFF notify handling in the server.
9551           Affected file silcd/packet_receive.c.
9552
9553         * Implemented the SERVER_SIGNOFF notify handling in the client
9554           library.  Affected file lib/silcclient/client_notify.c.  Also,
9555           implemnted the printing of the SERVER_SIGNOFF info to the
9556           application.  Affected file silc/client_ops.c.
9557
9558         * The silc_idlist_del_server now returns TRUE or FALSE to indicate
9559           if the deleting was successful.  Affected file silcd/idlist.[ch].
9560
9561         * Added support for public key authentication in the connection
9562           authentication protocol in the client library.  Affected file
9563           lib/silcclient/protocol.c.
9564
9565         * Changed the server's silc_idlist_get_clients_by_* interface
9566           to support already allocated array so that new entries may be
9567           added to pre-allocated array.  Affected file silcd/idlist.[ch].
9568           This fixes some bugs with WHOIS, WHOWAS and IDENTIFY commands
9569           and command replies.
9570
9571         * All command reply functions in the server now calls the
9572           pending command callback even if error occured.  This way the
9573           error will be delivered to the client as well.  Affected files
9574           silcd/command.c and silcd/command_reply.c.
9575
9576         * Fixed INFO command to return local server's info if no server
9577           was provided.  Affected file lib/silcclient/command.c.
9578
9579         * Removed RESTART command for good.  Updated the code and the
9580           protocol specs.
9581
9582         * Rewrote parts of the task system.  It is a bit simpler now.
9583           Removed unsued task priorities. The affected files are
9584           lib/silcutil/silctask.[ch].
9585
9586 Mon Apr  2 20:02:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9587
9588         * Moved the USERS printing from the library to the application.
9589           Affected files lib/silcclient/command.c and silc/client_ops.c.
9590
9591 Mon Apr  2 13:13:23 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9592
9593         * Updated TODO.
9594
9595         * Added channel key re-key support.  The re-key is perfomed
9596           only by the router and is done once in an hour.  Added `rekey'
9597           field to the SilcChannelEntry in the server.  Affected files
9598           silcd/server.c and silcd/idlist.h.
9599
9600         * Added silc_task_unregister_by_context into the file
9601           lib/silcutil/silctask.[ch].
9602
9603 Sun Apr  1 19:49:34 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9604
9605         * Added SILC_UMODE_GONE mode to indicate when the client is not
9606           present in the SILC network.  Added also support to the local
9607           command AWAY that will set this mode.  Added support of showing
9608           "xxx is gone" in WHOIS command.  The USERS command shows the
9609           gone status as well.
9610
9611         * Fixed setting server and router operator privileges in the
9612           server's UMODE command.  Affected file silcd/command.c.
9613
9614         * Merged the SKE KE1 and KE2 payloads into one payload.  The
9615           new KE payload is equivalent to the old KE2 payload.
9616
9617           Cleaned up the SKE Start Payload parsing.  It now uses the
9618           simple buffer unformatting to do the parsing.  A lot faster
9619           now.
9620
9621           Added new Mutual Authentication flag (SILC_SKE_SP_FLAG_MUTUAL)
9622           to the SKE that is used to indicate whether both of the SKE
9623           parties should perform authentication.  By default only the
9624           responder performs authentication.  By setting this flag also
9625           the initiator must do authentication.  By default it is unset
9626           since in normal SKE case, client to server connection, only
9627           the responder should do authentication.  When doing SKE between
9628           two clients both should perform authentication.  Updated the
9629           code and the protocol specs.
9630
9631         * A little fix to IDENTIFY command in the server.  Search the
9632           client first by hash not nickname.  Affected file is
9633           silcd/command.c.
9634
9635         * Fixed the silc_client_close_connection to support closing
9636           the client to client connections wihtout deleting too much
9637           data.  Affected file lib/silcclient/client.c.
9638
9639         * Fixed a fatal bug in server and client; if KE1 or KE2 packets
9640           are received if protocol used to be active but is not anymore
9641           the application would crash due to NULL pointer dereference.
9642           Affected files silcd/server.c and lib/silcclient/client.c.
9643
9644         * Added `hash' field to the SilcClientConnection to include
9645           the hash function negotiated in the SKE protocol.
9646
9647         * Added new channel mode SILC_CMODE_FOUNDER_AUTH that is used
9648           to set the channel founder authentication data.  A client can
9649           claim the founder rights later by providing the authentication
9650           data to the CUMODE command using SILC_CUMODE_FOUNDER mode.
9651           This way the channel founder can regain the channel founder
9652           privileges even it is left the channel.  This works only on
9653           local server and the client must be connected to the same
9654           server to be able to regain the founder rights.  Updated the
9655           protocol specs accordingly.
9656
9657           Added support to the CMODE command in the client to set the
9658           founder auth data.  Read the README to see how to set it.
9659
9660           Added support to the CUMODE command to claim the founder
9661           rights.  Read the README to see how to do it.
9662
9663           Added support for the founder authentication to the Channel
9664           Entry in the server.  Affected file silcd/idlist.h.
9665
9666           Added support for the SILC_CMODE_FOUNDER_AUTH mode in the
9667           server's CMODE command.  Affected file silcd/command.c.
9668
9669         * Added the following new functions into lib/silccore/silcauth.[ch]:
9670           silc_auth_get_method and silc_auth_get_data.
9671
9672         * The server now saves the remote hosts public key to the
9673           SilcIDListData pointer.  Affected file silcd/protocol.c.
9674
9675         * The normal server now does not remove the channel entry from
9676           the cache if the founder authentication data is set.  It used
9677           to remove it if the founder was the last one on the channel on
9678           the server and left the channel.  The auth data is saved and
9679           if the channel is re-joined later the old entry is used with
9680           the old auth data.  Affected files silcd/command_reply.c and
9681           silcd/server.c.
9682
9683         * Removed the `pkcs' field from the SilcIDListData structure
9684           in the server; it is not used.  Affected file silcd/idlist.h.
9685
9686 Sat Mar 31 15:38:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9687
9688         * Fixed packet processing on slow links.  Partial packets were
9689           never re-processed because the incoming data buffer was cleared
9690           by the application.  Application must not directly clear the
9691           sock->inbuf, the packet processing routines handle it.  Fixed
9692           this in client library and in server.
9693
9694 Fri Mar 30 16:35:27 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9695
9696         * Fixed the WHOIS and IDENTIFY send reply function to really
9697           check whether to send list or just one entry.  Affected file
9698           silcd/command.c.
9699
9700         * Cleaned up the LEAVE command's channel key distribution.  The
9701           affected file silcd/command.c.
9702
9703         * Changed CMODE_CHANGE's <Client ID> to <ID Payload> as server
9704           can enforce the channel mode as well.  In that case the ID
9705           includes the ID of the server.  The code now enforces the
9706           mode change if the router have different mode than the server.
9707
9708         * The notify client operation with CMODE_CHANGE notify can now
9709           return NULL client_entry pointer if the CMODE was not changed
9710           by client.  Application must check for this.
9711
9712         * Added <Server ID> argument to INFO command to support server
9713           info fetching by Server ID.
9714
9715         * Added silc_server_announce_get_channel_users to get assembled
9716           packets of channel users of the specified channel.  Affected
9717           file silcd/server.[ch].
9718
9719         * Fixed bug in CHANNEL_CHANGE notify in the server.  The new ID
9720           was freed underneath the ID Cache.
9721
9722         * Re-announce clients when the server received CHANNEL_CHANGE
9723           notify from the router.  Affected file silcd/packet_send.c.
9724
9725 Thu Mar 29 19:10:28 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9726
9727         * Fixed a fatal bug when client does /join 1 2 3 4 5 6 the server
9728           crashed since it did not handle the fact that there is no cipher
9729           called "3" and didn't check the error condition.  Now fixed.
9730
9731         * Added SILC_MESSAGE_FLAG_REQUEST message flag as generic request
9732           flag.  It can be used to send message requests.
9733
9734 Thu Mar 29 12:26:25 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9735
9736         * Implemented the RESTART command in the client.
9737
9738         * Added SILC_MESSAGE_FLAG_NOTICE message flag for informational
9739           notice type messages.  Added notice printing to the user
9740           interface.
9741
9742         * The channel keys are not re-generated if the channel's mode
9743           is PRIVKEY, ie private key on the channel exists.  Affected
9744           files silcd/server.c and silcd/command.c.
9745
9746         * Fixed a little bug in channel message delivery when channel
9747           private keys are set in the server.  Affected file is
9748           silcd/packet_send.c.
9749
9750         * Changed the setting on channel->on_channel = TRUE from the
9751           silc_client_save_channel_key to the JOIN command reply.  The
9752           key payload is not received if the private channel key is set.
9753           Affected file lib/silcclient/command_reply.c and the
9754           lib/silcclient/client_channel.c.
9755
9756         * When the CMODE_CHANGE notify is sent and the channel private
9757           key mode is removed the channel key must be re-generated in
9758           other cells as well.  Added this support for the router in the
9759           silcd/packet_receive.c.
9760
9761         * Added new local command NOTICE to send notice message on
9762           channel.  Affected file silc/local_command.[ch].
9763
9764 Wed Mar 28 23:55:54 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9765
9766         * Added new local command ME to the client.  It is used to send
9767           message to a channel with SILC_MESSAGE_FLAG_ACTION to indicate
9768           some action.  Affected file silc/local_command.[ch].
9769
9770         * Changed channel_message and private_message client operations
9771           to deliver the message flags to the application.  Added also
9772           the `flags' arguments to the silc_client_send_channel_message
9773           and silc_client_send_private_message functions.  Affected file
9774           silcapi.h.
9775
9776 Wed Mar 28 20:50:47 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9777
9778         * Redefined the Private Message Payload to support private message
9779           keys and to support the new private message flags.  Updated
9780           the protocol specs.  Flags makes it possible to have for example
9781           CTCP style messages.
9782
9783         * Added new type SilcPrivateMessagePayload and defined an API
9784           for it in the lib/silcclient/silcprivate.[ch].
9785
9786         * Tested private message private keys successfully.  Tested the
9787           private message key set, unset and list commands with the new
9788           KEY command.
9789
9790         * Redefined the Channel Message Payload to include the channel
9791           message flags (equal with private message flags) to support
9792           for example CTCP style messages.
9793
9794         * Defined some of the message (for channel and private message)
9795           flags.  Updated the protocol specs and added the flags to the
9796           lib/silccore/silcchannel.h.  The type is SilcMessageFlags.
9797
9798 Wed Mar 28 15:52:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9799
9800         * Added SilcKeyAgreementStatus type to the key agreement routines
9801           to indicate the current status and error if one occured.
9802           The status types are defined in the lib/silcclient/silcapi.h.
9803
9804         * Added new local command KEY that is used to set and unset private
9805           keys for channels, set and unset private keys for private messages
9806           with remote clients and to send key agreement requests and
9807           negotiate the key agreement protocol with remote client.  The
9808           key agreement is supported only to negotiate private message keys,
9809           it currently cannot be used to negotiate private keys for channels,
9810           as it is not convenient for that purpose.
9811
9812         * Fixed a minor pending callback setting bug in the function
9813           silc_client_get_client_by_id_resolve, now the function works.
9814           Affected file lib/silcclient/idlist.c.
9815
9816         * Added function silc_net_get_local_port to get local bound
9817           port by socket.  Added to lib/silcutil/silcnet.[ch].
9818
9819         * Added `sockets' and `sockets_count' fields to the SilcClient
9820           object.  They hold the sockets of the listenning sockets in
9821           the client.  Listenning sockets may be for example the key
9822           agreement server.  Affected file lib/silcclient/client.[ch].
9823           Added functions the silc_client_add_socket and the
9824           silc_client_del_socket.  They are exported to the application
9825           as well.
9826
9827         * Added ~./silc/clientkeys to support other client's public keys.
9828
9829         * Renamed verify_server_key client operation to verify_public_key
9830           and added one argument to indicate the type of the connection
9831           (server, client etc.).
9832
9833 Tue Mar 27 22:22:38 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9834
9835         * Added silc_server_connection_auth_request to handle the
9836           incoming CONNECTION_AUTH_REQUEST packet.  Affected file is
9837           silcd/packet_receive.[ch].
9838
9839         * Added silc_server_send_connection_auth_request into the
9840           silcd/packet_send.c to send the connection auth request packet.
9841
9842         * Cleaned up the silcd/protocol.c a bit and fixed some memory
9843           leaks.
9844
9845         * Fixed the public key authentication in responder side in the
9846           server.  The `auth_data' pointer includes the SilcPublicKey
9847           not the path to the public key.  Affected file silcd/protocol.c.
9848
9849         * Implemented the public key authentication in the initiator side
9850           in the server.  Affected file silcd/protocol.c.
9851
9852         * Removed the [RedirectClient] config section from the server
9853           configuration.  Is not needed and I don't want to implement it.
9854
9855 Tue Mar 27 12:49:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9856
9857         * Cleaned up the CMODE command in the server.  It now works
9858           correctly and supports all the modes defined in the protocol.
9859           Affected file is silcd/command.c.
9860
9861         * Added `hmac_name' field to the SilcChannelEntry in the server
9862           to hold the default HMAC of the channel.  It can be set when
9863           creating the channel (with JOIN command).  Affected files
9864           silcd/idlist.[ch].
9865
9866         * Added <cipher> and <hmac> argument to the CMODE_CHANGE notify
9867           type to indicate the change of the current cipher and hmac
9868           on the channel.  Client can safely ignore the <cipher> argument
9869           (if it chooses to do so) since the CHANNEL_KEY packet will
9870           force the channel key change anyway.  The <hmac> argument is
9871           important since the client is responsible of setting the new
9872           HMAC and the hmac key into use.
9873
9874         * Fixed the CMODE command in the client library as well.
9875
9876         * Tested CMODE command in router environment successfully.
9877
9878 Mon Mar 26 14:39:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9879
9880         * Show the version of the remote client (or server) when connecting
9881           to the server.  It is logged to the log file.  Affected file
9882           is silcd/protocol.c.
9883
9884         * Fixed the KILLED notify handling in the client library.  The
9885           client must be removed from all channels when receiving the
9886           KILLED notify.
9887
9888           Also, do not remove the client entry when giving the KILL
9889           command but when the KILLED notify is received.
9890
9891         * Removed silc_idlist_find_client_by_nickname from the server.
9892           Not needed anymore.  Affected files silcd/idlist.[ch].
9893
9894         * Implemented the CHANNEL_CHANGE notify type handling to the
9895           server.  Affected file silcd/server.c.
9896
9897         * Updated TODO.
9898
9899 Mon Mar 26 12:11:14 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9900
9901         * Added silc_server_send_notify_invite to send the INVITE
9902           notify between routers.
9903
9904         * Implemented the INVITE command correctly to the server.
9905
9906         * Implemented the INVITE notify type handling in the server.
9907
9908         * Implemented the INVITE command to the client library and on the
9909           user interface.
9910
9911 Sun Mar 25 20:27:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9912
9913         * Added function silc_server_get_client_resolve to find the
9914           client entry by ID from all ID lists and then resolve it
9915           (using WHOIS) if it cannot be found.  Affected file is
9916           silcd/server.[ch].
9917
9918 Sun Mar 25 13:52:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9919
9920         * Implemented the BAN command to the client library.
9921
9922         * The JOIN command in the server now checks the invite list
9923           and the ban list.
9924
9925         * Changed the silc_command_reply_payload_encode_va and the
9926           silc_command_payload_encode_va to support that if argument is
9927           NULL it ignores and checks the next argument.  Affected file
9928           lib/silccore/silccommand.c.
9929
9930         * Added silc_server_send_notify_ban to send the BAN notify
9931           type between routers.
9932
9933         * Chaned the silc_notify_payload_encode to support that if
9934           argument is NULL it ignores and checks the next argument.
9935           Affected file lib/silccore/silcnotify.c.
9936
9937         * Tested ban lists in router environment successfully.
9938
9939 Sat Mar 24 14:47:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9940
9941         * Implemented BAN command to the server, in silcd/command.[ch].
9942
9943         * Removed the BAN and INVITE_LIST modes from the CMODE command
9944           in the server code.
9945
9946         * Added function silc_string_match to regex match two strings.
9947           Affected files lib/silcutil/silcutil.[ch].
9948
9949 Fri Mar 23 22:02:40 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9950
9951         * Redefined parts of the SilcChannelEntry in the server to support
9952           the new ban and invite lists.
9953
9954 Fri Mar 23 16:25:11 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9955
9956         * Redefined the INVITE command.  The same command can be used to
9957           invite individuals to the channel but also to manage the invite
9958           list of the channel (to add to and remove from the invite list).
9959           Updated the protocol specs.
9960
9961         * Added new command SILC_COMMAND_BAN that can be used to manage
9962           the ban list of the channel.  Updated the protocol specs.
9963
9964         * Removed the channel modes: the SILC_CMODE_BAN and the
9965           SILC_CMODE_INVITE_LIST as they were a bit kludge to be included
9966           in the CMODE command.  The equivalent features are now available
9967           using INVITE and BAN commands.  Updated the protocol specs.
9968
9969         * Added new SILC_NOTIFY_TYPE_BAN notify type to notify routers
9970           in the network about change in the current ban list.  The notify
9971           type is not used by the client.
9972
9973         * Redefined parts of the SILC_NOTIFY_TYPE_INVITE command to
9974           support the invite lists.
9975
9976 Thu Mar 22 22:52:23 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9977
9978         * Added new function silc_string_regexify that converts string
9979           including wildcard characters into regex string that can
9980           be used by the GNU regex library.  Added into the file
9981           lib/silcutil/silcutil.[ch].
9982
9983           Added silc_string_regex_combine to combine to regex strings
9984           into one so that they can be used as one regex string by
9985           the GNU regex library.  Added into the file
9986           lib/silcutil/silcutil.[ch].
9987
9988           Added silc_string_regex_match to match two strings.  It returns
9989           TRUE if the strings match.  Added into lib/silcutil/silcutil.[ch].
9990
9991 Thu Mar 22 15:29:42 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9992
9993         * Imported GNU regex to the soruce tree into lib/contrib.
9994           Fixed some compiler warning from the regex.c.
9995
9996 Wed Mar 21 15:27:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9997
9998         * Fixed MOTD command in the server to work in router environment.
9999
10000         * Fixed the MOTD command in the client library to support
10001           the server argument in the command.
10002
10003         * Added `nickname_len' argument to the silc_idlist_add_client
10004           in the server, as the `nickname' argument may be binary data
10005           (it may be hash).
10006
10007         * Added silc_idlist_get_channels to return all channels from
10008           the ID list.
10009
10010         * Implemented LIST command to the server.  Affected file is
10011           silcd/command.c.
10012
10013         * Implemented the LIST command to the client library and on the
10014           user interface.
10015
10016         * Added [<user count>] argument to the LIST command reply.
10017           With private channels the user count is not shown.
10018
10019         * Updated TODO and README.
10020
10021 Tue Mar 20 21:05:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10022
10023         * The client entry's data.registered must be TRUE even with
10024           global client entry on global client list.  The data.registered
10025           is used to check whether the client is anymore in the network,
10026           for example with WHOWAS command so it must be valid.
10027
10028         * Fixed the WHOWAS command in the server.  It now actually works
10029           in router environment.  Added function into silcd/command_reply.c
10030           silc_server_command_reply_whowas_save.
10031
10032         * Added silc_idlist_purge function to the silcd/idlist.c
10033           to periodically purge the ID Cache.
10034
10035         * Fixed INFO command in the server.  It works now in router
10036           environment.  Added <server name> argument to the INFO command
10037           reply.  Updated the protocol specs.
10038
10039         * Fixed minor bug in silc_idcache_purge to not purge if the
10040           expire value is zero.
10041
10042         * Fixed various bugs in WHOIS and IDENTIFY command handling as
10043           they were buggy because of the WHOWAS information.
10044
10045         * Fixed local command MSG to handle the async resolving of
10046           the remote client properly.  It used to fail the first MSG.
10047           Affected file silc/local_command.c.
10048
10049         * Added `data_len' field to SilcIDCache context.
10050
10051 Tue Mar 20 16:29:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10052
10053         * Update TODO.  Todo in commands in the server.
10054
10055 Tue Mar 20 15:45:14 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10056
10057         * Added new notify type SILC_NOTIFY_TYPE_UMODE_CHANGE that is
10058           used by routers as broadcast packet to inform other routers
10059           about the changed user mode.
10060
10061           Implemented the notify handling in the server.  Affected file is
10062           silcd/packet_receive.c.  Added the function
10063           silc_server_send_notify_umode to the silcd/packet_send.[ch].
10064
10065         * Added new generic Channel Payload and deprecated the New Channel
10066           Payload.  The New Channel Payload is now the generic Channel
10067           Payload.
10068
10069         * Added new argument `mode' to the silc_server_send_new_channel
10070           as it is required in the Channel Payload now.
10071
10072         * Renamed the SilcChannelPayload to SilcChannelMessagePayload
10073           and created a new and real SilChannelPayload to represent the
10074           new generic Channel Payload.  Implemented the encode/decode
10075           for Channel Payload.  Affected file lib/silccore/silcchannel.[ch].
10076
10077         * Added silc_server_get_client_channel_list to return the list
10078           of channels the client has joined for WHOIS command reply.
10079           Affected file silcd/server.[ch].
10080
10081         * Implemented the channel list sending in the WHOIS command reply
10082           in server and in the client.
10083
10084           Implemented the channel list displaying on the user interface
10085           as well.  Affected file silc/client_ops.c.
10086
10087         * Added silc_channel_payload_parse_list to parse list of Channel
10088           Payloads.  It returns SilcDList list of SilcChannelPayloads.
10089           Client for example can use this function to parse the list of
10090           channels it receives in the WHOIS command reply.  The caller
10091           must free the list by calling silc_channel_payload_list_free.
10092           Affected files lib/silccore/silcchannel.[ch].
10093
10094 Mon Mar 19 21:39:15 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10095
10096         * Added one new argument <user mode> to the WHOIS command reply
10097           to return the mode of the user in SILC.  Updated the protocol
10098           specs.
10099
10100           Implemented it to the server and client.
10101
10102 Mon Mar 19 18:43:06 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10103
10104         * Fixed the mode printing on the user interface on joining.
10105           Affected file silc/client_ops.c.
10106
10107         * Implemented the UMODE command and user modes in general to the
10108           client library and to the user interface.
10109
10110         * Implemented the UMODE command to the server.
10111
10112         * The server now sends UNKNOWN_COMMAND error status if client sends
10113           unknown command.  Affected file silcd/command.c.
10114
10115         * All server commands now handle the command identifier the right
10116           way when sending the command reply to the client.  The client can
10117           use to identify the command replies with the identifier.
10118
10119 Mon Mar 19 16:13:07 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10120
10121         * Added silc_server_get_client_route to resolve the route to
10122           the client indicated by the client ID.  Affected file is
10123           silcd/server.[ch].
10124
10125         * Added silc_server_relay_packet as general function to relay
10126           packet to arbitrary destination.  This deprecates functions
10127           like _send_private_message_key, _relay_notify etc.  Affected
10128           file is silcd/packet_send.[ch].
10129
10130           Removed silc_server_send_key_agreement,
10131           silc_server_send_private_message_key and
10132           silc_server_packet_relay_notify functions from the file
10133           silcd/packet_send.[ch].
10134
10135         * Updated TODO.
10136
10137         * Implemented the SILC_NOTIFY_TYPE_KILLED notify handling in the
10138           server.  Affected file silcd/packet_receive.[ch].
10139
10140         * Implemented the KILL command to the client.  Implemented the
10141           SILC_NOTIFY_TYPE_KILLED notify handling in the client library.
10142           Affected files lib/silcclient/command[_reply].c and
10143           lib/silcclient/client_notify.c.  Implemented the KILL notify
10144           printing in the user inteface.
10145
10146         * Fixed a lot silc_parse_nick memory leaks from the client
10147           library in the file lib/silcclient/command.c.
10148
10149         * Changed the silc_server_send_notify_on_channels's `sender'
10150           argument from SilcSocketConnection to SilcClientEntry to
10151           check the sender as entry and not as connection object and not
10152           to send to the client provided as argument.  The affected file
10153           is silcd/packet_send.[ch].
10154
10155         * The notify packets that are destined directly to the client used
10156           to not to be processed by the server.  Now changed that and the
10157           server processes all notify packets.  After relaying the packet
10158           to the client the notify packet is processed in the server.
10159
10160         * The silc_server_free_client_data now checks whether there is
10161           pending outgoing traffic for the client and purges the data to
10162           the network before removing the client entry.
10163
10164 Sun Mar 18 21:02:47 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10165
10166         * Added SILC_NOTIFY_TYPE_KILLED notify type.  It is sent when
10167           an client is killed from the SILC Network.  Updated the protocol
10168           specs accordingly.
10169
10170           Added new function silc_server_send_notify_killed to the
10171           silcd/packet_send.[ch].
10172
10173         * Added function silc_server_packet_relay_notify to relay notify
10174           packets that are destined directly to a client.  In this case
10175           the server does not process the notify packets but merely relays
10176           it to the client.  Affected file silcd/packet_send.[ch].
10177
10178           Added also silc_server_packet_process_relay_notify to check
10179           whereto relay the notify.  Affected file is
10180           silcd/packet_receive.[ch].
10181
10182         * Implemented the KILL command to the server.
10183
10184         * Updated TODO.
10185
10186         * Added the backup schema desgined last fall to the protocol
10187           specs for everyone to see.  The specification is in the
10188           *-spec-xx.txt draft and the packet type definitions for the
10189           backup routers is in *-pp-xx.txt draft.  Thusly, added also
10190           new packet type SILC_PACKET_CELL_ROUTERS.
10191
10192         * A big security problem in the implementation discovered.  The
10193           signoff of an client did not cause new channel key generation
10194           which it of course should've done.  The channel keys must be
10195           always re-generated when client leaves (or signoffs) the channel.
10196           The silc_server_remove_from_channels funtion now handles
10197           the channel key re-generation.
10198
10199         * Added `sender' argument to the silc_server_send_notify_on_channels
10200           to not to send the client provided as argument.  Affected file
10201           silcd/packet_send.[ch].
10202
10203 Fri Mar 16 15:52:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10204
10205         * Implemented OPER and SILCOPER commands into the server and
10206           the client library.
10207
10208         * Added silc_auth_verify and silc_auth_verify_data to verify
10209           the authentication directly from the authentication payload.
10210           It supports verifying both passphrase and public key based
10211           authentication.  Affected file lib/silccore/silcauth.[ch].
10212
10213         * Added `hash' field to the SilcIDListData structure.  It is the
10214           hash negotiated in the SKE protocol.  Affected file is
10215           silcd/idlist.[ch].
10216
10217         * Slight redesigning of the SilcAuthPayload handling routines.
10218           Do not send SilcPKCS but SilcPublicKey as argument.
10219
10220         * Implemented the public key authentication support to the
10221           serverconfig.  The public key is loaded from the provided path
10222           and saved as authentication data to void * pointer.  Thus,
10223           changed the unsigned char *auth_data to void *auth_data;
10224
10225         * Fixed SHUTDOWN command to send the reply before the server
10226           is shutdown. :)  Affected file silcd/command.c.
10227
10228         * Fixed fatal bug in CONNECT command.  The hostname was invalid
10229           memory and server crashed.  Affected file silcd/command.c.
10230
10231         * Fixed fatal bug in CLOSE command.  The server_entry became
10232           invalid but was referenced later in the command.  Affected file
10233           silcd/command.c.
10234
10235 Thu Mar 15 12:46:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10236
10237         * Fixed fatal bug in failure packet handling.  Server ignored
10238           the failure and thus crashed when it came.
10239
10240         * Updated TODO.
10241
10242 Wed Mar 14 20:37:35 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10243
10244         * Added new SILC_CF_LAG_STRICT command flag that strictly forces
10245           that the command may be executed only once in (about) 2 seconds.
10246           The old SILC_CF_LAG flag is same but allows command bursts up
10247           to five before limiting.
10248
10249           Added the support for CF_LAG and CF_LAG_STRICT flags to the
10250           server code.  Various commands now includes the CF_LAG_STRICT
10251           flag to disallow any kind of miss-use of the command.
10252
10253         * Fixed the silc_buffer_unformat to not to allocate any data
10254           if the length of the data is zero.  It used to allocate the
10255           length + 1.  Affected file lib/silcutil/silcbuffmt.c.
10256
10257 Wed Mar 14 16:10:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10258
10259         * Changed the format of AdminConnection configuration section
10260           in the server.  Added username of the admin to the format.
10261           Affected files silcd/serverconfig.[ch].
10262
10263           Added silc_server_config_find_admin into silcd/serverconfig.[ch]
10264           to return admin configuration data by host, username and/or
10265           nickname.
10266
10267 Wed Mar 14 13:18:16 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10268
10269         * Implemented WHOWAS command to the server.  Added the functions:
10270
10271           silc_server_command_whowas_parse,
10272           silc_server_command_whowas_send_reply,
10273           silc_server_command_whowas_from_client and
10274           silc_server_command_whowas_from_server
10275
10276         * Added <Client ID> argument to the WHOWAS command reply.  Updated
10277           the protocol specs accordingly.
10278
10279         * Implemented WHOWAS command and command_reply to the client
10280           library.
10281
10282           Implemented the WHOWAS printing on the user interface.
10283
10284 Tue Mar 13 22:17:34 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10285
10286         * Added new argument to the WHOWAS command reply, the real name.
10287           It is an optional argument.  Updated the protocol specs.
10288
10289         * Added SilcIDCacheDestructor callback that is registered when
10290           the SilcIDCache is allocated.  The callback is called when
10291           an cache entry in the ID Cache expires, or is purged from the
10292           cache.  Added into lib/silccore/idcache.[ch].
10293
10294           Added silc_idlist_client_destructor to the silcd/idlist.[ch]
10295           to destruct the client entries when the cache entry expires.
10296           Other ID Cache's in server and in the client library ignores
10297           the destructor.
10298
10299         * If the ID Cache entry's `expire' field is zero then the entry
10300           never expires.  Added boolean `expire' argument to the
10301           silc_idcache_add function in the lib/silccore/idcache.[ch].
10302           If it is TRUE the default expiry value is used.
10303
10304         * Added silc_server_free_client_data_timeout that is registered
10305           when client disconnects.  By default for 5 minutes we preserve
10306           the client entry for history - for WHOWAS command.
10307
10308 Tue Mar 13 13:26:18 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10309
10310         * Added support to the server to enforce that commands are not
10311           executed more than once in 2 seconds.  If server receives
10312           commands from client more frequently, timeout is registered
10313           to process the commands.  Affected file silcd/command.c.
10314           Added new function silc_server_command_process_timeout.
10315
10316         * Changed NICK_NOTIFY handling in client library to check that
10317           if the client's nickname was changed, so there is no need to
10318           resolve anything from the server.
10319
10320         * Removed error printing from the WHOIS and IDENTIFY commands.
10321           If error occurs then it is ignored silently in the client library.
10322           The application, however, may map the received error to
10323           human readable error string.  The application currently maps
10324           the NO_SUCH_NICKNAME error to string.
10325
10326         * Made the command status message public to the application.  Moved
10327           them from lib/silcclient/command_reply.c to
10328           lib/silcclient/command_reply.h.  The application can map the
10329           received command status to the string with the
10330           silc_client_command_status_message function.
10331
10332         * Added check to the server to check that client's ID is same
10333           as the Source ID in the packet the client sent.  They must
10334           match.
10335
10336 Tue Mar 13 12:49:21 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10337
10338         * Added dist-bzip hook to the Makefile.am to make bzip2
10339           compressed distributions.
10340
10341 Mon Mar 12 18:43:38 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10342
10343         * Server now enforces the maximum length for the nickname and
10344           the channel as protocol specification dictates.  128 bytes for
10345           nickname and 256 bytes for channel name.
10346
10347         * Moved the WHOIS printing to the application.  The client libary
10348           does not print out the WHOIS information anymore, the application
10349           must do it.  Renamed silc_client_command_reply_whois_print to
10350           the silc_client_command_reply_whois_save.
10351
10352           The client's idle time is also sent to the application now, and
10353           the idle is shown on screen.
10354
10355         * Added silc_client_command_reply_identify_save to save the
10356           received IDENTIFY entries.
10357
10358         * Do not check for channel private keys in message sending and
10359           reception if the channel does not have the PRIVKEY mode set.
10360           Affected file lib/silclient/client_channel.c.
10361
10362 Sun Mar 11 20:25:06 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10363
10364         * Fixed a minor bug if WHOIS and IDENTIFY command parsing that
10365           just surfaced after chaning the JOIN procedure.
10366
10367 Sun Mar 11 14:59:05 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10368
10369         * Added silc_client_get_clients_by_list to get client entries
10370           from Client ID list, that is returned for example by JOIN
10371           and USERS command replies.  The application should use this
10372           function for example when JOIN command reply is received to
10373           resolve the clients already on the channel (library does not
10374           do that anymore as USERS command reply is not used in the JOIN
10375           procedure anymore).  Affected files lib/silcclient/silcapi.h and
10376           lib/silcclient/idlist.c.
10377
10378         * JOIN command reply and USERS command reply returns now SilcBuffer
10379           pointers instead of unsigned char pointers when returning
10380           the client list and mode list.
10381
10382         * Added <Client ID> argument to the JOIN command reply, mainly
10383           for the server to identify for which client the command was
10384           originally sent.  Updated protocol specs accordingly.
10385
10386         * Added SilcDlist private_key pointer to the SilcChannelEntry
10387           in the client to support the channel private keys.  Affected
10388           file is lib/silcclient/idlist.h.
10389
10390         * Added SilcChannelPrivateKey argument to the function
10391           silc_client_send_channel_message so that application can choose
10392           to use specific private ke if it wants to.  If it is not provided,
10393           the normal channel key is used, unless private keys are set.
10394           In this case the first (key that was added first) is used
10395           as the encryption key.
10396
10397         * Implemented the support for channel private key handling.
10398           Implemented the following functions:
10399
10400           silc_client_add_channel_private_key,
10401           silc_client_del_channel_private_keys,
10402           silc_client_del_channel_private_key,
10403           silc_client_list_channel_private_keys and
10404           silc_client_free_channel_private_keys
10405
10406           Affected file lib/silcclient/client_channel.c.
10407
10408         * Added the support for the private keys in the channel message
10409           sending and encryption and in the message reception and
10410           decryption.  Affected funtions are
10411           silc_client_send_channel_message and silc_client_channel_message.
10412
10413 Sat Mar 10 21:36:22 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10414
10415         * Added SKE's key verify callback to the client library's
10416           KE protocol context. Affected files lib/silcclient/protocol.[ch].
10417
10418         * Removed the statement that server (or router) must send USERS
10419           command reply when joining to the channel so that the client
10420           knows who are on the channel.  Instead, the client list and
10421           client's mode list is now sent in the JOIN command reply to the
10422           client who joined channel.  This is better solution.
10423
10424         * Added function silc_server_get_users_on_channel and function
10425           silc_server_save_users_on_channel to the silcd/server.[ch].
10426
10427         * Removed function silc_server_command_send_users from the
10428           silcd/command.c.
10429
10430         * Do not show topic on the client library anymore.  The topic is
10431           sent in the command reply notify to the application and the
10432           application must show the topic now.
10433
10434 Sat Mar 10 00:07:37 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10435
10436         * Added client searching by nickname hash into the IDENTIFY and
10437           WHOIS commands in the server as they were clearly missing from
10438           them.  Affected file is silcd/command.c.
10439
10440         * Fixed a bug in private message receiving in the client library.
10441           The remote ID was freed and it wasn't supposed, now it is
10442           duplicated.
10443
10444 Fri Mar  9 12:40:42 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10445
10446         * Minor fix to the channel payload; allocate the data area, as it
10447           needs to be of specific length.
10448
10449         * If the key agreement port is zero then the operating
10450           system will define the bound port.  Affected files are
10451           lib/silcclient/silcapi.h and lib/silcclient/client_keyagr.c.
10452
10453         * Added new function silc_channel_payload_decrypt into the file
10454           lib/silccore/silcchannel.[ch].
10455
10456         * Moved the channel message etc, check from silc_packet_decrypt
10457           to applications.  The library calls now a generic
10458           SilcPacketCheckDecrypt callback which is to return TRUE or FALSE
10459           when the packet is either normal or special.  This was done to
10460           allow more wide range of checking that was not allowed when
10461           the code was in library.  Now applications can do virtually any
10462           checks to the packet and return to the library the decision how
10463           the packet should be processed.  Affected files are
10464           lib/silccore/silcpacket.[ch].
10465
10466           Added silc_server_packet_decrypt_check to the server and
10467           silc_client_packet_decrypt_check to the client library.
10468
10469         * Added silc_server_packet_send_srcdest into silcd/packet_send.[ch]
10470           to send with specified source and destination information.
10471
10472         * Channel message delivery between routers was broken after the
10473           channel key distribution was fixed earlier.  The channel key
10474           was used be to distributed to other routers as well which is not
10475           allowed by the protocol.  Now this is fixed and channel keys
10476           really are cell specific and the channel message delivery between
10477           routers comply with the protocol specification.
10478
10479         * Fixed various commands in server to check also the global list
10480           for the channel entry and not just the local list.  The affected
10481           file silcd/command.c.
10482
10483 Thu Mar  8 21:39:03 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10484
10485         * Added assert()s to buffer formatting and unformatting routines
10486           to assert (if --enable-debug) when error occurs.  Affected
10487           file: lib/silcutil/silcbuffmt.c.
10488
10489         * Changed to auto-reconnect to check whether the remote host is
10490           router and register the re-connect timeout if it is.  It used
10491           to check that whether we are normal server, but router must do
10492           auto-reconnect with another router as well.  Affected file
10493           silcd/server.c.
10494
10495         * Removed the [<key len>] option from CMODE command as the cipher
10496           name decides the key length, nowadays.  See the defined ciphers
10497           from the protocol specification.
10498
10499         * Added [<hmac>] option to the CMODE command to define the HMAC
10500           for the channel.  Added SILC_CMODE_HMAC channel mode.
10501
10502         * Added [<hmac>] option for the JOIN command so that user can
10503           select which HMAC is used to compute the MACs of the channel
10504           messages.
10505
10506         * Added Hmac field to the Channel Message Payload.  The integrity
10507           of plaintext channel messages are now protected by computing
10508           MAC of the message and attaching the MAC to the payload.  The
10509           MAC is encrypted.  Now, it is clear that this causes some
10510           overhead to the size of the packet but rationale for this is that
10511           now the receiver can verify whether the channel message decrypted
10512           correctly and also when private keys are set for the channel the
10513           receiver can decrypt the packet with several keys and check from
10514           the MAC which key decrypted the message correctly.
10515
10516         * Added silc_cipher_encrypt and silc_cipher_decrypt into the
10517           lib/silccrypt/silccipher.[ch].
10518
10519         * Added silc_hash_len to return the digest length into the
10520           lib/silcrypt/silchash.[ch].
10521
10522         * Rewrote parts of Silc Channel Payload interface in the
10523           lib/silccore/silcchannel.[ch].  The encode function now also
10524           encrypts the packet and parse function decrypts it.
10525
10526 Wed Mar  7 20:58:50 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10527
10528         * Fixed a minor formatting bug in the SKE's key material processing.
10529           It actually might have processed the keys wrong way resulting
10530           into wrong keys.
10531
10532         * Redefined the mandatory HMAC algorithms and added new algorithms.
10533           Added hmac-sha1-96 and hmac-md5-96 which are normal hmac-sha1
10534           and hmac-md5 truncated to 96 bits.  The mandatory is now
10535           hmac-sha1-96.  Rest are optional (including the one that used
10536           to be mandatory).  Rationale for this is that the truncated HMAC
10537           length is sufficient from security point of view and can actually
10538           make the attack against the HMAC harder.  Also, the truncated
10539           HMAC causes less overhead to the packets.  See the RFC2104 for
10540           more information.
10541
10542         * Added new [hmac] configuration section.  The SKE used to use
10543           the hash names (md5 and sha1) in the SKE proposal as HMCAS which
10544           is of course wrong.  The official names that must be proposed in
10545           the SKE are the ones defined in the protocol specification
10546           (hmac-sha1-96 for example).  The user can configure any hmac
10547           using any hash function configured in the [hash] section.  At
10548           least, the mandatory must be configured.
10549
10550           Rewrote the HMAC interface in lib/silccrypt/silchmac.[ch].
10551
10552         * Added HMAC list to the SKE proposal list.  It has now both
10553           hash algorithm list and HMAC list.  This makes the protocol
10554           incompatible with previous versions.  The SKE now seems to work
10555           the way it is supposed to work, for the first time actually.
10556
10557         * Defined plain Hash algorithms to the protocol specification.
10558           Added sha1 and md5.
10559
10560 Tue Mar  6 15:36:11 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10561
10562         * Implemented support for key agreement packets into the server.
10563           Added functions silc_server_key_agreement and
10564           silc_server_send_key_agreement.  Other than these functions,
10565           server has nothing to do with this packet.
10566
10567         * Added support for private message key packets into the server.
10568           Added functions silc_server_private_message_key and
10569           silc_server_send_private_message_key.
10570
10571         * Updated TODO.
10572
10573         * Changed the silc_[client|server]_protocol_ke_set_keys to be
10574           called in the protocol's final callback instead in the END
10575           protocol state.  This makes a little more sense and in the same
10576           time in client we can use the same protocol routines for normal
10577           key exchange and to key agreement packet handling as well.
10578
10579         * Added to both client's and server's KE protocol context the
10580           SilcSKEKeyMaterial pointer to save the key material.  We will
10581           bring the key material to the protocol's final callback by doing
10582           this.  The final callback must free the key material.
10583
10584         * Added SKE's packet_send callback into client's KE protocol
10585           context so that the caller can choose what packet sending function
10586           is used.  This way we can use different packet sending when
10587           doing normal SKE when doing key agreement packet handling (in
10588           the key agreement packet handling we do not want to encrypt
10589           the packets).
10590
10591         * Implemented the responder side of the key agreement routines
10592           in the client.  The client can now bind to specified port and
10593           accept incoming key negotiation.  The key material is passed
10594           to the application after the protocol is over.
10595
10596         * Implemented the processing of incoming Key Agreement packet
10597           in the client.  Added function silc_client_key_agreement to
10598           process the packet.
10599
10600         * Implemented the intiator side of the key agreement routines
10601           in the client.  The client can now initiate key agreement with
10602           another remote client.  The key material is passed to the
10603           application after the protocol is over.
10604
10605         * Created client_keyagr.c to include all the key agreement
10606           routines.
10607
10608         * Added macro SILC_TASK_CALLBACK_GLOBAL which is equal to the
10609           SILC_TASK_CALLBACK except that it is not static.
10610
10611         * Created client_notify.c and moved the Notify packet handling
10612           from the client.[ch] into that file.
10613
10614         * Created client_prvmsg.c and moved all private message and
10615           private message key routines from the client.[ch] into that file.
10616
10617         * Create client_channel.c and moved all channel message and
10618           channel private key routines from the client.[ch] into that file.
10619
10620         * Changed silc_client_get_client_by_id_resolve to resolve with
10621           WHOIS command instead of IDENTIFY command, in the file
10622           lib/silclient/idlist.c.
10623
10624 Mon Mar  5 18:39:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10625
10626         * Implemented the SKE's responder side to the Client library.
10627
10628         * When FAILURE is received to the protocol do not trust it
10629           blindly.  Register a timeout to wait whether the remote closes
10630           the connection as it should do it, only after that process the
10631           actual failure.  This was changed to both client and server.
10632
10633         * Added client_internal.h to include some of the structures
10634           there instead of client.h in lib/silcclient/.
10635
10636         * Added function silc_task_unregister_by_callback to unregister
10637           timeouts by the callback function.
10638
10639 Sat Mar  3 19:15:43 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10640
10641         * Some "Incomplete WHOIS info" errors has been appearing on the
10642           log files.  Took away the entry->userinfo check from WHOIS
10643           reply sending.  The entry->userinfo is now " " if client did not
10644           provide one.  I thought this was fixed earlier but something
10645           is wrong still.  Let's see if the error still appears.
10646
10647 Wed Feb 28 20:56:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10648
10649         * Fixed a minor bug in the login when the channel key is
10650           re-generated in the server.  It used to generate the key in
10651           wrong order and thus caused problems in the channel traffic.
10652
10653         * Fixed a minor bug in channel key distsribution after
10654           KICK command.  The key was not sent to the router even though
10655           it should've been.
10656
10657 Tue Feb 27 20:24:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10658
10659         * Added silc_ske_process_key_material_data as generic routine
10660           to process any key material as the SILC protocol dictates.  The
10661           function is used by the actual SKE library but can be used by
10662           applications as well.  This relates to the private message keys
10663           and the channel private keys since they must be processed the
10664           same way the normal SILC session keys.  The protocol dictates
10665           this.  Affected files: lib/silcske/silcske.[ch].
10666
10667           Added also silc_ske_free_key_material to free the
10668           SilcSKEKeyMaterial structure.
10669
10670         * Defined silc_cipher_set_key function to set the key for
10671           cipher without using the object's method function.  The affected
10672           files: lib/silccrypt/silccipher.[ch].
10673
10674         * Implemented silc silc_client_add_private_message_key,
10675           silc_client_add_private_message_key_ske,
10676           silc_client_del_private_message_key,
10677           silc_client_list_private_message_keys and
10678           silc_client_free_private_message_keys functions in the
10679           client library.
10680
10681           Added functions silc_client_send_private_message_key to send
10682           the Private Message Key payload and silc_client_private_message_key
10683           to handle incoming Private Message Key payload.
10684
10685         * Added Cipher field to the Private Message Key payload to set
10686           the cipher to be used.  If ignored, the default cipher defined
10687           in the SILC protocol (aes-256-cbc) is used.
10688
10689 Tue Feb 27 13:30:52 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10690
10691         * Removed lib/silcclient/ops.h file.
10692
10693           Redefined parts of the SILC Client Library API. Created new
10694           file silcapi.h that deprecates the ops.h file and defines the
10695           published Client Library API.  Defined also private message key
10696           API and channel private key API into the file.
10697
10698           This is the file that the application must include from the
10699           SILC Client Library.  Other files need not be included by
10700           the application anymore.
10701
10702         * Added new key_agreement client operation callback and also
10703           defined the Key Agreement library API for the application.
10704
10705 Tue Feb 27 11:28:31 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10706
10707         * Added new packet type: SILC_PACKET_KEY_AGREEMENT.  This packet
10708           is used by clients to request key negotiation  between another
10709           client in the SILC network.  If the negotiation is started it
10710           is performed using the SKE protocol.  The result of the
10711           negotiation, the secret key material, can be used for example
10712           as private message key.
10713
10714           Implemented the Key Agreement payload into the files
10715           lib/silccore/silauth.[ch].
10716
10717 Mon Feb 26 12:13:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10718
10719         * Redefined ciphers for the SILC protocol.  Added some new ciphers
10720           and defined the key lengths for the algorithms.  Changed the
10721           code accordingly.  The default key length is now 256 bits.
10722
10723         * Fixed SKE key distribution function silc_ske_process_key_material
10724           when the key length is more than 128 bits.  The default key
10725           length in SILC is now 256 bits.
10726
10727         * Added new command status type: SILC_STATUS_ERR_UNKOWN_ALGORITHM
10728           to indicate unsupported algorithm.
10729
10730         * Renamed rijndael.c to aes.c and all functions as well.
10731
10732         * Fixed a long standing channel key setting bug in client library.
10733           Weird that it has never surfaced before.
10734
10735         * Fixed bug in channel deletion.  If the entire channel is removed
10736           then it must also delete the references of the channel entry
10737           from the client's channel list as the client's channel entry and
10738           the channel's client entry share same memory.
10739
10740 Sun Feb 25 20:47:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10741
10742         * Implemented CONNECT and SHUTDOWN commands in the client.
10743
10744         * Implemented CLOSE command to the client.
10745
10746         * Added the function silc_idlist_find_server_by_name into the
10747           files silcd/idlist.[ch].
10748
10749           Added the function silc_idlist_find_server_by_conn into the
10750           files silcd/idlist.[ch].
10751
10752 Sat Feb 24 23:45:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10753
10754         * DIE command was renamed to SHUTDOWN.  Updated the both code
10755           and protocol specs.
10756
10757         * Defined SILC_UMODE_NONE, SILC_UMODE_SERVER_OPERATOR and
10758           SILC_UMODE_ROUTER_OPERATOR modes into lib/silccore/silcmode.h.
10759
10760         * Implemented CONNECT, CLOSE and SHUTDOWN commands to the server
10761           side.
10762
10763         * Added function silc_server_create_connection function to create
10764           connection to remote router.  My server implementation actually
10765           does not allow router to connect to normal server (it expects
10766           that normal server always initiates the connection to the router)
10767           so the CONNECT command is only good for connecting to another
10768           router.
10769
10770 Sat Feb 24 16:03:45 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10771
10772         * Added SILC_NOTIFY_TYPE_KICKED to indicate that the client
10773           or some other client was kicked from the channel.
10774
10775           Implemented the handling of the notify type to both client
10776           and server.
10777
10778           Implemented silc_server_send_notify_kicked to send the KICKED
10779           notify.  It is used to send it to the server's primary router.
10780
10781         * Implemented the KICK command into server and client.
10782
10783         * Added `query' argument to the silc_idlist_get_client function
10784           to indicate whether to query the client from server or not if
10785           it was not found.
10786
10787         * Added new command status type SILC_STATUS_ERR_NO_CHANNEL_FOPRIV
10788           to indicate that the client is not channel founder.
10789
10790         * Updated TODO.
10791
10792 Sat Feb 24 00:00:55 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10793
10794         * Removed the rng context from SilcPacketContext structure and
10795           changed that the packet routine uses the Global RNG API.
10796
10797 Fri Feb 23 11:22:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10798
10799         * Added support for quit message that client can "leave" on the
10800           channel when it quits the SILC.  It is ditributed inside the
10801           SILC_NOTIFY_TYPE_SIGNOFF notify type.
10802
10803           Added silc_server_free_client_data that will take the
10804           signoff message as argument.
10805
10806         * Changed SKE routines to use the silc_pkcs_sign/verify routines.
10807
10808 Thu Feb 22 23:05:36 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10809
10810         * Updated parts of the protocol specification to keep it up
10811           to date.
10812
10813 Thu Feb 22 15:08:20 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10814
10815         * Added List flag (SILC_PACKET_FLAG_LIST) to indicate list of
10816           payloads in one packet.
10817
10818         * Deprecated following packet types: NEW_ID_LIST, NEW_CHANNEL_LIST,
10819           NEW_CHANNEL_USER_LIST, SET_MODE and SET_MODE_LIST.  List packets
10820           use now the new List flag.
10821
10822         * Also deprecated the following packet types: REPLACE_ID,
10823           NEW_CHANNEL_USER and REMOVE_CHANNEL_USER packet types.
10824
10825         * Added list support for Notify packet in server.
10826
10827         * Added silc_server_send_notify_channel_change to send the
10828           CHANNEL_CHANGE notify type to replace channel ID's.  Deprecates
10829           the silc_server_send_replace_id.
10830
10831         * Added silc_server_send_notify_nick_change to send the
10832           NICK_CHANGE notify type.  Deprecates the function
10833           silc_server_send_replace_id.
10834
10835         * Added silc_server_send_notify_join to send the JOIN notify type.
10836           Deprecates the function silc_server_send_new_channel_user.
10837
10838         * Added silc_server_send_notify_leave to send LEAVE notify type.
10839           Deprecates the function silc_server_send_remove_channel_user.
10840
10841         * Added silc_server_send_notify_cmode and
10842           silc_server_send_notify_cumode to send CMODE and CUMODE notify
10843           types.  Deprecates the silc_server_send_set_mode function.
10844
10845         * Added SERVER_SIGNOFF notify type to indicate that server has
10846           quit.  This means that all clients on the channel from that
10847           server will drop.  This can be also used when netsplit happens.
10848
10849           Deprecated REMOVE_ID packet type since it is not needed anymore
10850           even from server.
10851
10852           Added silc_server_send_notify_server_signoff to send the
10853           SERVER_SIGNOFF notify type.  Deprecates the function
10854           silc_server_send_remove_id.
10855
10856           Added also silc_server_send_notify_signoff to send the
10857           SIGNOFF notify type.
10858
10859         * Employed the PKCS #1. It is the mandatory way to do RSA in the
10860           SILC protocol from this day on.  Changed the protocol
10861           specification as well.
10862
10863         * Added silc_server_send_notify_topic_set to send TOPIC_SET
10864           notify type.  It is used between routers to notify about
10865           topic changes on a channel.
10866
10867         * Added silc_id_dup into lib/silccore/id.[ch] to duplicate
10868           ID data.
10869
10870         * Partly updated the protocol specification to comply with the
10871           changes now made.  It is still though a bit outdated.
10872
10873         * The JOIN notify type now takes one extra argument <Channel ID>.
10874           The packet used to be destined to the channel but now the
10875           JOIN type may be sent as list thus it is impossible to
10876           destine it to any specific channel.  By adding this argument
10877           it is again possible.
10878
10879 Wed Feb 21 22:39:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10880
10881         * Added CREDITS file.  The CHANGES and CREDITS file will appear
10882           in the distribution as well.
10883
10884 Wed Feb 21 14:17:04 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10885
10886         * Implemented CMODE_CHANGE, CUMODE_CHANGE and TOPIC_SET notify
10887           types in the server's silcd/packet_receive.c.
10888
10889         * Implemented CMODE and CUMODE to work in router environment.
10890
10891         * Fixed minor encoding and decoding buglet from the
10892           lib/silccore/silcmode.c.
10893
10894         * Fixed buffer overflow from lib/silcclient/command.c in USERS
10895           command parsing.
10896
10897 Wed Feb 21 12:44:00 EET 2001  Mika Boström <bostik@lut.fi>
10898
10899         * Changed all SilcConfigServer* and silc_config_server* to
10900           SilcServerConfig* and silc_server_config*, respectively.
10901           Patch by Bostik.
10902
10903 Wed Feb 21 00:10:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10904
10905         * Associated the ID (client or server ID) to the Authentication
10906           Payload to avoid any possibility of forging.  Updated the
10907           protocol specification and the code accordingly.
10908
10909 Tue Feb 20 14:14:14 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10910
10911         * The RSA key length is now save to the RsaKey context in the
10912           key generation process in lib/silccrypt/rsa.c.  The key length
10913           is now used to figure out the maximum size of the block allowed
10914           to be encrypted/signed.
10915
10916         * Added silc_mp_mp2bin_noalloc into lib/silcmath/mpbin.[ch].  It
10917           is equivalent to the silc_mp_mp2bin but does not allocate any
10918           memory.
10919
10920         * Changed silc_mp_mp2bin API to take length argument.  If it is
10921           non-zero then the buffer is allocated that large.  If zero, then
10922           the size is approximated using silc_mp_sizeinbase, which however
10923           is not relieable.
10924
10925         * Created Global RNG API which is global RNG that application can
10926           initialize.  After initializing, any routine anywhere in the
10927           code (including library) can use RNG without allocating a new
10928           RNG object.  This was done to allow this sort of use of the
10929           RNG in code that has no chance to allocate RNG object.  All
10930           applications currently allocate this and many routines in the
10931           library use this.  Affected file lib/silccrypt/silcrng.[ch].
10932
10933         * Removed the RNG kludge from lib/silcmath/primegen.c and changed
10934           it to use the Global RNG API.
10935
10936         * Defined Authentication Payload into protocol specification that
10937           is used during SILC session to authenticate entities.  It is
10938           used for example by client to authenticate itself to the server
10939           to obtain server operator privileges.
10940
10941           Implemented this payload into the lib/silccore/silcauth.[ch].
10942           Implemented also routines for public key based authentication
10943           as the new protocol specification dictates.
10944
10945           Moved definitions of different authentication methods from
10946           lib/silccore/silcprotocol.h into lib/silccore/silcauth.h.
10947
10948         * Added silc_pkcs_encrypt, silc_pkcs_decrypt, silc_pkcs_sign,
10949           silc_pkcs_verify and silc_pkcs_sign_with_hash and
10950           silc_pkcs_verify_with_hash functions into the file
10951           lib/silccrypt/silcpkcs.[ch].
10952
10953 Mon Feb 19 19:59:28 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10954
10955         * The client entry's userinfo pointer must be always valid.
10956           Otherwise the [<unknown>] bug will surface beacuse the WHOIS
10957           will fail since it requires the userinfo.  Now, the userinfo
10958           is allocated as "" if actual userinfo does not exist.  Actually,
10959           it must exist and it is totally Ok to drop client connections
10960           that does not announce the userinfo.  However, we will make
10961           this workaround for now.
10962
10963         * Added silc_net_get_remote_port into lib/silcutil/silcnet.[ch]
10964           to return the remote port by socket.
10965
10966 Mon Feb 19 14:26:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10967
10968         * Changed SILC_SERVER_COMMAND_EXEC_PENDING macro to the name
10969           SILC_SERVER_PENDING_EXEC and added an new macro
10970           SILC_SERVER_PENDING_DESTRUCTOR which is called to free the
10971           data or when error occurs while processing the pending command.
10972
10973           Added new argument `destructor' into silc_server_command_pending
10974           and to the SilcServerCommandPending object.  This destructor is
10975           now called after calling the pending callback or if error occurs
10976           immediately.  If error occurs the actual pending callback won't
10977           be called at all - only the destructor.  The destructor may be
10978           NULL if destructor is not needed.
10979
10980           All this applies for client library code as well.  Similar
10981           changes were made there as well for the pending commands.
10982
10983           In the client, the application must now allocate the
10984           SilcClientCommandContext with the silc_client_command_alloc
10985           function.
10986
10987         * Added reference counter to the SilcServerCommandContext.  Added
10988           function silc_server_command_alloc and silc_server_command_dup
10989           functions.
10990
10991           Same type of functions added to the client library for the same
10992           purpose as well.
10993
10994         * Removed the cmd_ident from IDListData away since it is now
10995           global for all connections.  It is the command identifier used
10996           in command sending and with pending commands.  The affected file
10997           is silcd/idlist.h.
10998
10999         * Added reference counter to the SilcSocketConnection objecet to
11000           indicate the usage count of the object.  The object won't be
11001           freed untill the reference counter hits zero.  Currently only
11002           server uses this, and client ignores it.  The client must be
11003           set to use this too later.  The affected files are
11004           lib/silccore/silcsockconn.[ch].  Added also the function
11005           silc_socket_dup to increase the reference counter.
11006
11007           This was mainly added because it is possible that the socket
11008           is removed underneath of pending command or other async
11009           operation.  Now it won't be free'd and proper DISCONNECTING
11010           flags, etc. can be set to avoid sending data to connection that
11011           is not valid anymore.
11012
11013         * Added SILC_SET_DISCONNECTING to server.c when EOF is read from
11014           the connection.  After that it sets SILC_SET_DISCONNECTED.
11015           It is, however, possible that the socket data is not still freed.
11016           The silc_server_packet_process now checks that data is not
11017           read or written to connection that is DISCONNECTED.  The socket
11018           get's freed when the reference counter hits zero.
11019
11020 Mon Feb 19 00:50:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11021
11022         * Changed the client operation API: channel_message operation's
11023           `sender' is now the client entry of the sender, not the nickname
11024           and the `channel' is the channel entry, not the channel name.
11025
11026           In the private_message operation the `sender' is now also the
11027           client entry of the sender not the nickname.
11028
11029           Affected file is lib/silcclient/ops.h and all applications
11030           using the client operations.
11031
11032 Sat Feb 17 22:11:50 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11033
11034         * Moved the calling of ops->connect() from connect_to_server_final
11035           into receive_new_id functin since that is the point when the
11036           client is actually allowed to send traffic to network.  The
11037           affected file is lib/silcclient/client.c.
11038
11039 Sat Feb 17 13:15:35 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11040
11041         * When receiving NEW_CHANNEL_LIST, NEW_CHANNEL_USER_LIST,
11042           NEW_ID_LIST and SET_MODE_LIST packets, broadcast the list packet
11043           (if needs broadcasting) instead of broadcasting the packets one
11044           by one which would make a burst in the network traffic.
11045
11046         * Added `broadcast' argument to the functions in silcd/server.[ch]
11047           silc_server_create_new_channel[_with_id] to indicate whether
11048           to send New Channel packet to primary router.
11049
11050 Sat Feb 17 01:06:44 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11051
11052         * Added new function into the silcd/server.[ch] files:
11053           silc_server_create_new_channel_with_id to create new channel with
11054           already existing Channel ID.
11055
11056         * Added new packet type SILC_PACKET_SET_MODE_LIST into the file
11057           lib/silccore/silcpacket.h.  This packet is used t send list of
11058           Set Mode payloads inside one packet.  Server uses this to set
11059           the modes for the channels and clients on those channels, that it
11060           announced to the router when it connected to it.  The protocol
11061           specification has been updated accordingly.
11062
11063         * The silc_server_new_channel did not handle the packet coming
11064           from normal server as it normally does not send that.  However,
11065           when it announces its channels it does send it.  Implemented
11066           the support for that.
11067
11068         * Added SILC_ID_CHANNEL_COMPARE macro to compare to Channel ID's
11069           into the file lib/silccore/id.h.
11070
11071 Fri Feb 16 23:57:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11072
11073         * Fixed memory leaks in the functions silc_idlist_del_client,
11074           silc_idlist_del_channel and silc_idlist_del_server in the file
11075           silcd/idlist.c.  All of those leaked like a sieve.
11076
11077         * Fixed some small memory leaks in the client's function
11078           silc_client_notify_by_server.
11079
11080         * Added functions into silcd/server.c: silc_server_announce_clients,
11081           silc_server_announce_channels and silc_server_announce_server.
11082           These functions are used by normal and router server to announce
11083           to its primary router about clients, channels and servers (when
11084           router) that we own.  This is done after we've connected to the
11085           router.
11086
11087           These functions effectively implements the following packet types:
11088           SILC_PACKET_NEW_CHANNEL_LIST, SILC_PACKET_NEW_CHANNEL_USER_LIST
11089           and SILC_PACKET_NEW_ID_LIST.
11090
11091         * Added new functions into the silcd/packet_receive.[ch]:
11092           silc_server_new_id_list, silc_server_new_channel_list and
11093           silc_server_new_channel_user_list to handle the incoming
11094           NEW_ID_LIST, NEW_CHANNEL_LIST and NEW_CHANNEL_USER_LIST packets.
11095
11096         * Added support of changing Channel ID in the function
11097           silc_server_replace_id.  If the server that announces a channel
11098           to the router already exists in the router (with same name but
11099           with different Channel ID), router is responsible to send
11100           Replace ID packet to the server and force the server to change
11101           the Channel ID to the one router has.
11102
11103         * Added new notify type SILC_NOTIFY_TYPE_CHANNEL_CHANGE to notify
11104           client that the Channel ID has been changed by the router.  The
11105           normal server sends this to the client.  Client must start using
11106           the new Channel ID as the channel's ID.
11107
11108           Implemented handling of this new type into lib/silcclient/client.c
11109           into the function silc_client_notify_by_server.
11110
11111         * Added new function silc_idlist_replace_channel_id into the files
11112           silcd/idlist.[ch] to replace the Channel ID.
11113
11114 Fri Feb 16 14:14:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11115
11116         * Call silc_server_command_identify_check always when processing
11117           the IDENTIFY command in silcd/command.c
11118
11119 Thu Feb 15 20:07:37 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11120
11121         * Added new packet type SILC_PACKET_HEARTBEAT that is used to
11122           send keepalive packets.  The packet can be sent by clients,
11123           servers and routers.
11124
11125           Added function silc_socket_set_heartbeat into the file
11126           lib/silccore/silcsockconn.[ch] to set the heartbeat timeout.
11127           If not set, the heartbeat is not performed.  The actual
11128           heartbeat is implemented in the low level socket connection
11129           library.  However, application is responsible of actually
11130           sending the packet.
11131
11132           Added silc_server_send_heartbeat to send the actual heartbeat
11133           packet into silcd/packet_send.[ch].  Server now performs
11134           keepalive with all connections.
11135
11136         * Added silc_task_get_first function into lib/silcutil/silctask.c
11137           to return the timeout task with shortest timeout.  There was a bug
11138           in task unregistration that caused problems.  TODO has been
11139           updated to include that task system must be rewritten.
11140
11141         * The client library will now resolve the client information when
11142           receiving JOIN notify from server for client that we know but
11143           have incomplete information.
11144
11145         * Rewrote parts of silc_server_remove_from_channels and
11146           silc_server_remove_from_one_channel as they did not remove the
11147           channel in some circumstances even though they should've.
11148
11149         * Encryption problem encountered in server:
11150
11151           The LEAVE command used to send the Channel Key packet to the
11152           router immediately after generating it.  However, the code
11153           had earlier sent Remove Channel user packet but not immediately,
11154           ie. it was put to queue.  The order of packets in the router
11155           was that Channel Key packet was first and Remove Channel User
11156           packet was second, even though they were encrypted in the
11157           reverse order.  For this reason, MAC check failed.  Now, this
11158           is fixed by not sending the Channel Key packet immediately but
11159           putting it to queue.  However, this is more fundamental problem:
11160           packets that are in queue should actually not be encrypted
11161           because packets that are sent immediately gets encrypted
11162           actually with wrong IV (and thus MAC check fails).  So, packets
11163           that are in queue should be encrypted when they are sent to
11164           the wire and not when they put to the queue.
11165
11166           However, the problem is that the current system has not been
11167           designed to work that way.  Instead, the packet is encrypted
11168           as soon as possible and left to the queue.  The queue is then
11169           just purged into wire.  There won't be any fixes for this
11170           any time soon.  So, the current semantic for packet sending
11171           is as follows:
11172
11173           o If you send packet to remote host and do not force the send
11174           (the packet will be in queue) then all subsequent packets to the
11175           same remote host must also be put to the queue.  Only after the
11176           queue has been purged is it safe again to force the packet
11177           send immediately.
11178
11179           o If you send all packets immediately then it safe to send
11180           any of subsequent packets through the queue, however, after
11181           the first packet is put to queue then any subsequent packets
11182           must also be put to the queue.
11183
11184           Follow these rules and everything works fine.
11185
11186 Thu Feb 15 14:24:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11187
11188         * Added new function silc_server_remove_clients_by_server to
11189           remove all client entries from ID list when the server connection
11190           is lost.  In this case it is also important to invalidate all
11191           client entires as they hold the invalid server entry.  This
11192           fixes fatal bug when server has lost connection and will reconnect
11193           again.
11194
11195 Wed Feb 14 16:03:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11196
11197         * Made some sanity checks to silc_server_daemonise like to check
11198           whether the requested user and group actually exists.
11199
11200         * Added sanity check to SKE's silc_ske_responder_finish to check
11201           that the public and private key actually is valid.
11202
11203         * Invalidate the client's nickname when receiving Replace ID
11204           packet and the Client ID is being replaced.  This means that the
11205           server will query the nickname if someone needs it (client)
11206           a bit later.
11207
11208         * Sort the ID Cache in client library when the ID Cache data
11209           has changed (needs sorting).
11210
11211         * Do not allow for SILC client to create several connections to
11212           several servers.  The client does not support windows right now
11213           and generating multiple connections causes weird behaviour.
11214
11215           Irssi-silc client does support windows and can handle several
11216           connections without problems, see: www.irssi.org and SILC plugin.
11217
11218         * Fixed some places where client was added to the IDList.  The
11219           rule of thumb is following (in order to get everything right):
11220           If the client is directly connected local client then the
11221           `connection' argument must be set and `router' argument must be
11222           NULL to silc_idlist_add_client function.  If the client is not
11223           directly connected client then the `router' argument must
11224           bet set and the `connection' argument must be NULL to the
11225           silc_idlist_add_client function.
11226
11227         * The funtion silc_server_packet_send_local_channel actually did
11228           not check whether the client was locally connected or not.  It
11229           does that now.  Fixed a bug related to LEAVE command.
11230
11231         * Fixed Remove Channel User payload parsing bug in server's
11232           silcd/packet_receive.c.  Fixed a bug related to LEAVE command.
11233
11234         * The server's silc_server_save_channel_key now checks also the
11235           global ID list for the channel as it might not be in the local
11236           list.  Fixed a bug related to LEAVE command.
11237
11238         * Is this the end of the [<unknown>] buglet that has been lurking
11239           around for a long time?  A little for loop fix in server's
11240           silc_server_command_whois_parse that is used by both IDENTIFY
11241           and WHOIS command.  At least, this was a clear bug and a cause
11242           of one type of [<unknown>] buglet.
11243
11244         * WHOIS and IDENTIFY commands call the function
11245           silc_server_command_[whois/identify]_check function even if
11246           we are not router server.
11247
11248 Tue Feb 13 19:55:59 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11249
11250         * Added --with-gmp configuration option.  If set the GMP
11251           is always compiled in the SILC source tree.  If not set then
11252           it is checked whether the system has the GMP3 installed.  If
11253           it has then the GMP won't be compiled (the system's headers
11254           and library is used), if it doesn't have it then the GMP is
11255           compiled in the SILC source tree.
11256
11257 Mon Feb 12 11:20:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11258
11259         * Changed RSA private exponent generation to what PKCS #1
11260           suggests.  We try to find the smallest possible d by doing
11261           modinv(e, lcm(phi)) instead of modinv(e, phi).  Note: this is
11262           not security fix but optimization.
11263
11264 Sun Feb 11 18:19:51 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11265
11266         * Added new config entry [Identity] to fork the server and run
11267           it as specific user and group.  A patch from Bostik.
11268
11269         * Imported Dotconf configuration library into lib/dotconf.
11270           This will be used to create the SILC configuration files later.
11271           It will appear in the distsribution after this commit.
11272
11273 Sat Feb 10 21:13:45 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11274
11275         * A big code auditing weekend happening.  Auditing code for
11276           obvious mistakes, bugs and errors.  Also, removing any code
11277           that is obsolete.
11278
11279           Removed files for being obsolete:
11280
11281           o lib/silcutil/silcbuffer.c (the buffer interface is entirely in
11282           inline in the file lib/silcutil/silcbuffer.h)
11283
11284           o lib/silcutil/silcbufutil.c (the header has inline versions)
11285
11286           Changed code to fix possible error conditions:
11287
11288           o The buffer formatting routines now check that the destination
11289           buffer really has enough space to add the data.  This applies for
11290           both buffer formatting and unformatting
11291           (lib/silcutil/silcbuffmt.[ch]).  Also, the entire buffer
11292           unformatting was changed to accomodate following rules:
11293           XXX_*STRING_ALLOC will allocate space for the data into the pointer
11294           sent to the function while XXX_*STRING will not allocate or copy
11295           the data into the buffer.  Instead it sets the pointer from the
11296           buffer into the pointer sent as argument (XXX_*STRING used to
11297           require that the pointer must be allocated already).  This change
11298           makes this whole thing a bit more consistent and more optimized
11299           (note that the data returned in the unformatting with XXX_*STRING
11300           must not be freed now).  The routines return now -1 on error.
11301
11302           o Tried to find all code that use buffer_format and buffer_unformat
11303           and added return value checking to prevent formatting and
11304           especially unformatting errors and possible subsequent fatal
11305           errors.
11306
11307           o Changed ske->x and ske->KEY to mallocated pointers in
11308           lib/silcske/silcske.h.  Fixed possible data and memory leak.
11309
11310           o Added return value checking to all *_parse* functions.  Fixed
11311           many memory leaks as well.
11312
11313           o Added length argument to silc_id_str2id in lib/silccore/id.[ch]
11314           so that buffer overflows would not happen.  All code now also
11315           checks the return value as it can fail.
11316
11317 Mon Feb  5 20:08:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11318
11319         * Added reconnection support to server if the normal server looses
11320           its connection to the router (for example if router is rebooted).
11321           The server performs normal reconnection strategy implemented
11322           to the server.  Affected file silcd/server.c.
11323
11324 Sun Feb  4 13:18:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11325
11326         * Added new packet type SILC_PACKET_SET_MODE that is used to
11327           distribute the information about changed modes (for clients,
11328           channels and clients channel modes) to all routers in the
11329           network.  Updated the protocol specification accordingly.
11330
11331           Added functions into silcd/packet_send.c and
11332           silcd/packet_receive.c: silc_server_send_set_mode,
11333           silc_server_set_mode.
11334
11335           Added new files silcmode.[ch] into lib/silccore that implements
11336           the encoding and decoding of Set Mode Payload.  Added new type
11337           SilcSetModePayload.  Moved the definitions of different modes
11338           from lib/silccore/silcchannel.h into lib/silccore/silcmode.h.
11339
11340 Sat Feb  3 15:44:54 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11341
11342         * Oops, a little mistake in server's connection authentication
11343           protocol.  The protocol is not ended with FAILURE but with
11344           SUCCESS if the authentication is Ok. :)  Affected file is
11345           silcd/protocol.c.
11346
11347         * Implemented NICK_CHANGE notify handling in server in the file
11348           silcd/packet_receive.c  The NICK_CHANGE notify is distributed to
11349           the local clients on the channel.  After the changing nickname
11350           in router environment snhould work and the [<unknown>] nickname
11351           should appear no more.
11352
11353           The silc_server_replace_id function that receives the Replace ID
11354           payload now sends the NICK_CHANGE notify type also in the file
11355           silcd/packet_receive.c
11356
11357         * Changed WHOIS and IDENTIFY command to support the maximum amount
11358           of arguments defined in protocol specs (3328 arguments).  This
11359           fixed a bug that caused problems when there were more than three
11360           users on a channel.
11361
11362 Fri Feb  2 11:42:56 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11363
11364         * Added extra parameter, command identifier, to the
11365           silc_client_send_command so that explicit command identifier
11366           can be defined.
11367
11368           Changed that ID list routines uses specific command identifier
11369           when sending WHOIS/IDENTIFY requests to the server so that they
11370           can be identified when the reply comes back.
11371
11372           Affected files lib/silcclient/command.[ch],
11373           lib/silcclient/client.c and lib/silcclient/idlist.[ch].
11374
11375         * Added `sender' argument to silc_server_packet_send_to_channel
11376           to indicaet the sender who originally sent the packet to us
11377           that we are now re-sending.  Ignored if NULL.  Affected file
11378           silcd/packet_send.[ch].
11379
11380         * Added some server statistics support in silcd/server_internal.h
11381           SilcServerStatistics structure and around the server code.  Also
11382           send some nice statistics information when client is connecting
11383           to the client.
11384
11385 Thu Feb  1 23:31:21 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11386
11387         * Fixed channel ID decoding in server's JOIN command reply in
11388           silcd/command_reply.c
11389
11390         * Fixed braodcasting of replace ID payload to not to send it if
11391           we are standalone server in silcd/packet_receive.c.
11392
11393         * Fixed all channel message sending routines to not to send
11394           packets to clients that has router set, since they are routed
11395           separately in the same function earlier.  Affects file
11396           silcd/packet_send.c and all channel packet sending functions.
11397
11398         * In USERS reply, res_argv[i] are not allocated, the table
11399           is allocated.  Thus changed that free the table, not its
11400           internals.
11401
11402         * In server's whois_check and identify_check if the client is
11403           locally connected do not send any WHOIS commands - they are not
11404           needed.
11405
11406 Thu Feb  1 21:32:27 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11407
11408         * Fixed some minor bugs in client when sending WHOIS command.  The
11409           arguments was in wrong order.
11410
11411         * Removed statis function add_to_channel from server in
11412           silcd/command.c that was previously used with the joining but
11413           is obsolete now.
11414
11415         * Tested USERS command in router environment successfully with two
11416           routers, two servers and two clients.
11417
11418 Thu Feb  1 00:54:26 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11419
11420         * Reorganized the USERS command and command reply in client library
11421           in lib/silcclient/command.c and lib/silcclient/command_reply.c.
11422           When the command is given by user we register a pending command
11423           callback that will reprocess the command after the reply has been
11424           received from the server.  When reprocessing the packet we then
11425           display the information.  Thus, the USERS information is displayed
11426           now in the command callback instead of in the command reply
11427           callback.  The processing of the command is same as previously
11428           when server has sent the command reply in the JOINing process.
11429
11430         * Added to USERS command in silcd/command_reply.c to join the client,
11431           we didn't use to know about, to the channel after we've created
11432           a client entry for it.  Also, for clienet we did know already still
11433           check whether it is on the channel or not and add it if not.
11434
11435         * Removed silc_server_command_join_notify as the function and its
11436           use was obsolete.
11437
11438 Tue Jan 30 22:39:15 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11439
11440         * Changed the client's pending command handling to the same as the
11441           server's pending command handling.  It is also now possible to
11442           execute command reply functions from other command reply
11443           function as the function callbacks for commands and command
11444           replies are one and same.  The pending commands are not static
11445           list anymore, it is mallocated SilcDList in lib/silcclient/client.h
11446           in client connection context.  Thus, pending commands are server
11447           connection specific as it is convenient.
11448
11449           Changed the function silc_client_command_pending and
11450           silc_client_command_pending_del and added new function
11451           silc_client_command_pending_check.  Removed the
11452           SILC_CLIENT_CMD_REPLY_EXEC, and SILC_CLIENT_PENDING_COMMAND_CHECK
11453           macros.
11454
11455         * Added cmd_ident, current command identifier, to the client
11456           connection context in lib/silcclient/client.h to keep track on
11457           command identifiers used in command sending.  Client's command reply
11458           function handling now supports the mandatory command identifiers.
11459
11460         * Added SILC_CLIENT_COMMAND_EXEC_PENDING macros to all command reply
11461           funtions in client to fully support pending command callbacks.
11462
11463         * NOTE: the name_list in USERS (old NAMES) command is NOT sent anymore
11464           as one of the arguments to the application in the command reply
11465           client operation.
11466
11467         * NOTE: The FORWARDED flag is depracated.  It used to be depracated
11468           before first releasing SILC but came back.  Now it is removed again
11469           and should come back nomore.  The FORWARDED flag was used only
11470           by the JOINing procedure by forwarding the command packet to router.
11471           Now, the JOINing procedure has been changed to more generic (due
11472           to various router environment issues) and FORWARDED is not needed
11473           anymore for anything.  The protocol specification is yet to be
11474           updated.
11475
11476           Now, removed silc_server_packet_forward from server and the flag
11477           SILC_PACKET_FORWARDED from lib/silccore/silcpacket.h.
11478
11479 Tue Jan 30 00:05:05 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11480
11481         * Renamed NAMES command to USERS command.  The NAMES was named that
11482           due to historical reasons.  Now it is renamed.  Also, rewrote
11483           parts of the USERS command.  The nickname list is not sent anymore
11484           by the server.  Only Client ID and mode lists are sent in the USERS
11485           command.  Changed this also to the protocol specification.
11486
11487           The client now resolves the names and stuff after it receives
11488           the USERS list from the server when joining to the channel.
11489
11490         * WHOIS and IDENTIFY commands has been changed to support multiple
11491           Client ID's per command.  One can now search for multiple users
11492           in the network by sending only one WHOIS or IDENTIFY command.
11493           Changed the code and the protocol specifications.
11494
11495         * Removed silc_server_command_identify_parse and changed that IDENTIFY
11496           uses silc_server_command_whois_parse to parse the request. */
11497
11498         * If normal server, do not parse the WHOIS and IDENTIFY requests
11499           before sending it to the router.  Saves some time.
11500
11501 Sun Jan 28 16:19:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11502
11503         * Fixed JOIN command on client library.  Wrong number of arguments
11504           used to crash the client.
11505
11506         * Added silc_server_channel_has_global function to check whether
11507           channel has global users or not.
11508
11509         * Added silc_server_channel_has_local function to check whether channel
11510           has locally connected clients on the channel.
11511
11512         * The silc_server_remove_from_one_channel now checks whether the
11513           channel has global users or not after given client was removed from
11514           the channel.  It also checks whether the channel has local clients
11515           on the channel anymore.  If it does not have then the channel entry
11516           is removed as it is not needed anymore.
11517
11518         * The silc_server_notify now checks on JOIN notify whether the joining
11519           client is one of locally connected or global.  If it is global then
11520           the channel has now global users on the channel and that is marked
11521           to the channel entry.  Also, it now saves the global client to
11522           global list who is joining and JOINs it to the channel.  This is
11523           for normal server, that is.
11524
11525           Changed silc_server_send_notify_on_channel,
11526           silc_server_packet_relay_to_channel and
11527           silc_server_packet_send_to_channel check if we are normal server
11528           and client has router set (ie. global client) do not send the
11529           message to that client, as it is already routed to our router.
11530
11531         * Implemented LEAVE notify type handling in silc_server_notify
11532           function.
11533
11534         * Tested LEAVE command in router environment successfully.  Tested
11535           with two routers, two servers and two clients.
11536
11537         * Updated TODO.
11538
11539         * idlist_find_xxx_by_id routines now dumps the ID on the debug mode.
11540
11541         * Implemented SIGNOFF notify type handling in silc_server_notify
11542           function.
11543
11544         * silc_server_remove_id now removes the client entry from all channels
11545           it has joined and thusly sends SIGNOFF notify type.
11546
11547         * Rewrote the NAMES list generation in server by removing two excess
11548           loops.  The lists are created now inside one loop.
11549
11550 Sat Jan 27 22:34:56 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11551
11552         * silc_server_remove_channel_user checks now also global list
11553           for channel and client.
11554
11555         * silc_server_new_channel_user checks now both local and global
11556           list for channel and client.  Fixed a bug in client id decoding.
11557           Used to decode wrong buffer.
11558
11559         * silc_server_channel_message checks now both local and global
11560           list for channel entry.
11561
11562         * Tested channel joining (hence JOIN) in router environment
11563           successfully.  Tested with two routers, two servers and two
11564           clients.
11565
11566         * Tested channel message sending in router environment successfully.
11567
11568 Thu Jan 11 03:22:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11569
11570         * Added silc_server_save_channel_key into server.[ch] to save the
11571           received channel key in Channel Key payload processing. It is
11572           also used in JOIN command reply handling.
11573
11574           Equivalent function silc_client_save_channel_key added into
11575           client.[ch] into client library.
11576
11577         * Changed JOIN command reply to send information whether the channel
11578           was created or not (is existing already) and the channel key
11579           payload.  Changed protocol specs accordingly.
11580
11581         * Fixed bugs in WHOIS and IDENTIFY command reply sending when
11582           the request was sent by ID and not by nickname.  Crashed on
11583           NULL dereference.
11584
11585 Sat Dec 23 21:55:07 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11586
11587         * Fixed a bug in Client library.  IDENTIFY and WHOIS reply functions
11588           now correctly save the received data.
11589
11590         * silc_server_free_sock_user_data now notifies routers in the
11591           network about entities leaving the network.
11592
11593           At the same time implemented functions silc_server_remove_id
11594           and silc_server_send_remove_id to receive and send REMOVE_ID
11595           packets.  The packet is used to notify routers in the network
11596           about leaving entities.  The ID removed will become invalid in
11597           the network.
11598
11599         * Added function silc_idlist_del_server into server. Removes and
11600           free's server entry from ID list.
11601
11602         * silc_server_private_message function now checks, if we are router,
11603           that the destination ID really is valid ID, naturally.
11604
11605         * In router when NEW_ID packet is received (for new client) the
11606           hash of the Client ID is saved in the ID Cache but the
11607           client->nickname is set to NULL, instead of putting the hash
11608           to it as well.
11609
11610           IDENTIFY command now also checks that client->nickname must be
11611           valid. If it is not if will request the data from the server who
11612           owns the client.  Added new function
11613           silc_server_command_identify_check.
11614
11615         * Added silc_command_set_command into lib/silccore/silcommand.[ch]
11616           to set the command to already allocated Command Payload.
11617
11618         * Tested private message sending in router environment with two
11619           routers, two servers and two clients.  Fixed minor bugs and now
11620           it works fine.
11621
11622         * Fixed segfault from client's NAMES command. Used to crash if
11623           not on any channel.
11624
11625         * Forwarded packets must not be routed even if it is not destined
11626           to the receiver.  Changed server code comply with this.
11627
11628 Sun Dec 17 14:40:08 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11629
11630         * Added `require_reverse_mapping' boolean value to ServerParams
11631           structure. If TRUE (not default) the server will require that
11632           the connecting host has fully qualified domain name.
11633
11634           If the reverse mapping is not required and hostname could not be
11635           found the IP address is used as hostname.
11636
11637 Sat Dec 16 17:39:54 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11638
11639         * Implemented version string checking to both client and server.
11640           The check is incomplete currently due to the abnormal version
11641           strings used in development version of SILC.
11642
11643         * Changed all command functions in server to use the new
11644           CHECK_ARGS macro.
11645
11646 Fri Dec 15 15:55:12 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11647
11648         * Changed char *data to unsigned char *data in ID Cache system to
11649           support binary data as ID Cache data. Changed code to support
11650           binary data in lib/silccore/idcache.c.
11651
11652         * Renamed silc_server_packet_relay_command_reply to
11653           silc_server_command_reply as it is normal packet receiving
11654           function. Rewrote the function to accept command replys for
11655           servers and not only for clients.
11656
11657         * Mark remote router always as registered server if we are connecting
11658           to it.  Otherwise, commands sent by the router to us are ignored.
11659
11660         * All ID List find routines now returns the ID Cache Entry pointer
11661           as well if requested.
11662
11663         * WHOIS command works now in router environment, tested with two
11664           routers, two servers and two clients.
11665
11666         * Cleaned up and rewrote IDENTIFY command. IDENTIFY should work now
11667           in router environment (as it is almost equivalent to WHOIS) but
11668           hasn't been tested thoroughly.  Added new functions:
11669
11670           silc_server_command_identify_parse
11671           silc_server_command_identify_send_reply
11672           silc_server_command_identify_from_client
11673           silc_server_command_identify_from_server
11674
11675         * Disabled route cache adding because adding two different ID's with
11676           same IP replaces the old cache entry thus giving wrong route.
11677           The entry->router->connection is always the fastest route anyway
11678           so route cache may not be needed.  Of course, new routes maybe
11679           established after receiving the ID when the entry->router->connection
11680           might not be anymore the most optimal.
11681
11682 Thu Dec 14 15:55:35 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11683
11684         * Add route cache for received ID for fast routing.
11685
11686         * Added silc_server_packet_route to route received packet on router
11687           that is not destined to us.
11688
11689         * Renamed silc_server_get_route to silc_server_route_get.
11690
11691         * Added id_string and id_string_len fields into SilcServer to
11692           include encoded ServerID for fast comparing without excess
11693           encoding of the ID's.
11694
11695         * Cleaned up WHOIS command on server side. Added following static
11696           functions:
11697
11698           silc_server_command_whois_parse
11699           silc_server_command_whois_check
11700           silc_server_command_whois_send_reply
11701           silc_server_command_whois_from_client
11702           silc_server_command_whois_from_server
11703
11704         * Added macro SILC_SERVER_COMMAND_CHECK_ARGC to check mandatory
11705           arguments in command replies. All command functions should be
11706           updated to use this macro.
11707
11708 Sun Dec 10 23:52:00 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11709
11710         * Minor typo fixes on command reply handling on server.
11711
11712 Tue Nov 28 11:05:39 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11713
11714         * Added silc_server_command_add_to_channel internal routine to add
11715           the client to the channel after router has created the channel and
11716           sent command reply to the server.
11717
11718         * Added generic silc_server_send_command to send any command from
11719           server.
11720
11721         * Use static buffer with ID rendering instead of duplicating data.
11722
11723 Mon Nov 27 21:39:40 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11724
11725         * Fixed a channel user mode bug when joining to a channel server gave
11726           everybody channel founder rights, oops.
11727
11728         * We mark ourselves as the router of the incoming server connection
11729           if we are router ourselves.  This way we can check in some packet
11730           sending functions whether it is locally connected server.  For
11731           incoming router connections we put NULL.
11732
11733         * For router sending packets locally means now always sending the
11734           packet cell wide; to local clients and local servers.  For normal
11735           server sending packet locally means sending it to only local
11736           clients.
11737
11738         * Fixed the JOIN command to really work in router environment.  If the
11739           channel is created it is always created by the router.  Router is
11740           also responsible of making the initial joining to the channel,
11741           sending JOIN notify to the sending server and distributing
11742           NEW_CHANNEL and NEW_CHANNEL_USER packets.  Hence, if the channel
11743           does not exist server doesn't do anything else but forward the
11744           command to the router which performs everything.
11745
11746         * Added silc_server_send_channel_key function to send the Channel Key
11747           payload.
11748
11749         * Added silc_server_create_channel_key to create new channel key.  The
11750           channel key is now re-generated everytime someone joins or leaves
11751           a channel, as protocol dictates.  Note: channel->key_len is the
11752           key length in bits.
11753
11754 Wed Nov 22 22:14:19 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11755
11756         * Splitted server.[ch] finally.  Created now packet_send.[ch] and
11757           packet_receive.[ch] to separate packet sending and receiving
11758           routines.  The server.[ch] now includes everything else including
11759           actual packet processing (writing and reading data) and other
11760           server issues.
11761
11762           Renamed silc_server_private_message_send_internal to
11763           silc_server_send_private_message.  The routine is still though
11764           used only to relay private messages as server does not send
11765           private messages itself.
11766
11767           Renamed silc_server_new_channel to silc_server_create_new_channel
11768           and added new function sicl_server_new_channel that handles the
11769           incoming New Channel packet.  Added also new sending function
11770           silc_server_send_new_channel to send New Channel Payload.
11771
11772         * Added new function silc_server_notify to process incoming notify
11773           packet to the server/router. Server may then relay the notify
11774           to clients if needed.
11775
11776         * Added new function silc_server_new_channel_user to process incoming
11777           New Channel User packet.  Router will redistribute the packet and
11778           send JOIN notify to its local clients and locally connected servers
11779           if needed.  Normal server will send JOIN notify to its local client
11780           on same channel when received this packet.  Added also corresponding
11781           sending function silc_server_send_new_channel_user to sent the
11782           payload.
11783
11784         * Added boolean route argument to send_notif_to_channel and
11785           packet_send_to_channel functions to attempt to route the packet
11786           if it is TRUE and send only locally if it is FALSE.
11787
11788 Tue Nov 21 19:49:31 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11789
11790         * silc_server_replace_id now broadcasts the received replace ID
11791           packet if it is not broadcast packet already. The router must
11792           broadcast to inform other routers about changed ID.
11793
11794         * Added backpointer to server's router into SilcServer context in
11795           silcd/server_internal.h.
11796
11797         * Fixed silc_server_packet_broadcast to send correct broadcast
11798           packets.
11799
11800         * The channel key is now distributed to the local client as soon
11801           as it is received from the router (in router environment) so that
11802           no other packet may be sent for the channel until client has
11803           received the key.
11804
11805         * silc_server_remove_channel_user now broadcasts the received
11806           Remove Channel User packet if it is not broadcast packet already.
11807           The router must broadcast to inform other routers about removed
11808           channel user.
11809
11810         * Added users field into SilcPacketContext that is a reference count
11811           of the context.  One can increase the reference count by calling
11812           silc_packet_context_dup which is now changed to just increase the
11813           reference count instead of duplicating the data.  The reference
11814           count is decresed by calling silc_packet_context_free that will
11815           free the data after the reference count hits zero.
11816
11817           For now on the packet context and everything allocated into it
11818           (including the raw packet from network) must be freed by calling
11819           the new silc_packet_context_free function.  Added also new function
11820           silc_packet_context_alloc that must be used now to allocate the
11821           context.  This also means that if a routine is asynchronous from
11822           silc_[client/server]_packet_parse_type the packet context must
11823           be duplicated by calling silc_packet_context_dup.  Otherwise it
11824           gets free'd after silc_[client/server]_packet_parse_type returns.
11825           Also, one must remember that if packet is duplicated then its
11826           reference count must be decresed by calling the free function as
11827           many times as it was duplicated.
11828
11829         * Changed SilcBuffer field from protocol contexts to SilcPacketContext
11830           from both client and server.
11831
11832 Mon Nov 20 23:47:03 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11833
11834         * Made joining to a channel working in router environment.
11835
11836         * Cleaned up JOIN command on server side and create function
11837           silc_server_command_join_channel internal routine to make the
11838           joining happen.
11839
11840 Thu Nov  9 21:12:39 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11841
11842         * Changed silc_command_pending list to SilcDList.  Also, added
11843           `ident' field to SilcServerCommandPending structure to identify
11844           the reply and to call correct callback.
11845
11846           Added silc_server_command_pending_check function to replace the
11847           corresnponding macro.  The silc_command_pending list is not
11848           extern anymore.
11849
11850         * Added silc_command_set_ident into lib/silccore/silccommand.[ch]
11851           to set identifier to previously allocated Command Payload.  It
11852           is used to set identifier for command when resending Command
11853           Payload.
11854
11855         * Added silc_command_payload_encode_payload to encode Command
11856           Payload buffer from SilcCommandPayload structure.
11857
11858         * Added silc_argument_payload_encode_payload to encode Argument
11859           payload buffer from SilcArgumentPayload structure.
11860
11861 Wed Nov  8 21:03:28 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11862
11863         * Changed WHOIS command to support router connection on server side.
11864           The whois request is always sent to router unless the server is
11865           standalone server.  After server has received the reply from the
11866           router will it send the reply to the client.
11867
11868         * Added silc_server_packet_broadcast into silcd/server.[ch] to
11869           broadcast received broadcast packet.  The function is used only
11870           by router.  The broadcast packet is always sent to the router's
11871           primary route.
11872
11873         * Added silc_id_render function in lib/silcutil/silcutil.[ch] to
11874           render given ID to printable string, for log files for example.
11875
11876 Tue Nov  7 22:14:19 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11877
11878         * Made basic router to router connections working.  At least they
11879           can now connect to each other but nothing really works the way
11880           they are supposed - yet.
11881
11882         * Added new initiator token to RouterConnection configuration
11883           file in silcd/serverconfig.[ch].  It is used to tell whether we
11884           are the initiator to the remote router or whether we'll expect
11885           the other end to connect.
11886
11887         * Moved registering of listener task to silc_server_init, hence
11888           the server starts listenning as soon as it is run, even if it
11889           does not have connections to other routers.  Let's see how well
11890           this will work.
11891
11892         * Changed default connection retry timeouts for more suitable in
11893           silcd/server.h.
11894
11895         * Removed cipher and such arguments from silc_idlist_add_client
11896           and silc_idlist_add_server prototypes from silcd/idlist.[ch].
11897           Added new function silc_idlist_add_data to add the keys and stuff
11898           to any ID entry.
11899
11900         * Added SilcIDListData structure and added it to SilcClientEntry
11901           and SilcServerEntry as their first field in the structure.  This
11902           way we can explicitly cast the ID entries to the SilcIDListData
11903           structure and get common data for the entries.  In past, we had
11904           to first check what type of connection it is and then cast it to
11905           correct ID entry type.  Now, we can directly cast the opaque
11906           pointer to the SilcIDListData (no matter what ID entry it actually
11907           is) and get the data needed.
11908
11909 Mon Nov  6 21:56:12 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11910
11911         * Wow, found a bug in scheduler.  The scheduler uninitialized itself
11912           in some circumstances even if threre were timeout tasks, though not
11913           IO tasks, but tasks anyway.  Now fixed.
11914
11915         * Defined SilcServerConnection structure to hold connection specific
11916           stuff about directly connected servers and routers.  The definition
11917           is currently in silcd/server_internal.h.  I thought about having
11918           a bit more important role fro this struct but for now it is used
11919           only when connecting to other server (or router actually).
11920
11921         * Added connecting retry support in server when connecting to
11922           router(s).  The retry feature implement exponential backoff
11923           algorithm.  Also, added SilcServerParams structure to hold default
11924           parameters for server.  For now, it include these retry settings
11925           and are hard coded.  After server is moded to be as Silc Server
11926           Library this structure will be more important.
11927
11928 Sun Nov  5 22:28:44 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11929
11930         * Changed client librarys channel->clients table to SilcList and
11931           changed code accordingly.
11932
11933 Thu Nov  2 16:28:01 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11934
11935         * Changed client's channel table to SilcList and changed code
11936           accordingly.  Also changed SilcChannelClientEntry to include back-
11937           pointer to the channel so that client entry can use that structure
11938           as list as well and we have fast cross-reference to the channel.
11939           This change dramatically decreased the complexity of channel
11940           handling with client entry and vice versa (removed one extra
11941           loop when searching for channel entry from many functions).
11942
11943         * Changed server->sim from table to SilcDList and changed code
11944           accordingly.
11945
11946         * NAMES command can now be used from user interface.  It will show
11947           the user list on the channel, neatly.
11948
11949         * Added realname pointer to SilcClientEntry in lib/silcclient/idlist.h.
11950           Code now saves realname of the user if it becomes available.
11951
11952         * Renamed configure.in to configure.in.pre and made ./prepare
11953           script to automatically add correct version string to
11954           configure.in which it creates from configure.in.pre.
11955
11956 Wed Nov  1 17:21:26 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11957
11958         * NAMES command reply now shows users mode with the nickname when
11959           joining to channel.
11960
11961         * Moved silc_client_ch[u]mode[_char] functions from
11962           silc/clientutil.[ch] to lib/silcclient/client.[ch].  Though, that
11963           place sucks, they are utility functions and should be in some
11964           other file.
11965
11966         * Fixed some unsigned int's to unsigned short's.  Patch by cras.
11967
11968         * Fixed contrib/getopt*.[ch] to not require config.h.  Patch by
11969           cras.
11970
11971 Tue Oct 31 20:10:37 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11972
11973         * Updated README.
11974
11975         * Added TRQ (efficient deque and list library) into lib/trq.  This is
11976           a very good list library that is currently used in the SILC.  Defined
11977           SilcList API over the library because I didn't like the API very
11978           much.  See lib/trq/silclist.h for the API and examples of how to
11979           use the API.  Fixed various places in the code to use the new
11980           SilcList API. The SilcList is meant for lists that has a structure
11981           already defined as a list.  It is not suitable to add just some
11982           context to the list (in TRQ, the context is the list actually).
11983
11984           So, I defined SilcDList that can be used for the purpose where
11985           predefined list structure does not exit.  This can be used as
11986           such list.  Now some context just can be added to the SilcDList.
11987           Currently this list is not used in the SILC just yet, though there
11988           are a lot places where this can replace dynamically allocated
11989           tables and I will fix these places, later, to use SilcDList.
11990           See lib/trq/silcdlist.h for SilcDList (they are all inline functions,
11991           and use TRQ internally).
11992
11993           Also fixed some annoying warning messages that the original TRQ
11994           code generated.  Also minor changes to TRQ's Makefile.in.
11995
11996         * Added support for querying by Client ID to both WHOIS and
11997           IDENTIFY commands into server, as required by the protocol.
11998
11999         * Removed method function pointers from SilcBuffer structure. They
12000           weren't used to anything and just increased the context size for
12001           no good reason.  This change also made silc_buffer_alloc and
12002           silc_buffer_free functions inline functions.
12003
12004         * Disabled command flooding detection support until it's fixed so
12005           that it accepts commands in but does not execute them more than once
12006           in two seconds.
12007
12008         * Added silc_net_localhost(), to return local hostname, into
12009           lib/silcutil/silcnet.[ch].  Also added client->hostname pointer
12010           that must be initialized before calling silc_client_init.
12011
12012         * Added new function: silc_server_send_notify_on_channels to send
12013           notify messages to all channels client has joined.  It is assured
12014           that the message is sent only once per client.
12015
12016         * Moved silc_log_format (from lib/silcutil/silclog.[ch] into
12017           lib/silcutil/silcutil.[ch] as silc_format function.  The new
12018           function is generic and is used by server as well, not only by
12019           the logging routines.
12020
12021         * Added new SKE status type: SILC_SKE_STATUS_BAD_VERSION to indicate
12022           the provided version string was not acceptable.  Added new function:
12023           silc_ske_check_version into lib/silcske/silcske.h.  The function
12024           must be implemented by the application (client or server) and it
12025           does not reside in the SKE library.  The function checks the version
12026           string remote end sent.
12027
12028         * Added back pointers (to opaque context and to SilcSocketConnection)
12029           into SilcPacketContext structure into lib/silccore/silcpacket.h.
12030
12031         * Added silc_packet_context_dup into lib/silccore/silcpacket.[ch] to
12032           duplicate packet context structure.
12033
12034         * Changed `notify' client operation to send same arguments as client
12035           receives from server except for ID's.  ID's are mapped to correct
12036           ID entry and that is returned.  Also, if channel entry is not sent
12037           by server but the notify is for channel the channel entry is sent
12038           to application (otherwise application doesn't know that it is for
12039           channel (library gets it from packet's Destination ID)).
12040
12041         * Added silc_client_remove_from_channels into client library to
12042           remove a client from all channels it has joined to.  Used when
12043           received SIGNOFF notify from server.  Added also new function
12044           silc_client_replace_from_channels to replace old ID entry with
12045           new ID entry on all channels.  Used when received NICK_CHANGE
12046           notify from server.
12047
12048         * Fixed ID Cache list handling in silc_idlist_get_client in
12049           lib/silcclient/idlist.c.  Also, added silc_idlist_get_client_by_id
12050           to get (or query) client by ID.
12051
12052         * Updated TODO list.
12053
12054         * Added connection authentication status message defined by the
12055           protocol: SILC_CONN_AUTH_OK and SILC_CONN_AUTH_FAILED and added the
12056           support for these into the code in client and server side.
12057
12058         * Added generic function silc_client_send_command to send any command
12059           with variable argument list.  Application should use this function
12060           to send commands if the command functions provided by the library
12061           does not suite for the application's user interface needs.
12062
12063         * Added new `failure' client operation.  Application is notified about
12064           received failure packet if client is executing a protocol.  In this
12065           case the protocol's execution has failed.
12066
12067         * Added SKE's end notify to send the SKE_SUCCESS notify message that
12068           is required by the protocol.
12069
12070         * Added SILC_PROTOCOL_STATE_FAILURE to indicate received failure
12071           packet from remote.  SILC_PROTOCOL_STATE_ERROR indicates local
12072           error at our end.
12073
12074         * Added status flag to SilcSKE object to indicate realtime status
12075           of the SKE protocol.
12076
12077         * Application receives now exactly same command reply arguments as
12078           the library receives from server.  However, if ID is received the
12079           corresponding ID entry is returned to the application (eg. Client
12080           ID is mapped to correct SilcClientEntry entry and that is returned).
12081           Changed command_reply client operation due to this change.
12082
12083         * Changed all ID's in commands and in command replys as ID Payloads.
12084           Change affected both client and server side codes.
12085
12086           All ID's sent in SILC network (with execption of ID's in SILC
12087           Packet header) are sent in ID Payload to support variable length
12088           ID's.
12089
12090         * Server now notifies nick changes and notifies all clients on
12091           the channels about the new nickname (about the new Client ID,
12092           actually).
12093
12094         * Implemented CMODE command to change channel modes. Supports all
12095           channel modes defined by the protocol specs except ban and invite
12096           lists. (Also, private channel key mode is supported but support for
12097           setting private channel key in client is missing, thus, this mode
12098           has no effect on client side (except that server requires that the
12099           client uses private channel key and normal channel traffic does not
12100           work anymore)).
12101
12102           Also, invite mode works per se, but INVITE command does not work
12103           yet correctly, so you can set channel as invite only channel but
12104           inviting clients to the channel does not work (it is yet to be
12105           thought what's the best way to do it).
12106
12107         * Added new command SILC_COMMAND_CUMODE to change user mode on the
12108           channel.  Defined user modes: CHANNEL_FOUNDER and CHANNEL_OPERATOR.
12109           Implemented CUMODE command to change user's mode on the channel.
12110           Supports all modes defined by the protocol specs.
12111
12112         * Added NAMES command reply to return users modes on the channel.
12113
12114         * Removed unnecessary and slow ciphers from lib/silccrypt.
12115
12116         * Set SO_KEEPALIVE option to connection sockets by default.
12117
12118         * Added new command reply status: SILC_STATUS_USER_NOT_ON_CHANNEL.
12119
12120         * Added notify types: MOTD, CMODE_CHANGE and CUMODE_CHANGE.  Also,
12121           redefined the Notify Payload into protocol specs.
12122
12123         * Added silc_id_payload_parse_id to get ID directly from raw
12124           ID payload data.
12125
12126 Mon Oct  9 20:57:02 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12127
12128         * Changed SILC_COMMAND_IDENTIFY in protocol specification to
12129           accept searching by Client ID as well.
12130
12131         * Added support for LEAVE and SIGNOFF notify types in client library.
12132
12133         * Added silc_id_payload_parse_data into lib/silccore/silcpayload.[ch]
12134           to parse ID Payload from raw data.
12135
12136 Sun Oct  8 19:33:08 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12137
12138         * Added flags parameter into silc_ske_assemble_security_properties
12139           function in lib/silcske/silcske.[ch].
12140
12141         * Changed notify client operation to fit better for notify messages
12142           sent by server.  The notify payload received from server is now
12143           passed to the application (after parsing it to SilcNotifyPayload).
12144           It is application's responsibility to retrieve the arguments
12145           from the payload and show the message the way it wants.  The message
12146           sent by server is implementation specific.
12147
12148         * Changed public keys to comply with the protocol specification.
12149           Old public keys are not supported anymore and are not compatible.
12150
12151         * Removed nickname from Channel Payload as the latest draft removed
12152           it.  The client must resolve the nickname from the NAMES command
12153           reply received when it joined the channel.
12154
12155           Also, changed all channel_xxxx_payload to channel_payload_xxxx.
12156
12157 Sat Oct  7 21:55:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12158
12159         * Fixed some errors in protocol specification drafts.
12160
12161         * Created lib/silccore/silcnotify.c to implement Notify Payload
12162           encoding and decoding, lib/silccore/silcpayload.[ch] to implement
12163           generic payloads described by protocol specifications.  The file
12164           includes implementations for ID Payload and Argument Payload.
12165
12166         * Changed Command Payload implementation to use the new Argument
12167           Payload.  Changed command_xxxx_payload to command_payload_xxxx
12168           to comply with SILC coding conventions.
12169
12170         * Added suppport for Argument Payload handling in Notify Payload
12171           implementation as protocol requires it.  Added the new support
12172           into server and client lib as well.
12173
12174 Thu Oct  5 21:16:28 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12175
12176         * Added support for multiple nicknames on same channel.  [n] is
12177           added locally to the nickname if there are more than one same
12178           nicknames on the channel.
12179
12180         * Server now sends all nicknames that matched WHOIS request.
12181           Client also shows the list received from server.
12182
12183         * Added TOPIC command to client side.  User can now set and show
12184           current topic on channel.
12185
12186         * Added MOTD command to client and server.  Also, server sends the
12187           motd when client connects to the server.
12188
12189         * Changed version strings to comply ISO 8601.
12190
12191 Wed Oct  4 23:29:06 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12192
12193         * Fixed protocol error handling in client library.  It should now
12194           cope even if the SKE fails for some reason.
12195
12196         * Made new protocol specification drafts for submitting to IETF.
12197
12198         * Implemented TOPIC command to server in silcd/command.c.
12199
12200         * Added two new notify types into lib/silccore/silcnotify.h:
12201           SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_TOPIC_SET to
12202           notify nickname change and topic setting/change on a channel.
12203
12204         * API change of command_reply operation in client library.  The
12205           application gets now the status type received from server as well.
12206
12207 Sat Sep 30 16:57:42 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12208
12209         * Removed the function just added to lib/silcutil/silcschedule.[ch].
12210
12211         * Cras fixed and optimized the packet handling even further and
12212           it should work now.  Minor change to the prototype of function
12213           silc_packet_receive_process in lib/silccore/silcpacket.[ch].
12214
12215 Sat Sep 30 08:48:47 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12216
12217         * Added new function into lib/silcutil/silcschedule.[ch]:
12218           silc_schedule_with_fd to select() a specified fd.  The function
12219           returns after timeout expires or data arrives or goes.  The
12220           function is used by packet routines to wait that all data is
12221           received from network.
12222
12223         * Fixed data reading from network in lib/silccore/silcpacket.c.
12224           The code now assures that all data is read from the fd and then
12225           continues packet processing.  This was a bug fix since the code
12226           used to drop some data in some circumstances.
12227
12228         * Added new function into lib/silcclient/client.[ch]:
12229           silc_client_start_key_exchange to start key exchange after
12230           connection has been established to server.  The code internally
12231           now uses this funtion but its main purpose was to provide it
12232           for applications that perform their own connecting.  After
12233           application has created a connection it merely calls this
12234           function to start the key exchange between client and server.
12235           The library takes care of everything else after that.
12236
12237           Updated also lib/silcclient/README to explain the usage of
12238           this new function.
12239
12240         * Do not send to application information that connection has
12241           been established.  Application gets notified it by connect
12242           operation anyway.
12243
12244 Thu Sep 28 23:40:19 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12245
12246         * Applied cras's patch to add silc_schedule_one function.  The
12247           function runs scheduler once and returns.
12248
12249         * Fixed the scheduler after cras messed it up.  The timeout
12250           handling works now as it's supposed to work.
12251
12252         * Added into lib/silccore/ silcnotify.h to include notify
12253           message types support.  Changed silc_server_send_notify*
12254           functions, in server.[ch], to support those new notify types.
12255           Added the support for the notify types into client library,
12256           as well.  Added new notify client operation into ops.h in
12257           lib/silcclient/.
12258
12259         * Changed silc_server_packet_send_to_channel to send normal
12260           packets instead of just channel message packets.  The function
12261           is now used to send the notify packets to channels.  It is not
12262           used to send channel message packets anymore, as server never
12263           sends them anymore.
12264
12265         * Added explicit casting into lib/silcutil/silcbuffmt.c to few
12266           va_arg()s as it seems to require it nowadays.  I guess, if SILC
12267           is compiled with older va_arg() the new code should work anyway.
12268
12269 Wed Sep 13 18:10:14 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12270
12271         * Splitted core library.  Core library (lib/silccore) includes
12272           now only SILC protocol specific core (and common) components.
12273           Created new utility library (lib/silcutil) that includes more
12274           generic purpose stuff.  The stuff for util library was taken
12275           from the old core library.  This was minor and easy split.
12276
12277         * Created SILC Client Library (lib/silcclient) that includes
12278           implementation of the SILC client without user interface.  This
12279           was major move from silc/ directory.  The code has been changed
12280           so that it is transparent towards the user interface.  The
12281           silc/ directory includes now the same user interface as before
12282           and it uses the new client library.  Read lib/silcclient/README.
12283           Basicly, the client library performs everything else related
12284           to SILC except user interface handling.  Also, configuration
12285           files are considered to be part of user interface and library
12286           does not handle them.
12287
12288           This change also changed a lot of structures, function naming etc.
12289           Most important change was that SilcClientWindow object was
12290           renamed to SilcClientConnection in the client library.  Created
12291           also new file lib/silcclient/ops.h.  Also added new files
12292           silc/local_command.[ch] and silc/client_ops.[ch].
12293
12294           All these changes were made to make it easier for user interface
12295           designers to create what ever user interface for the SILC client
12296           they want.
12297
12298           It is also expected that the server will be moved to lib
12299           directory as well and SILC Server Library will be created;
12300           sometimes in the future.
12301
12302         * Removed Local commands from lib/silccore/silccommand.h as
12303           they are application specific and new client library does not
12304           handle any of those anymore.
12305
12306         * Several functions moved to lib/silcutil/silcutilc.[ch] from
12307           old client implementation in silc/.
12308
12309         * Added support for callback functions in SILC_LOG_* macros.
12310           Application can now set its own callbacks that will be called
12311           instead of using the default functions that will always print
12312           the debug messages to stderr (or stdout).  Also, debugging can
12313           now be disabled by setting silc_debug to FALSE and re-enabled by
12314           setting it to TRUE.  Note, that logging will still work even
12315           if debugging is disabled.
12316
12317           New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
12318           silc_log_reset_callbacks, silc_log_set_debug_callbacks and
12319           silc_log_reset_debug_callbacks.
12320
12321         * To enable debugging in silc client one must give now -d
12322           option on command line.
12323
12324         * Changed silc_schedule_init to automatically allocate task queues
12325           if they are not allocated before calling it.
12326
12327 Thu Sep  7 10:49:33 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12328
12329         * Added GMP 3.1 into math library.
12330
12331 Sun Aug 20 21:27:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12332
12333         * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
12334           a channel in SILC network.  The packet is used by servers and
12335           routers to notify other routers that user has left a channel.
12336           This little feature was missing until now.  Added the feature
12337           to protocol specification as well.
12338
12339           Added functions: silc_server_send_remove_channel_user and
12340           silc_server_remove_channel_user into server.[ch].
12341
12342         * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
12343           lib/silccore/silcpacket.h.  However, they are not implemented
12344           yet.
12345
12346 Sat Aug 19 23:04:16 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12347
12348         * Fixed joining to a channel and sending channel messages
12349           between server and router.  The channel message sending should
12350           now work inside a cell.
12351
12352 Tue Jul 25 20:46:13 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12353
12354         * Fixed the private message sending between server and router.
12355           The private message sending should now work inside a cell.
12356
12357         * Added silc_server_replace_id into server.[ch] to replace
12358           existing ID in the SILC network.
12359
12360         * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
12361           and silc_idlist_replace_server_id into idlist.[ch] in server.
12362
12363 Mon Jul 24 18:33:31 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12364
12365         * Fixed the server to server connections.  Server can again now
12366           connect to router.  Router to router connections probably does
12367           not work just yet.
12368
12369 Thu Jul 20 13:15:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12370
12371         * Added dynamic protocol registering support.  Now protocols can
12372           registered and unregistered on the fly.  Patch by cras.
12373
12374 Wed Jul 19 19:08:46 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12375
12376         * Added lib/contrib directory to hold routines that some platforms
12377           don't have but are needed by SILC.
12378
12379         * Added getopt.c, getopt1.c and getopt.h from GNU C library
12380           into lin/contrib to provide getopt() and getopt_long() for
12381           those who don't have it.
12382
12383 Tue Jul 18 20:41:20 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12384
12385         * Added AWAY command to client.  When away message is set and
12386           client receives a private message packet the client automatically
12387           replies to the sender with the away message.
12388
12389         * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin.  This
12390           bug seemed to be the cause of recent problems when compiling
12391           with gcc-2.95.
12392
12393         * Added version detection support to SKE protocol specification
12394           and added the new changes to the SKE implementation as well.
12395           There were other minor changes in the SKE protocol as well.
12396
12397           Many changes in lib/silcske/silcske.[ch] and in
12398           lib/silcske/payload.[ch].
12399
12400         * Added ^U functionality, clear input line.  Patch from cras.
12401
12402 Mon Jul 17 23:33:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12403
12404         * Mainly small bugfixes on core library.  Fixed some debugging
12405           logging and buffer overflow in silclog.c.
12406
12407         * Updated config.sub and config.guess on the distribution tree.
12408
12409 Sat Jul 15 15:33:48 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12410
12411         * Added command lagging support in server. Client may execute
12412           commands now only once in two seconds.
12413
12414 Thu Jul 13 22:10:21 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12415
12416         * Optimized packet reception. MAC computation and checking is now
12417           also more optimized.  A lot previously duplicated code is now
12418           used as generic by both client and server.
12419
12420         * Fixed key pair generation in clientutil.c
12421
12422 Wed Jul 12 18:28:07 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12423
12424         * Added into lib/silccore/silcbufutil.[ch] new function;
12425           silc_buffer_realloc.
12426
12427         * Moved generic packet sending/encryption functions to
12428           lib/silccore/silcpacket.[ch] from client and server.  Some
12429           rewriting of the functions.
12430
12431         * Moved all generic packet reception/decryption functions to
12432           lib/silccore/silcpacket.[ch] from client and server.  The
12433           packet processing is now much cleaner in both client and server.
12434           These were major changes in both client and server.
12435
12436         * Created many common functions in server to do packet sending.
12437           Previously code were duplicated a lot, this has been removed
12438           with these changes.
12439
12440 Tue Jul 11 20:27:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12441
12442         * Rewrote major parts of the ID cache system.  Don't know
12443           whether it is better now or not but at least the API is more
12444           cleaner now.
12445
12446         * Major rewrite on ID cache stuff on client because of the ID
12447           cache API changes.  Added idlist.c to client.
12448
12449         * Also major rewrite on ID cache stuff on server as well.
12450           Major rewrite of idlist.[ch]. SilcXXXList's are now named
12451           SilcXXXEntry's.  We won't keep anymore idlist specific pointers
12452           in hand, instead they are all put into the ID cache system now.
12453           All server_idlist_* routines uses ID cache now instead of
12454           traversing its own lists (those lists does not exist anymore).
12455           SilcIDList though still exists.  Also, SilcXXXEntry's are
12456           now pointers.
12457
12458 Sun Jul  9 15:19:24 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12459
12460         * Finally made the SKE implementation compliant to the protocol
12461           specification.  All mp integers are now binary encoded as
12462           opposed being HEX encoded.
12463
12464         * Added lib/silcmath/mpbin.[ch].  Encoding mp intergers to and
12465           from binary data.
12466
12467         * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
12468           functions: silc_[encode/decode]_pem.  Also added function
12469           silc_encode_pem_file to PEM encode with newlines ('\n') for
12470           saving into a file.
12471
12472         * SILC public keys are now encoded either PEM or binary.  Same
12473           option is for private keys as well.  By default private keys
12474           are binary encoded and public keys PEM encoded.  Silly HEX
12475           encoding were removed.
12476
12477         * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
12478           function to create fingerprints.
12479
12480         * Fixed a bug in SHA1; does not change the original data anymore.
12481
12482         * Partly implemented INFO command on client and server side.
12483           Fixed CLEAR command.  Changes to SERVER command; show current
12484           server(s) when giving command without arguments.  Added
12485           VERSION command to client.
12486
12487         * Added check to server that unregistered connections cannot
12488           execute commands (unless it is specificly allowed).
12489
12490 Thu Jul  6 18:12:24 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12491
12492         * Fixed screen refresh.
12493
12494         * Fixed channel joining bug from client.  On some circumstances
12495           client tried to join to a channel it had already joined.
12496
12497         * Added public key verification process into client's protocol.c.
12498           The client now verifies the public key from user and saves
12499           it into ~./silc/serverkeys/ directory.
12500
12501           Added into: clientutil.[ch]: silc_client_verify_server_key.
12502
12503         * Changed SKE protocol's silc_ske_initiator_finish function
12504           to accept callback function that verifies the received public
12505           key.  Removed old silc_ske_verify_public_key function.
12506
12507 Wed Jul  5 19:19:02 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12508
12509         * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
12510           silc_pkcs_private_key[_data]_set.
12511
12512         * Made the password and public authentication more cleaner in
12513           server's protocol.c.
12514
12515         * Removed historic and obsolete protocol `channel_auth' from
12516           both client and server.
12517
12518         * Removed wrong way of sending command status messages from
12519           server to client in server's command.c.  The old way violated
12520           protocol specification.
12521
12522           Changes to silccore/silccommand.[ch]: removed
12523           silc_command_encode_status_payload -> not needed anymore,
12524           changed silc_command_encode_payload_va to accept extra
12525           argument on variable argument list.  The argument type must
12526           now be provided to the function.  Also, added new function:
12527           silc_command_encode_reply_payload_va which is same as
12528           normal command_encode_payload_va except command status type
12529           is provided as extra argument.
12530
12531 Tue Jul  4 18:26:39 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12532
12533         * Added ~./silc directory handling.  The directory includes the
12534           public and private keys for the client.
12535
12536           Added silc_client_check_silc_dir, silc_client_create_identifier
12537           and silc_client_load_keys.
12538
12539         * Implemented SILC protocol compliant public key.  Added public
12540           and private key saving to and loading from files.
12541
12542           Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
12543           silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
12544           silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
12545           silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
12546           silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
12547
12548           Implemented: silc_pkcs_save_[public/private]_key[_data] and
12549           silc_pkcs_load_[public/private]_key.
12550
12551 Mon Jul  3 18:51:27 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12552
12553         * Added silc_server_get_route (route.[ch]) to get connection
12554           data for the fastest route for given ID.
12555
12556         * Implemented INVITE command on client and server.  The command
12557           were re-defined in the SILC Protocol Specification and the
12558           implementation now complies with the specification.
12559
12560         * Implemented PING command on client and server.
12561
12562         * Implemented NAMES command on client and server.  The server side
12563           supports currently only normal server not router server yet.
12564           Some changes to NAMES definition in SILC protocol specification.
12565
12566 Sun Jul  2 18:23:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12567
12568         * Implemented LEAVE command on client and server.
12569
12570         * Previously deprecated SILC_PACKET_FORWARDED flag is now in use
12571           again.  This change was made to the protocol as well.  Server
12572           should not violate the protocol specification anymore.
12573
12574 Fri Jun 30 14:03:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12575
12576         * Added SOCKS4 and SOCKS5 support to SILC client.  SOCKS5
12577           was tested.  SOCKS4 was not but should work anyway.