updates.
[silc.git] / CHANGES
1 Sat Jun  2 21:04:32 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
2
3         * SIM modules are not delivered to SILC CLient distribution
4           anymore.
5
6         * Removed --with-etcdir and --with-docdir.  The etcdir is now
7           the system's default.  The Docdir is system's default.
8
9 Sat Jun  2 00:51:57 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
10
11         * If public key/private key loading fails set the return
12           pointer to NULL.  Affected file is lib/silccrypt/silcpkcs.c.
13
14         * If private key loading fails in silc_load_key_pair free the
15           loaded public key.  Affected file is
16           lib/silcapputil/silcapputil.c.
17
18         * Fixed key pair loading crash with SILC Plugin if key pair
19           loading fails.  Affected file is
20           apps/irssi/src/silc/core/silc-core.c.
21
22         * Fixed SILC Client help and script file installation path
23           to go to prefix/share/silc.  Affected files are
24           apps/irssi/src/scripts/Makefile.am and
25           apps/irssi/docs/help/Makefile.am.gen.
26
27 Thu May 31 16:49:13 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
28
29         * Fixed UTC offset minutes to be actually minutes.  Affected
30           file is lib/silcutil/silctime.c.
31
32 Thu May 31 09:40:56 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
33
34         * SILC Toolkit 1.1.
35
36         * Added support for checking for timezone and tm_gmtoff.
37           Affected files are configure.ad and lib/silcutil/silctime.c.
38
39 Wed May 30 18:46:34 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
40
41         * Added silc-toolkit.spec.in RPM spec file.
42
43 Mon May 28 23:21:39 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
44
45         * Fixed nickname formatting crash when updating existing
46           client entry.  Affected file is lib/silcclient/client_entry.c.
47
48         * Fixed MIME object encoding in attribute payload encoding.
49           Affected file is lib/silccore/silcattrs.c.
50
51 Mon May 28 09:02:26 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
52
53         * SILC Client 1.1 Beta6
54
55 Sun May 27 20:38:30 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
56
57         * Copy SILC Plugin's libfe_common_silc.so to libfe_silc.so so
58           that user's don't have to do it manually.  Affected file
59           is apps/irssi/src/fe-common/silc/core/Makefile.am.
60
61 Thu May 24 15:30:31 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
62
63         * SILC Toolkit 1.1 Beta4.
64
65         * Fixed channel and server entry freeing in client library.
66           Affected file is lib/silcclient/client_entry.c.
67
68         * Do not allow stopping client before it has been started.
69           Affected file is lib/silcclient/client.c.
70
71 Wed May 23 23:21:03 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
72
73         * Fixed formatted nickname renaming to rename also irssi's
74           nicklist (/NAMES etc).  Affected file is
75           apps/irssi/src/silc/core/client_ops.c.
76
77         * Fixed SILC Plugin crash when stopping client library before
78           it has been started.  Affected file is
79           apps/irssi/src/silc/core/silc-core.c.
80
81 Tue May 22 17:18:54 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
82
83         * For SILC Client and SILC Server check for 1.1 Toolkit
84           in configure.  Affected file is configure.ad.
85
86         * Added better library linking flags and orders for SILC Client.
87           Affected file is configure.ad, Makefile.defines_int.in and
88           apps/irssi/src/fe-text/Makefile.am
89
90 Mon May 21 08:26:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
91
92         * SILC Client 1.1 Beta5.
93
94 Sun May 20 18:34:22 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
95
96         * Add hooks for Irssi 0.8.11 module functions.  Affected file
97           is apps/irssi/src/fe-common/silc/fe-common-silc.c
98
99 Sat May 19 14:46:36 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
100
101         * Fixed passphrase authentication with server.  Affected file
102           is lib/silcclient/client_connect.c.
103
104         * Fixed passphrase authentication as responder.  Affected file is
105           lib/silcske/silcconnauth.c.
106
107         * Changed SilcAskPassphrase and SilcGetAuthMeth callbacks to
108           return data as const.  Affected file is
109           lib/silcclient/silcclient.h.
110
111         * Fixed timeout calculation in Symbian scheduler.  Affected
112           file is lib/silcutil/symbian/silcsymbianscheduler.c.
113
114 Fri May 18 21:10:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
115
116         * Do not uninitialize u.m.threads atomic int in finish but in
117           free.  Fixes crash on any platform using atomic operations
118           using mutexes (like Symbian).  Affected file is
119           lib/silcutil/silcfsm.c.
120
121         * Fixes Symbian scheduler wakeup synchronization.  Affected file
122           is lib/silcutil/symbian/silcsymbianscheduler.c.
123
124 Fri May 18 18:10:36 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
125
126         * Fixed nickname formatting to handle already formatted nicknames
127           better.  Affected file is lib/silccilent/client_entry.c.
128
129         * Added "foo#2 appears as foo" support to SILC Client when user
130           leaves or quits and one formatted nickname remain.  Affected file 
131           is apps/irssi/src/silc/core/client_ops.c.
132
133         * Send SilcChannelEntry to application in SILC_NOTIFY_TYPE_SIGNOFF.
134           Affected file is lib/silcclient/client_notify.c.
135
136 Thu May 17 18:05:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
137
138         * Fixed silc_show_public_key to not free public key in case of
139           failure.  Affected file is lib/silcapputil/silcapputil.c.
140
141 Thu May 17 17:09:50 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
142
143         * SILC Toolkit 1.1 Beta3.
144
145         * Porting Toolkit to Symbian.  It should work while some sporadic
146           odd crashes remain.  However I was able to run mybot on SILCNet.
147           Basically tested scheduler, net routines, socket  routines,
148           threads and some other utility routines.  Affected files are
149           in lib/silcutil/symbian/.
150
151 Thu May 17 11:57:40 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
152
153         * Show realname and email address from public key when verifying
154           cached public keys with GETKEY.  Affected files are
155           apps/irssi/src/fe-common/module-formats.[ch] and
156           apps/irssi/src/silc/core/client_ops.c.
157
158 Wed May 16 20:41:04 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
159
160         * Include SILC Plugin theme.  Affected file is apps/irssi/plugin.theme
161
162         * Include SILC Plugin /silc command help.  Affected file is
163           apps/irssi/docs/help/silc
164
165         * Create channels before joining them.  Affected file is
166           apps/irssi/src/silc/core/client_ops.c
167
168 Wed May 16 18:59:22 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
169
170         * Fixed channel private key listing with /key.  Affected file
171           is apps/irssi/src/silc/core/silc-channels.c.
172
173         * Fixed the public headers from anonymous structures.  Affected
174           files are lib/.
175
176         * Changed silc_buffer_*len macros to inline functions.  Affected
177           file is lib/silcutil/silcbuffer.h.
178
179 Wed May 16 10:21:45 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
180
181         * Fixed nickname format parsing in JOIN notify handling and
182           in WHOIS command reply.  Affected file is
183           apps/irssi/src/silc/core/client_ops.c.
184
185 Wed May 16 09:34:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
186
187         * SILC Client 1.1 Beta4.
188
189 Tue May 15 23:55:41 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
190
191         * Added SILC_VERIFY macro which is equivalent to SILC_ASSERT
192           but is compiled always in.  Affected file is 
193           lib/silcutil/silclog.h.
194
195         * Use SILC_VERIFY in FSM macros instead of SILC_ASSERT which is
196           not there in release builds.  Affected file is
197           lib/silcutil/silcfsm.h.
198
199 Tue May 15 21:19:09 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
200
201         * SILC Client 1.1-beta3
202
203 Mon May 14 23:20:59 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
204
205         * Added silc_utf8_c2w and silc_utf8_w2c to do UTF-8 to widechar
206           and widechar to UTF-8 conversions.  Affected files are
207           lib/silcutil/silcutf8.[ch].
208
209 Mon May 14 19:45:14 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
210
211         * Include a README for the SILC Plugin
212
213 Sun May 13 22:08:59 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
214
215         * Adopt perl Makefiles for SILC Plugin.
216
217 Sun May 13 18:27:13 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
218
219         * Fixed client library initialization when the running callback
220           is not given to silc_client_init.  Affected file is
221           lib/silcclient/client.c.
222
223         * Fixed Symbian compilation problems around the tree.  Added
224           new Carbide.c++ project files to symbian/ directory.
225
226         * Fixed SilcLog API to work on Symbian.  On Symbian it doesn't
227           use any globals.  Affected files are lib/silcutil/silclog.c
228           and silclog_i.h.
229
230 Sun May 13 16:54:35 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
231
232         * Fix several warnings in Irssi's Makefiles.
233
234 Sun May 13 12:16:30 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
235
236         * Disable ASM if --with-pic was given.  Affected file is
237           lib/silccrypt/configure.ad
238
239 Fri May 11 19:10:54 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
240
241         * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later
242           in case they are called from a thread.  Affected file is
243           lib/silcutil/silcfsm.c.
244
245         * Fixed WIN32 thread creation to handle the Tls correctly.
246           Affected file is lib/silcutil/win32/silcwin32thread.c.
247
248 Thu May 10 18:29:18 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
249
250         * SILC Toolkit 1.1-beta2.
251
252 Thu May 10 18:21:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
253
254         * Fixed silc_net_tcp_connect crash on Unix and Win32.  Handle
255           the socket async operation correctly.  Changed that DNS lookup
256           is now done during connecting.  Affected files are
257           lib/silcutil/[unix|win32]/silc[unix|win32]net.c.
258
259         * Changed also silc_net_tcp_connect on Symbian to do DNS lookup.
260           Affected file is lib/silcutil/symbian/silcsymbiannet.c.
261
262         * Optimize silc_net_gethostbyname to check if the name is already
263           IP address.  Affected file is lib/silcutil/silcnet.c.
264
265 Wed May  9 19:51:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
266
267         * Print filename instead of empty function name in debug output
268           on WIN32.  Affected files are lib/silcutil/silclog_i.h and
269           silclog.c.
270
271         * Rewrote WIN32 SILC Scheduler.  It now handles non-blocking file 
272           descriptors and sockets better.  Though, room for optimization
273           remains.  Affected file is lib/silcutil/win32/silcwin32schedule.c.
274
275         * Removed silc_net_win32_[init|uninit].  They are called now
276           automatically when SILC Scheduler is allocated.  Wrote IPv4
277           address parser because inet_addr seemed not to work on my WIN32.
278           Affected file is lib/silcutil/win32/silcwin32net.c.
279
280         * Improved socketstream.h and stream.h documentation.
281
282 Tue May  8 18:13:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
283
284         * Changed private message waiting API in client library to make
285           it work better with multiple waiting threads.  The waiting is
286           not always per client entry instead of per connection.  Affected
287           files are lib/silcclient/client_prvmsg.c, client.h and
288           silcclient.h.
289
290         * Changed silc_packet_wait_init function to accept the the expected
291           Source ID of the packet as argument.  If specified only packets
292           with the specified types and Source ID are delivered.  Affected
293           files are lib/silccore/silcpacket.[ch].
294
295         * Fixed file transfer disconnection crash when closing the session
296           directly in the monitor callback after disconnection.  Affected
297           file is lib/silcclient/client_ftp.c.
298
299         * Make Toolkit compile on WIN32.  Affected files in win32/
300           and in lib/silcutil/win32/.
301
302         * Changed silc_compare_timeval to return negative, zero or
303           positive instead of just TRUE or FALSE.  This fixes 0 timeout
304           task dispatching on Windows.  Affected files are
305           lib/silcutil/silctime.[ch] and silcschedule.c.
306
307 Mon May  7 18:18:48 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
308
309         * Fixed CMODE channel auth public key retrieval.  Affected
310           file is lib/silcclient/command.c.
311
312         * Fixed CMODE command reply to return channel public keys
313           correctly.  Affected files are lib/silcclient/command_reply.c
314           and client_channel.c.
315
316 Sun May  6 12:43:19 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
317
318         * Added current channel key cipher name and HMAC name to
319           SilcChannelEntry.  Fixed channel private key creation.
320           Affected files are lib/silcclient/client_channel.c,
321           client_entry and silcclient_entry.h.
322
323         * Allow formatted nicknames as input to silc_client_get_clients
324           and silc_client_get_clients_whois.  Affected file is
325           lib/silcclient/client_entry.c.
326
327         * Fixed silc_message_payload_free crash.  Affected file is
328           lib/silccore/silcmessage.c.
329
330         * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to
331           lib/silccore/silcstatus.h.
332
333 Thu May  3 18:07:50 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
334
335         * Imported libtommath 0.41.  Renamed all mp_* functions to
336           tma_mp_* functions to avoid rare linking problems on systems
337           with mp_* functions.  Affected files are in lib/silcmath/.
338
339 Wed May  2 17:46:25 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
340
341         * SILC Toolkit 1.1 Beta1.
342
343 Wed May  2 11:38:17 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
344
345         * Set the server and router operator modes to local entry after
346           successful OPER or SILCOPER commands.  Affected file is
347           lib/silcclient/command_reply.c.
348
349 Tue May  1 14:17:06 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
350
351         * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API,
352           and other smaller APIs to WIN32.  Affected files are in
353           lib/silcutil/win32/.
354
355         * Changed the various regex APIs as generic code in util library.
356           Affected files are lib/silcutil/silcstrutil.[ch].
357
358 Sat Apr 28 13:47:47 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
359
360         * Ported SILC Server to the new Toolkit API, working towards
361           SILC Server 1.1.  Affected files are in apps/silcd/.
362
363         * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key
364           to lib/silcskr/silcskr.[ch].
365
366         * Fixed SILC public key copying to copy the identifier also.
367           Affected file is lib/silccrypt/silcpk.c.
368
369         * Added silc_packet_error_string to lib/silccore/silcpacket.[ch].
370
371         * Fixed OPER and SILCOPER passphrase asking in Client library.
372           Affected file is lib/silcclient/command.c.
373
374 Tue Apr 24 17:55:24 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
375
376         * Fixed command queue enabling after connecting to server.
377           The comparisons was from after changing to silc_utf8_strcasecmp.
378           Affected file is apps/irssi/src/silc/core/silc-servers.c.
379
380         * Fixed nickname setting with own client entry with 1.3 protocol
381           version server.  Affected file lib/silcclient/client_register.c.
382
383         * Ignore error notify for local client entry.  Affected file is
384           lib/silcclient/client_notify.c.
385
386         * Implemented responder rekey to SKE library.  Affected files are
387           lib/silcske/silcske.[ch].
388
389         * Fixed connection auth protocol completion sending.  Affected
390           file lib/silcske/silcconnauth.c.
391
392 Mon Apr 23 17:20:01 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
393
394         * Do not call TCP network listener callback with any error
395           status, as documented.  Affected file is
396           lib/silcutil/unix/silcunixnet.c.
397
398 Sun Apr 22 21:13:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
399
400         * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
401
402         * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type.
403           Changed silc_skr_find to have SilcSchedule argument and removed
404           it from silc_skr_[alloc|init].  Affected files are
405           lib/silcskr/silcskr.[ch].
406
407         * Allow NULL id for silc_idcache_add.  Affected file is
408           lib/silcapputil/silcidcache.c.
409
410         * Added silc_packet_stream_is_valid, silc_packet_get_ids and
411           silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch].
412           Fixed also channel message encryption with router-to-router
413           packets.
414
415         * Added silc_id_str2id2 to lib/silccore/silcid.[ch].
416
417         * Added silc_net_get_error_string, silc_net_listener_get_ip and
418           silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
419
420 Tue Apr 10 15:55:42 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
421
422         * Add option --enable-silc-plugin.  Affected files are
423           apps/irssi/configure.{ad,in}
424
425         * Only compile the SILC Plugin if required.  Affected files are
426           apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am
427
428         * Conditionally build the SILC Plugin.  Affected files are
429           apps/irssi/src/silc/core/Makefile.am,
430           apps/irssi/src/fe-common/silc/Makefile.am
431
432         * Backout delayed protocol exit and replace with a lame busy
433           wait.  Affected files are apps/irssi/src/fe-text/silc.c,
434           apps/irssi/src/silc/core/silc-core.c
435
436         * Fix key generation for SILC Plugin.  Affected file
437           apps/irssi/src/silc/core/clientutil.c
438
439 Tue Apr 10 12:40:19 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
440
441         * Only pass -rpath to libtool when building shared libraries.
442           Affected file lib/Makefile.ad
443
444         * Removing the stray "s" in configure.ad
445
446 Sat Mar 24 19:13:58 CET 2007  Jochen Eisinger <coffee@silcnet.org>
447
448         * Redraw the screen after creating a new key.  Affected file
449           apps/irssi/src/silc/core/clientutil.c
450
451 Sun Mar 18 15:54:10 EET 2007  Pekka Riikonen <priikone@silcnet.org>
452
453         * Added SILC Client setting /set nickname_format that specifies
454           the nickname format string.  Changed default nickname format
455           string to "%n#%a".  Affected file is
456           apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf.
457
458         * Fixed nickname parsing with WHOIS command to accept formatted
459           nicknames.  Changed the silc_client_get_clients_local to allow
460           the searched nickname to be formatted nickname.  Removed %s and
461           %S nickname formatters.  Affected files are in lib/silcclient/.
462
463         * Added silc_client_nickname_parse to Client library API.  Affected
464           file is lib/silcclient/silcclient.h.
465
466         * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY
467           commands.  Affected file are
468           apps/irssi/src/silc/core/silc-servers.c and silc-channels.c.
469
470 Sat Mar 17 19:07:15 CET 2007  Jochen Eisinger <coffee@silcnet.org>
471
472         * Incorporate SILC Plugin patches.  Affected files are
473           apps/irssi/src/fe-common/silc/module-formats.{c,h},
474           apps/irssi/src/silc/core/clientutil.{c,h},
475           apps/irssi/src/silc/core/silc-core.c,
476           apps/irssi/src/silc/core/silc-chatnets.{c,h},
477           apps/irssi/src/fe-common/silc/fe-silcnet.c, and
478           apps/irssi/src/fe-common/silc/module.h
479
480 Wed Mar 14 17:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
481
482         * In notify handling resolve user entries many times if the
483           resolving timedout.  Affected file lib/silcclient/client_notify.c.
484
485         * silc_client_get_clients_local do not return any invalid entries.
486           Affected file is lib/silcclient/client_entry.c.
487
488         * Do not print "there are now xx user on this channel" for users
489           that actually aren't anymore on the channel.  Affected file
490           is apps/irssi/src/client_ops.c.
491
492 Sun Mar 11 17:43:18 CET 2007  Jochen Eisinger <coffee@silcnet.org>
493
494         * When joining channels with a password given in the config file,
495           use it.  Also use it when cycling (it would be better to get
496           the password from the server, but this isn't possible in SILC).
497           Affected files apps/irssi/src/silc/core/silc-servers.c,
498           apps/irssi/src/silc/core/silc-channels.c
499
500 Sun Mar 11 15:22:42 CET 2007  Jochen Eisinger <coffee@silcnet.org>
501
502         * Import perl script for sign_messages from silc-plugin.  Affected
503           file apps/irssi/scripts/silc.pl
504
505 Sun Mar 11 15:19:10 CET 2007  Jochen Eisinger <coffee@silcnet.org>
506
507         * Only wait for a nick on connecting, when it differs
508           (not counting case) from the username.  Affected file
509           is apps/irssi/src/silc/core/silc-servers.c
510
511 Sun Mar 11 13:50:53 CET 2007  Jochen Eisinger <coffee@silcnet.org>
512
513         * Use time settings for lag settings.  Affected file is
514           apps/irssi/src/silc/core/silc-lag.c
515
516 Tue Feb 27 17:07:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
517
518         * Added silc_thread_yield.  Affected file is
519           lib/silcutil/silcmutex.h.
520
521 Wed Feb 21 17:01:01 EET 2007  Pekka Riikonen <priikone@silcnet.org>
522
523         * Fixed WHOIS command and requested attributes handling in
524           client library.  Affected files are lib/silcclient/command.c
525           and lib/silcclient/client_attrs.c.
526
527         * Fixed silc_time_value to actually work.  Added new function
528           silc_timezone.  Affected files are lib/silcutil/silctime.[ch].
529
530 Tue Feb 20 08:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
531
532         * SILC Client 1.1 beta2.
533
534 Mon Feb 19 16:06:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
535
536         * Fixed client to properly abort TCP stream creation when
537           giving /QUIT.  Affected file
538           apps/irssi/src/silc/core/silc-servers.c.
539
540         * Fixed several connecting aborting crashes from the client
541           library, packet engine and socket stream.  Affected files
542           are in lib/silclient/, lib/silccore/silcpacket.c and
543           lib/silcutil/unix/silcunixsocketstream.c.
544
545         * Fixed private key export double free crash in key generation.
546           Affected file is lib/silccrypt/silcpk.c.
547
548         * Fixed FSM event waiting when there are multiple signallers
549           and the waiter goes away after the first signal.  Affected
550           file in lib/silcutil/silcfsm.c.
551
552 Sun Feb 18 22:02:22 EET 2007  Pekka Riikonen <priikone@silcnet.org>
553
554         * Fixed FSM event signalling to check if the waiter has gone
555           away already.  Affected file is lib/silcutil/silcfsm.c.
556
557         * Fixed counter mode encryption/decryption to handle non-padded
558           SILC packets correctly.  The silc_cipher_set_iv now
559           in counter mode resets for a new block.  Affected files are
560           in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
561
562 Sun Feb 18 12:15:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
563
564         * SILC Client 1.1 beta1.
565
566         * Memory leak fixes around the libraries.
567
568 Fri Feb 16 16:53:16 EET 2007  Pekka Riikonen <priikone@silcnet.org>
569
570         * Added better check for epoll() in configure.  Affected file
571           is lib/configure.ad.
572
573 Thu Feb 15 16:50:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
574
575         * Fixed per scheduler data input buffer in packet engine.  Use
576           list of inbufs instead of just one so that multiple streams
577           can do partial reads to different buffers.  Affected file is
578           lib/silccore/silcpacket.c.
579
580         * Fixed WATCH notify handling in client library.  Affected file
581           is lib/silcclient/client_notify.c.
582
583 Wed Feb 14 17:05:38 EET 2007  Pekka Riikonen <priikone@silcnet.org>
584
585         * Fixed packet wrapper stream API to support encoder/decoder
586           for packets, and to handle partial reading correctly.  Fixed
587           also inbuf size checking in reading to have enough space before
588           reading.  Affected files are lib/silccore/silcpacket.[ch].
589
590         * Rewrote file transfer in client library.  Affected files are
591           in lib/silcclient/.
592
593         * Added TCP/UDP listener (internal) API to client library to have
594           generic way of dealing with listeners.  Fixed Key Agreement and
595           file transfer to use it.  Affected files are in lib/silcclient/.
596
597         * Fixed SKE to process SUCCESS packets synchronously and to call
598           completion synchronously.  Affected file is lib/silcske/silske.c.
599
600         * Fixed pthread rwlock detection.  Affected file includes/silc.h.in.
601
602         * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER.  Affected files are
603           lib/silccore/silcattrs.[ch].  SILC Protocol version 1.3 change.
604
605 Fri Feb  2 22:24:11 EET 2007  Pekka Riikonen <priikone@silcnet.org>
606
607         * Added support for SILC protocol version 1.3 NEW_CLIENT packet
608           to client library.  Affected file is
609           lib/silcclient/client_register.c.
610
611         * Serialize NICK and JOIN commands to avoid problems locally
612           with changing ID while joining to channel.  Affected file is
613           lib/silcclient/command.c.
614
615         * Fixed entry resolving while handling incoming JOIN notify.
616           Handle properly cases, in re-processing of notify packets, where
617           the IDs may become invalid while resolving the entry (like nick
618           change).  Entry is invalid if it doesn't have nickname, and such
619           entries are not delivered to application anymore.  These fixes
620           problems of not seeing JOINs when remote user changes nickname
621           at the same time.  Affected files are in lib/silcclient/.
622
623 Thu Feb  1 18:35:58 EET 2007  Pekka Riikonen <priikone@silcnet.org>
624
625         * Added support for computing message payload MAC in new way
626           (SILC Protocol version 1.3).  Bakcwards support for old way
627           remains.  Affected files are lib/silccore/silcmessage.[ch].
628
629 Sat Jan 27 22:37:30 EET 2007  Pekka Riikonen <priikone@silcnet.org>
630
631         * Added SilcRwLock API, a read/write lock.  Affected files are
632           lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
633
634 Wed Jan 24 18:55:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
635
636         * Merged Irssi SVN (irssi 0.8.11).  Affected files in apps/irssi/.
637
638 Tue Jan 23 16:05:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
639
640         * The silc_schedule_set_listen_fd now returns boolean value.
641           Fixed FD task adding to check correctly for already added
642           FD tasks.  Added stricter error checking for FD scheduling
643           with epoll().  Affected files are lib/silcutil/silcschedule.[ch]
644           and lib/silcutil/unix/silcunixschedule.c.
645
646         * The silc_stream_set_notifier now returns boolean value.  Changed
647           all streams to support and check for the error condition.
648           Affected files are in lib/silcutil/.
649
650         * Fixed SKE library session aborting and deletion.  Affected
651           file are lib/silcske/silcske.c.
652
653 Tue Jan 16 18:22:08 EET 2007  Pekka Riikonen <priikone@silcnet.org>
654
655         * Implemented PKCS #1 with appendix with hash OID in the
656           signature.  Affected files are lib/silccrypt/silcpkcs1.[ch],
657           lib/silccrypt/silchash.[ch] and
658           lib/silcasn1/silcasn1[_encode|decode].[ch].
659
660 Sun Jan 14 23:12:41 EET 2007  Pekka Riikonen <priikone@silcnet.org>
661
662         * Added support for Version (V) SILC public key identifier.
663           Affected files are lib/silccrypt/silcpk.[ch].
664
665 Tue Jan  9 19:37:51 EET 2007  Pekka Riikonen <priikone@silcnet.org>
666
667         * Rewrote connection auth request in client library.  It is now
668           done automatically by the library and the resolved method given
669           as a hint to get_auth_method client operation.  Affected files
670           are lib/silcclient/.
671
672 Wed Jan  3 18:06:33 EET 2007  Pekka Riikonen <priikone@silcnet.org>
673
674         * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch].
675           It can be used to wrap SilcPacketStream into SilcStream.
676
677         * Fixed %p formatting from silc_snprintf.  Affected file is
678           lib/silcutil/silcsnprintf.c.
679
680         * Ported SFTP library to new utility library.  Ported also
681           the SFTP testers.  Affected files in lib/silcsftp/.
682
683 Tue Jan  2 17:18:46 EET 2007  Pekka Riikonen <priikone@silcnet.org>
684
685         * Added lib/silcutil/silcsnprintf.[ch].  Added in addition
686           of silc_snprintf, silc_vsnprintf, silc_asprintf and
687           silc_vasprintf.
688
689 Sat Dec 30 23:23:17 EET 2006  Pekka Riikonen <priikone@silcnet.org>
690
691         * Added preliminary Symbian support.  Changes around the source
692           tree.  The symbian/ directory now includes Carbide.c++ project
693           files to compile the sources.
694
695         * Added silc_snprintf.  Affected files are
696           lib/silcutil/silcstrutil.[ch].
697
698 Thu Dec 21 18:01:51 EET 2006  Pekka Riikonen <priikone@silcnet.org>
699
700         * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to
701           macros.  SILC_FSM_CONTINUE macro now immediately calls the
702           next state instead of first returning back to FSM.  Helps
703           in debugging crashes etc.
704
705           Removed FSM Semaphores.  Introduced FSM Event which is
706           asynchronous event.   Affected files are in lib/.
707
708         * Added epoll(7) support to SILC Scheduler.  It is used by default
709           if it is available.  Affected files are
710           lib/silcutil/silcschedule.[ch],
711           lib/silcutil/unix/silcunixschedule.c.
712
713 Tue Dec 19 20:39:35 EET 2006  Pekka Riikonen <priikone@silcnet.org>
714
715         * Added CTR mode to AES.  Simplified cipher implementation API
716           more.  Affected files are in lib/silccrypt/.
717
718 Sun Dec 17 16:46:55 EET 2006  Pekka Riikonen <priikone@silcnet.org>
719
720         * Removed `detach' client operation.  The detachment data is
721           now delivered in SILC_COMMAND_DETACH command reply to
722           application.  Affected file in lib/silcclient/.
723
724         * Rewrote resuming/detaching in client library.
725
726         * Added boolean encryption indicator for silc_cipher_set_key.
727           Affected files lib/silccrypt/silccipher.[ch].
728
729 Wed Dec 13 18:05:50 EET 2006  Pekka Riikonen <priikone@silcnet.org>
730
731         * Added silc_likely and silc_unlikely macros for GCC branch
732           prediction optimizations.  Affected file lib/silcutil/silctypes.h.
733
734         * Added assembler AES optimization.  Cleaned up the SILC Cipher
735           implementation API.  Affected files are in lib/silccrypt/.
736
737 Tue Dec 12 18:56:14 EET 2006  Pekka Riikonen <priikone@silcnet.org>
738
739         * Changed back the SILC_FSM_THREAD_WAIT operation to not
740           continue to next state if thread is finished already.  That
741           check is not done anymore.  Affected files are
742           lib/silcutil/silcfsm.[ch].
743
744 Sun Dec 10 13:54:52 EET 2006  Pekka Riikonen <priikone@silcnet.org>
745
746         * Removed silc_packet_[get|set]_ciphers and
747           silc_packet_[get|set]_hmacs.  Added silc_packet_set_keys that
748           handle REKEY_DONE packet sending in rekey.  Affected files
749           are lib/silccore/silcpacket.[ch].
750
751         * Added silc_fsm_is_started.  Affected files are
752           lib/silcutil/silcfsm.[ch].
753
754         * Added settings sign_channel_message, sign_private_message
755           and key_exchange_rekey_pfs to SILC Client.  Added UDP transport
756           support for key agreement in /KEY command. Affected files
757           in apps/irssi/src/silc/core/.
758
759         * During SILC Client initialization forward log messages to
760           stderr.   Affected files in apps/irssi/src/silc/core/.
761
762 Thu Dec  7 19:07:21 EET 2006  Pekka Riikonen <priikone@silcnet.org>
763
764         * Added silc_ske_get_key_material.  Affected files are
765           lib/silcske/silcske.[ch].
766
767         * Added silc_packet_stream_is_udp.  Affected files are
768           lib/silccore/silcpacket.[ch].
769
770         * Added SKE packet retransmission support with UDP transport.
771           Affected file is lib/silcske/silcske.c.
772
773 Sun Dec  3 22:00:12 EET 2006  Pekka Riikonen <priikone@silcnet.org>
774
775         * Added silc_socket_stream_is_udp.  Affected file is
776           lib/silcutil/silcsocketstream.[ch].
777
778         * Added UDP transport support to packet engine.  Affected file
779           is lib/silccore/silcpacket.c.
780
781         * Added silc_socket_stream_is_udp.  Affected file is
782           lib/silcutil/silcsocketstream.[ch].
783
784 Sat Nov 18 11:33:03 EET 2006  Pekka Riikonen <priikone@silcnet.org>
785
786         * Added silc_packet_send_va[_ext] to send variable argument
787           formatted buffers.  Affected files lib/silcore/silcpacket.[ch].
788
789         * Timeout freelist garbage collection added to scheduler.
790           Affected file lib/silcutil/silcschedule.c.
791
792 Thu Nov  9 18:12:15 EET 2006  Pekka Riikonen <priikone@silcnet.org>
793
794         * Added silc_show_public_key_file to
795           lib/silcapputil/silcapputil.[ch].
796
797         * Added SILC_STR_ADVANCE support for buffer unformatting.
798           Affected file lib/silcutil/silcbuffmt.c.
799
800 Tue Nov  7 18:04:36 EET 2006  Pekka Riikonen <priikone@silcnet.org
801
802         * Added silc_string_split to lib/silcutil/silcstrutil.[ch].
803
804         * Added silc_mutex_assert_locked to lib/silcutil/silcmutex.h.
805
806         * silc_fsm_continue[_sync] now cancels erlier timeout set with
807           silc_fsm_next_later.  Affected file lib/silcutil/silcfsm.c.
808
809 Sat Nov  4 21:50:37 EET 2006  Pekka Riikonen <priikone@silcnet.org
810
811         * Added SILC_STR_FUNC to buffer format API.  Affected files
812           are lib/silcutil/silcbuffmt.[ch].
813
814         * Added silc_buffer_[s]enlarge to lib/silcutil/silcbuffer.h.
815
816         * No more memory allocation for message payload parsing.
817           Pre-allocated buffer can be used with message payload encoding.
818           Affected files lib/silccore/silcmessage.[ch].
819
820 Fri Oct 27 21:01:26 EEST 2006  Pekka Riikonen <priikone@silcnet.org
821
822         * Added silc_buffer_sunformat and silc_buffer_sunformat_vp
823           to silcutil/silcbuffmt.[ch].
824
825 Sun Oct 22 13:03:07 EEST 2006  Pekka Riikonen <priikone@silcnet.org
826
827         * Added SILC_STR_BUFFER to format and unformat SilcBuffer.
828           Affected file lib/silcutil/silcbuffmt.[ch].
829
830         * Removed silc_schedule_signal_[un]register and
831           silc_schedule_signal_call.  Added silc_schedule_task_add_signal
832           to add signal task.  Only one callback per signal may be
833           added.  The signals are now automatically called back to
834           caller.  Affected files lib/silcutil/silcschedule.[ch] and
835           silcutil/[unix/win32]/silc[unix/win32]schedule.c.
836
837         * Added silc_time_msec and silc_time_usec to silcutil/silctime.[ch].
838
839         * Added SilcSKEParams for SKE parameters and simplied even more
840           the SKE interface.  Affected files are lib/silcske/silcske.[ch].
841           Added support for IV included and session port handling with
842           UDP/IP connections.
843
844         * Added Secure ID (SID) support with IV Included flag (for UDP/IP)
845           in lib/silccore/silcpacket.[ch].  Added silc_packet_set_sid
846           which is called after every rekey when IV Included flag is used.
847           See SILC specifications for details.
848
849 Thu Oct 19 10:03:03 EEST 2006  Pekka Riikonen <priikone@silcnet.org
850
851         * Added lib/silcapputil and moved SILC application specific
852           utility routines from the generic util library lib/silcutil
853           to the new library.  Removed lib/silcidcache and moved that
854           to lib/silcapputil as well.
855
856 Tue Sep 19 00:14:11 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
857
858         * Added SILC_STR_ADVANCE.  Affected file is
859           lib/silcutil/silcbuffmt.[ch].
860
861         * The silc_buffer_strformat preserves buffer locations now.
862
863         * Added lib/silcutil/silcatomic.h for atomic operations.
864
865 Sat Sep 16 11:23:06 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
866
867         * Added lib/silchttp, SILC HTTP server, a very simple HTTP
868           server.
869
870         * Fixed MIME deocing when data portion is not present.
871           Affected file lib/silcutil/silcmime.c.
872
873 Wed Jul 19 12:06:38 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
874
875         * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/.
876
877         * Added IV Included support to packet routines, to allow
878           packet sending and receiving on UDP/IP.  Affected files are
879           lib/silccore/silcpacket.[ch].
880
881         * Added SILC_FSM_YIELD.  Affected files lib/silcutil/silcfsm.[ch].
882
883 Tue Jul 18 20:10:28 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
884
885         * Added UDP support to network and socket stream library.
886
887 Sat Jun 24 22:33:18 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
888
889         * Added conditional variables.  New files are
890           lib/silcutil/silcondvar.h and platform specific implementations.
891
892 Thu Jan  5 20:02:31 CET 2006 Patrik Weiskircher <pat@icore.at>
893
894         * make sure session->hostname and session->port are valid before the
895           application callback is done, since things will go wrong if the
896           application immediately calls silc_client_file_receive. Affected
897           file lib/silcclient/client_ftp.c.
898           Patch received from Stefan Siegel <stesie@brokenpipe.de>, thanks!
899
900 Fri Dec 30 22:54:21 EET 2005  Pekka Riikonen <priikone@silcnet.org>
901
902         * New SILC PKCS API enabling support for other public keys
903           and certificates, lib/silccrypt/silcpkcs.[ch], silcpk.[ch].
904
905         * Separated SILC Public Key Payload routines from the PKCS API
906           to lib/silccore/silcpubkey.[ch].
907
908 Wed Dec 28 13:55:22 EET 2005  Pekka Riikonen <priikone@silcnet.org>
909
910         * Added SILC Key Repository library, lib/silcskr.
911
912         * Added SILC Server library, lib/silcserver.
913
914 Mon Dec 19 18:04:24 EET 2005  Pekka Riikonen <priikone@silcnet.org>
915
916         * MIME objects in attributes now use SilcMime.  Affected files
917           are lib/silccore/silcattrs.[ch].
918
919 Sat Dec 17 20:13:31 EET 2005  Pekka Riikonen <priikone@silcnet.org>
920
921         * Synchronize semaphore posting for real threads in FSM.
922           Affected files are lib/silcutil/silcfsm.c, silcfsm_i.h.
923
924 Mon Nov 28 17:06:54 EET 2005  Pekka Riikonen <priikone@silcnet.org>
925
926         * Added silc_file_set_nonblock.  Affected file is
927           lib/silcutil/silcfileutil.h.
928
929         * Added silc_fd_stream_file to lib/silcutil/silcfdstream.[ch].
930
931 Sat Nov 26 16:13:40 EET 2005  Pekka Riikonen <priikone@silcnet.org>
932
933         * FSM based implementation of SILC SKE.  Simpler interface also.
934           Affected files are in lib/silcske/.
935
936         * Added SilcBool type.  Affected file lib/silcutil/silctypes.h.
937
938 Sat Nov 19 17:34:51 EET 2005  Pekka Riikonen <priikone@silcnet.org>
939
940         * Added SilcMime API to lib/silcutil/silcmime.[ch].  The old
941           silc_mime_parse is available but deprecated.
942
943         * Check that packet is valid when processing key exchange,
944           authentication and rekey protocols.  Fixes a crashbug.
945           Affected files are apps/silcd/protocol.c and
946           lib/silcclient/protocol.c.
947
948         * Added SILC_HASH_MAXLEN to lib/silccrypt/silchash.h, and changed
949           all hash buffers to use that instead of fixed values.
950
951 Wed Nov 16 15:47:12 EET 2005  Pekka Riikonen <priikone@silcnet.org>
952
953         * Added SHA-256 to crypto library.  The SHA-256 takes now
954           precedence over SHA-1.
955
956 Thu May 26 20:31:06 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
957
958         * Check for valid return value from regcomp.  Affected file
959           lib/silcutil/unix/silcunixutil.c.
960
961 Tue May 10 23:11:17 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
962
963         * Fixed silc_hash_uint to work with integers.  Affected
964           file lib/silcutil/silcutil.c.
965
966 Tue May 10 15:11:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
967
968         * Rewritten SILC Log API.  Affected files lib/silcutil/silclog.[ch].
969
970 Mon May  9 12:00:08 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
971
972         * Fixed channel public key list saving on JOIN command reply
973           on backup router.  Affected file apps/silcd/command_reply.c.
974
975 Mon May  2 10:42:49 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
976
977         * Added default limit how many channels client can join,
978           default is 50.  Added 'channel_join_limit' configuration
979           option to server too.  Affected files are apps/silcd/command.c
980           and serverconfig.[ch].
981
982 Sun May  1 17:42:55 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
983
984         * --without-silc -> --with-silc, --without-irssi -> --with-irssi.
985           On Toolkit the server and client are not compiled by default.
986           Affected file configure.ad.
987
988 Thu Apr 28 15:57:37 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
989
990         * Added lib/contrib/getopt.[ch] for platforms that don't
991           have it (it is not GPL implementation).
992
993         * Fixed compilation when pkg-config is used.
994
995 Wed Apr 27 11:49:41 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
996
997         * A comma in invite/ban string is invalid, check for it.
998           Affected file apps/silcd/server_util.c.
999
1000         * Added SERVICE command to the server.  It parses the command
1001           request but SILC Server does not support services for the
1002           time being.  Affected file apps/silcd/command.[ch].
1003
1004         * Added SERVICE command and command reply to client library.
1005           It is however incomplete.  Updated Toolkit documentation.
1006           Affected files are lib/silcclient/command[_reply].[ch].
1007
1008         * Fixed IDENTIFY/WHOWAS command reply to send the username
1009           correctly (uninitialized buffer).  Affected file is
1010           apps/silcd/server_query.c.
1011
1012 Mon Apr 25 14:25:24 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1013
1014         * Moved silcer/, silc/, silcd/ and irssi/ to apps/.  This
1015           finalizes the major restructuring of the CVS tree.
1016
1017 Mon Apr 25 00:39:30 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1018
1019         * Send empty MOTD reply if MOTD file cannot be read.
1020           Affected file silcd/command.c.
1021
1022 Sun Apr 24 12:01:37 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1023
1024         * Optimized primer number generator to use simpler conversion
1025           routines.  Also assure that the prime number will have the
1026           highest bit set after modifying it.  Affected file is
1027           lib/silcmath/silcprimegen.c.
1028
1029         * Added LibTomMath to SILC Math library (SILC_DIST_TMA).
1030
1031         * Added FastTomMath to SILC Math Library (SILC_DIST_TFM),
1032           for now only for testing purposes, it will not be delivered
1033           in any distribution for now.
1034
1035         * Removed NSS MPI from the source tree.  Due to upcoming
1036           license change for the SILC Toolkit, we cannot deliver the
1037           NSS MPI anymore.  I decided to replace it in all distributions
1038           with public domain library.
1039
1040         * Removed GNU regex from lib/contrib and introduced free
1041           GNU compatible regex, lib/contrib/regexpr.[ch].  Added
1042           GNU regex compatible API to it (only partial).
1043
1044         * Removed getopt routines from lib/contrib.
1045
1046 Fri Apr 22 12:21:44 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1047
1048         * Use silc_server_send_command_reply to send replies instead
1049           of encoding packet itself.  Affected file silcd/command.c.
1050
1051         * Added command sending and receiving statistics to server.
1052           Affected files in silcd/.
1053
1054         * GCC 4 warning fixes.  -Wno-pointer-sign option is now used
1055           with GCC, for it not to warn about pointer signedness.
1056
1057 Tue Apr 19 11:57:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1058
1059         * Added context to the SilcIDCache destructor.  Affected
1060           files are lib/silccore/silcidcache.[ch],
1061           lib/silcclient/client.c and silcd/server.c.
1062
1063 Mon Apr 18 09:53:28 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1064
1065         * Added pkg-config check to configure.
1066
1067         * The PublicKeyDir must not be used with Admin block in server
1068           config.  Affected file silcd/serverconfig.c.
1069
1070 Sat Apr 16 20:23:48 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1071
1072         * Added Autodist.
1073
1074 Thu Apr 14 20:25:08 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1075
1076         * Handle empty LIST command reply correcttly in server.  Affected
1077           file silcd/command_reply.c.
1078
1079         * Handle empty LIST command reply correctly in client library.
1080           The application will now receive one LIST command reply with
1081           all arguments set to NULL if there are no channels.  Updated
1082           Client Library documentation accordingly.  Affected file
1083           lib/silcclient/command_reply.c.
1084
1085 Tue Apr 12 00:02:09 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1086
1087         * Added channel name string stringprep profile to the protocol
1088           and implementation to allow a little free'er channel name
1089           strings.  Affected files are lib/silcutil/silcstringprep.[ch].
1090
1091         * Added silc_channel_name_[check|verify] to check and verify
1092           channel name strings.  Affected files are
1093           lib/silcutil/silcstrutil.[ch].
1094
1095         * Added support for the new channel name preparation in client
1096           library and server.  Affected files in lib/silcclient and
1097           silcd/.
1098
1099 Mon Apr 11 13:40:27 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1100
1101         * Added the Autodist into the source tree.  It replaces the
1102           old ./prepare.  It can be used to create distributions as
1103           previously.  See README.CVS and README.DIST.  See
1104           distributions in distdir/.
1105
1106 Sun Apr 10 11:30:56 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1107
1108         * Make sure query sends at least an error back if nothing
1109           more is sent.  Affected file silcd/server_query.c.
1110
1111 Thu Apr  7 14:50:01 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1112
1113         * During query, check if the original command caller goes
1114           away.  If it does, stop the query.  Affected file
1115           silcd/server_query.c.
1116
1117         * Check for valid channel creation in JOIN command reply.
1118           Affected file lib/silcclient/command_reply.c.
1119
1120         * Handle the resolver counter in silc_client_get_users_by_channel
1121           callback correctly.  Fixed auto-join bug in Gaim.  Affected
1122           file lib/silcclient/idlist.c.
1123
1124 Wed Apr  6 16:56:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1125
1126         * Added some better error messages.  Affected file
1127           silcd/command_reply.c and packet_receive.c.
1128
1129         * Handle error in WATCH command propely on backup router.
1130           Affected file silcd/command.c.
1131
1132         * Fixed freeing of unfreeable variable in WHOIS command reply.
1133           Affected file silcd/command_reply.c.
1134
1135 Wed Apr  6 09:10:31 CEST 2005  Pekka Riikonen <priikone@silcnet.org>
1136
1137         * Added pkg-config .pc file creation for silc core library
1138           and silcclient library.  A patch by c0ffee.
1139
1140         * Removed the need for GNU Libidn.  Added the simple stringprep
1141           from libidn into lib/contrib/.  It is now used also on Windows
1142           build.
1143
1144 Mon Apr  4 15:15:46 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1145
1146         * Simplified the invite and ban string handling in the
1147           server.  Check for valid invite and ban arguments also.
1148           Affected file silcd/server_util.c.
1149
1150 Sun Apr  3 14:58:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1151
1152         * Added WATCH list announcing in backup router protocol.
1153           Affected files are silcd/command.c, server.c, server_backup.c.
1154
1155         * Do not change users mode to founder on normal server/backup
1156           if the founder mode is set, and user is first one to join.
1157           Affected file silcd/pcaket_receive.c.
1158
1159         * Do not send CUMODE_CHANGE notify back to sender.  Affected
1160           file silcd/packet_receive.c.
1161
1162         * Added getrusage() to take noise in SILC RNG.  A patch by
1163           Mika Boström.  Affected files are configure.in.pre,
1164           includes/silcincludes.h.in, lib/silccrypt/silcrng.c.
1165
1166 Sat Apr  2 18:09:30 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1167
1168         * Splitted the SILC libraries configuration into a configure
1169           fragment into lib/configure.ad.  It is now possible, once
1170           this feature is added, to specify whether to compile or not
1171           compile included SILC libraries.  Affected files are
1172           configure.in.pre, lib/silcmath/mpi/configure.ad,
1173           lib/configure.ad, Makefile.defines.pre and
1174           Makefile.defines_int.pre.
1175
1176         * Added --with-silc-includes and --with-silc-libs to configure.
1177           If specified the included libs are not compiled, but the
1178           specified libs are used.  Pkg-config is not yet supported.
1179           Affected file configure.in.pre.
1180
1181         * Fixed WATCH command handling on backup router.  Router does not
1182           send the watch command any more to backup if it originates from
1183           backup.  Affected file silcd/command.c.
1184
1185 Fri Apr  1 18:52:47 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1186
1187         * Changed announcing to not announce unregistered clients.
1188           Affected file silcd/server.c.
1189
1190         * Fixed username handling in command reply.  Affected file
1191           silcd/command_reply.c.
1192
1193         * Log files are now 0600.  Affected file lib/silcutil/silclog.c.
1194
1195 Thu Mar 31 22:34:22 CEST 2005  Patrik Weiskircher <pat@icore.at>
1196
1197         * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
1198           Affected file: includes/silcincludes.h.in
1199
1200         * bool is defined as _Bool on Mac OS X now.
1201           Affected file: lib/silcutil/silctypes.h
1202
1203 Thu Mar 31 08:52:06 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1204
1205         * Added support for UTF-8 nicknames, channel names and
1206           server names in client library.  Affected files in
1207           lib/silcclient/.
1208
1209         * Added __SILC_HAVE_PTHREAD, __SILC_HAVE_SIM, __SILC_HAVE_LIBIDN,
1210           and __SILC_ENABLE_DEBUG to include/silcclient.h for third-party
1211           software to check how Toolkit has been compiled.
1212
1213 Wed Mar 30 22:16:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1214
1215         * Added silc_utf8_str[n]casecmp into lib/silcutil/silcutf8.[ch].
1216
1217         * Use silc_utf8_str[n]casecmp instead of strcmp routines
1218           in library and in SILC Client when dealing with nicknames
1219           and other identifier strings.  Affected file in client lib
1220           and irssi.
1221
1222         * Convert nickname to UTF-8 in /msg and /smsg.  Affected file
1223           irssi/src/silc/core/silc-servers.c.
1224
1225 Wed Mar 30 10:50:02 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1226
1227         * Fixed idcache to work with the new identifier strings.
1228           Affected file lib/silccore/silcidcache.c.
1229
1230         * Added UTF-8 hash and compare function for SilcHashTable.
1231           Affected file lib/silcutil/silcutil.[ch].
1232
1233         * Added casefolding stringprep, SILC_CASEFOLD_PREP.
1234           Affected file lib/silcutil/silcstringprep.[ch].
1235
1236         * Changed the identifier string handling to include the original
1237           format in client, server, channel entries and normalized
1238           format in cache.  Affected files in silcd/.
1239
1240 Tue Mar 29 16:51:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1241
1242         * Added support for the new identifier strings and their
1243           validity checking.  Nicknames, channel names and usernames
1244           can now include practically any kind of letters and various
1245           other characters.  Affected files in silcd/ and in libraries.
1246
1247           NOTE: comparing these strings should now be done with memcmp()
1248           to check binary compatibility.  All these strings are normalized
1249           and casing is irrelevant.
1250
1251         * Added silc_identifier_check to lib/silcutil/silcstrutil.[ch]
1252           as easy function for applications to check whether identifier
1253           strings are valid.
1254
1255 Tue Mar 29 00:45:11 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1256
1257         * Fixed SILC_STRING_LDAP_DN encoding and decoding.  Affected
1258           file lib/silcutil/silcutf8.c.
1259
1260         * Added SILC_STRING_UTF8_ESCAPE to lib/silcutil/silcstrutil.h.
1261
1262 Mon Mar 28 22:46:23 CEST 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1263
1264         * Make public key in getkey reply mandatory.  Affected file
1265           lib/silcclient/command_reply.c
1266
1267 Sun Mar 27 19:03:31 CEST 2005  Patrik Weiskircher <pat@icore.at>
1268
1269         * Added Parameter dont_register_crypto_library to
1270           SilcClientParam. If set to TRUE, silcclient library will
1271           not initalize the Crypto Libraries and application
1272           will need to do it. Affected file lib/silcclient/silcclient.h,
1273           lib/silcclient/client.c.
1274
1275 Sun Mar 27 19:02:48 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1276
1277         * Imported new silc_utf8_[encode|decode] routines from
1278           my internal SILC 1.1 source tree.  New encodings added:
1279           SILC_STRING_LOCALE (SILC_STRING_LANGUAGE is deprecated),
1280           SILC_STRING_UTF8, SILC_STRING_PRINTABLE, SILC_STRING_VISIBLE,
1281           SILC_STRING_TELETEX, SILC_STRING_NUMERICAL and
1282           SILC_STRING_LDAP_DN.
1283
1284         * Splitted UTF-8 routines into lib/silcutil/silcutf8.[ch].
1285
1286         * Implemented stringprep (RFC 3454) API.  Internally we use
1287           GNU Libidn's stringprep, for now, so it is required now to
1288           compile SILC sources.  Added lib/silcutil/silcstringprep.[ch].
1289
1290         * Added checking for GNU Libidn and --with-libidn to configure.
1291
1292 Wed Mar 23 11:20:33 CET 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1293
1294         * If the passphrases entered do not match while generating a new key,
1295           completly start over instead of going into an infinite loop asking
1296           the user to re-enter the passphrase correctly.  Affected file
1297           lib/silcutil/silcapputil.c
1298
1299 Sun Jan  9 14:28:51 CET 2005  Pekka Riikonen <priikone@silcnet.org>
1300
1301         * Make sure server is removed from backup list when it is
1302           deleted.  Affected files silcd/command.c, server.c,
1303           server_util.c.
1304
1305         * Close socket when connecting to router fails.  Affected
1306           file silcd/server.c.
1307
1308 Tue Jan  4 13:06:26 CET 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1309
1310         * Adopt configuration toolchain to current auto-tools.
1311           Affected files prepare, irssi/configure.in
1312         * Revert most of the UTF-8 fixes to SILC Client 1.0.1.  Will
1313           redo that.  Affected files irssi/src/silc/core/client_ops.c,
1314           irssi/src/fe-common/silc/fe-silc-channels.c
1315         * Take over command line options into silcclient data structure.
1316           Affected file irssi/src/silc/core/silc-core.c
1317
1318 Wed Dec  8 16:15:11 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1319
1320         * Do not try to initiate backup resuming protocol forever.
1321           Affected file silcd/server_backup.c.
1322
1323 Wed Nov 24 18:24:05 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1324
1325         * ID change in resuming has to be done before changing
1326           detached client's modes, since the ID change may fail and
1327           leave ghosts on the network.  Affected file is
1328           silcd/packet_receive.c.
1329
1330 Tue Nov 23 16:54:35 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1331
1332         * Fixed Win32 scheduler to not stuck anymore.  A patch from
1333           Juha Räsänen.  Affected file is
1334           lib/silcutil/win32/silcwin32schedule.c.
1335
1336         * Fixed QoS parsing for connection blocks in server.  Affected
1337           file is silcd/serverconfig.c.
1338
1339         * Fixed server statistics increasing in server.  Affected file
1340           is silcd/server.c.
1341
1342         * The CLOSE command now marks backup router as self disconnected
1343           to avoid resuming problems.  Affected file silcd/command.c.
1344
1345 Wed Sep 22 19:46:32 CEST 2004  Patrik Weiskircher <pat@icore.at>
1346
1347         * When using silc_net_create_connection[_async], and your system can
1348           create IPv6 sockets, it will try to connect to the IPv6 host.
1349           Now it tries to connect to an IPv4 host if IPv6 fails. Affected
1350           file lib/silcutil/unix/silcunixnet.c
1351
1352 Fri Jun 18 19:26:58 CEST 2004  Pekka Riikonen <priikone@silcnet.org>
1353
1354         * Check for valid route when receiving packet from router and
1355           when routing it to local server in the cell.  A patch from
1356           Matt Miller.  Affected files silcd/router.c and server.c.
1357
1358 Sat May  1 13:55:54 CEST 2004  Patrik Weiskircher <pat@icore.at>
1359
1360         * Couldn't detach and reattach twice, because of the previous
1361           commit. Affected file silcd/packet_receive.c
1362
1363 Fri Apr 30 19:40:28 CEST 2004  Patrik Weiskircher <pat@icore.at>
1364
1365         * Added check to ignore Port value if Initiator is FALSE.
1366           Remote router coudln't connect if Port was set. Affected file
1367           silcd/serverconfig.c
1368
1369         * If some client tries to resume more than once at the same time,
1370           server crashed. Router didn't crash, but showed odd behaviour
1371           (didn't allow clients to join anymore, ..). Affected files
1372           silcd/packet_receive.c silcd/idlist.h
1373
1374 Mon Mar 15 21:10:08 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1375
1376         * Destroy the file transfer session in silc_client_file_close
1377           with timeout.  Affected file lib/silcclient/client_ftp.c.
1378
1379         * Call SFTP server monitor in READ and WRITE after the actual
1380           operations.  Affected file lib/silcsftp/sftp_server.c.
1381
1382 Wed Mar 10 21:30:02 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1383
1384         * Create one configure script from configure fragments
1385           (configure.ad).  This is a first step towards new distribution
1386           system.  Affected files prepare, configure.in.pre,
1387           lib/silcmath/mpi/configure.ad.
1388
1389 Wed Mar 10 18:35:24 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1390
1391         * Removed expiring of client key pair.  Affected file is
1392           irssi/src/silc/core/clientutil.c
1393
1394 Tue Mar  9 17:11:58 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1395
1396         * Check the number of connections from real number of
1397           connections instead of socket number, when deciding if
1398           server is full.  Affected files are silcd/server.c,
1399           server_internal.h and silcd.c.
1400
1401         * Clarified the connections_max meaning in General section
1402           in doc/example_silcd.conf.in.
1403
1404         * The reconnect_keep_trying default value set to TRUE
1405           if it is not defined in the config file.  Affected file
1406           silcd/serverconfig.c.
1407
1408 Wed Mar  3 15:13:49 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1409
1410         * Fixed crashbug in connection closing, after a protocol
1411           completion callback, which might have closed it already.
1412           Affected file silcd/server.c.
1413
1414         * Fixed rekey with PFS in backup router.  It did not allow
1415           rekeys with PFS, and when the rekey protocol timedout
1416           it crashed the backup router without the above fix.  Affected
1417           file silcd/packet_send.c and server.c.
1418
1419 Sat Feb 28 16:25:09 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1420
1421         * The silc_client_add_channel_private_key now returns the
1422           private key context if pointer is given as argument.
1423           Affected files are lib/silcclient/silcclient.h and
1424           client_channel.c.
1425
1426         * Added support for using channel private keys in SILC
1427           Client Library even if the private key mode is not set
1428           on the channel.  Affected file lib/silcclient/client_channel.c.
1429
1430         * The channel private key used to decrypt message is now
1431           delivered to the application in the 'channel_messageÃ' client
1432           operation.  Affected files are lib/silcclient/silcclient.h
1433           and client_channel.c.
1434
1435         * Fixed wrong arg type for user limit in CMODE command reply.
1436           Affected file silcd/command.c.
1437
1438         * The user limit is now taken and saved to SilcClientEntry in
1439           JOIN and CMODE command replies and in CMODE_CHANGE notify.
1440           Affected files lib/silcclient/silcclient.h, command_reply.c
1441           and client_notify.c.
1442
1443         * Added support to the new private message key indicator
1444           packet.  Added a new function to the client library:
1445           silc_client_send_private_message_key_request.  The sender
1446           indicates to be initiator, and receiver is responder.
1447           Added the indicator to the SilcClientEntry as 'prv_resp'
1448           boolean.  Affected files are lib/silcclient/silcclient.h
1449           client.[ch], and client_prvmsg.c.
1450
1451 Fri Feb 27 11:25:26 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1452
1453         * Fixed the JOIN command calling when called with both
1454          -auth and -founder.  Affected file is lib/silcclien/command.c.
1455
1456 Wed Feb 25 23:12:11 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1457
1458         * Check watcher list for resumed clients as well.  Affected
1459           file is silcd/packet_receive.c.
1460
1461 Tue Feb 24 16:49:10 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1462
1463         * Implemented the user limit to the CMODE_CHANGE notify,
1464           CMODE command reply and JOIN command reply in server.
1465           Affected files are silcd/server.c, command.c, command_reply.c,
1466           packet_send.c and packet_receive.c.
1467
1468 Mon Feb 23 23:31:15 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1469
1470         * Defined SILC_STRFMT_END that must be used now with
1471           silc_buffer_strformat, instead of SILC_STR_END.  Fixes
1472           crashes on AMD64.  Affected files are lib/silcutil/silcbuffmt.h,
1473           lib/silcclient/silcvcard.c, silcd/server_util.c.
1474
1475         * Fixed the adding of public key to the WATCH list in server.
1476           Fixed the WATCH notify sending to client.  Affected files
1477           are silcd/packet_send.[ch], command.c, server_util.c.
1478
1479         * Implemented the watching by public key in the SILC Client
1480           Library and SILC Client.  Affected files are
1481           lib/silcclient/command.c and client_notify.c.
1482
1483 Mon Feb 23 09:30:30 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1484
1485         * Added support for public key watching in server.  Affected
1486           files are silcd/server.c, server_internal.h, command.c,
1487           server_util.c.
1488
1489 Sun Feb 22 19:03:59 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1490
1491         * Added public key to the SIlcClientEntry.  Affected files
1492           are lib/silcclient/silcclient.h, command_reply.c, idlist.c
1493
1494         * Fixed the get_clients_whois reply processing to return
1495           exactly same entries server returned.  Makes it possible
1496           to search using attributes.  Affected file is
1497           lib/silcclient/idlist.c.
1498
1499 Sat Feb 21 19:21:57 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1500
1501         * Save founder key to SilcChannelEntry.  Affected files are
1502           lib/silcclient/silcclient.h, command_reply.c, idlist.c.
1503
1504 Fri Feb 20 20:37:38 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1505
1506         * Call the monitor callback with _CLOSED status from the
1507           silc_client_file_close.  Affected files are
1508           lib/silcclient/client_fpt.c, silcclient.h
1509
1510         * Added silc_client_get_clients_whois which resolves using
1511           WHOIS, and supports requested attributes as well.
1512           Affected files are lib/silcclient/silcclient.h, idlist.c.
1513
1514 Fri Feb 19 21:09:22 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1515
1516         * Added support for asking the destination filename where
1517           the downloaded file is saved in the file transfer.  Affected
1518           files are lib/silccilent/silcclient.h, client_ftp.c.
1519
1520 Wed Feb 18 02:46:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1521
1522         * Fixed error handling in resuming data processing.  Affected
1523           files are lib/silcclient/client_resume.c and client.c.
1524
1525 Tue Feb 17 19:34:30 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1526
1527         * Fixed silc_client_send_private_message to return TRUE correctly.
1528           Affected file lib/silcclient/client_prvmsg.c.
1529
1530         * Added topic to the SilcChannelEntry.  Affected files are
1531           lib/silcclient/silcclient.h, command_reply.c, client_notify.c.
1532
1533 Fri Feb 13 14:19:14 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1534
1535         * Use conn->cmd_ident for all silc_client_command_call()s.  Affected
1536           file lib/silcclient/command.c
1537
1538 Fri Feb 13 13:53:45 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1539
1540         * Convert all commands to UTF-8 before passing them to the
1541           client library.  Still need to convert replies from UTF-8 to
1542           the locale encoding.  Affected file
1543           irssi/src/silc/core/silc-cmdqueue.c
1544
1545 Fri Feb 13 13:13:07 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1546
1547         * redirect all silc_client_command_calls through a queueing framework.
1548           This fixes /CYCLE and the annoying "nick change after auto-joining
1549           a channel".  Furthermore it defines one central point where
1550           command parameters can be UTF-8-ified.  Affected files
1551           irssi/src/silc/core/Makefile, client_ops.c, silc-channels.c,
1552           silc-servers.[ch], silc-core.c, silc-cmdqueue.[ch], silc-lag.c
1553
1554 Fri Feb 13 12:04:41 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1555
1556         * use asynchronous connect() to establish router connections.
1557           Fixes problem when the primary router goes down.  Affected files
1558           silcd/server.c, silcd/server_backup.c
1559
1560 Thu Feb 12 20:09:59 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1561
1562         * Added SILC_[32|64]_TO_PTR and SILC_PTR_TO_[32|64] macros.
1563           Fixed various compilation warnings when type casting ints
1564           to pointers or vice versa, of different size.  Updates around
1565           the source free.
1566
1567 Tue Feb  3 23:25:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1568
1569         * Surrogates not allowed in UTF-8 strings, updated decoder.
1570           Affected file lib/silcutil/silcstrutil.c.  Added UTF-8
1571           testers in lib/silcutil/tests/ directory.
1572
1573 Wed Jan 14 18:42:44 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1574
1575         * Added SILC_CLIENT_CONN_ERROR_KE, ERROR_AUTH, ERROR_RESUME and
1576           ERROR_TIMEOUT SilcClientConnectionStatus errors.  Affected
1577           files are lib/silcclient/silcclient.h, client.c.
1578
1579 Mon Jan 12 13:01:10 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1580
1581         * When resuming a session fails, notify the user that the session
1582           file needs to be removed eventually.  Affected files
1583           irssi/src/fe-common/silc/module-formats.[ch],
1584           irssi/src/silc/core/client_ops.c.
1585
1586 Tue Jan 04 12:16:04 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1587
1588         * Added DIST_SUBDIRS symbols to include all subdirs in distributions.
1589           Affected files lib/silcutil/Makefile.am, lib/silcmath/Makefile.am
1590
1591         * Typofix in Irssi::Silc module.  Affected file
1592           irssi/src/perl/silc/Silc.xs.
1593
1594 Tue Jan 04 02:43:44 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1595
1596         * Changed the way NOTICE flagged messages are treated. Added support
1597           for notices in queries and signing notices.  Affected files
1598           irssi/default.theme; irssi/docs/help/in/notice.in;
1599           irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c;
1600           irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.c
1601
1602         * Fixed typo in /ACTION help.  Affected file
1603           irssi/docs/help/in/action.in
1604
1605 Mon Jan 03 23:26:38 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1606
1607         * Fixed typo in perl module.  Affected file
1608           irssi/src/perl/silc/Server.xs
1609
1610         * Changed the way ACTION flagged messages are treated. Added support
1611           for actions in queries and signing actions.  Affected files
1612           irssi/default.theme; irssi/docs/help/in/action.in;
1613           irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c,
1614           fe-silc-queries.c; irssi/src/silc/core/client_ops.c, silc-channels.c,
1615           silc-servers.[ch]
1616
1617 Mon Jan 03 16:04:29 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1618
1619         * Incorrectly reported error when client had to be resolved from
1620           server in /SMSG.  Affected file irssi/src/silc/core/silc-servers.c
1621
1622 Sat Jan  3 16:37:15 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1623
1624         * Fixed whois public key hash table deleting and adding in
1625           detached client case.  Affected file silcd/packet_receive.c.
1626
1627 Sat Jan 03 12:15:38 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1628
1629         * Changed filenames of silc/fe module not to collide with filenames
1630           from core/fe.  Also seperated public messages printing from
1631           query messages printing.  Affected files are all in
1632           irssi/src/fe-common/silc.
1633
1634 Sat Jan  3 12:18:07 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1635
1636         * Fixed the invite process handling during joining to use
1637           correct server name for the client that is matched against
1638           the invite string for the channel.  Wrong server name caused
1639           inability to join the channel.  Affected file is
1640           silcd/command.c.
1641
1642 Fri Jan  2 23:34:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1643
1644         * Fixed the CUMODE channel founder authentication on normal
1645           server to not remove the founder rights on existing founder
1646           before checking that router accepts the mode change.  Affected
1647           files are silcd/command.c and silcd/packet_receive.c.
1648
1649         * Remove the server entry correctly when rekey timeouts and
1650           remote router connection on normal server is closed.  Fixes
1651           a crash where server uses the freed server entry.  Affected
1652           file silcd/server.c.
1653
1654 Fri Jan 02 10:28:15 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1655
1656         * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
1657           networks.  This is the first step in solving the bug about
1658           /SERVER ADD -silcnet <silcnet>.  Affected files
1659           irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am,
1660           fe-silcnet.c, fe-common-silc.c, module-formats.[ch];
1661           irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am
1662
1663 Thu Jan 01 20:11:32 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1664
1665         * /SMSG and /MMSG now correctly create new queries. Affected files
1666           irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl
1667
1668         * Add basic support for SILC protocol specific variables in perl.
1669           Affected files irssi/src/perl/silc/*, irssi/configure.in,
1670           irssi/src/perl/Makefile.am
1671
1672 Wed Dec 31 17:06:55 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1673
1674         * Don't use silc_get_input, it's obviously not reliable.  Fixes
1675           issue when the current key expires.  Affect file
1676           irssi/src/silc/core/clientutils.c
1677
1678         * Make the session data filename configurable.  This makes it
1679           possible to have different session files for different
1680           SILC networks.  Affected files irssi/src/silc/core/silc-core.c,
1681           client_ops.[ch], silc-servers.c,
1682           irssi/src/silc/fe-common/silc/module-formats.[ch]
1683
1684         * Use the same set of libtool files for the MPI lib as for the
1685           rest of the toolkit.  Affected files lib/silcmath/mpi/config.guess,
1686           config.sub, configure.in, install-sh, missing, mkinstalldirs
1687
1688 Sun Dec 28 21:57:39 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1689
1690         * Fixed server statistics decrementing error to not go to
1691           negative.  Affected file silcd/packet_receive.c.
1692
1693 Sat Dec 20 14:42:36 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1694
1695         * Use silc_server_query_add_error to add error in public key
1696           search error.  Added support in send_reply to send errors
1697           without specific argument.  Affected file silcd/server_query.c.
1698
1699         * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
1700           Client for NO_SUCH_NICK.  It was against the protocol specs.
1701           Affected file irssi/src/silc/core/client_ops.c.
1702
1703         * Added backwards support for the wrong NO_SUCH_NICK error sending
1704           in server.  To be removed in SILC Server 1.0.  Both old clients
1705           and clients with fixed error handling now works.  Affected file
1706           silcd/server_query.c.
1707
1708 Sat Dec 20 00:44:47 CET 2003  Patrik Weiskircher <pat@icore.at>
1709
1710         * fixed a bug in the whois using attributes function where no
1711           error was sent if no nickname and client id but the attributes were
1712           given to whois. Affected file silcd/server_query.c
1713
1714 Tue Dec 16 21:34:59 CET 2003  Patrik Weiskircher <pat@icore.at>
1715
1716         * remove public key from public key hashtable on detach. Affected
1717           file silcd/packet_receive.c
1718
1719         * free public key hashtable before removing clients on server
1720           shutdown. Affected file silcd/server.c
1721
1722         * remove public key prior deleting client-data on killing a client.
1723           Affected file silcd/server_util.c
1724
1725 Sat Dec 06 21:35:14 CET 2003  Patrik Weiskircher <pat@icore.at>
1726
1727         * Getting the MOTD from other servers works now. Affected
1728           files are silcd/command.c and silcd/command_reply.c
1729
1730 Thu Dec 04 11:33:46 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1731
1732         * Initialize the variable idletag, since it is tested in
1733           silc_core_deinit for its default value.  Affected file
1734           irssi/src/silc/core/silc-core.c
1735
1736 Sun Nov 30 19:47:02 CET 2003  Patrik Weiskircher <pat@icore.at>
1737
1738         * Fixed signed channel messages across cells. Affected file
1739           silcd/packet_send.c
1740
1741 Fri Nov 28 19:13:21 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1742
1743         * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG
1744           is not defined.  They can now be safely used in if-statements
1745           without braces.  Affected file lib/silcutil/silclog.h.
1746
1747         * Added the checks for backup closing connection due to error
1748           (local or remote) and thus not allow the resuming to occur
1749           in reconnect.  Affected files are silcd/packet_send.c
1750           and server.c.
1751
1752 Tue Nov 25 15:20:59 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1753
1754         * Help file updates.  Affected files in irssi/src/docs/help/in/.
1755
1756 Wed Nov 23 20:51:21 CET 2003  Patrik Weiskircher <pat@icore.at>
1757
1758         * Fixed channel messages across cells. Affected file
1759           silcd/packet_send.c
1760
1761 Wed Nov 12 11:34:56 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1762
1763         * Fixed file transmission accepting in client library to not
1764           start the negotiation if user hasn't accepted the transfer,
1765           instead create new session for resent transfer.  Affected
1766           file lib/silcclient/client_ftp.c.
1767
1768         * Show the session ID in the file transmision list.  Remove
1769           session from list that failed to transfer.  Switch the current
1770           session automatically after transmission, and in errors, to new
1771           session if other sessions exists in the transfer list.  Affected
1772           files are irssi/src/silc/core/silc-servers.c,
1773           irssi/src/fe-common/silc/modfule-formats.c.
1774
1775 Mon Nov 10 14:41:40 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1776
1777         * Fixed MIME header parsing for the hopefully last time.  Affected
1778           file lib/silcutil/silcstrutil.c
1779
1780 Mon Nov 10 13:03:46 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1781
1782         * Rewrote the PKCS#1 routines.  Added lib/silccrypt/silcpkcs1.[ch].
1783
1784         * The SILC RNG is now gauranteed to return non-zero random
1785           values.  Affected files are lib/silccrypt/silcrng.[ch].
1786
1787 Sun Nov  9 20:44:56 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1788
1789         * Fixed nickname formatting when changing only case of the
1790           nickname.  Affected file lib/silcclient/idlist.c.
1791
1792 Sun Nov  9 19:33:59 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1793
1794         * Fixed a memory leak and incorrect printing of the "appears as"
1795           message.  Affected file irssi/src/silc/core/client_ops.c
1796
1797 Sun Nov  9 17:45:11 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1798
1799         * Added CRT (Chinese Remainder Theorem) supported RSA
1800           private keys and private key operations.  This significantly
1801           increases private key operation efficiency.  No compatibility
1802           issues with new or old private keys.  Affected files are
1803           lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c.
1804
1805 Sat Nov  8 13:08:53 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1806
1807         * Fixed GCC-3.3.2 related compilation warnings from the
1808           source tree.
1809
1810 Fri Nov  7 23:01:47 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1811
1812         * Removed RC6 from distributions.
1813
1814 Fri Nov  7 19:38:42 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1815
1816         * Added some better comments to lib/silccrypt/silcpkcs.h,
1817           optimized some routines in lib/silccrypt/silcpkcs.c.
1818           Added test_silcpkcs into lib/silccrypt/tests/.
1819
1820         * Fixed silc_rng_global_init to actually init the global RNG
1821           if RNG wasn't provided for it.  Affected file is
1822           lib/silccrypt/silrng.c.
1823
1824 Thu Nov  6 21:08:28 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1825
1826         * Added silc_hash_table_find_by_context_ext.  Affected files
1827           lib/silcutil/silchashtable.[ch].
1828
1829         * Save the public key on normal server in WHOIS command reply
1830           from attributes, if present, and add it to public key hash
1831           table.  Fixes WHOIS resolving by public key on normal server.
1832
1833           Optimized the attributes resolving on normal server to not
1834           resolve if we resolved them already from router.
1835
1836           Affected files are silcd/server_query.c, command_reply.c.
1837
1838 Wed Nov  5 19:36:30 CET 2003 Patrik Weiskircher <pat@icore.at>
1839
1840         * Added support for whois using attributes.
1841           Affected files silcd/command_reply.c, silcd/packet_receive.c,
1842           silcd/server.c, silcd/server_internal.h, silcd/server_query.c,
1843           silcd/server_util.c
1844
1845         * Added support for whois using public key attribute to /WHOIS i
1846           client command. Affected files irssi/docs/help/in/whois.in,
1847           irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c
1848
1849 Wed Nov  5 23:37:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1850
1851         * Fixed UMODE setting in server when the client has anonymous
1852           mode set.  The mode setting was not working.  Affected file
1853           silcd/command.c.
1854
1855 Mon Nov  2 11:36:08 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1856
1857         * Fixed some bugs and typos related to sending split messages.
1858           Print notification when sending messages with /MMSG.  Affected
1859           files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c
1860
1861 Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1862
1863         * Optimized the socket referencing in packet routines, client
1864           library and server.  Affected files are lib/silccore/silcpacket.c,
1865           lib/silcclient/client.c and silcd/server.c.
1866
1867         * If silc_socket_set_qos is given with NULL arguments the QoS is
1868           reset from the socket.  Affected files are
1869           lib/silcutil/silcsockconn.[ch].
1870
1871 Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1872
1873         * Add a /LISTKEYS command which lists the locally cached
1874           client and server keys.  Affected files
1875           irssi/src/fe-common/module-formats.[ch],
1876           irssi/src/silc/core/silc-{channels,servers}.c
1877           irssi/docs/help/in/listkeys.in
1878
1879 Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1880
1881         * Check that packet queue purging was successful.  Affected
1882           files lib/silcclient/client.c and silcd/packet_send.c.  Related
1883           to MAC failed errors.
1884
1885         * Do not clear the inbuf even if it is empty if QoS was applied
1886           to it.  Otherwise the QoS data is cleared and MAC failed error
1887           will occur.  Affected file lib/silccore/silcpacket.c.
1888
1889         * Use the rekey period time as rekey protocol timeout value.
1890           If the rekey does not succeed during the rekey period there's
1891           something very wrong, and we most likely end up with wrong keys,
1892           do graceful reconnect then.   Affected file silcd/server.c.
1893
1894         * Take reference of the socket in the parser context, as it's
1895           possible to have the parsers in queue after the socket is
1896           disconnected and this may cause crash.  Affected files are
1897           lib/silccore/silcpacket.c, lib/silcclient/client.c and
1898           silcd/server.c.
1899
1900 Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1901
1902         * Fixed KICK command reply sending, it sent to replies.
1903           Affected file silcd/command.c.
1904
1905 Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1906
1907         * Finish the silc-mime.pl script. It now supports MIME type
1908           guessing using magic files, signing data messages, executing
1909           MIME handlers in background. Affected files
1910           irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in
1911
1912         * Changed MIME signal handler to make things easier for the perl
1913           script. Affected files irssi/src/silc/core/client_ops.c,
1914           silc-servers.c, and irssi/docs/signals.txt
1915
1916         * Cleaned up the silc_mime_parse function and fixed detection
1917           of wrapped header lines. Affected file lib/silcutil/silcstrutil.c
1918
1919 Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1920
1921         * Resolve the IP for file transfer listener from the connection
1922           socket.  Affected file lib/silcclient/client_ftp.c.
1923
1924         * Accept NULL hostname parameter in the functions
1925           silc_net_check_[local|remote]_by_socket.  Do not reverse lookup
1926           if hostname is not wanted.
1927
1928 Fri Oct 24 21:24:12 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1929
1930         * Fixed race condition between silc_client_init and
1931           my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c
1932
1933 Fri Oct 24 16:43:40 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
1934
1935         * Fixed file transfer connection closing when SIGNOFF for
1936           the client is received from server.  Affected file is
1937           lib/silcclient/client_ftp.c.
1938
1939 Tue Oct 21 13:35:57 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
1940
1941         * Check for disconnected socket in QUIT callback.  Affected
1942           file silcd/command.c.
1943
1944 Thu Oct 21 09:43:17 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1945
1946         * Modified the MIME parsing to allow \n and \r\n as delimiters.
1947           Affected files lib/silcutil/silcstrutil.c
1948
1949         * Cleaned up the escape/unescape functions for correctness and
1950           speed. Affected file irssi/src/silc/core/client_ops.c
1951
1952         * Removed handling for data messages with Content-Type: text/*,
1953           moved parsing of MIME headers to the signal handler, added
1954           support for signing and verifying data messages. Affected
1955           files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c,
1956           irssi/src/silc/core/silc-{servers,channels}.c
1957
1958         * Added a perl script for handling data messages based on
1959           information read from Mailcap files. New file
1960           irssi/scripts/silc-mime.pl
1961
1962 Mon Oct 20 16:08:22 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
1963
1964         * Added new SILC_MESSAGE_FLAG_ACK that can  be used to
1965           acknowledge recepetion of a message to the sender.  Updated
1966           protocol specs.
1967
1968 Sat Oct 18 11:55:33 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
1969
1970         * Unregister channel key saving callback when deleting channel.
1971           Affected file lib/silcclient/idlist.c.
1972
1973         * Do not remove the client from channels in NOTIFY_TYPE_SIGNOFF
1974           before calling notify client operation.  Affected file is
1975           lib/silcclient/client_notify.c.
1976
1977         * Unregister QoS tasks when deleting the socket connection.
1978           Affected files lib/silcutil/silcsockconn.[ch],
1979           unix/silcunixsockconn.c.
1980
1981         * Implemented latest presence-attrs draft changes.  Affected
1982           files lib/silccore/silcattrs.h and
1983           irssi/src/silc/core/silc-queries.c.
1984
1985 Tue Oct 14 18:24:53 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
1986
1987         * Save old channel keys in list to allow more rapid change
1988           of channel keys if server for some reason does that.  This
1989           avoids loosing so many channel messages due to not having
1990           key to decrypt.  Affected file lib/silcclient/silcclient.h,
1991           idlist.c and client_channel.c.
1992
1993 Mon Oct 13 21:37:47 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
1994
1995         * Continued backup router tests and fixes.  Affected files
1996           silcd/server_backup, server_util.c, server.c.  See TODO.
1997
1998 Sun Oct 12 19:58:18 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
1999
2000         * Fixed SERVER_SIGNOFF handling in servers.  The client
2001           was removed from wrong list thus not removing the client
2002           at all.  Affected file silcd/packet_receive.c.
2003
2004         * Do not execute rekey protocol for disabled connections as
2005           it would never go through.  Affected file silcd/server.c.
2006
2007         * Added timeout for rekey protocol to catch if the protocol
2008           never executes successfully.  Affected files silcd/server.c
2009           and protocol.h.
2010
2011 Sat Oct 11 15:39:22 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2012
2013         * Abandon packet processing for disconnected sockets.  Check
2014           this always after calling packet processing callback.
2015           Affected file lib/silccore/silcpacket.c.
2016
2017         * Fixed double registration disconnection code in server.
2018           Closed wrong connection.  Affected file silcd/packet_receive.c.
2019
2020 Fri Oct 10 16:27:12 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2021
2022         * On normal server reconnect to primary during resuming 4
2023           times, then give up.  Affected file silcd/server_backup.c.
2024
2025         * If during reconnecting to routers we notice we have router
2026           connection but no primary router set, the server is in desync.
2027           Reconnect to primary to restore network.  Affected file
2028           silcd/server.c.
2029
2030         * Assure that only one protocol is exeucting at the same time.
2031           Added checks for all protocols.  Affected files are
2032           silcd/server.c and server_backup.c.
2033
2034 Thu Oct  9 20:24:09 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2035
2036         * Check that a string is not already part on invite/ban
2037           string when processing it.  Affected file silcd/server_util.c.
2038
2039 Thu Oct  9 12:06:40 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
2040
2041         * Fixed the CUMODE_CHANGE for founder mode changes to comply
2042           with 1.2 version of the protocol.  Affected file is
2043           silcd/packet_receive.c.
2044
2045 Wed Oct  8 19:41:15 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2046
2047         * ERR_BAD_PASSWORD now returns the Channel ID of the channel
2048           where the passphrase was given.  Affected file is
2049           silcd/command.c.
2050
2051 Wed Oct  8 09:32:12 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
2052
2053         * INVITE and BAN notifys are now delivered from routers to
2054           servers (but not clients) on the channel.  Updated specs and
2055           code.  Affected files silcd/packet_[send|receive].[ch],
2056           command.c, server.c and server_util.c.
2057
2058         * Implemented INVITE and BAN announcing.  Affected files are
2059           silcd/server.[ch], server_util.c.
2060
2061         * Implemented SilcStatus error type argument returning in
2062           command reply error in server.  Affected file silcd/command.c.
2063
2064         * Implemented SilcStatus argument returning in comand reply
2065           in client library.  The command_reply client operation now
2066           returns error specific arguments as well.  Affected files
2067           are lib/silcclient/command_reply.[ch], client_resume.c,
2068           lib/silccore/silcstatus.[ch].
2069
2070 Sun Oct  5 20:22:08 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2071
2072         * Backup router protocol version 1.2 implemented.  Testing still
2073           required.  Affected files in silcd/server_backup.[ch], server.c,
2074           packet_receive.c and server_internal.h.
2075
2076 Sun Oct  5 12:36:37 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2077
2078         * silc_client_send_[channel|private]_message now return TRUE
2079           or FALSE.  Affected file lib/silcclien/client_channel.c and
2080           client_prvmsg.c.
2081
2082 Thu Oct  2 17:03:09 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2083
2084         * Check for explicit nickname in INVITE and BAN processing
2085           during join as well (and don't expect only wildcards in
2086           invite/ban strings).  Affected file silcd/command.c.
2087
2088         * Fixed the INVITE and BAN by public key.  The public key saved
2089           is the PK payload (as specified) not the raw data.  Affected
2090           file silcd/server_util.c.
2091
2092 Wed Oct  1 20:29:06 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2093
2094         * UTF-8 text message support for actions and notices in SILC
2095           Client.  Affected file irssi/src/silc/core/client_ops.c.
2096
2097         * silc_get_username and silc_get_real_name now returns sensible
2098           data on Win32.  Patch by Toni Willberg.  Affected file is
2099           lib/silcutil/win32/silcwin32util.c.
2100
2101 Sun Aug 24 23:35:19 CEST 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2102
2103         * Provide a signal handler to send MIME encoded messages and emit
2104           a signal when a MIME encoded message is received. Also document
2105           the signals for usage with the perl interface.
2106
2107           A sample perl script will be supplied at a later point.
2108
2109           Affected files are irssi/docs/signals.txt,
2110           irssi/src/silc/core/client_ops.[ch],
2111           irssi/src/silc/core/silc-{channels,servers}.c
2112
2113 Sun Aug 24 12:58:30 CEST 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2114
2115         * Use SILC_COMMAND_PING to estimate the round-trip time to the
2116           server. Use this time to display a lag and disconnect when it
2117           exceeds a specified limit.
2118
2119           Affected files are irssi/src/silc/core/silc-{lag,core}.c.
2120
2121 Mon Aug 11 17:14:17 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2122
2123         * Remove the channel auth list in normal server if router
2124           encofrces its list during connecting.  Send notify to channel
2125           to remove the mode to remove the list.  Affected files are
2126           silcd/server_util.c and silcd/packet_receive.c.
2127
2128 Wed Aug  6 14:52:04 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2129
2130         * Added support for channel public keys.  Updated protocol specs
2131           and implemented it.  Affected files are
2132           silcd/command.c, command_reply.c, lib/silcclient/command.c,
2133           lib/silcclient/command_reply.c.
2134
2135 Wed Jul 23 12:17:01 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2136
2137         * Ignore SIGXFSZ and SIGXCPU signals in server.  They can
2138           terminate the process on Linux.  Affected file silcd/silcd.c.
2139
2140 Mon Jun  2 19:13:27 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2141
2142         * Check for NULL buffer in silc_buffer_clear.  Affected file
2143           is lib/silcutil/silcbuffer.h.
2144
2145         * Simplified the backup router protocol by removing the _GLOBAL
2146           types.  Updated protocol specs and the code.  Affected files
2147           are silcd/server_backup.[ch].
2148
2149 Thu Apr 24 19:50:25 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2150
2151         * Deny '@' and '!' from nicknames since they are reserved
2152           by the SILC_COMMAND_INVITE and SILC_COMMAND_BAN commands.
2153           Updated protocol specs and the code.
2154
2155           Affected files are silcd/server_util.[ch].
2156
2157 Wed Apr  9 18:51:59 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2158
2159         * Fixed stack overflow in Irssi SILC client.  Affected
2160           file irssi/src/silc/core/client_ops.c.
2161
2162         * Check that Host is set in ServerConnection and RouterConnection
2163           in silcd.conf.  Affected file silcd/serverconfig.c.
2164
2165         * Fixed crash in server with protocol completion callbacks,
2166           namely rekey and backup resuming protocols.  Affected files
2167           are silcd/server_backup.c and silcd/server.c.
2168
2169         * Fixed rekey protocol to not restart if it is started already.
2170           Affected files are lib/silcclient/client.c and
2171           silcd/server.c.c
2172
2173 Mon Mar 17 18:35:24 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2174
2175         * Rewrote SilcList, affected file lib/silcutil/silc*list.h.
2176
2177         * Fixed EOF handling in SILC Config, affected file
2178           lib/silcutil/silcconfig.c.
2179
2180         * Fixed buffer overflows in lib/silcutil/silcstrutil.c.
2181
2182         * Fixed RESOLVING flag handling in JOIN notify and other
2183           notifys to handle the resolvings correctly in client library.
2184           Affected file lib/silcclient/client_notify.c.
2185
2186         * Do not send full INVITE and BAN lists in INVITE and BAN
2187           notifys, only the changed information.  Affected file
2188           silcd/command.c.
2189
2190         * Fixed INVITE notify sending in INVITE command, send it
2191           only when needed.  Affected file silcd/command.c.
2192
2193         * Handle the founder key change properly in CMODE_CHANGE
2194           notify.  Bug #122.  Affected file silcd/packet_receive.c.
2195
2196 Sun Mar  9 16:29:20 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2197
2198         * Remove the mark for output (mark it only for input) after
2199           purging outgoing queue.  Prevents the "Error in select()"
2200           floods.  Affected file silcd/packet_send.c.
2201
2202         * Fixed incorrect connection deletion from client library
2203           after calling "connect" client operation.  Could cause
2204           crashes for example during reconnect timeouts.  Affected
2205           files are lib/silcclient/client.c and
2206           irssi/src/silc/core/client_ops.c.
2207
2208         * Check server private key file permissions before starting
2209           the server.  Affected file silcd/serverconfig.c.
2210
2211 Tue Feb  4 22:53:26 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2212
2213         * NULL terminate allocated string in silc_buffer_strformat.
2214           Affected file lib/silcutil/silcbuffmt.c.
2215
2216         * Rewrote the invite/ban list string handling in server to
2217           use SilcBuffer instead.  Affected files are silcd/command.c
2218           and silcd/server_util.c.
2219
2220 Mon Feb  3 14:43:52 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2221
2222         * Fixed double free in CMODE command when setting new HMAC
2223           for channel.  Affected file silcd/command.c.
2224
2225         * Added couple of missing memset's to zero sensitive memory.
2226           Affected files silcd/command.c, lib/silcclient/command.c.
2227
2228 Sun Jan 26 12:20:30 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2229
2230         * Fixed a double free in INVITE command error handling in
2231           server.  Affected file silcd/command.c.
2232
2233         * Added macros SILC_SWAB_[16|32] to swab byte order of
2234           16-bit and 32-bit unsigned integers.  Affected file
2235           lib/silcutil/silctypes.h.
2236
2237         * Use the SILC_SWAB_16 instead of htons() in server when
2238           handling ports since the ports in structures are always
2239           in little-endian order (regardless of platform).  Affected
2240           file silcd/serverid.c and silcd/server_backup.c.
2241
2242 Tue Jan 21 17:18:04 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2243
2244         * Send DISCONNECT in close admin command in server.  Affected
2245           file silcd/command.c.
2246
2247         * Check whether we are already connecting to a remote router
2248           (in addition of checking whether we are already connected)
2249           before creating new connection.  Affected file silcd/server.c.
2250
2251 Thu Jan 16 18:47:00 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2252
2253         * Added better compiler and compiler flags checking in
2254           configure.
2255
2256         * Check that socket is valid after QoS is applied to data.
2257           Affected file lib/silcutil/unix/silcunixsockconn.c.
2258
2259         * Make sure the socket connecetion is not closed to early
2260           when closing connection in server.  Also make sure the
2261           connection is always closed after error in a protocol.
2262           Affected file silcd/server.c.
2263
2264 Wed Jan 15 11:03:36 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2265
2266         * Removed --session and --dummy options from Irssi SILC Client.
2267           -d option is available only if --enable-debug was given.
2268           Affected files are irssi/src/silc/core/silc-core,
2269           irssi/src/core/session.c and irssi/src/fe-text/silc.c.
2270
2271 Tue Jan 14 12:25:09 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2272
2273         * Added silc_buffer_steal to steal the data from the buffer.
2274           Affected file lib/silcutil/silcbuffer.h.
2275
2276 Sat Jan 11 18:16:29 CET 2003  Giovanni Giacobbi <giovanni@giacobbi.net>
2277
2278         * Fixed server crash with double Primary block in config file.
2279
2280           Fixed also various memory leaks around the config file
2281           parser.  Affected files lib/silcutil/silcconfig.c,
2282           silcd/serverconfig.c.
2283
2284         * Changed my nickname (Johnny Mnemonic) to my real name, this
2285           means that bugs introduced by him were actually introduced
2286           by me!
2287
2288 Tue Jan  7 21:58:53 CET 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2289
2290         * Don't display "foo appears as foo\nYou're now known as foo"
2291           messages.  Affected file irssi/src/silc/core/client_ops.c
2292
2293 Tue Jan  7 20:08:15 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2294
2295         * Fixed error handling of invalid client entry when calling
2296           commands in server.  Fixes a crash.  Affected file
2297           silcd/command.c.
2298
2299 Thu Dec 26 14:19:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2300
2301         * Added some sanity checks in server for correctness of the
2302           server configuration.  Affected file silcd/serverconfig.c.
2303
2304 Fri Dec 20 10:47:59 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2305
2306         * Prevent endless resolving of user informations in USERS
2307           command by checking the command reply status correctly.
2308           Affected file lib/silcclient/command_reply.c.
2309
2310 Tue Dec 17 10:05:00 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2311
2312         * Fixed file writing on WIN32 to use O_BINARY flag.  Affected
2313           file is lib/silcutil/silcfileutil.c.  A patch by Matthew
2314           Aldous <Matthew@Aldous.com>.
2315
2316         * Added better implementation using CriticalSection of
2317           SilcMutex on WIN32.  A patch by Mikko Lähteenmäki
2318           <mikko.lahteenmaki@pikabaana.net>.
2319
2320         * Added some Winsock WIN32 compatiblity defines into
2321           includes/silcwin32.h.
2322
2323 Mon Dec 16 19:33:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2324
2325         * Fixed double free in async host lookup code.  Affected file
2326           lib/silcutil/silcsockconn.c.
2327
2328         * On backup router handle now the SERVER_SIGNOFF from router
2329           for local connected servers too, and close the connections.
2330
2331           Do not process them as normally signing off servers when they
2332           really signoff by sending EOF fe, but always assume that
2333           router sends the SERVER_SIGNOFF.
2334
2335           Affected files silcd/server.c and silcd/packet_receive.c.
2336
2337         * Fixed socket unsetting when closing connections.  Affected
2338           files silcd/server.c and silcd/packet_send.c.
2339
2340         * Do not print the nickname in SERVER_SIGNOFF if we do not
2341           have it.  Prevents asserts in Irssi core.  It is possible we
2342           don't have the nick if it was just being resolved when server
2343           signoff.  Affected file irssi/src/silc/core/client_ops.c.
2344
2345 Thu Dec 12 23:22:50 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2346
2347         * Fixed autonick crashbug in client library.  Affected file
2348           lib/silcclient/client.c.
2349
2350         * Fixed Unix implementation of SilcMutex to really assert if
2351           the mutex is locked/unlcoked already.  Affected file
2352           lib/silcutil/unix/silcunixmutex.c.
2353
2354         * Fixed locking in silc_schedule_uninit.  It didn't lock
2355           when dispatching timeout tasks.  Affected file is
2356           lib/silcutil/silcschedule.c.
2357
2358         * Changed Win32 implementation of SilcThread to use modern
2359           Win32 interface.  Affected file is
2360           lib/silcutil/win32/silcwin32thread.c  A patch by Mikko L.
2361
2362 Thu Dec 12 12:06:59 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2363
2364         * Don't print signed messages when sending failed.  Affected files
2365           irssi/src/silc/core/silc-[servers.c/commands.h]
2366
2367         * Send adquate signal when founding a channel by joing it.  Affect
2368           file irssi/src/silc/core/client_ops.c
2369
2370 Wed Dec 11 21:46:19 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2371
2372         * Fix theme abstracts parsing.  Affected files irssi/default.theme,
2373           irssi/src/fe-common/core/themes.c
2374
2375 Wed Dec 11 20:20:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2376
2377         * Fixed close command to use the port correctly when closing
2378           server connections.  Affected file silcd/idlist.c.
2379
2380         * Check for NULL outbuf in silc_socket_write.  It is possible
2381           that it is NULL is some odd case.  Affected files are
2382           lib/silcutil/[unix/win32]/silc[unix/win32]sockconn.c.
2383
2384         * Do not call final protocol callback for backup router
2385           resuming protocol when closing connection.  It is closed
2386           by timeout in case of error.  Affected file silcd/server.c.
2387
2388         * Backup reconnect to router if backup resuming protocol
2389           failed.  Affected file silcd/server_backup.c.
2390
2391 Wed Dec 11 10:01:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2392
2393         * Fixed double free in SKE library error hadling when signature
2394           error occurred.  Affected file lib/silcske/silcske.c.
2395
2396         * Save the fingerprint to new SilcClientEntry after changing
2397           nickname.  Affected file lib/silcclient/client_notify.c.
2398
2399         * Print SIGNOFF in Irssi SILC client only if the nickname is
2400           known.  Prevents asserts in Irssi core.  It is possible we
2401           don't have the nick if it was just being resolved when it
2402           quit.  Affected file irssi/src/silc/core/client_ops.c.
2403
2404 Tue Dec 10 21:47:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2405
2406         * Fixed double free in invite list adding code when adding
2407           invite strings.  Affected file silcd/server_util.c.
2408
2409 Fri Dec  6 17:40:24 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2410
2411         * More log printing during backup router protocol.  Affected
2412           file silcd/server_backup.c.
2413
2414         * Removed backwards support for old private key file format.
2415           Affected file lib/silccrypt/silcpkcs.c.
2416
2417         * Removed backwards support for not-so-strict decryption length
2418           check, it's strict now.  Affected lib/silccrypt/silccipher.c.
2419
2420         * GETKEY to update the client entrys fingerprint too.
2421           Affected file lib/silcclient/command_reply.c.
2422
2423         * Added --without-libtoolfix for package builders using weird
2424           wrappers around libtool (BSD at least).
2425
2426 Thu Dec  5 22:29:46 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2427
2428         * Fixed backup router bugs:  When backup resumes router and
2429           receives a CHANNEL_MESSAGE packet the backup must not act
2430           as router since the packet header decryption would be
2431           different.  Also, when relaying packets to channel, do
2432           not re-encrypt packets on backup that came from the primary
2433           since the connection isn't really router-router connection.
2434           Affected files silcd/server.c, silcd/packet_send.c.
2435
2436         * Added checks in encryption/decryption that encryption/decryption
2437           length sent as argument really is multiple by block size.  Helps
2438           catching really weird bugs like the above backup router bugs
2439           when packets are being decrypted in wrong way.  Affected files
2440           lib/silccore/silcpacket.c, and lib/silccrypt/silccipher.c.
2441
2442         * Fixed padding generation in private key file encryption.
2443           Affected file lib/silccrypt/silcpkcs.c.
2444
2445 Thu Dec  5 16:35:23 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2446
2447         * Added ignore_message_signatures setting which can be used
2448           to ignore signatures in messages.  Affected files are
2449           irssi/src/silc/core/client_ops.c, silc-core.c.
2450
2451         * Fixed the libtoolfix to use command line options instead of
2452           environment variables.  They didn't work as expected.  Now,
2453           the libtool is fully run-time configurable.
2454
2455 Wed Dec  4 21:08:52 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2456
2457         * Verify signature payload for signed messages. Affected files
2458           irssi/src/silc/core/client_ops.h, irssi/src/silc/core/silc-servers.c,
2459           irssi/src/silc/core/silc-core.h
2460
2461         * Display signature verification result in public and private
2462           messages using theme abstracts. See irssi/default.theme for
2463           examples on their usage. Affected files
2464           irssi/default.theme, irssi/src/fe-common/silc/fe-messages.h,
2465           irssi/src/fe-common/silc/module-formats.[ch],
2466           irssi/src/fe-common/silc/fe-common-silc.c,
2467           irssi/src/fe-common/silc/Makefile.am
2468           irssi/src/fe-common/core/fe-messages.[ch]
2469
2470         * Fixed bugs in Irssi's theme parsing. Affected files
2471           irssi/src/fe-common/core/themes.c
2472
2473 Wed Dec  4 18:29:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2474
2475         * Calculate the correct length for signed messages before
2476           encrypting, it must be multiple by block size.  Affected
2477           file lib/silccore/silcmessage.c.
2478
2479         * silc_message_signed_get_public_key returns now both
2480           decoded and encoded public key.  Affected files are
2481           lib/silccore/silcmessage.[ch].
2482
2483         * Added libtoolfix script that makes the libtool more generic
2484           and configurable in run-time.  Now we can specify in run-time
2485           if what kind of libraries we want to create, regardless of
2486           configuration.  SIMs are now creates even if --disable-shared
2487           was explicitly given.
2488
2489 Tue Dec  3 23:26:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2490
2491         * Fixed founder key sending in CMODE command in client.
2492           Affected file lib/silcclient/command.c.
2493
2494         * Fixed CUMODE founder authentication in server to not check
2495           for client's public key since it's not supposed to do that.
2496           Affected file silcd/command.c.
2497
2498 Tue Dec  3 12:02:41 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2499
2500         * Set realname and hostname in NICK_REC records. Affected file
2501           irssi/src/silc/core/silc-nicklist.c
2502
2503 Mon Dec  2 20:50:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2504
2505         * Remove 1.0 protocol backwards compat code from client
2506           library.
2507
2508         * Added more reliable check for whether nickname did change
2509           or not, or whether only Client ID changed in NICK_CHANGE
2510           notify.  Affected file lib/silcclient/client_notify.c.
2511           Fixes bug in '@' character handling in a nickname.
2512
2513         * Added support for automatically parsing signature from
2514           the message payload.  Added new function
2515           silc_message_get_signature to return the payload to
2516           application.  Affected files lib/silccore/silcmessage.[ch].
2517
2518         * Changed the private_message and channel_message client
2519           operations to deliver the SilcMessagePayload to the
2520           application too.  Application can use it fe. to get the
2521           signature from the message for verification.  Affected
2522           file lib/silcclient/silcclient.h, client_channel.c and
2523           client_prvmsg.c.
2524
2525         * Redefined the signed payload for message payloads.
2526           Updated protocol specs and implemented.
2527
2528 Mon Dec  2 16:28:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2529
2530         * Fixed wrong invite and ban list handling in server command
2531           reply.  Affected files are silcd/command_reply.c,
2532           silcd/server_util.[ch].
2533
2534 Sun Dec  1 20:48:17 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2535
2536         * Fixed CMODE setting in server when founder mode was set.
2537           Affected file silcd/command.c.  Bug #95.
2538
2539         * Added support to setting specific public key in CMODE in
2540           Irssi SILC client.  Affected file lib/silcclient/command.c.
2541
2542         * Added support to use specific public key in CUMODE in
2543           Irssi SILC Client.  Affected file lib/silcclient/command.c.
2544
2545         * Added support for inviting and banning by public key in
2546           Irssi SILC client.  Affected file lib/silcclient/command.c.
2547
2548         * Fixed fingerprint/babbleprint showing in invite and ban
2549           list command replys.  Affected file is
2550           irssi/src/silc/core/client_ops.c.
2551
2552 Sun Dec  1 16:32:03 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2553
2554         * Format CMODE +c and +h to display both the mode and the argument
2555
2556 Sun Dec  1 18:17:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2557
2558         * Added test vectors and test programs for SHA-1, MD5,
2559           HMAC-SHA1 and HMAC-MD5.  New tests are located in
2560           lib/silccrypt/tests/.  Fixed also argument decoding bug in
2561           MD5 implementation.  Affected file lib/silccrypt/md5.c.
2562
2563         * Changed the channel private key and private message key
2564           generation (with static keys) to use SHA1 instead of MD5,
2565           as SHA1 is the mandatory hash function in SILC.  Affected
2566           file lib/silcclient/client_[channel/prvmsg].c.
2567
2568         * Changed the private key file encryption to use SHA1 instead
2569           of MD5.  Added support for the old generation and added
2570           automatic change of the key (to be removed later).  Affected
2571           files lib/silccrypt/silcpkcs.c.
2572
2573 Sat Nov 30 19:07:52 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2574
2575         * Load only files with .pub suffix in PublicKeyDir.  Affected
2576           file silcd/serverconfig.c.
2577
2578 Sat Nov 30 14:29:34 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
2579
2580         * Extended the SILC_SERVER_LOG_ERROR macro to all available logging
2581           channels.  Affected files silcd/silcd.c, silcd/server.h.
2582
2583         * Added the config directive PublicKeyDir for the client block.
2584           Affected files doc/exampe_silcd.conf.in, silcd/serverconfig.[ch].
2585
2586 Sat Nov 30 09:30:55 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2587
2588         * Merged Toni's irssi/silc.conf patch.
2589
2590         * ROBODoc cleanup patch to lib/silccrypt/silcpkcs.h by johnny.
2591
2592         * Max alloc tests in allocation routines.  Affected file
2593           lib/silcutil/silcmemory.c.
2594
2595 Fri Nov 29 23:44:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2596
2597         * Fixed a typo in resuming code that fixed detach/resume code
2598           in server.  Bug #93.  Affected file silcd/packet_receive.c.
2599
2600 Thu Nov 28 17:17:11 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2601
2602         * Do reverse lookups for server when /connecting. Affected files
2603           irssi/silc.conf, irssi/src/core/servers.c, irssi/src/core/network.c,
2604           irssi/src/core/net-nonblock.*
2605
2606 Thu Nov 28 16:19:18 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2607
2608         * Added library versioning for shared libraries.  Affected
2609           files configure.in.pre and lib/Makefile.am.pre.
2610
2611 Wed Nov 27 21:51:52 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2612
2613         * Display INVITE and BAN lists as specified by SILC 1.2
2614
2615 Wed Nov 27 16:01:11 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2616
2617         * Do not send invite list back unless asked (when sending
2618           no arguments) or when list was modified.  Affected file
2619           silcd/command.c.
2620
2621         * Remove client from invite list in KILLED notify and in
2622           KILL command.  Affected file silcd/command.c and
2623           silcd/server.[ch].
2624
2625         * Fixed bugs in invite list handling in INVITE command.
2626           Affected files silcd/command.c and silcd/server_util.c.
2627
2628         * Merged with Irssi 0.8.6.
2629
2630         * Fixed UTF-8 in Irssi SILC Client, setlocale was missing.
2631           Affected file irssi/src/fe-text/silc.c.
2632
2633 Mon Nov 25 18:21:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2634
2635         * The silc_argument_get_[first/next] now return the argument
2636           type to caller.  Added silc_argument_payload_encode_one.
2637
2638           Affected files are lib/silccore/silcargument.[ch].
2639
2640         * Added support for the SILC 1.2 INVITE command and new
2641           invite lists to server.  Affected files are silcd/command.c,
2642           silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2643
2644         * Added support for the SILC 1.2 BAN command and new
2645           ban lists to server.  Affected files are silcd/command.c,
2646           silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2647
2648         * Added support to client sending new INVITE command.  Affected
2649           file is lib/silcclient/command.c.
2650
2651         * Added support to client sending new BAN command.  Affected
2652           file is lib/silcclient/command.c.
2653
2654         * Added support for removing client from invite list when kicked
2655           from channel, as SILC 1.2 dictates.  Affected files are
2656           silcd/packet_receive.c and silcd/command.c.
2657
2658 Sun Nov 24 18:26:42 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2659
2660         * If iv argument to silc_cipher_[encrypt/decrypt] is NULL, use
2661           automatically the cipher's internal IV.  Affected files
2662           lib/silccrypt/silccipher.[ch].
2663
2664         * Assure the RESUME_CLIENT packet is not sent to twice to
2665           backup router if the detached client was originated from
2666           the backup.  Affected file silcd/server.c.  Bug #76.
2667
2668         * Changed silc_sim_symname to not allocate memory.  Affected
2669           file lib/silcsim/silcsimutil.c.
2670
2671         * Fixed memory leaks with SIMs in server.  Affected files
2672           silcd/serverconfig.c, silcd/server.c.
2673
2674         * Fixed channel key distribution after resuming detached
2675           client.  Affected files silcd/packet_receive.c.
2676
2677         * Fixed channel's global_user boolean checking after detaching.
2678           Check it after changing the owner of the client not before.
2679           Affected file silcd/packet_receive.c.
2680
2681         * Fixed few double frees from client library.  Fixes at least
2682           Bug #81, possibly others too.
2683
2684         * UTF-8 decode topics also in JOIN command reply and TOPIC_SET
2685           notifys in Irssi SILC Client.  Affected file is
2686           irssi/src/silc/core/client_ops.c.  Bug #82.
2687
2688         * Applied Ville Räsänen's manual page and --mandir bugfix
2689           patch.  Affected files are configure.in.pre and Makefile.am.pre.
2690           Bug #88.
2691
2692 Fri Nov 22 18:34:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2693
2694         * Added support to backup router protocol for backup to tell
2695           normal server that it cannot use the backup router as primary
2696           because the primary isn't really down.  Updated protocol
2697           specs.
2698
2699         * Added support for primary router to tell backup router that
2700           resuming is not possible because the backup really isn't primary
2701           in the cell.  For example if backup disconnected itself the
2702           resuming is not allowed since the primary really did not
2703           go down.  Updated protocol specs.
2704
2705         * Removed MARS from crypto library.
2706
2707         * Defined the CTR mode and Randomized CBC mode in SILC.  The
2708           CTR mode is RECOMMENDED now in specification.  Defined also
2709           Serpent cipher as optional cipher.  Updated the protocol specs.
2710
2711 Thu Nov 21 12:43:28 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2712
2713         * Added support for inviting/banning by IP/MASK, public key,
2714           and explicit Client ID.  Redefined the command and notify
2715           types to allow easier forwards support for other methods
2716           of inviting/banning.  Updated protocol specs.
2717
2718         * Remove the client from channel's invite lists if the client
2719           is kicked or killed.  Updated protocol specs.
2720
2721         * Unified the Channel Message Payload and Private Message
2722           into one Message Payload.  Updated protocol specs and
2723           implemented.
2724
2725 Tue Nov 19 22:30:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2726
2727         * Don't wait for EOF after socket error has occurred, but
2728           close the connection.  Affected file is silcd/server.c.
2729
2730 Mon Nov 18 18:58:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2731
2732         * Added support for setting FOUNDER mode on channel with
2733           specific public key which can be set with CMODE command.
2734           Updated protocol specs and implemented in client and server.
2735
2736         * Fixed the Irssi SILC client to correctly shutdown the client
2737           library to avoid memory leaks.  Affected files are
2738           irssi/src/silc/core/silc-core.c and silc-servers.c.
2739
2740         * Deprecated the No Reply flag in SKE protocol and introduced
2741           "IV Included" flag which can be used to indicate that the IV
2742           is included in the ciphertext.  This makes it possible to use
2743           SILC on unreliable transport, such as UDP which may cause
2744           packet reordering and losses.  Updated protocol specs, did
2745           not implement yet.
2746
2747 Sun Nov 17 15:50:57 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2748
2749         * Fixed the MPI implementation of silc_mp_sizeinbase to return
2750           < 32 bit values in correct size.  Affected file is
2751           lib/silcmath/mp_mpi.c.
2752
2753 Sat Nov 16 13:14:45 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2754
2755         * Fixed the KE Start Payload parsing to check that mandatory
2756           fields are present.  Affected file lib/silcske/payload.c.
2757
2758         * Fixed compilation warnigs in Irssi SILC Client.  Affected
2759           files are irssi/src/silc/core/silc-query.c. client_ops.c.
2760
2761 Thu Nov 14 19:33:28 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2762
2763         * Print "nick now appears as newnick" and update Irssi's nicklist
2764           when you change your nick to "nick". Closes #62
2765
2766         * Never format your own nick. Closes #63
2767
2768 Thu Nov 14 09:44:54 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2769
2770         * SILC_UMODE_GONE changes are now propagated correctly to the
2771           Irssi client. Closes #54
2772
2773 Tue Nov 12 19:42:18 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2774
2775         * Fixed example in /HELP KEY
2776
2777         * Added expando $j which expands to current SILC Client version
2778
2779 Tue Nov 12 19:46:39 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2780
2781         * Fixed public key decoding in crypto library.
2782
2783         * Added better error printing to SKE library.
2784
2785 Tue Nov 12 08:50:12 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2786
2787         * Fixed NICK command to not crash if nickname was not sent.
2788
2789 Mon Nov 11 19:32:00 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2790
2791         * Added Encrypt-Then-MAC order to SILC packet MAC generation.
2792           Deprecated the old Encrypt-And-MAC order.  Updated protocol
2793           specs and implemented.
2794
2795         * Added Encrypt-Then-MAC order to Channel Message Payload MAC
2796           generation.  Updated specs and implemented.
2797
2798 Sun Nov 10 12:20:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2799
2800         * Added support for rekey before 2^32 sequence number wraps.
2801           Affected files in server and client library.
2802
2803         * Padding must be at least 8 bytes now.  Implemented and updated
2804           protocol specs.
2805
2806         * Compute maximum padding for authentication packets to make
2807           passphrase approximation attacks impossible.  Affected files
2808           in client library and in server.
2809
2810         * Fixed PING command sending in client library and handling in
2811           server.  The server ID must be ID Payload, not raw ID data.
2812           Affected files in server and client library.
2813
2814         * Defined that all public keys sent in commands and notify
2815           payloads are actually Public Key Payloads not raw public key
2816           data.  Updated protocol specs and implemented.
2817
2818         * Updated protocol version to 1.2.  Updated specs and code.
2819
2820         * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED
2821           status types.  Updated specs and the code.
2822
2823         * Added support for normal client to kill its own entries from
2824           the network.  Updated protocol specs and the code.
2825
2826         * Defined the SILC_MESSAGE_FLAG_SIGNED.  Updated protocol specs
2827           and added initial implementation.
2828
2829         * Added MAC field to the Private Message Payload to protect
2830           against chosen ciphertext attacks.  Updated the protocol specs
2831           and implemented.
2832
2833         * Added idle and signon fields to the ATTRIBUTE_SERVICE
2834           attribute to indicate the user's current idle and signon time
2835           of a service.  Updated protocol specs and implemented.
2836
2837 Thu Nov  7 19:21:10 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2838
2839         * Added "do_not_bind" argument to silc_client_file_send what
2840           can be used to not bind locally but assume the file receiver
2841           provides the point of connect.  Usefull when sender is behind
2842           NAT device.  Affected file lib/silcclient/silcclient.h and
2843           client_ftp.c.
2844
2845         * Added -no-listener option to FILE SEND command in Irssi SILC
2846           client.  Affected file irssi/src/silc/core/silc-servers.c.
2847           Renamed FILE RECEIVE to FILE ACCEPT.
2848
2849         * Confirm passphrase for private key encryption in
2850           silc_create_key_pair and silc_change_private_key_passphrase.
2851           Affected files are lib/silcutil/silcapputil.c.
2852
2853 Thu Nov  7 10:05:28 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2854
2855         * Move silc_client_packet_send back to internal, added
2856           silc_client_send_packet, a bit simpler function for application.
2857           Affected files lib/silcclient/silcclient.h, client.c and
2858           client_internal.h.
2859
2860         * Moved the SilcClientEntry, SilcChannelEntry and
2861           SilcServerEntry to silcclient.h to be public and documented
2862           them for application.  Affected files are
2863           lib/silcclient/silcclient.h and idlist.h.
2864
2865 Wed Nov  6 17:18:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2866
2867         * Fixed manual page installation patch by Ville Räsänen.
2868           USERS help page fix patch by Ville Räsänen
2869
2870         * Changed the silc_client_command_call interface to make
2871           the command call simpler for the application.  The library
2872           now handles the command line parsing, command finding and
2873           execution.  Application only needs to call the function
2874           with the command line.  Affected files are
2875           lib/silcclient/silcclient.h, command.[ch].
2876
2877         * Fixed silc_get_input to NULL-terminate the returned input.
2878           Affected file lib/silcutil/silcutil.c.
2879
2880         * Resolve the client's public key in JOIN command if the
2881           founder auth data is being requested but we don't know the
2882           client's public key.  Affected file silcd/command.c.
2883           Bug #53.
2884
2885 Mon Nov  4 16:02:59 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2886
2887         * Print notify for server opers when backup router comes
2888           online.  Affected file silcd/server.c.
2889
2890         * Fixed the INVITE command to send the invite list in
2891           command reply.  Affected file silcd/command_reply.c.
2892
2893         * Fixed MOTD command reply sending.  Affected file
2894           silcd/command.c.
2895
2896         * UTF-8 decode the topic in TOPIC command reply and LIST
2897           command reply in Irssi SILC client.  Affected file is
2898           irssi/src/silc/core/client_ops.c.
2899
2900 Sun Nov  3 17:59:15 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2901
2902         * Fixed the INVITE command to not crash Irssi SILC client
2903           when given without nickname argument.  AFfected file
2904           irssi/src/silc/core/client_ops.c.
2905
2906         * Fixed double free in WHOIS query on normal server when
2907           forwarding query to router.  Affected file is
2908           silcd/server_query.c.
2909
2910         * Fixed WATCH command reply handling on normal server which
2911           was missing altogether.  Affected file silcd/command_reply.c.
2912           Bug #44.
2913
2914 Sun Nov  3 00:42:05 EET 2002  Mika Boström <bostik@lut.fi>
2915
2916         * Added man-pages for silc(1), silcd(8) and silcd.conf(5).
2917           Included yodl sources for each of these. Also modified
2918           Makefile.am prototype to install these files to proper
2919           locations. Updated CREDITS. Affected file Makefile.am.pre,
2920           new files doc/*.yo, doc/silc.1, doc/silcd.conf.5,
2921           doc/silcd.8.
2922
2923 Sat Nov  2 21:26:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2924
2925         * Added support for encrypted private key files.  Now
2926           passphrase must be provided when new key pair is created
2927           (can be empty though), and prompted when loading the
2928           private key.  Added support for loading the old-style
2929           non-encrypted private keys as well.  Affected files
2930           lib/silccrypt/silcpkcs.[ch], Irssi SILC client and
2931           SILC Server.
2932
2933         * Fixed silc_get_input to accept input on all terminals.
2934           Affected file lib/silcutil/silcutil.c.
2935
2936         * Moved the Irssi SILC client key loading and other stuff
2937           to be called after the arguments and UI is initialized.
2938           Affected file irssi/src/silc/core/silc-core.c.  Bug #31.
2939
2940         * Added -P option to Irssi SILC client which can be used
2941           to change the passphrase of the private key.  Affected
2942           file irssi/src/silc/core/silc-core.c.
2943
2944         * Added silc_change_private_key_passphrase apputil routine
2945           to lib/silcutil/silcapputil.[ch].
2946
2947 Sat Nov  2 12:53:09 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2948
2949         * Fixed connection closing in client library to not crash.
2950           Moved the connection freeing totally to function
2951           silc_clinet_del_connection.  Affected file
2952           lib/silcclinet/client.c.
2953
2954 Fri Nov  1 18:57:02 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2955
2956         * Changed includes/silcincludes.h to silcincludes.h.in to
2957           include configuration specific information.  The silcdefs.h
2958           is not included in to installation anymore (it's only
2959           compilation time header).
2960
2961 Fri Nov  1 10:30:26 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2962
2963         * Moved the SilcClient and SilcClientConnection from client.h
2964           to the public lib/silcclient/silcclient.h.  Changed the
2965           structures a bit.
2966
2967 Thu Oct 31 22:44:07 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2968
2969         * If version string in silc_clinet_alloc is NULL the library
2970           puts it automatically.  Affected file lib/silcclient/client.c.
2971
2972         * Changed the version strings from variables to #define's
2973           in includes/silcversion.h.
2974
2975 Wed Oct 30 16:17:30 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2976
2977         * Added shared library complation support.
2978
2979 Tue Oct 29 21:48:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2980
2981         * Added lib/silcutil/silcapputil.[ch] for application
2982           utility functions.  It includes routines for applications'
2983           convenience.  Added silc_create_key_pair, silc_show_public_key
2984           and silc_load_key_pair functions.
2985
2986 Tue Oct 29 17:36:44 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2987
2988         * Send RESUME_CLIENT packet from router to backup routers
2989           to in resuming.  Affected file silcd/packet_receive.c.
2990
2991 Mon Oct 28 21:23:39 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2992
2993         * In IDENTIFY command parsing, send all other IDs except
2994           Client IDs explicitly to router for resolving on normal
2995           server.  Also check that ID received in WHOIS command is
2996           always Client ID, others are not allowed.  Affected file
2997           silcd/server_query.c.
2998
2999         * Merged latest changes from irssi.org CVS.
3000
3001 Sun Oct 27 11:44:32 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3002
3003         * Merged c0ffee's /set heartbeat patch to Irssi SILC client.
3004           Affected files irssi/src/silc/core/silc-core, silc-server.c.
3005
3006         * Fixed the heartbeat sending in Irssi SILC client.  Moved
3007           the silc_client_packet_send to silcclient.h for application
3008           usage.  Affected files lib/silcclient/client_internal.h
3009           lib/silcclient/silcclient.h.
3010
3011         * Fixed a bug in query resolving in server.  Used wrong
3012           variable in a for loop and crashed.  Affected file is
3013           silcd/server_query.c.
3014
3015         * Server constructs requested attributes only to locally
3016           connected clients.  Affected file silcd/server_query.c.
3017           Bug #36.
3018
3019         * Fixed a bug when sending resolving from router to server
3020           with requested attributes.  The constructed WHOIS command
3021           was incorrect.  Affected file silcd/server_query.c.
3022           Bug #38.
3023
3024         * Fixed Requested Attributes saving in WHOIS command reply.
3025           The length of the data buffer must be saved too.  Affected
3026           file silcd/command_reply.c.
3027
3028         * Update the client entry's servername after detaching is
3029           over.  Affected file silcd/packet_receive.c.  Bug #37.
3030
3031         * Resolve incomplete client entrys in CUMODE_CHANGE and
3032           CMODE_CHANGE notifys.  Affected file is
3033           lib/silcclient/client_notify.c.  Bug #42.
3034
3035 Thu Oct 24 12:22:35 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3036
3037         * Fixed channel key packet processing bug on backup router
3038           during backup resuming protocol.  Affected file is
3039           silcd/packet_receive.c.
3040
3041         * Fixed memory leaks in server.  Affected files are
3042           silcd/server.c and silcd/packet_receive.c.
3043
3044         * Fixed packet decryption problem when backup router encrypted
3045           channel message with wrong key during backup resuming
3046           protocol.  Affected file silcd/packet_send.c.
3047
3048         * ROBODoc documented lib/silccrypt/silccipher.h.  A patch by
3049           Toni Willberg (toniw@iki.fi)
3050
3051         * Changed the SilcCipher context to be private.  Changed the
3052           silc_cipher_get_iv to just return pointer to the IV.  Added
3053           silc_cipher_get_name to return the name of the cipher.
3054           Fixed code all around to support these changes.  Affected
3055           files are lib/silccrypt/silccipher.[ch], client library and
3056           server.
3057
3058 Wed Oct 23 19:01:41 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3059
3060         * Fixed unaligned access in lib/silccore/silcattrs.c.
3061
3062         * Fixed libtool linking in lib/silcsim/Makefile.am.
3063
3064         * Fixed services attribute printing.  Affected files is
3065           irssi/src/silc/core/silc-queries.c.
3066
3067 Wed Oct 23 09:51:04 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3068
3069         * Fixed a crashbug in incoming server accepting.  Affected
3070           file silcd/server.c.
3071
3072 Tue Oct 22 13:02:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3073
3074         * Added automatically generated index to Toolkit Reference
3075           Manual.
3076
3077         * Added support for Postscript Toolkit Reference Manual.
3078
3079 Mon Oct 21 21:30:40 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3080
3081         * Merged DISCONNECT fix, and autoconn port fix from Irssi
3082           CVS.
3083
3084 Sun Oct 20 19:54:55 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3085
3086         * Added 'send_events' boolean argument to the function
3087           silc_schedule_set_listen_fd which sends the set events to
3088           the application explicitly if set to TRUE.  Default action
3089           should be FALSE.  Affected file lib/silcutil/silcschedule.[ch],
3090           lib/silcclient/client_internal.h and silcd/server_internal.h.
3091
3092         * Added silc_compare_timeval to determine which time values
3093           is smaller.  Affected file lib/silcutil/silcutil.[ch].
3094
3095         * Added sort-of "Quality of Service" (QoS) support to
3096           SilcSocketConnection.  Data reception can be controlled with
3097           rate limit per second and/or read data length limit.
3098           Added silc_socket_set_qos.  Affected files are
3099           lib/silcutil/silcsockconn.[ch] and unix/silcunixsockconn.c.
3100
3101         * Added the QoS configuration to SILC Server configuration
3102           file.  Affected files are silcd/serverconfig.[ch] and
3103           server.c.
3104
3105 Sun Oct 20 14:12:24 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3106
3107         * Merged with irssi.org CVS.
3108
3109         * Failed OPER and SILCOPER authentications are now logged.
3110           Affected file silcd/command.c.  Bugs #25.
3111
3112 Sat Oct 19 13:32:15 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3113
3114         * ROBODoc documented lib/silcutil/silcbuffer.h and
3115           lib/silcutil/silcdlist.h.  Patch by Ville Räsänen
3116           <ville.rasanen@iki.fi>.
3117
3118 Fri Oct 18 10:51:04 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3119
3120         * Added support for auto-passphrase authentication from the
3121           config file during connecting which was not implemented
3122           yet.  Affected file irssi/src/silc/core/client_ops.c.
3123
3124         * Fixed a bug in authentication protocol failure handling which
3125           was processing wrong callback context.  Affected files
3126           are lib/silcclient/client.c and protocol.c.
3127
3128         * Fixed the /ATTR allow off to actually work.  Affected file
3129           is irssi/src/silc/core/silc-queries.c.
3130
3131         * Fixed the /ATTR -del to work.  Affected file is
3132           irssi/src/silc/core/silc-queries.c.
3133
3134 Thu Oct 17 23:45:12 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3135
3136         * Fixed string formatting crashbug in lib/silccore/silcattrs.c.
3137
3138         * Fixed mask attribute adding in Irssi SILC client.  Affected
3139           file irssi/src/silc/core/silc-queries.c.
3140
3141 Thu Oct 17 16:40:39 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3142
3143         * Added support for saving the requested attributes in
3144           WHOIS to directory.  Affected file is
3145           irssi/src/silc/core/silc-queries.c.
3146
3147 Wed Oct 16 17:40:56 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3148
3149         * Added support for parsing VCard fields that do not have
3150           the TYPE= for types.  Affected file lib/silcutil/silcvcard.c.
3151
3152         * Fixed a double free bug in hash table foreach function
3153           if the entry was deleted in the foreach callback.  Affected
3154           file lib/silcutil/silchashtable.c.
3155
3156 Tue Oct 15 18:05:24 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3157
3158         * Added silc_attribute_get_verify_data to return the signature
3159           verification data for either user digital signature or
3160           server digital signature in Requested Attributes.  Affected
3161           files are lib/silccore/silcattrs.[ch].
3162
3163         * Added silc_vcard_alloc which is used to allocated dynamic
3164           SilcVCard context.  The silc_vcard_free now checks whether
3165           the context is dynamically allocated or not.  Affected files
3166           are lib/silcutil/silcvcard.[ch].
3167
3168 Mon Oct 14 17:55:44 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3169
3170         * Periodically remove the NOATTR status from client entry
3171           so that the client may take the attributes in use even after
3172           server has resolved them unsuccessfully earlier.  Affected
3173           file silcd/server_query.c and idlist.h.
3174
3175         * Moved sha1hash and md5hash from client->internal to
3176           SilcClient for application usage.  Affected files are
3177           lib/silcclient/client.h and client_internal.h.
3178
3179         * Fixed attribute encoding and decoding bugs.  Affected
3180           files lib/silccore/silcattrs.[ch].
3181
3182         * Added ATTR command to Irssi SILC Client which is used to
3183           manage user's Requested Attributes sending and values for
3184           WHOIS command.  Affected files around Irssi SILC client.
3185
3186 Mon Oct 14 14:33:54 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3187
3188         * Added silc_buffer_strformat which can be used to format
3189           strings into a buffer which size is automatically increased.
3190           Affected file lib/silcutil/silcbuffmt.[ch].
3191
3192         * Added implementation of VCard (RFC 2426) which can be used
3193           as part of Requested Attributes in WHOIS command.  Affected
3194           file lib/silcutil/silcvcard.[ch].
3195
3196 Fri Oct 11 23:52:17 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3197
3198         * Some strncat -> silc_strncat changes our the core and
3199           client library.
3200
3201         * Added SILC_SKE_STATUS_SIGNATURE_ERROR and OUT_OF_MEMORY
3202           errors.  Added better error printing to SKE library.
3203           Affected files lib/silcske/silcske.c, silcske_status.h and
3204           payload.c.
3205
3206         * Save the PKCS key length even if only private key is set to
3207           SilcPKCS.  Affected file lib/silccrypt/silcpkcs.[ch] and rsa.c.
3208
3209         * Fixed the usage of silc_pkcs_get_key_len since it returns the
3210           length in bits not in bytes.  Affected files are
3211           lib/silcske/silcske.c, lib/silccore/silcauth.c and
3212           silcd/server_query.c.
3213
3214 Wed Oct  9 17:22:57 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3215
3216         * Added silc_attribute_payload_encode_data to directly encode
3217           the data into the attributes buffer.  Renamed function
3218           silc_attribute_payload_parse_list to silc_attribute_payload_parse.
3219           Affected files are lib/silccore/silcattrs.[ch].
3220
3221         * silc_hash_table_find_foreach calls the foreach function now
3222           once even if the nothing was found with context set to NULL.
3223           Affected file lib/silcutil/silchashtable.[ch].
3224
3225         * Remove the RESOLVING flag from client entry after received
3226           the Requested Attributes from the client.  Fixed memory leak
3227           in client entry freeing.  Affected files silcd/server_query.c
3228           and idlist.c.
3229
3230         * Added Requested Attributes support into SILC Client Library.
3231           It is not able to send requested attributes in WHOIS command,
3232           and also receive and process requested attributes.  Added
3233           silc_client_attribute_[add|del] and silc_client_attributes_get
3234           functions.  Added also `ignore_requested_attributes' to the
3235           SilcClientParams to not use attributes in client.  Affected
3236           files are lib/silcclient/command.c, client_attrs.[ch],
3237           silcclient.h, client_internal and client.[ch].
3238
3239         * Changed the silc_client_get_client_by_id to support Requested
3240           Attributes, it takes them as argument now.  Affected file
3241           is lib/silcclient/silcclient.h, and idlist.c.
3242
3243         * Added -details option to WHOIS command in Irssi SILC Client
3244           to support the requested attributes.  By default it requests
3245           all attributes.  Affected file lib/silcclient/command.c and
3246           irssi/doc/help/in/whois.in.
3247
3248 Tue Oct  8 17:58:28 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3249
3250         * Add also SERVICE attribute for server-constructed attribute
3251           data.  Also digitally sign the attributes and add
3252           SERVER_DIGITAL_SIGNATURE attribute.  Affected file is
3253           silcd/server_query.c.
3254
3255 Mon Oct  7 18:25:35 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3256
3257         * Changed the silc_attribute_payload_encode to support list
3258           of attributes (function may be called several times to add
3259           a new attribute).  Removed the silc_attribute_payload_encode_list
3260           function.  The encoding function now also automatically encodes
3261           the data, so the caller does not need to do that.  Affected
3262           files lib/silccore/silcattrs.[ch].
3263
3264         * Added support for replying on behalf of the user to the
3265           Requested Attributes in WHOIS command in the server.  Affected
3266           file silcd/server_query.c.
3267
3268         * SILC_NOT_IMPLEMENTED macro use SILC_LOG_INFO now instead of
3269           SILC_LOG_DEBUG.  Affected file lib/silcutil/silclog.h.
3270
3271 Sun Oct  6 16:48:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3272
3273         * Don't swtich to become primary router if we are backup if
3274           decryption error has occurred.  Affected file silcd/server.c.
3275
3276         * Fixed a bug in backup router IP address comparison in
3277           silc_server_backup_get.
3278
3279           Save now also the port of the server/router and use that
3280           in comparison as well.  Affected file silcd/server_backup.c.
3281
3282         * Normal server now reconnects to backup router automatically
3283           if connection is lost to it.  Affected file silcd/server.c.
3284
3285 Thu Sep 26 13:51:02 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3286
3287         * If packet processing fails (like integrity check fails)
3288           the connection is closed now.  Affected files are
3289           lib/silccore/silcpacket.c and silcd/server.c.
3290
3291 Mon Sep 23 10:59:39 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3292
3293         * Fixed double free in RSA public key set function
3294           silc_rsa_set_public_key.  Affected file lib/silccrypt/rsa.c.
3295           Bug #29.
3296
3297 Sun Sep 22 14:54:05 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3298
3299         * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server.
3300           Added server_query.[ch] which provides one interface for
3301           querying information using all three commands.
3302
3303         * Changed all "typedef unsigned char" in core library to
3304           "typedef SilcUInt8".
3305
3306 Sat Sep 21 21:36:45 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3307
3308         * Added silc_strncat into lib/silcutil/silcstrutil.[ch].
3309
3310         * Renamed silc_server_get_client_resolve to
3311           silc_server_query_resolve and moved to server_query.[ch].
3312
3313 Wed Sep 18 18:28:04 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3314
3315         * Resumed client packet handling from server put the resumed
3316           client on wrong list on router and caused the client not
3317           be present on the network anymore.  Now fixed to put the
3318           client to correct list.  Affected file silcd/packet_receive.c.
3319
3320 Wed Sep 18 15:13:48 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
3321
3322         * Various cleanup in error message output in config parsing code
3323           and in server init code.  Fixed error log files containing
3324           too many newlines ('\n') in some situations.  Affected files are
3325           silcd/serverconfig.c, silcd/silcd.c, and silcd/server.c.
3326
3327 Wed Sep 18 10:51:23 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3328
3329         * Use the reverse lookupped hostname in client internals
3330           instead of one user provided us as remote server name.
3331           Affected file lib/silcclient/client.c.
3332
3333 Mon Sep 16 12:02:54 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3334
3335         * Added 'app_context' to silc_schedule_init.  It is an
3336           application specific context that is delivered to application
3337           in task callback functions.  Affected files are
3338           lib/silcutil/silcutil.[ch].
3339
3340         * The hb_context in SilcSocketConnection is not freed
3341           automatically anymore (application must free it).  Freeing
3342           it automatic is inconsistent.  Affected files are
3343           lib/silcutil/silcsockconn.[ch].
3344
3345 Sun Sep 15 22:16:19 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3346
3347         * Added support for removing explicitly added client connections
3348           in rehash and closing the client connections if they were
3349           unconfigured in the rehash.  Affected file silcd/server.c.
3350
3351         * Added support for aborting automatically pending commands
3352           that never receives the reply (to avoid memory leaks).
3353           Added also silc_server_command_pending_timed to set the
3354           specific timeout for pending command.  Affected files are
3355           silcd/command[_reply].[ch].
3356
3357         * Added SILC_STATUS_ERR_TIMEDOUT status.  Updated protocol
3358           specs and lib/silccore/silcstatus.h.
3359
3360 Sun Sep 15 12:25:10 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3361
3362         * Changed the silc_get_time to accept time value as argument
3363           or if zero is sent return current local time.  Affected
3364           file lib/silcutil/silcutil.[ch].
3365
3366         * Added STATS command to client library and Irssi SILC client.
3367           Patch provided by Ville Räsänen <ville.rasanen@iki.fi>.
3368
3369 Wed Sep 11 09:22:00 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3370
3371         * Assure that channel key is set before sending it.  May
3372           crash server otherwise.  Affected file silcd/packet_send.c.
3373
3374 Tue Sep 10 09:50:08 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3375
3376         * Assure that endless loop cannot happen with detached client
3377           resolving on normal server.  Added idlist status
3378           SILC_IDLIST_STATUS_RESUME_RES.   Affected files are
3379           silcd/idlist.h and silcd/packet_receive.c.
3380
3381 Mon Sep  9 12:18:18 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3382
3383         * Incoming file transfer request cannot use same session as
3384           the sending session.  This can happen when sending file to
3385           yourself.  Crashed the client on quit.  Affected file
3386           lib/silcclient/client_ftp.c.  Bug #24.
3387
3388 Sun Sep  8 18:39:25 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3389
3390         * Implemented the draft-riikonen-precense-attrs draft and
3391           the Attribute Payload into the lib/silccore/silcattrs.[ch].
3392
3393 Sun Sep  8 13:13:44 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3394
3395         * Distribute the SERVER_SIGNOFF notify also to local backup
3396           routers from the primary router.  The backup router may not
3397           have the signing of local server directly connected and need
3398           to know about the signoff.  Affected file silcd/server_util.c.
3399
3400         * Use the primary router as the origin of the locally connected
3401           server when it is disconnecting from the backup router since
3402           that's where it really is coming from.  Now the clients from
3403           the disconnecting server are removed correctly and "shadow"
3404           clients are not left to the backup router.  Affected file
3405           silcd/server.c.
3406
3407 Sat Sep  7 22:26:50 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3408
3409         * If normal server is standalone and found existing but disabled
3410           channel, do not re-create the channel since it creates
3411           duplicate same channels.  Affected file silcd/server.c.
3412
3413         * Added anonymous client connections support to server.  New
3414           "anonymous" configuration option to ConnectionParams section
3415           added.  If set to true, the username and hostname information
3416           of the client will be scrambled and anonymous user mode is
3417           set automatically to the user.  Affected files are
3418           silcd/serverconfig.[ch], silcd/packet_receive.c and server.c.
3419
3420 Sat Sep  7 16:02:09 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3421
3422         * In JOIN notify handling, mark that the cache entry of the
3423           client cannot be expired.  Can cause crashes on normal
3424           server (asserts client->channels).  Affected file is
3425           silcd/packet_receive.c.
3426
3427         * From now on distribution versions are used as protocol versions
3428           instead of by default using the Toolkit base version as protocol
3429           version.  Affected file prepare.
3430
3431         * Do not set the locally resolved hostname for local client
3432           entry but take what server sends.  This way the real hostname
3433           is showed in WHOIS for yourself.  Affected file is
3434           lib/silcclient/idlist.c and lib/silcclient/client.c.
3435
3436         * Resolve local info with IDENTIFY when connecting to server.y
3437
3438 Sat Sep  7 14:22:43 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3439
3440         * Rewritten check for POSIX threads.  Use --with-pthreads[=DIR]
3441           for implied search (not needed on platforms which has native
3442           pthreads library).  Use --without-pthreads to disable threads.
3443           Affected file is configure.in.pre
3444
3445         * Fixed --with-iconv on platforms which need to bypass (broken)
3446           native iconv().  Affected file is configure.in.pre
3447
3448 Sat Sep  7 15:08:13 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3449
3450         * Moved -C option parsing in Irssi SILC client at same time
3451           as other options.  The UI was initialized earlier and caused
3452           problems on command line.  Bug #16.  Affected file is
3453           irssi/src/silc/core/silc-core.c.
3454
3455 Mon Sep  2 23:00:30 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3456
3457         * Added global variable silc_log_timestamp that tells silclog
3458           wether to print or not the timestamp in the logging files.
3459           Affected file lib/silcutil/silclog.[ch].
3460
3461         * Added silcd configuration option Timestamp in the Logging
3462           section.  Affected file silcd/serverconfig.[ch],
3463           doc/example_silcd.conf.in.
3464
3465 Fri Aug 30 08:57:33 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3466
3467         * Fixed fingerprint checking to check for entirely empty
3468           fingerprint instead of two first bytes when determining
3469           if it is set.  Bug #18.  Affected file silcd/command.c.
3470
3471         * Fixed duplicate PKCS name registering to not allow it.
3472           Bugs #17.  Affected file lib/silccrypt/silcpkcs.c.
3473
3474 Sun Aug 25 08:02:04 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3475
3476         * Conditionalize non-gcc compiler optimizations for various
3477           platforms, enable those commented out.  Cleanups.
3478           Affected file lib/silcmath/mpi/configure.in
3479
3480 Sat Aug 24 15:11:32 EEST 2002 Timo Sirainen <tss@iki.fi>
3481
3482         * silc_rng_exec_command() left zombie processes if command
3483           didn't generate any output.  Affected file
3484           lib/silccrypt/silcrng.c
3485
3486 Fri Aug 23 22:05:44 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3487
3488         * Rewrote iconv checking, introduce --with-iconv for systems
3489           which rely on libiconv.  Check if iconv() provided by libc
3490           is good enough, otherwise demand libiconv.  Affected file
3491           configure.in.pre
3492
3493 Fri Aug 23 07:10:52 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3494
3495         * Search for ldopen() also in libc.  This enables SIM support
3496           on *BSD systems.  Based on patch from Alex Zepeda.  Affected
3497           file configure.in.pre
3498
3499 Sun Aug 18 04:44:30 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3500
3501         * Don't call AM_CONDITIONAL conditonally for SILC_THREADS.
3502           This fixes prepare on *BSD systems.  Affected file
3503           configure.in.pre
3504
3505 Sun Aug  4 15:55:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3506
3507         * More fixed for not having purge timeout for global clients
3508           that are on channel.  Affected files silcd/command_reply.c
3509           and server_util.c.
3510
3511         * Fixed the rekey protocol to work with backup router connections.
3512           Rekey packets are now allowed on disabled connections as
3513           well.  Affected files silcd/packet_send.c and server.c.
3514
3515         * Do not switch to be as backup router when shutting down and
3516           closing the primary connection.  Affected file silcd/server.c.
3517
3518         * Fixed memory leaks in backup router deleting.  Added
3519           silc_server_backup_free to free all data during shutdown of
3520           server.  Affected files silcd/server_backup.[ch].
3521
3522 Sun Jul 14 21:33:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3523
3524         * Do not process commands if the sock->user_data is NULL.
3525           Affected file silcd/command.c.
3526
3527 Tue Jul  9 19:03:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3528
3529         * Fixed buffer overflow and security problems (loosing bits
3530           in CFB encryption) in SILC RNG.  Problems reported by
3531           Markku-Juhani O. Saarinen <mjos@saturn.tcs.hut.fi>.
3532
3533 Sun Jul  7 13:10:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3534
3535         * Added yet more checks that client is not expired on global
3536           list if it is on channels.  Affected file is
3537           silcd/command_reply.c.
3538
3539 Sat Jul  6 11:45:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3540
3541         * Merged c0ffee's MIME signal patch which adds support for
3542           sending also MIME messages in Irssi SILC Client, and handling
3543           received MIME messages in a signal (and perhaps doing something
3544           to non-textual MIME messages).
3545
3546 Sun Jun 30 01:30:22 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3547
3548         * Fixed pending command deletion in server and client library
3549           to check the whole list instead of breaking after first found.
3550           The affected files are silcd/command.[ch] and
3551           lib/silcclient/command.[ch].
3552
3553 Sat Jun 29 17:40:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3554
3555         * Return NO_SUCH_CHANNEL error in USERS for channel that is
3556           secret or private, otherwise it's possible to find out
3557           whether a secret channel exists or not.  Affected file
3558           silcd/command.c.
3559
3560         * If CMODE change fails during the mode setting, assure that
3561           the old mode mask is set for the channel back.  Affected
3562           file silcd/command.c.
3563
3564         * Fixed passphrase saving on +a channel on normal server
3565           after successful JOIN command.  Affected file silcd/command.c.
3566
3567 Fri Jun 28 11:53:25 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3568
3569         * Remove server/router operator privileges in DETACH command,
3570           since it's possible to resume to server where these
3571           privileges would not be allowed for the client.  Affected
3572           file silcd/command.c.
3573
3574         * Do not set to wait for backup in rehash of the server.
3575           Affected file silcd/server.c.
3576
3577         * Do not check listener sockets when counting how many
3578           socket connections we have.  Affected file is
3579           silcd/server_util.c.
3580
3581         * Do not announce disconnected clients that are remaining
3582           in history (for WHOWAS).  This is because SIGNOFF notify
3583           for these has been sent earlier already.  Affected file
3584           silcd/server.c.
3585
3586 Thu Jun 27 20:07:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3587
3588         * Buffer overflow with CUMODE command's mode->mode character
3589           conversion.  Reported by Ville Räsänen.  Affected file
3590           lib/silcutil/silcutil.c.
3591
3592 Thu Jun 27 16:54:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3593
3594         * Allow heartbeat packets to go disabled connections anyway.
3595           Affected files silcd/server.c and silcd/packet_send.c.
3596
3597         * Do not broadcast New Channel packets with List flag set
3598           in the packet to backup routers.  The router must check
3599           for the correctness of the packets before sending them.
3600           It is possible that router will have enforce Channel ID
3601           change and this would cause desync in the backup router.
3602           Affected file silcd/packet_receive.c.
3603
3604         * Remove SILC_PACKET_FLAG_LIST from the temp packets that
3605           are handled in list parsing.  They are not list packets
3606           anymore.  Affected file silcd/packet_receive.c.
3607
3608 Thu Jun 27 11:27:07 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3609
3610         * Stop waiting for backup router through the timeout, not
3611           directly after backup router has arrived.  Affected file
3612           silcd/server.c.
3613
3614         * Do not re-create channel keys and send them when removing
3615           clients in server shutdown.  Affected files are
3616           silcd/server_internal.h and silcd/server_util.c.
3617
3618         * Notify distribution to backup routers was missing from
3619           the silc_server_send_notify_dest function which caused
3620           desyncing problems with backup router.  Affected file is
3621           silcd/packet_send.c.
3622
3623         * The client's channel removing was working wrong on
3624           backup router.  It assumed that it doesn't know global
3625           information but backup router does know.  For this reason
3626           it could remove channel when it wasn't supposed to do that.
3627           Affected file silcd/server.c and silcd/server_util.c.
3628
3629 Wed Jun 26 15:14:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3630
3631         * Stop for a couple seconds after badkup router has become
3632           primary router.  Affected file silcd/server.c.
3633
3634         * Added silc_server_remove_servers_by_server, which is used
3635           to remove servers originated from some other server.  Also
3636           clients of those servers can be removed too.  Affected file
3637           silcd/server_util.[ch].
3638
3639         * When removing clients after a server has signed of remove
3640           also all servers behind that server (unless they are known
3641           to be available locally), and send SERVER_SIGNOFF for each
3642           of the server separately.  Also the signed off clients are
3643           sent now separately per signed off server.  The affected files
3644           are silcd/server.c and silcd/server_util.[ch].
3645
3646         * All servers added with silc_idlist_add_server must always
3647           have both "router" and "connection" pointers set.  Otherwise,
3648           bad server entries may be left around in the cache.
3649           Affected file silcd/command_reply.c.
3650
3651         * Do not create the channel key in NEW_CHANNEL packet
3652           processing if the channel is empty.  Affected file
3653           silcd/packet_receive.c.
3654
3655         * Completed backup router support for standalone routers.
3656           Supports also servers in the cell that do not use the backup
3657           at all.
3658
3659 Wed Jun 26 10:38:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3660
3661         * Fixed a bug in silc_string_regexify which did not add '^'
3662           at the start of each string, and thus the matching was
3663           not explicit.  For example ban list iikone@*!*@* would
3664           match also "priikone", which is wrong, it would have to be
3665           *iikone@*!*@* to match also "priikone".  Affected
3666           file lib/silcutil/unix/silcunixutil.c.
3667
3668 Tue Jun 25 18:47:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3669
3670         * Enable all local server connections before updating client
3671           caches when we've become backup router.  Otherwise, signoff
3672           packets may not reach the clients.  Affected files are
3673           silcd/server.c and silcd/server_util.[ch].
3674
3675         * Fixed a bug in version string parsing which could crash
3676           the program with specially formatted version string.
3677           Bug reported and patch provided by Ville Räsänen.  Affected
3678           file lib/silcutil/silcutil.c.
3679
3680         * Handle the disconnection immediately when DISCONNECT
3681           packet is received in server.  Affected file silcd/server.c.
3682
3683         * Primary router now waits a short time (10 seconds) for
3684           backup router connection before accepting any other
3685           connection (except local).  Affected file silcd/server.c,
3686           serverconfig.[ch].
3687
3688         * Fixed a crash in client libary in NICK_CHANGE notify when
3689           NICK_CHANGE arrived for client entry we are resolving
3690           currently.  Affected file lib/silcclient/client_notify.c.
3691
3692         * Call the sconn->callback completion even if error had
3693           occurred.  Start reconnecting always if connection to
3694           primary router fails during backup router protocol.
3695           Affected files silcd/server.c and server_backup.c.
3696
3697 Mon Jun 24 17:47:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3698
3699         * Added functions silc_server_send_opers and
3700           silc_server_send_opers_notify to send packets stricly
3701           to operators.  Added macro SILC_SERVER_SEND_OPERS macro
3702           to send variable argument notify to operators.
3703           Affected files silcd/packet_send.[ch] and silcd/server.h.
3704
3705         * Removed UMODE rights checking with UMODE_CHANGE notify.
3706           Affected file silcd/packet_receive.c.
3707
3708         * Server/router operator now receives notify when network
3709           switches to backup router and when it resumes the use of
3710           primary router.  Affected file silcd/server.c and
3711           silcd/server_backup.c.
3712
3713         * Fixed the updating of client information after backup
3714           resuming protocol is over; update all except local clients
3715           to the new primary router.  The affected file is
3716           silcd/server_util.c.
3717
3718         * Added support for closing active connections in rehash
3719           that were unconfigured by the user.  Supports currently
3720           closing server and router connections.  Affected file
3721           silcd/server.c.
3722
3723         * Rewrote some SILC_LOG_DEBUG's in silcd/server_backup.c.
3724
3725 Sun Jun 23 17:32:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3726
3727         * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer
3728           is NULL since seems that on some platforms NULL is allowed
3729           and on some it's not.  Fallback encoding is used instead.
3730           Affected file lib/silcutil/silcstrutil.c.
3731
3732         * Fixed statistics updating for incoming server connection
3733           which could cause problems when re-connecting.  Affected
3734           file silcd/server.c.
3735
3736         * Preliminary backup router support for standalone router
3737           added.  Affected files in silcd/.
3738
3739         * Mark server connections in backup router disabled before
3740           and after backup protocol.  Affected file is
3741           silcd/server_backup.c.
3742
3743         * Added support for reconnecting to remote server connection
3744           even if the protocol fails, and if the configuration wants
3745           us to keep trying to connect anyway.
3746
3747           Server connection is not allowed to backup router if
3748           backup router does not have connection to primary router yet.
3749
3750           Affected file is silcd/server.c.
3751
3752 Sat Jun 22 21:34:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3753
3754         * Added silc_client_udpate_server function to update changed
3755           server info.  Affected file lib/silcclient/idlist.[ch].
3756
3757         * Added check for server entries that are being resolved when
3758           notify is received.  If being resolved, handle the received
3759           notify only after it's resolved so that all notifys are
3760           handled in same order as received from the server.
3761
3762           Added similar resolver check to channel entries.  Every
3763           notify that cause resolving of any information that affects
3764           channel entry marks the channel entry in waiting state.
3765           After whatever resolving is over the waiters are signalled
3766           and only then the notifys are handled in the same order
3767           as delivered from the server.
3768
3769           Affected files are lib/silcclient/idlist.[ch], and
3770           client_notify.c.
3771
3772         * Fixed KILLED notify handling in normal server.  Affected
3773           file silcd/packet_receive.c.
3774
3775         * Added SILC_IDLIST_STATUS_LOCAL which indicates that entry
3776           is locally connected, or was locally connected (but may
3777           be detached and connection is not active).  Added also
3778           SILC_IS_LOCAL for checking this status.  Affected files
3779           silcd/idlist.h, silcd/packet_receive.c, silcd/server_util.c,
3780           silcd/server.c and silcd/server_internal.h.
3781
3782 Sat Jun 22 17:06:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3783
3784         * Don't send or handle TOPIC_SET if topic is already set and
3785           is same as being set.  Affected files silcd/command.c and
3786           silcd/packet_receive.c.
3787
3788         * Fixed CMODE change rights checking to work correctly when
3789           removing modes by operator.  Affected file is
3790           silcd/server_util.c.
3791
3792         * Fixed some handling with New Channel packet in router and
3793           fixed some CMODE_CHANGE notify handling in server and router.
3794           Affected file is silcd/packet_receive.c.
3795
3796         * Changed "disconnect" client operation to include the
3797           reason of the disconnection and optional disconnection
3798           message.  Affected file lib/silcclient/silcclient.h.
3799
3800         * Made the compilation of lib/contrib/ stuff conditional.
3801           Affected files configure.in.pre, lib/contrib/Makefile.am.
3802
3803 Sat Jun 22 12:49:21 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3804
3805         * All CMODE_CHANGE and CUMODE_CHANGE notifys are now sent back
3806           to the sender of the notify too, to avoid situation where two
3807           notifys are in the network at the same time going to oppsite
3808           directions.  Affected file silcd/packet_receice.c.
3809
3810 Fri Jun 21 10:00:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3811
3812         * Delete the client from channel even if the cilent->id is
3813           NULL.  It was possible that client was deleted without
3814           removing from channels (theoretically at least).  Affected
3815           file silcd/server.c and silcd/server_util.c.
3816
3817         * Free the client data too when resuming is not successful.
3818           Affected file silcd/packet_receive.c.
3819
3820         * Merged some code from c0ffee's silc-plugin.  Affected files
3821           irssi/src/silc/core/silc-channels.c and silc-expandos.c.
3822
3823         * Added SILC_PRIMARY_ROUTE and SILC_BROADXAST macros to
3824           silcd/server_internal.h.  SILC_PRIMARY_ROUTE Returns pointer
3825           to the primary router connection, the other one returns
3826           TRUE if packet must be broadcasted to network.
3827
3828         * All notifys that are destined to primary router (to network)
3829           are now automatically sent to backup routers even if the
3830           router is standalone (and has backup router).  Affected files
3831           in silcd/.
3832
3833         * Added --without-irssi and --without-silcd configuration
3834           options for disabling the compilation of these applications.
3835           Affected file configure.in.pre and prepare.
3836
3837 Thu Jun 20 13:48:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3838
3839         * Implemented SILC_STRING_BMP and SILC_STRING_UNIVERSAL for
3840           UTF-8 encoding and decoding.  Added also new encodings
3841           SILC_STRING_BMP_LSB and SILC_STRING_UNIVERSAL_LSB.
3842
3843           Added also SILC_STRING_LANGUAGE which is language and charset
3844           specific encoder and decoer for those platforms that support
3845           iconv().  It can convert the UTF-8 to and from the locale
3846           specific character set.
3847
3848           Affected file lib/silcutil/silcstrutil.[ch].
3849
3850         * Added macro SILC_NOT_IMPLEMENTED to lib/silcutil/silclog.h.
3851
3852         * Added function silc_get_command_name to the file
3853           lib/silcutil/silcutil.[ch].
3854
3855         * Improved the server debug output a bit.  Affected files are
3856           in silcd/.
3857
3858 Wed Jun 19 17:46:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3859
3860         * Save the channel passphrase when received succesful JOIN
3861           command reply from router, on normal server.  Otherwise
3862           joinig +a channels from normal server is not possible.
3863           Affected file silcd/command.c.
3864
3865         * Fixed a bug in TOPIC_SET notify handling.  The notifier
3866           may be other than client too, like server or channel.
3867           It expected it to always be only client and ignored the
3868           notify.  Affected file silcd/packet_recieve.c.
3869
3870         * Removed some (unnecessary) debug printing from
3871           lib/silccore/silcid.c and lib/silccore/silcargument.c.
3872
3873         * Do not force CMODE_CHANGE when server is announcing new
3874           channel.
3875
3876           Router announces stuff only after server reannounces channel
3877           after CHANNEL_CHANGE notify.
3878
3879           These fixes optimizes the announcing procedure, and perhaps
3880           fixes some problems too.  Affected file silcd/packet_receive.c.
3881
3882         * Fixed SERVER_SIGNOFF sending to local clients.  It was
3883           totally broken and sent the notify to all local clients,
3884           instead of only to those that was on same channel as the
3885           signing off clients.  Affected file silcd/server_util.c.
3886
3887         * Added -D option to server.  It can be used to give debug
3888           level.  The levels are from 0 - 99, and are predefined for
3889           smooth server debugging.  (see silcd.c for the predefined
3890           levels).  Affected file silcd/server.c.
3891
3892 Wed Jun 19 16:01:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3893
3894         * Fixed a bug in Irssi SILC client to close the connection
3895           properly when disconnecting from server.  Affected file
3896           irssi/src/silc/core/client_ops.c.
3897
3898 Tue Jun 18 17:14:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3899
3900         * When authenticating as founder during JOIN command, check
3901           that the one authenticating becomes the only founder on the
3902           channel.  Affected file silcd/command.c.
3903
3904         * Better checking for founder mode setting when CUMODE_CHANGE
3905           notify is received.  Affected file silcd/packet_receive.c.
3906
3907         * Close all connections when shutting down the server by sending
3908           DISCONNECT packet.  Close all listeners too when shutting
3909           down the server.  Affected file silcd/server.c.
3910
3911         * Handle DISCONNECT packet correctly in client library by
3912           calling the "disconnect" client operation.  Affected file
3913           lib/silcclient/client.c.
3914
3915         * Handle local errors correctly during resuming.  Affected
3916           file lib/silcclient/client.c.
3917
3918 Tue Jun 18 10:26:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3919
3920         * The log file is not dupped internally anymore in
3921           lib/silcutil/silclog.c.  Fixed memory leaks too.
3922
3923         * The scheduler now dispatches all pending timeout tasks
3924           when it is uninitialized with silc_schedule_uninit.
3925           Affected file lib/silcutil/silcschedule.c.
3926
3927 Mon Jun 17 21:30:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3928
3929         * Added --enable-stack-trace option to configure.  Added
3930           memory allocation stack trace support.  Added files
3931           lib/silcutil/stacktrace.[ch].  Affected files are
3932           lib/silcutil/silcmemory.[ch].
3933
3934         * Fixed memory leaks from libraries and server.  Affected
3935           files around the tree.
3936
3937         * Reverted back a fix made to CUMODE which broke it.
3938           Affected file silcd/command.c.
3939
3940 Sun Jun 16 11:49:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3941
3942         * Added SILC_MESSAGE_FLAG_UTF8 to the protocol specs and the
3943           core library, and implemented it.  All textual messages SHOULD
3944           use this flag and the message MUST be UTF-8 encoded.
3945           All text messages sent by Irssi SILC client are now UTF-8
3946           encoded (regardless whether the terminal supports UTF-8 or not).
3947           Affected files are lib/silccore/silcchannel.h,
3948           irssi/src/silc/core/silc-servers.c, silc-channels.c and
3949           client_ops.c.
3950
3951 Sat Jun 15 18:23:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3952
3953         * Added lots of new statistics updating that was missing from
3954           the server and router code.  Affected files in silcd/.
3955
3956         * Sending SIGUSR1 signal to server now dumps the current
3957           server statistics into /tmp directory.  Affected file is
3958           silcd/silcd.c.
3959
3960         * ROBODoc documented the lib/silccrypt/silchash.h.  Improved
3961           the SILC Hash Interface also.  Added new functions
3962           silc_hash_get_name, silc_hash_init, silc_hash_update and
3963           silc_hash_final.  Affected file lib/silccrypt/silchash.c.
3964
3965 Sat Jun 15 12:09:14 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3966
3967         * Added some better info printing for client during connecting.
3968           Affected file silcd/server_util.c.
3969
3970         * Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
3971           to silence a user on a channel.  Affected files are
3972           lib/silcclient/client_channel.c, irssi/src/silc/core/client_ops.c,
3973           irssi/src/fe-common/silc/module-formats.[ch], silcd/command.c
3974           and silcd/packet_receive.c.
3975
3976         * Fixed a fatal bug in handling of malformed command payload.
3977           Affected file silcd/command.c.
3978
3979         * Fixed a double free when announcing channel users to router.
3980           Affected file silcd/server.c.
3981
3982         * After successful authentication to channel founder mode, check
3983           that there isn't anyone else with founder mode on the channel.
3984           The one that authenticated will become founder and anyone
3985           else is demoted.  Affected file silcd/command.c.
3986
3987         * Added error printing of any error that has occurred during
3988           any command in client library.  Affected file is
3989           irssi/src/silc/core/client_ops.c.
3990
3991         * Removed some error printing from the client library and left
3992           it for the application to worry (from the error status it
3993           receives in 'command' client operation.  Affected file is
3994           lib/silcclient/command.c.
3995
3996 Fri Jun 14 22:59:02 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3997
3998         * Added new status types KEY_AGREEMENT_ALREADY_STARTED and
3999           KEY_AGREEMENT_SELF_DENIED to lib/silcclient/silcclient.h.
4000           Starting key agreement with itself is denied.  Affected file
4001           is lib/silcclient/client_keyagr.c.
4002
4003         * Fixed some error checkings from the SFTP library which caused
4004           misbehaviour.  Affected files are lib/silcsftp/sftp_client.c
4005           and lib/silcsftp/sftp_util.c.
4006
4007         * Added new "debug" and "debug_string" settings to Irssi SILC
4008           client which can be used to print runtime debugging on the
4009           Irssi's screen.  Available when compiled with --enable-debug
4010           option.  Affected file irssi/src/silc/core/silc-core.c.
4011
4012 Tue Jun 11 16:36:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4013
4014         * Fixed a missing variadic parameter in a function call that
4015           caused server crash when a non-allowed connection arrived.
4016           Reported by Richard Becker.  Affected file silcd/server.c.
4017
4018 Mon Jun 10 16:29:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4019
4020         * Added WATCH list sending to backup routers from router.
4021           The WATCH command is sent by the router to the backup
4022           router.  Affected file silcd/command.c.
4023
4024         * Mark the backup_router flag for RouterConnection entry
4025           if the backup router stuff is defined in the config file.
4026           Affected file silcd/serverconfig.c.
4027
4028         * Fixed some backup data sending around the code to work better
4029           if the router is standalone router.  Not all places were fixed.
4030           Affected file silcd/packet_receive.c, silcd/packet_send.c,
4031           silcd/server.c.
4032
4033         * Fixed the router connecting when connecting to multiple
4034           routers.  It ignored every other router except the first
4035           one.  Affected file silcd/server.c.
4036
4037 Mon Jun 10 09:28:21 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4038
4039         * Made the private key generation after expiration optional.
4040           If not created after expiration the old key will re-expire
4041           at a later time (and thus key pair is not necessary to
4042           change).  Affected file irssi/src/silc/core/clientutil.c.
4043
4044 Sun Jun  9 18:58:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4045
4046         * The length arguments in bind() and connect() were wrong
4047           and fixed now to used SIZEOF_SOCKADDR in the
4048           lib/silcutil/unix/silcunixutil.c.
4049
4050 Tue Jun  4 18:36:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4051
4052         * Fixed detach timeout handling to use Client ID and not
4053           the actual client entry which may be freed in the callback.
4054           Affected file silcd/command.c.
4055
4056 Thu May 30 15:53:45 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4057
4058         * Merged c0ffee's multiple interface support patch.
4059           Affected files in silcd/.
4060
4061 Wed May 29 18:08:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4062
4063         * Cleanup keys properly.  Affected file is
4064           irssi/src/silc/core/clientutil.c.
4065
4066 Tue May 28 20:11:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4067
4068         * Display the user mode on the status bar.  Affected file
4069           irssi/src/silc/core/silc-expandos.c.
4070
4071 Tue May 28 13:56:26 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4072
4073         * If private message key is not set, but the flag is set in
4074           the packet, ignore the packet since it cannot be decrypted.
4075           Affected file lib/silcclient/client_prvmsg.c.
4076
4077 Thu May 23 12:00:14 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4078
4079         * When resuming client, remove the old client entry from
4080           the watcher list too.  Affected file silcd/packet_receive.c.
4081
4082         * Do not allow normal server to force founder mode away
4083           from router if the founder mode is already set.  Affected
4084           file silcd/packet_receive.c.
4085
4086         * Remove the client entry with watch notify types with short
4087           timeout, and not directly, so that other notifys can be
4088           retrieved too.  Affected file lib/silcclient/client_notify.c.
4089
4090         * Display notification about data messages that cannot be
4091           displayed.  Affected files irssi/src/silc/core/client_ops.c,
4092           irssi/src/fe-common/silc/module-formats.[ch].
4093
4094 Sun May 19 18:59:00 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4095
4096         * Fixed the CHANNEL_CHANGE notify handling in client libary
4097           to not use freed memory.  Affected file is
4098           lib/silcclient/client_notify.c.
4099
4100         * Fixed CUMODE_CHANGE notify handling in server.  Affected
4101           file silcd/packet_receive.c.
4102
4103         * Fixed USERS command to support empty channels.  Affected
4104           file silcd/command.c.
4105
4106 Sat May 18 11:35:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4107
4108         * Allow multiple identical pending commands to be registered
4109           in client library.  Affected file is lib/silcclient/command.c.
4110
4111         * Call the completion for resolving client information only
4112           after all resolvers has finished.  This fixes a crash in
4113           the client.  Added support for checking when the resolvers
4114           are finished.  Affected file is lib/silcclient/idlist.c.
4115
4116         * Wait by default 3 seconds before reconnecting to the server
4117           after being disconnected.  Makes the /detach command a bit
4118           more usable.
4119
4120 Fri May 17 17:23:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4121
4122         * Check the watcher list before sending signoff notifys
4123           when closing client connection.  Affected file is
4124           silcd/server.c.
4125
4126         * Added better CMODE command rights checking.  Affected file
4127           silcd/server_util.c.
4128
4129 Fri May 17 08:33:41 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4130
4131         * Fixed watcher list checking during server signoff.  It
4132           crashed the server.  Affected file silcd/server_util.c.
4133
4134         * The JOIN command reply returns now the founder's public
4135           key.  Affected file is silcd/command.c.
4136
4137         * Announce the channel mode, and the mode properties with
4138           CMODE_CHANGE notify.  Affected file silcd/server.c.
4139
4140         * Mark new channels by default disabled, untill at least
4141           one user joins the channel.  Affected file is
4142           silcd/packet_receive.c.
4143
4144 Thu May 16 13:05:13 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4145
4146         * The nickname argument to watch notify can be optional.
4147           Fixes a crash in server.  Affected file silcd/packet_send.c.
4148
4149         * Remove the client entry from cache if the WATCH notify type
4150           is KILLED, SERVER_SIGNOFF or SIGNOFF.  Affected file is
4151           lib/silcclient/client_notify.c.
4152
4153         * Check the watcher list before and after changing nickname
4154           when the NICK_CHANGE notify is received.  Affected file is
4155           silcd/idlist.c.
4156
4157         * Fixed a crash in OPER and SILCOPER command sending.  Empty
4158           passphrase caused the crash.  Affected file is
4159           lib/silcclient/command.c.
4160
4161 Wed May 15 19:01:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4162
4163         * Merged with Irssi CVS for Irssi SILC client.
4164
4165 Tue May 14 19:37:48 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4166
4167         * Completed the protocol specifications.
4168
4169 Tue May  7 20:41:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4170
4171         * Merged with Irssi CVS for Irssi SILC client.
4172
4173 Tue May  7 11:07:16 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4174
4175         * Added the founder's public key delivery to the
4176           CUMODE_CHANGE notify type as well.  Updated the protocol
4177           specs and the code.  Affected files are silcd/packet_send.[ch],
4178           silcd/packet_receive.c and silcd/command.c.
4179
4180 Mon May  6 19:46:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4181
4182         * Added silc_pkcs_public_key_copy function into the
4183           lib/silccrypt/silcpkcs.[ch].
4184
4185         * Remove the `iv' from the SilcChannelEntry since we can
4186           live without it.  Affected files are silcd/idlist.h and
4187           silcd/packet_receive.c.
4188
4189         * Added support for sending the founder's public key in
4190           the CMODE_CHANGE notify packet in the server.  Affected
4191           files are silcd/packet_send.[ch], silcd/packet_receive.c,
4192           silcd/command.c and silcd/server.c.
4193
4194         * Changed the FOUNDER_AUTH authentication to use only
4195           public key authentication as defined by new protocol
4196           specs.  Passphrase authentication with that mode cannot
4197           be used anymore.  It is now possible to reclaim founder
4198           mode from any server in the network.  Affected files are
4199           silcd/command.c, silcd/idlist.h and silcd/command_reply.c.
4200
4201         * Added permanent channels support by making the channel
4202           permanent when FOUNDER_AUTH mode is set on the channel.
4203           The channel will not be destroyed even if channel is empty
4204           when that mode is set.  Protocol TODO #17.  Affected
4205           files are silcd/server.[ch], server_util.[ch],
4206           silcd/command.c, silcd/packet_receive.c and
4207           lib/silcclient/command.c.
4208
4209 Fri May  3 18:36:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4210
4211         * Added reference counter to the command reply context in
4212           the client library.  Affected files are
4213           lib/silcclient/command_reply.[ch].
4214
4215 Fri May  3 11:37:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4216
4217         * Fixed rekey protocol with PFS in the client library.
4218           Affected file is lib/silcclient/protocol.c.
4219
4220         * Added support for list of errors in client library
4221           command reply handling.  Affected file is
4222           lib/silcclient/command_reply.c.
4223
4224         * Defined that the WHOIS and IDENTIFY commands can send
4225           list of errors.  Updated the protocol specs.  Protocol
4226           TODO #2.
4227
4228         * Added support for sending list of errors to WHOIS and
4229           IDENTIFY commands in server.  Added support for receiving
4230           list of errors in server.  Affected files are
4231           silcd/command.c and silcd/command_reply.c.
4232
4233         * Fixed client info resolving on LEAVE command in client
4234           library to not crash.  Affected file is
4235           lib/silcclient/client_notify.c.
4236
4237 Thu May  2 08:45:11 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4238
4239         * Defined that the NICK command replies with thew changed
4240           nickname too, to make the nickname changing simpler at
4241           the client's end.  Updated protocol specs and the code
4242           in client and server.  Affected files are
4243           silcd/command.c, lib/silcclient/command_reply.c and
4244           lib/silcclient/command.c.
4245
4246 Mon Apr 29 20:10:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4247
4248         * Added `Compressed' packet flag to indicate that the packet
4249           payload is compressed by the sender.  Updated the protocol
4250           specs and the core library.  The compression still is not
4251           implemented in the sources.  Affected file is
4252           lib/silccore/silcpacket.h.
4253
4254 Mon Apr 29 09:48:12 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4255
4256         * Remove pending command callbacks also if the connection
4257           to the server is destroyed.  Affected file is
4258           lib/silcclient/client.c.
4259
4260 Sat Apr 27 19:52:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4261
4262         * Added new QUIET channel user mode that can be used to
4263           quiet a user in a channel.  Updated the protocol specs but
4264           it wasn't implemented yet.  Protocol TODO #27.  Affected
4265           file is lib/silccore/silcmode.h.
4266
4267 Mon Apr 22 09:09:44 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4268
4269         * Added BLOCK_INVITE user mode to be able to block incoming
4270           invite notifications.  Protoocol TODO #26.  Affected files
4271           are lib/silccore/silcmode.h, lib/silcclient/command.c and
4272           silcd/command.c.
4273
4274         * SILC Publickey fields MUST be UTF-8 encoded now.  Updated
4275           the protocol specs and the code.  Affected file is
4276           lib/silccrypt/silcpkcs.c.
4277
4278 Sun Apr 21 19:44:38 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4279
4280         * Disconnect Payload includes now the status type.  Updated
4281           the protocol specs and the code.  Protocol TODO #25.
4282           Affected files are silcd/server.c, lib/silcclient/client.c.
4283
4284         * Added NOT_AUTHENTICATED, BAD_SERVER_ID, INCOMPLETE_INFORMATION,
4285           KEY_EXCHANGE_FAILED and BAD_VERSION error status types.
4286           Moved the silc_client_command_status_messages table to the
4287           lib/silcutil/silcutil.c and added new funtion
4288           silc_get_status_message, which deprecates function
4289           silc_client_status_message.  Affected files are
4290           lib/silccore/silcstatus.h, lib/silcclient/command_reply.[ch],
4291           lib/silcutil/silcutil.[ch].
4292
4293 Fri Apr 19 17:35:15 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4294
4295         * Defined that the nickname hash in Client ID MUST be from
4296           lowercase nickname.  This effectively changes nicknames in
4297           SILC to case-insensitive.  Updated the protocol specs and
4298           the code.  Affected files are lib/silcutil/silcutil.[ch],
4299           silcd/serverid.c, and silcd/idlist.c.
4300
4301         * Added new channel user modes BLOCK_MESSAGES_USERS and
4302           BLOCK_MESSAGES_ROBOTS.  Updated the protocol specs and the
4303           code.  Affected files are lib/silccore/silcmode.h,
4304           lib/silcclient/command.c, and silcd/packet_send.c.
4305
4306         * Added new error status ERR_RESOURCE_LIMIT.  Updated protocol
4307           specs and code.  Affected file lib/silccore/silcstatus.h.
4308
4309         * Added support for watch list.  It is possible to add nicknames
4310           to be watched, and when they come to network, leave network
4311           or user mode changes the watcher will be notified of this
4312           change.  Added SILC_COMMAND_WATCH command, added new
4313           notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch
4314           notifications.  Updated the protocol specs and implemented
4315           this to library, client and server.  Protocol TODO #21.
4316           Affected files are lib/silccore/silccomand.h,
4317           lib/silccore/silcnotify.h, lib/silcclient/command[_reply].[ch],
4318           silcd/command[_reply].[ch], lib/silcclient/client_notify.c,
4319           silcd/packet_send.[ch], silcd/packet_receive.c, and
4320           irssi/src/silc/core/client_ops.c.
4321
4322         * Added user mode SILC_UMODE_REJECT_WATCHING to reject
4323           somebody watching you.  Updated the protocol specs and the
4324           code.  Affected files are lib/silccore/silcmode.h, and
4325           lib/silcclient/command.c.
4326
4327 Fri Apr 19 09:02:20 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4328
4329         * Added service support to SILC protocol.  Added new command
4330           SILC_COMMAND_SERVICE.  Updated the protocol specs and the
4331           core library.  Services are not implemented in server or
4332           client for now.  Protocol TODO #20.  Affected files are
4333           lib/silccore/silcstatus.h, lib/silccore/silccommand.h.
4334
4335         * Added SilcStatus argument to `command' client operation
4336           to return the error status when command sending fails
4337           locally.  Changed all command in client library to return
4338           correct command status.  Affected files are
4339           lib/silcclient/command.c, lib/silcclient/silcclient.h and
4340           irssi/src/silc/core/client_ops.c.
4341
4342 Thu Apr 18 14:09:51 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4343
4344         * Added silc_mime_parse function to parse MIME headers.
4345           Affected files are lib/silcutil/silcstruti.[ch].
4346
4347         * Added MIME header parsing in Irssi SILC Client.  It displays
4348           all textual MIME objects, others it ignores.  Affected file
4349           is irssi/src/silc/core/clien_ops.c.
4350
4351 Wed Apr 17 22:07:59 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4352
4353         * Fixed a bug in the pid writing function, which couldn't be
4354           written in a root-owned directory.
4355
4356 Tue Apr 16 09:34:40 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4357
4358         * Defined that channel message to unknown Channel ID must
4359           cause SILC_NOTIFY_TYPE_ERROR notify message to the sender.
4360           Updated the protocol specs and the code in server.  The
4361           affected file is silcd/packet_receive.c.
4362
4363 Mon Apr 15 19:57:57 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4364
4365         * Added new notify type SILC_NOTIFY_TYPE_ERROR and specified
4366           that it is used to send error notifys if error occurs during
4367           some SILC packet processing, except commands.  The error
4368           types are same as for command reply types.  Defined that
4369           if private message is sent to unknown Client ID the error
4370           is sent in SILC_NOTIFY_TYPE_ERROR instead of command reply.
4371           Updated the protocol specs and code.  Affected files are
4372           lib/silccore/silcnotify.h, added lib/silccore/silcstatus.h,
4373           lib/silcclient/client_notify.c, silcd/packet_receive.c,
4374           and irssi/src/silc/core/client_ops.c.  Renamed the
4375           SilcCommandStatus to SilcStatus.
4376
4377         * Defined the use of extra WHOIS attributes in WHOIS command.
4378           The <Requested Attributes> (defined in a separate document)
4379           can be used to request additional information about user
4380           not returned by standard WHOIS command.  Defined that server
4381           can send WHOIS command directly to client.  Client provides
4382           the requested attributes to the server.  Updated the protocol
4383           specs.  Protocol TODO #4.  Implementation is not done yet
4384           (Protocol TODO #24).
4385
4386         * Renamed function silc_client_command_status_message to
4387           silc_client_status_message.  Affected files are
4388           lib/silcclient/command_reply.[ch].
4389
4390 Sun Apr 14 21:13:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4391
4392         * Changed the WHOIS, IDENTIFY and WHOWAS count arguments to
4393           32 bit integers.  Updated the protcol specs and the code.
4394           Affected files are silcd/command.c and
4395           lib/silcclient/command.c.
4396
4397 Sun Apr 14 19:49:02 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4398
4399         * Fixed a bug in library where sending a bogus authentication
4400           payload would lead to a crash.  Affected file is
4401           lib/silccore/silcauth.c.
4402
4403 Sat Apr 13 13:09:24 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4404
4405         * Added detach_disabled and detach_timeout server config
4406           options to the server.  Affected files silcd/serverconfig.[ch],
4407           silcd/command.c and silcd/packet_receive.c.
4408
4409 Fri Apr 12 20:09:08 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4410
4411         * Added resolve_cmd_ident field to the SilcClientEntry structure
4412           too so that if the entry is for example being resolved so
4413           another command may attach to the same pending command reply
4414           without requiring to resolve the same entry again.  Added
4415           support for adding multiple pending commands for one
4416           command idenfier.  Affected files lib/silcclient/command.[ch],
4417           lib/silcclient/command_reply.[ch], lib/silcclient/idlist.h.
4418
4419 Fri Apr 12 10:17:51 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4420
4421         * Defined that server receives WHOIS command reply for private
4422           and secret channels too.  Updated protocol specs and the
4423           code in server.  Affected file silcd/command.c.
4424
4425         * Defined <channel user mode list> argument to WHOIS command
4426           reply for returning user modes on the channels.  The
4427           channel list now doesn't include the user mode anymore but the
4428           actual channel mode.  Updated protocol specs and the code in
4429           client and server.  Affected files are silcd/command_reply.c,
4430           silcd/command.c, silcd/server.c, irssi/src/silc/core/client_ops.c,
4431           and lib/silcclient/command_reply.c.
4432
4433         * Save the channels list in WHOIS command reply in normal server
4434           so that WHOIS always shows joined channels also in normal
4435           server and not just on router.  Affected file is
4436           silcd/command_reply.c.
4437
4438 Thu Apr 11 22:29:33 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4439
4440         * Defined that server receives USERS command reply for private
4441           and secret channels too.  Updated protocol specs and the
4442           code in server.  Affected file silcd/command.c.
4443
4444 Thu Apr 11 16:32:08 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4445
4446         * Changed the UMODE's mode mask argument to be optional.  If
4447           not provided then the command merely returns the current mode
4448           mask to the client.  Updated protocol specs and the server.
4449           Affected file is silcd/command.c.
4450
4451         * Added SILC session detachment/resuming support.  It is possible
4452           to detach by closing the network connection and then re-connect
4453           and resume to the old client session.  Added DETACHED user
4454           mode that server will set for detached client.  Added new
4455           packet RESUME_CLIENT which is used to perform the resuming
4456           process.  Added DETACH command.  Updated the protocol specs,
4457           core library, client and server.  Protocol TODO #22.  Very
4458           many affected files around the tree.
4459
4460 Wed Apr 10 16:32:01 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4461
4462         * Changed the CMODE's mode mask argument to be optional.  If
4463           not provided then the command merely returns the current mode
4464           mask to the client.  Updated protocol specs and the server.
4465           Affected file is silcd/command.c.
4466
4467         * Changed the Killer's Client ID in KILLED notify to be just
4468           any ID payload since router server is allowed to kill as well.
4469           Updated protocol specs, client libary and server.  Affected
4470           files are lib/silcclient/client_notify.c, silcd/packet_receive.c,
4471           and irssi/src/silc/core/client_ops.c.
4472
4473 Tue Apr  9 17:15:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4474
4475         * Added new user modes ANONYMOUS for special anonymous servers
4476           that may set the mode for client, and BLOCK_PRIVMSG which
4477           client may set to block incoming private messages unless the
4478           Private Message Key flag is set (using private keys to protect
4479           private messages).  Updated protocol specs and code in client
4480           and server and core library.  Protocol TODO #23.  Affected
4481           files are lib/silccore/silcmode.h, silcd/server.[ch],
4482           irssi/src/silc/core/client_ops.c, silcd/packet_receive.c,
4483           irssi/docs/help/in/umode.in, lib/silcclient/command.c.
4484
4485         * Added new channel user mode BLOCK_MESSAGES which the client
4486           may set to itself to tell server not send channel messages.
4487           Other packets such as channel key packets are still sent.
4488           Protocol TODO #23.  Updated the protocol specs, client and
4489           server.  Affected files are lib/silccore/silcmode.h,
4490           irssi/docs/help/in/cumode.in, lib/silcclient/command.c,
4491           lib/silcutil/silcutil.c, silcd/command.c, and
4492           silcd/packet_send.c.
4493
4494 Mon Apr  8 23:57:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4495
4496         * Redefined the Status Payload to include now two 8 bit fields,
4497           instead of one 16 bit field.  This now makes it possible to
4498           send list of errors.  Updated the protocol specs and the code
4499           in core library, client library and server.  Protocol TODO #1.
4500           Affected files are lib/silccore/silccommand.[ch],
4501           lib/silcclient/command_reply.[ch], silcd/command.c,
4502           silcd/command_reply.c and silcd/packet_receive.[ch].
4503
4504 Mon Apr  8 19:57:40 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4505
4506         * Added config parse status SILC_CONFIG_EPRINTLINE, this status
4507           must be handled by the application and should tell the application
4508           that an error message was already printed, and it should print the
4509           config coords (line, filename, ...).  Affected files are
4510           silcd/serverconfig.c, lib/silcutil/silcconfig.[ch].
4511
4512         * Added local macro SILC_SERVER_CONFIG_ALLOCTMP to make the
4513           server config parsing code more readable.
4514
4515           Fixed a bug in the fetch_logging() config callback.
4516
4517           Affected files is silcd/serverconfig.c.
4518
4519         * Drop root privileges when started in foreground.  Don't drop them
4520           if debugging also.  Affected file is silcd/silcd.c.
4521
4522 Mon Apr  8 17:00:41 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4523
4524         * Added more IM-like features by introducing new user modes
4525           for setting various presence information.  Added new modes:
4526           INDISPOSED, BUSY, PAGE, HYPER and ROBOT.  Updated protocol
4527           specs and code.  Protocol TODO #19. Affected files are
4528           lib/silccore/silcmode.h, irssi/src/silc/core/client_ops.c,
4529           irssi/docs/help/in/umode.in and lib/silcclient/command.c.
4530
4531 Sun Apr  7 17:07:59 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4532
4533         * Added STATS command to the protocol after all, to return
4534           various statistical information about the network.  It can
4535           be used by clients to retrieve statistical information, and
4536           servers may use it to to fetch cell and network wide
4537           statistics from router.  Updated the protocol specs and
4538           implemented it to the server.  Protocol TODO #16.
4539           Affected files are lib/silccore/silccommand, silcd/command.[ch],
4540           silcd/command_reply.[ch].
4541
4542 Sat Apr  6 17:08:58 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4543
4544         * The LIST command reply in client libary now adds new channel
4545           entry if the returned channel doesn't exist yet in cache,
4546           and returns the channel entry to the application in the
4547           command_reply client operation.  Affected file is
4548           lib/silcclient/command_reply.c.
4549
4550         * Changed the channel message payload's MAC generation to
4551           include the IV in the MAC as well.  This way all relevant
4552           parts of the channel message payload are authenticated also
4553           with the channel message MAC (and not only by packet MAC).
4554           Causes incompatibility with 1.0 protocol.  Protocol TODO #7.
4555           Affected file is lib/silccore/silcchannel.c.
4556
4557         * Fixed the SKE to save the remote version, since the
4558           silc_ske_parse_version mistakenly checked wrong version,
4559           after it replaced the start payload.  Affected files are
4560           lib/silcske/silcske.[ch].
4561
4562 Fri Apr  5 16:03:03 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4563
4564         * Splitted lib/silcutil/silcutil.h into silcstrutil.h for
4565           string utility functions.  Added there also new functions
4566           silc_utf8_[encode/decode/valid] for UTF-8 string encoding.
4567           Affected files lib/silcutil/silcstrutil.[ch].
4568
4569         * Renamed silc_*_pem functions to silc_pem_* functions.  Affected
4570           files are lib/silcutil/silcstrutil.[ch].
4571
4572         * Defined that the security property fields in SKE SHOULD be
4573           UTF-8 encoded, defined that version string MUST be US-ASCII
4574           encoded, defined that passphrases sent in connection
4575           authentication protocol MUST be UTF-8 encoded.  Implemented
4576           these to the client and server.  Defined also that other
4577           passphrases sent in the protocol MUST be UTF-8 encoded.
4578           Affected files are lib/silcske/silcske.c,
4579           lib/silcclient/protocol.c, silcd/protocol.c,
4580           silcd/serverconfig.c, and lib/silccore/silcauth.c.
4581
4582         * Changed the silc_client_close_connection interface to not
4583           need the SilcSocketConnection which should not be visible
4584           to application.  Affected files are lib/silcclient/client.c
4585           and lib/silcclient/silcclient.h.
4586
4587         * Rewrote the text for Private Message Key Payload in the
4588           protocol specification.  Protocol TODO #11.
4589
4590 Wed Apr  3 16:24:51 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4591
4592         * Upgraded the protocol version to 1.1, updated protocol specs
4593           and software.
4594
4595         * Added the nickname as new argument to NICK_CHANGE notify and
4596           added it to protocol specs and implemented it to client and
4597           server.  Protocol TODO #3.  Affected files are silcd/idlist.[ch],
4598           silcd/command.c, silcd/packet_receive.c, packet_send.[ch], and
4599           lib/silcclient/client_notify.c.
4600
4601         * Added the killer's client ID to the KILLED notify and added
4602           it to protocol specs and implemented it to client and server.
4603           Protocol TODO #13.  Affected files are silcd/command.c,
4604           silcd/packet_receive.c, packet_send.[ch],
4605           lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4606           The killer's client entry is now returned to application in
4607           the `notify' client operation.
4608
4609         * Fixed the Max Argument fields that had too large value set
4610           in the protocol specs.  Protocol TODO #14.
4611
4612         * Added the LEAVE command reply to return the ID of parted
4613           channel.  Updated protocol specs and implemented it to the
4614           client and server.  Protocol TODO #15.  Affected files are
4615           silcd/command.c, lib/silcclient/command_reply.c.  The channel
4616           entry is now returned to application in the `command_reply'
4617           client operation.
4618
4619         * Rewrote the version SKE version checking in client libary
4620           and in server to use the silc_parse_version_string.  Affected
4621           files are lib/silcclient/protocol.c, silcd/protocol.c.
4622
4623         * Added SILC_STATUS_ERR_NO_CHANNEL_FOPRIV error status to few
4624           commands that was missing it, and updated protocol specs and
4625           the server implementation.  Protocol TODO #10.  The affected
4626           file is silcd/command.c.
4627
4628         * Defined new message flags SILC_MESSAGE_FLAG_REPLY to be
4629           generic reply to a generic request (REQUEST flag), and
4630           SILC_MESSAGE_FLAG_DATA to send any kind of data in a generic
4631           way.  A draft-riikonen-silc-flags-payloads-00.txt is written
4632           to define the payload for DATA flag.  Added the flags to
4633           the implementation.  Protocol TODO #9.  Affected file is
4634           lib/silccore/silcchannel.h.
4635
4636           Changed the client library to return the message length
4637           to application as well in the channel_message and private_message
4638           client operations.  Affected files are
4639           lib/silcclient/client_prvmsg, lib/silcclient/client_channel.c,
4640           lib/silcclient/silcclient.h, irssi/src/silc/core/client_ops.c,
4641           and lib/silcclient/client_ops_example.c.
4642
4643         * Added two new channel modes: SILC_CMODE_SILENCE_USERS
4644           and SILC_CMODE_SILENCE_OPERS which can be used to moderate
4645           the channel.  Updated protocol specs and impelemented this
4646           to client and server.  Protocol TODO #6.  Affected files are
4647           silcd/packet_receive.c, server_util.c, lib/silcclient/command.c,
4648           lib/silcclient/client_channel.c, lib/silccore/silcmode.h.
4649
4650           Added new options m and M to CMODE command in Irssi SILC
4651           client to set these modes.
4652
4653         * Deprecated all administrative commands from SILC protocol
4654           since they are highly implementation specific commands.
4655           Updated protocol specs.  Moved the old commands in
4656           implementations to private range of command types.  Affected
4657           files are silcd/command.c, lib/silcclient/command.c and
4658           lib/silcclient/command_reply.c.  Protocol TODO #8.
4659
4660         * Fixed a bug in server where sending unknown command crashes
4661           the server.  Affected file silcd/command.c.
4662
4663 Wed Apr  3 09:57:47 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4664
4665         * Added SILC_PROTOCOLVERSION macro to check protocol version
4666           of a socket connection.  The affected file is
4667           lib/silcutil/silcsockconn.h.
4668
4669         * Added better error logging in rekey protocol.  Affected file
4670           silcd/protocol.c.
4671
4672         * Do not check public key types in SKE during rekey.  Affected
4673           file lib/silcske/payload.c.
4674
4675         * Fixed the rekey protocol with PFS, which was totally broken.
4676           Affected file silcd/protocol.c.
4677
4678 Tue Apr  2 14:55:06 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4679
4680         * Some client implementations quit network by doing first LEAVE
4681           and then immediately SIGNOFF (like Bombyx).  We now do check
4682           after a short time after LEAVE notify and check whether the
4683           client is still valid after LEAVE, and if not we remove it from
4684           cache.  Affected file is lib/silcclient/client_notify.c.
4685
4686 Tue Apr  2 13:39:04 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4687
4688         * Merged version 1.1.4 of zlib. Even if it not currently in use,
4689           it's good not to have security holes here.
4690
4691         * Fixed a negative refcount situtuation for the config context.
4692           Affected file is silcd/serverconfig.c.
4693
4694 Mon Apr  1 20:15:10 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4695
4696         * ROBOdoc documented lib/silcutil/silcutil.h.
4697
4698 Sat Mar 30 21:06:45 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4699
4700         * Optimized even more the SilcPacketContext structure.  Now
4701           totally saved 16 bytes of memory per context after optimization.
4702           Affected files are lib/silccore/silcpacket.[ch].
4703
4704         * Made strict checks for valid SILC IDs.  Affected file is
4705           lib/silccore/silcid.c.
4706
4707 Sat Mar 30 18:15:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4708
4709         * Changed the object argument for silc_cipher_register,
4710           silc_hash_register, silc_hmac_register and silc_pkcs_register
4711           to const.  Affected files are lib/silccrypt/silccipher.[ch],
4712           silchash.[ch], silchmac.[ch] and silcpkcs.[ch].
4713
4714         * Changed the silc_get_username and silc_get_real_name to
4715           never fail.  Affected file lib/silcutil/unix/silcunixutil.c.
4716
4717         * Fixed the Irssi SILC Client to use the silc_get_username and
4718           silc_get_real_name insted of glib routines since the glib
4719           routines only corrupt stack.  Fixes the Irssi SILC to work in
4720           Cygwin.  Affected file irssi/src/silc/core/silc-core.c.
4721
4722         * Fixed the Irssi to not use g_get_home_dir since it crashes
4723           or returns garbage on cygwin and corrupts stack.  Added function
4724           get_home_dir to Irssi routines.  Affected files are
4725           irssi/src/core/misc.[ch] and irssi/src/core/core.c.
4726
4727 Fri Mar 29 21:55:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4728
4729         * Made some structure optimizations.  SFTP memory FS MemFSEntry
4730           entry structure.  Optimized SilcTask structure.  Optimized
4731           SilcPacketContext structure.
4732
4733           Affected files lib/silcsftp/sftp_fs_memory.c,
4734           lib/silcutil/silcschedule.c, lib/silccore/silcpacket.h.
4735
4736 Fri Mar 29 10:41:07 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4737
4738         * And yet again reverted back the config thing since Johnny
4739           screwed it up.  Affected file silcd/serverconfig.[ch], server.c,
4740           and silcd.c.
4741
4742         * Fixed memory leaks from config object.  Affected files are
4743           silcd/serverconfig.[ch].
4744
4745         * Added support for adding new connections to the server in rehash.
4746           After rehash they take effect.
4747
4748           Added support for changing the maximum allowed connections in
4749           rehash.  The number can grow but going smaller is not supported.
4750
4751           Added function silc_server_num_sockets_by_remote to the
4752           silcd/server_util.[ch].
4753
4754           Affected files are silcd/server.c, and silcd/serverconfig.[ch].
4755
4756 Fri Mar 29 03:26:12 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
4757
4758         * Added preliminary checking during config parsing for a valid
4759           public/private key and removed further checks in the code.
4760           Affected files are silcd/serverconfig.[ch], server.c.
4761
4762         * Moved functions silc_server_drop() and silc_server_daemonise()
4763           from server.c to silcd.c since they are stricly related to
4764           the application activity.
4765
4766         * Reverted a small part of the automatic ref/unref since
4767           it caused a double unref in some situations.  Affected
4768           files are silcd/silcd.[ch], server.c, serverconfig.c.
4769
4770         * Added some .cvsignore files in the lib directory.
4771
4772 Thu Mar 28 22:51:15 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4773
4774         * Fixed silc_net_gethostbyaddr to correctly resolve by
4775           address.  Affected file lib/silcutil/silcnet.c.
4776
4777         * Fixed the notify relaying to client.  The HMAC to be used
4778           with relayed packets ws wrong and caused decryption failure
4779           at the client end.  Affected file is silcd/packet_receive.c.
4780
4781 Thu Mar 28 19:02:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4782
4783         * Created new branch silc_protocol_1_0_branch.
4784
4785         * Reverted the silc_log_quick change in lib/silcutil/silclog.c.
4786
4787         * Changed the silc_server_config_* routines to be SilcServer
4788           independent.  They are now officially application specific code
4789           and not part of generic server implementation.  Affected files
4790           are silcd/serverconfig.[ch], silcd/silcd.c, silcd/server.c.
4791
4792 Thu Mar 28 17:01:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4793
4794         * Added automatic referencing of config context in the
4795           silc_server_config_alloc, and automatic unreferencing in the
4796           silc_server_config_destroy.  Affected files are
4797           silcd/serverconfig.[ch], silcd/silcd.c.
4798
4799         * Fixed the silc_log_quick handling in the logging routines.
4800           It didn't log quickly when it was TRUE.  Affected file is
4801           lib/silcutil/silclog.c.  Also the flush delay was set even
4802           if it was 0 in config file.  Affected file is
4803           silcd/serverconfig.c.
4804
4805         * Added support for changing key pair of the server in rehash.
4806           Affected file silcd/server.c.
4807
4808 Thu Mar 28 12:17:21 CET 2002  Pekka Riikonen <priikone@silcnet.org>
4809
4810         * Fixed the TOPIC_SET notify to not cras.  It changed the topic
4811           too early, before getting the channel entry.  Affected file
4812           is silcd/packet_receive.c.
4813
4814 Thu Mar 28 09:58:16 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
4815
4816         * Added functions silc_server_config_[ref/unref], these are used
4817           to prevent that the config object is destroyed.
4818
4819           No longer directly affect global variables silc_log_quick and
4820           silc_log_delay, they are first cached inside the config object
4821           and then applied with silc_server_config_setlogfiles().
4822
4823           silc_server_config_set_defaults() is now internal to
4824           serverconfig.c, there are no reasons to show this internal stuff
4825           to the server.
4826
4827           Affected files are silcd/serverconfig.[ch].
4828
4829         * Added macro SILC_SERVER_LOG_STDERR(), this should replace most
4830           fprintf's to stderr, since some code may be executed again after
4831           the server went into the background.  Affected files are
4832           silcd/server.[ch].
4833
4834         * Added rehash support. Added function silc_server_rehash() that
4835           will perform all the basic tasks of the rehashing procedure.
4836
4837         * Added command line option `-x, --hexdump'. This will enable the
4838           SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'.
4839           The option `--hexdump' implies `--debug'.
4840
4841         * Fixed a bad bug in the logging APIs (silcutil library) where
4842           the application would crash after calling silc_log_reset_all().
4843
4844 Wed Mar 27 19:43:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4845
4846         * Fixed the KICKED notify handling in client library to
4847           correctly remove the channel and all entries from the
4848           channel when I was kicked.  This bug crashed the client.
4849
4850           Fixed yet another but in KICKED notify handling to remove
4851           the kicked client correctly from the channel.
4852
4853           Affected file is lib/silcclient/client_notify.c.
4854
4855         * Fixed a minor bug in looking up correct client entry
4856           in KICKED notify in server.  Affected file is
4857           silcd/packet_receive.c.
4858
4859         * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP
4860           sources correctly to distribution.  Fixes --with-gmp option.
4861
4862         * Removed the manual rehashing from ID Cache, and changed it
4863           to use the SILC Hash Table's auto rehash feature.  Affected
4864           file is lib/silccore/silcidcache.c.
4865
4866 Wed Mar 27 00:07:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4867
4868         * Fixed a bug in the silc_client_nickname_format function that
4869           handles the multiple same nickname formatting.  Two clients
4870           with same nickname caused problems after the first one left
4871           and rejoined.  It didn't format the nickname correctly.
4872           Affected file is lib/silcclient/idlist.c.
4873
4874 Tue Mar 26 19:33:03 CET 2002  Pekka Riikonen <priikone@silcnet.org>
4875
4876         * Don't change the topic if olod topic is same as new one.
4877           Affected file is silcd/packet_receive.c.
4878
4879 Mon Mar 25 21:11:35 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4880
4881         * Added cross-reference support to the SILC Documentation
4882           generator.  All types across all HTML files are now cross-
4883           referenced.  Affected files util/robodoc/generator.c and
4884           scripts/silcdoc/silcdoc.
4885
4886         * Added file lib/silcutil/silctypes.h to include all the
4887           arithmetic type definitions and some macros.  Removed
4888           includes/bitmove.h and moved macros to silctypes.h.
4889
4890 Mon Mar 25 17:19:46 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4891
4892         * Merged bugfixes for Irssi SILC client from irssi.org CVS.
4893
4894 Sun Mar 24 11:21:04 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4895
4896         * Added `type' argument to silc_id_payload_parse_id function which
4897           now returns the type of the ID to the sent pointer.  Affected
4898           file is lib/silccore/silcid.[ch].
4899
4900         * Added check for CMODE_CHANGE notify type that mode change is
4901           allowed by the sender.  Affected file silcd/packet_receive.c.
4902
4903         * Added check for CUMODE_CHANGE notify type that mode change is
4904           allowed by the sender.  Affected file silcd/packet_receive.c.
4905           Added the ID type as CUMODE_CHANGE notify type as argument
4906           to the `notify' client operation.  Affected files are
4907           lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4908
4909         * Added function silc_client_add_server to the client library.
4910           Added support for resolving also channel and server info when
4911           received unknown entity in notify packet.  Affected files are
4912           lib/silcclient/idlist.[ch], lib/silcclient/client_notify.c.
4913
4914         * Added function silc_command_get_status to return the command
4915           status from the command reply's argument payload.  Affected files
4916           are lib/silccore/silccommand.[ch].
4917
4918         * Added check for KICKED notify type that the kicking is
4919           allowed by the client.  Affected file silcd/packet_receive.c.
4920
4921         * Created function silc_get_input which can be used to get input
4922           (echo on or off) from user on command line.  Affected files are
4923           lib/silcutil/silcutil.[ch].
4924
4925 Sat Mar 23 09:51:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4926
4927         * Optimized silc_server_packet_relay_to_channel function.
4928           Added new function silc_channel_message_payload_encrypt which
4929           can be called directly if channel message payload needs to
4930           be encrypted and is already encoded (no need to call _encode
4931           function).  Packet relaying is now done by router without any
4932           extra memory allocations.  Affected files are
4933           lib/silccore/silcchanel.[ch], silcd/packet_receive.c and
4934           silcd/packet_send.c.
4935
4936         * Fixed the INVITE notify handling.  It took wrong arguments
4937           as invite list and invite delete.  Affected file is
4938           silcd/packet_receive.c.
4939
4940         * Added check for TOPIC_SET notify type that the topic change is
4941           allowed by the client.  Affected file silcd/packet_receive.c.
4942
4943         * Added check for INVITE notify type that inviting is allowed by
4944           the client.  Affected file silcd/packet_receive.c.
4945
4946         * Changed the silc_server_client_on_channel to return the
4947           SilcChannelClientEntry as well.  Moved the function
4948           silc_server_check_cmode_rights to server_util.[ch].
4949           Affected files are silcd/server_util.[ch], silcd/command.c.
4950
4951         * Added function silc_server_check_umode_rights to check whether
4952           changing client's user mode is allowed.  Added check for
4953           UMODE_CHANGE notify type that the umode change is allowed
4954           by the client.  Affected files are silcd/server_util.[ch],
4955           silcd/packet_receive.c and silcd/command.c.
4956
4957 Fri Mar 22 12:25:58 CET 2002  Pekka Riikonen <priikone@silcnet.org>
4958
4959         * Fixed the SILC_PACKET_MAX_ID_LEN to actually be the max
4960           ID length.  It ignored that ID can be IPv6 based as well.
4961           Affected file lib/silccore/silcpacket.h.
4962
4963         * Fixed the silc_id_id2str and silc_id_str2id to take the
4964           IPv6 address offset's into consideration.  Affecte file is
4965           lib/silccore/silcid.c.
4966
4967 Thu Mar 21 20:44:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4968
4969         * Fixed the internal Unix scheduler functions to check for
4970           NULL context they may receive.  The affected file is
4971           lib/silcutil/unix/silcunixschedule.c.
4972
4973 Thu Mar 21 19:12:22 EET 2002  Timo Sirainen <tss@iki.fi>
4974
4975         * Changed hardcoded ~/.silc paths to use get_irssi_dir() so you
4976           can specify different directory with --home command line
4977           parameter. Affected files irssi/src/silc/core/client_ops.c,
4978           clientutil.c
4979
4980         * SILC-specific commands aren't now executed if the active server
4981           isn't of SILC-type, so there won't be problems with having
4982           IRC and SILC protocol support in same client. Affected files
4983           irssi/src/silc/core/silc-channels.c, silc-servers.c,
4984           silc-commands.h
4985
4986 Wed Mar 20 11:06:57 CET 2002  Pekka Riikonen <priikone@silcnet.org>
4987
4988         * Improved the signal support in SILC Schedule.  Added new
4989           function silc_schedule_signal_call which is used by application
4990           to mark a signal to be called.  It is now safe to perform
4991           any kind of tasks in signal callbacks since it is guaranteed
4992           that the application specified signal callback is called
4993           after the signal is over.  Affected files are
4994           lib/silcutil/silcschedule.[ch], lib/silcutil/*/silc*schedule.c.
4995
4996 Tue Mar 19 20:42:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4997
4998         * Added `name' field to SilcChannelPrivateKey to represent
4999           application given name for the key.  Moved also the context from
5000           lib/silcclient/idlist.h into lib/silcclient/silcclient.h.
5001           Added the `name' argument also to the function
5002           silc_client_add_channel_private_key.
5003
5004           Added function silc_client_current_channel_private_key to set the
5005           current channel private key in use.
5006
5007           Added "change" command to KEY command which can be used to change
5008           the current channel private key.  Bound the command also to
5009           alt+K (Alt+Shift+k).
5010
5011           Also affected files lib/silcclient/client_channel.c,
5012           irssi/src/docs/help/in/key.in, irssi/src/silc/core/silc-channel.c.
5013
5014 Tue Mar 19 16:32:43 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5015
5016         * Added silc_rng_get_byte_fast function in to the
5017           lib/silccrypt/silcrng.[ch].
5018
5019         * Changed the interface of silc_packet_assemble and the
5020           silc_packet_send_prepare.  If silc_packet_assmble is now
5021           called the application does not call silc_packet_send_prepare
5022           because the library will call it automatically.  These
5023           interfaces now also return a reference to the outgoing buffer
5024           which includes the assembled packet, which the application can
5025           use to encrypt the packet.
5026
5027           Affected files are lib/silccore/silcpacket.[ch],
5028           lib/silcclient/client.c, client_channel.c client_prvmsg.c,
5029           silcd/packet_send.c, server_backup.c and packet_receive.c.
5030
5031         * Fixed a packet sending bug on very high load, where outgoing
5032           packet queue wasn't handled correctly and packets got corrupted.
5033           Affected files are lib/silcutil/*/silc*sockconn.c,
5034           lib/silcclient/client.c and silcd/server.c.
5035
5036 Mon Mar 18 21:00:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5037
5038         * Added macro SILC_PACKET_DATALEN which can be used during
5039           packet assembling to check whether the data to be added to
5040           the packet will fit to SILC_PACKET_MAX_LEN.  If not the data
5041           len is truncated until it fits it.
5042
5043           Added checks for maximum length of channel message payload and
5044           private message payload also.
5045
5046           Added checks for maximum packet length in server and in
5047           client library.
5048
5049           Affected files are lib/silccore/silcpacket.h, silcd/packet_send.c,
5050           lib/silcclient/client.c, lib/silccore/silcchannel.c and
5051           lib/silccore/silcprivate.c, lib/silcclient/client_channel.c and
5052           lib/silcclient/client_prvmsg.c.
5053
5054 Mon Mar 18 14:54:42 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5055
5056         * Added silc_server_packet_queue_purge call to the
5057           silc_server_disconnect_remote to assure that all data in the
5058           queue before disconnecting is sent to the network.  Affected
5059           file silcd/server.c.
5060
5061 Sun Mar 17 19:26:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5062
5063         * Added the deleting of server's own ID cache entry to the
5064           silc_server_free function.  Free also everything else that
5065           has been allocated in silc_server_init.  The affected file
5066           is silcd/server.c.
5067
5068 Sun Mar 17 15:44:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5069
5070         * Added functions silc_parse_version_string, silc_version_to_num,
5071           and silc_ske_parse_version to parse SILC protocol style version
5072           strings.  Affected files lib/silcutil/silcutil.[ch] and
5073           lib/silcske/silcske.[ch].
5074
5075         * Added new configuration params: version_protocol, version_software
5076           and version_software_vendor to specify what version the remote
5077           host must at least be to be able to connect to server.  The vendor
5078           string can be regex matched too.  Added new function
5079           silc_server_connection_allowed to check maximum number of allowed
5080           connections, and allowed versions for incoming connections.
5081           Affected files are silcd/server.c, server_util.[ch] and
5082           serverconfig.[ch].
5083
5084 Sun Mar 17 10:24:50 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5085
5086         * Added preliminary support for signals in scheduler.  The
5087           signals we care about are now blocked always when the scheduler
5088           is locked.  This way we can synchronise the use of signal with
5089           scheduler.  It is guaranteed that when signal occurs the scheduler
5090           is not locked, and thus new tasks can be safely added to the
5091           scheduler.
5092
5093           Renamed silc_schedule_wakeup_init and silc_schedule_wakeup_uninit
5094           to silc_schedule_internal_init and silc_schedule_internal_uninit.
5095           Added new platform specific routines
5096           silc_schedule_internal_signals_[un]block and
5097           silc_schedule_internal_signal_[un]register.
5098
5099           Added new functions to SILC Schedule API:
5100           silc_schedule_signal_[un]register.  Each signal that application
5101           is going to use should be registered to the scheduler.
5102
5103           Affected files are lib/silcutil/silcschedule.[ch],
5104           lib/silcutil/*/silc*schedule.c.
5105
5106 Sat Mar 16 22:39:23 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5107
5108         * Check for unauthenticated client and server in the
5109           silc_server_new_client and silc_server_new_server functions.
5110           Affected file silcd/packet_receive.c.
5111
5112         * Added function silc_string_is_ascii to check whether given
5113           string is 7-bit ASCII string.  Affected files are
5114           lib/silcutil/silcutil.[ch].
5115
5116         * Added function silc_id_is_valid_server_id into the
5117           silcd/serverid.c and added checking for valid Server ID's in
5118           silc_server_new_server.  The Server ID must always be based
5119           on the server's public IP address.
5120
5121         * Added logging of DISCONNECT packet message in the server.
5122           Affected file silcd/server.c.
5123
5124 Sat Mar 16 18:04:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5125
5126         * Changed all library interfaces that use Global RNG to also
5127           accept SilcRng as argument.  Affected files are
5128           lib/silcclient/command.c, lib/silccore/silcauth.[ch],
5129           lib/silccore/silcchanel.[ch], lib/silcclient/client_channel.c,
5130           silcd/packet_send.c, lib/silccore/silcprivate.[ch],
5131           lib/silcmath/silcprimegen.c, lib/silcmath/silcmath.h, and
5132           lib/silccrypt/rsa.c.
5133
5134         * Added function silc_pkcs_generate_key to the
5135           lib/silccrypt/silcpkcs.[ch] for applications so that they
5136           don't need to do pkcs->pkcs->init calls anymore.
5137
5138         * Remove SilcSocketConnection from the SFTP API since it really
5139           wasn't needed there.  The application has the information
5140           saved in its contexts anyway and the SFTP layer doesn't need
5141           know about it.  Affected files lib/silcsft/silcsftp.h and
5142           lib/silcsftp/sftp_[server/client].c.
5143
5144         * Rewrote the SILC SIM (modules) interface in lib/silcsim.[ch].
5145           The SilcSimContext is not SilcSim.
5146
5147         * Fixed possible buffer overflows in silc_id_render in the
5148           lib/silcutil/silcutil.c.
5149
5150         * On EPOC the global crypto module lists are not used at all
5151           in the crypto library.  Added support for using the constant
5152           algorithm list on EPOC.  Affected files are
5153           lib/silccrypt/silccipher.c, silchash.c, silchmac.c and
5154           silcpkcs.c.
5155
5156         * Fixed the handling of third parameter of KICKED notify, since
5157           it was mistakenly updated to SILC Protocol 1.0 even though it
5158           is to be included in 1.1.  Since it is not in 1.0 it is not
5159           mandatory, and this fix now handles it only if it is provided,
5160           and it is not error if it is not provided.  Affected file
5161           lib/silcclient/client_notify.c.
5162
5163 Sat Mar 16 09:07:27 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5164
5165         * Handled CHANNEL_CHANGE notify (ignore it) in Irssi SILC
5166           client.  Affected file irssi/src/silc/core/client_ops.c.
5167
5168         * Merged with Irssi 0.8.4 from irssi.org CVS.
5169
5170 Thu Mar 14 12:53:57 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5171
5172         * Check for valid socket connection in client entries before
5173           sending any messages.  Fixes a crash, but doesn't fix some
5174           other underlaying bug that is lurking there.  Affected
5175           file silcd/packet_send.c.
5176
5177 Thu Mar 14 13:38:12 EET 2002  Timo Sirainen <tss@iki.fi>
5178
5179         * $usermode, $cumode and $cumode_space expandos shouldn't do
5180           anything with non-SILC server records. Affected file
5181           irssi/src/silc/core/silc-expandos.c
5182
5183 Wed Mar 13 21:38:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5184
5185         * Fixed the silc_net_check_[host/local]_by_sock to support
5186           IPv6 bound sockets as well.  Now they can return IPv6 addresses
5187           as well.  Affected file lib/silcutil/silcnet.c.
5188
5189         * Fixed silc_net_addr2bin to correctly convert IPv6 addresses.
5190           Affected lib/silcutil/unix/silcunixnet.c.
5191
5192         * Fixed ID rendering (at least on some platforms, not NetBSD)
5193           for IPv6 addresses.  Affected file lib/silcutil/silcutil.c.
5194
5195 Tue Mar 12 17:58:59 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5196
5197         * Added silc_hash_public_key and silc_hash_public_key_compare
5198           functions to be used with SilcHashTable.  They can be used to
5199           hash public keys and compare public keys in hash table.  Affected
5200           file lib/silcutil/silcutil.[ch].
5201
5202         * Added support for specifying multiple public keys for Client
5203           connection section in server configuration file.  This makes it
5204           possible to accept multiple public keys from same host, or to
5205           make a section that accepts any incoming host, and have the
5206           accepted public keys listed in the section.
5207
5208           Added functions silc_sever_[find/get]_public_key,  added the
5209           support for this actually to all connection sections but only
5210           the Client section is currently allowed to specify multiple
5211           public keys.
5212
5213           Affected files are silcd/server.c, server_internal.h,
5214           command.c, protocol.c, server_util.[ch], packet_receive.c.
5215
5216 Mon Mar 11 23:37:38 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5217
5218         * Merged Irssi 0.8.2 from irssi.org CVS.
5219
5220 Sun Mar 10 23:34:48 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5221
5222         * If silc_debug is TRUE, also output standard logging messages
5223           to stderr with the debug output.
5224
5225           Made silc_log_reset_all() flushing all channels before returning.
5226           Also fixed some documentation typos.
5227
5228           Affected files are lib/silcutil/silclog.[ch].
5229
5230 Sun Mar 10 20:07:49 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5231
5232         * Fixed the server to check correctly the amount of connections
5233           from single host, by checking also the type of the connection.
5234           Fixed also the comparison of number of connections and number
5235           of allowed connections.  Affected files are silcd/server.c,
5236           server_util.[ch].
5237
5238 Fri Mar  8 17:16:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5239
5240         * Fixed the USERS command reply to save the user's mode on the
5241           channel as well.  Fixed JOIN command reply to check whether a
5242           client is on channel already and not join it twice.  Affected
5243           file lib/silcclient/command_reply.c.
5244
5245         * Added new file silc-expandos.c into irssi/silc/core/ to return
5246           various stuff for various signal for the statusbar etc. updating.
5247           Now Irssi SILC client prints channel user modes etc. on the
5248           statusbar.
5249
5250         * The user mode (like server/router operator changes) is now shown
5251           on the Irssi SILC client's statusbar.  The affected files are
5252           irssi/src/silc/core/client_ops.c, silc-expandos.c.
5253
5254 Thu Mar  7 19:21:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5255
5256         * Changed silc_mutex_[un]lock calls in lib/silcutil/silcschedule.c
5257           to SILC_SCHEDULE_[UN]LOCK macros.
5258
5259         * Added more error printing to logs in server code.  Affected
5260           files silcd/server.c and silcd/protocol.c.
5261
5262         * Fixed -S option parsing in Irssi SILC Client.  Affected file
5263           irssi/src/silc/core/silc-core.c.
5264
5265         * Added silc_buffer_alloc_size function.  Affected file is
5266           lib/silcutil/silcbuffer.h.
5267
5268 Tue Mar  5 14:37:27 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5269
5270         * Changed all silc_[hash|hmac|cipher|pkcs]_default tables to
5271           constants.  Affected files in
5272           lib/silccrypt/silcpkcs.[ch], silchash.[ch], silchmac.[ch] and
5273           silccipher.[ch].
5274
5275         * Changed the internal SFTP Memory FS table to const.  Affected
5276           file lib/silcsftp/sftp_fs_memory.c.
5277
5278 Sun Mar  3 18:37:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5279
5280         * Fixed the buffer formatting and unformatting routines to
5281           check the size of 64 bits types with sizeof().  Affected
5282           file is lib/silcutil/silcbuffmt.c.
5283
5284 Mon Feb 25 17:19:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5285
5286         * Removed 0.6.x backwards support.
5287
5288 Sun Feb 24 12:53:25 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5289
5290         * Changed all integer type names:
5291           [u]int[8/16/32/64] -> Silc[UInt/Int][8/16/32/64].  This is
5292           to avoid collisions with other libraries using same type names
5293           as we did.
5294
5295 Sat Feb 23 20:31:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5296
5297         * Added `prefer_ipv6' argument to the functions
5298           silc_net_gethostbyname[_async].  If it is TRUE it will return
5299           IPv6 address over IPv4.  If FALSE IPv4 address is returned
5300           even if IPv6 address was found.  Affected files
5301           lib/silcutil/silcnet.[ch].
5302
5303         * Added support silc_net_create_connection[_async] to fallback
5304           to IPv4 address if IPv6 address could not be used (like if
5305           it doesn't work on a specific system).  Affected file in
5306           lib/silcutil/unix/silcunixnet.c.
5307
5308 Sat Feb 23 15:20:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5309
5310         * Added silc_schedule_reinit function to do the enlarging
5311           of the max tasks handling capabilities of the scheduler.
5312           Affected files lib/silcutil/silcschedule.[ch].
5313
5314 Wed Feb 20 20:41:01 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5315
5316         * Added automatic extern "C" { ... } for C++ compilers so the
5317           application does not need to define them.  Affected file
5318           includes/silcincludes.h.
5319
5320         * Renamed lib/silcclient/silcapi.h to silcclient.h as the
5321           old name went against naming convention.  Applications now
5322           include "silcclient.h" instead of "clientlibincludes.h".
5323           Removed includes/clientlibincludes.h, it is redundant now.
5324
5325         * Renamed includes/version.h to silcversion.h.
5326
5327         * Added really preliminary support for OS/2 into the util
5328           library.  Only thread & mutex API is implemented, others
5329           are still to be implemented.  Created the lib/silcutil/os2/
5330           directory.  Created also file includes/silcos2.h.
5331
5332 Wed Feb 20 18:48:49 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5333
5334         * Added preliminary BeOS support into the util library.
5335           Created lib/silcutil/beos/, and implemented all the needed
5336           functions to support SILC on BeOS.  Created also file
5337           includes/silcbeos.h.
5338
5339 Mon Feb 18 15:49:22 EET 2002  Timo Sirainen <tss@iki.fi>
5340
5341         * Added proper initializations to silc's irssi code, so it's
5342           now possible to load it as module.  Affected files
5343           irssi/src/silc/core/silc-core.c,
5344           fe-common/silc/fe-common-silc-core.[ch] and fe-text/silc.c
5345
5346 Sun Feb 17 19:02:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5347
5348         * Merged latest Irssi (0.8.1) from the irssi.org's CVS into
5349           the SILC tree.
5350
5351         * Fixed the silcdoc document generator to correct generate
5352           docs from all kinds of filenames.  Affected files are
5353           util/robodoc/Source/generator.c, scripts/silcdoc/silcdoc
5354
5355         * ROBOdoc documented lib/silcutil/silcmemory.h.
5356           Added also new function silc_memdup.
5357
5358         * Removed lib/silcutil/silcbufutil.h and moved those routines
5359           to the lib/silcutil/silcbuffer.h.
5360
5361 Sun Feb 17 15:52:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5362
5363         * Added `user_count' to the SilcChannelEntry which now tells the
5364           number of users on the channel.  The user count is now saved
5365           in normal server of global channels as well.  Affected files
5366           silcd/server.c, idlist.h, packet_receive.c and command.c.
5367
5368         * Splitted lib/silcutil/silcutil.[ch] into silcfileutil.[ch] to
5369           include file utility functions.
5370
5371         * Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines
5372           instead of calling directly OS routines.
5373
5374         * Fixed NICK change printing in Irssi SILC Client. Fixed
5375           KICKED notify printing in Irssi SILC Client.  Affected file
5376           irssi/src/silc/core/client_ops.c.
5377
5378         * Fixed a NICK change bug in client library, to not recreate the
5379           client_entry->channels hash table everytime nick is changed.
5380           Affected file lib/silcclient/client.c.
5381
5382 Sun Feb 17 10:10:14 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5383
5384         * ROBOdoc documented the lib/silcske/silcske.h, and improved
5385           the SKE interface a bit.
5386
5387         * Fixed padding problem in PKCS#1. The padding was not actually
5388           random since the random number generator was used incorrectly.
5389           This security bug affects only when encrypting with PKCS#1, and
5390           it is not currently used at all in SILC. SILC only use signing
5391           with PKCS#1. Affected file lib/silccrypt/pkcs1.c.
5392
5393 Sat Feb 16 13:44:24 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5394
5395         * Rewrote the notify handling in Irssi SILC client to not call
5396           the events as signals.  Fixes problems with Perl support.
5397           Affected files irssi/src/silc/core/client_ops.c, silc-channels.c.
5398
5399         * Send the auto-nicking NICK command in client library with
5400           little timeout after connecting.  The affected file is
5401           lib/silcclient/client.c.
5402
5403         * Added following new config file settings:
5404           channel_rekey_secs, key_exchange_rekey, key_exchange_pfs,
5405           key_exchange_timeout, conn_auth_timeout, connections_max,
5406           links_max.
5407
5408           Implemented all the new config settings handling in the server.
5409
5410           Optimized the use of SKE Mutual flag usage.  Use it only
5411           if connection authentication protocol is not based in public
5412           key authentication.
5413
5414           Renamed all SilcServerConfigSection* to SilcServerConfig*
5415           to have a bit shorter names.
5416
5417           Affected files silcd/serverconfig.[ch], server.[ch], and
5418           protocol.[ch].
5419
5420 Sat Feb 16 02:46:43 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5421
5422         * Cleaned up the listening sockets code, preparing for the rehash
5423           support.  Affected file is silcd/server.c.
5424
5425         * Fixed some output messages.  Affected files are silcd/silcd.c,
5426           and silcd/server.c.
5427
5428 Fri Feb 15 19:10:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5429
5430         * Create lib/doc/silcrng_intro.html document as introduction
5431           to SILC RNG.  ROBOdoc documented lib/silccrypt/silcrng.h.
5432
5433 Fri Feb 15 13:23:03 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5434
5435         * Fixes to the silcd config template.  Affected file is
5436           doc/example_silcd.conf.in.
5437
5438         * Removed type casts from silc_calloc(), conforming to the
5439           CodingStyle.  Affected file is lib/silcutil/silcconfig.c.
5440
5441         * Removed param_name member from client, server, and router
5442           section structs, now identifying the param directly.
5443
5444           Added CONFIG_FREE_AUTH macro in config file parsing.
5445
5446           Affected files are silcd/serverconfig.[ch].
5447
5448 Fri Feb 15 12:24:08 EET 2002  Timo Sirainen <tss@iki.fi>
5449
5450         * Fixed command line parameter handling. All SILC initialization
5451           is now done in silc_core_init() which also fixes autoconnecting
5452           to servers.
5453
5454           Affected files irssi/src/silc/core/silc-core.c,
5455           irssi/src/fe-text/silc.c.
5456
5457 Thu Feb 14 22:03:58 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5458
5459         * Added new configuration options and blocks:
5460           keepalive_secs, reconnect_count, reconnect_interval,
5461           reconnect_interval_max, reconnect_keep_trying and
5462           require_reverser_lookup.  Added ConnectionParam block, and
5463           implemented the connection parameters when connecting as
5464           initiator and when accepting connections as responder.
5465
5466           Added CONFIG_IS_DOUBLE macro in config file parsing, to check
5467           whether given configuration value has been given already.
5468
5469           Affected files silcd/serverconfig.[c], server.[c].
5470
5471         * Splitted the doc/example_silcd.conf.in.  Separated the crypto
5472           algorithm parts and created new file silcalgs.conf, that
5473           is now included from the example_silcd.conf.in.
5474
5475         * Optimized the silc_server_connect_to_router_second to take
5476           the connection configuration object from the SilcServerConnection
5477           object instead of finding it during the connecting phase.
5478           Added the configuration object to SilcServerConnection struct.
5479           Affected files silcd/server_internal.h, server.c.
5480
5481 Thu Feb 14 16:02:26 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5482
5483         * Add the client on channel after it was resolved at the
5484           channel message receiving, and it was not already on the
5485           channel.  Affected file lib/silcclient/client_channel.c.
5486
5487 Wed Feb 13 23:16:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5488
5489         * Fixed the public key authentication to allocate always the
5490           destination signature buffer instead of using static buffer.
5491           Affected file silcd/protocol.c.
5492
5493 Wed Feb 13 20:51:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5494
5495         * Unified the serverconfig.[ch]'s helper function interface.
5496           Affected file silcd/serverconfig.[ch].
5497
5498         * Removed doc/example_silc.conf.in since it is redundant.
5499           The make install will now install irssi/silc.conf file.
5500
5501         * Added new Passphrase and Publickey authentication methods to
5502           config file, allowing both public key and passphrase based
5503           authentication to be set at the same time.
5504
5505           Added `prefer_passphrase_auth' setting in config file which
5506           can be used to set to prefer passwd auth if both passwd and
5507           public key is set.  If not set, public key is preferred.
5508           This has effect only when being initiator (responder will try
5509           both anyway).
5510
5511           Added support for authentication with passphrase and public key
5512           at the same time.  The passphrase is tried first always since
5513           it is faster to check.
5514
5515           Affected file silcd/serverconfig.[ch], server.c, protocol.[ch].
5516
5517 Wed Feb 13 12:46:25 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5518
5519         * Merged the new SILC Config library, with the server parsing
5520           support.  Read the header file silcconfig.h or the toolkit
5521           documentation for the news.  Affected files are
5522           doc/example_silcd.conf.in lib/silcutil/silcconfig.[ch]
5523           silcd/command.c silcd/packet_receive.c silcd/packet_send.c
5524           silcd/protocol.c silcd/server.c silcd/server_backup.c
5525           silcd/serverconfig.[ch] silcd/silcd.c.
5526
5527         * Fixed some silclog documentation.  Affected file is
5528           lib/silcutil/silclog.h.
5529
5530 Sun Feb 10 18:11:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5531
5532         * The silc_cipher_register, silc_hash_register and
5533           silc_hmac_register now checks if the object to be registered
5534           is registered already.  Affected files are
5535           lib/silccrypt/silccipher.c, silchash.c and silchmac.c.
5536
5537 Sun Feb 10 15:48:38 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5538
5539         * Merged new irssi from irssi.org's CVS, the version 0.7.99.
5540
5541 Sat Feb  9 14:54:33 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5542
5543         * Allow zero length channel messages inside the Channel Message
5544           Payload.  Affected file lib/silccore/silcchannel.c.
5545
5546         * Fixed scripts/silcdoc/silcdoc to support all kinds of filenames
5547           as header filenames.
5548
5549         * Removed lib/silcclient/README and created HTML file
5550           lib/silcclient/silcclient_using.html, which is now included
5551           as part of Toolkit documentation.
5552
5553 Thu Feb  7 10:12:25 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5554
5555         * Fixed CUMODE_CHANGE notify handling to change the mode of
5556           correct client.  Affected file lib/silcclient/client_notify.c.
5557
5558         * Make silc_rng_alloc fail if it cannot allocate the sha1
5559           hash algorithm.  Affected file lib/silccrypt/silcrng.c.
5560
5561 Sun Feb  3 17:20:52 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5562
5563         * Fixed the file transfer's key agreement payload to include
5564           zero port also if the hostname is NULL because it could not
5565           be bound.
5566
5567           Call file transfer monitor callback now also if error occurs
5568           during key agreement protocol.
5569
5570           Changed the silc_client_file_send interface to return the
5571           SilcClientFileError instead of session id.  The session ID
5572           is returned into pointer provided as argument.
5573
5574           Check that the file exists locally before sending the
5575           file transfer request at all.
5576
5577           Affected file lib/silcclient/client_ftp.c, silcapi.h.
5578
5579         * Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer
5580           error than can occur while key agreement protocol.  Affected
5581           file lib/silcclient/silcapi.h.
5582
5583         * Fixed the event_mode CMODE handler to not crash when mode
5584           is changed and +k mode is set in the channel.  Affected file
5585           irssi/src/silc/core/silc-channels.c.
5586
5587         * Fixed SILC_LOG_ERROR to give out Error and not Warning, and
5588           SILC_LOG_WARNING to give out Warning and not Error.  Affected
5589           file lib/silcutil/silclog.c.
5590
5591         * Fixed the channel message payload decryption in the function
5592           silc_channel_message_payload_decrypt to not modify the original
5593           buffer before it is verified that the message decrypted
5594           correctly.  Otherwise, next time it is called with correct
5595           channel key it won't encrypt since the payload is corrupted.
5596           Affected file lib/silccore/silcchannel.c.
5597
5598 Sun Feb  3 11:46:12 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5599
5600         * Do not constantly resize the window.  A fix patch by cras.
5601           Affected file irssi/src/fe-text/screen.c.
5602
5603 Sat Feb  2 16:54:18 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5604
5605         * Applied IPv6 fix patch from Jun-ichiro itojun Hagino.
5606           Affected file lib/silcutil/silcnet.c.
5607
5608 Fri Feb  1 22:33:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5609
5610         * Fixed a bug in hash table internal routine for traversing
5611           the table with foreach callback.  The current entry may
5612           become invalid in the callback but it was referenced after
5613           the callback returned.
5614
5615           Do not allow auto rehashing of hash table during the
5616           silc_hash_table_foreach operation, for same reasons as it is
5617           not allowed for SilcHashTableList.  Affected files are
5618           lib/silcutil/silchashtable.[ch].
5619
5620 Fri Feb  1 14:55:00 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5621
5622         * Defined DLLAPI into silcincludes.h and silcwin32.h for
5623           Win32 DLL.  extern's in header files are now declared with
5624           DLLAPI.
5625
5626 Thu Jan 31 23:34:33 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5627
5628         * Fixed private message handling.  It used some old code that
5629           caused the client to crash.  Affecte file is
5630           lib/silcclient/client_prvmsg.c.
5631
5632 Thu Jan 31 19:06:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5633
5634         * Added function silc_client_add_channel,
5635           silc_client_replace_channel_id, and removed functions
5636           silc_client_new_channel_id and silc_idlist_get_channel_by_id
5637           from client library.
5638
5639         * Added cross reference of the joined channels to the
5640           SilcClientEntry, and changed the SilcChannelEntry's
5641           users list to SilcHashTable.  The affected files are
5642           lib/silcclient/idlist.[ch].
5643
5644         * Fixed a bug in hash table tarversing.  While the hash table
5645           is traversed with SilcHashTableList the table must not be
5646           rehashed.  It is now guaranteed that auto rehashable tables
5647           are not rehashed while tarversing the list.  Also defined that
5648           silc_hash_table_rehash must not be called while tarversing
5649           the table.  Added function silc_hash_table_list_reset that must
5650           be called after the tarversing is over.  The affected files are
5651           lib/silcutil/silchashtable.[ch].
5652
5653         * Changed all hash table traversing to call the new
5654           silc_hash_table_list_reset in server and in client library.
5655
5656         * Added function silc_client_on_channel to return the
5657           SilcChannelUser entry if the specified client entry is joined
5658           on the specified channel.  This is exported to application as
5659           well.  Affected files lib/silcclient/client_channel.c, silcapi.h.
5660
5661 Wed Jan 30 19:14:31 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5662
5663         * Fixed founder regaining problem with JOIN command on normal
5664           server.  The notify for mode change must be sent always and
5665           not only if !cmd->pending.  Affected file silcd/command.c.
5666
5667         * Fixed the WHOWAS command's reply sending to support the
5668           lists correctly.  Affected file silcd/command.c.
5669
5670 Wed Jan 30 11:11:47 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5671
5672         * When sending JOIN command to router for processing the
5673           sender's old command identifier was not saved back to the
5674           sender's command context, fixed now.  The affected file is
5675           silcd/command.c.
5676
5677         * Create the key in JOIN command of the router did not return
5678           the channel key, added check for this.  Affected file is
5679           silcd/command.c.
5680
5681         * Fixed a channel ID update bug in JOIN command reply.  Do
5682           not directly upgrade the ID but call the function
5683           silc_idlist_replace_channel_id if the ID was changed.
5684           Affected file silcd/command_reply.c.
5685
5686         * Fixed memory leaks from command calling if it would fail.
5687           Affected file silcd/command.c.
5688
5689 Tue Jan 29 19:49:31 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5690
5691         * Applied patches from cras:
5692
5693           Memory leak fixes around libaries, irssi window resize fix,
5694           new silclist.h and silcdlist.h, all extern inline changed to
5695           static inline.
5696
5697         * Removed dotconf from lib/dotconf, not needed anymore.
5698
5699         * Removed TRQ from lib/trq, not needed anymore.
5700
5701         * Do more frequent heartbeats (5 minutes instead of 10 minutes)
5702           with server connections.  Later this will be configurable
5703           in config file after new config file is done.  Affected file
5704           silcd/server.c.
5705
5706 Tue Jan 29 10:35:03 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5707
5708         * Fixed a crash in server related to channel announcements.
5709           Affected file silcd/server.c.
5710
5711 Mon Jan 28 17:49:42 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5712
5713         * Fixed memory leaks in silc_server_create_new_channel*
5714           functions.  Affected file silcd/server.c.
5715
5716         * Fixed the CHANNEL_CHANGE notify to re-announce the channel
5717           which ID was changed.  This way the router will send the
5718           user list for the channel again, and server won't be in
5719           desync in some rare circumstances.  Affected file is
5720           silcd/packet_receive.c.
5721
5722 Sun Jan 27 21:04:19 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5723
5724         * Check for NULL socket pointer in the function
5725           silc_server_packet_send_to_channel_real.  Affected file
5726           silcd/packet_send.c.
5727
5728         * Fixed the BAN notify handling to correctly remove ban
5729           list.  Affected file silcd/packet_receive.c.
5730
5731 Sat Jan 26 23:01:03 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5732
5733         * Fixed some header addition to Toolkit distribution in
5734           lib/silcutil/Makefile.am and lib/trq/Makefile.am.
5735
5736         * Added lib/silcclient/client_ops_example.h as an template
5737           file for application programmers to quickly start using
5738           the SilcClientOperation functions in their application.
5739           Updated the lib/silcclient/README as well to tell about this
5740           nice file made available.
5741
5742 Sat Jan 26 10:45:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5743
5744         * Call silc_server_remove_from_channels when removing client
5745           entry when NO_SUCH_CLIENT_ID was received.  Affected file
5746           is silcd/command_reply.c.
5747
5748 Fri Jan 25 19:12:36 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5749
5750         * Added server & router operator statistics updating.  Affected
5751           file silcd/packet_receive.c and silcd/command.c.
5752
5753         * Fixed the SERVER_SIGNOFF notify handling on normal server
5754           not to save the history information for clients.  Same was
5755           fixed earlier in remove_clients_by_server function, but not
5756           here.  Affected file silcd/packet_receive.c.
5757
5758         * Raised the default connection-retry count from 4 to 7 in
5759           server.  Affected file silcd/server.h.
5760
5761         * Cancel any possible reconnect timeouts when we start the
5762           key exchange.  Affected file silcd/server.c.
5763
5764         * Do not reconnect on connection failure when SCONNECT was
5765           given.  Affected files silcd/server.[ch].
5766
5767 Tue Jan 22 18:19:36 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5768
5769         * Removed assert()'s from the lib/silcclient/client_keyagr.c.
5770
5771         * Fixed the NICK command to always give the unformatted
5772           nickname to the one giving the NICK command.  If unformatted
5773           nickname is cached already it will be formatted and the
5774           local entry will always get the unformatted nickname.
5775           Affected file lib/silcclient/idlist.c.
5776
5777         * Fixed some double frees from client library commands.
5778           Affected file is lib/silcclient/command.c.
5779
5780         * Fixed CUMODE command in server to assure that no one can
5781           change founder's mode than the founder itself, there was a
5782           little bug.  Affected file silcd/command.c.
5783
5784 Mon Jan 21 19:07:53 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5785
5786         * Removed the SilcClientCommandDestructor from the client
5787           libary, it is not needed anymore.  Affected files are
5788           lib/silcclient/silcapi.h, command[_reply].[ch],
5789           client_notify, idlist.c.
5790
5791         * Fixed GETKEY command to first resolve client, and then
5792           resolve the server only if the client was not found, instead
5793           of resolving both at the same time.  Affected file is
5794           lib/silcclient/command.c.
5795
5796         * Added silc_client_start_key_exchange_cb and lookup the
5797           remote hostname and IP address before starting the key
5798           exchange with server.  The affected file is
5799           lib/silcclient/client.c.
5800
5801         * The server's public key is now saved using the IP address
5802           of the server and not the servername for the filename.
5803           The hostname public key filename is checked as an fall back
5804           method if the IP address based filename is not found.
5805
5806           Fixed the GETKEY command to save the fetched server key
5807           in correct filename.
5808
5809           Print the remote server's hostname now when new key is
5810           received during connection process.  Affected file is
5811           irssi/src/silc/core/client_ops.c.
5812
5813         * Return always our own public key to the client if it asks
5814           for it with GETKEY command.  Affected file silcd/command.c.
5815
5816         * Removed the use_auto_addr variable from default config
5817           file since it was in wrong section.  Affected file is
5818           irssi/src/config.
5819
5820         * Fixed TOPIC_CHANGE notification to not route it when it
5821           was sent using silc_server_send_notify_to_channel function.
5822           Affected file silcd/command.c.
5823
5824         * Fixed silc_server_send_notify_kicked to send the kicker's
5825           Client ID also, it was missing.  Affected files are
5826           silcd/command.c, silcd/packet_send.[ch].
5827
5828 Thu Jan 17 18:59:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5829
5830         * Do not save client history information in SERVER_SIGNOFF.
5831           Fixes the bug in normal server that it does not detect
5832           the client becoming valid after the server becomes back
5833           online.  Affected file silcd/server_util.c.
5834
5835         * Added `sock_error' field  into the SilcSocketConnection
5836           context.  When error occurs during socket operation (read
5837           or write) the error is saved.  Added also new function
5838           silc_socket_get_error to return human readable socket error
5839           message.  Affected files are lib/silcutil/silcsockconn.[ch],
5840           lib/silcutil/unix/silcunixsockconn.c, and
5841           lib/silcutil/win32/silcwin32sockconn.c.
5842
5843         * The server now prints the socket error message in the
5844           signoff for client.  Affected file silcd/server.c.
5845
5846         * Fixed the `created' channel information sending from router
5847           to server in JOIN command.  Checks now whether the channel
5848           really was created or not and set it according that.
5849
5850           Fixed the JOIN command to use the client entry's current
5851           ID during the joining procedure instead of the one it sent
5852           in the command (it is checked though), since it can change
5853           between the packet processing and command processing, and
5854           would just case unnecessary pain in the client end.  Affected
5855           file silcd/command.c.
5856
5857         * Fixed a channel key payload sending to use correct channel
5858           ID when the server was forced to change the channel's ID by
5859           router.  Router sent the key payload with the old Channel ID.
5860           Affected file silcd/packet_receive.c.
5861
5862 Wed Jan 16 22:26:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5863
5864         * Call silc_server_save_channel_key only if the key payload
5865           was provided in the JOIN command's command reply.  Affected
5866           file silcd/command_reply.c.
5867
5868 Tue Jan 15 18:49:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5869
5870         * Fixed silc_mp_sizeinbase to return the value correctly with
5871           MPI.  Affected file lib/silcmath/mp_mpi.c.
5872
5873         * Fixed the stop_server signal to correctly stop the scheduler
5874           and gracefully stop the server when SIGTERM or SIGINT signals
5875           are received.  Affected file silcd/silcd.c.
5876
5877 Mon Jan  7 23:38:19 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5878
5879         * Simple handling of TERM and HUP signals. Also added some log
5880           flushing call around.  Affected file is
5881           silcd/silcd.c.
5882
5883         * Fixed small bugs in silclog.c. Now buffering output will take
5884           effect after 10 seconds since startup: This will ensure that
5885           no important startup messages are lost. Also output redirection
5886           will preserve original format ([Date] [Type] message).
5887           Affected file is lib/silcutil/silclog.c.
5888
5889         * Added two options to the config file, in the logging section:
5890           quicklogs:<yes/no>: and flushdelay:<seconds>:.  Affected files
5891           lib/silcutil/silclog.[ch], silcd/serverconfig.[ch].
5892
5893 Sun Jan  6 12:49:40 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5894
5895         * Do not print the warning about log files not being initialized
5896           more than once to avoid excess logging.  Affected file is
5897           lib/silcutil/silclog.c.
5898
5899         * Fixed the SIM compilation in lib/silcsim/Makefile.am.  Fixed
5900           the SIM copying in make install in Makefile.am.pre.
5901
5902 Sun Jan  6 01:10:21 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
5903
5904         * Rewritten silclog APIs. Globally interesting changes follows:
5905           silc_log_set_files() changed to silc_log_set_file().
5906           silc_log_set_callbacks() changed to silc_log_set_callback().
5907           ROBOdoc documented silclog header file.
5908           SilcLogCb now returns bool to wether inihibit the default
5909           handler or not (to keep the old behaviour return always TRUE).
5910           The new APIs should also fix the problem of the
5911           silcd_error.log file that was written in the current directory.
5912
5913           New features:
5914           Log files streams will remain opened after silc_log_set_file()
5915           call, means less CPU usage notably on high traffic servers.
5916           File streams are now full buffered, and flushed to the disk
5917           every 5 minutes, lesses HD activity and CPU usage.
5918           Messages can be redirected, allowing admins to configure
5919           one single logfile for all server messages.
5920           the silc_log_quick global variable to activate fast-logging.
5921           Affected files lib/silcutil/silclog.[ch]
5922
5923         * Changed some code to conform new silclog APIs. Affected
5924           files are doc/example_silcd.conf.in, silcd/server.c
5925           irssi/src/silc/core/silc-core.c, silcd/serverconfig.[ch],
5926           silcd/silcd.c.
5927
5928         * Fixed a memory leak that could occur in some situations.
5929           Affected file silcd/serverconfig.c.
5930
5931 Sat Jan  5 13:37:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5932
5933         * Added the silc_client_del_client to remove the client from
5934           all channels as well.  Affected file lib/silcclient/idlist.c.
5935
5936         * Fixed the client library to correctly remove the client
5937           from all channels when the client entry is being destroyed.
5938           Affected file lib/silcclient/client_notify.c, command.c.
5939
5940         * Added auto-nicking support to the client library.  If the
5941           applicatio now sets client->nickname it will be sent to the
5942           server after connecting by the library.  This way for example
5943           SILCNICK (or IRCNICK) environment variables will have effect
5944           and always change the nickname automatically to whatever
5945           it is wanted.  Affected file lib/silcclient/client.[ch].
5946
5947         * Renamed silc_server_command_bad_chars to the
5948           silc_server_name_bad_chars and moved it to the
5949           silcd/server_util.[ch].  Added also new function
5950           silc_server_name_modify_bad to return nickname that
5951           includes bad characters as new nickname without those
5952           bad characters.  This check and modify is now used in
5953           silc_server_new_client when the username is initially set
5954           as nickname, so it must be checked to be valid nickname.
5955           Affected file silcd/packet_receive.c.
5956
5957         * The nickname length is now taken from the packet for real
5958           and not trusted to strlen() since it clearly can return
5959           wrong length for nickname including bad characters.  This
5960           also applies to channel names.  Affected file silcd/command.c.
5961
5962         * Removed the lib/silcsilm/modules directory.  Modules are now
5963           compiled into the lib/silcsim.  Fixed the copying of the
5964           modules to follow symbolic links in Makefile.am.pre.
5965
5966 Wed Jan  2 18:56:21 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5967
5968         * Fixed silc_string_regexify list creation.  Fixes bugs with
5969           BAN and INVITE commands in server.  The affected file is
5970           lib/silcutil/unix/silcunixutil.c.
5971
5972 Sun Dec 30 13:41:34 EET 2001  Pekka Riikonen <priikone@silcnet.org>
5973
5974         * Removed the command destructor entirely from the server's
5975           command and command reply routines.  It is not needed, and
5976           its usage was buggy and caused crashes.  Affected files are
5977           silcd/command[_reply].[ch].
5978
5979 Fri Dec 28 12:43:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
5980
5981         * Cancel protocol and NULL sock->protocol if timeout
5982           occurred during protocol.  Affected file silcd/server.c.
5983
5984         * Cancel protocol timeouts always before calling the final
5985           callback, to assure that after final callback is called
5986           no other state will be called for the protocol anymore.
5987           Affected file silcd/protocol.c.
5988
5989         * Print error log if incoming connection configuration could
5990           not be found.  Affected file silcd/server.c.
5991
5992         * Fixed JOIN command to correctly save the founder mode
5993           to the client on normal SILC server, when the channel
5994           was created by the router.  Affected file silcd/command.c.
5995
5996         * Fixed LIST command (hopefully) to send correct reply
5997           packets.  Affected file silcd/command.c.
5998
5999 Thu Dec 20 16:14:52 CET 2001  Pekka Riikonen <priikone@silcnet.org>
6000
6001         * The silc_packet_receive_process now returns FALSE if the
6002           read data was invalid packet, and TRUE if it was ok.
6003
6004           The server now checks that if unauthenticated connection
6005           sends data and its processing fails the server will close
6006           the connection since it could be a malicious flooder.
6007
6008           Affected files lib/silccore/silcpacket.[ch], silcd/server.c.
6009
6010 Wed Dec 19 21:31:25 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6011
6012         * Make sure the warning about error opening a log file is
6013           printed only once and not everytime it fails (produces
6014           too much useless log).  Affected file lib/silcutil/silclog.c.
6015
6016 Wed Dec 19 18:21:51 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
6017
6018         * Made the silc_server_daemonise() function more readable.
6019           Affected file silcd/server.c.
6020
6021         * Pid file is now optional, the user may comment it out from
6022           the config file. Removed define SILC_SERVER_PID_FILE, we
6023           don't need a default any longer.  Affected file
6024           configure.in.pre, lib/Makefile.am.pre.
6025
6026         * Make some use of the pid file. The server now dies at startup
6027           if it detects a valid pid file on his path. The server would
6028           die anyway in this circumstance, because of the bind() failure.
6029           Affected file silcd/silcd.c.
6030
6031         * No longer compiling lib/dotconf.
6032
6033 Mon Dec 17 18:24:27 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6034
6035         * Fixed JOIN command parsing not to crash.  Affected file
6036           lib/silcclient/command.c.
6037
6038         * Fied the NICK_CHANGE notify to add the new client entry
6039           even it is resolved.  This removes an <[unknown]> nick
6040           thingy bug in the client.  Affected file is
6041           lib/silcclient/client_notify.c.
6042
6043         * Do not try to allocate 0 bytes (efence does not like it)
6044           in lib/silccore/silccomand.c when encoding payload.
6045
6046         * Do not take IRCNICK as nickname in Irssi SILC client since
6047           it is not possible to set nickname before hand connecting
6048           the server (TODO has an entry about adding auto-nicking
6049           support).
6050
6051         * Changed the silc_server_command_pending to check whether
6052           there already exists an pending entry with the specified
6053           command, command identifier and pending callback.  This is
6054           to fix IDENTIFY and WHOIS related crashes that may register
6055           multiple pending commands with same identifier.  Affected
6056           file silcd/command.c.
6057
6058         * Fixed the server to reconnect to the router even if it
6059           was already reconnecting and EOF was received.  This to
6060           fix a possibility that the server wouldn't ever try to
6061           auto-reconnect to the router.  Affected file silcd/server.c.
6062
6063 Sat Dec 15 20:31:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6064
6065         * Fixed the server's password authentication to use the
6066           length of the locally saved password, and not the one
6067           sent in the packet.  Affected file silcd/protocol.c.
6068
6069         * Fixed same password authentication problem in the
6070           Authentication Payload handling routines in
6071           lib/silccore/silcauth.c.
6072
6073         * Yet another password authentication problem fixed with
6074           channel password handling in silcd/command.c.
6075
6076 Mon Dec 10 19:57:40 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6077
6078         * If first character of string in silc_parse_userfqdn is '@'
6079           then do not parse it.  Affected file is
6080           lib/silcutil/silcutil.c.
6081
6082 Sun Dec  9 22:18:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6083
6084         * Fixed minor bug in IDENTIFY command reply sending, which
6085           caused various weird problems during JOIN when it was
6086           resolving names for users.  Affected file silcd/command.c.
6087
6088 Sun Dec  9 19:18:41 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6089
6090         * Fixed the IDENTIFY command reply sending to chech better valid
6091           clients.  It was possible to send incomplete list of replies.
6092           Affected file silcd/command.c.
6093
6094 Sat Dec  8 15:58:31 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6095
6096         * Added silc_client_command[s]_[un]register functions now to
6097           dynamically register the commands in client library.  Removed
6098           the static table of commands.  This allows the client library
6099           to call commands without causing the application to know about
6100           what commands library has called.
6101
6102           Removed the INFO command reply kludge to detect when the command
6103           was called by library.  Now library use its own command reply
6104           function for INFO command.
6105
6106           Added function silc_client_command_call to call a command.
6107           Application can use it to call command, not access the structure
6108           directly.
6109
6110           Now all commands that are sent by the client library (not
6111           explicitly sent by application) use own command reply functions.
6112
6113           Affected files around lib/silcclient/ and in
6114           irssi/src/silc/core/.
6115
6116         * Fixed the WHOIS command reply sending to chech better valid
6117           clients.  It was possible to send incomplete list of replies.
6118
6119           Fixed the WHOIS and IDENTIFY to send the request to router
6120           if normal server did not do it and did not find any results.
6121
6122           Affected file silcd/command.c.
6123
6124 Thu Dec  6 17:21:06 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6125
6126         * Moved the internal data from SilcClient context into its
6127           own file, not accesible to application.  Affected files
6128           lib/silcclient/client.h and lib/silcclient/client_internal.h,
6129           and other files in client library.
6130
6131 Thu Dec  6 10:37:55 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6132
6133         * Added doc/examples installation target in Makefile.am.pre.
6134           A patch by salo.
6135
6136 Tue Dec  4 17:43:19 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6137
6138         * If NO_SUCH_CLIENT_ID notify is received for WHOIS or IDENTIFY
6139           commands the found client entry will be removed from the
6140           cache, after notifying application about the error.  Affected
6141           file lib/silcclient/command_reply.c.
6142
6143         * Changed the /MSG to check for exact nickname user gave, and
6144           not let `nick' match `nick@host' if it is only one found.  Now,
6145           user must type the exact nickname (like nick@host2) even if
6146           there are no more than one same nicks found.  This is to avoid
6147           a possibility of sending nickname to wrong nickname since
6148           `nick' could match `nick@host'.  Affected file is
6149           irssi/src/core/silc-servers.c.
6150
6151 Mon Dec  3 18:49:45 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6152
6153         * Do not print "you are now server operator" or similar when
6154           giving /away command.  Affected files are
6155           irssi/src/silc/core/client_ops.c, silc-servers.h.
6156
6157         * Made the silc_server_command_pending_error_check to send
6158           the same command reply payload it received back to the
6159           original sender of the command.  This way all arguments
6160           that was received by the server will be received by the
6161           client too.  Affected file silcd/command.c.
6162
6163         * Added the silc_idcache_add to return the created cache entry
6164           to a pointer.  Affected file lib/silccore/silcidcache.[ch].
6165
6166         * Add global clients to expire if they are not on any channel.
6167           This is because normal server will never know if they signoff
6168           if they are not on any channel.  The cache expiry will take
6169           case of these entries.  This is done by normal servers only.
6170           The affected files are silcd/command_reply.c,
6171           silcd/idlist.[ch], silcd/server and silcd/packet_receive.c.
6172
6173         * If server receives invalid ID notification for WHOIS or
6174           IDENTIFY and the ID exists in the lists, it is removed.
6175           Affected file silcd/command_reply.c.
6176
6177         * If NO_SUCH_CLIENT_ID is received for WHOIS or IDENTIFY command
6178           in client then client entry that it matches is searched and
6179           the nickname is printed on the screen for user.  Affected
6180           file irssi/src/silc/core/client_ops.c.
6181
6182 Mon Dec  3 11:56:59 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6183
6184         * Use cache entry expire time in the LIST command reply to
6185           purge old entries from the cache after the LIST command
6186           reply has been received.  This way we don't have non-existent
6187           entries in the cache for too long.  Affected file is
6188           silcd/command_reply.c.
6189
6190 Sun Dec  2 23:29:07 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6191
6192         * If we are normal server, and we've not resolved client info
6193           in WHOIS or IDENTIFY from router, and it is global client,
6194           we'll check whether it is on some channel.  If it is not
6195           then we cannot be sure about its validity and will resolve it
6196           from router.  Fixes a bug in WHOIS and IDENTIFY.  Affected
6197           file silcd/command.c.
6198
6199         * Search channel by name (if possible) rather than by ID
6200           in IDENTIFY command's command reply.  Affected file is
6201           silcd/command_reply.c.
6202
6203 Sun Dec  2 13:48:46 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6204
6205         * Distribute to the channel passphrase in CMODE_CHANGE notify.
6206           Updated specs and implemented it.  Affected file silcd/command.c,
6207           silcd/packet_send.c and silcd/packet_receive.c.
6208
6209         * Implemented the <founder auth> payload handling in the JOIN
6210           command.  If provided all conditions for channel joining
6211           except requirement to provide correct passphrase can be
6212           overrided by the channel founder.  Updated the protocol specs.
6213           Affected file silcd/command.c.
6214
6215           Added support for founder auth in JOIN command in client
6216           library.  Fixed the parsing of the JOIN command now to support
6217           all options as they should be.  The affected file is
6218           lib/silcclient/command.c.
6219
6220         * Optimized the WHOIS and IDENTIFY commands to send the request
6221           to router only if it includes nicknames or other names.  If
6222           they include only IDs then check the local cache first before
6223           routing.  Affected file is silcd/command.c.
6224
6225         * Added channels topic announcements.  Affected file is
6226           silcd/packet_receive.c and silcd/server.c.
6227
6228         * Fixed the silc_server_send_notify_topic_set to really destine
6229           the packet to channel.  Affected file silcd/packet_send.c.
6230
6231         * Fixed a crash in CHANNEL_CHANGE notify handling in the client
6232           library.  Affected file lib/silcclient/client_notify.c.
6233
6234         * Added UMODE announcements.  Affected file silcd/server.c.
6235
6236 Sat Dec  1 12:52:39 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6237
6238         * Memory leak fixes in:
6239
6240           lib/silcutil/silcsockconn.c
6241           lib/silcske/silcske.c
6242           lib/silcske/groups.c
6243           lib/silccrypt/rsa.c
6244           lib/silccrypt/silcpkcs.c
6245           lib/silccore/silccommand.c
6246           lib/silccore/silcidcache.c
6247           silcd/idlist.c
6248           silcd/packet_send.c
6249           silcd/command.c
6250
6251         * ROBOdoc documented the lib/silcske/groups.h file and a
6252           bit changed the interface for better.
6253
6254 Thu Nov 29 22:12:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6255
6256         * Update the client entry context in the ID cache after
6257           nick change.  Affected file lib/silcclient/command.c.
6258           Fixes the CUMODE command when regaining founder privileges,
6259           and a little WHOIS problem.
6260
6261         * Fixed silc_net_gethostbyname to correctly call the
6262           inet_ntop.  Affected file lib/silcutil/silcnet.c.
6263
6264 Thu Nov 29 19:31:23 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6265
6266         * Added IPv6 support checking to the configure.in.pre, added
6267           also --enable-ipv6 option to override the check.  Affected
6268           file configure.in.pre.
6269
6270         * The silc_thread_create now calls the start function
6271           directly if threads support is not compiled in.  Removes
6272           ugly #ifdef's from generic code.  Affected files are
6273           lib/silcutil/unix/silcunixthread, win32/silcwin32thread.c.
6274
6275         * Added silc_net_gethostby[name/addr]_async to asynchronously
6276           resolve.  Affected files are lib/silcutil/silcnet.[ch].
6277
6278         * Added support for rendering IPv6 based server, client and
6279           channel IDs.  Affected file lib/silcutil/silcutil.c.
6280
6281         * Added support for creating IPv6 based server IDs.  Affected
6282           file is silcd/serverid.c.
6283
6284 Wed Nov 28 23:46:09 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6285
6286         * Added silc_net_gethostby[addr/name] into the
6287           lib/silcutil/silcnet.[ch].  Added IPv6 support to Unix network
6288           routines.  Added silc_net_is_ip[4/6].  Affected file is
6289           lib/silcutil/unix/silcunixnet.c.  All routines that take
6290           address as argument now supports both IPv4 and IPv6 addresses.
6291
6292 Mon Nov 26 18:09:48 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6293
6294         * Fixed LIST command reply sending in server.  Affected file
6295           silcd/command.c.
6296
6297         * Server now sends the kicker's client ID in the KICK notify
6298           to the kicked client.  Affected file silcd/command.c.
6299
6300         * The client library now parses the kickers client ID and
6301           UI displays it.  Affected files lib/silcclient/client_notify.c
6302           and irssi/src/silc/core/silc-channels.c, module-formats.c.
6303
6304         * Made all payload parsing function prototypes consistent.
6305           They all take now const unsigned char * and uint32 pair as
6306           the payload data instead of SilcBuffer.  Changes all around
6307           the source tree.  Other unsigned char* -> const unsigned char*
6308           changes around the tree as well.
6309
6310         * Optimized SFTP client and server packet sending not to
6311           allocate new buffer for each packet but to recycle the
6312           first allocated buffer.  Affected files are
6313           lib/silcsftp/sftp_client.c, sftp_server.c, sftp_util.[ch].
6314
6315         * Optimized the SFTP client to use SilcList instead of
6316           SilcDList for requests, because it is faster.  Affected file
6317           is lib/silcsftp/sftp_client.c.
6318
6319         * Moved the ID Payload routines from lib/silccore/silcpayload.[ch]
6320           into lib/silccore/silcid.[ch].
6321
6322           Renamed silcpayload.[ch] into silcargument.[ch].
6323
6324 Mon Nov 26 15:01:53 CET 2001  Pekka Riikonen <priikone@silcnet.org>
6325
6326         * If client entry is deleted with active key agreement
6327           session, abort the session.
6328
6329           The silc_client_abort_key_agreement now calls the completion
6330           callback with new SILC_KEY_AGREEMENT_ABORTED status.
6331
6332           Affected file lib/silcclient/silcapi.h, client_keyagr.c and
6333           idlist.c.
6334
6335 Sun Nov 25 18:01:45 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6336
6337         * Don't use __restrict in older GCC's.  Affected file is
6338           lib/silcmath/mpi/mpi-priv.h.  A patch by salo.
6339
6340         * silc_net_localhost now attempts to reverse lookup the
6341           IP/hostname.  Affected file lib/silcutil/silcnet.c.
6342
6343         * Defined <founder auth> argument to the SILC_COMMAND_JOIN
6344           command.  It can be used to gain founder privileges at
6345           the same time when joining the channel.
6346
6347           Defined that the SILC_NOTIFY_TYPE_KICKED send the
6348           kicker's client ID as well.  Updated protocol specs.
6349
6350           Defined that the server must send SILC_COMMAND_IDENTIFY
6351           command reply with error status to client who sent
6352           private message with invalid client ID.
6353
6354           Updated the protocol specification.
6355
6356         * Added silc_server_send_command_reply to send any
6357           command reply.  Affected file silcd/packet_send.[ch].
6358
6359         * Added silc_id_payload_encode_data to encode ID payload
6360           from raw ID data.  Affected file lib/silccore/silcpayload.[ch].
6361
6362         * The server now send IDENTIFY command reply with error
6363           status if client ID in private message is invalid.  Affected
6364           file silcd/packet_receive.c.
6365
6366         * Save the server key file with server's IP address in
6367           the filename instead of hostname.  The affected file is
6368           irssi/src/silc/core/client_ops.c.
6369
6370 Sat Nov 24 20:08:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6371
6372         * Typo fixes in irssi/src/fe-common/silc/module-formats.c.
6373           A patch by Sunfall.
6374
6375         * Added libtool support for compiling shared objects in
6376           lib/silcsim.  Affected file configure.in.pre and
6377           lib/silcsim/Makefile.am.  Original patch by cras.
6378
6379 Fri Nov 23 23:30:59 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6380
6381         * Pid file configuration, and server's config file fixes
6382           patch by toma.  Updated CREDITS file.
6383
6384 Sun Nov 18 01:34:41 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6385
6386         * Fixed silc_client_channel_message to not try to decrypt
6387           the message twice if it resolved the destination client
6388           information.  This could cause of dropping one channel
6389           message.  Affected file lib/silcclient/client_channel.c.
6390
6391 Wed Nov 14 23:44:56 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6392
6393         * Added silc_client_run_one into lib/silcclient/silcapi.h and
6394           lib/silcclient/client.c. This function is used when the SILC
6395           Client is run under some other scheduler, or event loop or
6396           main loop.  On GUI applications, for example this may be
6397           desired to used to run the client under the GUI application's
6398           main loop.  Typically the GUI application would register an
6399           idle task that calls this function multiple times in a second
6400           to quickly process the SILC specific data.
6401
6402 Wed Nov 14 19:16:52 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
6403
6404         * Fixed silc_server_drop() for dropping the supplementary
6405           groups as well, this could cause a security hole on some
6406           systems.
6407
6408 Wed Nov 14 16:22:25 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6409
6410         * __pid_t -> pid_t in lib/silccrypt/silcrng.c.  A patch by
6411           johnny.
6412
6413         * Write PID file after dropping privileges.  Added -F option
6414           to run server on foreground.  A patch by debolaz.
6415           Affected files silcd/server.c, silcd/silcd.c.
6416
6417         * Fixed MOTD to return the MOTD file server name.  Affected
6418           file silcd/command.c.
6419
6420         * Added INFO command reply handling to the Irssi SILC Client.
6421           Affected file irssi/src/silc/core/client_ops.c.
6422
6423 Wed Nov 14 00:18:08 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6424
6425         * Fixed the silc_idcache_list_* routines to really support
6426           the dynamic list.  Fixes a crash.  Affected file is
6427           lib/silccore/silcidcache.c.
6428
6429         * Fixed the LIST command reply to really call LIST command's
6430           pending callbacks.  Affected file silcd/command_reply.c.
6431
6432 Tue Nov 13 00:49:17 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6433
6434         * Update conn->local_entry->nickname after giving NICK
6435           command.  Affected file lib/silcclient/command.c.
6436
6437 Sun Nov 11 23:43:02 PST 2001  Brian Costello <bc@wpfr.org>
6438
6439         * Added the [pid] option to the silcd configuration file
6440
6441           Affected files: serverconfig.[ch] and silcd.c
6442
6443 Sun Nov 11 23:56:39 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6444
6445         * Save fingerprint in WHOIS command reply in server.
6446           Affected file silcd/command_reply.c.
6447
6448         * Fixed NICK commands pending callback registration.
6449           Affected file lib/silcclient/command.c.
6450
6451 Sun Nov 11 10:49:10 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6452
6453         * Use ++server->cmd_ident when sending commands in server,
6454           instead of random number.  Affected file silcd/command.c.
6455
6456         * Fixed GETKEY command reply to call actually GETKEY pending
6457           command callbacks.  Affected file silcd/command_reply.c.
6458
6459         * A bit stricter check for nicknames.  Check for same nickname
6460           in NICK command also.  Affected file silcd/command.c.
6461
6462         * Do not call INFO command everytime client ID changes, only
6463           during first connecting.  Affected file lib/silcclient/client.c.
6464
6465         * Set the new nickname only after successful command reply for
6466           NICK command is returned by server.  Affected file
6467           lib/silcclient/command.c.
6468
6469         * Remove nicknames from nicklist during server_signoff notify.
6470           Should fix /NAMES bit more.  The affected file is
6471           irssi/src/silc/core/silc-channels.c.
6472
6473         * Added `fingerprint' field to the SilcIDListData in the
6474           silcd/idlist.h to hold the fingerprint of the client's
6475           public key.
6476
6477           Send the fingerprint of the client's public key in WHOIS
6478           command reply.
6479
6480           Affected files silcd/command.c, and silcd/idlist.[ch].
6481
6482         * Added silc_fingerprint into lib/silcutil/silcutil.[ch] to
6483           create fingerprint from given data.
6484
6485         * Show the fingerprint of the client's public key in WHOIS.
6486           Affected files irssi/src/module-formats.[ch] and
6487           irssi/src/silc/core/client_ops.c.
6488
6489         * Format the multiple same nicknames also during JOIN and
6490           NICK_CHANGE notifys.  Affected file is
6491           lib/silcclient/client_notify.c.
6492
6493         * Do not print error on screen for invalid private message
6494           payload since it can come if someone is sending private
6495           messages with wrong key.  Affected file
6496           lib/silccore/silcprivate.c.
6497
6498         * Fixed multiple concurrent /PING crash.  Affected file
6499           lib/silcclient/command.c.
6500
6501         * Changed the wrong ID encoding.  All IP addresses must be
6502           in MSB first order in encoded format.  They were encoded
6503           wrong and was in LSB format.  Affected files are
6504           silcd/serverid.c, lib/silcutil/silcutil.c.
6505
6506         * Remove silc_net_addr2bin_ne from lib/silcutil/silcnet.[ch].
6507
6508         * Call the `connect' client operation through the scheduler
6509           in case of error.  Affected file lib/silcclient/client.c.
6510
6511         * Call the `failure' client operation even if the error
6512           occurred locally during a protocol.  Affected file is
6513           lib/silcclient/protocol.c.
6514
6515         * Added support of sending LIST command to router from normal
6516           server.  This way normal server can get list of all channels
6517           in the network too.  Fixed the channel list sending in the
6518           server too.  Affected files are silcd/command.c, and
6519           silcd/command_reply.[ch].
6520
6521         * Added silc_server_update_channels_by_server and
6522           silc_server_remove_channels_by_server.  They are used during
6523           disconnection of primary router and in backup router protocol.
6524           Affected file silcd/server_util.[ch], silcd/server.c and
6525           silcd/server_backup.c.
6526
6527         * Fixed channel adding to global list in IDENTIFY command
6528           reply in server.  Affected file silcd/command_reply.c.
6529
6530 Sat Nov 10 21:39:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6531
6532         * If the incoming packet type is REKEY or REKEY_DONE process
6533           that packet always synchronously.  Fixes yet another MAC
6534           failed error on slow (dialup) connections.  Affected file
6535           lib/silcclient/client.c and silcd/server.c.
6536
6537 Thu Nov  8 22:21:09 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6538
6539         * Call check_version SKE callback for initiator too.  Affected
6540           file lib/silcske/silcske.c.
6541
6542         * Implemented fix for security hole found in the SKE that was
6543           fixed in the specification few days back; the initiator's
6544           public key is now added to the HASH value computation.
6545           Added backwards support for the old way of doing it too, for
6546           old clients and old servers.  Affected file is
6547           lib/silcske/silcske.c.
6548
6549         * Enabled mutual authentication by default in SKE.  If initiator
6550           is not providing mutual authentication the responder will
6551           force it.  This will provide the proof of posession of the
6552           private key for responder.  The affected files are
6553           lib/silcclient/protocol.c and silcd/protocol.c.
6554
6555         * Do not cache anymore the server's public key during SKE.
6556           We do mutual authentication so the proof of posession of
6557           private key is done, and if the server is authenticated in
6558           conn auth protocol with public key we must have the public
6559           key already.  Affected file silcd/protocol.c.
6560
6561         * Added new global debug variable: silc_debug_hexdump.  If
6562           it is set to TRUE SILC_LOG_HEXDUMP will be printed.  Affected
6563           file lib/silcutil/silclog.[ch].
6564
6565         * Fixed compilation warning due to char * -> const char *.
6566           Affected files lib/silcutil/silcnet.h, and
6567           lib/silccore/silcauth.[ch].
6568
6569 Wed Nov  7 20:43:03 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6570
6571         * Fixed CMODE command when new channel key was created.  If
6572           the creation failed the old key was removed.  Next time giving
6573           same command would crash the server since the old key was
6574           freed already.  Affected file silcd/command.c.
6575
6576         * Fixed the silc_server_announce_get_channels to not crash
6577           on reconnect.  Affected file silcd/server.c.
6578
6579 Wed Nov  7 17:15:07 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6580
6581         * Added silc_log_set_debug_string function to set a regex
6582           string to match for debug output.  Only the function names,
6583           or filenames matching the given debug string is actually
6584           printed.  This way it is possible to filter out those debug
6585           strings that user is not interested in.
6586
6587           Fixed a bug in silc_string_regexify.
6588
6589           Affected files lib/silcutil/silclog.[ch], and
6590           lib/silcutil/unix/silcunixutil.c.
6591
6592         * Changed the -d options in both server and Irssi SILC client
6593           to take the debug string as argument.  Affected files
6594           silcd/silcd.c and irssi/src/silc/core/silc-core.c.
6595
6596 Tue Nov  6 21:31:54 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6597
6598         * Added silc_hash_babbleprint to create a Bubble Babble
6599           Encoded fingerprint.  The encoding is developed by Antti
6600           Huima (draft-huima-babble-01.txt), and it creates human
6601           readable strings out of binary data.  Affected file
6602           lib/silccrypt/silchash.[ch].
6603
6604         * Print the babble print now in addition of fingerprint as well
6605           in Irssi SILC client.  Affected files are
6606           irssi/src/fe-common/silc/module-formats.[ch],
6607           irssi/src/fe-common/silc/core/client_ops.c.
6608
6609 Sun Nov  4 23:37:28 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6610
6611         * Fixed a security problem found in SKE.  The initiator's
6612           public key too is now added to the HASH hash value creation
6613           which is signed by the responder to create the SIGN value.
6614           This will prevent anyone in the middle to lie to the responder
6615           about the initiator's public key.  If this is done now, the
6616           man in the middle will get caught.  Updated the protocol
6617           specification.
6618
6619 Sun Nov  4 11:43:53 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6620
6621         * Better installation directory handling.  Configure module
6622           paths and other paths automatically to example_silc* files
6623           in doc/.  A patch by toma.
6624
6625         * Fixed compiler warning from MPI library, and from SILC RNG.
6626           A patch by johnny.
6627
6628         * Added SILC_SERVER_PID_FILE to define the pid file for server.
6629           It can be configured with ./configure.  A patch by toma.
6630
6631 Sat Nov  3 23:48:23 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6632
6633         * Find correct make to use in prepare-clean.  A patch by
6634           toma.  Affected file prepare-clean.
6635
6636 Sat Nov  3 22:04:00 PST 2001  Brian Costello <bc@mksecure.com>
6637
6638         * Added irssi variables use_auto_addr, auto_bind_ip,
6639           auto_bind_port and auto_public_ip.
6640
6641         * Changed the interface for silc_client_send_key_agreement
6642           in lib/silcclient/silcapi.h
6643
6644         Affected files:
6645
6646          irssi/src/silc/core/silc-core.c
6647          irssi/config
6648          lib/silcclient/silcapi.h
6649          irssi/src/silc/core/silc-channels.c
6650          lib/silcclient/client_keyagr.c
6651          irssi/docs/help/key
6652
6653 Sat Nov  3 17:48:55 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6654
6655         * Added silc_pkcs_public_key_compare to compare two
6656           public keys.  Affected file lib/silccrypt/silcpkcs.[ch].
6657
6658         * Check that the client who set the founder mode on the
6659           channel is the same client that is giving the founder
6660           mode to itself.  It is done by comparing the saved public
6661           key (it is saved even in the authentication is passphrase).
6662           Affected file silcd/command.c.
6663
6664 Fri Nov  2 18:52:08 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6665
6666         * Do not process packet for disconnected socket connection.
6667           Affected file lib/silccore/silcpacket.c.
6668
6669         * Process the DISCONNECT packet through scheduler in the
6670           client library.  Affected file lib/silcclient/client.c.
6671
6672         * Fixed the silc_client_packet_parse to not to increase
6673           the packet sequence number if the conn->sock and the
6674           current socket connection is not same.  This can happen
6675           for example during key agreement when the conn includes
6676           multiple socket connections (listeners).  Affected file
6677           lib/silcclient/client.c.
6678
6679         * The sender of the file transfer request now provides also
6680           the pointer (listener) for the key exchange protocol.  If
6681           the listener cannot be created then it sends empty key
6682           agreement and lets the receiver provide the listener.
6683
6684           Added `local_ip' and `local_port' arguments to the
6685           silc_client_file_send.  If they are provided they are used,
6686           if not then it will attempt to find local IP address, if
6687           not found or bind fails then the remote client will provide
6688           the listener.
6689
6690           Affected files are lib/silcclient/client_ftp.c and
6691           lib/silcclient/silcapi.h.
6692
6693         * Extended the FILE SEND command to support defining the
6694           local IP and port for key exchange listener.  They are
6695           optional.  Affected file irssi/src/silc/core/silc-servers.c.
6696
6697 Thu Nov  1 22:10:07 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6698
6699         * Defined to WHOIS command reply the sending of fingerprint
6700           of the client's public key (if the proof of posession of the
6701           corresponding private key is verified by the server).
6702           Updated to the protocol specification.
6703
6704         * Added support of receiving the client's public key's
6705           fingerprint in command reply in client library.  Affected
6706           file is lib/silcclient/command_reply.c, and
6707           lib/silcclient/idlist.[ch].
6708
6709 Thu Nov  1 18:06:12 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6710
6711         * Do not send over 128 chars long nickname to the server
6712           in NICK command.  Affected file lib/silcclient/command.c.
6713
6714         * Do not send over 256 chars long channel names to the server
6715           in JOIN command.  Affected file lib/silcclient/command.c.
6716
6717 Tue Oct 30 22:48:59 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6718
6719         * Assure that silc_server_close_connection cannot be called
6720           twice for same socket context.  Affected file is
6721           silcd/server.c.
6722
6723 Tue Oct 30 16:58:14 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6724
6725         * Send error message to application if opening file for
6726           writing during file transfer fails.  Affected file is
6727           lib/silcclient/client_ftp.c.
6728
6729           Remove all file transfer sessions for a client that we're
6730           removing from ID cache.
6731
6732           Affected file is lib/silcclient/client_ftp.c.
6733
6734         * Fixed silc_net_addr2bin to return correct address.  Affected
6735           file lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
6736
6737         * Fixed file transfer session removing on signoff notify.
6738           Affected file irssi/src/silc/core/silc-servers.c.
6739
6740         * Added the SilcClientFileError to be returned in the monitor
6741           callback.  Added NO_SUCH_FILE and PERMISSION_DENIED errors.
6742           Affected file lib/silcclient/silcapi.h.
6743
6744 Mon Oct 29 17:43:04 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6745
6746         * Fixed a crash in silc_client_ftp_free_sessions and
6747           silc_client_ftp_session_free_client.  Affected file
6748           lib/silcclient/client_ftp.c.
6749
6750         * Added `disabled' field in the SilcChannelEntry in the server
6751           to indicate if the server entry is disabled.  Affected file
6752           silcd/idlist.h, silcd/command[_reply].c.
6753
6754         * SILC server adds now /var/run/silcd.pid everytime it is
6755           started.  Affected file silcd/silcd.c.
6756
6757         * Added silc_server_packet_send_clients to send a packet to
6758           the provided table of client entries.  Affected file
6759           silcd/packet_send.[ch].
6760
6761         * Fixed a crash in client resolving in client_prvmsg.c in
6762           client library.  Affected file lib/silcclient/client_prvmsg.c.
6763
6764         * Do not actually remove the client directly from ID cache
6765           during SERVER_SIGNOFF, but invalidate it.  This way we
6766           preserve the WHOWAS info for the client.  Affected file
6767           silcd/server_util.c.
6768
6769         * Fixed SERVER_SIGNOFF notify handling in the server.  The
6770           server is now able to process incoming SERVER_SIGNOFF notify
6771           for a server that it doesn't even know about.  It will remove
6772           the clients provided in the notify.  Affected file
6773           silcd/packet_receive.c.
6774
6775         * Check for partial packet in data queue after every packet that
6776           was found from the queue.  Return and wait for more data if
6777           there is partial data in queue.  Affected file is
6778           lib/silccore/silcpacket.c.
6779
6780 Sun Oct 28 18:46:27 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6781
6782         * Added SilcClietFileError enum to indicate error in
6783           file transfer.  Added SILC_CLIENT_FILE_MONITOR_KEY_AGREEMENT
6784           and SILC_CLIENT_FILE_MONITOR_ERROR new monitor statuses.
6785           Affected files lib/silcclient/silcapi.h and
6786           lib/silcclient/client_ftp.c.
6787
6788         * Check that newsize in silc_buffer_realloc is larger than
6789           the old buffer's size.  Affected file lib/silcutil/silcbufutil.h.
6790
6791         * Added better monitor of file transfers.  It now monitors
6792           key agreement protocol during the file transfer too.  Added
6793           error reporting too.  Affected files
6794           irssi/src/silc/core/silc-servers.c,
6795           irssi/src/fe-common/silc/module-formats.[ch].
6796
6797         * Wrote a help file for FILE command.
6798
6799         * Added silc_rng_global_get_byte_fast to get not-so-secure
6800           random data as fast as possible.  Random data is read from
6801           /dev/urandom if available and from the SILC RNG if not
6802           available.  It is used in padding generation.  Affected file
6803           lib/silccrypt/silcrng.[ch].
6804
6805         * All packets in client library are now processed synchronously.
6806           Optimized packet processing a lot.  Affected file
6807           lib/silcclient/client.c.
6808
6809         * All server connection packets are processing synchronously
6810           now in server, to optimize packet processing.  Affected file
6811           silcd/server.c.
6812
6813         * Include files are installed now only in Toolkit distribution
6814           if make install is given.  Affected files: all Makefile.am's.
6815
6816 Thu Oct 25 22:44:06 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6817
6818         * Assure that silc_client_notify_by_server_resolve does not
6819           resolve the client information multiple times.  If it cannot
6820           be found by the first it cannot be found at all.  Affected
6821           file lib/silcclient/client_notify.c.
6822
6823         * Fixed WHOWAS command reply calling.  Affected file
6824           lib/silcclient/command_reply.c.
6825
6826         * Removed all references to silc_idlist_get_client from the
6827           Irssi SILC client since that call is internal call used by
6828           the library.  The Irssi SILC client will use now client
6829           retrieval functions found in silcapi.h.
6830
6831         * Fixed a bug in resolving nickname info before sending
6832           private message.  It used freed memory.  Affected file
6833           irssi/src/silc/core/silc-servers.c.
6834
6835 Thu Oct 25 19:04:49 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6836
6837         * Assure my_channels statistics cannot go negative in server.
6838           Affected files silcd/server.c, silcd/server_util.c.
6839
6840 Wed Oct 24 19:53:05 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6841
6842         * Upgraded dotconf 1.0.2 to 1.0.6 in lib/dotconf.
6843
6844 Tue Oct 23 13:51:19 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
6845
6846         * Win32 Toolkit changes.  Affected files
6847           win32/silc.dsw, win32/libsilc/libsilc.def,
6848           win32/libsilcclient/libsilc.def,
6849           lib/silcutil/silcutil.c, and
6850           lib/sftp/sftp_fs_memory.c.
6851
6852 Mon Oct 22 16:35:05 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6853
6854         * Added silc_net_localip to return local host's IP address.
6855           Affected file lib/silcutil/silcnet.[ch].
6856
6857         * If key exchange or rekey protocol is active for a connection
6858           parse all packets syncronously since there might be packets
6859           in packet queue that we are not able to process without first
6860           processing packets before them.  Affected file silcd/server,
6861           lib/silcclient/client.c.
6862
6863         * SilcPacketParserCallback now returns TRUE or FALSE to indicate
6864           whether library should continue processing the packet.
6865           Affected file lib/silccore/silcpacket.h.
6866
6867         * Added SilcSFTPMonitor callback, SilcSFTPMonitors and
6868           SilcSFTPMonitorData to SFTP server to monitor various
6869           SFTP client requests.  Affected file lib/silcsftp/silcsftp.h,
6870           lib/silcsftp/sftp_server.c.
6871
6872         * Added silc_file_size to return file size.  Affected file
6873           lib/silcutil/silcutil.[ch].
6874
6875         * Implemented the file transfer support for the client library.
6876           Added preliminary support for simple client to client one-file
6877           transmission.  Affected file lib/silcclient/client_ftp.c,
6878           lib/silccilent/client.[ch].
6879
6880         * Added new local command FILE to the Irssi SILC Client.
6881           It is used to perform the file transfer.  It has subcommands
6882           SEND, RECEIVE, SHOW and CLOSE.  Affected files
6883           irssi/src/silc/core/client_ops.c,
6884           irssi/src/silc/core/silc-server.[ch].
6885
6886 Mon Oct 22 12:50:08 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6887
6888         * Relay the SILC_PACKET_FTP in the server.  Affected files
6889           silcd/server.c and silcd/packet_receive.c.
6890
6891 Sun Oct 21 20:21:02 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6892
6893         * Renamed silc_file_read and silc_file_write to functions
6894           silc_file_readfile and silc_file_writefile.  Added function
6895           silc_file_open and silc_file_close.  Affected files
6896           lib/silcutil/silcutil.[ch].
6897
6898 Thu Oct 18 20:58:13 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6899
6900         * Resolve the client info when received private message or
6901           channel message for a client which nickname we don't know.
6902           Affected files lib/silcclient/client_prvmsg.c and
6903           lib/silcclient/client_channel.c.
6904
6905         * Do not crash in /KEY if client is not connected.  Affected
6906           file irssi/src/silc/core/silc-channels.c.
6907
6908         * Added SilcClientStatus field to the SilcClientEntry in the
6909           lib/silcclient/idlist.h.
6910
6911           Added SILC_CLIENT_STATUS_RESOLVING to mark that the entry
6912           is incomplete and is being resolved, it won't be resolved
6913           twice.
6914
6915           Make sure also that USERS command reply does not resolve
6916           twice information.  Affected file is
6917           lib/silcclient/command_reply.c.
6918
6919           Make sure that silc_client_get_clients_by_list does not
6920           resolve twice same information.
6921
6922         * Check for valid client->id in the silc_server_free_client_data.
6923           Affected file silcd/server.c.
6924
6925         * Fixed /GETKEY nick@server not to crash if the server entry
6926           is not found.  Affected file lib/silcclient/command.c.
6927
6928         * Fixed the silc_server_check_cmode_rights to check the
6929           requested modes correctly.  Affected file silcd/command.c.
6930
6931 Thu Oct 18 12:10:22 CEST 2001  Pekka Riikonen <priikone@silcnet.org>
6932
6933         * Better checks for non-printable chars in nick added.
6934           Affected file silcd/command.c.
6935
6936 Thu Oct 18 09:18:58 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6937
6938         * Call the silc_server_udpate_servers_by_server in the
6939           primary router that comes back online in the backup resuming
6940           protocol.  Otherwise it routes packets wrong.  Affected file
6941           silcd/server_util.[ch], silcd/server_backup.c.
6942
6943 Wed Oct 17 16:51:18 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6944
6945         * Added SILC_STR_UI8_[N]STRING[_ALLOC] formats to the
6946           lib/silcutil/silcbuffmt.[ch].
6947
6948         * Redefined the SILC packet header to include the padding
6949           length.  Affected file lib/silccore/silcpacket.[ch].
6950
6951         * Added SILC_PACKET_PADLEN_MAX macro to return the padding
6952           length for maximum padding up to 128 bytes).  Affected
6953           file lib/silccore/silcpacket.h.
6954
6955         * Removed all backwards support for old 0.5.x MAC thingies.
6956           The SILC packet header change makes it impossible to be
6957           backwards compatible.
6958
6959         * Send the ENDING packet with timeout in the backup resuming
6960           protocol.  This is to assure that all routers has connected
6961           to the primary router.  Affected file silcd/server_backup.c.
6962
6963         * Changed the RNG to take the first IV from random data.  It
6964           used to take it from zero actually.  Changed the RNG also
6965           to use /dev/urandom during session.  /dev/random is used
6966           in initialization.  Affected file lib/silccrypt/silcrng.[ch].
6967
6968 Tue Oct 16 20:45:49 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6969
6970         * Changed the SILC packet header to have the first two bytes
6971           (the packet length) encrypted.  Affected files aroung the
6972           code tree, lib/silccore/silcpacket.[ch].  Removed the
6973           SilcPacketCheckDecrypt callback.  It is not needed anymore
6974           since the silc_packet_receive_process will determine now
6975           whether the packet is normal or special.
6976
6977         * Implemented the unidirectional MAC keys.  Affected files
6978           lib/silcske/silcske.c, silcd/protocol.c and
6979           lib/silcclient/protocol.c.
6980
6981         * Implemented the packet sequence number to the MAC computation.
6982           Affected files lib/silccore/silcpacket.c, silcd/protocol.c,
6983           silcd/packet_send.c, silcd/server.c, lib/silcclient/client.c,
6984           lib/silcclient/protocol.c.
6985
6986 Mon Oct 15 17:42:55 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6987
6988         * Allow backup router to announce servers.  All servers
6989           announced by backup router are added to the global list
6990           automatically.  Update hte server's socket to our primary
6991           router also when backup router announces a server.
6992           Affected file silcd/packet_receive.c.
6993
6994         * Do not update the client->router in the function
6995           silc_server_udpate_clients_by_server if the client is on
6996           global list.  We might fail to find any specific server
6997           for locally connected clients and local cell clients.  They
6998           should still use the `from' and not `to' as client->router.
6999           This fixes backup router resuming protocol.  Affected file
7000           silcd/server_util.c.
7001
7002         * Decrease channel statistics count only if the channel
7003           deletion worked.  Affected files are silcd/server.c and
7004           silcd/server_util.c.
7005
7006         * Added silc_server_update_servers_by_server to update origin
7007           of all server entries.  Used during backup router protocol.
7008           Affected files silcd/server_util.[ch], silcd/server.c. and
7009           silcd/backup_router.c.
7010
7011         * ROBODoc documented the lib/silccrypt/silchmac.h.  Added new
7012           function silc_hmac_init, silc_hmac_update, silc_hmac_final,
7013           silc_hmac_get_hash and silc_hmac_get_name.  Affected file
7014           lib/silccrypt/silchmac.c.
7015
7016 Sun Oct 14 18:28:22 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7017
7018         * Assure that router cannot reroute the same channel message
7019           to the sender.  Affected file silcd/packet_receive.c.
7020
7021 Sat Oct 13 12:46:18 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7022
7023         * Made better checks that the channel message is not sent
7024           to the router it came from.  Affected file is
7025           silcd/packet_send.c.  Fixed memory leak too.
7026
7027         * Announce informations for incoming router connection, but
7028           only after checking if it is replaced by backup router.
7029           Affected file silcd/packet_receive.c.
7030
7031 Fri Oct 12 18:37:24 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7032
7033         * Fixed the backup resuming protocol to work in multiple
7034           router environment.  Affected file silcd/server_backup.c.
7035
7036         * Route packet only to one router in the function
7037           silc_server_packet_send_to_channel.  Affected file is
7038           silcd/packet_send.c.
7039
7040         * Fixed silc_server_send_notify_dest to set the broadcast
7041           flag.  Fixed the silc_server_send_notify_topic to actually
7042           send the TOPIC_CHANGE notify and not SERVER_SIGNOFF notify.
7043           Affected file silcd/packet_send.c.
7044
7045         * Changed the SFTP Filesystem interface.  Changed the
7046           SilcSFTPFilesystemStruct to SilcSFTPFilesystemOps to include
7047           the filesystem operation function.  The SilcSFTPFilesystem
7048           is now a context that is allocated by all filesystem allocation
7049           functions and it already includes the operations structure
7050           and filesystem specific context.  It is given as argument
7051           now to the silc_sftp_server_start.  This made the interface
7052           a bit cleaner.  Affected file lib/silcsftp/silcsftp[_fs].h,
7053           lib/silcsftp/sftp_fs_memory.c and sftp_server.c.
7054
7055 Thu Oct 11 22:19:26 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7056
7057         * Changed the backup router adding and getting interfaces
7058           in the server.  The router that will be replaced by the
7059           specified backup router is now sent as argument.  Affected
7060           files silcd/serverconfig.[ch], silcd/backup_router.[ch], and
7061           silcd/server.c.
7062
7063         * Added silc_net_addr2bin_ne to return the binary form of
7064           the IP address in network byte order.  Affected files
7065           lib/silcutil/[unix/win32].silc[unix/win32]net.[ch].
7066
7067 Thu Oct 11 12:14:19 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7068
7069         * Check for existing server ID in silc_server_new_server
7070           and in silc_server_connect_to_router_final and remove the
7071           old entry if it exists.  Affected file silcd/packet_receive.c,
7072           silcd/server.c.
7073
7074         * Send the channel message always to only one router, either
7075           in upstream or downstream.  Affected file is
7076           silcd/packet_send.c.
7077
7078 Tue Oct  9 17:45:43 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7079
7080         * Wrote the definition of the backup resuming protocol to the
7081           protocol specification.
7082
7083         * Removed one redundant channel key generation from normal
7084           server during joining procedure.  Removed one redundant
7085           channel key sending from server to router during joining
7086           procedure.  Affected file silcd/command.c.
7087
7088         * Made minor bugfixes to the backup router resuming protocol.
7089           Affected file silcd/server_backup.c, server.c.
7090
7091 Mon Oct  8 16:47:42 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7092
7093         * Added --disable-asm configuration option.  Affected files
7094           configure.in.pre, lib/silcmath/mpi/configure.in.  A patch
7095           by salo.
7096
7097         * Implemented the backup resuming protocol that is used to
7098           resume the primary router position in the cell after the
7099           primary router comes back online.  Affected files
7100           silcd/server_backup.[ch], silcd/server, silcd/packet_receive.c,
7101           and silcd/server_util.[ch].
7102
7103 Sun Oct  7 12:29:25 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7104
7105         * Sleep two (2) seconds after sending QUIT command to server.
7106           Affected file lib/silcclient/command.c.
7107
7108         * Assure that if outgoing data buffer is pending do not force
7109           send any data.  Affected file silcd/packet_send.c.
7110
7111         * Assure that if outgoing data buffer is pending do not force
7112           send any data.  Affected file lib/silcclient/client.c.
7113
7114         * Implemented the backup router support when the primary router
7115           goes down.  The servers and routers can now use the backup
7116           router as new primary router without loosing connectivity.
7117
7118 Sat Oct  6 21:18:54 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7119
7120         * Added new SILC_IDLIST_STATUS_DISABLED flag for entries
7121           in the server to indicate disabled entry.  All data read
7122           from the connection will be ignored and no data is sent
7123           for entry that is disabled.  Affected files are
7124           silcd/idlist.h, silcd/server.c.
7125
7126 Fri Oct  5 00:03:29 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7127
7128         * Created SFTP client and server test programs in the
7129           lib/silcsftp/tests directory.
7130
7131 Wed Oct  3 23:31:42 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7132
7133         * Implemented memory filesystem (virtual filesystem) for
7134           SFTP server.  Affected file lib/silcsftp/silcsftp_fs.h,
7135           sftp_fs_memory.c.
7136
7137 Sun Sep 30 22:10:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7138
7139         * Implemented the SFTP (SSH File Transfer Protocol) to the
7140           lib/silcsftp.  It includes SFTP client and SFTP server
7141           implementations.
7142
7143 Sun Sep 30 10:35:44 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7144
7145         * Moved lib/silccore/silcprotocol.[ch] to the
7146           lib/silcutil library.
7147
7148         * Added silc_buffer_format_vp and silc_buffer_unformat_vp to
7149           take variable argument list pointer as argument.  Affected
7150           file lib/silcutil/silcbuffmt.[ch].
7151
7152         * Added silc_buffer_set function that is used to set data
7153           to a SilcBuffer that is not allocated at all (SilcBufferStruct).
7154           Affected file lib/silcutil/silcbuffer.h.
7155
7156         * Changed various routines in the core library to use the new
7157           silc_buffer_set instead of allocating new buffer only for
7158           temporary purposes.
7159
7160         * Added 64-bit value formatting and unformatting support to the
7161           silc_buffer_[un]format routines.  Affected file is
7162           lib/silcutil/silcbuffmt.[ch].
7163
7164           Added also 64-bit macros: SILC_GET64_MSB and SILC_PUT64_MSB,
7165           to includes/bitmove.h.
7166
7167 Fri Sep 28 21:30:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7168
7169         * Fixed channel user mode saving in client library.  Affected
7170           file lib/silcclient/command[_reply].c.
7171
7172 Thu Sep 27 22:52:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7173
7174         * Defined the file transfer to the SILC Protocol.  Added
7175           new packet type SILC_PACKET_FTP and defined File Transfer
7176           Payload.  The mandatory file transfer protocol is SFTP
7177           (SSH File Transfer Protocol).  Affected file in addition
7178           of the internet draft is lib/silccore/silcpacket.h.
7179
7180         * Deprecated the SILC_PACKET_CELL_ROUTERS and defined new
7181           packet SILC_PACKET_RESUME_ROUTER instead.  The new packet
7182           is used as part of backup router protocol when the primary
7183           router of the cell is back online and wishes to resume
7184           the position as primary router.
7185
7186         * Redefined the MAC generation keys in the protocol.  The
7187           same key is not used anymore in both direction.  Both
7188           direction will now use different keys for sending and
7189           receiving.  This fixes a potential security flaw.  This
7190           change causes incompatibilities in the protocol.
7191
7192         * Redefined also the MAC computation from the packet.
7193           An packet sequence number is now added to the MAC
7194           computation.  This prevents possible replay attacks against
7195           the protocol.  This change too causes incompatibilities
7196           in the protocol.
7197
7198           Added `sequence' field to the SilcPacketContext to hold
7199           the current sequence number for the packet.
7200
7201 Wed Sep 26 20:15:22 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7202
7203         * Added `created' field to the SilcIDListData in the file
7204           silcd/idlist.h to indicate the time when the entry was
7205           created.
7206
7207         * Added `created' field to the SilcChannelEntry too.  Affected
7208           file silcd/idlist.h.
7209
7210         * Added `creation_time' aguments to all the announcement functions
7211           in the server.  If it is provided then only the entries that
7212           was created after the provided time frame are actually
7213           announced.  Affected file silcd/server.[ch].
7214
7215         * The protocol says that the Channel ID's IP address must be
7216           based on the router's IP address.  Added check for this in
7217           the silc_server_new_channel when processing incoming New Channel
7218           Payload.  Affected file silcd/packet_receive.c.
7219
7220         * Print out the correct version with --version in SILC client.
7221           Affected file irssi/src/silc/core/silc-core.c.
7222
7223 Mon Sep 24 17:19:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7224
7225         * Fixed WHOWAS command to check for completnes of the client
7226           entry always, not just when the command is coming from client.
7227           Affected file silcd/command.c.
7228
7229         * Added new function silc_server_packet_queue_purge to purge the
7230           outgoing data queue to the network.  After the function returns
7231           it is guaranteed that the outgoing packet queue is empty.
7232           Affected file silcd/packet_send.[ch].
7233
7234         * Purge the outgoing packet queue in the rekey protocol's final
7235           callback to assure that all rekey packets go to the network
7236           before quitting the protocol.  Affected file silcd/server.c.
7237
7238         * Added silc_client_packet_queue_parse as similar function as
7239           in server to the client library.  The affected file is
7240           lib/silcclient/client.c.
7241
7242 Sun Sep 23 15:15:53 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7243
7244         * Splitted silcd/server.c and created silcd/server_util.[ch]
7245           for utility functions.
7246
7247         * Added new socket flag SILC_SF_DISABLED to indicate that the
7248           connection is open but nothing can be sent to or received from
7249           the connection.  Affected file lib/silcutil/silsockconn.[ch].
7250           The checking for disabled socket is checked in the low level
7251           silc_socket_write and silc_socket_read functions.
7252
7253 Thu Sep 20 23:11:28 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7254
7255         * Allow only nicknames and channel names that fits into the
7256           7-bit unsigned char ASCII set.  Affected file silcd/command.c.
7257
7258 Thu Sep 20 18:04:12 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7259
7260         * When processing JOIN command reply in server check that if
7261           the channel exists in our global list we'll move it the local
7262           list.  Affected file silcd/command_reply.c.
7263
7264         * Fixed the check whether client is joined on the channel already
7265           in JOIN command.  Affected file lib/silcclient/command.c.
7266
7267         * Fixed the JOIN command reply to check whether the channel
7268           already exists.  Affected file lib/silcclient/command_reply.c.
7269
7270 Wed Sep 19 22:58:32 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7271
7272         * Added silc_ske_status_string to map the SKE error numbers
7273           to readable strings.  The affected files are
7274           lib/silcske/silcske[_status].[ch].
7275
7276 Tue Sep 18 22:50:41 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7277
7278         * Do not show the private channels on the WHOIS channel list
7279           as it is not allowed by the protocol.  The affected file is
7280           silcd/server.c.
7281
7282 Sun Sep 16 12:32:58 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7283
7284         * Assure that the packet length digged from the actual packet
7285           is something sensible in the silc_packet_decrypt_rest_special
7286           in lib/silccrypt/silcpacket.c.
7287
7288         * Free and NULL the allocated pointer in silc_hmac_alloc if
7289           the HMAC allocation fails.  The affected file is
7290           lib/silccrypt/silchmac.c.
7291
7292         * Print the selected security properties to the log files in
7293           the server.  Affected file silcd/protocol.c.
7294
7295         * Add SKE's reference counter even if calling the completion
7296           callback manually.  Otherwise it goes negative, although it
7297           does not cause any problems.  The affected file is
7298           lib/silcske/silcske.c.
7299
7300         * Remove the client entry with short timeout after giving the
7301           KILL command.  Affected file lib/silcclient/command.c.
7302
7303         * Fixed to send error reply in WHOIS and IDENTIFY commands in
7304           case all found clients are already disconnected (WHOWAS would
7305           found them) in the server.  Affected file silcd/command.c.
7306
7307         * Update the last_receive (time of last data received) to be
7308           updated only when received private or channel message so that
7309           the idle time showed in WHOIS makes more sense.
7310
7311         * Added boolean field `valid' in to the SilcClientEntry in the
7312           client library to indicate whether the entry is valid or not.
7313           This fixes the nickname change bug on channel when changing
7314           the nickname to be same than the old (like nick to Nick) the
7315           nickname formatter doesn't set the new nick anymore to Nick@host.
7316           Affected file lib/silcclient/idlist.[ch].
7317
7318         * Now actually fixed the nickname changing on disconnection.
7319           Added new function silc_change_nick to the Irssi SILC Client.
7320           Affected file irssi/src/silc/core/client_ops.c,
7321           irssi/src/silc/core/silc-nicklist.[ch].
7322
7323 Sat Sep 15 13:29:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7324
7325         * Check that the public key exists in the GETKEY command before
7326           trying to encode it.  Affected file silcd/command.c.
7327
7328         * Print some notifications on received public keys with GETKEY
7329           command in the Irssi SILC Client.  Affected files are
7330           irssi/src/fe-common/silc/module-formats.[ch],
7331           irssi/src/silc/core/client_ops.c.
7332
7333         * Use IDENTIFY command to resolve the server information in the
7334           GETKEY command instead of INFO command.  Affected file
7335           lib/silcclient/command.c.
7336
7337         * All command reply functions in the client library now calls
7338           the pending command reply callbacks even if an error has
7339           occurred.  The server has done this a long time and now it was
7340           time to move the client library to this as well.  Now all
7341           errors can be delivered back to the pending command reply
7342           callbacks if necessary.  Affected files are
7343           lib/silcclient/command[_reply].[ch].
7344
7345         * Change the nickname on disconnection back to the username
7346           because in reconnect the server will enforce it to it anyway.
7347           Affected file irssi/src/silc/core/silc-servers.c.
7348
7349         * Fixed a config file parsing bug in the Irssi SILC client.
7350           Affected file irssi/src/silc/core/clientconfig.c.
7351
7352 Thu Sep 13 23:11:18 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7353
7354         * When printing the channel mode on JOIN, verify that the
7355           channel key and channel's HMAC are valid.  Affected file
7356           irssi/src/silc/core/client_ops.c.
7357
7358 Thu Sep 13 20:24:52 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7359
7360         * Added defines SILC_DEFAULT_CIPHER, SILC_DEFAULT_HMAC,
7361           SILC_DEFAULT_HASH and SILC_DEFAULT_PKCS in the file
7362           lib/silccrypt/[silccipher.h|silchmac.h|silchash.h|silcpkcs.h].
7363
7364         * Removed channel key rekey task deleting from the function
7365           silc_server_save_channel_key.  Affected file silcd/server.c.
7366           Added explicit timeout task context instead that is used to
7367           delete the task if we are registering a new task before the
7368           new task has elapsed.
7369
7370         * When channel key rekey occurs the client library now saves
7371           the old channel key for a short period of time (10 seconds) and
7372           is able to use it in case some is still sending channel
7373           messages encrypted with the old key after the rekey.  Affected
7374           file lib/silcclient/[idlist.h|client_channel.c].
7375
7376 Sun Sep  9 15:49:16 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7377
7378         * Added check to the silc_server_new_id_real to not accept
7379           new ID if it is the sender's own ID.  Affected file is
7380           silcd/packet_receive.c.
7381
7382         * Assure that we do not announce ourself or the one we've
7383           sending our announcements when we're router and are announcing
7384           servers to our primary router.  Affected file silcd/server.c.
7385
7386         * Fixed silc_server_command_identify_check_client to assemble
7387           correct WHOIS packet.  It send corrupted WHOIS packet and
7388           caused problem with router to router connections.  Affected
7389           file silcd/command.c.
7390
7391           Fixed also silc_server_command_whois_check the same way
7392           as for the IDENTIFY command.
7393
7394         * Added new SilcIDListStatus to the server in the SilcIDListData
7395           structure.   The status now includes the current status of
7396           the entry (like registered, resolved etc.).  Affected file
7397           silcd/idlist.[ch].  Defined a bunch of different status types
7398           as well.  This replaced the old boolean registered field as well.
7399
7400           Added resolve_cmd_ident field to the SilcClientEntry structure
7401           too so that if the entry is for example being resolved so
7402           another command may attach to the same pending command reply
7403           without requiring to resolve the same entry again.  This concept
7404           should optimize the WHOIS and the IDENTIFY resolving under
7405           heavy load by taking away unnecessary resolving for entries
7406           that are being resolved already.
7407
7408           Added support for adding multiple pending commands for one
7409           command idenfier.  Affected file silcd/command[_reply].[ch].
7410
7411         * Fixed WHOIS and IDENTIFY save to remove the cache entry
7412           before deleting the data.  Otherwise the hash table will have
7413           freed data in comparison functions.  Affected file is
7414           silcd/command_reply.c.
7415
7416         * Fixed silc_idlist_replace_client_id to add the new entry to
7417           the cache with NULL nickname.  Otherwise there will be invalid
7418           memory as the nickname after the nickname is freed.  Affected
7419           file silcd/packet_receive.c.
7420
7421         * Fixed the silc_idlist_get_clients_by_hash.  The entries was
7422           saved into wrong slots because the previous number of entries
7423           was not taken into account.  Affected file silcd/idlist.c.
7424           Fixed same thing in silc_idlist_get_clients_by_nickname too.
7425
7426         * If we are router and we receive JOIN notify to a channel that
7427           does not have any users then notified client is marked as the
7428           channel founder, as it is it.  The affected file is
7429           silcd/packet_receive.c
7430
7431         * Added to the extended hash table API's table_del_*ext functions
7432           the destructor as argument too, so that the caller can decide
7433           which destructor to use or whether to use destructor at all.
7434           Affected file lib/silcutil/silchashtable.[ch].
7435
7436         * Fixed ID Cache purging.  It actually deleted the entries from
7437           the hash table after the data was freed.  The hash table ended
7438           up comparing freed memory.  The affected file is
7439           lib/silccore/silcidcache.c.
7440
7441 Sat Sep  8 10:22:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7442
7443         * Fixed Irssi SILC client's KILL command's HELP syntax.
7444
7445         * The USERS command now resolves the detailed user information
7446           if the userinfo field is missing.  Affected file is
7447           lib/silcclient/command_reply.c.
7448
7449         * Do not print error in silc_file_read if the read file does
7450           not exist.  Just silently return NULL.  Affected file is
7451           lib/silcutil/silcutil.c.
7452
7453         * Fixed the silc_log_output to not wine about NULL filename
7454           and to not create some bogus " " filename.  Affected file is
7455           lib/silcutil/silclog.c.
7456
7457 Fri Sep  7 22:16:38 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7458
7459         * Fixed various printing bugs on the user interface in the
7460           Irssi SILC Client.  Minor changes that were forgotten from
7461           the release.
7462
7463 Fri Sep  7 17:28:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7464
7465         * Fixed the configure.in.pre and the compilation and distribution
7466           environment to support the new autoconf 2.52.  That version is
7467           now required to compile the CVS trunk.
7468
7469 Thu Sep  6 12:47:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7470
7471         * Renamed function silc_parse_nickname to silc_parse_userfqdn
7472           to generally parse user@fqdn format strings.  Affected file
7473           lib/silcutil/silcutil.c.
7474
7475         * Added nickname_format and nickname_force_format fields to the
7476           SilcClientParams structure.  The first one defines the format
7477           for the nicknames that the library will enforce if the receives
7478           multiple same nicknames.  The second one is boolean value and
7479           can be used to force the library to always enforce the format
7480           to the nicknames regardles whether there are multiple nicknames
7481           or not.  This configurable formatting was employed to flexibly
7482           support accessing multiple nicknames from the user interface.
7483           The userinterface can now set the nicknames to what ever format
7484           they prefer.  Affected file lib/silcclient/silcapi.h.
7485
7486           Added function silc_client_nickname_format to the file
7487           lib/silcclient/idlist.c.  It performs the nickname formatting.
7488
7489           Added new field `hostname´ to the SilcClientEntry context.
7490           It holds the hostname of the client.  Affected file is
7491           lib/silcclient/idlist.h.
7492
7493         * Irssi SILC Client sets the nicknames in nick@hostn format.
7494           Fe. priikone@otaku, priikone@otaku2 etc.  Affected file
7495           irssi/src/silc/core/silc-core.c.
7496
7497           The WHOIS printing now also shows both the real nickname and
7498           the formatted nickname so that user knows how to access the
7499           user if there are multiple same nicknames cached.  Affected
7500           file irssi/src/silc/core/client_ops.c.  Changed the WHOIS
7501           printing formatting too to take the hostname now as a separate
7502           argument.  The Affected file is
7503           irssi/src/fe-common/silc/modules-formats.[ch].
7504
7505         * Changed the silc_client_get_clients_local to accept the formatted
7506           nickname as argument.  It accepts the real nickname too but the
7507           formatted nickname can be used to find the true entry from
7508           multiple entries.  Affected file lib/silcclient/silcapi.h and
7509           lib/silcclient/idlist.c.
7510
7511         * Added nickname_format_parse field to the SilcClientParams.
7512           It is a callback function provided by the application to parse
7513           the nickname out of the formatted nickname string. The library
7514           calls it to get the nickname from the formatted string. Since
7515           the application generally knows better the format of the nickname
7516           string it parses it instead of the library, even though library
7517           encodes the formatted string.  If the callback function is not
7518           provided then the library will use the string as is.  The
7519           affected file is lib/silcclient/silcapi.h.
7520
7521         * All the nickname strings passed to the client library in
7522           commands are now expected to be formatted nickname strings.
7523           If the command does not support the formatted nickname string
7524           it will assume that the sent string is the actual nickname.
7525           Affected file lib/silcclient/command.c.
7526
7527 Tue Sep  4 22:31:28 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7528
7529         * Added public key authentication support to OPER and SILCOPER
7530           commands in the client library.  Affected file is
7531           lib/silcclient/command.c.
7532
7533 Tue Sep  4 12:39:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7534
7535         * Changed the get_auth_methdod client operation to be asynchronous.
7536           It can be async if the application resolves the authentication
7537           method from the server during the negotiation.  Added new
7538           SilcGetAuthMeth completion callback that the application will
7539           call after resolving the authentication method.
7540
7541           Added function silc_client_request_authentication_method that
7542           the application can use to resolve the authentication method
7543           from the server.  Added also SilcConnectionAuthRequest callback
7544           that the library will call after the server has replied.  The
7545           application can call this function if it does not know the
7546           current authentication method.
7547
7548           Affected files are lib/silcclient/client.c and
7549           lib/silcclient/silcapi.h.
7550
7551         * The Irssi SILC client now automatically resolves the authentication
7552           method incase any configuration information is not present (and
7553           currently there never is).  The affected file is
7554           irssi/src/silc/core/client_ops.c.
7555
7556         * Fixed public key authentication from the client library.
7557           Affected file lib/silcclient/protocol.c.  Changed also the
7558           protocol specification about the public key authentication in
7559           the connection authentication protocol.  The actual data to be
7560           signed is now computed with a hash function before signing.
7561
7562         * Fixed the public key authentication from the server as well.
7563           Affected file silcd/protocol.c.
7564
7565         * Removed the mlock()'s from the memory allocation routines.
7566           Affected file lib/silcutil/silcmemory.c.  The ./configure does
7567           not check anymore for the mlock().  Affected file is
7568           configure.in.pre.
7569
7570         * Fixed USERS command in server to allow the execution of the
7571           command for private and secret channels if the client sending
7572           the command is on the channel.  Affected file silcd/command.c.
7573
7574         * Fixed silc_client_get_clients_local to return the clients
7575           count correctly.  It could return wrong value.  Affected file
7576           lib/silcclient/idlist.c.
7577
7578 Mon Sep  3 20:09:59 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7579
7580         * Fixed the lib/silcmath/mpi/mpi.h to always use 32-bit data
7581           types.  The assembler optimizations seemed not to like 64-bit
7582           data types.  The assmebler optimizations thus are now enabled
7583           also for BSD systems as opposed to only enable them for Linux.
7584
7585         * Do not check for threads at all on BSD systems.  Affected
7586           file configure.in.pre.
7587
7588         * Removed -n and -h options from the Irssi SILC Client since
7589           they are not used in silc.
7590
7591         * Fixed the prime generation to assure that the first digit
7592           of the generated random number is not zero since our conversion
7593           routines does not like number strings that starts with zero
7594           digit.  If zero digit is seen the random number is regenerated.
7595           This caused some corrupted RSA keys when the zero first digit
7596           was met.  Affected file lib/silcmath/silcprimegen.c.
7597
7598 Sun Sep  2 17:17:24 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7599
7600         * Fixed WIN32 configuration in the ./configure script.
7601           Fixed to include xti.h on environments that has it.
7602           Patches by Carsten Ilchmann and andrew.
7603
7604 Sat Sep  1 00:29:33 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7605
7606         * Changed the silc_id_create_client_id to be collision
7607           resistant.  It is now assured that there cannot be created
7608           two same client ID's.  I suspect that some weird bugs in
7609           the server were actually caused by duplicate Client IDs.
7610           Affected file silcd/serverid.[ch].  A router receiving
7611           new ID now also assures and informs the sending server
7612           if the ID caused collision.
7613
7614         * Changed the silc_id_create_channel_id to also assure that
7615           there are no collisions.
7616
7617 Wed Aug 29 17:55:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7618
7619         * Statement about ignoring the Mutual Authentication flag when
7620           performing rekey with PFS was a bit misleading.  It is ignored
7621           if it was set in the initial negotiation, it cannot be even
7622           set in the rekey.  Fixed in the ke-auth draft.  Started the
7623           new versions of the protocol drafts in the doc/.
7624
7625 Sun Aug 26 14:59:15 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7626
7627         * Fixed a bug in silc_client_command_identify_save when saving
7628           new channel information.  The channel name was no duplicated
7629           and caused crash on exit.  Affected file is
7630           lib/silcclient/command_reply.c.
7631
7632 Fri Aug 17 23:07:45 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7633
7634         * Fixed the getkey command handling in the server.  Send just
7635           empty OK reply to the sender if the key could not be fetched
7636           (but everything else was ok, like the key just was not available).
7637           Changed the public key parameter to optional in the protocol
7638           specs so that empty OK reply can be sent.  Affected file
7639           silcd/command.c.
7640
7641           Added a message to Irssi SILC client to tell to user if the
7642           server did not return a public key.
7643
7644 Tue Aug 14 07:29:27 CEST 2001  Pekka Riikonen <priikone@silcnet.org>
7645
7646         * Fixed a channel key regeneration bug.  It registered new
7647           timeout tasks exponentially until all system resources were
7648           used.  Affected file silcd/server.c.
7649
7650 Sun Aug 12 20:48:14 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7651
7652         * Added the SILC Document generator to the scripts/silcdoc.
7653           It can be used to generate the Toolkit Reference Manual out
7654           of the source tree.  Internally it will also use the RoboDoc
7655           generator now imported in util/robodoc.
7656
7657 Sun Aug 12 12:28:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7658
7659         * Added couple of return's in rekey protocol if error orccurred
7660           during the protocol.  The execution must be terminated.
7661           Affected file silcd/protocol.c.  Also, terminate the protocol
7662           always with timeout.
7663
7664 Sat Aug 11 12:36:02 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7665
7666         * The client's Client ID was created initally from the wrong
7667           nickname (it could have been in format nick@host) in the
7668           silc_server_new_client.  Affected file silcd/packet_receive.c
7669
7670 Sat Aug 11 00:29:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7671
7672         * Added some SILC_LOG_ERROR's to various error conditions
7673           if client could not be added to ID cache.  Affected files
7674           silcd/packet_receive.c and silcd/server.c.
7675
7676         * When client's sock->user_data is freed, NULL also the
7677           client->router and client->connection pointers.  Added check
7678           for these pointers being NULL to various places around the
7679           code.  Affected file silcd/server.c.
7680
7681         * Added client->data.registered == TRUE checks to various
7682           places around the code to assure that unregistered client's
7683           are not handled when it is not allowed.  Affected file
7684           silcd/server.c.
7685
7686         * Added `bool registered' fields to all
7687           silc_idlist_[server|client]_get_* routines to indicate whether
7688           the fetched client needs to be registered or not.  Affected
7689           file silcd/idlist.[ch].
7690
7691         * Add your own entry as registered to the ID cache in the
7692           server.  Affected file server.c.
7693
7694         * Fixed a bug in silc_server_new_server.  The SilcServer was
7695           set as the new server's context instead of SilcServerEntry.
7696           This naturally caused some weird bugs.
7697
7698         * Added "updated" field the SilcChannelEntry which indicates
7699           the time since the channel entry was last accessed.  This
7700           can be used to determine whether it is necessary to
7701           announce the channel after backup resuming protocol.
7702           Affected files silcd/idlist.[ch].
7703
7704 Thu Aug  9 18:28:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7705
7706         * Do not delete the channel rekey task when adding it
7707           for in silc_server_create_channel_key.
7708
7709         * Changed the silc_server_create_channel_key to return
7710           TRUE or FALSE to indicate the success of the channel key
7711           creation.
7712
7713 Thu Jul 26 11:32:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7714
7715         * Fixed MSVC++ project files and added missing files to
7716           Makefiles under win32/.
7717
7718 Wed Jul 25 18:43:54 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7719
7720         * Do not add TCP_NODELAY flag if the operating system
7721           does not have it defined.  Affected files are
7722           lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
7723
7724         * Fixed buffer overflow from Irssi SILC Client.  Affected
7725           file irssi/src/fe-common/core/themes.c.
7726
7727         * Fixed double free in client library in the file
7728           lib/silcclient/client.c when disconnecting from server.
7729
7730         * Applied double free patch from cras to Irssi SILC client.
7731           Affected files irssi/src/core/[modules/expandos].c
7732
7733         * Fixed the disconnection handling to Irssi SILC Client.
7734           The application must call silc_client_close_connection
7735           in ops->connect client operation in case of failure of
7736           the connection.  Affected file is
7737           irssi/src/silc/core/client_ops.c.
7738
7739         * Do not set sock->protocol to NULL in the function
7740           silc_client_close_connection after executing the protocol's
7741           final callback since the sock might not be valid anymore.
7742           Affected file lib/silcclient/client.c.
7743
7744 Wed Jul 25 16:04:35 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7745
7746         * Do not enable SILC_THREADS if the linking with libpthread
7747           did not happen.  Affected file configure.in.pre.
7748
7749         * Added notion to protocol specification that server must
7750           verify the sent authentication payload with CMODE when
7751           setting the channel founder key.  Implemented it to the
7752           server.  Affected file silcd/command.c.
7753
7754 Mon Jul 23 18:31:43 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7755
7756         * Added _EXTRA_DIST SILC distribution variable to the
7757           distributions file.  It is used to conditionally add extra
7758           files or directories to the specific distribution.  Affected
7759           files ./prepare, Makefile.am.pre and distributions.
7760
7761           Removed the `_' from the start of the distribution names.
7762           It is redundant.
7763
7764         * Added README.WIN32 for instructions to compile the Toolkit
7765           under WIN32.
7766
7767 Mon Jul 23 10:12:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7768
7769         * Fixed a double free in disconnection in the server.  Affected
7770           file is silcd/server.c.
7771
7772         * Fixed the lib/silcske/groups.c to work now also with GMP
7773           MP library.  The string conversion did not work when using
7774           specific base and the base is indicated in the string as well.
7775
7776         * Created win32/ directory which now includes MSVC++ specific
7777           stuff so that toolkit (DLLs) may be compiled with MSVC++.
7778           It will appear only in the toolkit distribution
7779
7780 Sun Jul 22 19:40:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7781
7782         * Changed the key material distribution function in case when
7783           the hash output is too short.  The data is now concatenated
7784           a bit differently than it used to.  Made the change to the
7785           SKE protocol specification.
7786
7787         * Added better GMP detection to configure.in.pre.  A patch
7788           by salo.
7789
7790 Fri Jul 20 13:16:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7791
7792         * Fixed a minor bug in SKE that might cause some problem on
7793           some platforms.  Affected file lib/silcske/silcske.c.
7794
7795         * Added the cookie checking for initiator in the SKE.  It checks
7796           that the responder returns the sent cookie unmodified.  The
7797           affected file is lib/silcske/silcske.c.  Added new SKE
7798           error type INVALID_COOKIE that can be sent during the
7799           negotiation.  Fixed some memory leaks as well.
7800
7801         * Added the "invalid cookie" error message to Irssi SILC client's
7802           message formats.
7803
7804 Thu Jul 19 21:44:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7805
7806         * Added `task_max' field to the SilcClientParams to indicate
7807           the maximum tasks the scheduler can handle.  If set to zero,
7808           default values are used.  Affected file lib/silcclient/silcapi.h.
7809
7810         * Fixed memory leaks in silc_client_close_connection.  Affected
7811           file lib/silcclient/client.c.
7812
7813         * Added silc_client_del_client_entry to client library to free
7814           all memory of given client entry.  Affected file is
7815           lib/silcclient/idlist.[ch].
7816
7817         * Added new functions silc_client_del_channel and
7818           silc_client_del_server to delete channel and server entries.
7819           Affected file lib/silcclient/[silcapi.h/idlist.c].
7820
7821         * Removed silc_client_del_client_by_id from silcapi.h.
7822
7823         * Fixed the INFO command to return the server's own info
7824           correctly when querying by Server ID.  Affected file is
7825           silcd/command.c.
7826
7827 Thu Jul 19 14:47:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7828
7829         * Removed the non-blocking settings in WIN32 code in the
7830           silc_sock_[read/write] and added SleepEx instead.  Affected
7831           file lib/silcutil/win32/silcwin32sockconn.c.  The availability
7832           of input data is now checked with FIONREAD and ioctlsocket.
7833
7834 Wed Jul 18 18:34:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7835
7836         * Call silc_schedule_task_del_by_context in the
7837           silc_protocol_cancel instead of silc_schedule_task_del_by_callback.
7838           Affected file lib/silccore/silcprotocol.c.
7839
7840         * Call silc_protocol_cancel for active protocols in the
7841           silc_server_close_connection if the funtion
7842           silc_server_free_sock_user_data has not been called.
7843           Affected file silcd/server.c.
7844
7845         * Generic tasks cannot be deleted using the del_by_fd
7846           task deleting function since generic tasks does not match
7847           any specific fd.  Affected file lib/silcutil/silcschedule.[ch].
7848
7849         * Added a notion to SILCOPER help file that the SILCOPER works
7850           only on router server, not on normal server.
7851
7852 Wed Jul 18 09:40:04 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7853
7854         * Added for WIN32 support for the new scheduler as well.
7855           Affected file lib/silcutil/win32/silcwin32schedule.c.
7856
7857         * Fixed the SHA1 implementation to work on various platforms.
7858
7859 Tue Jul 17 23:04:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7860
7861         * Rewrote the SILC Scheduler entirely.  Removed the old SILC Task
7862           API.  It is part of the scheduler now.  Everything else is
7863           as previously but some functions has changed their names.
7864           Checkout the lib/silcutil/silcschedule.h for the interface.
7865           Updated all applications to use the new interface.  Affected
7866           files are lib/silcutil/silcschedule.[ch].
7867
7868 Tue Jul 17 16:53:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7869
7870         * Found a bug in the SKE implementation.  The HASH value,
7871           specified by the protocol, was not computed correctly.  The
7872           public key of the responder was not added to the computation
7873           even though it is mandatory.  Affected file lib/silcske/silcske.c.
7874           This unfortunately causes incompatibilities with older
7875           clients and servers.
7876
7877         * Added WIN32 specific network init and uninit functions:
7878           silc_net_win32_init and silc_net_win32_uninit to init and uninit
7879           the Winsock2.  Affected file lib/silcutil/silcnet.h and
7880           lib/silcutil/win32/silcwin32net.c.
7881
7882         * Set the socket always to nonblocking mode on WIN32 after
7883           reading data or writing data.  Affected file is
7884           lib/silcutil/win32/silcwin32sockconn.c.
7885
7886 Mon Jul 16 22:55:26 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7887
7888         * Fixed various compilation problems under WIN32.  Affected
7889           files lib/silcutil/win32/silcwin32thread.c and
7890           lib/silcutil/win32/silcwin32schedule.c.
7891
7892         * Removed all _internal.h #includes from public header
7893           files.  Internal headers must never be included from
7894           public headers.
7895
7896           Removed also the lib/silcske/payload_internal.h file.
7897
7898         * All include files that may be needed (public and some others
7899           included by the public headers) by application developers are
7900           now copied to the ./includes directory.  It does not copy any
7901           internal headers.  Affected file Makefile.defines.pre and all
7902           Makefile.am's under lib/ and subdirs.
7903
7904 Thu Jul 12 17:49:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7905
7906         * Do not change the ~/.silc directory's permissions automatically.
7907           Affected file irssi/src/silc/core/clientutil.c.
7908
7909 Thu Jul 12 10:18:40 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7910
7911         * Do not cancel the protocol in silc_server_close_connection
7912           it might cause recursion.  Now cancelled in the function
7913           silc_server_free_sock_user_data.  Affected file silcd/server.c.
7914
7915         * Fixed the silc_server_remove_clients_by_server to regenerate
7916           the channel keys correctly finally.  Added also new function
7917           silc_server_remove_clients_channels to actually do it.
7918           Affected file silcd/server.c.
7919
7920         * Fixed the silc_server_new_channel to not crash by giving
7921           wrong router to the new channel.  Affected file is
7922           silcd/packet_receive.c.
7923
7924 Wed Jul 11 18:31:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7925
7926         * Added SilcClientParams structure to the lib/silcclient/silcapi.h
7927           which is given as argument to the silc_client_alloc now.
7928           It can be used to configure the client and set various parameters
7929           that affect the function of the client.
7930
7931         * The USERS command in server did not check whether the channel
7932           is private or secret.  Affected file silcd/command.c.
7933
7934         * Added new argument to the USERS command in protocol specification.
7935           The USERS command now can take the channel name as argument
7936           as well.  Added support for this in client and server and
7937           updated the protocol specs.
7938
7939         * Completed the GETKEY command in client. It can be now used
7940           to fetch also servers public key not only some clients.
7941           Affected files lib/silcclient/command[_reply].c.
7942
7943         * Added silc_client_get_server to return server entry by the
7944           server name.  Affected files lib/silcclient/silcapi.h and
7945           idlist.c.
7946
7947         * Redefined the IDENTIFY command in protocol specification to be
7948           more generic.  It now can be used to query information about
7949           any entity in the SILC Network, including clients, servers and
7950           channels.  The query may be based either the entity's name
7951           or the ID.  Added support for this in both client and server.
7952
7953           Affected files silcd/command.c and lib/silcclient/command.c
7954           and command_reply.c.
7955
7956         * Optimized the WHOIS and WHOWAS commands in the server. Removed
7957           the _from_client and _from_server functions.  Affected file
7958           silcd/command.c.
7959
7960         * Added silc_client_get_channel_by_id_resolve to the file
7961           lib/silcclient/silcapi.h to resolve channel information by
7962           its ID.  Added also silc_client_get_channel_by_id that
7963           does not resolve it from the server.
7964
7965 Tue Jul 10 18:05:38 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7966
7967         * Added SilcServerEntry context into the client library
7968           to represent one server.  The INFO command now allocates
7969           these to save the resolved server info.  For now on the
7970           client library will also keep information about servers,
7971           connected and resolved with INFO.
7972
7973           The INFO command now allocates the SilcServerEntry context
7974           and saves the server info there.  The COMMAND_REPLY in
7975           the INFO now returns the parameters to application in
7976           same order as defined in the protocol specification.
7977
7978           The entries are cached in the client->server_cache.
7979
7980         * The INFO command is now issued after received the Client ID
7981           from the server.  Affected file lib/silcclient/client.c.
7982
7983         * The CMODE_CHANGE notify may now return also an SilcServerEntry
7984           to the application as the mode changer might be server.
7985           It is guaranteed that NULL is not returned anymore to the
7986           application.  Affected file lib/silcclient/client_notify.c.
7987
7988           The ID Type is now also passed to the application so that
7989           it can check whether the returned entry is SilcClientEntry
7990           or SilcServerEntry.
7991
7992           Added new function silc_client_get_server_by_id to return
7993           the server entry by ID.  Affected files are the
7994           lib/silcclient/silcapi.h and lib/silcclient/idlist.c.
7995
7996         * Do not create the channel in the Irssi SILC Client when issuing
7997           the JOIN command but when received the sucessful JOIN command
7998           reply.  Otherwise the channel might get created even though we
7999           could not join it.  The Affected file is
8000           irssi/src/silc/core/[silc-channels.c/client_ops.c].
8001
8002         * Fixed a channel joining bug in router.  The router must also
8003           check the channel modes, invite and ban lists etc. when serving
8004           the JOIN command sent by normal server.  Affected file is
8005           silcd/command.c.  The router now resolves the client's
8006           information from the server who sent the JOIN command if it
8007           does not know it, and processes the JOIN command only after
8008           that.
8009
8010         * Changed the SilcCommandCb to take new argument; void *context2.
8011           Affected file lib/silccore/silccommand.h
8012
8013           The second argument in the command callbacks in the server now
8014           includes the SilcServerCommandReplyContext if the command was
8015           called as pending command callback from the command reply.
8016           Otherwise it is NULL. When called as pending the status of the
8017           command reply will be checked and if it was erronous the
8018           error will be sent to the original sender of the command.
8019           This way the client always receives the error messages even
8020           though the server was actually the one who received the error
8021           when it resent the command to router, for example.  Affected
8022           files silcd/command[_reply].[ch].
8023
8024         * Fixed sending WHOWAS command's error message to client if
8025           the requested client could not be found.  It was missing.
8026           silcd/command.c.
8027
8028         * Changed the CMODE and CUMODE commands reply arguments in the
8029           protocol specification.  The Channel ID is now sent in both
8030           of the commands to identify the channel.  Implemented this
8031           new feature to the client and server.  Affected files
8032           lib/silcclient/command_reply.c and silcd/command.c.
8033
8034         * Made better checks for invite and ban lists in the JOIN
8035           command in server.  Affected file silcd/command.c.
8036
8037 Mon Jul  9 18:28:34 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8038
8039         * The server now performs the incoming host IP/DNS lookup
8040           using the silc_socket_host_lookup and thus does not block
8041           the server anymore.  Affected file silcd/server.c.
8042
8043         * Completed the multi-thread support for SILC Scheduler in
8044           the lib/silcutil/silcschedule.c.
8045
8046         * Fixed the configure.in.pre to detect the pthread correctly
8047           on various systems.
8048
8049         * Fixed a deadlock in silc_task_queue_wakeup in the file
8050           lib/silcutil/silctask.c.
8051
8052 Mon Jul  9 13:40:03 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8053
8054         * Added new function silc_schedule_wakeup that is used in
8055           multi-threaded environment to wakeup the main thread's
8056           schduler. It needs to be used when a thread adds a new task
8057           or removes a task from task queues. After waking up, the
8058           scheduler will detect the task queue changes. If threads
8059           support is not compiled in this function has no effect.
8060           Implemented the wakeup mechanism to both Unix and WIN32
8061           systems.  Affected files are lib/silcutil/silcschedule.[ch],
8062           lib/silcutil/unix/silcunixschedule.c and the
8063           lib/silcutil/win32/silcwin32schedule.c.
8064
8065         * Added new function silc_task_queue_wakeup to wakeup the
8066           scheduler by the specified task queue.  Affected file
8067           lib/silcutil/silctask.[ch].
8068
8069         * The silc_socket_host_lookup_start now wakes up the scheduler
8070           after adding the timeout task.  Affected file is
8071           lib/silcutil/silcsockconn.c.
8072
8073         * The silc_socket_host_lookup is synchronous now if the threads
8074           support is not compiled in.  However, the callback is still
8075           called asyncronously through the scheduler, anyway.  Affected
8076           file lib/silcutil/silcsockconn.c.
8077
8078 Mon Jul  9 00:24:45 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8079
8080         * Added new function silc_socket_host_lookup to perform
8081           asynchronous IP and FQDN lookups for the socket connection.
8082           Affected files lib/silcutil/silcsockconn.[ch].
8083
8084 Sun Jul  8 18:44:53 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8085
8086         * Added SILC_MUTEX_DEFINE to define the mutex on environments
8087           that may or may not compile the mutex support in.
8088
8089           Changed the silc_mutex_alloc interface. It allocates the
8090           mutex now to the sent pointer and returns TRUE or FALSE.
8091
8092           Affected file lib/silcutil/silcmutex.h.
8093
8094         * Wrote the SILC Task Queue interface to support multi-threads.
8095           Affected file lib/silcutil/silctask.[ch].
8096
8097         * Wrote the SILC Scheduler to support multi-threads.  Affected
8098           file lib/silcutil/silcschedule.c.
8099
8100 Sun Jul  8 11:16:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8101
8102         * Implemented the SILC Mutex API and SILC Thread API for WIN32
8103           in lib/silcutil/win32/.
8104
8105 Sun Jul  8 00:18:15 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8106
8107         * Defined SILC Mutex API and SILC Thread API and implemented
8108           them for Unix.  Affected files are
8109           lib/silcutil/silcmutex.h, lib/silcutil/silcthread.h,
8110           lib/silcutil/unix/silcunixmutex.c and
8111           lib/silcutil/unix/silcunixthread.c.
8112
8113 Sat Jul  7 14:40:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8114
8115         * Fixed the silc_server_remove_clients_by_server's channel
8116           key re-generation.  The hash table handling was incorrect
8117           and would not work with many channels.  Affected file is
8118           silcd/server.c.
8119
8120         * Fixed some memory leaks around the server code.
8121
8122         * Rewrote the silc_server_get_users_on_channel to support IPv6
8123           based Client ID's.  Affected file silcd/server.c.
8124
8125         * Defined the SILC_MESSAGE_FLAG_SIGNED to the protocol
8126           specification.  However, a separate document must be written
8127           to define the detailed signing procedure and the payload
8128           associated with the flag.  Defined the flag to the
8129           lib/silccore/silcchannel.h as well.
8130
8131 Fri Jul  6 18:26:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8132
8133         * Changed the dynamic tables to static size tables in the
8134           lib/silccrypt/silchmac.c.
8135
8136         * Removed GCC dependencies from the code.  A patch by cras.
8137
8138 Fri Jul  6 09:39:35 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8139
8140         * Do not show the error "Error receiving packet bla bla"
8141           in server if it really was not an error (-2 means that reading
8142           is pending).  Affected file silcd/server.c.
8143
8144 Thu Jul  5 21:22:32 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8145
8146         * Fixed a possible crash in silc_server_remove_clients_by_server
8147           in silcd/server.c.  Fixed there also some memory leaks.
8148
8149         * Fixed the silc_idlist_replace_client_id.  It could replace
8150           wrong key in the hash table.  Affected file silcd/idlist.c.
8151
8152         * Do not check whether there are global users on the channel
8153           if the channel->global_users is FALSE.  Affected functions
8154           silc_server_remove_from_one_channel and
8155           silc_server_remove_from_channels in silcd/server.c.  Also,
8156           do not check if the removed client is local as we can be
8157           sure that global client was not removed from the channel
8158           and checking for global users is not needed.
8159
8160         * The silc_server_remove_clients_by_server now re-generates
8161           the channel keys correctly for those channels that had
8162           clients removed from them.  Affected file silcd/server.c.
8163
8164 Tue Jul  3 11:39:20 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8165
8166         * Found the reason of random crashes in the server.  We weren't
8167           ignoring the SIGPIPE signal (which can be sent in write())
8168           and it crashed the server.  Affected file silcd/silcd.c.
8169
8170 Fri Jun 29 20:05:25 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8171
8172         * Assure that sock->user_data is not NULL in the function
8173           silc_server_packet_send in silcd/packet_send.c.
8174
8175         * Disconnect the remote connection if it could not be added
8176           to any ID lists in the server.  The affected file is
8177           silcd/server.c.
8178
8179         * Check in silc_server_packet_send[_real/dest] that the
8180           socket is not disconnecting and ignore the data if it is.
8181           Affected file silcd/packet_send.c.
8182
8183         * Define inline to __inline on native WIN32 compilation.
8184           Affected file includes/silcwin32.h.
8185
8186         * Added some explicit type casts for inline code since MSVC
8187           require them.  Affected files lib/silcutil/silcbuffer.h,
8188           lib/trq/silcdlist.h and lib/trq/silclist.h.
8189
8190         * Print warning in log files from now on if the packet
8191           decryption fails.  Affected file silcd/server.c.
8192
8193 Thu Jun 28 21:30:39 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8194
8195         * Changed the `say' client operation's interface to accept
8196           new `type' argument to indicate the type of the message sent
8197           by the library.  The application may filter the library's
8198           messages according the type.  The affected file is the
8199           lib/silcclient/silcapi.h.
8200
8201         * Added two new functions to lib/silcclient/silcapi.h:
8202           silc_client_del_client and silc_client_del_client_by_id.
8203           Affected file lib/silcclient/idlist.c.
8204
8205         * Moved the clientincludes.h from includes/ to silc/ and
8206           serverincludes.h from includes/ to silcd/.
8207
8208         * The modes for the CMODE and CUMODE are now passed as
8209           uint32 for application with COMMAND_REPLY.  The affected
8210           file is lib/silcclient/command_reply.c.
8211
8212 Wed Jun 27 22:24:47 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8213
8214         * /WHOIS without arguments shows client's own information.
8215           Affected file lib/silcclient/command.c.
8216
8217         * Changed PING to not accept any arguments.  The specs
8218           says that client can ping only the connected server so
8219           requiring an argument is not needed.  Affected file is
8220           lib/silcclient/command.c.
8221
8222 Wed Jun 27 00:10:33 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8223
8224         * Fixed a fatal bug in private message sending and reception
8225           encryption and decryption when using private message keys.
8226           The implementation was incorrect and did not follow the
8227           specification.  It causd that some of the message were
8228           lost since it did not use the sending and receiving keys
8229           as the protocol suggests.  This has been fixed and will cause
8230           incompatibilities with older clients when sending private
8231           message encrypted with private message keys.  Affected files
8232           lib/silcclient/client_prvmsg.c, lib/silcclient/client_keyagr.c
8233           and various other in Irssi SILC Client.
8234
8235           Added `responder' boolean argument to the functions
8236           silc_client_add_private_message_key[_ske] to indicate when
8237           the key is added as responder or initiator of the key
8238           negotiation.
8239
8240 Tue Jun 26 19:23:07 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8241
8242         * Removed the silc_ske_check_version function and created
8243           a SilcSKECheckVersion callback.  Added also a function
8244           silc_ske_set_callbacks that is now used to set all SKE
8245           callbacks.  The callback functions are not given to
8246           the SKE functions anymore, but this function is used to
8247           set the callbacks.
8248
8249         * Fixed the WIN32 DLL generation in lib/Makefile.am.pre.
8250
8251         * Added `silc_version' argument to the silc_client_alloc
8252           to define the version of the application for the library.
8253           The library will use the version string to compare it
8254           against the remote host's (usually a server) version
8255           string.  Affected file lib/silcclient/silcapi.h
8256
8257         * Added the KE protocol context to Key Agreement context
8258           in client library so that we can abort the SKE if it
8259           is in process when we get timeout.  Affected file is
8260           lib/silcclient/client_keyagr.c.
8261
8262         * Do not resolve the client ID forever if it returns in the
8263           first time that such client does not exist.  This was done
8264           for example with private message.  Affected file is
8265           lib/silcclient/client_prvmsg.c.
8266
8267 Mon Jun 25 21:42:51 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8268
8269         * Do not add regex.h for WIN32.  The affected file
8270           includes/silcincludes.h.
8271
8272         * Added WIN32 DLL generation to lib/Makefile.am.pre.  It might
8273           not work yet 100%.  It generates the DLL's automatically
8274           when compiling with --with-win32 under cygwin.
8275
8276 Sun Jun 24 19:49:23 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8277
8278         * lib/contrib/regex.c is not compiled on WIN32.
8279
8280         * Added silc_net_get_socket_opt function to the
8281           lib/silcutil/silcnet.h.
8282
8283         * Added includes/silcwin32.h for WIN32 specific includes
8284           and definitions.
8285
8286         * Do not use ptime structure or any of the posix process
8287           functions on WIN32 in lib/silccrypt/silrng.c.
8288
8289         * Added silc_gettimeofday to provide generic function
8290           for struct timeval on all platforms.  Added the function
8291           to lib/silcutil/silcutil.h.
8292
8293 Sun Jun 24 12:19:52 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8294
8295         * Moved the lib/silccore/silcsockconn.[ch] to the utility
8296           library as they clearly belong there.  As a plus side we
8297           can make the actual socket connection routines platform
8298           specific.
8299
8300           Added also new generic function silc_socket_read and
8301           silc_socket_write (that used to be silc_packet_[read/write].
8302           The implementation of these are platform specific.
8303
8304         * Added WIN32 specific routines of silc_socket_[read/write]
8305           to lib/silcutil/win32/silcwin32sockconn.c.
8306
8307 Sat Jun 23 16:01:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8308
8309         * Added preliminary support for native WIN32 compilation under
8310           cygwin (using the -mno-cygwin option for GCC) to the
8311           ./configure.in.pre.  The --with-win32 now prepares the
8312           compilation for native WIN32.
8313
8314         * Rewrote the SILC Scheduler interface in the file
8315           lib/silcutil/silcschedule.h.  The scheduler is now context
8316           based and does not have anymore any global static scheduler.
8317           Moved the Unix scheduler to the lib/silcutil/unix/ directory
8318           and created lib/silcutil/win32 directory for WIN32 based
8319           scheduler.
8320
8321         * Added Unix specific network routines to the
8322           lib/silcutil/unix/silcunixnet.c and the old
8323           lib/silcutil/silcnet.c includes now only generic routines.
8324
8325           Added WIN32 specific network routines to the
8326           lib/silcutil/win32/silcwin32net.c.
8327
8328         * Added Unix specific utility functions from the
8329           lib/silcutil/silcutil.c to lib/silcutil/unix/silcunixutil.c.
8330
8331         * Added WIN32 SILC Scheduler to the file
8332           lib/silcutil/win32/silcwin32schedule.c. The code is of course
8333           untested.
8334
8335 Fri Jun 22 10:44:14 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8336
8337         * Do not handle JOIN notify in the server if the target client
8338           is not registered (idata->registered == FALSE).  The affected
8339           file is silcd/packet_receive.c.
8340
8341         * Update the nickrec->founder in event_cumode in the Irssi SILC
8342           client.  Affected file irssi/src/silc/core/silc-channels.c.
8343
8344         * Fixed the CUMODE_CHANGE notify handling in the server when
8345           server and router are announcing their clients on channels.
8346           Now the mode changes are saved and notified correctly.  The
8347           affected file is /silcd/packet_receive.c.
8348
8349         * Fixed silc_idlit_replace_[server/client/channel]_id functions.
8350           They really did not replace the cache entry in the ID Cache.
8351           Now they do that.  Affected file silcd/idlist.c.
8352
8353         * Fixed the KICK notify handling in the Irssi SILC client to
8354           update the channel records so that the kicked client does not
8355           appear to be on the channel.  The affected file is
8356           irssi/src/silc/core/silc-channels.c.
8357
8358         * Always update the conn->current_channel when executing command
8359           on a channel.  Affected file irssi/src/silc/core/silc-servers.c.
8360
8361         * Fixed the KILL notify handling in Irssi SILC client to remove
8362           the killed client on all channels.
8363
8364 Thu Jun 21 17:10:08 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8365
8366         * Fixed the silc_parse_command_line to remove extra spaces
8367           from the start and end of the arguments.  Affected file is
8368           lib/silcutil/silcutil.c.
8369
8370         * Cancel and free any active protocol in the function
8371           silc_server_close_connection.  Affected file silcd/server.c.
8372
8373         * Cancel and free any active protocol in the function
8374           silc_client_close_connction.  Affected file is
8375           lib/silcclient/client.c.
8376
8377         * Do not execute the KILL command for clients that are in
8378           history (ie. they are not in the network).  Affected file is
8379           silcd/command.c.
8380
8381         * Fixed KILL notify handling, client does not crash anymore.
8382           Affected file irssi/src/silc/core/silc-channels.c.
8383
8384         * Reduced the default packet buffer size from 2048 to 1024 in
8385           lib/silccore/silcpacket.c.
8386
8387         * Added SILC_SKE_STATUS_FREED SKE status type and a reference
8388           counter to the SKE context that is incresed when the SKE library
8389           performs async operation outside the library.  If the outside
8390           process frees the SKE context and FREED status will be set
8391           and the library will detect after the sync operation that the
8392           libary is freed.  The affected files are
8393           lib/silcske/silcske[_status].[ch].
8394
8395         * Resolve the client entry information in the function
8396           silc_client_channel_message to assure that NULL pointer is not
8397           passed as client entry to the application. */
8398
8399         * Fixed the task timeout calculation to assure that there is
8400           never negative timeouts.  The affected file is
8401           lib/silcutil/silcschedule.c.
8402
8403         * Fixed the channel user mode notification sending in server.
8404           It was sent point-to-point to the router (or to server by router)
8405           but it needs to be destined to a channel.  The routines now
8406           supports sending the channel user mode notifys to the channels
8407           when announcing clients and channels.  Affected files are
8408           silcd/server.c and silcd/packet_receive.c.
8409
8410         * Fixed the CHANNEL_CHANGE notify handling in the client libary.
8411           It did not actually replace the old channel entry in the cache.
8412           Affected file lib/silcclient/client_notify.c.
8413
8414 Tue Jun 19 22:10:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8415
8416         * Fixed a possible crash in silc_packet_send_prepare.  It now
8417           assures always that there is enough space in the buffer and
8418           at the tail area of the buffer (for MAC).
8419
8420           Fixed the inbound buffer reallocation in silc_packet_read.
8421           It was old code and did not handle the reallocation correctly.
8422           Affected
8423
8424           The affected file is lib/silccore/silcpacket.c.
8425
8426         * Fixed buffer overflow in silc_parse_nickname in the file
8427           lib/silcutil/silcutil.c.
8428
8429 Tue Jun 19 13:40:09 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8430
8431         * make install generates new server keys only if there is not
8432           keys already.
8433
8434 Mon Jun 18 18:49:07 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8435
8436         * Set SILC_MESSAGE_FLAG_NOREPLY when sending the away message.
8437           Added check that if the NOREPLY is set then we will not send
8438           the away message.  This avoids infinite loop of away messages
8439           if both clients are away.  The affected file is
8440           lib/silcclient/client_prvmsg.c.
8441
8442         * Fixed client crash if /NICK was given without arguments.
8443           Affected file lib/silcclient/command.c.
8444
8445         * Server does not send the invite list in INVITE command back
8446           to the client if the list was not altered.  Added this notion
8447           to the protocol spec as well.  Affected file silcd/command.c.
8448
8449           Fixed possible crash in INVITE command by checking the
8450           value of silc_server_get_client_route command.
8451
8452         * Fixed the INVITE notify type handling.  The arguments are now
8453           taken in correct order and client does not crash.  The affected
8454           file is irssi/src/silc/core/silc-channels.c.
8455
8456           Removed the "Inviting xxx to channel" message from the
8457           client library away and let the application handle it.
8458           Affected file lib/silcclient/command.c.  Added that message
8459           to Irssi SILC client's message formats.
8460
8461         * Fixed CMODE command crash in client.  It now checks the
8462           amount of arguments correctly and does not crash.  The affected
8463           file is lib/silcclient/command.c.
8464
8465         * Do not create new channel automatically in silc_channels_join
8466           but check whether the channel by that name already exists.
8467           Affected file irssi/silc/core/silc-channels.c.
8468
8469         * Do not send the SERVER_SIGNOFF to router if the disconnected
8470           entity was the router.  Affected file silcd/server.c.
8471
8472         * Added the handling of the SERVER_SIGNOFF notify to the Irssi
8473           SILC client as it was missing from there.
8474
8475           Added the handling of the KICK notify to the Irssi SILC client
8476           as it was missing.  Added "you have been kicked" message to
8477           Irssi SILC client's message modules formats.
8478
8479           Added the handing of the KILL notify to the Irssi SILC client
8480           as it was missing.  Added the kill message module formats
8481           as well.
8482
8483           The affected file is irssi/src/silc/core/silc-channels.c.
8484
8485         * The router did not save the channel mode the server announced.
8486           Affected file silcd/packet_receive.c.
8487
8488         * Fixed a possible crash in INFO command in server.  If the
8489           server did not provide the server info it crashed.  Affected
8490           file silcd/command.c.
8491
8492 Sun Jun 17 15:26:05 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8493
8494         * Fixed the GETKEY command in the server to check also the
8495           global list.  Otherwise the GETKEY would not work correctly
8496           in normal SILC server.  Affected file silcd/command.c.
8497
8498 Sat Jun 16 18:00:00 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8499
8500         * Fixed GETKEY crash, it crashed if the command did not succseed.
8501
8502 Tue Jun 12 21:36:18 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8503
8504         * Redefined the SILC MP API in lib/silcmath/silcmp.h. The API
8505           is now real and not just an macro interface to GMP.
8506
8507           Removed the entire GMP from the source tree and imported new
8508           NSS MPI library instead.  Reason for removing GMP is that it is
8509           extremely large and compiles extremely slow.  The NSS MPI
8510           is only a few files and compiles in less than 10 seconds.
8511           The speed is also about the same as GMP.  The MPI is imported
8512           to lib/silcmath/mpi.
8513
8514           If the system has GMP installed we will still use the GMP.
8515           If it is not then the NSS MPI will be compiled.
8516
8517 Mon Jun 11 18:07:24 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8518
8519         * Merged a long nickname (127 characters long) crash bugfix from
8520           Irssi CVS tree.  Affected file irssi/src/core/misc.c.
8521
8522         * Merged a freed memory reference bugfix from Irssi CVS tree.
8523           Affected file irssi/src/core/commands.c.
8524
8525 Sun Jun 10 16:08:35 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8526
8527         * Added the server's public key sving and verification to the
8528           server when performing the SKE.  This was missing and the
8529           remote server's (or router's) public key was accepted without
8530           checking whether we have it previously or trust it at all.
8531           Affected file silcd/protocol.c.
8532
8533 Sat Jun  9 20:17:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8534
8535         * Check in the silc_server_timeout_remote if protocol is active
8536           and make sure that the protocol's final callback is called so
8537           that all memory if freed.  Affected file silcd/server.c.
8538
8539 Sat Jun  9 12:51:27 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8540
8541         * silc_server_whois_send_reply crashed the server if the nickname
8542           was 127 characters long.  Affected file silcd/command.c.
8543
8544 Thu Jun  7 16:29:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8545
8546         * Added sanity check to the silc_server_new_client. If the hostname
8547           is provided inside username then check that the provided hostname
8548           really is the same as the resolved one.  If the hostname was not
8549           resolved then check it from the public key.  Affected file is
8550           silcd/packet_receive.c.
8551
8552         * Fixed a fatal bug in Irssi SILC client. Do not send QUIT command
8553           if the server disconnected us and the connection is not valid
8554           anymore.  Affected file irssi/src/silc/core/silc-channels.c.
8555
8556         * Moved the silc_client_[chmode|chumode|chumode_char] away from
8557           the library to the lib/silcutil/silcutil.[ch].
8558
8559 Thu Jun  7 08:57:16 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8560
8561         * Close log file after open.  Affected file
8562           lib/silcutil/silclog.c.
8563
8564         * Check whether sock == NULL in silc_client_send_packet and return
8565           if it is.  Affected file lib/silcclient/silcclient.c.
8566
8567         * Check rec->entry == NULL in the Irssi SILC Client before
8568           sending the channel message.  Affecte file is
8569           irssi/src/silc/core/silc-servers.c.
8570
8571 Tue Jun  5 08:08:21 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8572
8573         * Merged a splitted window bugfix from Irssi CVS tree.  The
8574           affected file is irssi/src/fe-text/textbuffer-view.c.
8575
8576         * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
8577           It did not print nickname.
8578
8579         * Improved the distributions system a bit.
8580
8581 Mon Jun  4 17:57:16 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8582
8583         * Merged /WINDOW bugfix from irssi CVS tree. Affected file is
8584           irssi/src/fe-text/gui-window.c.
8585
8586         * Fixed a fatal bug in Irssi SILC client. Crashed if sent message
8587           to in-active server.  The affected file is
8588           irssi/src/silc/core/client_ops.c.
8589
8590         * Resolve the client in USERS command reply if the entry does
8591           not have username resolved.  The affected file is
8592           lib/silcclient/command_reply.c.  Also, changed the IDENTIFY
8593           command to WHOIS command to really resolve stuff.  The USERS
8594           is not used any more in any critical section so WHOIS can
8595           be used even though it might be slower than IDENTIFY.
8596
8597         * Changed the lib/silcutil/silchashtable.h header to ROBODoc
8598           format.
8599
8600 Sun Jun  3 14:21:32 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8601
8602         * Changed the protocol API a bit more consistent in the
8603           lib/silccore/silcprotocol.[ch].
8604
8605         * Changed the following headers to ROBODoc format:
8606
8607                 lib/silccore/silcpayload.h
8608                 lib/silccore/silcprotocol.h
8609                 lib/silccore/silcsockconn.h
8610
8611           All core library headers are now formatted.
8612
8613 Sat Jun  2 10:45:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8614
8615         * Fixed a bug in Irssi SILC client; do not show that you are
8616           server/router operator if you really are not.  Affected file is
8617           irssi/src/silc/core/client_ops.c.
8618
8619         * Renamed silc_command_free_payload to silc_command_payload_free.
8620           Affected file lib/silccore/silccommand.h
8621
8622         * Added silcmath.h to include the prototoypes of various routines
8623           in the lib/silcmath.  Removed the old modinv.h, mpbin.h and
8624           silcprimegen.h.
8625
8626         * Changed the following headers to ROBODoc format:
8627
8628                 lib/silccore/silcchannel.h
8629                 lib/silccore/silccommand.h
8630                 lib/silccore/silcid.h
8631                 lib/silccore/silcidcache.h
8632                 lib/silccore/silcmode.h
8633                 lib/silccore/silcnotify.h
8634                 lib/silccore/silcpacket.h
8635                 lib/silcmath/silcmath.h
8636
8637 Fri Jun  1 22:19:37 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8638
8639         * Added checking to the server code not to start the server if
8640           ciphers and stuff are not configured properly.  Affected files
8641           silcd/serverconfig.[h] and silcd/server.c.
8642
8643         * Changed the layout of the header files of the public interfaces
8644           in the SILC libraries.  The new layout supports ROBODoc
8645           documentation tool (and some others) so that it is easy to create
8646           a library reference manual.  All the other headers and source
8647           code must still follow the CodingStyle document.  Also source
8648           code must not include these ROBODoc stuffs, only the headers.
8649           Furthermore, all public interface headers must now be named
8650           by using `silc' prefix, example: silcapi.h, silccipher.h.
8651           Some files were renamed due to this.  All the other headers
8652           must not be used as public interfaces.  I will update the
8653           CodingStyle document later.  Changed following headers, so far:
8654
8655                 lib/silcclient/silcapi.h
8656                 lib/silccore/silcauth.h
8657                 lib/silccore/silcprivate.h
8658                 lib/silccrypt/silcdh.h
8659
8660 Fri Jun  1 10:28:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8661
8662         * Updated TODO.
8663
8664         * Removed silc_client_packet_send_flush from the client library
8665           as it is not needed.  Affected file lib/silcclient/client.[ch].
8666
8667         * Added printing of message of unresolved authentication method
8668           to the Irssi SILC client.  Added it to the module formats.
8669           Removed the same message from the client library.
8670
8671 Thu May 31 13:57:33 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8672
8673         * Added new distribution feature, DISTLABEL.  Every distribution
8674           can define own preprocessor label that can be used in the
8675           source code.  For example: #ifdef SILC_DIST_CLIENT.  Affected
8676           file distributions, acconfig.h.pre and prepare.
8677
8678 Tue May 29 22:16:40 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8679
8680         * Added Makefile.defines_int to include the actual definitions
8681           for Makefile.defines.in.  Tested the new distribution system,
8682           created distributions and tested installation.
8683
8684         * Added AWAY message printing to the Irssi SILC client.  Added
8685           the messages to the irssi/src/fe-common/silc/module-formats.[ch].
8686
8687         * Added SCONNECT command to call the SILC's CONNECT command.
8688           Cannot use CONNECT directly since Irssi uses that internally.
8689           Affected file irssi/src/silc/core/silc-servers.c.
8690
8691           Added ACTION local command.  It is same as ME command but takes
8692           the channel as mandatory argument.
8693
8694           Rewrote some of the Irssi's help files to suite for SILC
8695           protocol.
8696
8697 Mon May 28 19:05:22 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8698
8699         * Added Makefile.defines[.in] that should for now on be included
8700           in all Makefile.am file in the source tree.  That file includes
8701           all common compilation definitions for SILC source tree.
8702
8703 Mon May 28 10:30:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8704
8705         * Minor changes to the ./prepare script to change the package
8706           name according the distribution name to the configure.in.
8707
8708 Sun May 27 22:24:57 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8709
8710         * Created new distribution system.  Added file `distributions'
8711           that defines all the distributions that can be created out of
8712           the SILC source tree.  The ./prepare script now reads that
8713           file to determine how to prepare the distributions.  The
8714           first argument to the ./prepare is the name of the distribution
8715           and second is the version of the distribution.  If given
8716           without arguments it creates the default (toolkit) distribution
8717           with the default version (defined in ./prepare).
8718
8719           All Makefile.am files that are subject to the distributions
8720           are now named as Makefile.am.pre.  These are ./Makefile.am
8721           and lib/Makefile.am.  Others may be changed later.
8722
8723 Sun May 27 15:57:17 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8724
8725         * Added invite list, ban list, some key management and connection
8726           error message printing to module formats in the Irssi SILC client.
8727
8728         * Added new silc_client_set_away_message to set the away message
8729           that is back to the person who sent private message.  The
8730           affected file lib/silcclient/silcapi.h and the
8731           lib/silcclient/client_prvmsg.c.
8732
8733 Sun May 27 12:39:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8734
8735         * Fixed the private message sending in the Irssi SILC client,
8736           added local command KEY to the Irssi SILC client.
8737
8738           Added key management and key agreement message formats to the
8739           irssi/src/fe-common/silc/module-formats.[ch].
8740
8741           Added USERS (alias WHO) printing, server/router operator
8742           indication and LIST command printing to the module formats.
8743
8744 Sat May 26 17:43:42 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8745
8746         * Fixed channel joining notify handling, cumode notify handling
8747           from Irssi SILC client.
8748
8749         * Added SILC specific module-formats to the Irssi SILC client so
8750           that SILC specific message hilighting, colors etc is possible.
8751           Affected file irssi/src/fe-common/silc/module-formats.[ch].
8752
8753           Added channel mode, channel user mode, actions, notices,
8754           whois and whowas printing to the the module-formats.c.
8755
8756         * Fixed a bug in channel deletion in the server.  The channel
8757           is not left to the cache even if the channel founder auth mode
8758           is set when there are no users anymore on the channel.  Affected
8759           file silcd/server.c.
8760
8761         * The silc_net_localhost now resolves the entire hostname including
8762           the domain name.  Affected file lib/silcutil/silcnet.c.
8763
8764 Sat May 26 12:13:37 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8765
8766         * Changed the ask_passphrase client operation to be ascynchronous.
8767           It has now a completion callback and a context that the
8768           application must call after it has got the passphrase from
8769           the user.  Affected files lib/silcclient/silcapi.h,
8770           lib/silcclient/protocol.c, lib/silcclient/command.c and
8771           silc/client_ops.c.
8772
8773           Added SilcAskPassphrase callback that the application calls
8774           to deliver the passphrase to the library.
8775
8776         * Changed the SKE protocol's SilcSKEVerifyCb to be asynchronous.
8777           The public key verification and especially a certificate
8778           verification is asynchronous procedure.
8779
8780           Added new SILC_SKE_STATUS_PENDING status to indicate the
8781           request is pending and a callback will be called to finalize
8782           the request.
8783
8784           Added also SILC_SKE_STATUS_PUBLIC_KEY_NOT_PROVIDED status to
8785           indicate that remote end did not send its public key (or
8786           certificate), even though we require it.  Added check for this
8787           condition in the SKE.  This was a security bug, now fixed.
8788
8789           Defined new SilcSKEVerifyCbCompletion callback that is called
8790           when the verification process is completed.
8791
8792           The affected files lib/silcske/silcske_status.h and
8793           lib/silcske/silcske.[ch].
8794
8795         * Changed the verify_public_key client operation to be async
8796           as well.  Defined SilcVerifyPublicKey callback that is used to
8797           indicate the success of the public key verification process.
8798
8799           Changed the server and client to use the new async client
8800           operations.
8801
8802         * Changed the Irssi SILC client's internal scheduler to be called
8803           twice as many times as it used to be.  As a result the client
8804           should be a bit faster now.  Affected file is
8805           irssi/src/silc/core/silc-core.c.
8806
8807         * Added support to Irssi SILC client of asynchronous public key
8808           verification and passphrase inquiry.  Affected file is
8809           irssi/src/silc/core/silc-core.c.
8810
8811 Fri May 25 14:38:38 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8812
8813         * Do not say "You have left channel %s" in client library.
8814           Moved it to the application.  Affected files are
8815           lib/silcclient/command.c and silc/client_ops.c.
8816
8817         * Fixed silc_client_get_clients.  Command context was not
8818           duplicated and was freed memory in the callback.  Affected
8819           file lib/silcclient/idlist.c.
8820
8821         * Do not say "you are now talking..." on JOIN command in the
8822           client library.  The appliation must handle it.
8823
8824         * Do not say ".. changed topic to" in command reply in the
8825           client libary.  The application must handle it.
8826
8827         * Fixed TOPIC command sending in the client library.
8828
8829         * Fixed a memory leak in silc_client_command_free in the file
8830           lib/silcclient/command.c.
8831
8832 Thu May 24 19:08:55 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8833
8834         * Imported a modified version of Irssi client to the source tree.
8835           The Irssi will be used to create a new client called
8836           Irssi SILC.  Imported to irssi/.
8837
8838           Added silc_core_init_finish function to the Irssi.  Affected
8839           file irssi/configure.in.
8840
8841           A lot changes in the Makefile.ams around the irssi tree.
8842
8843 Tue May 22 22:23:49 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8844
8845         * Do not rehash if the new size is same as the old size of the
8846           hash table, in the silc_hash_table_rehash*.  The affected file
8847           lib/silcutil/silchashtable.c.
8848
8849         * Replaced hash_table_del_by_context calls from the server
8850           (when channel->user_list and client->channels) to the
8851           hash_table_del as it is sufficient and faster.
8852
8853 Tue May 22 17:27:16 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8854
8855         * Added silc_hash_table_list, silc_hash_table_get and the
8856           SilcHashTableList structure to provide an alternative way to
8857           traverse the hash table.  The affected files are
8858           lib/silcutil/silchashtable.[ch].
8859
8860         * Changed the server's idlist routines to use the hash table
8861           routines to optimize the code.
8862
8863 Mon May 21 21:46:20 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8864
8865         * Replaced the client entry's `channel' list and channel entry's
8866           `user_list' list to hash tables for optimized lookup.  Changed
8867           the code to use the hash table interface around the code.
8868           Affected file lib/silcd/idlist.[ch].
8869
8870         * Added `auto_rehash' boolean argument to the function
8871           silc_hash_table_alloc to indicate whether the hash table should
8872           auto-rehash when it thinks is appropriate time.  It will
8873           increase the hash table size if the there is twice as much
8874           entries in the table than the size of the table, and will
8875           decrease the size if there are twice as less entries than
8876           the size of the table.
8877
8878 Mon May 21 09:51:11 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8879
8880         * Fixed silc_xxx_get_supported to not crash at some circumstances.
8881
8882 Sun May 20 13:45:58 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8883
8884         * silc_idcache_purge_by_context deletes the entry now by context
8885           as it is supposed to do.  Affected file lib/silccore/idcache.c.
8886
8887         * Send the ERR_NO_SUCH_NICK in the WHOIS command reply if the
8888           client is not anymore valid (WHOWAS givens the info) and not
8889           the ERR_NO_SUCH_CLIENT_ID if the nickname still exists.
8890
8891 Sat May 19 16:30:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8892
8893         * Removed the `data' and `data_len' arguments from the ID Cache
8894           interfaces and added `name' argument.  ID Cache does not handle
8895           anymore the binary data only a names associated with given ID.
8896
8897         * When hashing a Client ID with silc_hash_id the entire ID is
8898           not hashed anymore, instead only the hash of the Client ID is
8899           hashed.  This way we can access the Client ID from the cache
8900           with Client ID but with the hash of the ID (which is a hash of
8901           the nickname) as well without any difference in performance.
8902
8903           Added also silc_idcache_find_by_id_one_ext to do one on one
8904           searching when we have the actual ID.  Added also function
8905           silc_hash_client_id_compare.  The affected files are
8906           lib/silccore/idcache.[ch] and lib/silcutil/silcutil.[ch].
8907
8908         * When hashing the name associated with a ID it is always done
8909           in lowercase.  This way we can access the cache without worrying
8910           about case-sensitivity, even though, for example nicknames are
8911           case sensitive.
8912
8913         * Fixed a bug in server with channel message sending.  It put
8914           wrong ID type as destination ID.  The affected file
8915           silcd/packet_send.c.
8916
8917         * silc_idcache_del_by_context now deletes from all hash tables
8918           by context.  Affected file lib/silccore/idcache.c.
8919
8920 Fri May 18 17:42:00 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8921
8922         * Changed the client library to use the new ID Cache interface.
8923           Changes around the source tree.
8924
8925         * Added silc_hash_table_rehash_ext to rehash with specific
8926           hash function.  Affected file lib/silcutil/silchashtable.[ch].
8927
8928         * Added silc_hash_string_compare to compare two strings in the
8929           hash table.  Affected file lib/silcutil/silcutil.[ch].
8930
8931 Fri May 18 11:18:45 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8932
8933         * Added new function silc_idcache_del_by_context into the
8934           lib/silccore/idcache.[ch].
8935
8936         * Changed the server's ID list routines to use the new ID Cache
8937           interface.  Changes around the source tree.
8938
8939 Fri May 18 08:35:31 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8940
8941         * Added silc_hash_table_del[_by_context]_ext functions in to the
8942           lib/silcutil/silchashtable.[ch].
8943
8944           Removed silc_hash_table_find_all* routines and added new
8945           silc_hash_table_find_foreach to replace them.
8946
8947           Added silc_hash_table_replace_ext function as extended
8948           replacing function.  Separated the simple hash table interface
8949           from the extended hash table interface in the file
8950           lib/silcutil/silchashtable.h.
8951
8952         * Fixed minor bugs and changed it to use some of the new
8953           hash table functions in lib/silccore/idcache.c
8954
8955 Thu May 17 18:15:12 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8956
8957         * Added new function silc_hash_table_find_all to return all keys
8958           in the hash table by the specified key.  As the hash table is
8959           collision resistant it also makes it possible to have several
8960           duplicate keys in the hash table.  This function may be used to
8961           find all of the keys from the hash.
8962
8963           Added user_context arguments to the SilcHashFunction,
8964           SilcHashCompare and SilcHashDestructor to deliver user specified
8965           context.
8966
8967           Added new fuctions silc_hash_table_find[_all]_ext to do
8968           extended lookup with specified hash and compare functions and
8969           specified user contexts.
8970
8971           Added new function silc_hash_table_add_ext to add the key
8972           with specified hash function and user context.
8973
8974           Added new function silc_hash_table_foreach to traverse all
8975           entrys in the hash table.  Added SilcHashForeach callback
8976           function.
8977
8978           Added new function silc_hash_table_del_by_context to delete
8979           the entry only if the context associated with the key matches.
8980
8981           Affected files are lib/silcutil/silchashtable.[ch].
8982
8983         * Removed silc_hash_[server/client/channel]_id and added just
8984           silc_hash_id to the lib/silcutil/silcutil.[ch].  Added also
8985           silc_hash_id_compare to compare two ID's using as the hash table
8986           comparison function.  Added also silc_hash_data to hash
8987           binary data and silc_hash_data_compare to compare it.
8988
8989         * Removed silc_idlist_find_client_by_hash as it is not needed
8990           anymore.  Affected file silcd/idlist.[ch].
8991
8992         * Rewrote the entire ID Cache system (in lib/silccore/idcache.[ch])
8993           to use internally the SilcHashTable.  The new ID Cache is a lot
8994           faster than the old one.  Some of the ID Cache interface was also
8995           rewritten and obsolete and stupid functions were removed.
8996
8997 Wed May 16 23:03:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8998
8999         * Added entry_count field to the SilcHashTable to keep the number
9000           of the entries in the table.  Implemented the function
9001           silc_hash_table_rehash.  Added new function
9002           silc_hash_table_count.  Affected file lib/silcutil/silchashtable.c.
9003
9004           Fixed a minor bug in silc_hash_table_free.
9005
9006         * Added silc_hash_string, silc_hash_uint, silc_hash_ptr,
9007           silc_hash_client_id, silc_hash_server_id and silc_hash_channel_id
9008           into the lib/silcutil/silcutil.[ch].
9009
9010 Wed May 16 20:02:47 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9011
9012         * Implemented a collision resistant hash table into the
9013           lib/silcutil/silchashtable[ch].  See the header and the source
9014           for the SilcHashTable API.
9015
9016 Tue May 15 22:05:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9017
9018         * Merged dotconf version 1.0.2 into lib/dotconf.
9019
9020 Sun May 13 19:32:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9021
9022         * Do not compile anything in lib/silcsim/* if the SIM support
9023           is not enabled.  The tree should now compile without problems
9024           under cygwin.
9025
9026 Thu May 10 22:49:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9027
9028         * Compiled the SILC under cygwin.  Compiled and tested briefly
9029           without problems.  More tests needed.  The SIMs didn't compile
9030           though.
9031
9032         * Added various #ifdef HAVE_* stuff to lib/silccrypt/silrng.c.
9033
9034         * Fixed possible crash in silc_get_username in the
9035           lib/silcutil/silcutil.c.
9036
9037 Tue May  8 09:04:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9038
9039         * Fixed a va_arg in silc/client_ops.c.
9040
9041         * Oops, RC5 routines were named AES and caused some problems
9042           when not using SIM's.  Affected file lib/silccrypt/rc5.c.
9043
9044 Sun May  6 13:59:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9045
9046         * Added new SilcIDIP structure into the lib/silccore/id.h and
9047           replaced the old `ip' fields from all SILC ID's to that type.
9048           This is a step towards IPv6 support.
9049
9050           The silc_id_get_len takes now the ID as an extra argument.
9051           The silc_id_id2str, silc_id_str2id and silc_id_dup now supports
9052           both IPv4 and IPv6 based ID's.
9053
9054           The affected files are lib/silccore/id.[ch] and other files
9055           around the tree using these routines.
9056
9057         * Removed the ID length arguments in server from various
9058           silc_server_send_notify_* routines -> they are not needed
9059           anymore.
9060
9061 Sat May  5 13:56:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9062
9063         * Fixed memory leak in silc_encode_pem_file in the file
9064           lib/silcutil/silcutil.c.
9065
9066 Thu May  3 21:23:50 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9067
9068         * Check minor version as well in the SKE.  Affected files are
9069           silcd/protocol.c and lib/silcclient/protocol.c.
9070
9071         * Added --identifier option to the server so that an identifier
9072           can be when creating the public key for the server.  Affected
9073           file is silcd/silcd.c.
9074
9075         * Fixed minor decoding bug in silc_pkcs_decode_identifier in
9076           lib/silccrypt/silcpkcs.c.
9077
9078 Wed May  2 20:50:49 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9079
9080         * Register default ciphers and stuff when using -C option with
9081           the server.  Affected file sildc/silcd.c.
9082
9083         * Put back the servers public key filename format, it is better
9084           than the new one.  For now, the client keys are saved with the
9085           new filename format.  The affected file silc/client_ops.c.
9086
9087         * Implemented the Cipher API for the rest of the ciphers that
9088           did not implement it or implemented it the wrong way.
9089
9090 Wed May  2 13:31:26 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9091
9092         * Register default ciphers and stuff when using the -S option
9093           in the client.  Affected file silc/silc.c.  Same also when
9094           creating new key pair with -C option.
9095
9096 Tue May  1 14:18:13 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9097
9098         * Fixed the silc_verify_public_key client operation function to
9099           save the public keys differently.  The fingerprint is now
9100           used as filename and not the hostname.  This way also the
9101           client keys are saved uniquely and not with hostnames.  The
9102           affected file is silc/client_ops.c.
9103
9104         * Trimmed the silc_hash_fingerprint function to remove extra
9105           whitespaces from the end of the fingerprint.  The affected
9106           file is lib/silccrypt/silchash.c.
9107
9108         * Updated TODO.
9109
9110         * Added silc_cipher_register_default function to register all
9111           default ciphers.  It can be used when configuration files
9112           does not exist and the application does not want any specific
9113           ciphers in any specific order.
9114
9115           The SilcDList is now used as silc_cipher_list dynamically
9116           allocated cipher list.  Removed the static list all together
9117           and now all ciphers must be allocated to the dynamic list.
9118           The silc_cipher_alloc routine was changed to check only the
9119           dynamic list.
9120
9121           All silc_cipher_* routines that used to return int returns
9122           now bool.
9123
9124           The affected files lib/silccrypt/silccrypt.[ch].
9125
9126         * The same thing was done to silc_hash_* as for silc_cipher_*
9127           routines.  Affected files lib/silccrypt/silchash.[ch].
9128
9129         * The same thing was done to silc_pkcs_* as for silc_cipher_*
9130           routines.  Affected files lib/silccrypt/silcpkcs.[ch].
9131           Added also silc_pkcs_[un]register[_default] functions.
9132           Removed the data_context from the PKCS API.
9133
9134         * Added silc_hmac_register_default function to register default
9135           hmacs.  Affected files lib/silccrypt/silchmac.[ch].  Added also
9136           SILC_ALL_HMACS macro that can be used with silc_hmac_unregister
9137           to unregister all hmacs at once.
9138
9139         * Register the default ciphers, hash functions, PKCSs and HMACs
9140           if client's configuration file does not exist.  The affected
9141           file silc/silc.c.
9142
9143         * The client did not load the hash functions from the SIM
9144           modules at all.  Added support for this.  Affected file is
9145           silc/clientconfig.c.
9146
9147         * When decoding public key with silc_pkcs_public_key_decode, check
9148           the supported algorithm only if PKCS are registered.  Affected
9149           file lib/silccrypt/silcpkcs.c.  The same was done with the
9150           silc_pkcs_private_key_decode.
9151
9152         * Fixed the SILC List routines to keep the list always in order.
9153           It used to change the list's order when traversing the list but
9154           not it preserves the order.  Affected file lib/trq/silclist.h.
9155
9156 Mon Apr 30 17:29:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9157
9158         * Added the client library to use the SilcSocketConnection's
9159           reference counter (by silc_socket_dup) to prevent the bug that
9160           the socket object may be freed underneath async operation.
9161
9162         * The name resolv library checking fixes in the configure.in.pre.
9163           The patch by salo.
9164
9165         * Created new version of the protocol drafts for future
9166           development. The -03 drafts are the ones that will be changed
9167           in the trunk now and the -02 will remain as they are.
9168
9169         * Send list of CUMODE notifys to the router when announcing
9170           the channel users to the router.  Affected file silcd/server.c.
9171           If the router receiving channel founder CUMODE for a channel
9172           that already has channel founder it will send CUMODE notify
9173           to the sender to remove the channel founder rights from the
9174           announced client.  Affected file silcd/packet_receive.c.
9175
9176         * The CUMODE notify may now use Server ID as well as the entity
9177           who changes the mode.  Updated protocool specs.
9178
9179         * Updated INSTALL and README files.
9180
9181 Sun Apr 29 23:17:50 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9182
9183         * New web pages in the http://silc.pspt.fi.  The pages was
9184           designed by salo.
9185
9186         * Updated CREDITS.
9187
9188 Sun Apr 29 13:33:41 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9189
9190         * Implemented the [DenyConnectin] config section in the server.
9191           Added silc_server_config_denied_conn to check whether incoming
9192           connection is denied.  Affected file silcd/serverconfig.[ch].
9193
9194         * Do not check the ports when checking the incoming configuration
9195           data if the port is 0, meaning any.  Affected file is
9196           silcd/serverconfig.c.
9197
9198 Fri Apr 20 18:58:43 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9199
9200         * Fixed buffer overflow in silc_string_compare in the file
9201           lib/silcutil/silcutil.c.
9202
9203         * Fixed double free in silc_server_command_leave in the file
9204           silcd/command.c.
9205
9206 Fri Apr 20 14:00:11 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9207
9208         * Fixed the version checking in the server.  Affected file is
9209           silcd/protocol.c.
9210
9211 Thu Apr 19 19:52:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9212
9213         * Fixed the configuration data fetching when accepting new
9214           connections in the server.  Affected file silcd/server.c.
9215
9216 Thu Apr 19 11:40:20 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9217
9218         * Added `sender_entry' argument to the function
9219           silc_server_packet_relay_to_channel so that we can check
9220           whether some destination actually belongs to the same route
9221           the sender belongs (ie, we must not resend the packet to the
9222           sender).  Affected file silcd/packet_send.[ch].
9223
9224         * Added `servername' field to the SilcClientEntry in the server
9225           to hold the name of the server where client is from.  Affected
9226           file is silcd/idlist.h.
9227
9228 Wed Apr 18 22:19:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9229
9230         * Moved the channel message encrypting in the router betwen
9231           router connections from silc_server_channel_message to the
9232           silc_server_packet_relay_to_channel since we want to check
9233           whether we have anybody channel before encrypting anything.
9234           Affected files silcd/packet_[receive/send].c.
9235
9236 Tue Apr 17 21:18:19 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9237
9238         * Fixed the [AdminConnection] server config section to support
9239           multiple entries.  Affected file silcd/serverconfig.c.
9240
9241         * Added support into the server to check the validity of the
9242           incoming connection before executing any KE or authentication
9243           protocols.
9244
9245         * The connection configuration is now saved to the KE and
9246           connection auth protocol contexts and not fetched anymore in
9247           the protocol.  Affected files silcd/server.c, silcd/protocol.[ch].
9248
9249         * The local hosts listenning address and port is also resolved
9250           now when starting the server.  We want to have the socket object
9251           to include the real address and port for the listener.  Added
9252           new function silc_net_check_local_by_sock into the files
9253           lib/silcutil/silcnet.[ch].
9254
9255         * Fixed a broadcast bug in server -> do not broadcast if we
9256           are standalone.
9257
9258         * Fixed a routing bug.  Do not route broadcast packets ever.
9259           Broadcast packets must be processed always and not routed since
9260           they may be destined to some other host than yourself and thus
9261           would get routed without no good reason.  Affected file is
9262           silcd/server.c.
9263
9264         * Added function silc_server_config_is_primary_route to check
9265           whether primary router connection has been configured (a router
9266           configuration that we are initiating).  If there is not, we
9267           will assume that there is only two routers in the SILC network
9268           and we will use the incoming router connection as our primary
9269           route.  Affected files silcd/serverconfig.[ch], silcd/server.c.
9270
9271         * Changed the order of the broadcasting.  Broadcast _after_ the
9272           packet has been processed not before.  Affected file is
9273           silcd/server.c.
9274
9275         * Fixed a [ClientConnection] parsing bug.  The port was never
9276           parsed correctly thus resulting to port 0.  Affected file
9277           silcd/serverconfig.c.
9278
9279         * Fixed silc_server_send_notify_args -> it ignored the `broadcast'
9280           argument and did not set the broadcast packet flag.  Affected
9281           file silcd/packet_send.c.  Fixed same bug in the function
9282           silc_server_send_notify as well.
9283
9284         * If we receive NEW_ID packet for our own ID in the server, ignore
9285           the packet.
9286
9287 Mon Apr 16 12:10:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9288
9289         * Updated TODO.
9290
9291         * Removed the nickname from the Private Message Payload.
9292           Updated the code and the protocol specs.
9293
9294         * Updated protocol specs for submitting to the IETF.
9295
9296         * Tweaked the Random Number Generator a bit.  Affected file
9297           lib/silccrypt/silcrng.c.  Exported a new function
9298           silc_rng_[global]_add_noise which can be used to add more
9299           noise to the RNG.
9300
9301 Sat Apr 14 16:21:32 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9302
9303         * Do not parse packets with different timeout when protocol
9304           is active -> may cause problem with rekey.  Affected file
9305           silcd/server.c.
9306
9307         * When server receives signoff notify it must not create
9308           new channel key if the client is on any channels since the
9309           sender of the signoff notify will create it.
9310
9311 Fri Apr 13 17:12:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9312
9313         * Added printing of error messages during SKE protocol from the
9314           failure packet sent by server during SKE.  Affected file
9315           silc/client_ops.c.
9316
9317         * Removed the client's failure_callback handling with timeout
9318           and handle it immediately when received.
9319
9320         * The SKE library returned wrong type in SUCCESS and FAILURE
9321           packets.  They must be 32 bit MSB not 16 bit MSB.
9322
9323 Fri Apr 13 00:09:08 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9324
9325         * Ok, rewrote the logic of the re-key and now it seems to work.
9326           I tested it on high traffic with frequent re-keys without
9327           problems.  Added hmac_receive (and renamed hmac to hmac_send)
9328           in SilcClientConnection in lib/silcclient/client.h and
9329           in SilcIDListData in silcd/idlist.h.  Also, removed the
9330           SilcPacketParserContext's cipher and hmac fields as they are
9331           not needed anymore and actually caused some problems when
9332           the ciphers and hmac's changed underneath the packet parser.
9333
9334 Thu Apr 12 14:42:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9335
9336         * If re-key protocol is active then process the incoming packets
9337           synchronously since we must assure that icoming packets encrypted
9338           with the old key is processed before the new keys is set to
9339           use.  This is true other packets than for REKEY packets.
9340           Affected file silcd/server.c.  The same was done to client library
9341           as well, affected file lib/silcclient/client.c.
9342
9343 Thu Apr 12 12:01:52 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9344
9345         * Fixed bug in client and server to accept the force send if
9346           the packet is send from silc_[server/client]_packet_process
9347           function.  Otherwise the packets are never delivered, oops.
9348
9349 Wed Apr 11 22:10:15 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9350
9351         * Disable force sending of packets when REKEY protocol is active.
9352           We must assure that no packet is sent directly when rekey is
9353           performed.  All packets must be sent through packet queue.
9354           Added macro SILC_SERVER_IS_REKEY to silcd/server.h and
9355           SILC_CLIENT_IS_REKEY to lib/silcclient/client.h.  Affected
9356           function is silc_[server/client]_packet_send_real to check
9357           the situation.
9358
9359         * Replaced the SIM paths from example config files to
9360           /usr/local/modules.  Also, make install creates now
9361           /usr/local/silc/logs directory to hold all the SILC server
9362           logs.
9363
9364 Wed Apr 11 16:59:59 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9365
9366         * Made the configure.in.pre work on Solaris.  Patch by salo.
9367
9368         * Made all ciphers compatible with non-x86 machines.  Defined
9369           CBC mode macros into lib/silccrypt/ciphers_def.h.
9370
9371 Tue Apr 10 20:32:44 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9372
9373         * Fixed the make install.
9374
9375 Tue Apr 10 16:20:34 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9376
9377         * When MAC computation fails the silc_packet_decrypt returned 0
9378           even though it was supposed to return -1.  Fixed this.  The
9379           affected file is lib/silccore/silcpacket.c.
9380
9381         * Do not replace the config files in /etc/silc (in make install)
9382           if they already exist.  Affected file ./Makefile.am.
9383
9384         * Do not send re-key packets immediately but through packet queue.
9385           Affected file silcd/protocol.c and lib/silcclient/protocol.c.
9386
9387         * Changed silc_net_check_host_by_sock to return FALSE if the
9388           IP/DNS could not be resolved.  Though, it returns the IP address
9389           now even if it could not resolve it (but returns also FALSE).
9390           Affected file lib/silcutil/silcnet.[ch].
9391
9392 Mon Apr  9 21:54:44 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9393
9394         * Added silc_pkcs_decode_identifier to decode the public key's
9395           identifier.  Affected file lib/silccrypt/silpkcs.[ch].
9396           Added also silc_pkcs_free_identifier.  Added also new context
9397           SilcPublicKeyIdentifier.
9398
9399         * Added -S option to the silc client.  It is used to dump the
9400           contents of the specified public key file.
9401
9402         * Changed the PKCS api to return the public key length when
9403           setting the public key.
9404
9405         * Fixed a fatal bug in the public and private key file loading.
9406           Affected file lib/silccrypt/silcpkcs.c.
9407
9408         * Execute the packet parsing for client with zero (0) timeout
9409           if the protocol is active.  Affected file silcd/server.c.
9410
9411 Sun Apr  8 19:30:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9412
9413         * Made the key generation options to the silcd program.  Added
9414           -C option, equivalent to client's option.
9415
9416         * Added new [ServerKeys] config section to the server.  It
9417           configures the server's public and private key.
9418
9419         * Defined generic Public Key Payload into the protocol
9420           specification to send specific type of public keys and
9421           certificates.
9422
9423         * Defined new command SILC_COMMAND_GETKEY to fetch a client's
9424           public key or certificate.
9425
9426         * Implemented the GETKEY command to the server and to the
9427           client library and on user interface.
9428
9429 Sun Apr  8 01:37:21 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9430
9431         * Made preliminary `make install' work.
9432
9433 Thu Apr  5 17:42:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9434
9435         * Added SilcServerRekey context into silcd/idlist.h.
9436
9437         * Added the PFS support as defined in the specification to the
9438           SKE protocol.  Affected files lib/silcske/*.c.
9439
9440         * Added `ske_group' field to the SilcServerRekey context to hold
9441           the number of the SKE group that is used with PFS in re-key.
9442           Affected file silcd/idlist.h.
9443
9444         * Added PFS re-key support to the server.  Affected file is
9445           silcd/protocol.c.
9446
9447         * Added silc_protocol_cancel to cancel execution of the next
9448           state of the protocol.  Affected file is
9449           lib/silccore/silcprotocol.[ch].
9450
9451         * Added the re-key support with and without PFS to the client
9452           library.  Re-key is performed once in an hour, by default.
9453
9454           Added new protocol type SILC_PROTOCOL_CLIENT_REKEY.
9455           Added silc_client_rekey_callback and silc_client_rekey_final.
9456           Affected files are lib/silcclient/protocol.[ch] and
9457           lib/silcclient/client.[ch].
9458
9459         * Removed the `hmac_key' and `hmac_key_len' fields from the
9460           SilcClientConnection structure; not needed.  Affected file is
9461           lib/silcclient/client.h.
9462
9463         * Updated TODO.
9464
9465 Wed Apr  4 16:32:31 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9466
9467         * Do not ask whether user wants to use the negotiated private key
9468           for private messages, just use it.  Affected file is
9469           silc/local_command.c.
9470
9471         * Added `send_enc_key' and `enc_key_len' fields to the
9472           SilcIDListData structure since they are needed in the re-key
9473           phase.  Affected file is silcd/idlist.[ch].
9474
9475         * Implemented the simple re-key protocol into the server.
9476           Affected files silcd/server.c and silcd/protocol.[ch].  The
9477           re-key will be performed once in an hour, by default.
9478
9479           Added new protocol type SILC_PROTOCOL_SERVER_REKEY.
9480           Added silc_server_rekey, silc_server_rekey_callback and
9481           silc_server_rekey_final.
9482
9483         * Removed Tunneled flag from the protocol.  Updated the code
9484           and the specifications.
9485
9486         * Adde `pfs' field to the SilcIDListData to indicate whether
9487           the PFS is to be performed in the re-key.  Affected file is
9488           silcd/idlist.h.
9489
9490 Tue Apr  3 21:52:42 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9491
9492         * Defined uint8, int8, uint16, int16, uint32, int32, uint64 and
9493           int64 of at least the xintXX size.  If void * is less that 4
9494           bytes uint32 * will be used.  Defined bool as boolean.
9495
9496         * Changed _ALL_ unsigned long and unsigned int to uint32,
9497           unsgined short to uint16 in the source tree.
9498
9499         * Fixed a fatal bug in silc_server_remove_clients_by_server.  Do
9500           not handle clients that has entry->data.registered == FALSE.
9501           They are not in the network anymore.  Affected file is
9502           silcd/server.c.
9503
9504 Tue Apr  3 16:39:19 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9505
9506         * Implemented the sending of the SERVER_SIGNOFF notify in the
9507           server.  Affected file is silcd/server.c.
9508
9509         * Added silc_server_send_notify_args into silcd/packet_send.[ch].
9510           Added also silc_notify_payload_encode_args into the
9511           lib/silccore/silcnotify.[ch].
9512
9513         * Implemented ther SERVER_SIGNOFF notify handling in the server.
9514           Affected file silcd/packet_receive.c.
9515
9516         * Implemented the SERVER_SIGNOFF notify handling in the client
9517           library.  Affected file lib/silcclient/client_notify.c.  Also,
9518           implemnted the printing of the SERVER_SIGNOFF info to the
9519           application.  Affected file silc/client_ops.c.
9520
9521         * The silc_idlist_del_server now returns TRUE or FALSE to indicate
9522           if the deleting was successful.  Affected file silcd/idlist.[ch].
9523
9524         * Added support for public key authentication in the connection
9525           authentication protocol in the client library.  Affected file
9526           lib/silcclient/protocol.c.
9527
9528         * Changed the server's silc_idlist_get_clients_by_* interface
9529           to support already allocated array so that new entries may be
9530           added to pre-allocated array.  Affected file silcd/idlist.[ch].
9531           This fixes some bugs with WHOIS, WHOWAS and IDENTIFY commands
9532           and command replies.
9533
9534         * All command reply functions in the server now calls the
9535           pending command callback even if error occured.  This way the
9536           error will be delivered to the client as well.  Affected files
9537           silcd/command.c and silcd/command_reply.c.
9538
9539         * Fixed INFO command to return local server's info if no server
9540           was provided.  Affected file lib/silcclient/command.c.
9541
9542         * Removed RESTART command for good.  Updated the code and the
9543           protocol specs.
9544
9545         * Rewrote parts of the task system.  It is a bit simpler now.
9546           Removed unsued task priorities. The affected files are
9547           lib/silcutil/silctask.[ch].
9548
9549 Mon Apr  2 20:02:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9550
9551         * Moved the USERS printing from the library to the application.
9552           Affected files lib/silcclient/command.c and silc/client_ops.c.
9553
9554 Mon Apr  2 13:13:23 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9555
9556         * Updated TODO.
9557
9558         * Added channel key re-key support.  The re-key is perfomed
9559           only by the router and is done once in an hour.  Added `rekey'
9560           field to the SilcChannelEntry in the server.  Affected files
9561           silcd/server.c and silcd/idlist.h.
9562
9563         * Added silc_task_unregister_by_context into the file
9564           lib/silcutil/silctask.[ch].
9565
9566 Sun Apr  1 19:49:34 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9567
9568         * Added SILC_UMODE_GONE mode to indicate when the client is not
9569           present in the SILC network.  Added also support to the local
9570           command AWAY that will set this mode.  Added support of showing
9571           "xxx is gone" in WHOIS command.  The USERS command shows the
9572           gone status as well.
9573
9574         * Fixed setting server and router operator privileges in the
9575           server's UMODE command.  Affected file silcd/command.c.
9576
9577         * Merged the SKE KE1 and KE2 payloads into one payload.  The
9578           new KE payload is equivalent to the old KE2 payload.
9579
9580           Cleaned up the SKE Start Payload parsing.  It now uses the
9581           simple buffer unformatting to do the parsing.  A lot faster
9582           now.
9583
9584           Added new Mutual Authentication flag (SILC_SKE_SP_FLAG_MUTUAL)
9585           to the SKE that is used to indicate whether both of the SKE
9586           parties should perform authentication.  By default only the
9587           responder performs authentication.  By setting this flag also
9588           the initiator must do authentication.  By default it is unset
9589           since in normal SKE case, client to server connection, only
9590           the responder should do authentication.  When doing SKE between
9591           two clients both should perform authentication.  Updated the
9592           code and the protocol specs.
9593
9594         * A little fix to IDENTIFY command in the server.  Search the
9595           client first by hash not nickname.  Affected file is
9596           silcd/command.c.
9597
9598         * Fixed the silc_client_close_connection to support closing
9599           the client to client connections wihtout deleting too much
9600           data.  Affected file lib/silcclient/client.c.
9601
9602         * Fixed a fatal bug in server and client; if KE1 or KE2 packets
9603           are received if protocol used to be active but is not anymore
9604           the application would crash due to NULL pointer dereference.
9605           Affected files silcd/server.c and lib/silcclient/client.c.
9606
9607         * Added `hash' field to the SilcClientConnection to include
9608           the hash function negotiated in the SKE protocol.
9609
9610         * Added new channel mode SILC_CMODE_FOUNDER_AUTH that is used
9611           to set the channel founder authentication data.  A client can
9612           claim the founder rights later by providing the authentication
9613           data to the CUMODE command using SILC_CUMODE_FOUNDER mode.
9614           This way the channel founder can regain the channel founder
9615           privileges even it is left the channel.  This works only on
9616           local server and the client must be connected to the same
9617           server to be able to regain the founder rights.  Updated the
9618           protocol specs accordingly.
9619
9620           Added support to the CMODE command in the client to set the
9621           founder auth data.  Read the README to see how to set it.
9622
9623           Added support to the CUMODE command to claim the founder
9624           rights.  Read the README to see how to do it.
9625
9626           Added support for the founder authentication to the Channel
9627           Entry in the server.  Affected file silcd/idlist.h.
9628
9629           Added support for the SILC_CMODE_FOUNDER_AUTH mode in the
9630           server's CMODE command.  Affected file silcd/command.c.
9631
9632         * Added the following new functions into lib/silccore/silcauth.[ch]:
9633           silc_auth_get_method and silc_auth_get_data.
9634
9635         * The server now saves the remote hosts public key to the
9636           SilcIDListData pointer.  Affected file silcd/protocol.c.
9637
9638         * The normal server now does not remove the channel entry from
9639           the cache if the founder authentication data is set.  It used
9640           to remove it if the founder was the last one on the channel on
9641           the server and left the channel.  The auth data is saved and
9642           if the channel is re-joined later the old entry is used with
9643           the old auth data.  Affected files silcd/command_reply.c and
9644           silcd/server.c.
9645
9646         * Removed the `pkcs' field from the SilcIDListData structure
9647           in the server; it is not used.  Affected file silcd/idlist.h.
9648
9649 Sat Mar 31 15:38:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9650
9651         * Fixed packet processing on slow links.  Partial packets were
9652           never re-processed because the incoming data buffer was cleared
9653           by the application.  Application must not directly clear the
9654           sock->inbuf, the packet processing routines handle it.  Fixed
9655           this in client library and in server.
9656
9657 Fri Mar 30 16:35:27 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9658
9659         * Fixed the WHOIS and IDENTIFY send reply function to really
9660           check whether to send list or just one entry.  Affected file
9661           silcd/command.c.
9662
9663         * Cleaned up the LEAVE command's channel key distribution.  The
9664           affected file silcd/command.c.
9665
9666         * Changed CMODE_CHANGE's <Client ID> to <ID Payload> as server
9667           can enforce the channel mode as well.  In that case the ID
9668           includes the ID of the server.  The code now enforces the
9669           mode change if the router have different mode than the server.
9670
9671         * The notify client operation with CMODE_CHANGE notify can now
9672           return NULL client_entry pointer if the CMODE was not changed
9673           by client.  Application must check for this.
9674
9675         * Added <Server ID> argument to INFO command to support server
9676           info fetching by Server ID.
9677
9678         * Added silc_server_announce_get_channel_users to get assembled
9679           packets of channel users of the specified channel.  Affected
9680           file silcd/server.[ch].
9681
9682         * Fixed bug in CHANNEL_CHANGE notify in the server.  The new ID
9683           was freed underneath the ID Cache.
9684
9685         * Re-announce clients when the server received CHANNEL_CHANGE
9686           notify from the router.  Affected file silcd/packet_send.c.
9687
9688 Thu Mar 29 19:10:28 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9689
9690         * Fixed a fatal bug when client does /join 1 2 3 4 5 6 the server
9691           crashed since it did not handle the fact that there is no cipher
9692           called "3" and didn't check the error condition.  Now fixed.
9693
9694         * Added SILC_MESSAGE_FLAG_REQUEST message flag as generic request
9695           flag.  It can be used to send message requests.
9696
9697 Thu Mar 29 12:26:25 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9698
9699         * Implemented the RESTART command in the client.
9700
9701         * Added SILC_MESSAGE_FLAG_NOTICE message flag for informational
9702           notice type messages.  Added notice printing to the user
9703           interface.
9704
9705         * The channel keys are not re-generated if the channel's mode
9706           is PRIVKEY, ie private key on the channel exists.  Affected
9707           files silcd/server.c and silcd/command.c.
9708
9709         * Fixed a little bug in channel message delivery when channel
9710           private keys are set in the server.  Affected file is
9711           silcd/packet_send.c.
9712
9713         * Changed the setting on channel->on_channel = TRUE from the
9714           silc_client_save_channel_key to the JOIN command reply.  The
9715           key payload is not received if the private channel key is set.
9716           Affected file lib/silcclient/command_reply.c and the
9717           lib/silcclient/client_channel.c.
9718
9719         * When the CMODE_CHANGE notify is sent and the channel private
9720           key mode is removed the channel key must be re-generated in
9721           other cells as well.  Added this support for the router in the
9722           silcd/packet_receive.c.
9723
9724         * Added new local command NOTICE to send notice message on
9725           channel.  Affected file silc/local_command.[ch].
9726
9727 Wed Mar 28 23:55:54 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9728
9729         * Added new local command ME to the client.  It is used to send
9730           message to a channel with SILC_MESSAGE_FLAG_ACTION to indicate
9731           some action.  Affected file silc/local_command.[ch].
9732
9733         * Changed channel_message and private_message client operations
9734           to deliver the message flags to the application.  Added also
9735           the `flags' arguments to the silc_client_send_channel_message
9736           and silc_client_send_private_message functions.  Affected file
9737           silcapi.h.
9738
9739 Wed Mar 28 20:50:47 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9740
9741         * Redefined the Private Message Payload to support private message
9742           keys and to support the new private message flags.  Updated
9743           the protocol specs.  Flags makes it possible to have for example
9744           CTCP style messages.
9745
9746         * Added new type SilcPrivateMessagePayload and defined an API
9747           for it in the lib/silcclient/silcprivate.[ch].
9748
9749         * Tested private message private keys successfully.  Tested the
9750           private message key set, unset and list commands with the new
9751           KEY command.
9752
9753         * Redefined the Channel Message Payload to include the channel
9754           message flags (equal with private message flags) to support
9755           for example CTCP style messages.
9756
9757         * Defined some of the message (for channel and private message)
9758           flags.  Updated the protocol specs and added the flags to the
9759           lib/silccore/silcchannel.h.  The type is SilcMessageFlags.
9760
9761 Wed Mar 28 15:52:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9762
9763         * Added SilcKeyAgreementStatus type to the key agreement routines
9764           to indicate the current status and error if one occured.
9765           The status types are defined in the lib/silcclient/silcapi.h.
9766
9767         * Added new local command KEY that is used to set and unset private
9768           keys for channels, set and unset private keys for private messages
9769           with remote clients and to send key agreement requests and
9770           negotiate the key agreement protocol with remote client.  The
9771           key agreement is supported only to negotiate private message keys,
9772           it currently cannot be used to negotiate private keys for channels,
9773           as it is not convenient for that purpose.
9774
9775         * Fixed a minor pending callback setting bug in the function
9776           silc_client_get_client_by_id_resolve, now the function works.
9777           Affected file lib/silcclient/idlist.c.
9778
9779         * Added function silc_net_get_local_port to get local bound
9780           port by socket.  Added to lib/silcutil/silcnet.[ch].
9781
9782         * Added `sockets' and `sockets_count' fields to the SilcClient
9783           object.  They hold the sockets of the listenning sockets in
9784           the client.  Listenning sockets may be for example the key
9785           agreement server.  Affected file lib/silcclient/client.[ch].
9786           Added functions the silc_client_add_socket and the
9787           silc_client_del_socket.  They are exported to the application
9788           as well.
9789
9790         * Added ~./silc/clientkeys to support other client's public keys.
9791
9792         * Renamed verify_server_key client operation to verify_public_key
9793           and added one argument to indicate the type of the connection
9794           (server, client etc.).
9795
9796 Tue Mar 27 22:22:38 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9797
9798         * Added silc_server_connection_auth_request to handle the
9799           incoming CONNECTION_AUTH_REQUEST packet.  Affected file is
9800           silcd/packet_receive.[ch].
9801
9802         * Added silc_server_send_connection_auth_request into the
9803           silcd/packet_send.c to send the connection auth request packet.
9804
9805         * Cleaned up the silcd/protocol.c a bit and fixed some memory
9806           leaks.
9807
9808         * Fixed the public key authentication in responder side in the
9809           server.  The `auth_data' pointer includes the SilcPublicKey
9810           not the path to the public key.  Affected file silcd/protocol.c.
9811
9812         * Implemented the public key authentication in the initiator side
9813           in the server.  Affected file silcd/protocol.c.
9814
9815         * Removed the [RedirectClient] config section from the server
9816           configuration.  Is not needed and I don't want to implement it.
9817
9818 Tue Mar 27 12:49:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9819
9820         * Cleaned up the CMODE command in the server.  It now works
9821           correctly and supports all the modes defined in the protocol.
9822           Affected file is silcd/command.c.
9823
9824         * Added `hmac_name' field to the SilcChannelEntry in the server
9825           to hold the default HMAC of the channel.  It can be set when
9826           creating the channel (with JOIN command).  Affected files
9827           silcd/idlist.[ch].
9828
9829         * Added <cipher> and <hmac> argument to the CMODE_CHANGE notify
9830           type to indicate the change of the current cipher and hmac
9831           on the channel.  Client can safely ignore the <cipher> argument
9832           (if it chooses to do so) since the CHANNEL_KEY packet will
9833           force the channel key change anyway.  The <hmac> argument is
9834           important since the client is responsible of setting the new
9835           HMAC and the hmac key into use.
9836
9837         * Fixed the CMODE command in the client library as well.
9838
9839         * Tested CMODE command in router environment successfully.
9840
9841 Mon Mar 26 14:39:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9842
9843         * Show the version of the remote client (or server) when connecting
9844           to the server.  It is logged to the log file.  Affected file
9845           is silcd/protocol.c.
9846
9847         * Fixed the KILLED notify handling in the client library.  The
9848           client must be removed from all channels when receiving the
9849           KILLED notify.
9850
9851           Also, do not remove the client entry when giving the KILL
9852           command but when the KILLED notify is received.
9853
9854         * Removed silc_idlist_find_client_by_nickname from the server.
9855           Not needed anymore.  Affected files silcd/idlist.[ch].
9856
9857         * Implemented the CHANNEL_CHANGE notify type handling to the
9858           server.  Affected file silcd/server.c.
9859
9860         * Updated TODO.
9861
9862 Mon Mar 26 12:11:14 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9863
9864         * Added silc_server_send_notify_invite to send the INVITE
9865           notify between routers.
9866
9867         * Implemented the INVITE command correctly to the server.
9868
9869         * Implemented the INVITE notify type handling in the server.
9870
9871         * Implemented the INVITE command to the client library and on the
9872           user interface.
9873
9874 Sun Mar 25 20:27:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9875
9876         * Added function silc_server_get_client_resolve to find the
9877           client entry by ID from all ID lists and then resolve it
9878           (using WHOIS) if it cannot be found.  Affected file is
9879           silcd/server.[ch].
9880
9881 Sun Mar 25 13:52:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9882
9883         * Implemented the BAN command to the client library.
9884
9885         * The JOIN command in the server now checks the invite list
9886           and the ban list.
9887
9888         * Changed the silc_command_reply_payload_encode_va and the
9889           silc_command_payload_encode_va to support that if argument is
9890           NULL it ignores and checks the next argument.  Affected file
9891           lib/silccore/silccommand.c.
9892
9893         * Added silc_server_send_notify_ban to send the BAN notify
9894           type between routers.
9895
9896         * Chaned the silc_notify_payload_encode to support that if
9897           argument is NULL it ignores and checks the next argument.
9898           Affected file lib/silccore/silcnotify.c.
9899
9900         * Tested ban lists in router environment successfully.
9901
9902 Sat Mar 24 14:47:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9903
9904         * Implemented BAN command to the server, in silcd/command.[ch].
9905
9906         * Removed the BAN and INVITE_LIST modes from the CMODE command
9907           in the server code.
9908
9909         * Added function silc_string_match to regex match two strings.
9910           Affected files lib/silcutil/silcutil.[ch].
9911
9912 Fri Mar 23 22:02:40 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9913
9914         * Redefined parts of the SilcChannelEntry in the server to support
9915           the new ban and invite lists.
9916
9917 Fri Mar 23 16:25:11 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9918
9919         * Redefined the INVITE command.  The same command can be used to
9920           invite individuals to the channel but also to manage the invite
9921           list of the channel (to add to and remove from the invite list).
9922           Updated the protocol specs.
9923
9924         * Added new command SILC_COMMAND_BAN that can be used to manage
9925           the ban list of the channel.  Updated the protocol specs.
9926
9927         * Removed the channel modes: the SILC_CMODE_BAN and the
9928           SILC_CMODE_INVITE_LIST as they were a bit kludge to be included
9929           in the CMODE command.  The equivalent features are now available
9930           using INVITE and BAN commands.  Updated the protocol specs.
9931
9932         * Added new SILC_NOTIFY_TYPE_BAN notify type to notify routers
9933           in the network about change in the current ban list.  The notify
9934           type is not used by the client.
9935
9936         * Redefined parts of the SILC_NOTIFY_TYPE_INVITE command to
9937           support the invite lists.
9938
9939 Thu Mar 22 22:52:23 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9940
9941         * Added new function silc_string_regexify that converts string
9942           including wildcard characters into regex string that can
9943           be used by the GNU regex library.  Added into the file
9944           lib/silcutil/silcutil.[ch].
9945
9946           Added silc_string_regex_combine to combine to regex strings
9947           into one so that they can be used as one regex string by
9948           the GNU regex library.  Added into the file
9949           lib/silcutil/silcutil.[ch].
9950
9951           Added silc_string_regex_match to match two strings.  It returns
9952           TRUE if the strings match.  Added into lib/silcutil/silcutil.[ch].
9953
9954 Thu Mar 22 15:29:42 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9955
9956         * Imported GNU regex to the soruce tree into lib/contrib.
9957           Fixed some compiler warning from the regex.c.
9958
9959 Wed Mar 21 15:27:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9960
9961         * Fixed MOTD command in the server to work in router environment.
9962
9963         * Fixed the MOTD command in the client library to support
9964           the server argument in the command.
9965
9966         * Added `nickname_len' argument to the silc_idlist_add_client
9967           in the server, as the `nickname' argument may be binary data
9968           (it may be hash).
9969
9970         * Added silc_idlist_get_channels to return all channels from
9971           the ID list.
9972
9973         * Implemented LIST command to the server.  Affected file is
9974           silcd/command.c.
9975
9976         * Implemented the LIST command to the client library and on the
9977           user interface.
9978
9979         * Added [<user count>] argument to the LIST command reply.
9980           With private channels the user count is not shown.
9981
9982         * Updated TODO and README.
9983
9984 Tue Mar 20 21:05:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9985
9986         * The client entry's data.registered must be TRUE even with
9987           global client entry on global client list.  The data.registered
9988           is used to check whether the client is anymore in the network,
9989           for example with WHOWAS command so it must be valid.
9990
9991         * Fixed the WHOWAS command in the server.  It now actually works
9992           in router environment.  Added function into silcd/command_reply.c
9993           silc_server_command_reply_whowas_save.
9994
9995         * Added silc_idlist_purge function to the silcd/idlist.c
9996           to periodically purge the ID Cache.
9997
9998         * Fixed INFO command in the server.  It works now in router
9999           environment.  Added <server name> argument to the INFO command
10000           reply.  Updated the protocol specs.
10001
10002         * Fixed minor bug in silc_idcache_purge to not purge if the
10003           expire value is zero.
10004
10005         * Fixed various bugs in WHOIS and IDENTIFY command handling as
10006           they were buggy because of the WHOWAS information.
10007
10008         * Fixed local command MSG to handle the async resolving of
10009           the remote client properly.  It used to fail the first MSG.
10010           Affected file silc/local_command.c.
10011
10012         * Added `data_len' field to SilcIDCache context.
10013
10014 Tue Mar 20 16:29:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10015
10016         * Update TODO.  Todo in commands in the server.
10017
10018 Tue Mar 20 15:45:14 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10019
10020         * Added new notify type SILC_NOTIFY_TYPE_UMODE_CHANGE that is
10021           used by routers as broadcast packet to inform other routers
10022           about the changed user mode.
10023
10024           Implemented the notify handling in the server.  Affected file is
10025           silcd/packet_receive.c.  Added the function
10026           silc_server_send_notify_umode to the silcd/packet_send.[ch].
10027
10028         * Added new generic Channel Payload and deprecated the New Channel
10029           Payload.  The New Channel Payload is now the generic Channel
10030           Payload.
10031
10032         * Added new argument `mode' to the silc_server_send_new_channel
10033           as it is required in the Channel Payload now.
10034
10035         * Renamed the SilcChannelPayload to SilcChannelMessagePayload
10036           and created a new and real SilChannelPayload to represent the
10037           new generic Channel Payload.  Implemented the encode/decode
10038           for Channel Payload.  Affected file lib/silccore/silcchannel.[ch].
10039
10040         * Added silc_server_get_client_channel_list to return the list
10041           of channels the client has joined for WHOIS command reply.
10042           Affected file silcd/server.[ch].
10043
10044         * Implemented the channel list sending in the WHOIS command reply
10045           in server and in the client.
10046
10047           Implemented the channel list displaying on the user interface
10048           as well.  Affected file silc/client_ops.c.
10049
10050         * Added silc_channel_payload_parse_list to parse list of Channel
10051           Payloads.  It returns SilcDList list of SilcChannelPayloads.
10052           Client for example can use this function to parse the list of
10053           channels it receives in the WHOIS command reply.  The caller
10054           must free the list by calling silc_channel_payload_list_free.
10055           Affected files lib/silccore/silcchannel.[ch].
10056
10057 Mon Mar 19 21:39:15 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10058
10059         * Added one new argument <user mode> to the WHOIS command reply
10060           to return the mode of the user in SILC.  Updated the protocol
10061           specs.
10062
10063           Implemented it to the server and client.
10064
10065 Mon Mar 19 18:43:06 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10066
10067         * Fixed the mode printing on the user interface on joining.
10068           Affected file silc/client_ops.c.
10069
10070         * Implemented the UMODE command and user modes in general to the
10071           client library and to the user interface.
10072
10073         * Implemented the UMODE command to the server.
10074
10075         * The server now sends UNKNOWN_COMMAND error status if client sends
10076           unknown command.  Affected file silcd/command.c.
10077
10078         * All server commands now handle the command identifier the right
10079           way when sending the command reply to the client.  The client can
10080           use to identify the command replies with the identifier.
10081
10082 Mon Mar 19 16:13:07 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10083
10084         * Added silc_server_get_client_route to resolve the route to
10085           the client indicated by the client ID.  Affected file is
10086           silcd/server.[ch].
10087
10088         * Added silc_server_relay_packet as general function to relay
10089           packet to arbitrary destination.  This deprecates functions
10090           like _send_private_message_key, _relay_notify etc.  Affected
10091           file is silcd/packet_send.[ch].
10092
10093           Removed silc_server_send_key_agreement,
10094           silc_server_send_private_message_key and
10095           silc_server_packet_relay_notify functions from the file
10096           silcd/packet_send.[ch].
10097
10098         * Updated TODO.
10099
10100         * Implemented the SILC_NOTIFY_TYPE_KILLED notify handling in the
10101           server.  Affected file silcd/packet_receive.[ch].
10102
10103         * Implemented the KILL command to the client.  Implemented the
10104           SILC_NOTIFY_TYPE_KILLED notify handling in the client library.
10105           Affected files lib/silcclient/command[_reply].c and
10106           lib/silcclient/client_notify.c.  Implemented the KILL notify
10107           printing in the user inteface.
10108
10109         * Fixed a lot silc_parse_nick memory leaks from the client
10110           library in the file lib/silcclient/command.c.
10111
10112         * Changed the silc_server_send_notify_on_channels's `sender'
10113           argument from SilcSocketConnection to SilcClientEntry to
10114           check the sender as entry and not as connection object and not
10115           to send to the client provided as argument.  The affected file
10116           is silcd/packet_send.[ch].
10117
10118         * The notify packets that are destined directly to the client used
10119           to not to be processed by the server.  Now changed that and the
10120           server processes all notify packets.  After relaying the packet
10121           to the client the notify packet is processed in the server.
10122
10123         * The silc_server_free_client_data now checks whether there is
10124           pending outgoing traffic for the client and purges the data to
10125           the network before removing the client entry.
10126
10127 Sun Mar 18 21:02:47 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10128
10129         * Added SILC_NOTIFY_TYPE_KILLED notify type.  It is sent when
10130           an client is killed from the SILC Network.  Updated the protocol
10131           specs accordingly.
10132
10133           Added new function silc_server_send_notify_killed to the
10134           silcd/packet_send.[ch].
10135
10136         * Added function silc_server_packet_relay_notify to relay notify
10137           packets that are destined directly to a client.  In this case
10138           the server does not process the notify packets but merely relays
10139           it to the client.  Affected file silcd/packet_send.[ch].
10140
10141           Added also silc_server_packet_process_relay_notify to check
10142           whereto relay the notify.  Affected file is
10143           silcd/packet_receive.[ch].
10144
10145         * Implemented the KILL command to the server.
10146
10147         * Updated TODO.
10148
10149         * Added the backup schema desgined last fall to the protocol
10150           specs for everyone to see.  The specification is in the
10151           *-spec-xx.txt draft and the packet type definitions for the
10152           backup routers is in *-pp-xx.txt draft.  Thusly, added also
10153           new packet type SILC_PACKET_CELL_ROUTERS.
10154
10155         * A big security problem in the implementation discovered.  The
10156           signoff of an client did not cause new channel key generation
10157           which it of course should've done.  The channel keys must be
10158           always re-generated when client leaves (or signoffs) the channel.
10159           The silc_server_remove_from_channels funtion now handles
10160           the channel key re-generation.
10161
10162         * Added `sender' argument to the silc_server_send_notify_on_channels
10163           to not to send the client provided as argument.  Affected file
10164           silcd/packet_send.[ch].
10165
10166 Fri Mar 16 15:52:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10167
10168         * Implemented OPER and SILCOPER commands into the server and
10169           the client library.
10170
10171         * Added silc_auth_verify and silc_auth_verify_data to verify
10172           the authentication directly from the authentication payload.
10173           It supports verifying both passphrase and public key based
10174           authentication.  Affected file lib/silccore/silcauth.[ch].
10175
10176         * Added `hash' field to the SilcIDListData structure.  It is the
10177           hash negotiated in the SKE protocol.  Affected file is
10178           silcd/idlist.[ch].
10179
10180         * Slight redesigning of the SilcAuthPayload handling routines.
10181           Do not send SilcPKCS but SilcPublicKey as argument.
10182
10183         * Implemented the public key authentication support to the
10184           serverconfig.  The public key is loaded from the provided path
10185           and saved as authentication data to void * pointer.  Thus,
10186           changed the unsigned char *auth_data to void *auth_data;
10187
10188         * Fixed SHUTDOWN command to send the reply before the server
10189           is shutdown. :)  Affected file silcd/command.c.
10190
10191         * Fixed fatal bug in CONNECT command.  The hostname was invalid
10192           memory and server crashed.  Affected file silcd/command.c.
10193
10194         * Fixed fatal bug in CLOSE command.  The server_entry became
10195           invalid but was referenced later in the command.  Affected file
10196           silcd/command.c.
10197
10198 Thu Mar 15 12:46:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10199
10200         * Fixed fatal bug in failure packet handling.  Server ignored
10201           the failure and thus crashed when it came.
10202
10203         * Updated TODO.
10204
10205 Wed Mar 14 20:37:35 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10206
10207         * Added new SILC_CF_LAG_STRICT command flag that strictly forces
10208           that the command may be executed only once in (about) 2 seconds.
10209           The old SILC_CF_LAG flag is same but allows command bursts up
10210           to five before limiting.
10211
10212           Added the support for CF_LAG and CF_LAG_STRICT flags to the
10213           server code.  Various commands now includes the CF_LAG_STRICT
10214           flag to disallow any kind of miss-use of the command.
10215
10216         * Fixed the silc_buffer_unformat to not to allocate any data
10217           if the length of the data is zero.  It used to allocate the
10218           length + 1.  Affected file lib/silcutil/silcbuffmt.c.
10219
10220 Wed Mar 14 16:10:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10221
10222         * Changed the format of AdminConnection configuration section
10223           in the server.  Added username of the admin to the format.
10224           Affected files silcd/serverconfig.[ch].
10225
10226           Added silc_server_config_find_admin into silcd/serverconfig.[ch]
10227           to return admin configuration data by host, username and/or
10228           nickname.
10229
10230 Wed Mar 14 13:18:16 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10231
10232         * Implemented WHOWAS command to the server.  Added the functions:
10233
10234           silc_server_command_whowas_parse,
10235           silc_server_command_whowas_send_reply,
10236           silc_server_command_whowas_from_client and
10237           silc_server_command_whowas_from_server
10238
10239         * Added <Client ID> argument to the WHOWAS command reply.  Updated
10240           the protocol specs accordingly.
10241
10242         * Implemented WHOWAS command and command_reply to the client
10243           library.
10244
10245           Implemented the WHOWAS printing on the user interface.
10246
10247 Tue Mar 13 22:17:34 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10248
10249         * Added new argument to the WHOWAS command reply, the real name.
10250           It is an optional argument.  Updated the protocol specs.
10251
10252         * Added SilcIDCacheDestructor callback that is registered when
10253           the SilcIDCache is allocated.  The callback is called when
10254           an cache entry in the ID Cache expires, or is purged from the
10255           cache.  Added into lib/silccore/idcache.[ch].
10256
10257           Added silc_idlist_client_destructor to the silcd/idlist.[ch]
10258           to destruct the client entries when the cache entry expires.
10259           Other ID Cache's in server and in the client library ignores
10260           the destructor.
10261
10262         * If the ID Cache entry's `expire' field is zero then the entry
10263           never expires.  Added boolean `expire' argument to the
10264           silc_idcache_add function in the lib/silccore/idcache.[ch].
10265           If it is TRUE the default expiry value is used.
10266
10267         * Added silc_server_free_client_data_timeout that is registered
10268           when client disconnects.  By default for 5 minutes we preserve
10269           the client entry for history - for WHOWAS command.
10270
10271 Tue Mar 13 13:26:18 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10272
10273         * Added support to the server to enforce that commands are not
10274           executed more than once in 2 seconds.  If server receives
10275           commands from client more frequently, timeout is registered
10276           to process the commands.  Affected file silcd/command.c.
10277           Added new function silc_server_command_process_timeout.
10278
10279         * Changed NICK_NOTIFY handling in client library to check that
10280           if the client's nickname was changed, so there is no need to
10281           resolve anything from the server.
10282
10283         * Removed error printing from the WHOIS and IDENTIFY commands.
10284           If error occurs then it is ignored silently in the client library.
10285           The application, however, may map the received error to
10286           human readable error string.  The application currently maps
10287           the NO_SUCH_NICKNAME error to string.
10288
10289         * Made the command status message public to the application.  Moved
10290           them from lib/silcclient/command_reply.c to
10291           lib/silcclient/command_reply.h.  The application can map the
10292           received command status to the string with the
10293           silc_client_command_status_message function.
10294
10295         * Added check to the server to check that client's ID is same
10296           as the Source ID in the packet the client sent.  They must
10297           match.
10298
10299 Tue Mar 13 12:49:21 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10300
10301         * Added dist-bzip hook to the Makefile.am to make bzip2
10302           compressed distributions.
10303
10304 Mon Mar 12 18:43:38 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10305
10306         * Server now enforces the maximum length for the nickname and
10307           the channel as protocol specification dictates.  128 bytes for
10308           nickname and 256 bytes for channel name.
10309
10310         * Moved the WHOIS printing to the application.  The client libary
10311           does not print out the WHOIS information anymore, the application
10312           must do it.  Renamed silc_client_command_reply_whois_print to
10313           the silc_client_command_reply_whois_save.
10314
10315           The client's idle time is also sent to the application now, and
10316           the idle is shown on screen.
10317
10318         * Added silc_client_command_reply_identify_save to save the
10319           received IDENTIFY entries.
10320
10321         * Do not check for channel private keys in message sending and
10322           reception if the channel does not have the PRIVKEY mode set.
10323           Affected file lib/silclient/client_channel.c.
10324
10325 Sun Mar 11 20:25:06 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10326
10327         * Fixed a minor bug if WHOIS and IDENTIFY command parsing that
10328           just surfaced after chaning the JOIN procedure.
10329
10330 Sun Mar 11 14:59:05 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10331
10332         * Added silc_client_get_clients_by_list to get client entries
10333           from Client ID list, that is returned for example by JOIN
10334           and USERS command replies.  The application should use this
10335           function for example when JOIN command reply is received to
10336           resolve the clients already on the channel (library does not
10337           do that anymore as USERS command reply is not used in the JOIN
10338           procedure anymore).  Affected files lib/silcclient/silcapi.h and
10339           lib/silcclient/idlist.c.
10340
10341         * JOIN command reply and USERS command reply returns now SilcBuffer
10342           pointers instead of unsigned char pointers when returning
10343           the client list and mode list.
10344
10345         * Added <Client ID> argument to the JOIN command reply, mainly
10346           for the server to identify for which client the command was
10347           originally sent.  Updated protocol specs accordingly.
10348
10349         * Added SilcDlist private_key pointer to the SilcChannelEntry
10350           in the client to support the channel private keys.  Affected
10351           file is lib/silcclient/idlist.h.
10352
10353         * Added SilcChannelPrivateKey argument to the function
10354           silc_client_send_channel_message so that application can choose
10355           to use specific private ke if it wants to.  If it is not provided,
10356           the normal channel key is used, unless private keys are set.
10357           In this case the first (key that was added first) is used
10358           as the encryption key.
10359
10360         * Implemented the support for channel private key handling.
10361           Implemented the following functions:
10362
10363           silc_client_add_channel_private_key,
10364           silc_client_del_channel_private_keys,
10365           silc_client_del_channel_private_key,
10366           silc_client_list_channel_private_keys and
10367           silc_client_free_channel_private_keys
10368
10369           Affected file lib/silcclient/client_channel.c.
10370
10371         * Added the support for the private keys in the channel message
10372           sending and encryption and in the message reception and
10373           decryption.  Affected funtions are
10374           silc_client_send_channel_message and silc_client_channel_message.
10375
10376 Sat Mar 10 21:36:22 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10377
10378         * Added SKE's key verify callback to the client library's
10379           KE protocol context. Affected files lib/silcclient/protocol.[ch].
10380
10381         * Removed the statement that server (or router) must send USERS
10382           command reply when joining to the channel so that the client
10383           knows who are on the channel.  Instead, the client list and
10384           client's mode list is now sent in the JOIN command reply to the
10385           client who joined channel.  This is better solution.
10386
10387         * Added function silc_server_get_users_on_channel and function
10388           silc_server_save_users_on_channel to the silcd/server.[ch].
10389
10390         * Removed function silc_server_command_send_users from the
10391           silcd/command.c.
10392
10393         * Do not show topic on the client library anymore.  The topic is
10394           sent in the command reply notify to the application and the
10395           application must show the topic now.
10396
10397 Sat Mar 10 00:07:37 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10398
10399         * Added client searching by nickname hash into the IDENTIFY and
10400           WHOIS commands in the server as they were clearly missing from
10401           them.  Affected file is silcd/command.c.
10402
10403         * Fixed a bug in private message receiving in the client library.
10404           The remote ID was freed and it wasn't supposed, now it is
10405           duplicated.
10406
10407 Fri Mar  9 12:40:42 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10408
10409         * Minor fix to the channel payload; allocate the data area, as it
10410           needs to be of specific length.
10411
10412         * If the key agreement port is zero then the operating
10413           system will define the bound port.  Affected files are
10414           lib/silcclient/silcapi.h and lib/silcclient/client_keyagr.c.
10415
10416         * Added new function silc_channel_payload_decrypt into the file
10417           lib/silccore/silcchannel.[ch].
10418
10419         * Moved the channel message etc, check from silc_packet_decrypt
10420           to applications.  The library calls now a generic
10421           SilcPacketCheckDecrypt callback which is to return TRUE or FALSE
10422           when the packet is either normal or special.  This was done to
10423           allow more wide range of checking that was not allowed when
10424           the code was in library.  Now applications can do virtually any
10425           checks to the packet and return to the library the decision how
10426           the packet should be processed.  Affected files are
10427           lib/silccore/silcpacket.[ch].
10428
10429           Added silc_server_packet_decrypt_check to the server and
10430           silc_client_packet_decrypt_check to the client library.
10431
10432         * Added silc_server_packet_send_srcdest into silcd/packet_send.[ch]
10433           to send with specified source and destination information.
10434
10435         * Channel message delivery between routers was broken after the
10436           channel key distribution was fixed earlier.  The channel key
10437           was used be to distributed to other routers as well which is not
10438           allowed by the protocol.  Now this is fixed and channel keys
10439           really are cell specific and the channel message delivery between
10440           routers comply with the protocol specification.
10441
10442         * Fixed various commands in server to check also the global list
10443           for the channel entry and not just the local list.  The affected
10444           file silcd/command.c.
10445
10446 Thu Mar  8 21:39:03 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10447
10448         * Added assert()s to buffer formatting and unformatting routines
10449           to assert (if --enable-debug) when error occurs.  Affected
10450           file: lib/silcutil/silcbuffmt.c.
10451
10452         * Changed to auto-reconnect to check whether the remote host is
10453           router and register the re-connect timeout if it is.  It used
10454           to check that whether we are normal server, but router must do
10455           auto-reconnect with another router as well.  Affected file
10456           silcd/server.c.
10457
10458         * Removed the [<key len>] option from CMODE command as the cipher
10459           name decides the key length, nowadays.  See the defined ciphers
10460           from the protocol specification.
10461
10462         * Added [<hmac>] option to the CMODE command to define the HMAC
10463           for the channel.  Added SILC_CMODE_HMAC channel mode.
10464
10465         * Added [<hmac>] option for the JOIN command so that user can
10466           select which HMAC is used to compute the MACs of the channel
10467           messages.
10468
10469         * Added Hmac field to the Channel Message Payload.  The integrity
10470           of plaintext channel messages are now protected by computing
10471           MAC of the message and attaching the MAC to the payload.  The
10472           MAC is encrypted.  Now, it is clear that this causes some
10473           overhead to the size of the packet but rationale for this is that
10474           now the receiver can verify whether the channel message decrypted
10475           correctly and also when private keys are set for the channel the
10476           receiver can decrypt the packet with several keys and check from
10477           the MAC which key decrypted the message correctly.
10478
10479         * Added silc_cipher_encrypt and silc_cipher_decrypt into the
10480           lib/silccrypt/silccipher.[ch].
10481
10482         * Added silc_hash_len to return the digest length into the
10483           lib/silcrypt/silchash.[ch].
10484
10485         * Rewrote parts of Silc Channel Payload interface in the
10486           lib/silccore/silcchannel.[ch].  The encode function now also
10487           encrypts the packet and parse function decrypts it.
10488
10489 Wed Mar  7 20:58:50 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10490
10491         * Fixed a minor formatting bug in the SKE's key material processing.
10492           It actually might have processed the keys wrong way resulting
10493           into wrong keys.
10494
10495         * Redefined the mandatory HMAC algorithms and added new algorithms.
10496           Added hmac-sha1-96 and hmac-md5-96 which are normal hmac-sha1
10497           and hmac-md5 truncated to 96 bits.  The mandatory is now
10498           hmac-sha1-96.  Rest are optional (including the one that used
10499           to be mandatory).  Rationale for this is that the truncated HMAC
10500           length is sufficient from security point of view and can actually
10501           make the attack against the HMAC harder.  Also, the truncated
10502           HMAC causes less overhead to the packets.  See the RFC2104 for
10503           more information.
10504
10505         * Added new [hmac] configuration section.  The SKE used to use
10506           the hash names (md5 and sha1) in the SKE proposal as HMCAS which
10507           is of course wrong.  The official names that must be proposed in
10508           the SKE are the ones defined in the protocol specification
10509           (hmac-sha1-96 for example).  The user can configure any hmac
10510           using any hash function configured in the [hash] section.  At
10511           least, the mandatory must be configured.
10512
10513           Rewrote the HMAC interface in lib/silccrypt/silchmac.[ch].
10514
10515         * Added HMAC list to the SKE proposal list.  It has now both
10516           hash algorithm list and HMAC list.  This makes the protocol
10517           incompatible with previous versions.  The SKE now seems to work
10518           the way it is supposed to work, for the first time actually.
10519
10520         * Defined plain Hash algorithms to the protocol specification.
10521           Added sha1 and md5.
10522
10523 Tue Mar  6 15:36:11 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10524
10525         * Implemented support for key agreement packets into the server.
10526           Added functions silc_server_key_agreement and
10527           silc_server_send_key_agreement.  Other than these functions,
10528           server has nothing to do with this packet.
10529
10530         * Added support for private message key packets into the server.
10531           Added functions silc_server_private_message_key and
10532           silc_server_send_private_message_key.
10533
10534         * Updated TODO.
10535
10536         * Changed the silc_[client|server]_protocol_ke_set_keys to be
10537           called in the protocol's final callback instead in the END
10538           protocol state.  This makes a little more sense and in the same
10539           time in client we can use the same protocol routines for normal
10540           key exchange and to key agreement packet handling as well.
10541
10542         * Added to both client's and server's KE protocol context the
10543           SilcSKEKeyMaterial pointer to save the key material.  We will
10544           bring the key material to the protocol's final callback by doing
10545           this.  The final callback must free the key material.
10546
10547         * Added SKE's packet_send callback into client's KE protocol
10548           context so that the caller can choose what packet sending function
10549           is used.  This way we can use different packet sending when
10550           doing normal SKE when doing key agreement packet handling (in
10551           the key agreement packet handling we do not want to encrypt
10552           the packets).
10553
10554         * Implemented the responder side of the key agreement routines
10555           in the client.  The client can now bind to specified port and
10556           accept incoming key negotiation.  The key material is passed
10557           to the application after the protocol is over.
10558
10559         * Implemented the processing of incoming Key Agreement packet
10560           in the client.  Added function silc_client_key_agreement to
10561           process the packet.
10562
10563         * Implemented the intiator side of the key agreement routines
10564           in the client.  The client can now initiate key agreement with
10565           another remote client.  The key material is passed to the
10566           application after the protocol is over.
10567
10568         * Created client_keyagr.c to include all the key agreement
10569           routines.
10570
10571         * Added macro SILC_TASK_CALLBACK_GLOBAL which is equal to the
10572           SILC_TASK_CALLBACK except that it is not static.
10573
10574         * Created client_notify.c and moved the Notify packet handling
10575           from the client.[ch] into that file.
10576
10577         * Created client_prvmsg.c and moved all private message and
10578           private message key routines from the client.[ch] into that file.
10579
10580         * Create client_channel.c and moved all channel message and
10581           channel private key routines from the client.[ch] into that file.
10582
10583         * Changed silc_client_get_client_by_id_resolve to resolve with
10584           WHOIS command instead of IDENTIFY command, in the file
10585           lib/silclient/idlist.c.
10586
10587 Mon Mar  5 18:39:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10588
10589         * Implemented the SKE's responder side to the Client library.
10590
10591         * When FAILURE is received to the protocol do not trust it
10592           blindly.  Register a timeout to wait whether the remote closes
10593           the connection as it should do it, only after that process the
10594           actual failure.  This was changed to both client and server.
10595
10596         * Added client_internal.h to include some of the structures
10597           there instead of client.h in lib/silcclient/.
10598
10599         * Added function silc_task_unregister_by_callback to unregister
10600           timeouts by the callback function.
10601
10602 Sat Mar  3 19:15:43 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10603
10604         * Some "Incomplete WHOIS info" errors has been appearing on the
10605           log files.  Took away the entry->userinfo check from WHOIS
10606           reply sending.  The entry->userinfo is now " " if client did not
10607           provide one.  I thought this was fixed earlier but something
10608           is wrong still.  Let's see if the error still appears.
10609
10610 Wed Feb 28 20:56:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10611
10612         * Fixed a minor bug in the login when the channel key is
10613           re-generated in the server.  It used to generate the key in
10614           wrong order and thus caused problems in the channel traffic.
10615
10616         * Fixed a minor bug in channel key distsribution after
10617           KICK command.  The key was not sent to the router even though
10618           it should've been.
10619
10620 Tue Feb 27 20:24:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10621
10622         * Added silc_ske_process_key_material_data as generic routine
10623           to process any key material as the SILC protocol dictates.  The
10624           function is used by the actual SKE library but can be used by
10625           applications as well.  This relates to the private message keys
10626           and the channel private keys since they must be processed the
10627           same way the normal SILC session keys.  The protocol dictates
10628           this.  Affected files: lib/silcske/silcske.[ch].
10629
10630           Added also silc_ske_free_key_material to free the
10631           SilcSKEKeyMaterial structure.
10632
10633         * Defined silc_cipher_set_key function to set the key for
10634           cipher without using the object's method function.  The affected
10635           files: lib/silccrypt/silccipher.[ch].
10636
10637         * Implemented silc silc_client_add_private_message_key,
10638           silc_client_add_private_message_key_ske,
10639           silc_client_del_private_message_key,
10640           silc_client_list_private_message_keys and
10641           silc_client_free_private_message_keys functions in the
10642           client library.
10643
10644           Added functions silc_client_send_private_message_key to send
10645           the Private Message Key payload and silc_client_private_message_key
10646           to handle incoming Private Message Key payload.
10647
10648         * Added Cipher field to the Private Message Key payload to set
10649           the cipher to be used.  If ignored, the default cipher defined
10650           in the SILC protocol (aes-256-cbc) is used.
10651
10652 Tue Feb 27 13:30:52 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10653
10654         * Removed lib/silcclient/ops.h file.
10655
10656           Redefined parts of the SILC Client Library API. Created new
10657           file silcapi.h that deprecates the ops.h file and defines the
10658           published Client Library API.  Defined also private message key
10659           API and channel private key API into the file.
10660
10661           This is the file that the application must include from the
10662           SILC Client Library.  Other files need not be included by
10663           the application anymore.
10664
10665         * Added new key_agreement client operation callback and also
10666           defined the Key Agreement library API for the application.
10667
10668 Tue Feb 27 11:28:31 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10669
10670         * Added new packet type: SILC_PACKET_KEY_AGREEMENT.  This packet
10671           is used by clients to request key negotiation  between another
10672           client in the SILC network.  If the negotiation is started it
10673           is performed using the SKE protocol.  The result of the
10674           negotiation, the secret key material, can be used for example
10675           as private message key.
10676
10677           Implemented the Key Agreement payload into the files
10678           lib/silccore/silauth.[ch].
10679
10680 Mon Feb 26 12:13:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10681
10682         * Redefined ciphers for the SILC protocol.  Added some new ciphers
10683           and defined the key lengths for the algorithms.  Changed the
10684           code accordingly.  The default key length is now 256 bits.
10685
10686         * Fixed SKE key distribution function silc_ske_process_key_material
10687           when the key length is more than 128 bits.  The default key
10688           length in SILC is now 256 bits.
10689
10690         * Added new command status type: SILC_STATUS_ERR_UNKOWN_ALGORITHM
10691           to indicate unsupported algorithm.
10692
10693         * Renamed rijndael.c to aes.c and all functions as well.
10694
10695         * Fixed a long standing channel key setting bug in client library.
10696           Weird that it has never surfaced before.
10697
10698         * Fixed bug in channel deletion.  If the entire channel is removed
10699           then it must also delete the references of the channel entry
10700           from the client's channel list as the client's channel entry and
10701           the channel's client entry share same memory.
10702
10703 Sun Feb 25 20:47:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10704
10705         * Implemented CONNECT and SHUTDOWN commands in the client.
10706
10707         * Implemented CLOSE command to the client.
10708
10709         * Added the function silc_idlist_find_server_by_name into the
10710           files silcd/idlist.[ch].
10711
10712           Added the function silc_idlist_find_server_by_conn into the
10713           files silcd/idlist.[ch].
10714
10715 Sat Feb 24 23:45:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10716
10717         * DIE command was renamed to SHUTDOWN.  Updated the both code
10718           and protocol specs.
10719
10720         * Defined SILC_UMODE_NONE, SILC_UMODE_SERVER_OPERATOR and
10721           SILC_UMODE_ROUTER_OPERATOR modes into lib/silccore/silcmode.h.
10722
10723         * Implemented CONNECT, CLOSE and SHUTDOWN commands to the server
10724           side.
10725
10726         * Added function silc_server_create_connection function to create
10727           connection to remote router.  My server implementation actually
10728           does not allow router to connect to normal server (it expects
10729           that normal server always initiates the connection to the router)
10730           so the CONNECT command is only good for connecting to another
10731           router.
10732
10733 Sat Feb 24 16:03:45 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10734
10735         * Added SILC_NOTIFY_TYPE_KICKED to indicate that the client
10736           or some other client was kicked from the channel.
10737
10738           Implemented the handling of the notify type to both client
10739           and server.
10740
10741           Implemented silc_server_send_notify_kicked to send the KICKED
10742           notify.  It is used to send it to the server's primary router.
10743
10744         * Implemented the KICK command into server and client.
10745
10746         * Added `query' argument to the silc_idlist_get_client function
10747           to indicate whether to query the client from server or not if
10748           it was not found.
10749
10750         * Added new command status type SILC_STATUS_ERR_NO_CHANNEL_FOPRIV
10751           to indicate that the client is not channel founder.
10752
10753         * Updated TODO.
10754
10755 Sat Feb 24 00:00:55 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10756
10757         * Removed the rng context from SilcPacketContext structure and
10758           changed that the packet routine uses the Global RNG API.
10759
10760 Fri Feb 23 11:22:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10761
10762         * Added support for quit message that client can "leave" on the
10763           channel when it quits the SILC.  It is ditributed inside the
10764           SILC_NOTIFY_TYPE_SIGNOFF notify type.
10765
10766           Added silc_server_free_client_data that will take the
10767           signoff message as argument.
10768
10769         * Changed SKE routines to use the silc_pkcs_sign/verify routines.
10770
10771 Thu Feb 22 23:05:36 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10772
10773         * Updated parts of the protocol specification to keep it up
10774           to date.
10775
10776 Thu Feb 22 15:08:20 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10777
10778         * Added List flag (SILC_PACKET_FLAG_LIST) to indicate list of
10779           payloads in one packet.
10780
10781         * Deprecated following packet types: NEW_ID_LIST, NEW_CHANNEL_LIST,
10782           NEW_CHANNEL_USER_LIST, SET_MODE and SET_MODE_LIST.  List packets
10783           use now the new List flag.
10784
10785         * Also deprecated the following packet types: REPLACE_ID,
10786           NEW_CHANNEL_USER and REMOVE_CHANNEL_USER packet types.
10787
10788         * Added list support for Notify packet in server.
10789
10790         * Added silc_server_send_notify_channel_change to send the
10791           CHANNEL_CHANGE notify type to replace channel ID's.  Deprecates
10792           the silc_server_send_replace_id.
10793
10794         * Added silc_server_send_notify_nick_change to send the
10795           NICK_CHANGE notify type.  Deprecates the function
10796           silc_server_send_replace_id.
10797
10798         * Added silc_server_send_notify_join to send the JOIN notify type.
10799           Deprecates the function silc_server_send_new_channel_user.
10800
10801         * Added silc_server_send_notify_leave to send LEAVE notify type.
10802           Deprecates the function silc_server_send_remove_channel_user.
10803
10804         * Added silc_server_send_notify_cmode and
10805           silc_server_send_notify_cumode to send CMODE and CUMODE notify
10806           types.  Deprecates the silc_server_send_set_mode function.
10807
10808         * Added SERVER_SIGNOFF notify type to indicate that server has
10809           quit.  This means that all clients on the channel from that
10810           server will drop.  This can be also used when netsplit happens.
10811
10812           Deprecated REMOVE_ID packet type since it is not needed anymore
10813           even from server.
10814
10815           Added silc_server_send_notify_server_signoff to send the
10816           SERVER_SIGNOFF notify type.  Deprecates the function
10817           silc_server_send_remove_id.
10818
10819           Added also silc_server_send_notify_signoff to send the
10820           SIGNOFF notify type.
10821
10822         * Employed the PKCS #1. It is the mandatory way to do RSA in the
10823           SILC protocol from this day on.  Changed the protocol
10824           specification as well.
10825
10826         * Added silc_server_send_notify_topic_set to send TOPIC_SET
10827           notify type.  It is used between routers to notify about
10828           topic changes on a channel.
10829
10830         * Added silc_id_dup into lib/silccore/id.[ch] to duplicate
10831           ID data.
10832
10833         * Partly updated the protocol specification to comply with the
10834           changes now made.  It is still though a bit outdated.
10835
10836         * The JOIN notify type now takes one extra argument <Channel ID>.
10837           The packet used to be destined to the channel but now the
10838           JOIN type may be sent as list thus it is impossible to
10839           destine it to any specific channel.  By adding this argument
10840           it is again possible.
10841
10842 Wed Feb 21 22:39:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10843
10844         * Added CREDITS file.  The CHANGES and CREDITS file will appear
10845           in the distribution as well.
10846
10847 Wed Feb 21 14:17:04 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10848
10849         * Implemented CMODE_CHANGE, CUMODE_CHANGE and TOPIC_SET notify
10850           types in the server's silcd/packet_receive.c.
10851
10852         * Implemented CMODE and CUMODE to work in router environment.
10853
10854         * Fixed minor encoding and decoding buglet from the
10855           lib/silccore/silcmode.c.
10856
10857         * Fixed buffer overflow from lib/silcclient/command.c in USERS
10858           command parsing.
10859
10860 Wed Feb 21 12:44:00 EET 2001  Mika Boström <bostik@lut.fi>
10861
10862         * Changed all SilcConfigServer* and silc_config_server* to
10863           SilcServerConfig* and silc_server_config*, respectively.
10864           Patch by Bostik.
10865
10866 Wed Feb 21 00:10:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10867
10868         * Associated the ID (client or server ID) to the Authentication
10869           Payload to avoid any possibility of forging.  Updated the
10870           protocol specification and the code accordingly.
10871
10872 Tue Feb 20 14:14:14 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10873
10874         * The RSA key length is now save to the RsaKey context in the
10875           key generation process in lib/silccrypt/rsa.c.  The key length
10876           is now used to figure out the maximum size of the block allowed
10877           to be encrypted/signed.
10878
10879         * Added silc_mp_mp2bin_noalloc into lib/silcmath/mpbin.[ch].  It
10880           is equivalent to the silc_mp_mp2bin but does not allocate any
10881           memory.
10882
10883         * Changed silc_mp_mp2bin API to take length argument.  If it is
10884           non-zero then the buffer is allocated that large.  If zero, then
10885           the size is approximated using silc_mp_sizeinbase, which however
10886           is not relieable.
10887
10888         * Created Global RNG API which is global RNG that application can
10889           initialize.  After initializing, any routine anywhere in the
10890           code (including library) can use RNG without allocating a new
10891           RNG object.  This was done to allow this sort of use of the
10892           RNG in code that has no chance to allocate RNG object.  All
10893           applications currently allocate this and many routines in the
10894           library use this.  Affected file lib/silccrypt/silcrng.[ch].
10895
10896         * Removed the RNG kludge from lib/silcmath/primegen.c and changed
10897           it to use the Global RNG API.
10898
10899         * Defined Authentication Payload into protocol specification that
10900           is used during SILC session to authenticate entities.  It is
10901           used for example by client to authenticate itself to the server
10902           to obtain server operator privileges.
10903
10904           Implemented this payload into the lib/silccore/silcauth.[ch].
10905           Implemented also routines for public key based authentication
10906           as the new protocol specification dictates.
10907
10908           Moved definitions of different authentication methods from
10909           lib/silccore/silcprotocol.h into lib/silccore/silcauth.h.
10910
10911         * Added silc_pkcs_encrypt, silc_pkcs_decrypt, silc_pkcs_sign,
10912           silc_pkcs_verify and silc_pkcs_sign_with_hash and
10913           silc_pkcs_verify_with_hash functions into the file
10914           lib/silccrypt/silcpkcs.[ch].
10915
10916 Mon Feb 19 19:59:28 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10917
10918         * The client entry's userinfo pointer must be always valid.
10919           Otherwise the [<unknown>] bug will surface beacuse the WHOIS
10920           will fail since it requires the userinfo.  Now, the userinfo
10921           is allocated as "" if actual userinfo does not exist.  Actually,
10922           it must exist and it is totally Ok to drop client connections
10923           that does not announce the userinfo.  However, we will make
10924           this workaround for now.
10925
10926         * Added silc_net_get_remote_port into lib/silcutil/silcnet.[ch]
10927           to return the remote port by socket.
10928
10929 Mon Feb 19 14:26:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10930
10931         * Changed SILC_SERVER_COMMAND_EXEC_PENDING macro to the name
10932           SILC_SERVER_PENDING_EXEC and added an new macro
10933           SILC_SERVER_PENDING_DESTRUCTOR which is called to free the
10934           data or when error occurs while processing the pending command.
10935
10936           Added new argument `destructor' into silc_server_command_pending
10937           and to the SilcServerCommandPending object.  This destructor is
10938           now called after calling the pending callback or if error occurs
10939           immediately.  If error occurs the actual pending callback won't
10940           be called at all - only the destructor.  The destructor may be
10941           NULL if destructor is not needed.
10942
10943           All this applies for client library code as well.  Similar
10944           changes were made there as well for the pending commands.
10945
10946           In the client, the application must now allocate the
10947           SilcClientCommandContext with the silc_client_command_alloc
10948           function.
10949
10950         * Added reference counter to the SilcServerCommandContext.  Added
10951           function silc_server_command_alloc and silc_server_command_dup
10952           functions.
10953
10954           Same type of functions added to the client library for the same
10955           purpose as well.
10956
10957         * Removed the cmd_ident from IDListData away since it is now
10958           global for all connections.  It is the command identifier used
10959           in command sending and with pending commands.  The affected file
10960           is silcd/idlist.h.
10961
10962         * Added reference counter to the SilcSocketConnection objecet to
10963           indicate the usage count of the object.  The object won't be
10964           freed untill the reference counter hits zero.  Currently only
10965           server uses this, and client ignores it.  The client must be
10966           set to use this too later.  The affected files are
10967           lib/silccore/silcsockconn.[ch].  Added also the function
10968           silc_socket_dup to increase the reference counter.
10969
10970           This was mainly added because it is possible that the socket
10971           is removed underneath of pending command or other async
10972           operation.  Now it won't be free'd and proper DISCONNECTING
10973           flags, etc. can be set to avoid sending data to connection that
10974           is not valid anymore.
10975
10976         * Added SILC_SET_DISCONNECTING to server.c when EOF is read from
10977           the connection.  After that it sets SILC_SET_DISCONNECTED.
10978           It is, however, possible that the socket data is not still freed.
10979           The silc_server_packet_process now checks that data is not
10980           read or written to connection that is DISCONNECTED.  The socket
10981           get's freed when the reference counter hits zero.
10982
10983 Mon Feb 19 00:50:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10984
10985         * Changed the client operation API: channel_message operation's
10986           `sender' is now the client entry of the sender, not the nickname
10987           and the `channel' is the channel entry, not the channel name.
10988
10989           In the private_message operation the `sender' is now also the
10990           client entry of the sender not the nickname.
10991
10992           Affected file is lib/silcclient/ops.h and all applications
10993           using the client operations.
10994
10995 Sat Feb 17 22:11:50 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10996
10997         * Moved the calling of ops->connect() from connect_to_server_final
10998           into receive_new_id functin since that is the point when the
10999           client is actually allowed to send traffic to network.  The
11000           affected file is lib/silcclient/client.c.
11001
11002 Sat Feb 17 13:15:35 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11003
11004         * When receiving NEW_CHANNEL_LIST, NEW_CHANNEL_USER_LIST,
11005           NEW_ID_LIST and SET_MODE_LIST packets, broadcast the list packet
11006           (if needs broadcasting) instead of broadcasting the packets one
11007           by one which would make a burst in the network traffic.
11008
11009         * Added `broadcast' argument to the functions in silcd/server.[ch]
11010           silc_server_create_new_channel[_with_id] to indicate whether
11011           to send New Channel packet to primary router.
11012
11013 Sat Feb 17 01:06:44 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11014
11015         * Added new function into the silcd/server.[ch] files:
11016           silc_server_create_new_channel_with_id to create new channel with
11017           already existing Channel ID.
11018
11019         * Added new packet type SILC_PACKET_SET_MODE_LIST into the file
11020           lib/silccore/silcpacket.h.  This packet is used t send list of
11021           Set Mode payloads inside one packet.  Server uses this to set
11022           the modes for the channels and clients on those channels, that it
11023           announced to the router when it connected to it.  The protocol
11024           specification has been updated accordingly.
11025
11026         * The silc_server_new_channel did not handle the packet coming
11027           from normal server as it normally does not send that.  However,
11028           when it announces its channels it does send it.  Implemented
11029           the support for that.
11030
11031         * Added SILC_ID_CHANNEL_COMPARE macro to compare to Channel ID's
11032           into the file lib/silccore/id.h.
11033
11034 Fri Feb 16 23:57:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11035
11036         * Fixed memory leaks in the functions silc_idlist_del_client,
11037           silc_idlist_del_channel and silc_idlist_del_server in the file
11038           silcd/idlist.c.  All of those leaked like a sieve.
11039
11040         * Fixed some small memory leaks in the client's function
11041           silc_client_notify_by_server.
11042
11043         * Added functions into silcd/server.c: silc_server_announce_clients,
11044           silc_server_announce_channels and silc_server_announce_server.
11045           These functions are used by normal and router server to announce
11046           to its primary router about clients, channels and servers (when
11047           router) that we own.  This is done after we've connected to the
11048           router.
11049
11050           These functions effectively implements the following packet types:
11051           SILC_PACKET_NEW_CHANNEL_LIST, SILC_PACKET_NEW_CHANNEL_USER_LIST
11052           and SILC_PACKET_NEW_ID_LIST.
11053
11054         * Added new functions into the silcd/packet_receive.[ch]:
11055           silc_server_new_id_list, silc_server_new_channel_list and
11056           silc_server_new_channel_user_list to handle the incoming
11057           NEW_ID_LIST, NEW_CHANNEL_LIST and NEW_CHANNEL_USER_LIST packets.
11058
11059         * Added support of changing Channel ID in the function
11060           silc_server_replace_id.  If the server that announces a channel
11061           to the router already exists in the router (with same name but
11062           with different Channel ID), router is responsible to send
11063           Replace ID packet to the server and force the server to change
11064           the Channel ID to the one router has.
11065
11066         * Added new notify type SILC_NOTIFY_TYPE_CHANNEL_CHANGE to notify
11067           client that the Channel ID has been changed by the router.  The
11068           normal server sends this to the client.  Client must start using
11069           the new Channel ID as the channel's ID.
11070
11071           Implemented handling of this new type into lib/silcclient/client.c
11072           into the function silc_client_notify_by_server.
11073
11074         * Added new function silc_idlist_replace_channel_id into the files
11075           silcd/idlist.[ch] to replace the Channel ID.
11076
11077 Fri Feb 16 14:14:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11078
11079         * Call silc_server_command_identify_check always when processing
11080           the IDENTIFY command in silcd/command.c
11081
11082 Thu Feb 15 20:07:37 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11083
11084         * Added new packet type SILC_PACKET_HEARTBEAT that is used to
11085           send keepalive packets.  The packet can be sent by clients,
11086           servers and routers.
11087
11088           Added function silc_socket_set_heartbeat into the file
11089           lib/silccore/silcsockconn.[ch] to set the heartbeat timeout.
11090           If not set, the heartbeat is not performed.  The actual
11091           heartbeat is implemented in the low level socket connection
11092           library.  However, application is responsible of actually
11093           sending the packet.
11094
11095           Added silc_server_send_heartbeat to send the actual heartbeat
11096           packet into silcd/packet_send.[ch].  Server now performs
11097           keepalive with all connections.
11098
11099         * Added silc_task_get_first function into lib/silcutil/silctask.c
11100           to return the timeout task with shortest timeout.  There was a bug
11101           in task unregistration that caused problems.  TODO has been
11102           updated to include that task system must be rewritten.
11103
11104         * The client library will now resolve the client information when
11105           receiving JOIN notify from server for client that we know but
11106           have incomplete information.
11107
11108         * Rewrote parts of silc_server_remove_from_channels and
11109           silc_server_remove_from_one_channel as they did not remove the
11110           channel in some circumstances even though they should've.
11111
11112         * Encryption problem encountered in server:
11113
11114           The LEAVE command used to send the Channel Key packet to the
11115           router immediately after generating it.  However, the code
11116           had earlier sent Remove Channel user packet but not immediately,
11117           ie. it was put to queue.  The order of packets in the router
11118           was that Channel Key packet was first and Remove Channel User
11119           packet was second, even though they were encrypted in the
11120           reverse order.  For this reason, MAC check failed.  Now, this
11121           is fixed by not sending the Channel Key packet immediately but
11122           putting it to queue.  However, this is more fundamental problem:
11123           packets that are in queue should actually not be encrypted
11124           because packets that are sent immediately gets encrypted
11125           actually with wrong IV (and thus MAC check fails).  So, packets
11126           that are in queue should be encrypted when they are sent to
11127           the wire and not when they put to the queue.
11128
11129           However, the problem is that the current system has not been
11130           designed to work that way.  Instead, the packet is encrypted
11131           as soon as possible and left to the queue.  The queue is then
11132           just purged into wire.  There won't be any fixes for this
11133           any time soon.  So, the current semantic for packet sending
11134           is as follows:
11135
11136           o If you send packet to remote host and do not force the send
11137           (the packet will be in queue) then all subsequent packets to the
11138           same remote host must also be put to the queue.  Only after the
11139           queue has been purged is it safe again to force the packet
11140           send immediately.
11141
11142           o If you send all packets immediately then it safe to send
11143           any of subsequent packets through the queue, however, after
11144           the first packet is put to queue then any subsequent packets
11145           must also be put to the queue.
11146
11147           Follow these rules and everything works fine.
11148
11149 Thu Feb 15 14:24:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11150
11151         * Added new function silc_server_remove_clients_by_server to
11152           remove all client entries from ID list when the server connection
11153           is lost.  In this case it is also important to invalidate all
11154           client entires as they hold the invalid server entry.  This
11155           fixes fatal bug when server has lost connection and will reconnect
11156           again.
11157
11158 Wed Feb 14 16:03:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11159
11160         * Made some sanity checks to silc_server_daemonise like to check
11161           whether the requested user and group actually exists.
11162
11163         * Added sanity check to SKE's silc_ske_responder_finish to check
11164           that the public and private key actually is valid.
11165
11166         * Invalidate the client's nickname when receiving Replace ID
11167           packet and the Client ID is being replaced.  This means that the
11168           server will query the nickname if someone needs it (client)
11169           a bit later.
11170
11171         * Sort the ID Cache in client library when the ID Cache data
11172           has changed (needs sorting).
11173
11174         * Do not allow for SILC client to create several connections to
11175           several servers.  The client does not support windows right now
11176           and generating multiple connections causes weird behaviour.
11177
11178           Irssi-silc client does support windows and can handle several
11179           connections without problems, see: www.irssi.org and SILC plugin.
11180
11181         * Fixed some places where client was added to the IDList.  The
11182           rule of thumb is following (in order to get everything right):
11183           If the client is directly connected local client then the
11184           `connection' argument must be set and `router' argument must be
11185           NULL to silc_idlist_add_client function.  If the client is not
11186           directly connected client then the `router' argument must
11187           bet set and the `connection' argument must be NULL to the
11188           silc_idlist_add_client function.
11189
11190         * The funtion silc_server_packet_send_local_channel actually did
11191           not check whether the client was locally connected or not.  It
11192           does that now.  Fixed a bug related to LEAVE command.
11193
11194         * Fixed Remove Channel User payload parsing bug in server's
11195           silcd/packet_receive.c.  Fixed a bug related to LEAVE command.
11196
11197         * The server's silc_server_save_channel_key now checks also the
11198           global ID list for the channel as it might not be in the local
11199           list.  Fixed a bug related to LEAVE command.
11200
11201         * Is this the end of the [<unknown>] buglet that has been lurking
11202           around for a long time?  A little for loop fix in server's
11203           silc_server_command_whois_parse that is used by both IDENTIFY
11204           and WHOIS command.  At least, this was a clear bug and a cause
11205           of one type of [<unknown>] buglet.
11206
11207         * WHOIS and IDENTIFY commands call the function
11208           silc_server_command_[whois/identify]_check function even if
11209           we are not router server.
11210
11211 Tue Feb 13 19:55:59 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11212
11213         * Added --with-gmp configuration option.  If set the GMP
11214           is always compiled in the SILC source tree.  If not set then
11215           it is checked whether the system has the GMP3 installed.  If
11216           it has then the GMP won't be compiled (the system's headers
11217           and library is used), if it doesn't have it then the GMP is
11218           compiled in the SILC source tree.
11219
11220 Mon Feb 12 11:20:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11221
11222         * Changed RSA private exponent generation to what PKCS #1
11223           suggests.  We try to find the smallest possible d by doing
11224           modinv(e, lcm(phi)) instead of modinv(e, phi).  Note: this is
11225           not security fix but optimization.
11226
11227 Sun Feb 11 18:19:51 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11228
11229         * Added new config entry [Identity] to fork the server and run
11230           it as specific user and group.  A patch from Bostik.
11231
11232         * Imported Dotconf configuration library into lib/dotconf.
11233           This will be used to create the SILC configuration files later.
11234           It will appear in the distsribution after this commit.
11235
11236 Sat Feb 10 21:13:45 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11237
11238         * A big code auditing weekend happening.  Auditing code for
11239           obvious mistakes, bugs and errors.  Also, removing any code
11240           that is obsolete.
11241
11242           Removed files for being obsolete:
11243
11244           o lib/silcutil/silcbuffer.c (the buffer interface is entirely in
11245           inline in the file lib/silcutil/silcbuffer.h)
11246
11247           o lib/silcutil/silcbufutil.c (the header has inline versions)
11248
11249           Changed code to fix possible error conditions:
11250
11251           o The buffer formatting routines now check that the destination
11252           buffer really has enough space to add the data.  This applies for
11253           both buffer formatting and unformatting
11254           (lib/silcutil/silcbuffmt.[ch]).  Also, the entire buffer
11255           unformatting was changed to accomodate following rules:
11256           XXX_*STRING_ALLOC will allocate space for the data into the pointer
11257           sent to the function while XXX_*STRING will not allocate or copy
11258           the data into the buffer.  Instead it sets the pointer from the
11259           buffer into the pointer sent as argument (XXX_*STRING used to
11260           require that the pointer must be allocated already).  This change
11261           makes this whole thing a bit more consistent and more optimized
11262           (note that the data returned in the unformatting with XXX_*STRING
11263           must not be freed now).  The routines return now -1 on error.
11264
11265           o Tried to find all code that use buffer_format and buffer_unformat
11266           and added return value checking to prevent formatting and
11267           especially unformatting errors and possible subsequent fatal
11268           errors.
11269
11270           o Changed ske->x and ske->KEY to mallocated pointers in
11271           lib/silcske/silcske.h.  Fixed possible data and memory leak.
11272
11273           o Added return value checking to all *_parse* functions.  Fixed
11274           many memory leaks as well.
11275
11276           o Added length argument to silc_id_str2id in lib/silccore/id.[ch]
11277           so that buffer overflows would not happen.  All code now also
11278           checks the return value as it can fail.
11279
11280 Mon Feb  5 20:08:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11281
11282         * Added reconnection support to server if the normal server looses
11283           its connection to the router (for example if router is rebooted).
11284           The server performs normal reconnection strategy implemented
11285           to the server.  Affected file silcd/server.c.
11286
11287 Sun Feb  4 13:18:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11288
11289         * Added new packet type SILC_PACKET_SET_MODE that is used to
11290           distribute the information about changed modes (for clients,
11291           channels and clients channel modes) to all routers in the
11292           network.  Updated the protocol specification accordingly.
11293
11294           Added functions into silcd/packet_send.c and
11295           silcd/packet_receive.c: silc_server_send_set_mode,
11296           silc_server_set_mode.
11297
11298           Added new files silcmode.[ch] into lib/silccore that implements
11299           the encoding and decoding of Set Mode Payload.  Added new type
11300           SilcSetModePayload.  Moved the definitions of different modes
11301           from lib/silccore/silcchannel.h into lib/silccore/silcmode.h.
11302
11303 Sat Feb  3 15:44:54 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11304
11305         * Oops, a little mistake in server's connection authentication
11306           protocol.  The protocol is not ended with FAILURE but with
11307           SUCCESS if the authentication is Ok. :)  Affected file is
11308           silcd/protocol.c.
11309
11310         * Implemented NICK_CHANGE notify handling in server in the file
11311           silcd/packet_receive.c  The NICK_CHANGE notify is distributed to
11312           the local clients on the channel.  After the changing nickname
11313           in router environment snhould work and the [<unknown>] nickname
11314           should appear no more.
11315
11316           The silc_server_replace_id function that receives the Replace ID
11317           payload now sends the NICK_CHANGE notify type also in the file
11318           silcd/packet_receive.c
11319
11320         * Changed WHOIS and IDENTIFY command to support the maximum amount
11321           of arguments defined in protocol specs (3328 arguments).  This
11322           fixed a bug that caused problems when there were more than three
11323           users on a channel.
11324
11325 Fri Feb  2 11:42:56 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11326
11327         * Added extra parameter, command identifier, to the
11328           silc_client_send_command so that explicit command identifier
11329           can be defined.
11330
11331           Changed that ID list routines uses specific command identifier
11332           when sending WHOIS/IDENTIFY requests to the server so that they
11333           can be identified when the reply comes back.
11334
11335           Affected files lib/silcclient/command.[ch],
11336           lib/silcclient/client.c and lib/silcclient/idlist.[ch].
11337
11338         * Added `sender' argument to silc_server_packet_send_to_channel
11339           to indicaet the sender who originally sent the packet to us
11340           that we are now re-sending.  Ignored if NULL.  Affected file
11341           silcd/packet_send.[ch].
11342
11343         * Added some server statistics support in silcd/server_internal.h
11344           SilcServerStatistics structure and around the server code.  Also
11345           send some nice statistics information when client is connecting
11346           to the client.
11347
11348 Thu Feb  1 23:31:21 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11349
11350         * Fixed channel ID decoding in server's JOIN command reply in
11351           silcd/command_reply.c
11352
11353         * Fixed braodcasting of replace ID payload to not to send it if
11354           we are standalone server in silcd/packet_receive.c.
11355
11356         * Fixed all channel message sending routines to not to send
11357           packets to clients that has router set, since they are routed
11358           separately in the same function earlier.  Affects file
11359           silcd/packet_send.c and all channel packet sending functions.
11360
11361         * In USERS reply, res_argv[i] are not allocated, the table
11362           is allocated.  Thus changed that free the table, not its
11363           internals.
11364
11365         * In server's whois_check and identify_check if the client is
11366           locally connected do not send any WHOIS commands - they are not
11367           needed.
11368
11369 Thu Feb  1 21:32:27 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11370
11371         * Fixed some minor bugs in client when sending WHOIS command.  The
11372           arguments was in wrong order.
11373
11374         * Removed statis function add_to_channel from server in
11375           silcd/command.c that was previously used with the joining but
11376           is obsolete now.
11377
11378         * Tested USERS command in router environment successfully with two
11379           routers, two servers and two clients.
11380
11381 Thu Feb  1 00:54:26 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11382
11383         * Reorganized the USERS command and command reply in client library
11384           in lib/silcclient/command.c and lib/silcclient/command_reply.c.
11385           When the command is given by user we register a pending command
11386           callback that will reprocess the command after the reply has been
11387           received from the server.  When reprocessing the packet we then
11388           display the information.  Thus, the USERS information is displayed
11389           now in the command callback instead of in the command reply
11390           callback.  The processing of the command is same as previously
11391           when server has sent the command reply in the JOINing process.
11392
11393         * Added to USERS command in silcd/command_reply.c to join the client,
11394           we didn't use to know about, to the channel after we've created
11395           a client entry for it.  Also, for clienet we did know already still
11396           check whether it is on the channel or not and add it if not.
11397
11398         * Removed silc_server_command_join_notify as the function and its
11399           use was obsolete.
11400
11401 Tue Jan 30 22:39:15 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11402
11403         * Changed the client's pending command handling to the same as the
11404           server's pending command handling.  It is also now possible to
11405           execute command reply functions from other command reply
11406           function as the function callbacks for commands and command
11407           replies are one and same.  The pending commands are not static
11408           list anymore, it is mallocated SilcDList in lib/silcclient/client.h
11409           in client connection context.  Thus, pending commands are server
11410           connection specific as it is convenient.
11411
11412           Changed the function silc_client_command_pending and
11413           silc_client_command_pending_del and added new function
11414           silc_client_command_pending_check.  Removed the
11415           SILC_CLIENT_CMD_REPLY_EXEC, and SILC_CLIENT_PENDING_COMMAND_CHECK
11416           macros.
11417
11418         * Added cmd_ident, current command identifier, to the client
11419           connection context in lib/silcclient/client.h to keep track on
11420           command identifiers used in command sending.  Client's command reply
11421           function handling now supports the mandatory command identifiers.
11422
11423         * Added SILC_CLIENT_COMMAND_EXEC_PENDING macros to all command reply
11424           funtions in client to fully support pending command callbacks.
11425
11426         * NOTE: the name_list in USERS (old NAMES) command is NOT sent anymore
11427           as one of the arguments to the application in the command reply
11428           client operation.
11429
11430         * NOTE: The FORWARDED flag is depracated.  It used to be depracated
11431           before first releasing SILC but came back.  Now it is removed again
11432           and should come back nomore.  The FORWARDED flag was used only
11433           by the JOINing procedure by forwarding the command packet to router.
11434           Now, the JOINing procedure has been changed to more generic (due
11435           to various router environment issues) and FORWARDED is not needed
11436           anymore for anything.  The protocol specification is yet to be
11437           updated.
11438
11439           Now, removed silc_server_packet_forward from server and the flag
11440           SILC_PACKET_FORWARDED from lib/silccore/silcpacket.h.
11441
11442 Tue Jan 30 00:05:05 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11443
11444         * Renamed NAMES command to USERS command.  The NAMES was named that
11445           due to historical reasons.  Now it is renamed.  Also, rewrote
11446           parts of the USERS command.  The nickname list is not sent anymore
11447           by the server.  Only Client ID and mode lists are sent in the USERS
11448           command.  Changed this also to the protocol specification.
11449
11450           The client now resolves the names and stuff after it receives
11451           the USERS list from the server when joining to the channel.
11452
11453         * WHOIS and IDENTIFY commands has been changed to support multiple
11454           Client ID's per command.  One can now search for multiple users
11455           in the network by sending only one WHOIS or IDENTIFY command.
11456           Changed the code and the protocol specifications.
11457
11458         * Removed silc_server_command_identify_parse and changed that IDENTIFY
11459           uses silc_server_command_whois_parse to parse the request. */
11460
11461         * If normal server, do not parse the WHOIS and IDENTIFY requests
11462           before sending it to the router.  Saves some time.
11463
11464 Sun Jan 28 16:19:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11465
11466         * Fixed JOIN command on client library.  Wrong number of arguments
11467           used to crash the client.
11468
11469         * Added silc_server_channel_has_global function to check whether
11470           channel has global users or not.
11471
11472         * Added silc_server_channel_has_local function to check whether channel
11473           has locally connected clients on the channel.
11474
11475         * The silc_server_remove_from_one_channel now checks whether the
11476           channel has global users or not after given client was removed from
11477           the channel.  It also checks whether the channel has local clients
11478           on the channel anymore.  If it does not have then the channel entry
11479           is removed as it is not needed anymore.
11480
11481         * The silc_server_notify now checks on JOIN notify whether the joining
11482           client is one of locally connected or global.  If it is global then
11483           the channel has now global users on the channel and that is marked
11484           to the channel entry.  Also, it now saves the global client to
11485           global list who is joining and JOINs it to the channel.  This is
11486           for normal server, that is.
11487
11488           Changed silc_server_send_notify_on_channel,
11489           silc_server_packet_relay_to_channel and
11490           silc_server_packet_send_to_channel check if we are normal server
11491           and client has router set (ie. global client) do not send the
11492           message to that client, as it is already routed to our router.
11493
11494         * Implemented LEAVE notify type handling in silc_server_notify
11495           function.
11496
11497         * Tested LEAVE command in router environment successfully.  Tested
11498           with two routers, two servers and two clients.
11499
11500         * Updated TODO.
11501
11502         * idlist_find_xxx_by_id routines now dumps the ID on the debug mode.
11503
11504         * Implemented SIGNOFF notify type handling in silc_server_notify
11505           function.
11506
11507         * silc_server_remove_id now removes the client entry from all channels
11508           it has joined and thusly sends SIGNOFF notify type.
11509
11510         * Rewrote the NAMES list generation in server by removing two excess
11511           loops.  The lists are created now inside one loop.
11512
11513 Sat Jan 27 22:34:56 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11514
11515         * silc_server_remove_channel_user checks now also global list
11516           for channel and client.
11517
11518         * silc_server_new_channel_user checks now both local and global
11519           list for channel and client.  Fixed a bug in client id decoding.
11520           Used to decode wrong buffer.
11521
11522         * silc_server_channel_message checks now both local and global
11523           list for channel entry.
11524
11525         * Tested channel joining (hence JOIN) in router environment
11526           successfully.  Tested with two routers, two servers and two
11527           clients.
11528
11529         * Tested channel message sending in router environment successfully.
11530
11531 Thu Jan 11 03:22:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11532
11533         * Added silc_server_save_channel_key into server.[ch] to save the
11534           received channel key in Channel Key payload processing. It is
11535           also used in JOIN command reply handling.
11536
11537           Equivalent function silc_client_save_channel_key added into
11538           client.[ch] into client library.
11539
11540         * Changed JOIN command reply to send information whether the channel
11541           was created or not (is existing already) and the channel key
11542           payload.  Changed protocol specs accordingly.
11543
11544         * Fixed bugs in WHOIS and IDENTIFY command reply sending when
11545           the request was sent by ID and not by nickname.  Crashed on
11546           NULL dereference.
11547
11548 Sat Dec 23 21:55:07 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11549
11550         * Fixed a bug in Client library.  IDENTIFY and WHOIS reply functions
11551           now correctly save the received data.
11552
11553         * silc_server_free_sock_user_data now notifies routers in the
11554           network about entities leaving the network.
11555
11556           At the same time implemented functions silc_server_remove_id
11557           and silc_server_send_remove_id to receive and send REMOVE_ID
11558           packets.  The packet is used to notify routers in the network
11559           about leaving entities.  The ID removed will become invalid in
11560           the network.
11561
11562         * Added function silc_idlist_del_server into server. Removes and
11563           free's server entry from ID list.
11564
11565         * silc_server_private_message function now checks, if we are router,
11566           that the destination ID really is valid ID, naturally.
11567
11568         * In router when NEW_ID packet is received (for new client) the
11569           hash of the Client ID is saved in the ID Cache but the
11570           client->nickname is set to NULL, instead of putting the hash
11571           to it as well.
11572
11573           IDENTIFY command now also checks that client->nickname must be
11574           valid. If it is not if will request the data from the server who
11575           owns the client.  Added new function
11576           silc_server_command_identify_check.
11577
11578         * Added silc_command_set_command into lib/silccore/silcommand.[ch]
11579           to set the command to already allocated Command Payload.
11580
11581         * Tested private message sending in router environment with two
11582           routers, two servers and two clients.  Fixed minor bugs and now
11583           it works fine.
11584
11585         * Fixed segfault from client's NAMES command. Used to crash if
11586           not on any channel.
11587
11588         * Forwarded packets must not be routed even if it is not destined
11589           to the receiver.  Changed server code comply with this.
11590
11591 Sun Dec 17 14:40:08 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11592
11593         * Added `require_reverse_mapping' boolean value to ServerParams
11594           structure. If TRUE (not default) the server will require that
11595           the connecting host has fully qualified domain name.
11596
11597           If the reverse mapping is not required and hostname could not be
11598           found the IP address is used as hostname.
11599
11600 Sat Dec 16 17:39:54 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11601
11602         * Implemented version string checking to both client and server.
11603           The check is incomplete currently due to the abnormal version
11604           strings used in development version of SILC.
11605
11606         * Changed all command functions in server to use the new
11607           CHECK_ARGS macro.
11608
11609 Fri Dec 15 15:55:12 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11610
11611         * Changed char *data to unsigned char *data in ID Cache system to
11612           support binary data as ID Cache data. Changed code to support
11613           binary data in lib/silccore/idcache.c.
11614
11615         * Renamed silc_server_packet_relay_command_reply to
11616           silc_server_command_reply as it is normal packet receiving
11617           function. Rewrote the function to accept command replys for
11618           servers and not only for clients.
11619
11620         * Mark remote router always as registered server if we are connecting
11621           to it.  Otherwise, commands sent by the router to us are ignored.
11622
11623         * All ID List find routines now returns the ID Cache Entry pointer
11624           as well if requested.
11625
11626         * WHOIS command works now in router environment, tested with two
11627           routers, two servers and two clients.
11628
11629         * Cleaned up and rewrote IDENTIFY command. IDENTIFY should work now
11630           in router environment (as it is almost equivalent to WHOIS) but
11631           hasn't been tested thoroughly.  Added new functions:
11632
11633           silc_server_command_identify_parse
11634           silc_server_command_identify_send_reply
11635           silc_server_command_identify_from_client
11636           silc_server_command_identify_from_server
11637
11638         * Disabled route cache adding because adding two different ID's with
11639           same IP replaces the old cache entry thus giving wrong route.
11640           The entry->router->connection is always the fastest route anyway
11641           so route cache may not be needed.  Of course, new routes maybe
11642           established after receiving the ID when the entry->router->connection
11643           might not be anymore the most optimal.
11644
11645 Thu Dec 14 15:55:35 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11646
11647         * Add route cache for received ID for fast routing.
11648
11649         * Added silc_server_packet_route to route received packet on router
11650           that is not destined to us.
11651
11652         * Renamed silc_server_get_route to silc_server_route_get.
11653
11654         * Added id_string and id_string_len fields into SilcServer to
11655           include encoded ServerID for fast comparing without excess
11656           encoding of the ID's.
11657
11658         * Cleaned up WHOIS command on server side. Added following static
11659           functions:
11660
11661           silc_server_command_whois_parse
11662           silc_server_command_whois_check
11663           silc_server_command_whois_send_reply
11664           silc_server_command_whois_from_client
11665           silc_server_command_whois_from_server
11666
11667         * Added macro SILC_SERVER_COMMAND_CHECK_ARGC to check mandatory
11668           arguments in command replies. All command functions should be
11669           updated to use this macro.
11670
11671 Sun Dec 10 23:52:00 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11672
11673         * Minor typo fixes on command reply handling on server.
11674
11675 Tue Nov 28 11:05:39 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11676
11677         * Added silc_server_command_add_to_channel internal routine to add
11678           the client to the channel after router has created the channel and
11679           sent command reply to the server.
11680
11681         * Added generic silc_server_send_command to send any command from
11682           server.
11683
11684         * Use static buffer with ID rendering instead of duplicating data.
11685
11686 Mon Nov 27 21:39:40 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11687
11688         * Fixed a channel user mode bug when joining to a channel server gave
11689           everybody channel founder rights, oops.
11690
11691         * We mark ourselves as the router of the incoming server connection
11692           if we are router ourselves.  This way we can check in some packet
11693           sending functions whether it is locally connected server.  For
11694           incoming router connections we put NULL.
11695
11696         * For router sending packets locally means now always sending the
11697           packet cell wide; to local clients and local servers.  For normal
11698           server sending packet locally means sending it to only local
11699           clients.
11700
11701         * Fixed the JOIN command to really work in router environment.  If the
11702           channel is created it is always created by the router.  Router is
11703           also responsible of making the initial joining to the channel,
11704           sending JOIN notify to the sending server and distributing
11705           NEW_CHANNEL and NEW_CHANNEL_USER packets.  Hence, if the channel
11706           does not exist server doesn't do anything else but forward the
11707           command to the router which performs everything.
11708
11709         * Added silc_server_send_channel_key function to send the Channel Key
11710           payload.
11711
11712         * Added silc_server_create_channel_key to create new channel key.  The
11713           channel key is now re-generated everytime someone joins or leaves
11714           a channel, as protocol dictates.  Note: channel->key_len is the
11715           key length in bits.
11716
11717 Wed Nov 22 22:14:19 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11718
11719         * Splitted server.[ch] finally.  Created now packet_send.[ch] and
11720           packet_receive.[ch] to separate packet sending and receiving
11721           routines.  The server.[ch] now includes everything else including
11722           actual packet processing (writing and reading data) and other
11723           server issues.
11724
11725           Renamed silc_server_private_message_send_internal to
11726           silc_server_send_private_message.  The routine is still though
11727           used only to relay private messages as server does not send
11728           private messages itself.
11729
11730           Renamed silc_server_new_channel to silc_server_create_new_channel
11731           and added new function sicl_server_new_channel that handles the
11732           incoming New Channel packet.  Added also new sending function
11733           silc_server_send_new_channel to send New Channel Payload.
11734
11735         * Added new function silc_server_notify to process incoming notify
11736           packet to the server/router. Server may then relay the notify
11737           to clients if needed.
11738
11739         * Added new function silc_server_new_channel_user to process incoming
11740           New Channel User packet.  Router will redistribute the packet and
11741           send JOIN notify to its local clients and locally connected servers
11742           if needed.  Normal server will send JOIN notify to its local client
11743           on same channel when received this packet.  Added also corresponding
11744           sending function silc_server_send_new_channel_user to sent the
11745           payload.
11746
11747         * Added boolean route argument to send_notif_to_channel and
11748           packet_send_to_channel functions to attempt to route the packet
11749           if it is TRUE and send only locally if it is FALSE.
11750
11751 Tue Nov 21 19:49:31 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11752
11753         * silc_server_replace_id now broadcasts the received replace ID
11754           packet if it is not broadcast packet already. The router must
11755           broadcast to inform other routers about changed ID.
11756
11757         * Added backpointer to server's router into SilcServer context in
11758           silcd/server_internal.h.
11759
11760         * Fixed silc_server_packet_broadcast to send correct broadcast
11761           packets.
11762
11763         * The channel key is now distributed to the local client as soon
11764           as it is received from the router (in router environment) so that
11765           no other packet may be sent for the channel until client has
11766           received the key.
11767
11768         * silc_server_remove_channel_user now broadcasts the received
11769           Remove Channel User packet if it is not broadcast packet already.
11770           The router must broadcast to inform other routers about removed
11771           channel user.
11772
11773         * Added users field into SilcPacketContext that is a reference count
11774           of the context.  One can increase the reference count by calling
11775           silc_packet_context_dup which is now changed to just increase the
11776           reference count instead of duplicating the data.  The reference
11777           count is decresed by calling silc_packet_context_free that will
11778           free the data after the reference count hits zero.
11779
11780           For now on the packet context and everything allocated into it
11781           (including the raw packet from network) must be freed by calling
11782           the new silc_packet_context_free function.  Added also new function
11783           silc_packet_context_alloc that must be used now to allocate the
11784           context.  This also means that if a routine is asynchronous from
11785           silc_[client/server]_packet_parse_type the packet context must
11786           be duplicated by calling silc_packet_context_dup.  Otherwise it
11787           gets free'd after silc_[client/server]_packet_parse_type returns.
11788           Also, one must remember that if packet is duplicated then its
11789           reference count must be decresed by calling the free function as
11790           many times as it was duplicated.
11791
11792         * Changed SilcBuffer field from protocol contexts to SilcPacketContext
11793           from both client and server.
11794
11795 Mon Nov 20 23:47:03 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11796
11797         * Made joining to a channel working in router environment.
11798
11799         * Cleaned up JOIN command on server side and create function
11800           silc_server_command_join_channel internal routine to make the
11801           joining happen.
11802
11803 Thu Nov  9 21:12:39 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11804
11805         * Changed silc_command_pending list to SilcDList.  Also, added
11806           `ident' field to SilcServerCommandPending structure to identify
11807           the reply and to call correct callback.
11808
11809           Added silc_server_command_pending_check function to replace the
11810           corresnponding macro.  The silc_command_pending list is not
11811           extern anymore.
11812
11813         * Added silc_command_set_ident into lib/silccore/silccommand.[ch]
11814           to set identifier to previously allocated Command Payload.  It
11815           is used to set identifier for command when resending Command
11816           Payload.
11817
11818         * Added silc_command_payload_encode_payload to encode Command
11819           Payload buffer from SilcCommandPayload structure.
11820
11821         * Added silc_argument_payload_encode_payload to encode Argument
11822           payload buffer from SilcArgumentPayload structure.
11823
11824 Wed Nov  8 21:03:28 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11825
11826         * Changed WHOIS command to support router connection on server side.
11827           The whois request is always sent to router unless the server is
11828           standalone server.  After server has received the reply from the
11829           router will it send the reply to the client.
11830
11831         * Added silc_server_packet_broadcast into silcd/server.[ch] to
11832           broadcast received broadcast packet.  The function is used only
11833           by router.  The broadcast packet is always sent to the router's
11834           primary route.
11835
11836         * Added silc_id_render function in lib/silcutil/silcutil.[ch] to
11837           render given ID to printable string, for log files for example.
11838
11839 Tue Nov  7 22:14:19 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11840
11841         * Made basic router to router connections working.  At least they
11842           can now connect to each other but nothing really works the way
11843           they are supposed - yet.
11844
11845         * Added new initiator token to RouterConnection configuration
11846           file in silcd/serverconfig.[ch].  It is used to tell whether we
11847           are the initiator to the remote router or whether we'll expect
11848           the other end to connect.
11849
11850         * Moved registering of listener task to silc_server_init, hence
11851           the server starts listenning as soon as it is run, even if it
11852           does not have connections to other routers.  Let's see how well
11853           this will work.
11854
11855         * Changed default connection retry timeouts for more suitable in
11856           silcd/server.h.
11857
11858         * Removed cipher and such arguments from silc_idlist_add_client
11859           and silc_idlist_add_server prototypes from silcd/idlist.[ch].
11860           Added new function silc_idlist_add_data to add the keys and stuff
11861           to any ID entry.
11862
11863         * Added SilcIDListData structure and added it to SilcClientEntry
11864           and SilcServerEntry as their first field in the structure.  This
11865           way we can explicitly cast the ID entries to the SilcIDListData
11866           structure and get common data for the entries.  In past, we had
11867           to first check what type of connection it is and then cast it to
11868           correct ID entry type.  Now, we can directly cast the opaque
11869           pointer to the SilcIDListData (no matter what ID entry it actually
11870           is) and get the data needed.
11871
11872 Mon Nov  6 21:56:12 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11873
11874         * Wow, found a bug in scheduler.  The scheduler uninitialized itself
11875           in some circumstances even if threre were timeout tasks, though not
11876           IO tasks, but tasks anyway.  Now fixed.
11877
11878         * Defined SilcServerConnection structure to hold connection specific
11879           stuff about directly connected servers and routers.  The definition
11880           is currently in silcd/server_internal.h.  I thought about having
11881           a bit more important role fro this struct but for now it is used
11882           only when connecting to other server (or router actually).
11883
11884         * Added connecting retry support in server when connecting to
11885           router(s).  The retry feature implement exponential backoff
11886           algorithm.  Also, added SilcServerParams structure to hold default
11887           parameters for server.  For now, it include these retry settings
11888           and are hard coded.  After server is moded to be as Silc Server
11889           Library this structure will be more important.
11890
11891 Sun Nov  5 22:28:44 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11892
11893         * Changed client librarys channel->clients table to SilcList and
11894           changed code accordingly.
11895
11896 Thu Nov  2 16:28:01 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11897
11898         * Changed client's channel table to SilcList and changed code
11899           accordingly.  Also changed SilcChannelClientEntry to include back-
11900           pointer to the channel so that client entry can use that structure
11901           as list as well and we have fast cross-reference to the channel.
11902           This change dramatically decreased the complexity of channel
11903           handling with client entry and vice versa (removed one extra
11904           loop when searching for channel entry from many functions).
11905
11906         * Changed server->sim from table to SilcDList and changed code
11907           accordingly.
11908
11909         * NAMES command can now be used from user interface.  It will show
11910           the user list on the channel, neatly.
11911
11912         * Added realname pointer to SilcClientEntry in lib/silcclient/idlist.h.
11913           Code now saves realname of the user if it becomes available.
11914
11915         * Renamed configure.in to configure.in.pre and made ./prepare
11916           script to automatically add correct version string to
11917           configure.in which it creates from configure.in.pre.
11918
11919 Wed Nov  1 17:21:26 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11920
11921         * NAMES command reply now shows users mode with the nickname when
11922           joining to channel.
11923
11924         * Moved silc_client_ch[u]mode[_char] functions from
11925           silc/clientutil.[ch] to lib/silcclient/client.[ch].  Though, that
11926           place sucks, they are utility functions and should be in some
11927           other file.
11928
11929         * Fixed some unsigned int's to unsigned short's.  Patch by cras.
11930
11931         * Fixed contrib/getopt*.[ch] to not require config.h.  Patch by
11932           cras.
11933
11934 Tue Oct 31 20:10:37 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11935
11936         * Updated README.
11937
11938         * Added TRQ (efficient deque and list library) into lib/trq.  This is
11939           a very good list library that is currently used in the SILC.  Defined
11940           SilcList API over the library because I didn't like the API very
11941           much.  See lib/trq/silclist.h for the API and examples of how to
11942           use the API.  Fixed various places in the code to use the new
11943           SilcList API. The SilcList is meant for lists that has a structure
11944           already defined as a list.  It is not suitable to add just some
11945           context to the list (in TRQ, the context is the list actually).
11946
11947           So, I defined SilcDList that can be used for the purpose where
11948           predefined list structure does not exit.  This can be used as
11949           such list.  Now some context just can be added to the SilcDList.
11950           Currently this list is not used in the SILC just yet, though there
11951           are a lot places where this can replace dynamically allocated
11952           tables and I will fix these places, later, to use SilcDList.
11953           See lib/trq/silcdlist.h for SilcDList (they are all inline functions,
11954           and use TRQ internally).
11955
11956           Also fixed some annoying warning messages that the original TRQ
11957           code generated.  Also minor changes to TRQ's Makefile.in.
11958
11959         * Added support for querying by Client ID to both WHOIS and
11960           IDENTIFY commands into server, as required by the protocol.
11961
11962         * Removed method function pointers from SilcBuffer structure. They
11963           weren't used to anything and just increased the context size for
11964           no good reason.  This change also made silc_buffer_alloc and
11965           silc_buffer_free functions inline functions.
11966
11967         * Disabled command flooding detection support until it's fixed so
11968           that it accepts commands in but does not execute them more than once
11969           in two seconds.
11970
11971         * Added silc_net_localhost(), to return local hostname, into
11972           lib/silcutil/silcnet.[ch].  Also added client->hostname pointer
11973           that must be initialized before calling silc_client_init.
11974
11975         * Added new function: silc_server_send_notify_on_channels to send
11976           notify messages to all channels client has joined.  It is assured
11977           that the message is sent only once per client.
11978
11979         * Moved silc_log_format (from lib/silcutil/silclog.[ch] into
11980           lib/silcutil/silcutil.[ch] as silc_format function.  The new
11981           function is generic and is used by server as well, not only by
11982           the logging routines.
11983
11984         * Added new SKE status type: SILC_SKE_STATUS_BAD_VERSION to indicate
11985           the provided version string was not acceptable.  Added new function:
11986           silc_ske_check_version into lib/silcske/silcske.h.  The function
11987           must be implemented by the application (client or server) and it
11988           does not reside in the SKE library.  The function checks the version
11989           string remote end sent.
11990
11991         * Added back pointers (to opaque context and to SilcSocketConnection)
11992           into SilcPacketContext structure into lib/silccore/silcpacket.h.
11993
11994         * Added silc_packet_context_dup into lib/silccore/silcpacket.[ch] to
11995           duplicate packet context structure.
11996
11997         * Changed `notify' client operation to send same arguments as client
11998           receives from server except for ID's.  ID's are mapped to correct
11999           ID entry and that is returned.  Also, if channel entry is not sent
12000           by server but the notify is for channel the channel entry is sent
12001           to application (otherwise application doesn't know that it is for
12002           channel (library gets it from packet's Destination ID)).
12003
12004         * Added silc_client_remove_from_channels into client library to
12005           remove a client from all channels it has joined to.  Used when
12006           received SIGNOFF notify from server.  Added also new function
12007           silc_client_replace_from_channels to replace old ID entry with
12008           new ID entry on all channels.  Used when received NICK_CHANGE
12009           notify from server.
12010
12011         * Fixed ID Cache list handling in silc_idlist_get_client in
12012           lib/silcclient/idlist.c.  Also, added silc_idlist_get_client_by_id
12013           to get (or query) client by ID.
12014
12015         * Updated TODO list.
12016
12017         * Added connection authentication status message defined by the
12018           protocol: SILC_CONN_AUTH_OK and SILC_CONN_AUTH_FAILED and added the
12019           support for these into the code in client and server side.
12020
12021         * Added generic function silc_client_send_command to send any command
12022           with variable argument list.  Application should use this function
12023           to send commands if the command functions provided by the library
12024           does not suite for the application's user interface needs.
12025
12026         * Added new `failure' client operation.  Application is notified about
12027           received failure packet if client is executing a protocol.  In this
12028           case the protocol's execution has failed.
12029
12030         * Added SKE's end notify to send the SKE_SUCCESS notify message that
12031           is required by the protocol.
12032
12033         * Added SILC_PROTOCOL_STATE_FAILURE to indicate received failure
12034           packet from remote.  SILC_PROTOCOL_STATE_ERROR indicates local
12035           error at our end.
12036
12037         * Added status flag to SilcSKE object to indicate realtime status
12038           of the SKE protocol.
12039
12040         * Application receives now exactly same command reply arguments as
12041           the library receives from server.  However, if ID is received the
12042           corresponding ID entry is returned to the application (eg. Client
12043           ID is mapped to correct SilcClientEntry entry and that is returned).
12044           Changed command_reply client operation due to this change.
12045
12046         * Changed all ID's in commands and in command replys as ID Payloads.
12047           Change affected both client and server side codes.
12048
12049           All ID's sent in SILC network (with execption of ID's in SILC
12050           Packet header) are sent in ID Payload to support variable length
12051           ID's.
12052
12053         * Server now notifies nick changes and notifies all clients on
12054           the channels about the new nickname (about the new Client ID,
12055           actually).
12056
12057         * Implemented CMODE command to change channel modes. Supports all
12058           channel modes defined by the protocol specs except ban and invite
12059           lists. (Also, private channel key mode is supported but support for
12060           setting private channel key in client is missing, thus, this mode
12061           has no effect on client side (except that server requires that the
12062           client uses private channel key and normal channel traffic does not
12063           work anymore)).
12064
12065           Also, invite mode works per se, but INVITE command does not work
12066           yet correctly, so you can set channel as invite only channel but
12067           inviting clients to the channel does not work (it is yet to be
12068           thought what's the best way to do it).
12069
12070         * Added new command SILC_COMMAND_CUMODE to change user mode on the
12071           channel.  Defined user modes: CHANNEL_FOUNDER and CHANNEL_OPERATOR.
12072           Implemented CUMODE command to change user's mode on the channel.
12073           Supports all modes defined by the protocol specs.
12074
12075         * Added NAMES command reply to return users modes on the channel.
12076
12077         * Removed unnecessary and slow ciphers from lib/silccrypt.
12078
12079         * Set SO_KEEPALIVE option to connection sockets by default.
12080
12081         * Added new command reply status: SILC_STATUS_USER_NOT_ON_CHANNEL.
12082
12083         * Added notify types: MOTD, CMODE_CHANGE and CUMODE_CHANGE.  Also,
12084           redefined the Notify Payload into protocol specs.
12085
12086         * Added silc_id_payload_parse_id to get ID directly from raw
12087           ID payload data.
12088
12089 Mon Oct  9 20:57:02 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12090
12091         * Changed SILC_COMMAND_IDENTIFY in protocol specification to
12092           accept searching by Client ID as well.
12093
12094         * Added support for LEAVE and SIGNOFF notify types in client library.
12095
12096         * Added silc_id_payload_parse_data into lib/silccore/silcpayload.[ch]
12097           to parse ID Payload from raw data.
12098
12099 Sun Oct  8 19:33:08 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12100
12101         * Added flags parameter into silc_ske_assemble_security_properties
12102           function in lib/silcske/silcske.[ch].
12103
12104         * Changed notify client operation to fit better for notify messages
12105           sent by server.  The notify payload received from server is now
12106           passed to the application (after parsing it to SilcNotifyPayload).
12107           It is application's responsibility to retrieve the arguments
12108           from the payload and show the message the way it wants.  The message
12109           sent by server is implementation specific.
12110
12111         * Changed public keys to comply with the protocol specification.
12112           Old public keys are not supported anymore and are not compatible.
12113
12114         * Removed nickname from Channel Payload as the latest draft removed
12115           it.  The client must resolve the nickname from the NAMES command
12116           reply received when it joined the channel.
12117
12118           Also, changed all channel_xxxx_payload to channel_payload_xxxx.
12119
12120 Sat Oct  7 21:55:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12121
12122         * Fixed some errors in protocol specification drafts.
12123
12124         * Created lib/silccore/silcnotify.c to implement Notify Payload
12125           encoding and decoding, lib/silccore/silcpayload.[ch] to implement
12126           generic payloads described by protocol specifications.  The file
12127           includes implementations for ID Payload and Argument Payload.
12128
12129         * Changed Command Payload implementation to use the new Argument
12130           Payload.  Changed command_xxxx_payload to command_payload_xxxx
12131           to comply with SILC coding conventions.
12132
12133         * Added suppport for Argument Payload handling in Notify Payload
12134           implementation as protocol requires it.  Added the new support
12135           into server and client lib as well.
12136
12137 Thu Oct  5 21:16:28 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12138
12139         * Added support for multiple nicknames on same channel.  [n] is
12140           added locally to the nickname if there are more than one same
12141           nicknames on the channel.
12142
12143         * Server now sends all nicknames that matched WHOIS request.
12144           Client also shows the list received from server.
12145
12146         * Added TOPIC command to client side.  User can now set and show
12147           current topic on channel.
12148
12149         * Added MOTD command to client and server.  Also, server sends the
12150           motd when client connects to the server.
12151
12152         * Changed version strings to comply ISO 8601.
12153
12154 Wed Oct  4 23:29:06 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12155
12156         * Fixed protocol error handling in client library.  It should now
12157           cope even if the SKE fails for some reason.
12158
12159         * Made new protocol specification drafts for submitting to IETF.
12160
12161         * Implemented TOPIC command to server in silcd/command.c.
12162
12163         * Added two new notify types into lib/silccore/silcnotify.h:
12164           SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_TOPIC_SET to
12165           notify nickname change and topic setting/change on a channel.
12166
12167         * API change of command_reply operation in client library.  The
12168           application gets now the status type received from server as well.
12169
12170 Sat Sep 30 16:57:42 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12171
12172         * Removed the function just added to lib/silcutil/silcschedule.[ch].
12173
12174         * Cras fixed and optimized the packet handling even further and
12175           it should work now.  Minor change to the prototype of function
12176           silc_packet_receive_process in lib/silccore/silcpacket.[ch].
12177
12178 Sat Sep 30 08:48:47 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12179
12180         * Added new function into lib/silcutil/silcschedule.[ch]:
12181           silc_schedule_with_fd to select() a specified fd.  The function
12182           returns after timeout expires or data arrives or goes.  The
12183           function is used by packet routines to wait that all data is
12184           received from network.
12185
12186         * Fixed data reading from network in lib/silccore/silcpacket.c.
12187           The code now assures that all data is read from the fd and then
12188           continues packet processing.  This was a bug fix since the code
12189           used to drop some data in some circumstances.
12190
12191         * Added new function into lib/silcclient/client.[ch]:
12192           silc_client_start_key_exchange to start key exchange after
12193           connection has been established to server.  The code internally
12194           now uses this funtion but its main purpose was to provide it
12195           for applications that perform their own connecting.  After
12196           application has created a connection it merely calls this
12197           function to start the key exchange between client and server.
12198           The library takes care of everything else after that.
12199
12200           Updated also lib/silcclient/README to explain the usage of
12201           this new function.
12202
12203         * Do not send to application information that connection has
12204           been established.  Application gets notified it by connect
12205           operation anyway.
12206
12207 Thu Sep 28 23:40:19 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12208
12209         * Applied cras's patch to add silc_schedule_one function.  The
12210           function runs scheduler once and returns.
12211
12212         * Fixed the scheduler after cras messed it up.  The timeout
12213           handling works now as it's supposed to work.
12214
12215         * Added into lib/silccore/ silcnotify.h to include notify
12216           message types support.  Changed silc_server_send_notify*
12217           functions, in server.[ch], to support those new notify types.
12218           Added the support for the notify types into client library,
12219           as well.  Added new notify client operation into ops.h in
12220           lib/silcclient/.
12221
12222         * Changed silc_server_packet_send_to_channel to send normal
12223           packets instead of just channel message packets.  The function
12224           is now used to send the notify packets to channels.  It is not
12225           used to send channel message packets anymore, as server never
12226           sends them anymore.
12227
12228         * Added explicit casting into lib/silcutil/silcbuffmt.c to few
12229           va_arg()s as it seems to require it nowadays.  I guess, if SILC
12230           is compiled with older va_arg() the new code should work anyway.
12231
12232 Wed Sep 13 18:10:14 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12233
12234         * Splitted core library.  Core library (lib/silccore) includes
12235           now only SILC protocol specific core (and common) components.
12236           Created new utility library (lib/silcutil) that includes more
12237           generic purpose stuff.  The stuff for util library was taken
12238           from the old core library.  This was minor and easy split.
12239
12240         * Created SILC Client Library (lib/silcclient) that includes
12241           implementation of the SILC client without user interface.  This
12242           was major move from silc/ directory.  The code has been changed
12243           so that it is transparent towards the user interface.  The
12244           silc/ directory includes now the same user interface as before
12245           and it uses the new client library.  Read lib/silcclient/README.
12246           Basicly, the client library performs everything else related
12247           to SILC except user interface handling.  Also, configuration
12248           files are considered to be part of user interface and library
12249           does not handle them.
12250
12251           This change also changed a lot of structures, function naming etc.
12252           Most important change was that SilcClientWindow object was
12253           renamed to SilcClientConnection in the client library.  Created
12254           also new file lib/silcclient/ops.h.  Also added new files
12255           silc/local_command.[ch] and silc/client_ops.[ch].
12256
12257           All these changes were made to make it easier for user interface
12258           designers to create what ever user interface for the SILC client
12259           they want.
12260
12261           It is also expected that the server will be moved to lib
12262           directory as well and SILC Server Library will be created;
12263           sometimes in the future.
12264
12265         * Removed Local commands from lib/silccore/silccommand.h as
12266           they are application specific and new client library does not
12267           handle any of those anymore.
12268
12269         * Several functions moved to lib/silcutil/silcutilc.[ch] from
12270           old client implementation in silc/.
12271
12272         * Added support for callback functions in SILC_LOG_* macros.
12273           Application can now set its own callbacks that will be called
12274           instead of using the default functions that will always print
12275           the debug messages to stderr (or stdout).  Also, debugging can
12276           now be disabled by setting silc_debug to FALSE and re-enabled by
12277           setting it to TRUE.  Note, that logging will still work even
12278           if debugging is disabled.
12279
12280           New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
12281           silc_log_reset_callbacks, silc_log_set_debug_callbacks and
12282           silc_log_reset_debug_callbacks.
12283
12284         * To enable debugging in silc client one must give now -d
12285           option on command line.
12286
12287         * Changed silc_schedule_init to automatically allocate task queues
12288           if they are not allocated before calling it.
12289
12290 Thu Sep  7 10:49:33 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12291
12292         * Added GMP 3.1 into math library.
12293
12294 Sun Aug 20 21:27:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12295
12296         * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
12297           a channel in SILC network.  The packet is used by servers and
12298           routers to notify other routers that user has left a channel.
12299           This little feature was missing until now.  Added the feature
12300           to protocol specification as well.
12301
12302           Added functions: silc_server_send_remove_channel_user and
12303           silc_server_remove_channel_user into server.[ch].
12304
12305         * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
12306           lib/silccore/silcpacket.h.  However, they are not implemented
12307           yet.
12308
12309 Sat Aug 19 23:04:16 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12310
12311         * Fixed joining to a channel and sending channel messages
12312           between server and router.  The channel message sending should
12313           now work inside a cell.
12314
12315 Tue Jul 25 20:46:13 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12316
12317         * Fixed the private message sending between server and router.
12318           The private message sending should now work inside a cell.
12319
12320         * Added silc_server_replace_id into server.[ch] to replace
12321           existing ID in the SILC network.
12322
12323         * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
12324           and silc_idlist_replace_server_id into idlist.[ch] in server.
12325
12326 Mon Jul 24 18:33:31 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12327
12328         * Fixed the server to server connections.  Server can again now
12329           connect to router.  Router to router connections probably does
12330           not work just yet.
12331
12332 Thu Jul 20 13:15:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12333
12334         * Added dynamic protocol registering support.  Now protocols can
12335           registered and unregistered on the fly.  Patch by cras.
12336
12337 Wed Jul 19 19:08:46 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12338
12339         * Added lib/contrib directory to hold routines that some platforms
12340           don't have but are needed by SILC.
12341
12342         * Added getopt.c, getopt1.c and getopt.h from GNU C library
12343           into lin/contrib to provide getopt() and getopt_long() for
12344           those who don't have it.
12345
12346 Tue Jul 18 20:41:20 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12347
12348         * Added AWAY command to client.  When away message is set and
12349           client receives a private message packet the client automatically
12350           replies to the sender with the away message.
12351
12352         * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin.  This
12353           bug seemed to be the cause of recent problems when compiling
12354           with gcc-2.95.
12355
12356         * Added version detection support to SKE protocol specification
12357           and added the new changes to the SKE implementation as well.
12358           There were other minor changes in the SKE protocol as well.
12359
12360           Many changes in lib/silcske/silcske.[ch] and in
12361           lib/silcske/payload.[ch].
12362
12363         * Added ^U functionality, clear input line.  Patch from cras.
12364
12365 Mon Jul 17 23:33:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12366
12367         * Mainly small bugfixes on core library.  Fixed some debugging
12368           logging and buffer overflow in silclog.c.
12369
12370         * Updated config.sub and config.guess on the distribution tree.
12371
12372 Sat Jul 15 15:33:48 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12373
12374         * Added command lagging support in server. Client may execute
12375           commands now only once in two seconds.
12376
12377 Thu Jul 13 22:10:21 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12378
12379         * Optimized packet reception. MAC computation and checking is now
12380           also more optimized.  A lot previously duplicated code is now
12381           used as generic by both client and server.
12382
12383         * Fixed key pair generation in clientutil.c
12384
12385 Wed Jul 12 18:28:07 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12386
12387         * Added into lib/silccore/silcbufutil.[ch] new function;
12388           silc_buffer_realloc.
12389
12390         * Moved generic packet sending/encryption functions to
12391           lib/silccore/silcpacket.[ch] from client and server.  Some
12392           rewriting of the functions.
12393
12394         * Moved all generic packet reception/decryption functions to
12395           lib/silccore/silcpacket.[ch] from client and server.  The
12396           packet processing is now much cleaner in both client and server.
12397           These were major changes in both client and server.
12398
12399         * Created many common functions in server to do packet sending.
12400           Previously code were duplicated a lot, this has been removed
12401           with these changes.
12402
12403 Tue Jul 11 20:27:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12404
12405         * Rewrote major parts of the ID cache system.  Don't know
12406           whether it is better now or not but at least the API is more
12407           cleaner now.
12408
12409         * Major rewrite on ID cache stuff on client because of the ID
12410           cache API changes.  Added idlist.c to client.
12411
12412         * Also major rewrite on ID cache stuff on server as well.
12413           Major rewrite of idlist.[ch]. SilcXXXList's are now named
12414           SilcXXXEntry's.  We won't keep anymore idlist specific pointers
12415           in hand, instead they are all put into the ID cache system now.
12416           All server_idlist_* routines uses ID cache now instead of
12417           traversing its own lists (those lists does not exist anymore).
12418           SilcIDList though still exists.  Also, SilcXXXEntry's are
12419           now pointers.
12420
12421 Sun Jul  9 15:19:24 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12422
12423         * Finally made the SKE implementation compliant to the protocol
12424           specification.  All mp integers are now binary encoded as
12425           opposed being HEX encoded.
12426
12427         * Added lib/silcmath/mpbin.[ch].  Encoding mp intergers to and
12428           from binary data.
12429
12430         * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
12431           functions: silc_[encode/decode]_pem.  Also added function
12432           silc_encode_pem_file to PEM encode with newlines ('\n') for
12433           saving into a file.
12434
12435         * SILC public keys are now encoded either PEM or binary.  Same
12436           option is for private keys as well.  By default private keys
12437           are binary encoded and public keys PEM encoded.  Silly HEX
12438           encoding were removed.
12439
12440         * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
12441           function to create fingerprints.
12442
12443         * Fixed a bug in SHA1; does not change the original data anymore.
12444
12445         * Partly implemented INFO command on client and server side.
12446           Fixed CLEAR command.  Changes to SERVER command; show current
12447           server(s) when giving command without arguments.  Added
12448           VERSION command to client.
12449
12450         * Added check to server that unregistered connections cannot
12451           execute commands (unless it is specificly allowed).
12452
12453 Thu Jul  6 18:12:24 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12454
12455         * Fixed screen refresh.
12456
12457         * Fixed channel joining bug from client.  On some circumstances
12458           client tried to join to a channel it had already joined.
12459
12460         * Added public key verification process into client's protocol.c.
12461           The client now verifies the public key from user and saves
12462           it into ~./silc/serverkeys/ directory.
12463
12464           Added into: clientutil.[ch]: silc_client_verify_server_key.
12465
12466         * Changed SKE protocol's silc_ske_initiator_finish function
12467           to accept callback function that verifies the received public
12468           key.  Removed old silc_ske_verify_public_key function.
12469
12470 Wed Jul  5 19:19:02 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12471
12472         * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
12473           silc_pkcs_private_key[_data]_set.
12474
12475         * Made the password and public authentication more cleaner in
12476           server's protocol.c.
12477
12478         * Removed historic and obsolete protocol `channel_auth' from
12479           both client and server.
12480
12481         * Removed wrong way of sending command status messages from
12482           server to client in server's command.c.  The old way violated
12483           protocol specification.
12484
12485           Changes to silccore/silccommand.[ch]: removed
12486           silc_command_encode_status_payload -> not needed anymore,
12487           changed silc_command_encode_payload_va to accept extra
12488           argument on variable argument list.  The argument type must
12489           now be provided to the function.  Also, added new function:
12490           silc_command_encode_reply_payload_va which is same as
12491           normal command_encode_payload_va except command status type
12492           is provided as extra argument.
12493
12494 Tue Jul  4 18:26:39 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12495
12496         * Added ~./silc directory handling.  The directory includes the
12497           public and private keys for the client.
12498
12499           Added silc_client_check_silc_dir, silc_client_create_identifier
12500           and silc_client_load_keys.
12501
12502         * Implemented SILC protocol compliant public key.  Added public
12503           and private key saving to and loading from files.
12504
12505           Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
12506           silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
12507           silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
12508           silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
12509           silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
12510
12511           Implemented: silc_pkcs_save_[public/private]_key[_data] and
12512           silc_pkcs_load_[public/private]_key.
12513
12514 Mon Jul  3 18:51:27 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12515
12516         * Added silc_server_get_route (route.[ch]) to get connection
12517           data for the fastest route for given ID.
12518
12519         * Implemented INVITE command on client and server.  The command
12520           were re-defined in the SILC Protocol Specification and the
12521           implementation now complies with the specification.
12522
12523         * Implemented PING command on client and server.
12524
12525         * Implemented NAMES command on client and server.  The server side
12526           supports currently only normal server not router server yet.
12527           Some changes to NAMES definition in SILC protocol specification.
12528
12529 Sun Jul  2 18:23:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12530
12531         * Implemented LEAVE command on client and server.
12532
12533         * Previously deprecated SILC_PACKET_FORWARDED flag is now in use
12534           again.  This change was made to the protocol as well.  Server
12535           should not violate the protocol specification anymore.
12536
12537 Fri Jun 30 14:03:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12538
12539         * Added SOCKS4 and SOCKS5 support to SILC client.  SOCKS5
12540           was tested.  SOCKS4 was not but should work anyway.