updates.
[silc.git] / CHANGES
1 Wed Jun  6 18:33:05 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
2
3         * Added notify callback to silc_schedule_init which can be used to 
4           set a notify callback for scheduler which is called when task is
5           added to scheduler or deleted from scheduler.  Affected file
6           is lib/silcutil/silcschedule.[ch].
7
8         * Dispatch timeout tasks after dispatching FD tasks if the timeout
9           was very short.  Affected file is lib/silcutil/silcschedule.c.
10
11         * Rewrote the SILC scheduler handling in SILC Client to not poll
12           every few msecs but to use the new notify callback.  Affected 
13           file is apps/irssi/src/silc/core/silc-core.c.
14
15         * Fixed SFTP client library read buffer size which was too small.
16           Affected file is lib/silcsftp/sftp_client.c.
17
18         * Fixed file transfer crash bug in /QUIT in SILC Client.  Close
19           the FTP sessions before quitting the client.  Affected file
20           is apps/irssi/src/silc/core/silc-servers.c.
21
22 Tue Jun  5 20:48:40 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
23
24         * Fixed silc_packet_get_ids to decode the IDs correctly.
25           Affected file is lib/silccore/silcpacket.c.
26
27         * Fixed silc_client_get_clients_local to parse correctly nickname
28           string that may have server name in it (nick@server) regardless
29           whether it was formatted nickname or not.  Affected file is
30           lib/silcclient/client_entry.c.
31
32 Mon Jun  4 22:02:53 CEST 2007  Jochen Eisinger <jochen@penguin-breeder.org>
33
34         * Only destroy sendbuffers, if they still exist (they cease to
35           exist during /upgrade).  Affected file is
36           apps/irssi/src/silc/core/silc-servers.c
37
38 Mon Jun  4 21:24:17 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
39
40         * Removed --enable-silc-plugin.  Added --with-silc-plugin.
41           Affected files are configure.ad, lib/configure.ad,
42           apps/irssi/configure.ad, apps/irssi/configure.in,
43           apps/irssi/scripts/Makefile.am,
44           apps/irssi/scripts/examples/Makefile.am,
45           apps/irssi/src/silc/core/silc/Makefile.am,
46           apps/irssi/src/fe-common/silc/Makefile.am.
47
48 Mon Jun  4 08:35:59 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
49
50         * SILC Client 1.1.
51
52 Sun Jun  3 14:00:09 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
53
54         * Fixed DESTDIR handling in make install.
55
56 Sat Jun  2 21:04:32 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
57
58         * SIM modules are not delivered to SILC CLient distribution
59           anymore.
60
61         * Changed default installation path from /usr/local/silc to
62           /usr/local for all distributions.
63
64         * Removed --with-etcdir and --with-docdir.  The etcdir is now
65           the system's default.  The Docdir is system's default.
66
67 Sat Jun  2 00:51:57 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
68
69         * If public key/private key loading fails set the return
70           pointer to NULL.  Affected file is lib/silccrypt/silcpkcs.c.
71
72         * If private key loading fails in silc_load_key_pair free the
73           loaded public key.  Affected file is
74           lib/silcapputil/silcapputil.c.
75
76         * Fixed key pair loading crash with SILC Plugin if key pair
77           loading fails.  Affected file is
78           apps/irssi/src/silc/core/silc-core.c.
79
80         * Fixed SILC Client help and script file installation path
81           to go to prefix/share/silc.  Affected files are
82           apps/irssi/src/scripts/Makefile.am and
83           apps/irssi/docs/help/Makefile.am.gen.
84
85 Thu May 31 16:49:13 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
86
87         * Fixed UTC offset minutes to be actually minutes.  Affected
88           file is lib/silcutil/silctime.c.
89
90 Thu May 31 09:40:56 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
91
92         * SILC Toolkit 1.1.
93
94         * Added support for checking for timezone and tm_gmtoff.
95           Affected files are configure.ad and lib/silcutil/silctime.c.
96
97 Wed May 30 18:46:34 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
98
99         * Added silc-toolkit.spec.in RPM spec file.
100
101 Mon May 28 23:21:39 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
102
103         * Fixed nickname formatting crash when updating existing
104           client entry.  Affected file is lib/silcclient/client_entry.c.
105
106         * Fixed MIME object encoding in attribute payload encoding.
107           Affected file is lib/silccore/silcattrs.c.
108
109 Mon May 28 09:02:26 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
110
111         * SILC Client 1.1 Beta6
112
113 Sun May 27 20:38:30 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
114
115         * Copy SILC Plugin's libfe_common_silc.so to libfe_silc.so so
116           that user's don't have to do it manually.  Affected file
117           is apps/irssi/src/fe-common/silc/core/Makefile.am.
118
119 Thu May 24 15:30:31 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
120
121         * SILC Toolkit 1.1 Beta4.
122
123         * Fixed channel and server entry freeing in client library.
124           Affected file is lib/silcclient/client_entry.c.
125
126         * Do not allow stopping client before it has been started.
127           Affected file is lib/silcclient/client.c.
128
129 Wed May 23 23:21:03 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
130
131         * Fixed formatted nickname renaming to rename also irssi's
132           nicklist (/NAMES etc).  Affected file is
133           apps/irssi/src/silc/core/client_ops.c.
134
135         * Fixed SILC Plugin crash when stopping client library before
136           it has been started.  Affected file is
137           apps/irssi/src/silc/core/silc-core.c.
138
139 Tue May 22 17:18:54 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
140
141         * For SILC Client and SILC Server check for 1.1 Toolkit
142           in configure.  Affected file is configure.ad.
143
144         * Added better library linking flags and orders for SILC Client.
145           Affected file is configure.ad, Makefile.defines_int.in and
146           apps/irssi/src/fe-text/Makefile.am
147
148 Mon May 21 08:26:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
149
150         * SILC Client 1.1 Beta5.
151
152 Sun May 20 18:34:22 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
153
154         * Add hooks for Irssi 0.8.11 module functions.  Affected file
155           is apps/irssi/src/fe-common/silc/fe-common-silc.c
156
157 Sat May 19 14:46:36 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
158
159         * Fixed passphrase authentication with server.  Affected file
160           is lib/silcclient/client_connect.c.
161
162         * Fixed passphrase authentication as responder.  Affected file is
163           lib/silcske/silcconnauth.c.
164
165         * Changed SilcAskPassphrase and SilcGetAuthMeth callbacks to
166           return data as const.  Affected file is
167           lib/silcclient/silcclient.h.
168
169         * Fixed timeout calculation in Symbian scheduler.  Affected
170           file is lib/silcutil/symbian/silcsymbianscheduler.c.
171
172 Fri May 18 21:10:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
173
174         * Do not uninitialize u.m.threads atomic int in finish but in
175           free.  Fixes crash on any platform using atomic operations
176           using mutexes (like Symbian).  Affected file is
177           lib/silcutil/silcfsm.c.
178
179         * Fixes Symbian scheduler wakeup synchronization.  Affected file
180           is lib/silcutil/symbian/silcsymbianscheduler.c.
181
182 Fri May 18 18:10:36 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
183
184         * Fixed nickname formatting to handle already formatted nicknames
185           better.  Affected file is lib/silccilent/client_entry.c.
186
187         * Added "foo#2 appears as foo" support to SILC Client when user
188           leaves or quits and one formatted nickname remain.  Affected file 
189           is apps/irssi/src/silc/core/client_ops.c.
190
191         * Send SilcChannelEntry to application in SILC_NOTIFY_TYPE_SIGNOFF.
192           Affected file is lib/silcclient/client_notify.c.
193
194 Thu May 17 18:05:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
195
196         * Fixed silc_show_public_key to not free public key in case of
197           failure.  Affected file is lib/silcapputil/silcapputil.c.
198
199 Thu May 17 17:09:50 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
200
201         * SILC Toolkit 1.1 Beta3.
202
203         * Porting Toolkit to Symbian.  It should work while some sporadic
204           odd crashes remain.  However I was able to run mybot on SILCNet.
205           Basically tested scheduler, net routines, socket  routines,
206           threads and some other utility routines.  Affected files are
207           in lib/silcutil/symbian/.
208
209 Thu May 17 11:57:40 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
210
211         * Show realname and email address from public key when verifying
212           cached public keys with GETKEY.  Affected files are
213           apps/irssi/src/fe-common/module-formats.[ch] and
214           apps/irssi/src/silc/core/client_ops.c.
215
216 Wed May 16 20:41:04 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
217
218         * Include SILC Plugin theme.  Affected file is apps/irssi/plugin.theme
219
220         * Include SILC Plugin /silc command help.  Affected file is
221           apps/irssi/docs/help/silc
222
223         * Create channels before joining them.  Affected file is
224           apps/irssi/src/silc/core/client_ops.c
225
226 Wed May 16 18:59:22 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
227
228         * Fixed channel private key listing with /key.  Affected file
229           is apps/irssi/src/silc/core/silc-channels.c.
230
231         * Fixed the public headers from anonymous structures.  Affected
232           files are lib/.
233
234         * Changed silc_buffer_*len macros to inline functions.  Affected
235           file is lib/silcutil/silcbuffer.h.
236
237 Wed May 16 10:21:45 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
238
239         * Fixed nickname format parsing in JOIN notify handling and
240           in WHOIS command reply.  Affected file is
241           apps/irssi/src/silc/core/client_ops.c.
242
243 Wed May 16 09:34:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
244
245         * SILC Client 1.1 Beta4.
246
247 Tue May 15 23:55:41 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
248
249         * Added SILC_VERIFY macro which is equivalent to SILC_ASSERT
250           but is compiled always in.  Affected file is 
251           lib/silcutil/silclog.h.
252
253         * Use SILC_VERIFY in FSM macros instead of SILC_ASSERT which is
254           not there in release builds.  Affected file is
255           lib/silcutil/silcfsm.h.
256
257 Tue May 15 21:19:09 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
258
259         * SILC Client 1.1-beta3
260
261 Mon May 14 23:20:59 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
262
263         * Added silc_utf8_c2w and silc_utf8_w2c to do UTF-8 to widechar
264           and widechar to UTF-8 conversions.  Affected files are
265           lib/silcutil/silcutf8.[ch].
266
267 Mon May 14 19:45:14 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
268
269         * Include a README for the SILC Plugin
270
271 Sun May 13 22:08:59 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
272
273         * Adopt perl Makefiles for SILC Plugin.
274
275 Sun May 13 18:27:13 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
276
277         * Fixed client library initialization when the running callback
278           is not given to silc_client_init.  Affected file is
279           lib/silcclient/client.c.
280
281         * Fixed Symbian compilation problems around the tree.  Added
282           new Carbide.c++ project files to symbian/ directory.
283
284         * Fixed SilcLog API to work on Symbian.  On Symbian it doesn't
285           use any globals.  Affected files are lib/silcutil/silclog.c
286           and silclog_i.h.
287
288 Sun May 13 16:54:35 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
289
290         * Fix several warnings in Irssi's Makefiles.
291
292 Sun May 13 12:16:30 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
293
294         * Disable ASM if --with-pic was given.  Affected file is
295           lib/silccrypt/configure.ad
296
297 Fri May 11 19:10:54 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
298
299         * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later
300           in case they are called from a thread.  Affected file is
301           lib/silcutil/silcfsm.c.
302
303         * Fixed WIN32 thread creation to handle the Tls correctly.
304           Affected file is lib/silcutil/win32/silcwin32thread.c.
305
306 Thu May 10 18:29:18 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
307
308         * SILC Toolkit 1.1-beta2.
309
310 Thu May 10 18:21:10 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
311
312         * Fixed silc_net_tcp_connect crash on Unix and Win32.  Handle
313           the socket async operation correctly.  Changed that DNS lookup
314           is now done during connecting.  Affected files are
315           lib/silcutil/[unix|win32]/silc[unix|win32]net.c.
316
317         * Changed also silc_net_tcp_connect on Symbian to do DNS lookup.
318           Affected file is lib/silcutil/symbian/silcsymbiannet.c.
319
320         * Optimize silc_net_gethostbyname to check if the name is already
321           IP address.  Affected file is lib/silcutil/silcnet.c.
322
323 Wed May  9 19:51:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
324
325         * Print filename instead of empty function name in debug output
326           on WIN32.  Affected files are lib/silcutil/silclog_i.h and
327           silclog.c.
328
329         * Rewrote WIN32 SILC Scheduler.  It now handles non-blocking file 
330           descriptors and sockets better.  Though, room for optimization
331           remains.  Affected file is lib/silcutil/win32/silcwin32schedule.c.
332
333         * Removed silc_net_win32_[init|uninit].  They are called now
334           automatically when SILC Scheduler is allocated.  Wrote IPv4
335           address parser because inet_addr seemed not to work on my WIN32.
336           Affected file is lib/silcutil/win32/silcwin32net.c.
337
338         * Improved socketstream.h and stream.h documentation.
339
340 Tue May  8 18:13:38 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
341
342         * Changed private message waiting API in client library to make
343           it work better with multiple waiting threads.  The waiting is
344           not always per client entry instead of per connection.  Affected
345           files are lib/silcclient/client_prvmsg.c, client.h and
346           silcclient.h.
347
348         * Changed silc_packet_wait_init function to accept the the expected
349           Source ID of the packet as argument.  If specified only packets
350           with the specified types and Source ID are delivered.  Affected
351           files are lib/silccore/silcpacket.[ch].
352
353         * Fixed file transfer disconnection crash when closing the session
354           directly in the monitor callback after disconnection.  Affected
355           file is lib/silcclient/client_ftp.c.
356
357         * Make Toolkit compile on WIN32.  Affected files in win32/
358           and in lib/silcutil/win32/.
359
360         * Changed silc_compare_timeval to return negative, zero or
361           positive instead of just TRUE or FALSE.  This fixes 0 timeout
362           task dispatching on Windows.  Affected files are
363           lib/silcutil/silctime.[ch] and silcschedule.c.
364
365 Mon May  7 18:18:48 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
366
367         * Fixed CMODE channel auth public key retrieval.  Affected
368           file is lib/silcclient/command.c.
369
370         * Fixed CMODE command reply to return channel public keys
371           correctly.  Affected files are lib/silcclient/command_reply.c
372           and client_channel.c.
373
374 Sun May  6 12:43:19 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
375
376         * Added current channel key cipher name and HMAC name to
377           SilcChannelEntry.  Fixed channel private key creation.
378           Affected files are lib/silcclient/client_channel.c,
379           client_entry and silcclient_entry.h.
380
381         * Allow formatted nicknames as input to silc_client_get_clients
382           and silc_client_get_clients_whois.  Affected file is
383           lib/silcclient/client_entry.c.
384
385         * Fixed silc_message_payload_free crash.  Affected file is
386           lib/silccore/silcmessage.c.
387
388         * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to
389           lib/silccore/silcstatus.h.
390
391 Thu May  3 18:07:50 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
392
393         * Imported libtommath 0.41.  Renamed all mp_* functions to
394           tma_mp_* functions to avoid rare linking problems on systems
395           with mp_* functions.  Affected files are in lib/silcmath/.
396
397 Wed May  2 17:46:25 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
398
399         * SILC Toolkit 1.1 Beta1.
400
401 Wed May  2 11:38:17 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
402
403         * Set the server and router operator modes to local entry after
404           successful OPER or SILCOPER commands.  Affected file is
405           lib/silcclient/command_reply.c.
406
407 Tue May  1 14:17:06 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
408
409         * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API,
410           and other smaller APIs to WIN32.  Affected files are in
411           lib/silcutil/win32/.
412
413         * Changed the various regex APIs as generic code in util library.
414           Affected files are lib/silcutil/silcstrutil.[ch].
415
416 Sat Apr 28 13:47:47 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
417
418         * Ported SILC Server to the new Toolkit API, working towards
419           SILC Server 1.1.  Affected files are in apps/silcd/.
420
421         * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key
422           to lib/silcskr/silcskr.[ch].
423
424         * Fixed SILC public key copying to copy the identifier also.
425           Affected file is lib/silccrypt/silcpk.c.
426
427         * Added silc_packet_error_string to lib/silccore/silcpacket.[ch].
428
429         * Fixed OPER and SILCOPER passphrase asking in Client library.
430           Affected file is lib/silcclient/command.c.
431
432 Tue Apr 24 17:55:24 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
433
434         * Fixed command queue enabling after connecting to server.
435           The comparisons was from after changing to silc_utf8_strcasecmp.
436           Affected file is apps/irssi/src/silc/core/silc-servers.c.
437
438         * Fixed nickname setting with own client entry with 1.3 protocol
439           version server.  Affected file lib/silcclient/client_register.c.
440
441         * Ignore error notify for local client entry.  Affected file is
442           lib/silcclient/client_notify.c.
443
444         * Implemented responder rekey to SKE library.  Affected files are
445           lib/silcske/silcske.[ch].
446
447         * Fixed connection auth protocol completion sending.  Affected
448           file lib/silcske/silcconnauth.c.
449
450 Mon Apr 23 17:20:01 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
451
452         * Do not call TCP network listener callback with any error
453           status, as documented.  Affected file is
454           lib/silcutil/unix/silcunixnet.c.
455
456 Sun Apr 22 21:13:28 EEST 2007  Pekka Riikonen <priikone@silcnet.org>
457
458         * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
459
460         * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type.
461           Changed silc_skr_find to have SilcSchedule argument and removed
462           it from silc_skr_[alloc|init].  Affected files are
463           lib/silcskr/silcskr.[ch].
464
465         * Allow NULL id for silc_idcache_add.  Affected file is
466           lib/silcapputil/silcidcache.c.
467
468         * Added silc_packet_stream_is_valid, silc_packet_get_ids and
469           silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch].
470           Fixed also channel message encryption with router-to-router
471           packets.
472
473         * Added silc_id_str2id2 to lib/silccore/silcid.[ch].
474
475         * Added silc_net_get_error_string, silc_net_listener_get_ip and
476           silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
477
478 Tue Apr 10 15:55:42 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
479
480         * Add option --enable-silc-plugin.  Affected files are
481           apps/irssi/configure.{ad,in}
482
483         * Only compile the SILC Plugin if required.  Affected files are
484           apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am
485
486         * Conditionally build the SILC Plugin.  Affected files are
487           apps/irssi/src/silc/core/Makefile.am,
488           apps/irssi/src/fe-common/silc/Makefile.am
489
490         * Backout delayed protocol exit and replace with a lame busy
491           wait.  Affected files are apps/irssi/src/fe-text/silc.c,
492           apps/irssi/src/silc/core/silc-core.c
493
494         * Fix key generation for SILC Plugin.  Affected file
495           apps/irssi/src/silc/core/clientutil.c
496
497 Tue Apr 10 12:40:19 CEST 2007  Jochen Eisinger <coffee@silcnet.org>
498
499         * Only pass -rpath to libtool when building shared libraries.
500           Affected file lib/Makefile.ad
501
502         * Removing the stray "s" in configure.ad
503
504 Sat Mar 24 19:13:58 CET 2007  Jochen Eisinger <coffee@silcnet.org>
505
506         * Redraw the screen after creating a new key.  Affected file
507           apps/irssi/src/silc/core/clientutil.c
508
509 Sun Mar 18 15:54:10 EET 2007  Pekka Riikonen <priikone@silcnet.org>
510
511         * Added SILC Client setting /set nickname_format that specifies
512           the nickname format string.  Changed default nickname format
513           string to "%n#%a".  Affected file is
514           apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf.
515
516         * Fixed nickname parsing with WHOIS command to accept formatted
517           nicknames.  Changed the silc_client_get_clients_local to allow
518           the searched nickname to be formatted nickname.  Removed %s and
519           %S nickname formatters.  Affected files are in lib/silcclient/.
520
521         * Added silc_client_nickname_parse to Client library API.  Affected
522           file is lib/silcclient/silcclient.h.
523
524         * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY
525           commands.  Affected file are
526           apps/irssi/src/silc/core/silc-servers.c and silc-channels.c.
527
528 Sat Mar 17 19:07:15 CET 2007  Jochen Eisinger <coffee@silcnet.org>
529
530         * Incorporate SILC Plugin patches.  Affected files are
531           apps/irssi/src/fe-common/silc/module-formats.{c,h},
532           apps/irssi/src/silc/core/clientutil.{c,h},
533           apps/irssi/src/silc/core/silc-core.c,
534           apps/irssi/src/silc/core/silc-chatnets.{c,h},
535           apps/irssi/src/fe-common/silc/fe-silcnet.c, and
536           apps/irssi/src/fe-common/silc/module.h
537
538 Wed Mar 14 17:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
539
540         * In notify handling resolve user entries many times if the
541           resolving timedout.  Affected file lib/silcclient/client_notify.c.
542
543         * silc_client_get_clients_local do not return any invalid entries.
544           Affected file is lib/silcclient/client_entry.c.
545
546         * Do not print "there are now xx user on this channel" for users
547           that actually aren't anymore on the channel.  Affected file
548           is apps/irssi/src/client_ops.c.
549
550 Sun Mar 11 17:43:18 CET 2007  Jochen Eisinger <coffee@silcnet.org>
551
552         * When joining channels with a password given in the config file,
553           use it.  Also use it when cycling (it would be better to get
554           the password from the server, but this isn't possible in SILC).
555           Affected files apps/irssi/src/silc/core/silc-servers.c,
556           apps/irssi/src/silc/core/silc-channels.c
557
558 Sun Mar 11 15:22:42 CET 2007  Jochen Eisinger <coffee@silcnet.org>
559
560         * Import perl script for sign_messages from silc-plugin.  Affected
561           file apps/irssi/scripts/silc.pl
562
563 Sun Mar 11 15:19:10 CET 2007  Jochen Eisinger <coffee@silcnet.org>
564
565         * Only wait for a nick on connecting, when it differs
566           (not counting case) from the username.  Affected file
567           is apps/irssi/src/silc/core/silc-servers.c
568
569 Sun Mar 11 13:50:53 CET 2007  Jochen Eisinger <coffee@silcnet.org>
570
571         * Use time settings for lag settings.  Affected file is
572           apps/irssi/src/silc/core/silc-lag.c
573
574 Tue Feb 27 17:07:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
575
576         * Added silc_thread_yield.  Affected file is
577           lib/silcutil/silcmutex.h.
578
579 Wed Feb 21 17:01:01 EET 2007  Pekka Riikonen <priikone@silcnet.org>
580
581         * Fixed WHOIS command and requested attributes handling in
582           client library.  Affected files are lib/silcclient/command.c
583           and lib/silcclient/client_attrs.c.
584
585         * Fixed silc_time_value to actually work.  Added new function
586           silc_timezone.  Affected files are lib/silcutil/silctime.[ch].
587
588 Tue Feb 20 08:31:28 EET 2007  Pekka Riikonen <priikone@silcnet.org>
589
590         * SILC Client 1.1 beta2.
591
592 Mon Feb 19 16:06:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
593
594         * Fixed client to properly abort TCP stream creation when
595           giving /QUIT.  Affected file
596           apps/irssi/src/silc/core/silc-servers.c.
597
598         * Fixed several connecting aborting crashes from the client
599           library, packet engine and socket stream.  Affected files
600           are in lib/silclient/, lib/silccore/silcpacket.c and
601           lib/silcutil/unix/silcunixsocketstream.c.
602
603         * Fixed private key export double free crash in key generation.
604           Affected file is lib/silccrypt/silcpk.c.
605
606         * Fixed FSM event waiting when there are multiple signallers
607           and the waiter goes away after the first signal.  Affected
608           file in lib/silcutil/silcfsm.c.
609
610 Sun Feb 18 22:02:22 EET 2007  Pekka Riikonen <priikone@silcnet.org>
611
612         * Fixed FSM event signalling to check if the waiter has gone
613           away already.  Affected file is lib/silcutil/silcfsm.c.
614
615         * Fixed counter mode encryption/decryption to handle non-padded
616           SILC packets correctly.  The silc_cipher_set_iv now
617           in counter mode resets for a new block.  Affected files are
618           in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
619
620 Sun Feb 18 12:15:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
621
622         * SILC Client 1.1 beta1.
623
624         * Memory leak fixes around the libraries.
625
626 Fri Feb 16 16:53:16 EET 2007  Pekka Riikonen <priikone@silcnet.org>
627
628         * Added better check for epoll() in configure.  Affected file
629           is lib/configure.ad.
630
631 Thu Feb 15 16:50:34 EET 2007  Pekka Riikonen <priikone@silcnet.org>
632
633         * Fixed per scheduler data input buffer in packet engine.  Use
634           list of inbufs instead of just one so that multiple streams
635           can do partial reads to different buffers.  Affected file is
636           lib/silccore/silcpacket.c.
637
638         * Fixed WATCH notify handling in client library.  Affected file
639           is lib/silcclient/client_notify.c.
640
641 Wed Feb 14 17:05:38 EET 2007  Pekka Riikonen <priikone@silcnet.org>
642
643         * Fixed packet wrapper stream API to support encoder/decoder
644           for packets, and to handle partial reading correctly.  Fixed
645           also inbuf size checking in reading to have enough space before
646           reading.  Affected files are lib/silccore/silcpacket.[ch].
647
648         * Rewrote file transfer in client library.  Affected files are
649           in lib/silcclient/.
650
651         * Added TCP/UDP listener (internal) API to client library to have
652           generic way of dealing with listeners.  Fixed Key Agreement and
653           file transfer to use it.  Affected files are in lib/silcclient/.
654
655         * Fixed SKE to process SUCCESS packets synchronously and to call
656           completion synchronously.  Affected file is lib/silcske/silske.c.
657
658         * Fixed pthread rwlock detection.  Affected file includes/silc.h.in.
659
660         * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER.  Affected files are
661           lib/silccore/silcattrs.[ch].  SILC Protocol version 1.3 change.
662
663 Fri Feb  2 22:24:11 EET 2007  Pekka Riikonen <priikone@silcnet.org>
664
665         * Added support for SILC protocol version 1.3 NEW_CLIENT packet
666           to client library.  Affected file is
667           lib/silcclient/client_register.c.
668
669         * Serialize NICK and JOIN commands to avoid problems locally
670           with changing ID while joining to channel.  Affected file is
671           lib/silcclient/command.c.
672
673         * Fixed entry resolving while handling incoming JOIN notify.
674           Handle properly cases, in re-processing of notify packets, where
675           the IDs may become invalid while resolving the entry (like nick
676           change).  Entry is invalid if it doesn't have nickname, and such
677           entries are not delivered to application anymore.  These fixes
678           problems of not seeing JOINs when remote user changes nickname
679           at the same time.  Affected files are in lib/silcclient/.
680
681 Thu Feb  1 18:35:58 EET 2007  Pekka Riikonen <priikone@silcnet.org>
682
683         * Added support for computing message payload MAC in new way
684           (SILC Protocol version 1.3).  Bakcwards support for old way
685           remains.  Affected files are lib/silccore/silcmessage.[ch].
686
687 Sat Jan 27 22:37:30 EET 2007  Pekka Riikonen <priikone@silcnet.org>
688
689         * Added SilcRwLock API, a read/write lock.  Affected files are
690           lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
691
692 Wed Jan 24 18:55:21 EET 2007  Pekka Riikonen <priikone@silcnet.org>
693
694         * Merged Irssi SVN (irssi 0.8.11).  Affected files in apps/irssi/.
695
696 Tue Jan 23 16:05:27 EET 2007  Pekka Riikonen <priikone@silcnet.org>
697
698         * The silc_schedule_set_listen_fd now returns boolean value.
699           Fixed FD task adding to check correctly for already added
700           FD tasks.  Added stricter error checking for FD scheduling
701           with epoll().  Affected files are lib/silcutil/silcschedule.[ch]
702           and lib/silcutil/unix/silcunixschedule.c.
703
704         * The silc_stream_set_notifier now returns boolean value.  Changed
705           all streams to support and check for the error condition.
706           Affected files are in lib/silcutil/.
707
708         * Fixed SKE library session aborting and deletion.  Affected
709           file are lib/silcske/silcske.c.
710
711 Tue Jan 16 18:22:08 EET 2007  Pekka Riikonen <priikone@silcnet.org>
712
713         * Implemented PKCS #1 with appendix with hash OID in the
714           signature.  Affected files are lib/silccrypt/silcpkcs1.[ch],
715           lib/silccrypt/silchash.[ch] and
716           lib/silcasn1/silcasn1[_encode|decode].[ch].
717
718 Sun Jan 14 23:12:41 EET 2007  Pekka Riikonen <priikone@silcnet.org>
719
720         * Added support for Version (V) SILC public key identifier.
721           Affected files are lib/silccrypt/silcpk.[ch].
722
723 Tue Jan  9 19:37:51 EET 2007  Pekka Riikonen <priikone@silcnet.org>
724
725         * Rewrote connection auth request in client library.  It is now
726           done automatically by the library and the resolved method given
727           as a hint to get_auth_method client operation.  Affected files
728           are lib/silcclient/.
729
730 Wed Jan  3 18:06:33 EET 2007  Pekka Riikonen <priikone@silcnet.org>
731
732         * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch].
733           It can be used to wrap SilcPacketStream into SilcStream.
734
735         * Fixed %p formatting from silc_snprintf.  Affected file is
736           lib/silcutil/silcsnprintf.c.
737
738         * Ported SFTP library to new utility library.  Ported also
739           the SFTP testers.  Affected files in lib/silcsftp/.
740
741 Tue Jan  2 17:18:46 EET 2007  Pekka Riikonen <priikone@silcnet.org>
742
743         * Added lib/silcutil/silcsnprintf.[ch].  Added in addition
744           of silc_snprintf, silc_vsnprintf, silc_asprintf and
745           silc_vasprintf.
746
747 Sat Dec 30 23:23:17 EET 2006  Pekka Riikonen <priikone@silcnet.org>
748
749         * Added preliminary Symbian support.  Changes around the source
750           tree.  The symbian/ directory now includes Carbide.c++ project
751           files to compile the sources.
752
753         * Added silc_snprintf.  Affected files are
754           lib/silcutil/silcstrutil.[ch].
755
756 Thu Dec 21 18:01:51 EET 2006  Pekka Riikonen <priikone@silcnet.org>
757
758         * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to
759           macros.  SILC_FSM_CONTINUE macro now immediately calls the
760           next state instead of first returning back to FSM.  Helps
761           in debugging crashes etc.
762
763           Removed FSM Semaphores.  Introduced FSM Event which is
764           asynchronous event.   Affected files are in lib/.
765
766         * Added epoll(7) support to SILC Scheduler.  It is used by default
767           if it is available.  Affected files are
768           lib/silcutil/silcschedule.[ch],
769           lib/silcutil/unix/silcunixschedule.c.
770
771 Tue Dec 19 20:39:35 EET 2006  Pekka Riikonen <priikone@silcnet.org>
772
773         * Added CTR mode to AES.  Simplified cipher implementation API
774           more.  Affected files are in lib/silccrypt/.
775
776 Sun Dec 17 16:46:55 EET 2006  Pekka Riikonen <priikone@silcnet.org>
777
778         * Removed `detach' client operation.  The detachment data is
779           now delivered in SILC_COMMAND_DETACH command reply to
780           application.  Affected file in lib/silcclient/.
781
782         * Rewrote resuming/detaching in client library.
783
784         * Added boolean encryption indicator for silc_cipher_set_key.
785           Affected files lib/silccrypt/silccipher.[ch].
786
787 Wed Dec 13 18:05:50 EET 2006  Pekka Riikonen <priikone@silcnet.org>
788
789         * Added silc_likely and silc_unlikely macros for GCC branch
790           prediction optimizations.  Affected file lib/silcutil/silctypes.h.
791
792         * Added assembler AES optimization.  Cleaned up the SILC Cipher
793           implementation API.  Affected files are in lib/silccrypt/.
794
795 Tue Dec 12 18:56:14 EET 2006  Pekka Riikonen <priikone@silcnet.org>
796
797         * Changed back the SILC_FSM_THREAD_WAIT operation to not
798           continue to next state if thread is finished already.  That
799           check is not done anymore.  Affected files are
800           lib/silcutil/silcfsm.[ch].
801
802 Sun Dec 10 13:54:52 EET 2006  Pekka Riikonen <priikone@silcnet.org>
803
804         * Removed silc_packet_[get|set]_ciphers and
805           silc_packet_[get|set]_hmacs.  Added silc_packet_set_keys that
806           handle REKEY_DONE packet sending in rekey.  Affected files
807           are lib/silccore/silcpacket.[ch].
808
809         * Added silc_fsm_is_started.  Affected files are
810           lib/silcutil/silcfsm.[ch].
811
812         * Added settings sign_channel_message, sign_private_message
813           and key_exchange_rekey_pfs to SILC Client.  Added UDP transport
814           support for key agreement in /KEY command. Affected files
815           in apps/irssi/src/silc/core/.
816
817         * During SILC Client initialization forward log messages to
818           stderr.   Affected files in apps/irssi/src/silc/core/.
819
820 Thu Dec  7 19:07:21 EET 2006  Pekka Riikonen <priikone@silcnet.org>
821
822         * Added silc_ske_get_key_material.  Affected files are
823           lib/silcske/silcske.[ch].
824
825         * Added silc_packet_stream_is_udp.  Affected files are
826           lib/silccore/silcpacket.[ch].
827
828         * Added SKE packet retransmission support with UDP transport.
829           Affected file is lib/silcske/silcske.c.
830
831 Sun Dec  3 22:00:12 EET 2006  Pekka Riikonen <priikone@silcnet.org>
832
833         * Added silc_socket_stream_is_udp.  Affected file is
834           lib/silcutil/silcsocketstream.[ch].
835
836         * Added UDP transport support to packet engine.  Affected file
837           is lib/silccore/silcpacket.c.
838
839         * Added silc_socket_stream_is_udp.  Affected file is
840           lib/silcutil/silcsocketstream.[ch].
841
842 Sat Nov 18 11:33:03 EET 2006  Pekka Riikonen <priikone@silcnet.org>
843
844         * Added silc_packet_send_va[_ext] to send variable argument
845           formatted buffers.  Affected files lib/silcore/silcpacket.[ch].
846
847         * Timeout freelist garbage collection added to scheduler.
848           Affected file lib/silcutil/silcschedule.c.
849
850 Thu Nov  9 18:12:15 EET 2006  Pekka Riikonen <priikone@silcnet.org>
851
852         * Added silc_show_public_key_file to
853           lib/silcapputil/silcapputil.[ch].
854
855         * Added SILC_STR_ADVANCE support for buffer unformatting.
856           Affected file lib/silcutil/silcbuffmt.c.
857
858 Tue Nov  7 18:04:36 EET 2006  Pekka Riikonen <priikone@silcnet.org
859
860         * Added silc_string_split to lib/silcutil/silcstrutil.[ch].
861
862         * Added silc_mutex_assert_locked to lib/silcutil/silcmutex.h.
863
864         * silc_fsm_continue[_sync] now cancels erlier timeout set with
865           silc_fsm_next_later.  Affected file lib/silcutil/silcfsm.c.
866
867 Sat Nov  4 21:50:37 EET 2006  Pekka Riikonen <priikone@silcnet.org
868
869         * Added SILC_STR_FUNC to buffer format API.  Affected files
870           are lib/silcutil/silcbuffmt.[ch].
871
872         * Added silc_buffer_[s]enlarge to lib/silcutil/silcbuffer.h.
873
874         * No more memory allocation for message payload parsing.
875           Pre-allocated buffer can be used with message payload encoding.
876           Affected files lib/silccore/silcmessage.[ch].
877
878 Fri Oct 27 21:01:26 EEST 2006  Pekka Riikonen <priikone@silcnet.org
879
880         * Added silc_buffer_sunformat and silc_buffer_sunformat_vp
881           to silcutil/silcbuffmt.[ch].
882
883 Sun Oct 22 13:03:07 EEST 2006  Pekka Riikonen <priikone@silcnet.org
884
885         * Added SILC_STR_BUFFER to format and unformat SilcBuffer.
886           Affected file lib/silcutil/silcbuffmt.[ch].
887
888         * Removed silc_schedule_signal_[un]register and
889           silc_schedule_signal_call.  Added silc_schedule_task_add_signal
890           to add signal task.  Only one callback per signal may be
891           added.  The signals are now automatically called back to
892           caller.  Affected files lib/silcutil/silcschedule.[ch] and
893           silcutil/[unix/win32]/silc[unix/win32]schedule.c.
894
895         * Added silc_time_msec and silc_time_usec to silcutil/silctime.[ch].
896
897         * Added SilcSKEParams for SKE parameters and simplied even more
898           the SKE interface.  Affected files are lib/silcske/silcske.[ch].
899           Added support for IV included and session port handling with
900           UDP/IP connections.
901
902         * Added Secure ID (SID) support with IV Included flag (for UDP/IP)
903           in lib/silccore/silcpacket.[ch].  Added silc_packet_set_sid
904           which is called after every rekey when IV Included flag is used.
905           See SILC specifications for details.
906
907 Thu Oct 19 10:03:03 EEST 2006  Pekka Riikonen <priikone@silcnet.org
908
909         * Added lib/silcapputil and moved SILC application specific
910           utility routines from the generic util library lib/silcutil
911           to the new library.  Removed lib/silcidcache and moved that
912           to lib/silcapputil as well.
913
914 Tue Sep 19 00:14:11 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
915
916         * Added SILC_STR_ADVANCE.  Affected file is
917           lib/silcutil/silcbuffmt.[ch].
918
919         * The silc_buffer_strformat preserves buffer locations now.
920
921         * Added lib/silcutil/silcatomic.h for atomic operations.
922
923 Sat Sep 16 11:23:06 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
924
925         * Added lib/silchttp, SILC HTTP server, a very simple HTTP
926           server.
927
928         * Fixed MIME deocing when data portion is not present.
929           Affected file lib/silcutil/silcmime.c.
930
931 Wed Jul 19 12:06:38 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
932
933         * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/.
934
935         * Added IV Included support to packet routines, to allow
936           packet sending and receiving on UDP/IP.  Affected files are
937           lib/silccore/silcpacket.[ch].
938
939         * Added SILC_FSM_YIELD.  Affected files lib/silcutil/silcfsm.[ch].
940
941 Tue Jul 18 20:10:28 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
942
943         * Added UDP support to network and socket stream library.
944
945 Sat Jun 24 22:33:18 EEST 2006  Pekka Riikonen <priikone@silcnet.org>
946
947         * Added conditional variables.  New files are
948           lib/silcutil/silcondvar.h and platform specific implementations.
949
950 Thu Jan  5 20:02:31 CET 2006 Patrik Weiskircher <pat@icore.at>
951
952         * make sure session->hostname and session->port are valid before the
953           application callback is done, since things will go wrong if the
954           application immediately calls silc_client_file_receive. Affected
955           file lib/silcclient/client_ftp.c.
956           Patch received from Stefan Siegel <stesie@brokenpipe.de>, thanks!
957
958 Fri Dec 30 22:54:21 EET 2005  Pekka Riikonen <priikone@silcnet.org>
959
960         * New SILC PKCS API enabling support for other public keys
961           and certificates, lib/silccrypt/silcpkcs.[ch], silcpk.[ch].
962
963         * Separated SILC Public Key Payload routines from the PKCS API
964           to lib/silccore/silcpubkey.[ch].
965
966 Wed Dec 28 13:55:22 EET 2005  Pekka Riikonen <priikone@silcnet.org>
967
968         * Added SILC Key Repository library, lib/silcskr.
969
970         * Added SILC Server library, lib/silcserver.
971
972 Mon Dec 19 18:04:24 EET 2005  Pekka Riikonen <priikone@silcnet.org>
973
974         * MIME objects in attributes now use SilcMime.  Affected files
975           are lib/silccore/silcattrs.[ch].
976
977 Sat Dec 17 20:13:31 EET 2005  Pekka Riikonen <priikone@silcnet.org>
978
979         * Synchronize semaphore posting for real threads in FSM.
980           Affected files are lib/silcutil/silcfsm.c, silcfsm_i.h.
981
982 Mon Nov 28 17:06:54 EET 2005  Pekka Riikonen <priikone@silcnet.org>
983
984         * Added silc_file_set_nonblock.  Affected file is
985           lib/silcutil/silcfileutil.h.
986
987         * Added silc_fd_stream_file to lib/silcutil/silcfdstream.[ch].
988
989 Sat Nov 26 16:13:40 EET 2005  Pekka Riikonen <priikone@silcnet.org>
990
991         * FSM based implementation of SILC SKE.  Simpler interface also.
992           Affected files are in lib/silcske/.
993
994         * Added SilcBool type.  Affected file lib/silcutil/silctypes.h.
995
996 Sat Nov 19 17:34:51 EET 2005  Pekka Riikonen <priikone@silcnet.org>
997
998         * Added SilcMime API to lib/silcutil/silcmime.[ch].  The old
999           silc_mime_parse is available but deprecated.
1000
1001         * Check that packet is valid when processing key exchange,
1002           authentication and rekey protocols.  Fixes a crashbug.
1003           Affected files are apps/silcd/protocol.c and
1004           lib/silcclient/protocol.c.
1005
1006         * Added SILC_HASH_MAXLEN to lib/silccrypt/silchash.h, and changed
1007           all hash buffers to use that instead of fixed values.
1008
1009 Wed Nov 16 15:47:12 EET 2005  Pekka Riikonen <priikone@silcnet.org>
1010
1011         * Added SHA-256 to crypto library.  The SHA-256 takes now
1012           precedence over SHA-1.
1013
1014 Thu May 26 20:31:06 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1015
1016         * Check for valid return value from regcomp.  Affected file
1017           lib/silcutil/unix/silcunixutil.c.
1018
1019 Tue May 10 23:11:17 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1020
1021         * Fixed silc_hash_uint to work with integers.  Affected
1022           file lib/silcutil/silcutil.c.
1023
1024 Tue May 10 15:11:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1025
1026         * Rewritten SILC Log API.  Affected files lib/silcutil/silclog.[ch].
1027
1028 Mon May  9 12:00:08 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1029
1030         * Fixed channel public key list saving on JOIN command reply
1031           on backup router.  Affected file apps/silcd/command_reply.c.
1032
1033 Mon May  2 10:42:49 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1034
1035         * Added default limit how many channels client can join,
1036           default is 50.  Added 'channel_join_limit' configuration
1037           option to server too.  Affected files are apps/silcd/command.c
1038           and serverconfig.[ch].
1039
1040 Sun May  1 17:42:55 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1041
1042         * --without-silc -> --with-silc, --without-irssi -> --with-irssi.
1043           On Toolkit the server and client are not compiled by default.
1044           Affected file configure.ad.
1045
1046 Thu Apr 28 15:57:37 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1047
1048         * Added lib/contrib/getopt.[ch] for platforms that don't
1049           have it (it is not GPL implementation).
1050
1051         * Fixed compilation when pkg-config is used.
1052
1053 Wed Apr 27 11:49:41 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1054
1055         * A comma in invite/ban string is invalid, check for it.
1056           Affected file apps/silcd/server_util.c.
1057
1058         * Added SERVICE command to the server.  It parses the command
1059           request but SILC Server does not support services for the
1060           time being.  Affected file apps/silcd/command.[ch].
1061
1062         * Added SERVICE command and command reply to client library.
1063           It is however incomplete.  Updated Toolkit documentation.
1064           Affected files are lib/silcclient/command[_reply].[ch].
1065
1066         * Fixed IDENTIFY/WHOWAS command reply to send the username
1067           correctly (uninitialized buffer).  Affected file is
1068           apps/silcd/server_query.c.
1069
1070 Mon Apr 25 14:25:24 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1071
1072         * Moved silcer/, silc/, silcd/ and irssi/ to apps/.  This
1073           finalizes the major restructuring of the CVS tree.
1074
1075 Mon Apr 25 00:39:30 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1076
1077         * Send empty MOTD reply if MOTD file cannot be read.
1078           Affected file silcd/command.c.
1079
1080 Sun Apr 24 12:01:37 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1081
1082         * Optimized primer number generator to use simpler conversion
1083           routines.  Also assure that the prime number will have the
1084           highest bit set after modifying it.  Affected file is
1085           lib/silcmath/silcprimegen.c.
1086
1087         * Added LibTomMath to SILC Math library (SILC_DIST_TMA).
1088
1089         * Added FastTomMath to SILC Math Library (SILC_DIST_TFM),
1090           for now only for testing purposes, it will not be delivered
1091           in any distribution for now.
1092
1093         * Removed NSS MPI from the source tree.  Due to upcoming
1094           license change for the SILC Toolkit, we cannot deliver the
1095           NSS MPI anymore.  I decided to replace it in all distributions
1096           with public domain library.
1097
1098         * Removed GNU regex from lib/contrib and introduced free
1099           GNU compatible regex, lib/contrib/regexpr.[ch].  Added
1100           GNU regex compatible API to it (only partial).
1101
1102         * Removed getopt routines from lib/contrib.
1103
1104 Fri Apr 22 12:21:44 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1105
1106         * Use silc_server_send_command_reply to send replies instead
1107           of encoding packet itself.  Affected file silcd/command.c.
1108
1109         * Added command sending and receiving statistics to server.
1110           Affected files in silcd/.
1111
1112         * GCC 4 warning fixes.  -Wno-pointer-sign option is now used
1113           with GCC, for it not to warn about pointer signedness.
1114
1115 Tue Apr 19 11:57:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1116
1117         * Added context to the SilcIDCache destructor.  Affected
1118           files are lib/silccore/silcidcache.[ch],
1119           lib/silcclient/client.c and silcd/server.c.
1120
1121 Mon Apr 18 09:53:28 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1122
1123         * Added pkg-config check to configure.
1124
1125         * The PublicKeyDir must not be used with Admin block in server
1126           config.  Affected file silcd/serverconfig.c.
1127
1128 Sat Apr 16 20:23:48 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1129
1130         * Added Autodist.
1131
1132 Thu Apr 14 20:25:08 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1133
1134         * Handle empty LIST command reply correcttly in server.  Affected
1135           file silcd/command_reply.c.
1136
1137         * Handle empty LIST command reply correctly in client library.
1138           The application will now receive one LIST command reply with
1139           all arguments set to NULL if there are no channels.  Updated
1140           Client Library documentation accordingly.  Affected file
1141           lib/silcclient/command_reply.c.
1142
1143 Tue Apr 12 00:02:09 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1144
1145         * Added channel name string stringprep profile to the protocol
1146           and implementation to allow a little free'er channel name
1147           strings.  Affected files are lib/silcutil/silcstringprep.[ch].
1148
1149         * Added silc_channel_name_[check|verify] to check and verify
1150           channel name strings.  Affected files are
1151           lib/silcutil/silcstrutil.[ch].
1152
1153         * Added support for the new channel name preparation in client
1154           library and server.  Affected files in lib/silcclient and
1155           silcd/.
1156
1157 Mon Apr 11 13:40:27 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1158
1159         * Added the Autodist into the source tree.  It replaces the
1160           old ./prepare.  It can be used to create distributions as
1161           previously.  See README.CVS and README.DIST.  See
1162           distributions in distdir/.
1163
1164 Sun Apr 10 11:30:56 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1165
1166         * Make sure query sends at least an error back if nothing
1167           more is sent.  Affected file silcd/server_query.c.
1168
1169 Thu Apr  7 14:50:01 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1170
1171         * During query, check if the original command caller goes
1172           away.  If it does, stop the query.  Affected file
1173           silcd/server_query.c.
1174
1175         * Check for valid channel creation in JOIN command reply.
1176           Affected file lib/silcclient/command_reply.c.
1177
1178         * Handle the resolver counter in silc_client_get_users_by_channel
1179           callback correctly.  Fixed auto-join bug in Gaim.  Affected
1180           file lib/silcclient/idlist.c.
1181
1182 Wed Apr  6 16:56:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1183
1184         * Added some better error messages.  Affected file
1185           silcd/command_reply.c and packet_receive.c.
1186
1187         * Handle error in WATCH command propely on backup router.
1188           Affected file silcd/command.c.
1189
1190         * Fixed freeing of unfreeable variable in WHOIS command reply.
1191           Affected file silcd/command_reply.c.
1192
1193 Wed Apr  6 09:10:31 CEST 2005  Pekka Riikonen <priikone@silcnet.org>
1194
1195         * Added pkg-config .pc file creation for silc core library
1196           and silcclient library.  A patch by c0ffee.
1197
1198         * Removed the need for GNU Libidn.  Added the simple stringprep
1199           from libidn into lib/contrib/.  It is now used also on Windows
1200           build.
1201
1202 Mon Apr  4 15:15:46 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1203
1204         * Simplified the invite and ban string handling in the
1205           server.  Check for valid invite and ban arguments also.
1206           Affected file silcd/server_util.c.
1207
1208 Sun Apr  3 14:58:53 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1209
1210         * Added WATCH list announcing in backup router protocol.
1211           Affected files are silcd/command.c, server.c, server_backup.c.
1212
1213         * Do not change users mode to founder on normal server/backup
1214           if the founder mode is set, and user is first one to join.
1215           Affected file silcd/pcaket_receive.c.
1216
1217         * Do not send CUMODE_CHANGE notify back to sender.  Affected
1218           file silcd/packet_receive.c.
1219
1220         * Added getrusage() to take noise in SILC RNG.  A patch by
1221           Mika Boström.  Affected files are configure.in.pre,
1222           includes/silcincludes.h.in, lib/silccrypt/silcrng.c.
1223
1224 Sat Apr  2 18:09:30 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1225
1226         * Splitted the SILC libraries configuration into a configure
1227           fragment into lib/configure.ad.  It is now possible, once
1228           this feature is added, to specify whether to compile or not
1229           compile included SILC libraries.  Affected files are
1230           configure.in.pre, lib/silcmath/mpi/configure.ad,
1231           lib/configure.ad, Makefile.defines.pre and
1232           Makefile.defines_int.pre.
1233
1234         * Added --with-silc-includes and --with-silc-libs to configure.
1235           If specified the included libs are not compiled, but the
1236           specified libs are used.  Pkg-config is not yet supported.
1237           Affected file configure.in.pre.
1238
1239         * Fixed WATCH command handling on backup router.  Router does not
1240           send the watch command any more to backup if it originates from
1241           backup.  Affected file silcd/command.c.
1242
1243 Fri Apr  1 18:52:47 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1244
1245         * Changed announcing to not announce unregistered clients.
1246           Affected file silcd/server.c.
1247
1248         * Fixed username handling in command reply.  Affected file
1249           silcd/command_reply.c.
1250
1251         * Log files are now 0600.  Affected file lib/silcutil/silclog.c.
1252
1253 Thu Mar 31 22:34:22 CEST 2005  Patrik Weiskircher <pat@icore.at>
1254
1255         * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
1256           Affected file: includes/silcincludes.h.in
1257
1258         * bool is defined as _Bool on Mac OS X now.
1259           Affected file: lib/silcutil/silctypes.h
1260
1261 Thu Mar 31 08:52:06 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1262
1263         * Added support for UTF-8 nicknames, channel names and
1264           server names in client library.  Affected files in
1265           lib/silcclient/.
1266
1267         * Added __SILC_HAVE_PTHREAD, __SILC_HAVE_SIM, __SILC_HAVE_LIBIDN,
1268           and __SILC_ENABLE_DEBUG to include/silcclient.h for third-party
1269           software to check how Toolkit has been compiled.
1270
1271 Wed Mar 30 22:16:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1272
1273         * Added silc_utf8_str[n]casecmp into lib/silcutil/silcutf8.[ch].
1274
1275         * Use silc_utf8_str[n]casecmp instead of strcmp routines
1276           in library and in SILC Client when dealing with nicknames
1277           and other identifier strings.  Affected file in client lib
1278           and irssi.
1279
1280         * Convert nickname to UTF-8 in /msg and /smsg.  Affected file
1281           irssi/src/silc/core/silc-servers.c.
1282
1283 Wed Mar 30 10:50:02 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1284
1285         * Fixed idcache to work with the new identifier strings.
1286           Affected file lib/silccore/silcidcache.c.
1287
1288         * Added UTF-8 hash and compare function for SilcHashTable.
1289           Affected file lib/silcutil/silcutil.[ch].
1290
1291         * Added casefolding stringprep, SILC_CASEFOLD_PREP.
1292           Affected file lib/silcutil/silcstringprep.[ch].
1293
1294         * Changed the identifier string handling to include the original
1295           format in client, server, channel entries and normalized
1296           format in cache.  Affected files in silcd/.
1297
1298 Tue Mar 29 16:51:35 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1299
1300         * Added support for the new identifier strings and their
1301           validity checking.  Nicknames, channel names and usernames
1302           can now include practically any kind of letters and various
1303           other characters.  Affected files in silcd/ and in libraries.
1304
1305           NOTE: comparing these strings should now be done with memcmp()
1306           to check binary compatibility.  All these strings are normalized
1307           and casing is irrelevant.
1308
1309         * Added silc_identifier_check to lib/silcutil/silcstrutil.[ch]
1310           as easy function for applications to check whether identifier
1311           strings are valid.
1312
1313 Tue Mar 29 00:45:11 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1314
1315         * Fixed SILC_STRING_LDAP_DN encoding and decoding.  Affected
1316           file lib/silcutil/silcutf8.c.
1317
1318         * Added SILC_STRING_UTF8_ESCAPE to lib/silcutil/silcstrutil.h.
1319
1320 Mon Mar 28 22:46:23 CEST 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1321
1322         * Make public key in getkey reply mandatory.  Affected file
1323           lib/silcclient/command_reply.c
1324
1325 Sun Mar 27 19:03:31 CEST 2005  Patrik Weiskircher <pat@icore.at>
1326
1327         * Added Parameter dont_register_crypto_library to
1328           SilcClientParam. If set to TRUE, silcclient library will
1329           not initalize the Crypto Libraries and application
1330           will need to do it. Affected file lib/silcclient/silcclient.h,
1331           lib/silcclient/client.c.
1332
1333 Sun Mar 27 19:02:48 EEST 2005  Pekka Riikonen <priikone@silcnet.org>
1334
1335         * Imported new silc_utf8_[encode|decode] routines from
1336           my internal SILC 1.1 source tree.  New encodings added:
1337           SILC_STRING_LOCALE (SILC_STRING_LANGUAGE is deprecated),
1338           SILC_STRING_UTF8, SILC_STRING_PRINTABLE, SILC_STRING_VISIBLE,
1339           SILC_STRING_TELETEX, SILC_STRING_NUMERICAL and
1340           SILC_STRING_LDAP_DN.
1341
1342         * Splitted UTF-8 routines into lib/silcutil/silcutf8.[ch].
1343
1344         * Implemented stringprep (RFC 3454) API.  Internally we use
1345           GNU Libidn's stringprep, for now, so it is required now to
1346           compile SILC sources.  Added lib/silcutil/silcstringprep.[ch].
1347
1348         * Added checking for GNU Libidn and --with-libidn to configure.
1349
1350 Wed Mar 23 11:20:33 CET 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1351
1352         * If the passphrases entered do not match while generating a new key,
1353           completly start over instead of going into an infinite loop asking
1354           the user to re-enter the passphrase correctly.  Affected file
1355           lib/silcutil/silcapputil.c
1356
1357 Sun Jan  9 14:28:51 CET 2005  Pekka Riikonen <priikone@silcnet.org>
1358
1359         * Make sure server is removed from backup list when it is
1360           deleted.  Affected files silcd/command.c, server.c,
1361           server_util.c.
1362
1363         * Close socket when connecting to router fails.  Affected
1364           file silcd/server.c.
1365
1366 Tue Jan  4 13:06:26 CET 2005  Jochen Eisinger <jochen@penguin-breeder.org>
1367
1368         * Adopt configuration toolchain to current auto-tools.
1369           Affected files prepare, irssi/configure.in
1370         * Revert most of the UTF-8 fixes to SILC Client 1.0.1.  Will
1371           redo that.  Affected files irssi/src/silc/core/client_ops.c,
1372           irssi/src/fe-common/silc/fe-silc-channels.c
1373         * Take over command line options into silcclient data structure.
1374           Affected file irssi/src/silc/core/silc-core.c
1375
1376 Wed Dec  8 16:15:11 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1377
1378         * Do not try to initiate backup resuming protocol forever.
1379           Affected file silcd/server_backup.c.
1380
1381 Wed Nov 24 18:24:05 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1382
1383         * ID change in resuming has to be done before changing
1384           detached client's modes, since the ID change may fail and
1385           leave ghosts on the network.  Affected file is
1386           silcd/packet_receive.c.
1387
1388 Tue Nov 23 16:54:35 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1389
1390         * Fixed Win32 scheduler to not stuck anymore.  A patch from
1391           Juha Räsänen.  Affected file is
1392           lib/silcutil/win32/silcwin32schedule.c.
1393
1394         * Fixed QoS parsing for connection blocks in server.  Affected
1395           file is silcd/serverconfig.c.
1396
1397         * Fixed server statistics increasing in server.  Affected file
1398           is silcd/server.c.
1399
1400         * The CLOSE command now marks backup router as self disconnected
1401           to avoid resuming problems.  Affected file silcd/command.c.
1402
1403 Wed Sep 22 19:46:32 CEST 2004  Patrik Weiskircher <pat@icore.at>
1404
1405         * When using silc_net_create_connection[_async], and your system can
1406           create IPv6 sockets, it will try to connect to the IPv6 host.
1407           Now it tries to connect to an IPv4 host if IPv6 fails. Affected
1408           file lib/silcutil/unix/silcunixnet.c
1409
1410 Fri Jun 18 19:26:58 CEST 2004  Pekka Riikonen <priikone@silcnet.org>
1411
1412         * Check for valid route when receiving packet from router and
1413           when routing it to local server in the cell.  A patch from
1414           Matt Miller.  Affected files silcd/router.c and server.c.
1415
1416 Sat May  1 13:55:54 CEST 2004  Patrik Weiskircher <pat@icore.at>
1417
1418         * Couldn't detach and reattach twice, because of the previous
1419           commit. Affected file silcd/packet_receive.c
1420
1421 Fri Apr 30 19:40:28 CEST 2004  Patrik Weiskircher <pat@icore.at>
1422
1423         * Added check to ignore Port value if Initiator is FALSE.
1424           Remote router coudln't connect if Port was set. Affected file
1425           silcd/serverconfig.c
1426
1427         * If some client tries to resume more than once at the same time,
1428           server crashed. Router didn't crash, but showed odd behaviour
1429           (didn't allow clients to join anymore, ..). Affected files
1430           silcd/packet_receive.c silcd/idlist.h
1431
1432 Mon Mar 15 21:10:08 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1433
1434         * Destroy the file transfer session in silc_client_file_close
1435           with timeout.  Affected file lib/silcclient/client_ftp.c.
1436
1437         * Call SFTP server monitor in READ and WRITE after the actual
1438           operations.  Affected file lib/silcsftp/sftp_server.c.
1439
1440 Wed Mar 10 21:30:02 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1441
1442         * Create one configure script from configure fragments
1443           (configure.ad).  This is a first step towards new distribution
1444           system.  Affected files prepare, configure.in.pre,
1445           lib/silcmath/mpi/configure.ad.
1446
1447 Wed Mar 10 18:35:24 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1448
1449         * Removed expiring of client key pair.  Affected file is
1450           irssi/src/silc/core/clientutil.c
1451
1452 Tue Mar  9 17:11:58 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1453
1454         * Check the number of connections from real number of
1455           connections instead of socket number, when deciding if
1456           server is full.  Affected files are silcd/server.c,
1457           server_internal.h and silcd.c.
1458
1459         * Clarified the connections_max meaning in General section
1460           in doc/example_silcd.conf.in.
1461
1462         * The reconnect_keep_trying default value set to TRUE
1463           if it is not defined in the config file.  Affected file
1464           silcd/serverconfig.c.
1465
1466 Wed Mar  3 15:13:49 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1467
1468         * Fixed crashbug in connection closing, after a protocol
1469           completion callback, which might have closed it already.
1470           Affected file silcd/server.c.
1471
1472         * Fixed rekey with PFS in backup router.  It did not allow
1473           rekeys with PFS, and when the rekey protocol timedout
1474           it crashed the backup router without the above fix.  Affected
1475           file silcd/packet_send.c and server.c.
1476
1477 Sat Feb 28 16:25:09 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1478
1479         * The silc_client_add_channel_private_key now returns the
1480           private key context if pointer is given as argument.
1481           Affected files are lib/silcclient/silcclient.h and
1482           client_channel.c.
1483
1484         * Added support for using channel private keys in SILC
1485           Client Library even if the private key mode is not set
1486           on the channel.  Affected file lib/silcclient/client_channel.c.
1487
1488         * The channel private key used to decrypt message is now
1489           delivered to the application in the 'channel_messageÃ' client
1490           operation.  Affected files are lib/silcclient/silcclient.h
1491           and client_channel.c.
1492
1493         * Fixed wrong arg type for user limit in CMODE command reply.
1494           Affected file silcd/command.c.
1495
1496         * The user limit is now taken and saved to SilcClientEntry in
1497           JOIN and CMODE command replies and in CMODE_CHANGE notify.
1498           Affected files lib/silcclient/silcclient.h, command_reply.c
1499           and client_notify.c.
1500
1501         * Added support to the new private message key indicator
1502           packet.  Added a new function to the client library:
1503           silc_client_send_private_message_key_request.  The sender
1504           indicates to be initiator, and receiver is responder.
1505           Added the indicator to the SilcClientEntry as 'prv_resp'
1506           boolean.  Affected files are lib/silcclient/silcclient.h
1507           client.[ch], and client_prvmsg.c.
1508
1509 Fri Feb 27 11:25:26 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1510
1511         * Fixed the JOIN command calling when called with both
1512          -auth and -founder.  Affected file is lib/silcclien/command.c.
1513
1514 Wed Feb 25 23:12:11 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1515
1516         * Check watcher list for resumed clients as well.  Affected
1517           file is silcd/packet_receive.c.
1518
1519 Tue Feb 24 16:49:10 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1520
1521         * Implemented the user limit to the CMODE_CHANGE notify,
1522           CMODE command reply and JOIN command reply in server.
1523           Affected files are silcd/server.c, command.c, command_reply.c,
1524           packet_send.c and packet_receive.c.
1525
1526 Mon Feb 23 23:31:15 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1527
1528         * Defined SILC_STRFMT_END that must be used now with
1529           silc_buffer_strformat, instead of SILC_STR_END.  Fixes
1530           crashes on AMD64.  Affected files are lib/silcutil/silcbuffmt.h,
1531           lib/silcclient/silcvcard.c, silcd/server_util.c.
1532
1533         * Fixed the adding of public key to the WATCH list in server.
1534           Fixed the WATCH notify sending to client.  Affected files
1535           are silcd/packet_send.[ch], command.c, server_util.c.
1536
1537         * Implemented the watching by public key in the SILC Client
1538           Library and SILC Client.  Affected files are
1539           lib/silcclient/command.c and client_notify.c.
1540
1541 Mon Feb 23 09:30:30 CET 2004  Pekka Riikonen <priikone@silcnet.org>
1542
1543         * Added support for public key watching in server.  Affected
1544           files are silcd/server.c, server_internal.h, command.c,
1545           server_util.c.
1546
1547 Sun Feb 22 19:03:59 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1548
1549         * Added public key to the SIlcClientEntry.  Affected files
1550           are lib/silcclient/silcclient.h, command_reply.c, idlist.c
1551
1552         * Fixed the get_clients_whois reply processing to return
1553           exactly same entries server returned.  Makes it possible
1554           to search using attributes.  Affected file is
1555           lib/silcclient/idlist.c.
1556
1557 Sat Feb 21 19:21:57 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1558
1559         * Save founder key to SilcChannelEntry.  Affected files are
1560           lib/silcclient/silcclient.h, command_reply.c, idlist.c.
1561
1562 Fri Feb 20 20:37:38 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1563
1564         * Call the monitor callback with _CLOSED status from the
1565           silc_client_file_close.  Affected files are
1566           lib/silcclient/client_fpt.c, silcclient.h
1567
1568         * Added silc_client_get_clients_whois which resolves using
1569           WHOIS, and supports requested attributes as well.
1570           Affected files are lib/silcclient/silcclient.h, idlist.c.
1571
1572 Fri Feb 19 21:09:22 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1573
1574         * Added support for asking the destination filename where
1575           the downloaded file is saved in the file transfer.  Affected
1576           files are lib/silccilent/silcclient.h, client_ftp.c.
1577
1578 Wed Feb 18 02:46:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1579
1580         * Fixed error handling in resuming data processing.  Affected
1581           files are lib/silcclient/client_resume.c and client.c.
1582
1583 Tue Feb 17 19:34:30 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1584
1585         * Fixed silc_client_send_private_message to return TRUE correctly.
1586           Affected file lib/silcclient/client_prvmsg.c.
1587
1588         * Added topic to the SilcChannelEntry.  Affected files are
1589           lib/silcclient/silcclient.h, command_reply.c, client_notify.c.
1590
1591 Fri Feb 13 14:19:14 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1592
1593         * Use conn->cmd_ident for all silc_client_command_call()s.  Affected
1594           file lib/silcclient/command.c
1595
1596 Fri Feb 13 13:53:45 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1597
1598         * Convert all commands to UTF-8 before passing them to the
1599           client library.  Still need to convert replies from UTF-8 to
1600           the locale encoding.  Affected file
1601           irssi/src/silc/core/silc-cmdqueue.c
1602
1603 Fri Feb 13 13:13:07 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1604
1605         * redirect all silc_client_command_calls through a queueing framework.
1606           This fixes /CYCLE and the annoying "nick change after auto-joining
1607           a channel".  Furthermore it defines one central point where
1608           command parameters can be UTF-8-ified.  Affected files
1609           irssi/src/silc/core/Makefile, client_ops.c, silc-channels.c,
1610           silc-servers.[ch], silc-core.c, silc-cmdqueue.[ch], silc-lag.c
1611
1612 Fri Feb 13 12:04:41 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1613
1614         * use asynchronous connect() to establish router connections.
1615           Fixes problem when the primary router goes down.  Affected files
1616           silcd/server.c, silcd/server_backup.c
1617
1618 Thu Feb 12 20:09:59 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1619
1620         * Added SILC_[32|64]_TO_PTR and SILC_PTR_TO_[32|64] macros.
1621           Fixed various compilation warnings when type casting ints
1622           to pointers or vice versa, of different size.  Updates around
1623           the source free.
1624
1625 Tue Feb  3 23:25:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1626
1627         * Surrogates not allowed in UTF-8 strings, updated decoder.
1628           Affected file lib/silcutil/silcstrutil.c.  Added UTF-8
1629           testers in lib/silcutil/tests/ directory.
1630
1631 Wed Jan 14 18:42:44 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1632
1633         * Added SILC_CLIENT_CONN_ERROR_KE, ERROR_AUTH, ERROR_RESUME and
1634           ERROR_TIMEOUT SilcClientConnectionStatus errors.  Affected
1635           files are lib/silcclient/silcclient.h, client.c.
1636
1637 Mon Jan 12 13:01:10 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1638
1639         * When resuming a session fails, notify the user that the session
1640           file needs to be removed eventually.  Affected files
1641           irssi/src/fe-common/silc/module-formats.[ch],
1642           irssi/src/silc/core/client_ops.c.
1643
1644 Tue Jan 04 12:16:04 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1645
1646         * Added DIST_SUBDIRS symbols to include all subdirs in distributions.
1647           Affected files lib/silcutil/Makefile.am, lib/silcmath/Makefile.am
1648
1649         * Typofix in Irssi::Silc module.  Affected file
1650           irssi/src/perl/silc/Silc.xs.
1651
1652 Tue Jan 04 02:43:44 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1653
1654         * Changed the way NOTICE flagged messages are treated. Added support
1655           for notices in queries and signing notices.  Affected files
1656           irssi/default.theme; irssi/docs/help/in/notice.in;
1657           irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c;
1658           irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.c
1659
1660         * Fixed typo in /ACTION help.  Affected file
1661           irssi/docs/help/in/action.in
1662
1663 Mon Jan 03 23:26:38 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1664
1665         * Fixed typo in perl module.  Affected file
1666           irssi/src/perl/silc/Server.xs
1667
1668         * Changed the way ACTION flagged messages are treated. Added support
1669           for actions in queries and signing actions.  Affected files
1670           irssi/default.theme; irssi/docs/help/in/action.in;
1671           irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c,
1672           fe-silc-queries.c; irssi/src/silc/core/client_ops.c, silc-channels.c,
1673           silc-servers.[ch]
1674
1675 Mon Jan 03 16:04:29 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1676
1677         * Incorrectly reported error when client had to be resolved from
1678           server in /SMSG.  Affected file irssi/src/silc/core/silc-servers.c
1679
1680 Sat Jan  3 16:37:15 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1681
1682         * Fixed whois public key hash table deleting and adding in
1683           detached client case.  Affected file silcd/packet_receive.c.
1684
1685 Sat Jan 03 12:15:38 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1686
1687         * Changed filenames of silc/fe module not to collide with filenames
1688           from core/fe.  Also seperated public messages printing from
1689           query messages printing.  Affected files are all in
1690           irssi/src/fe-common/silc.
1691
1692 Sat Jan  3 12:18:07 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1693
1694         * Fixed the invite process handling during joining to use
1695           correct server name for the client that is matched against
1696           the invite string for the channel.  Wrong server name caused
1697           inability to join the channel.  Affected file is
1698           silcd/command.c.
1699
1700 Fri Jan  2 23:34:17 EET 2004  Pekka Riikonen <priikone@silcnet.org>
1701
1702         * Fixed the CUMODE channel founder authentication on normal
1703           server to not remove the founder rights on existing founder
1704           before checking that router accepts the mode change.  Affected
1705           files are silcd/command.c and silcd/packet_receive.c.
1706
1707         * Remove the server entry correctly when rekey timeouts and
1708           remote router connection on normal server is closed.  Fixes
1709           a crash where server uses the freed server entry.  Affected
1710           file silcd/server.c.
1711
1712 Fri Jan 02 10:28:15 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1713
1714         * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
1715           networks.  This is the first step in solving the bug about
1716           /SERVER ADD -silcnet <silcnet>.  Affected files
1717           irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am,
1718           fe-silcnet.c, fe-common-silc.c, module-formats.[ch];
1719           irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am
1720
1721 Thu Jan 01 20:11:32 CET 2004  Jochen Eisinger <jochen@penguin-breeder.org>
1722
1723         * /SMSG and /MMSG now correctly create new queries. Affected files
1724           irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl
1725
1726         * Add basic support for SILC protocol specific variables in perl.
1727           Affected files irssi/src/perl/silc/*, irssi/configure.in,
1728           irssi/src/perl/Makefile.am
1729
1730 Wed Dec 31 17:06:55 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1731
1732         * Don't use silc_get_input, it's obviously not reliable.  Fixes
1733           issue when the current key expires.  Affect file
1734           irssi/src/silc/core/clientutils.c
1735
1736         * Make the session data filename configurable.  This makes it
1737           possible to have different session files for different
1738           SILC networks.  Affected files irssi/src/silc/core/silc-core.c,
1739           client_ops.[ch], silc-servers.c,
1740           irssi/src/silc/fe-common/silc/module-formats.[ch]
1741
1742         * Use the same set of libtool files for the MPI lib as for the
1743           rest of the toolkit.  Affected files lib/silcmath/mpi/config.guess,
1744           config.sub, configure.in, install-sh, missing, mkinstalldirs
1745
1746 Sun Dec 28 21:57:39 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1747
1748         * Fixed server statistics decrementing error to not go to
1749           negative.  Affected file silcd/packet_receive.c.
1750
1751 Sat Dec 20 14:42:36 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1752
1753         * Use silc_server_query_add_error to add error in public key
1754           search error.  Added support in send_reply to send errors
1755           without specific argument.  Affected file silcd/server_query.c.
1756
1757         * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
1758           Client for NO_SUCH_NICK.  It was against the protocol specs.
1759           Affected file irssi/src/silc/core/client_ops.c.
1760
1761         * Added backwards support for the wrong NO_SUCH_NICK error sending
1762           in server.  To be removed in SILC Server 1.0.  Both old clients
1763           and clients with fixed error handling now works.  Affected file
1764           silcd/server_query.c.
1765
1766 Sat Dec 20 00:44:47 CET 2003  Patrik Weiskircher <pat@icore.at>
1767
1768         * fixed a bug in the whois using attributes function where no
1769           error was sent if no nickname and client id but the attributes were
1770           given to whois. Affected file silcd/server_query.c
1771
1772 Tue Dec 16 21:34:59 CET 2003  Patrik Weiskircher <pat@icore.at>
1773
1774         * remove public key from public key hashtable on detach. Affected
1775           file silcd/packet_receive.c
1776
1777         * free public key hashtable before removing clients on server
1778           shutdown. Affected file silcd/server.c
1779
1780         * remove public key prior deleting client-data on killing a client.
1781           Affected file silcd/server_util.c
1782
1783 Sat Dec 06 21:35:14 CET 2003  Patrik Weiskircher <pat@icore.at>
1784
1785         * Getting the MOTD from other servers works now. Affected
1786           files are silcd/command.c and silcd/command_reply.c
1787
1788 Thu Dec 04 11:33:46 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1789
1790         * Initialize the variable idletag, since it is tested in
1791           silc_core_deinit for its default value.  Affected file
1792           irssi/src/silc/core/silc-core.c
1793
1794 Sun Nov 30 19:47:02 CET 2003  Patrik Weiskircher <pat@icore.at>
1795
1796         * Fixed signed channel messages across cells. Affected file
1797           silcd/packet_send.c
1798
1799 Fri Nov 28 19:13:21 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1800
1801         * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG
1802           is not defined.  They can now be safely used in if-statements
1803           without braces.  Affected file lib/silcutil/silclog.h.
1804
1805         * Added the checks for backup closing connection due to error
1806           (local or remote) and thus not allow the resuming to occur
1807           in reconnect.  Affected files are silcd/packet_send.c
1808           and server.c.
1809
1810 Tue Nov 25 15:20:59 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1811
1812         * Help file updates.  Affected files in irssi/src/docs/help/in/.
1813
1814 Wed Nov 23 20:51:21 CET 2003  Patrik Weiskircher <pat@icore.at>
1815
1816         * Fixed channel messages across cells. Affected file
1817           silcd/packet_send.c
1818
1819 Wed Nov 12 11:34:56 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1820
1821         * Fixed file transmission accepting in client library to not
1822           start the negotiation if user hasn't accepted the transfer,
1823           instead create new session for resent transfer.  Affected
1824           file lib/silcclient/client_ftp.c.
1825
1826         * Show the session ID in the file transmision list.  Remove
1827           session from list that failed to transfer.  Switch the current
1828           session automatically after transmission, and in errors, to new
1829           session if other sessions exists in the transfer list.  Affected
1830           files are irssi/src/silc/core/silc-servers.c,
1831           irssi/src/fe-common/silc/modfule-formats.c.
1832
1833 Mon Nov 10 14:41:40 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1834
1835         * Fixed MIME header parsing for the hopefully last time.  Affected
1836           file lib/silcutil/silcstrutil.c
1837
1838 Mon Nov 10 13:03:46 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1839
1840         * Rewrote the PKCS#1 routines.  Added lib/silccrypt/silcpkcs1.[ch].
1841
1842         * The SILC RNG is now gauranteed to return non-zero random
1843           values.  Affected files are lib/silccrypt/silcrng.[ch].
1844
1845 Sun Nov  9 20:44:56 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1846
1847         * Fixed nickname formatting when changing only case of the
1848           nickname.  Affected file lib/silcclient/idlist.c.
1849
1850 Sun Nov  9 19:33:59 CET 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1851
1852         * Fixed a memory leak and incorrect printing of the "appears as"
1853           message.  Affected file irssi/src/silc/core/client_ops.c
1854
1855 Sun Nov  9 17:45:11 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1856
1857         * Added CRT (Chinese Remainder Theorem) supported RSA
1858           private keys and private key operations.  This significantly
1859           increases private key operation efficiency.  No compatibility
1860           issues with new or old private keys.  Affected files are
1861           lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c.
1862
1863 Sat Nov  8 13:08:53 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1864
1865         * Fixed GCC-3.3.2 related compilation warnings from the
1866           source tree.
1867
1868 Fri Nov  7 23:01:47 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1869
1870         * Removed RC6 from distributions.
1871
1872 Fri Nov  7 19:38:42 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1873
1874         * Added some better comments to lib/silccrypt/silcpkcs.h,
1875           optimized some routines in lib/silccrypt/silcpkcs.c.
1876           Added test_silcpkcs into lib/silccrypt/tests/.
1877
1878         * Fixed silc_rng_global_init to actually init the global RNG
1879           if RNG wasn't provided for it.  Affected file is
1880           lib/silccrypt/silrng.c.
1881
1882 Thu Nov  6 21:08:28 EET 2003  Pekka Riikonen <priikone@silcnet.org>
1883
1884         * Added silc_hash_table_find_by_context_ext.  Affected files
1885           lib/silcutil/silchashtable.[ch].
1886
1887         * Save the public key on normal server in WHOIS command reply
1888           from attributes, if present, and add it to public key hash
1889           table.  Fixes WHOIS resolving by public key on normal server.
1890
1891           Optimized the attributes resolving on normal server to not
1892           resolve if we resolved them already from router.
1893
1894           Affected files are silcd/server_query.c, command_reply.c.
1895
1896 Wed Nov  5 19:36:30 CET 2003 Patrik Weiskircher <pat@icore.at>
1897
1898         * Added support for whois using attributes.
1899           Affected files silcd/command_reply.c, silcd/packet_receive.c,
1900           silcd/server.c, silcd/server_internal.h, silcd/server_query.c,
1901           silcd/server_util.c
1902
1903         * Added support for whois using public key attribute to /WHOIS i
1904           client command. Affected files irssi/docs/help/in/whois.in,
1905           irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c
1906
1907 Wed Nov  5 23:37:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1908
1909         * Fixed UMODE setting in server when the client has anonymous
1910           mode set.  The mode setting was not working.  Affected file
1911           silcd/command.c.
1912
1913 Mon Nov  2 11:36:08 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1914
1915         * Fixed some bugs and typos related to sending split messages.
1916           Print notification when sending messages with /MMSG.  Affected
1917           files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c
1918
1919 Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1920
1921         * Optimized the socket referencing in packet routines, client
1922           library and server.  Affected files are lib/silccore/silcpacket.c,
1923           lib/silcclient/client.c and silcd/server.c.
1924
1925         * If silc_socket_set_qos is given with NULL arguments the QoS is
1926           reset from the socket.  Affected files are
1927           lib/silcutil/silcsockconn.[ch].
1928
1929 Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1930
1931         * Add a /LISTKEYS command which lists the locally cached
1932           client and server keys.  Affected files
1933           irssi/src/fe-common/module-formats.[ch],
1934           irssi/src/silc/core/silc-{channels,servers}.c
1935           irssi/docs/help/in/listkeys.in
1936
1937 Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1938
1939         * Check that packet queue purging was successful.  Affected
1940           files lib/silcclient/client.c and silcd/packet_send.c.  Related
1941           to MAC failed errors.
1942
1943         * Do not clear the inbuf even if it is empty if QoS was applied
1944           to it.  Otherwise the QoS data is cleared and MAC failed error
1945           will occur.  Affected file lib/silccore/silcpacket.c.
1946
1947         * Use the rekey period time as rekey protocol timeout value.
1948           If the rekey does not succeed during the rekey period there's
1949           something very wrong, and we most likely end up with wrong keys,
1950           do graceful reconnect then.   Affected file silcd/server.c.
1951
1952         * Take reference of the socket in the parser context, as it's
1953           possible to have the parsers in queue after the socket is
1954           disconnected and this may cause crash.  Affected files are
1955           lib/silccore/silcpacket.c, lib/silcclient/client.c and
1956           silcd/server.c.
1957
1958 Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1959
1960         * Fixed KICK command reply sending, it sent to replies.
1961           Affected file silcd/command.c.
1962
1963 Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1964
1965         * Finish the silc-mime.pl script. It now supports MIME type
1966           guessing using magic files, signing data messages, executing
1967           MIME handlers in background. Affected files
1968           irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in
1969
1970         * Changed MIME signal handler to make things easier for the perl
1971           script. Affected files irssi/src/silc/core/client_ops.c,
1972           silc-servers.c, and irssi/docs/signals.txt
1973
1974         * Cleaned up the silc_mime_parse function and fixed detection
1975           of wrapped header lines. Affected file lib/silcutil/silcstrutil.c
1976
1977 Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1978
1979         * Resolve the IP for file transfer listener from the connection
1980           socket.  Affected file lib/silcclient/client_ftp.c.
1981
1982         * Accept NULL hostname parameter in the functions
1983           silc_net_check_[local|remote]_by_socket.  Do not reverse lookup
1984           if hostname is not wanted.
1985
1986 Fri Oct 24 21:24:12 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
1987
1988         * Fixed race condition between silc_client_init and
1989           my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c
1990
1991 Fri Oct 24 16:43:40 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
1992
1993         * Fixed file transfer connection closing when SIGNOFF for
1994           the client is received from server.  Affected file is
1995           lib/silcclient/client_ftp.c.
1996
1997 Tue Oct 21 13:35:57 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
1998
1999         * Check for disconnected socket in QUIT callback.  Affected
2000           file silcd/command.c.
2001
2002 Thu Oct 21 09:43:17 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
2003
2004         * Modified the MIME parsing to allow \n and \r\n as delimiters.
2005           Affected files lib/silcutil/silcstrutil.c
2006
2007         * Cleaned up the escape/unescape functions for correctness and
2008           speed. Affected file irssi/src/silc/core/client_ops.c
2009
2010         * Removed handling for data messages with Content-Type: text/*,
2011           moved parsing of MIME headers to the signal handler, added
2012           support for signing and verifying data messages. Affected
2013           files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c,
2014           irssi/src/silc/core/silc-{servers,channels}.c
2015
2016         * Added a perl script for handling data messages based on
2017           information read from Mailcap files. New file
2018           irssi/scripts/silc-mime.pl
2019
2020 Mon Oct 20 16:08:22 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2021
2022         * Added new SILC_MESSAGE_FLAG_ACK that can  be used to
2023           acknowledge recepetion of a message to the sender.  Updated
2024           protocol specs.
2025
2026 Sat Oct 18 11:55:33 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2027
2028         * Unregister channel key saving callback when deleting channel.
2029           Affected file lib/silcclient/idlist.c.
2030
2031         * Do not remove the client from channels in NOTIFY_TYPE_SIGNOFF
2032           before calling notify client operation.  Affected file is
2033           lib/silcclient/client_notify.c.
2034
2035         * Unregister QoS tasks when deleting the socket connection.
2036           Affected files lib/silcutil/silcsockconn.[ch],
2037           unix/silcunixsockconn.c.
2038
2039         * Implemented latest presence-attrs draft changes.  Affected
2040           files lib/silccore/silcattrs.h and
2041           irssi/src/silc/core/silc-queries.c.
2042
2043 Tue Oct 14 18:24:53 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2044
2045         * Save old channel keys in list to allow more rapid change
2046           of channel keys if server for some reason does that.  This
2047           avoids loosing so many channel messages due to not having
2048           key to decrypt.  Affected file lib/silcclient/silcclient.h,
2049           idlist.c and client_channel.c.
2050
2051 Mon Oct 13 21:37:47 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2052
2053         * Continued backup router tests and fixes.  Affected files
2054           silcd/server_backup, server_util.c, server.c.  See TODO.
2055
2056 Sun Oct 12 19:58:18 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2057
2058         * Fixed SERVER_SIGNOFF handling in servers.  The client
2059           was removed from wrong list thus not removing the client
2060           at all.  Affected file silcd/packet_receive.c.
2061
2062         * Do not execute rekey protocol for disabled connections as
2063           it would never go through.  Affected file silcd/server.c.
2064
2065         * Added timeout for rekey protocol to catch if the protocol
2066           never executes successfully.  Affected files silcd/server.c
2067           and protocol.h.
2068
2069 Sat Oct 11 15:39:22 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2070
2071         * Abandon packet processing for disconnected sockets.  Check
2072           this always after calling packet processing callback.
2073           Affected file lib/silccore/silcpacket.c.
2074
2075         * Fixed double registration disconnection code in server.
2076           Closed wrong connection.  Affected file silcd/packet_receive.c.
2077
2078 Fri Oct 10 16:27:12 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2079
2080         * On normal server reconnect to primary during resuming 4
2081           times, then give up.  Affected file silcd/server_backup.c.
2082
2083         * If during reconnecting to routers we notice we have router
2084           connection but no primary router set, the server is in desync.
2085           Reconnect to primary to restore network.  Affected file
2086           silcd/server.c.
2087
2088         * Assure that only one protocol is exeucting at the same time.
2089           Added checks for all protocols.  Affected files are
2090           silcd/server.c and server_backup.c.
2091
2092 Thu Oct  9 20:24:09 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2093
2094         * Check that a string is not already part on invite/ban
2095           string when processing it.  Affected file silcd/server_util.c.
2096
2097 Thu Oct  9 12:06:40 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
2098
2099         * Fixed the CUMODE_CHANGE for founder mode changes to comply
2100           with 1.2 version of the protocol.  Affected file is
2101           silcd/packet_receive.c.
2102
2103 Wed Oct  8 19:41:15 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2104
2105         * ERR_BAD_PASSWORD now returns the Channel ID of the channel
2106           where the passphrase was given.  Affected file is
2107           silcd/command.c.
2108
2109 Wed Oct  8 09:32:12 CEST 2003  Pekka Riikonen <priikone@silcnet.org>
2110
2111         * INVITE and BAN notifys are now delivered from routers to
2112           servers (but not clients) on the channel.  Updated specs and
2113           code.  Affected files silcd/packet_[send|receive].[ch],
2114           command.c, server.c and server_util.c.
2115
2116         * Implemented INVITE and BAN announcing.  Affected files are
2117           silcd/server.[ch], server_util.c.
2118
2119         * Implemented SilcStatus error type argument returning in
2120           command reply error in server.  Affected file silcd/command.c.
2121
2122         * Implemented SilcStatus argument returning in comand reply
2123           in client library.  The command_reply client operation now
2124           returns error specific arguments as well.  Affected files
2125           are lib/silcclient/command_reply.[ch], client_resume.c,
2126           lib/silccore/silcstatus.[ch].
2127
2128 Sun Oct  5 20:22:08 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2129
2130         * Backup router protocol version 1.2 implemented.  Testing still
2131           required.  Affected files in silcd/server_backup.[ch], server.c,
2132           packet_receive.c and server_internal.h.
2133
2134 Sun Oct  5 12:36:37 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2135
2136         * silc_client_send_[channel|private]_message now return TRUE
2137           or FALSE.  Affected file lib/silcclien/client_channel.c and
2138           client_prvmsg.c.
2139
2140 Thu Oct  2 17:03:09 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2141
2142         * Check for explicit nickname in INVITE and BAN processing
2143           during join as well (and don't expect only wildcards in
2144           invite/ban strings).  Affected file silcd/command.c.
2145
2146         * Fixed the INVITE and BAN by public key.  The public key saved
2147           is the PK payload (as specified) not the raw data.  Affected
2148           file silcd/server_util.c.
2149
2150 Wed Oct  1 20:29:06 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2151
2152         * UTF-8 text message support for actions and notices in SILC
2153           Client.  Affected file irssi/src/silc/core/client_ops.c.
2154
2155         * silc_get_username and silc_get_real_name now returns sensible
2156           data on Win32.  Patch by Toni Willberg.  Affected file is
2157           lib/silcutil/win32/silcwin32util.c.
2158
2159 Sun Aug 24 23:35:19 CEST 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2160
2161         * Provide a signal handler to send MIME encoded messages and emit
2162           a signal when a MIME encoded message is received. Also document
2163           the signals for usage with the perl interface.
2164
2165           A sample perl script will be supplied at a later point.
2166
2167           Affected files are irssi/docs/signals.txt,
2168           irssi/src/silc/core/client_ops.[ch],
2169           irssi/src/silc/core/silc-{channels,servers}.c
2170
2171 Sun Aug 24 12:58:30 CEST 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2172
2173         * Use SILC_COMMAND_PING to estimate the round-trip time to the
2174           server. Use this time to display a lag and disconnect when it
2175           exceeds a specified limit.
2176
2177           Affected files are irssi/src/silc/core/silc-{lag,core}.c.
2178
2179 Mon Aug 11 17:14:17 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2180
2181         * Remove the channel auth list in normal server if router
2182           encofrces its list during connecting.  Send notify to channel
2183           to remove the mode to remove the list.  Affected files are
2184           silcd/server_util.c and silcd/packet_receive.c.
2185
2186 Wed Aug  6 14:52:04 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2187
2188         * Added support for channel public keys.  Updated protocol specs
2189           and implemented it.  Affected files are
2190           silcd/command.c, command_reply.c, lib/silcclient/command.c,
2191           lib/silcclient/command_reply.c.
2192
2193 Wed Jul 23 12:17:01 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2194
2195         * Ignore SIGXFSZ and SIGXCPU signals in server.  They can
2196           terminate the process on Linux.  Affected file silcd/silcd.c.
2197
2198 Mon Jun  2 19:13:27 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2199
2200         * Check for NULL buffer in silc_buffer_clear.  Affected file
2201           is lib/silcutil/silcbuffer.h.
2202
2203         * Simplified the backup router protocol by removing the _GLOBAL
2204           types.  Updated protocol specs and the code.  Affected files
2205           are silcd/server_backup.[ch].
2206
2207 Thu Apr 24 19:50:25 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2208
2209         * Deny '@' and '!' from nicknames since they are reserved
2210           by the SILC_COMMAND_INVITE and SILC_COMMAND_BAN commands.
2211           Updated protocol specs and the code.
2212
2213           Affected files are silcd/server_util.[ch].
2214
2215 Wed Apr  9 18:51:59 EEST 2003  Pekka Riikonen <priikone@silcnet.org>
2216
2217         * Fixed stack overflow in Irssi SILC client.  Affected
2218           file irssi/src/silc/core/client_ops.c.
2219
2220         * Check that Host is set in ServerConnection and RouterConnection
2221           in silcd.conf.  Affected file silcd/serverconfig.c.
2222
2223         * Fixed crash in server with protocol completion callbacks,
2224           namely rekey and backup resuming protocols.  Affected files
2225           are silcd/server_backup.c and silcd/server.c.
2226
2227         * Fixed rekey protocol to not restart if it is started already.
2228           Affected files are lib/silcclient/client.c and
2229           silcd/server.c.c
2230
2231 Mon Mar 17 18:35:24 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2232
2233         * Rewrote SilcList, affected file lib/silcutil/silc*list.h.
2234
2235         * Fixed EOF handling in SILC Config, affected file
2236           lib/silcutil/silcconfig.c.
2237
2238         * Fixed buffer overflows in lib/silcutil/silcstrutil.c.
2239
2240         * Fixed RESOLVING flag handling in JOIN notify and other
2241           notifys to handle the resolvings correctly in client library.
2242           Affected file lib/silcclient/client_notify.c.
2243
2244         * Do not send full INVITE and BAN lists in INVITE and BAN
2245           notifys, only the changed information.  Affected file
2246           silcd/command.c.
2247
2248         * Fixed INVITE notify sending in INVITE command, send it
2249           only when needed.  Affected file silcd/command.c.
2250
2251         * Handle the founder key change properly in CMODE_CHANGE
2252           notify.  Bug #122.  Affected file silcd/packet_receive.c.
2253
2254 Sun Mar  9 16:29:20 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2255
2256         * Remove the mark for output (mark it only for input) after
2257           purging outgoing queue.  Prevents the "Error in select()"
2258           floods.  Affected file silcd/packet_send.c.
2259
2260         * Fixed incorrect connection deletion from client library
2261           after calling "connect" client operation.  Could cause
2262           crashes for example during reconnect timeouts.  Affected
2263           files are lib/silcclient/client.c and
2264           irssi/src/silc/core/client_ops.c.
2265
2266         * Check server private key file permissions before starting
2267           the server.  Affected file silcd/serverconfig.c.
2268
2269 Tue Feb  4 22:53:26 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2270
2271         * NULL terminate allocated string in silc_buffer_strformat.
2272           Affected file lib/silcutil/silcbuffmt.c.
2273
2274         * Rewrote the invite/ban list string handling in server to
2275           use SilcBuffer instead.  Affected files are silcd/command.c
2276           and silcd/server_util.c.
2277
2278 Mon Feb  3 14:43:52 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2279
2280         * Fixed double free in CMODE command when setting new HMAC
2281           for channel.  Affected file silcd/command.c.
2282
2283         * Added couple of missing memset's to zero sensitive memory.
2284           Affected files silcd/command.c, lib/silcclient/command.c.
2285
2286 Sun Jan 26 12:20:30 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2287
2288         * Fixed a double free in INVITE command error handling in
2289           server.  Affected file silcd/command.c.
2290
2291         * Added macros SILC_SWAB_[16|32] to swab byte order of
2292           16-bit and 32-bit unsigned integers.  Affected file
2293           lib/silcutil/silctypes.h.
2294
2295         * Use the SILC_SWAB_16 instead of htons() in server when
2296           handling ports since the ports in structures are always
2297           in little-endian order (regardless of platform).  Affected
2298           file silcd/serverid.c and silcd/server_backup.c.
2299
2300 Tue Jan 21 17:18:04 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2301
2302         * Send DISCONNECT in close admin command in server.  Affected
2303           file silcd/command.c.
2304
2305         * Check whether we are already connecting to a remote router
2306           (in addition of checking whether we are already connected)
2307           before creating new connection.  Affected file silcd/server.c.
2308
2309 Thu Jan 16 18:47:00 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2310
2311         * Added better compiler and compiler flags checking in
2312           configure.
2313
2314         * Check that socket is valid after QoS is applied to data.
2315           Affected file lib/silcutil/unix/silcunixsockconn.c.
2316
2317         * Make sure the socket connecetion is not closed to early
2318           when closing connection in server.  Also make sure the
2319           connection is always closed after error in a protocol.
2320           Affected file silcd/server.c.
2321
2322 Wed Jan 15 11:03:36 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2323
2324         * Removed --session and --dummy options from Irssi SILC Client.
2325           -d option is available only if --enable-debug was given.
2326           Affected files are irssi/src/silc/core/silc-core,
2327           irssi/src/core/session.c and irssi/src/fe-text/silc.c.
2328
2329 Tue Jan 14 12:25:09 CET 2003  Pekka Riikonen <priikone@silcnet.org>
2330
2331         * Added silc_buffer_steal to steal the data from the buffer.
2332           Affected file lib/silcutil/silcbuffer.h.
2333
2334 Sat Jan 11 18:16:29 CET 2003  Giovanni Giacobbi <giovanni@giacobbi.net>
2335
2336         * Fixed server crash with double Primary block in config file.
2337
2338           Fixed also various memory leaks around the config file
2339           parser.  Affected files lib/silcutil/silcconfig.c,
2340           silcd/serverconfig.c.
2341
2342         * Changed my nickname (Johnny Mnemonic) to my real name, this
2343           means that bugs introduced by him were actually introduced
2344           by me!
2345
2346 Tue Jan  7 21:58:53 CET 2003  Jochen Eisinger <c0ffee@penguin-breeder.org>
2347
2348         * Don't display "foo appears as foo\nYou're now known as foo"
2349           messages.  Affected file irssi/src/silc/core/client_ops.c
2350
2351 Tue Jan  7 20:08:15 EET 2003  Pekka Riikonen <priikone@silcnet.org>
2352
2353         * Fixed error handling of invalid client entry when calling
2354           commands in server.  Fixes a crash.  Affected file
2355           silcd/command.c.
2356
2357 Thu Dec 26 14:19:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2358
2359         * Added some sanity checks in server for correctness of the
2360           server configuration.  Affected file silcd/serverconfig.c.
2361
2362 Fri Dec 20 10:47:59 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2363
2364         * Prevent endless resolving of user informations in USERS
2365           command by checking the command reply status correctly.
2366           Affected file lib/silcclient/command_reply.c.
2367
2368 Tue Dec 17 10:05:00 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2369
2370         * Fixed file writing on WIN32 to use O_BINARY flag.  Affected
2371           file is lib/silcutil/silcfileutil.c.  A patch by Matthew
2372           Aldous <Matthew@Aldous.com>.
2373
2374         * Added better implementation using CriticalSection of
2375           SilcMutex on WIN32.  A patch by Mikko Lähteenmäki
2376           <mikko.lahteenmaki@pikabaana.net>.
2377
2378         * Added some Winsock WIN32 compatiblity defines into
2379           includes/silcwin32.h.
2380
2381 Mon Dec 16 19:33:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2382
2383         * Fixed double free in async host lookup code.  Affected file
2384           lib/silcutil/silcsockconn.c.
2385
2386         * On backup router handle now the SERVER_SIGNOFF from router
2387           for local connected servers too, and close the connections.
2388
2389           Do not process them as normally signing off servers when they
2390           really signoff by sending EOF fe, but always assume that
2391           router sends the SERVER_SIGNOFF.
2392
2393           Affected files silcd/server.c and silcd/packet_receive.c.
2394
2395         * Fixed socket unsetting when closing connections.  Affected
2396           files silcd/server.c and silcd/packet_send.c.
2397
2398         * Do not print the nickname in SERVER_SIGNOFF if we do not
2399           have it.  Prevents asserts in Irssi core.  It is possible we
2400           don't have the nick if it was just being resolved when server
2401           signoff.  Affected file irssi/src/silc/core/client_ops.c.
2402
2403 Thu Dec 12 23:22:50 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2404
2405         * Fixed autonick crashbug in client library.  Affected file
2406           lib/silcclient/client.c.
2407
2408         * Fixed Unix implementation of SilcMutex to really assert if
2409           the mutex is locked/unlcoked already.  Affected file
2410           lib/silcutil/unix/silcunixmutex.c.
2411
2412         * Fixed locking in silc_schedule_uninit.  It didn't lock
2413           when dispatching timeout tasks.  Affected file is
2414           lib/silcutil/silcschedule.c.
2415
2416         * Changed Win32 implementation of SilcThread to use modern
2417           Win32 interface.  Affected file is
2418           lib/silcutil/win32/silcwin32thread.c  A patch by Mikko L.
2419
2420 Thu Dec 12 12:06:59 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2421
2422         * Don't print signed messages when sending failed.  Affected files
2423           irssi/src/silc/core/silc-[servers.c/commands.h]
2424
2425         * Send adquate signal when founding a channel by joing it.  Affect
2426           file irssi/src/silc/core/client_ops.c
2427
2428 Wed Dec 11 21:46:19 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2429
2430         * Fix theme abstracts parsing.  Affected files irssi/default.theme,
2431           irssi/src/fe-common/core/themes.c
2432
2433 Wed Dec 11 20:20:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2434
2435         * Fixed close command to use the port correctly when closing
2436           server connections.  Affected file silcd/idlist.c.
2437
2438         * Check for NULL outbuf in silc_socket_write.  It is possible
2439           that it is NULL is some odd case.  Affected files are
2440           lib/silcutil/[unix/win32]/silc[unix/win32]sockconn.c.
2441
2442         * Do not call final protocol callback for backup router
2443           resuming protocol when closing connection.  It is closed
2444           by timeout in case of error.  Affected file silcd/server.c.
2445
2446         * Backup reconnect to router if backup resuming protocol
2447           failed.  Affected file silcd/server_backup.c.
2448
2449 Wed Dec 11 10:01:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2450
2451         * Fixed double free in SKE library error hadling when signature
2452           error occurred.  Affected file lib/silcske/silcske.c.
2453
2454         * Save the fingerprint to new SilcClientEntry after changing
2455           nickname.  Affected file lib/silcclient/client_notify.c.
2456
2457         * Print SIGNOFF in Irssi SILC client only if the nickname is
2458           known.  Prevents asserts in Irssi core.  It is possible we
2459           don't have the nick if it was just being resolved when it
2460           quit.  Affected file irssi/src/silc/core/client_ops.c.
2461
2462 Tue Dec 10 21:47:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2463
2464         * Fixed double free in invite list adding code when adding
2465           invite strings.  Affected file silcd/server_util.c.
2466
2467 Fri Dec  6 17:40:24 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2468
2469         * More log printing during backup router protocol.  Affected
2470           file silcd/server_backup.c.
2471
2472         * Removed backwards support for old private key file format.
2473           Affected file lib/silccrypt/silcpkcs.c.
2474
2475         * Removed backwards support for not-so-strict decryption length
2476           check, it's strict now.  Affected lib/silccrypt/silccipher.c.
2477
2478         * GETKEY to update the client entrys fingerprint too.
2479           Affected file lib/silcclient/command_reply.c.
2480
2481         * Added --without-libtoolfix for package builders using weird
2482           wrappers around libtool (BSD at least).
2483
2484 Thu Dec  5 22:29:46 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2485
2486         * Fixed backup router bugs:  When backup resumes router and
2487           receives a CHANNEL_MESSAGE packet the backup must not act
2488           as router since the packet header decryption would be
2489           different.  Also, when relaying packets to channel, do
2490           not re-encrypt packets on backup that came from the primary
2491           since the connection isn't really router-router connection.
2492           Affected files silcd/server.c, silcd/packet_send.c.
2493
2494         * Added checks in encryption/decryption that encryption/decryption
2495           length sent as argument really is multiple by block size.  Helps
2496           catching really weird bugs like the above backup router bugs
2497           when packets are being decrypted in wrong way.  Affected files
2498           lib/silccore/silcpacket.c, and lib/silccrypt/silccipher.c.
2499
2500         * Fixed padding generation in private key file encryption.
2501           Affected file lib/silccrypt/silcpkcs.c.
2502
2503 Thu Dec  5 16:35:23 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2504
2505         * Added ignore_message_signatures setting which can be used
2506           to ignore signatures in messages.  Affected files are
2507           irssi/src/silc/core/client_ops.c, silc-core.c.
2508
2509         * Fixed the libtoolfix to use command line options instead of
2510           environment variables.  They didn't work as expected.  Now,
2511           the libtool is fully run-time configurable.
2512
2513 Wed Dec  4 21:08:52 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2514
2515         * Verify signature payload for signed messages. Affected files
2516           irssi/src/silc/core/client_ops.h, irssi/src/silc/core/silc-servers.c,
2517           irssi/src/silc/core/silc-core.h
2518
2519         * Display signature verification result in public and private
2520           messages using theme abstracts. See irssi/default.theme for
2521           examples on their usage. Affected files
2522           irssi/default.theme, irssi/src/fe-common/silc/fe-messages.h,
2523           irssi/src/fe-common/silc/module-formats.[ch],
2524           irssi/src/fe-common/silc/fe-common-silc.c,
2525           irssi/src/fe-common/silc/Makefile.am
2526           irssi/src/fe-common/core/fe-messages.[ch]
2527
2528         * Fixed bugs in Irssi's theme parsing. Affected files
2529           irssi/src/fe-common/core/themes.c
2530
2531 Wed Dec  4 18:29:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2532
2533         * Calculate the correct length for signed messages before
2534           encrypting, it must be multiple by block size.  Affected
2535           file lib/silccore/silcmessage.c.
2536
2537         * silc_message_signed_get_public_key returns now both
2538           decoded and encoded public key.  Affected files are
2539           lib/silccore/silcmessage.[ch].
2540
2541         * Added libtoolfix script that makes the libtool more generic
2542           and configurable in run-time.  Now we can specify in run-time
2543           if what kind of libraries we want to create, regardless of
2544           configuration.  SIMs are now creates even if --disable-shared
2545           was explicitly given.
2546
2547 Tue Dec  3 23:26:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2548
2549         * Fixed founder key sending in CMODE command in client.
2550           Affected file lib/silcclient/command.c.
2551
2552         * Fixed CUMODE founder authentication in server to not check
2553           for client's public key since it's not supposed to do that.
2554           Affected file silcd/command.c.
2555
2556 Tue Dec  3 12:02:41 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2557
2558         * Set realname and hostname in NICK_REC records. Affected file
2559           irssi/src/silc/core/silc-nicklist.c
2560
2561 Mon Dec  2 20:50:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2562
2563         * Remove 1.0 protocol backwards compat code from client
2564           library.
2565
2566         * Added more reliable check for whether nickname did change
2567           or not, or whether only Client ID changed in NICK_CHANGE
2568           notify.  Affected file lib/silcclient/client_notify.c.
2569           Fixes bug in '@' character handling in a nickname.
2570
2571         * Added support for automatically parsing signature from
2572           the message payload.  Added new function
2573           silc_message_get_signature to return the payload to
2574           application.  Affected files lib/silccore/silcmessage.[ch].
2575
2576         * Changed the private_message and channel_message client
2577           operations to deliver the SilcMessagePayload to the
2578           application too.  Application can use it fe. to get the
2579           signature from the message for verification.  Affected
2580           file lib/silcclient/silcclient.h, client_channel.c and
2581           client_prvmsg.c.
2582
2583         * Redefined the signed payload for message payloads.
2584           Updated protocol specs and implemented.
2585
2586 Mon Dec  2 16:28:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2587
2588         * Fixed wrong invite and ban list handling in server command
2589           reply.  Affected files are silcd/command_reply.c,
2590           silcd/server_util.[ch].
2591
2592 Sun Dec  1 20:48:17 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2593
2594         * Fixed CMODE setting in server when founder mode was set.
2595           Affected file silcd/command.c.  Bug #95.
2596
2597         * Added support to setting specific public key in CMODE in
2598           Irssi SILC client.  Affected file lib/silcclient/command.c.
2599
2600         * Added support to use specific public key in CUMODE in
2601           Irssi SILC Client.  Affected file lib/silcclient/command.c.
2602
2603         * Added support for inviting and banning by public key in
2604           Irssi SILC client.  Affected file lib/silcclient/command.c.
2605
2606         * Fixed fingerprint/babbleprint showing in invite and ban
2607           list command replys.  Affected file is
2608           irssi/src/silc/core/client_ops.c.
2609
2610 Sun Dec  1 16:32:03 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2611
2612         * Format CMODE +c and +h to display both the mode and the argument
2613
2614 Sun Dec  1 18:17:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2615
2616         * Added test vectors and test programs for SHA-1, MD5,
2617           HMAC-SHA1 and HMAC-MD5.  New tests are located in
2618           lib/silccrypt/tests/.  Fixed also argument decoding bug in
2619           MD5 implementation.  Affected file lib/silccrypt/md5.c.
2620
2621         * Changed the channel private key and private message key
2622           generation (with static keys) to use SHA1 instead of MD5,
2623           as SHA1 is the mandatory hash function in SILC.  Affected
2624           file lib/silcclient/client_[channel/prvmsg].c.
2625
2626         * Changed the private key file encryption to use SHA1 instead
2627           of MD5.  Added support for the old generation and added
2628           automatic change of the key (to be removed later).  Affected
2629           files lib/silccrypt/silcpkcs.c.
2630
2631 Sat Nov 30 19:07:52 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2632
2633         * Load only files with .pub suffix in PublicKeyDir.  Affected
2634           file silcd/serverconfig.c.
2635
2636 Sat Nov 30 14:29:34 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
2637
2638         * Extended the SILC_SERVER_LOG_ERROR macro to all available logging
2639           channels.  Affected files silcd/silcd.c, silcd/server.h.
2640
2641         * Added the config directive PublicKeyDir for the client block.
2642           Affected files doc/exampe_silcd.conf.in, silcd/serverconfig.[ch].
2643
2644 Sat Nov 30 09:30:55 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2645
2646         * Merged Toni's irssi/silc.conf patch.
2647
2648         * ROBODoc cleanup patch to lib/silccrypt/silcpkcs.h by johnny.
2649
2650         * Max alloc tests in allocation routines.  Affected file
2651           lib/silcutil/silcmemory.c.
2652
2653 Fri Nov 29 23:44:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2654
2655         * Fixed a typo in resuming code that fixed detach/resume code
2656           in server.  Bug #93.  Affected file silcd/packet_receive.c.
2657
2658 Thu Nov 28 17:17:11 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2659
2660         * Do reverse lookups for server when /connecting. Affected files
2661           irssi/silc.conf, irssi/src/core/servers.c, irssi/src/core/network.c,
2662           irssi/src/core/net-nonblock.*
2663
2664 Thu Nov 28 16:19:18 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2665
2666         * Added library versioning for shared libraries.  Affected
2667           files configure.in.pre and lib/Makefile.am.pre.
2668
2669 Wed Nov 27 21:51:52 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2670
2671         * Display INVITE and BAN lists as specified by SILC 1.2
2672
2673 Wed Nov 27 16:01:11 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2674
2675         * Do not send invite list back unless asked (when sending
2676           no arguments) or when list was modified.  Affected file
2677           silcd/command.c.
2678
2679         * Remove client from invite list in KILLED notify and in
2680           KILL command.  Affected file silcd/command.c and
2681           silcd/server.[ch].
2682
2683         * Fixed bugs in invite list handling in INVITE command.
2684           Affected files silcd/command.c and silcd/server_util.c.
2685
2686         * Merged with Irssi 0.8.6.
2687
2688         * Fixed UTF-8 in Irssi SILC Client, setlocale was missing.
2689           Affected file irssi/src/fe-text/silc.c.
2690
2691 Mon Nov 25 18:21:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2692
2693         * The silc_argument_get_[first/next] now return the argument
2694           type to caller.  Added silc_argument_payload_encode_one.
2695
2696           Affected files are lib/silccore/silcargument.[ch].
2697
2698         * Added support for the SILC 1.2 INVITE command and new
2699           invite lists to server.  Affected files are silcd/command.c,
2700           silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2701
2702         * Added support for the SILC 1.2 BAN command and new
2703           ban lists to server.  Affected files are silcd/command.c,
2704           silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2705
2706         * Added support to client sending new INVITE command.  Affected
2707           file is lib/silcclient/command.c.
2708
2709         * Added support to client sending new BAN command.  Affected
2710           file is lib/silcclient/command.c.
2711
2712         * Added support for removing client from invite list when kicked
2713           from channel, as SILC 1.2 dictates.  Affected files are
2714           silcd/packet_receive.c and silcd/command.c.
2715
2716 Sun Nov 24 18:26:42 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2717
2718         * If iv argument to silc_cipher_[encrypt/decrypt] is NULL, use
2719           automatically the cipher's internal IV.  Affected files
2720           lib/silccrypt/silccipher.[ch].
2721
2722         * Assure the RESUME_CLIENT packet is not sent to twice to
2723           backup router if the detached client was originated from
2724           the backup.  Affected file silcd/server.c.  Bug #76.
2725
2726         * Changed silc_sim_symname to not allocate memory.  Affected
2727           file lib/silcsim/silcsimutil.c.
2728
2729         * Fixed memory leaks with SIMs in server.  Affected files
2730           silcd/serverconfig.c, silcd/server.c.
2731
2732         * Fixed channel key distribution after resuming detached
2733           client.  Affected files silcd/packet_receive.c.
2734
2735         * Fixed channel's global_user boolean checking after detaching.
2736           Check it after changing the owner of the client not before.
2737           Affected file silcd/packet_receive.c.
2738
2739         * Fixed few double frees from client library.  Fixes at least
2740           Bug #81, possibly others too.
2741
2742         * UTF-8 decode topics also in JOIN command reply and TOPIC_SET
2743           notifys in Irssi SILC Client.  Affected file is
2744           irssi/src/silc/core/client_ops.c.  Bug #82.
2745
2746         * Applied Ville Räsänen's manual page and --mandir bugfix
2747           patch.  Affected files are configure.in.pre and Makefile.am.pre.
2748           Bug #88.
2749
2750 Fri Nov 22 18:34:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2751
2752         * Added support to backup router protocol for backup to tell
2753           normal server that it cannot use the backup router as primary
2754           because the primary isn't really down.  Updated protocol
2755           specs.
2756
2757         * Added support for primary router to tell backup router that
2758           resuming is not possible because the backup really isn't primary
2759           in the cell.  For example if backup disconnected itself the
2760           resuming is not allowed since the primary really did not
2761           go down.  Updated protocol specs.
2762
2763         * Removed MARS from crypto library.
2764
2765         * Defined the CTR mode and Randomized CBC mode in SILC.  The
2766           CTR mode is RECOMMENDED now in specification.  Defined also
2767           Serpent cipher as optional cipher.  Updated the protocol specs.
2768
2769 Thu Nov 21 12:43:28 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2770
2771         * Added support for inviting/banning by IP/MASK, public key,
2772           and explicit Client ID.  Redefined the command and notify
2773           types to allow easier forwards support for other methods
2774           of inviting/banning.  Updated protocol specs.
2775
2776         * Remove the client from channel's invite lists if the client
2777           is kicked or killed.  Updated protocol specs.
2778
2779         * Unified the Channel Message Payload and Private Message
2780           into one Message Payload.  Updated protocol specs and
2781           implemented.
2782
2783 Tue Nov 19 22:30:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2784
2785         * Don't wait for EOF after socket error has occurred, but
2786           close the connection.  Affected file is silcd/server.c.
2787
2788 Mon Nov 18 18:58:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2789
2790         * Added support for setting FOUNDER mode on channel with
2791           specific public key which can be set with CMODE command.
2792           Updated protocol specs and implemented in client and server.
2793
2794         * Fixed the Irssi SILC client to correctly shutdown the client
2795           library to avoid memory leaks.  Affected files are
2796           irssi/src/silc/core/silc-core.c and silc-servers.c.
2797
2798         * Deprecated the No Reply flag in SKE protocol and introduced
2799           "IV Included" flag which can be used to indicate that the IV
2800           is included in the ciphertext.  This makes it possible to use
2801           SILC on unreliable transport, such as UDP which may cause
2802           packet reordering and losses.  Updated protocol specs, did
2803           not implement yet.
2804
2805 Sun Nov 17 15:50:57 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2806
2807         * Fixed the MPI implementation of silc_mp_sizeinbase to return
2808           < 32 bit values in correct size.  Affected file is
2809           lib/silcmath/mp_mpi.c.
2810
2811 Sat Nov 16 13:14:45 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2812
2813         * Fixed the KE Start Payload parsing to check that mandatory
2814           fields are present.  Affected file lib/silcske/payload.c.
2815
2816         * Fixed compilation warnigs in Irssi SILC Client.  Affected
2817           files are irssi/src/silc/core/silc-query.c. client_ops.c.
2818
2819 Thu Nov 14 19:33:28 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2820
2821         * Print "nick now appears as newnick" and update Irssi's nicklist
2822           when you change your nick to "nick". Closes #62
2823
2824         * Never format your own nick. Closes #63
2825
2826 Thu Nov 14 09:44:54 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2827
2828         * SILC_UMODE_GONE changes are now propagated correctly to the
2829           Irssi client. Closes #54
2830
2831 Tue Nov 12 19:42:18 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
2832
2833         * Fixed example in /HELP KEY
2834
2835         * Added expando $j which expands to current SILC Client version
2836
2837 Tue Nov 12 19:46:39 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2838
2839         * Fixed public key decoding in crypto library.
2840
2841         * Added better error printing to SKE library.
2842
2843 Tue Nov 12 08:50:12 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2844
2845         * Fixed NICK command to not crash if nickname was not sent.
2846
2847 Mon Nov 11 19:32:00 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2848
2849         * Added Encrypt-Then-MAC order to SILC packet MAC generation.
2850           Deprecated the old Encrypt-And-MAC order.  Updated protocol
2851           specs and implemented.
2852
2853         * Added Encrypt-Then-MAC order to Channel Message Payload MAC
2854           generation.  Updated specs and implemented.
2855
2856 Sun Nov 10 12:20:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2857
2858         * Added support for rekey before 2^32 sequence number wraps.
2859           Affected files in server and client library.
2860
2861         * Padding must be at least 8 bytes now.  Implemented and updated
2862           protocol specs.
2863
2864         * Compute maximum padding for authentication packets to make
2865           passphrase approximation attacks impossible.  Affected files
2866           in client library and in server.
2867
2868         * Fixed PING command sending in client library and handling in
2869           server.  The server ID must be ID Payload, not raw ID data.
2870           Affected files in server and client library.
2871
2872         * Defined that all public keys sent in commands and notify
2873           payloads are actually Public Key Payloads not raw public key
2874           data.  Updated protocol specs and implemented.
2875
2876         * Updated protocol version to 1.2.  Updated specs and code.
2877
2878         * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED
2879           status types.  Updated specs and the code.
2880
2881         * Added support for normal client to kill its own entries from
2882           the network.  Updated protocol specs and the code.
2883
2884         * Defined the SILC_MESSAGE_FLAG_SIGNED.  Updated protocol specs
2885           and added initial implementation.
2886
2887         * Added MAC field to the Private Message Payload to protect
2888           against chosen ciphertext attacks.  Updated the protocol specs
2889           and implemented.
2890
2891         * Added idle and signon fields to the ATTRIBUTE_SERVICE
2892           attribute to indicate the user's current idle and signon time
2893           of a service.  Updated protocol specs and implemented.
2894
2895 Thu Nov  7 19:21:10 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2896
2897         * Added "do_not_bind" argument to silc_client_file_send what
2898           can be used to not bind locally but assume the file receiver
2899           provides the point of connect.  Usefull when sender is behind
2900           NAT device.  Affected file lib/silcclient/silcclient.h and
2901           client_ftp.c.
2902
2903         * Added -no-listener option to FILE SEND command in Irssi SILC
2904           client.  Affected file irssi/src/silc/core/silc-servers.c.
2905           Renamed FILE RECEIVE to FILE ACCEPT.
2906
2907         * Confirm passphrase for private key encryption in
2908           silc_create_key_pair and silc_change_private_key_passphrase.
2909           Affected files are lib/silcutil/silcapputil.c.
2910
2911 Thu Nov  7 10:05:28 CET 2002  Pekka Riikonen <priikone@silcnet.org>
2912
2913         * Move silc_client_packet_send back to internal, added
2914           silc_client_send_packet, a bit simpler function for application.
2915           Affected files lib/silcclient/silcclient.h, client.c and
2916           client_internal.h.
2917
2918         * Moved the SilcClientEntry, SilcChannelEntry and
2919           SilcServerEntry to silcclient.h to be public and documented
2920           them for application.  Affected files are
2921           lib/silcclient/silcclient.h and idlist.h.
2922
2923 Wed Nov  6 17:18:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2924
2925         * Fixed manual page installation patch by Ville Räsänen.
2926           USERS help page fix patch by Ville Räsänen
2927
2928         * Changed the silc_client_command_call interface to make
2929           the command call simpler for the application.  The library
2930           now handles the command line parsing, command finding and
2931           execution.  Application only needs to call the function
2932           with the command line.  Affected files are
2933           lib/silcclient/silcclient.h, command.[ch].
2934
2935         * Fixed silc_get_input to NULL-terminate the returned input.
2936           Affected file lib/silcutil/silcutil.c.
2937
2938         * Resolve the client's public key in JOIN command if the
2939           founder auth data is being requested but we don't know the
2940           client's public key.  Affected file silcd/command.c.
2941           Bug #53.
2942
2943 Mon Nov  4 16:02:59 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2944
2945         * Print notify for server opers when backup router comes
2946           online.  Affected file silcd/server.c.
2947
2948         * Fixed the INVITE command to send the invite list in
2949           command reply.  Affected file silcd/command_reply.c.
2950
2951         * Fixed MOTD command reply sending.  Affected file
2952           silcd/command.c.
2953
2954         * UTF-8 decode the topic in TOPIC command reply and LIST
2955           command reply in Irssi SILC client.  Affected file is
2956           irssi/src/silc/core/client_ops.c.
2957
2958 Sun Nov  3 17:59:15 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2959
2960         * Fixed the INVITE command to not crash Irssi SILC client
2961           when given without nickname argument.  AFfected file
2962           irssi/src/silc/core/client_ops.c.
2963
2964         * Fixed double free in WHOIS query on normal server when
2965           forwarding query to router.  Affected file is
2966           silcd/server_query.c.
2967
2968         * Fixed WATCH command reply handling on normal server which
2969           was missing altogether.  Affected file silcd/command_reply.c.
2970           Bug #44.
2971
2972 Sun Nov  3 00:42:05 EET 2002  Mika Boström <bostik@lut.fi>
2973
2974         * Added man-pages for silc(1), silcd(8) and silcd.conf(5).
2975           Included yodl sources for each of these. Also modified
2976           Makefile.am prototype to install these files to proper
2977           locations. Updated CREDITS. Affected file Makefile.am.pre,
2978           new files doc/*.yo, doc/silc.1, doc/silcd.conf.5,
2979           doc/silcd.8.
2980
2981 Sat Nov  2 21:26:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
2982
2983         * Added support for encrypted private key files.  Now
2984           passphrase must be provided when new key pair is created
2985           (can be empty though), and prompted when loading the
2986           private key.  Added support for loading the old-style
2987           non-encrypted private keys as well.  Affected files
2988           lib/silccrypt/silcpkcs.[ch], Irssi SILC client and
2989           SILC Server.
2990
2991         * Fixed silc_get_input to accept input on all terminals.
2992           Affected file lib/silcutil/silcutil.c.
2993
2994         * Moved the Irssi SILC client key loading and other stuff
2995           to be called after the arguments and UI is initialized.
2996           Affected file irssi/src/silc/core/silc-core.c.  Bug #31.
2997
2998         * Added -P option to Irssi SILC client which can be used
2999           to change the passphrase of the private key.  Affected
3000           file irssi/src/silc/core/silc-core.c.
3001
3002         * Added silc_change_private_key_passphrase apputil routine
3003           to lib/silcutil/silcapputil.[ch].
3004
3005 Sat Nov  2 12:53:09 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3006
3007         * Fixed connection closing in client library to not crash.
3008           Moved the connection freeing totally to function
3009           silc_clinet_del_connection.  Affected file
3010           lib/silcclinet/client.c.
3011
3012 Fri Nov  1 18:57:02 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3013
3014         * Changed includes/silcincludes.h to silcincludes.h.in to
3015           include configuration specific information.  The silcdefs.h
3016           is not included in to installation anymore (it's only
3017           compilation time header).
3018
3019 Fri Nov  1 10:30:26 CET 2002  Pekka Riikonen <priikone@silcnet.org>
3020
3021         * Moved the SilcClient and SilcClientConnection from client.h
3022           to the public lib/silcclient/silcclient.h.  Changed the
3023           structures a bit.
3024
3025 Thu Oct 31 22:44:07 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3026
3027         * If version string in silc_clinet_alloc is NULL the library
3028           puts it automatically.  Affected file lib/silcclient/client.c.
3029
3030         * Changed the version strings from variables to #define's
3031           in includes/silcversion.h.
3032
3033 Wed Oct 30 16:17:30 CET 2002  Pekka Riikonen <priikone@silcnet.org>
3034
3035         * Added shared library complation support.
3036
3037 Tue Oct 29 21:48:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3038
3039         * Added lib/silcutil/silcapputil.[ch] for application
3040           utility functions.  It includes routines for applications'
3041           convenience.  Added silc_create_key_pair, silc_show_public_key
3042           and silc_load_key_pair functions.
3043
3044 Tue Oct 29 17:36:44 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3045
3046         * Send RESUME_CLIENT packet from router to backup routers
3047           to in resuming.  Affected file silcd/packet_receive.c.
3048
3049 Mon Oct 28 21:23:39 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3050
3051         * In IDENTIFY command parsing, send all other IDs except
3052           Client IDs explicitly to router for resolving on normal
3053           server.  Also check that ID received in WHOIS command is
3054           always Client ID, others are not allowed.  Affected file
3055           silcd/server_query.c.
3056
3057         * Merged latest changes from irssi.org CVS.
3058
3059 Sun Oct 27 11:44:32 EET 2002  Pekka Riikonen <priikone@silcnet.org>
3060
3061         * Merged c0ffee's /set heartbeat patch to Irssi SILC client.
3062           Affected files irssi/src/silc/core/silc-core, silc-server.c.
3063
3064         * Fixed the heartbeat sending in Irssi SILC client.  Moved
3065           the silc_client_packet_send to silcclient.h for application
3066           usage.  Affected files lib/silcclient/client_internal.h
3067           lib/silcclient/silcclient.h.
3068
3069         * Fixed a bug in query resolving in server.  Used wrong
3070           variable in a for loop and crashed.  Affected file is
3071           silcd/server_query.c.
3072
3073         * Server constructs requested attributes only to locally
3074           connected clients.  Affected file silcd/server_query.c.
3075           Bug #36.
3076
3077         * Fixed a bug when sending resolving from router to server
3078           with requested attributes.  The constructed WHOIS command
3079           was incorrect.  Affected file silcd/server_query.c.
3080           Bug #38.
3081
3082         * Fixed Requested Attributes saving in WHOIS command reply.
3083           The length of the data buffer must be saved too.  Affected
3084           file silcd/command_reply.c.
3085
3086         * Update the client entry's servername after detaching is
3087           over.  Affected file silcd/packet_receive.c.  Bug #37.
3088
3089         * Resolve incomplete client entrys in CUMODE_CHANGE and
3090           CMODE_CHANGE notifys.  Affected file is
3091           lib/silcclient/client_notify.c.  Bug #42.
3092
3093 Thu Oct 24 12:22:35 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3094
3095         * Fixed channel key packet processing bug on backup router
3096           during backup resuming protocol.  Affected file is
3097           silcd/packet_receive.c.
3098
3099         * Fixed memory leaks in server.  Affected files are
3100           silcd/server.c and silcd/packet_receive.c.
3101
3102         * Fixed packet decryption problem when backup router encrypted
3103           channel message with wrong key during backup resuming
3104           protocol.  Affected file silcd/packet_send.c.
3105
3106         * ROBODoc documented lib/silccrypt/silccipher.h.  A patch by
3107           Toni Willberg (toniw@iki.fi)
3108
3109         * Changed the SilcCipher context to be private.  Changed the
3110           silc_cipher_get_iv to just return pointer to the IV.  Added
3111           silc_cipher_get_name to return the name of the cipher.
3112           Fixed code all around to support these changes.  Affected
3113           files are lib/silccrypt/silccipher.[ch], client library and
3114           server.
3115
3116 Wed Oct 23 19:01:41 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3117
3118         * Fixed unaligned access in lib/silccore/silcattrs.c.
3119
3120         * Fixed libtool linking in lib/silcsim/Makefile.am.
3121
3122         * Fixed services attribute printing.  Affected files is
3123           irssi/src/silc/core/silc-queries.c.
3124
3125 Wed Oct 23 09:51:04 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3126
3127         * Fixed a crashbug in incoming server accepting.  Affected
3128           file silcd/server.c.
3129
3130 Tue Oct 22 13:02:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3131
3132         * Added automatically generated index to Toolkit Reference
3133           Manual.
3134
3135         * Added support for Postscript Toolkit Reference Manual.
3136
3137 Mon Oct 21 21:30:40 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3138
3139         * Merged DISCONNECT fix, and autoconn port fix from Irssi
3140           CVS.
3141
3142 Sun Oct 20 19:54:55 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3143
3144         * Added 'send_events' boolean argument to the function
3145           silc_schedule_set_listen_fd which sends the set events to
3146           the application explicitly if set to TRUE.  Default action
3147           should be FALSE.  Affected file lib/silcutil/silcschedule.[ch],
3148           lib/silcclient/client_internal.h and silcd/server_internal.h.
3149
3150         * Added silc_compare_timeval to determine which time values
3151           is smaller.  Affected file lib/silcutil/silcutil.[ch].
3152
3153         * Added sort-of "Quality of Service" (QoS) support to
3154           SilcSocketConnection.  Data reception can be controlled with
3155           rate limit per second and/or read data length limit.
3156           Added silc_socket_set_qos.  Affected files are
3157           lib/silcutil/silcsockconn.[ch] and unix/silcunixsockconn.c.
3158
3159         * Added the QoS configuration to SILC Server configuration
3160           file.  Affected files are silcd/serverconfig.[ch] and
3161           server.c.
3162
3163 Sun Oct 20 14:12:24 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3164
3165         * Merged with irssi.org CVS.
3166
3167         * Failed OPER and SILCOPER authentications are now logged.
3168           Affected file silcd/command.c.  Bugs #25.
3169
3170 Sat Oct 19 13:32:15 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3171
3172         * ROBODoc documented lib/silcutil/silcbuffer.h and
3173           lib/silcutil/silcdlist.h.  Patch by Ville Räsänen
3174           <ville.rasanen@iki.fi>.
3175
3176 Fri Oct 18 10:51:04 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3177
3178         * Added support for auto-passphrase authentication from the
3179           config file during connecting which was not implemented
3180           yet.  Affected file irssi/src/silc/core/client_ops.c.
3181
3182         * Fixed a bug in authentication protocol failure handling which
3183           was processing wrong callback context.  Affected files
3184           are lib/silcclient/client.c and protocol.c.
3185
3186         * Fixed the /ATTR allow off to actually work.  Affected file
3187           is irssi/src/silc/core/silc-queries.c.
3188
3189         * Fixed the /ATTR -del to work.  Affected file is
3190           irssi/src/silc/core/silc-queries.c.
3191
3192 Thu Oct 17 23:45:12 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3193
3194         * Fixed string formatting crashbug in lib/silccore/silcattrs.c.
3195
3196         * Fixed mask attribute adding in Irssi SILC client.  Affected
3197           file irssi/src/silc/core/silc-queries.c.
3198
3199 Thu Oct 17 16:40:39 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3200
3201         * Added support for saving the requested attributes in
3202           WHOIS to directory.  Affected file is
3203           irssi/src/silc/core/silc-queries.c.
3204
3205 Wed Oct 16 17:40:56 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3206
3207         * Added support for parsing VCard fields that do not have
3208           the TYPE= for types.  Affected file lib/silcutil/silcvcard.c.
3209
3210         * Fixed a double free bug in hash table foreach function
3211           if the entry was deleted in the foreach callback.  Affected
3212           file lib/silcutil/silchashtable.c.
3213
3214 Tue Oct 15 18:05:24 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3215
3216         * Added silc_attribute_get_verify_data to return the signature
3217           verification data for either user digital signature or
3218           server digital signature in Requested Attributes.  Affected
3219           files are lib/silccore/silcattrs.[ch].
3220
3221         * Added silc_vcard_alloc which is used to allocated dynamic
3222           SilcVCard context.  The silc_vcard_free now checks whether
3223           the context is dynamically allocated or not.  Affected files
3224           are lib/silcutil/silcvcard.[ch].
3225
3226 Mon Oct 14 17:55:44 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3227
3228         * Periodically remove the NOATTR status from client entry
3229           so that the client may take the attributes in use even after
3230           server has resolved them unsuccessfully earlier.  Affected
3231           file silcd/server_query.c and idlist.h.
3232
3233         * Moved sha1hash and md5hash from client->internal to
3234           SilcClient for application usage.  Affected files are
3235           lib/silcclient/client.h and client_internal.h.
3236
3237         * Fixed attribute encoding and decoding bugs.  Affected
3238           files lib/silccore/silcattrs.[ch].
3239
3240         * Added ATTR command to Irssi SILC Client which is used to
3241           manage user's Requested Attributes sending and values for
3242           WHOIS command.  Affected files around Irssi SILC client.
3243
3244 Mon Oct 14 14:33:54 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3245
3246         * Added silc_buffer_strformat which can be used to format
3247           strings into a buffer which size is automatically increased.
3248           Affected file lib/silcutil/silcbuffmt.[ch].
3249
3250         * Added implementation of VCard (RFC 2426) which can be used
3251           as part of Requested Attributes in WHOIS command.  Affected
3252           file lib/silcutil/silcvcard.[ch].
3253
3254 Fri Oct 11 23:52:17 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3255
3256         * Some strncat -> silc_strncat changes our the core and
3257           client library.
3258
3259         * Added SILC_SKE_STATUS_SIGNATURE_ERROR and OUT_OF_MEMORY
3260           errors.  Added better error printing to SKE library.
3261           Affected files lib/silcske/silcske.c, silcske_status.h and
3262           payload.c.
3263
3264         * Save the PKCS key length even if only private key is set to
3265           SilcPKCS.  Affected file lib/silccrypt/silcpkcs.[ch] and rsa.c.
3266
3267         * Fixed the usage of silc_pkcs_get_key_len since it returns the
3268           length in bits not in bytes.  Affected files are
3269           lib/silcske/silcske.c, lib/silccore/silcauth.c and
3270           silcd/server_query.c.
3271
3272 Wed Oct  9 17:22:57 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3273
3274         * Added silc_attribute_payload_encode_data to directly encode
3275           the data into the attributes buffer.  Renamed function
3276           silc_attribute_payload_parse_list to silc_attribute_payload_parse.
3277           Affected files are lib/silccore/silcattrs.[ch].
3278
3279         * silc_hash_table_find_foreach calls the foreach function now
3280           once even if the nothing was found with context set to NULL.
3281           Affected file lib/silcutil/silchashtable.[ch].
3282
3283         * Remove the RESOLVING flag from client entry after received
3284           the Requested Attributes from the client.  Fixed memory leak
3285           in client entry freeing.  Affected files silcd/server_query.c
3286           and idlist.c.
3287
3288         * Added Requested Attributes support into SILC Client Library.
3289           It is not able to send requested attributes in WHOIS command,
3290           and also receive and process requested attributes.  Added
3291           silc_client_attribute_[add|del] and silc_client_attributes_get
3292           functions.  Added also `ignore_requested_attributes' to the
3293           SilcClientParams to not use attributes in client.  Affected
3294           files are lib/silcclient/command.c, client_attrs.[ch],
3295           silcclient.h, client_internal and client.[ch].
3296
3297         * Changed the silc_client_get_client_by_id to support Requested
3298           Attributes, it takes them as argument now.  Affected file
3299           is lib/silcclient/silcclient.h, and idlist.c.
3300
3301         * Added -details option to WHOIS command in Irssi SILC Client
3302           to support the requested attributes.  By default it requests
3303           all attributes.  Affected file lib/silcclient/command.c and
3304           irssi/doc/help/in/whois.in.
3305
3306 Tue Oct  8 17:58:28 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3307
3308         * Add also SERVICE attribute for server-constructed attribute
3309           data.  Also digitally sign the attributes and add
3310           SERVER_DIGITAL_SIGNATURE attribute.  Affected file is
3311           silcd/server_query.c.
3312
3313 Mon Oct  7 18:25:35 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3314
3315         * Changed the silc_attribute_payload_encode to support list
3316           of attributes (function may be called several times to add
3317           a new attribute).  Removed the silc_attribute_payload_encode_list
3318           function.  The encoding function now also automatically encodes
3319           the data, so the caller does not need to do that.  Affected
3320           files lib/silccore/silcattrs.[ch].
3321
3322         * Added support for replying on behalf of the user to the
3323           Requested Attributes in WHOIS command in the server.  Affected
3324           file silcd/server_query.c.
3325
3326         * SILC_NOT_IMPLEMENTED macro use SILC_LOG_INFO now instead of
3327           SILC_LOG_DEBUG.  Affected file lib/silcutil/silclog.h.
3328
3329 Sun Oct  6 16:48:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3330
3331         * Don't swtich to become primary router if we are backup if
3332           decryption error has occurred.  Affected file silcd/server.c.
3333
3334         * Fixed a bug in backup router IP address comparison in
3335           silc_server_backup_get.
3336
3337           Save now also the port of the server/router and use that
3338           in comparison as well.  Affected file silcd/server_backup.c.
3339
3340         * Normal server now reconnects to backup router automatically
3341           if connection is lost to it.  Affected file silcd/server.c.
3342
3343 Thu Sep 26 13:51:02 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3344
3345         * If packet processing fails (like integrity check fails)
3346           the connection is closed now.  Affected files are
3347           lib/silccore/silcpacket.c and silcd/server.c.
3348
3349 Mon Sep 23 10:59:39 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3350
3351         * Fixed double free in RSA public key set function
3352           silc_rsa_set_public_key.  Affected file lib/silccrypt/rsa.c.
3353           Bug #29.
3354
3355 Sun Sep 22 14:54:05 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3356
3357         * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server.
3358           Added server_query.[ch] which provides one interface for
3359           querying information using all three commands.
3360
3361         * Changed all "typedef unsigned char" in core library to
3362           "typedef SilcUInt8".
3363
3364 Sat Sep 21 21:36:45 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3365
3366         * Added silc_strncat into lib/silcutil/silcstrutil.[ch].
3367
3368         * Renamed silc_server_get_client_resolve to
3369           silc_server_query_resolve and moved to server_query.[ch].
3370
3371 Wed Sep 18 18:28:04 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3372
3373         * Resumed client packet handling from server put the resumed
3374           client on wrong list on router and caused the client not
3375           be present on the network anymore.  Now fixed to put the
3376           client to correct list.  Affected file silcd/packet_receive.c.
3377
3378 Wed Sep 18 15:13:48 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
3379
3380         * Various cleanup in error message output in config parsing code
3381           and in server init code.  Fixed error log files containing
3382           too many newlines ('\n') in some situations.  Affected files are
3383           silcd/serverconfig.c, silcd/silcd.c, and silcd/server.c.
3384
3385 Wed Sep 18 10:51:23 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3386
3387         * Use the reverse lookupped hostname in client internals
3388           instead of one user provided us as remote server name.
3389           Affected file lib/silcclient/client.c.
3390
3391 Mon Sep 16 12:02:54 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3392
3393         * Added 'app_context' to silc_schedule_init.  It is an
3394           application specific context that is delivered to application
3395           in task callback functions.  Affected files are
3396           lib/silcutil/silcutil.[ch].
3397
3398         * The hb_context in SilcSocketConnection is not freed
3399           automatically anymore (application must free it).  Freeing
3400           it automatic is inconsistent.  Affected files are
3401           lib/silcutil/silcsockconn.[ch].
3402
3403 Sun Sep 15 22:16:19 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3404
3405         * Added support for removing explicitly added client connections
3406           in rehash and closing the client connections if they were
3407           unconfigured in the rehash.  Affected file silcd/server.c.
3408
3409         * Added support for aborting automatically pending commands
3410           that never receives the reply (to avoid memory leaks).
3411           Added also silc_server_command_pending_timed to set the
3412           specific timeout for pending command.  Affected files are
3413           silcd/command[_reply].[ch].
3414
3415         * Added SILC_STATUS_ERR_TIMEDOUT status.  Updated protocol
3416           specs and lib/silccore/silcstatus.h.
3417
3418 Sun Sep 15 12:25:10 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3419
3420         * Changed the silc_get_time to accept time value as argument
3421           or if zero is sent return current local time.  Affected
3422           file lib/silcutil/silcutil.[ch].
3423
3424         * Added STATS command to client library and Irssi SILC client.
3425           Patch provided by Ville Räsänen <ville.rasanen@iki.fi>.
3426
3427 Wed Sep 11 09:22:00 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3428
3429         * Assure that channel key is set before sending it.  May
3430           crash server otherwise.  Affected file silcd/packet_send.c.
3431
3432 Tue Sep 10 09:50:08 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3433
3434         * Assure that endless loop cannot happen with detached client
3435           resolving on normal server.  Added idlist status
3436           SILC_IDLIST_STATUS_RESUME_RES.   Affected files are
3437           silcd/idlist.h and silcd/packet_receive.c.
3438
3439 Mon Sep  9 12:18:18 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
3440
3441         * Incoming file transfer request cannot use same session as
3442           the sending session.  This can happen when sending file to
3443           yourself.  Crashed the client on quit.  Affected file
3444           lib/silcclient/client_ftp.c.  Bug #24.
3445
3446 Sun Sep  8 18:39:25 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3447
3448         * Implemented the draft-riikonen-precense-attrs draft and
3449           the Attribute Payload into the lib/silccore/silcattrs.[ch].
3450
3451 Sun Sep  8 13:13:44 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3452
3453         * Distribute the SERVER_SIGNOFF notify also to local backup
3454           routers from the primary router.  The backup router may not
3455           have the signing of local server directly connected and need
3456           to know about the signoff.  Affected file silcd/server_util.c.
3457
3458         * Use the primary router as the origin of the locally connected
3459           server when it is disconnecting from the backup router since
3460           that's where it really is coming from.  Now the clients from
3461           the disconnecting server are removed correctly and "shadow"
3462           clients are not left to the backup router.  Affected file
3463           silcd/server.c.
3464
3465 Sat Sep  7 22:26:50 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3466
3467         * If normal server is standalone and found existing but disabled
3468           channel, do not re-create the channel since it creates
3469           duplicate same channels.  Affected file silcd/server.c.
3470
3471         * Added anonymous client connections support to server.  New
3472           "anonymous" configuration option to ConnectionParams section
3473           added.  If set to true, the username and hostname information
3474           of the client will be scrambled and anonymous user mode is
3475           set automatically to the user.  Affected files are
3476           silcd/serverconfig.[ch], silcd/packet_receive.c and server.c.
3477
3478 Sat Sep  7 16:02:09 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
3479
3480         * In JOIN notify handling, mark that the cache entry of the
3481           client cannot be expired.  Can cause crashes on normal
3482           server (asserts client->channels).  Affected file is
3483           silcd/packet_receive.c.
3484
3485         * From now on distribution versions are used as protocol versions
3486           instead of by default using the Toolkit base version as protocol
3487           version.  Affected file prepare.
3488
3489         * Do not set the locally resolved hostname for local client
3490           entry but take what server sends.  This way the real hostname
3491           is showed in WHOIS for yourself.  Affected file is
3492           lib/silcclient/idlist.c and lib/silcclient/client.c.
3493
3494         * Resolve local info with IDENTIFY when connecting to server.y
3495
3496 Sat Sep  7 14:22:43 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3497
3498         * Rewritten check for POSIX threads.  Use --with-pthreads[=DIR]
3499           for implied search (not needed on platforms which has native
3500           pthreads library).  Use --without-pthreads to disable threads.
3501           Affected file is configure.in.pre
3502
3503         * Fixed --with-iconv on platforms which need to bypass (broken)
3504           native iconv().  Affected file is configure.in.pre
3505
3506 Sat Sep  7 15:08:13 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3507
3508         * Moved -C option parsing in Irssi SILC client at same time
3509           as other options.  The UI was initialized earlier and caused
3510           problems on command line.  Bug #16.  Affected file is
3511           irssi/src/silc/core/silc-core.c.
3512
3513 Mon Sep  2 23:00:30 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3514
3515         * Added global variable silc_log_timestamp that tells silclog
3516           wether to print or not the timestamp in the logging files.
3517           Affected file lib/silcutil/silclog.[ch].
3518
3519         * Added silcd configuration option Timestamp in the Logging
3520           section.  Affected file silcd/serverconfig.[ch],
3521           doc/example_silcd.conf.in.
3522
3523 Fri Aug 30 08:57:33 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3524
3525         * Fixed fingerprint checking to check for entirely empty
3526           fingerprint instead of two first bytes when determining
3527           if it is set.  Bug #18.  Affected file silcd/command.c.
3528
3529         * Fixed duplicate PKCS name registering to not allow it.
3530           Bugs #17.  Affected file lib/silccrypt/silcpkcs.c.
3531
3532 Sun Aug 25 08:02:04 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3533
3534         * Conditionalize non-gcc compiler optimizations for various
3535           platforms, enable those commented out.  Cleanups.
3536           Affected file lib/silcmath/mpi/configure.in
3537
3538 Sat Aug 24 15:11:32 EEST 2002 Timo Sirainen <tss@iki.fi>
3539
3540         * silc_rng_exec_command() left zombie processes if command
3541           didn't generate any output.  Affected file
3542           lib/silccrypt/silcrng.c
3543
3544 Fri Aug 23 22:05:44 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3545
3546         * Rewrote iconv checking, introduce --with-iconv for systems
3547           which rely on libiconv.  Check if iconv() provided by libc
3548           is good enough, otherwise demand libiconv.  Affected file
3549           configure.in.pre
3550
3551 Fri Aug 23 07:10:52 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3552
3553         * Search for ldopen() also in libc.  This enables SIM support
3554           on *BSD systems.  Based on patch from Alex Zepeda.  Affected
3555           file configure.in.pre
3556
3557 Sun Aug 18 04:44:30 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3558
3559         * Don't call AM_CONDITIONAL conditonally for SILC_THREADS.
3560           This fixes prepare on *BSD systems.  Affected file
3561           configure.in.pre
3562
3563 Sun Aug  4 15:55:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3564
3565         * More fixed for not having purge timeout for global clients
3566           that are on channel.  Affected files silcd/command_reply.c
3567           and server_util.c.
3568
3569         * Fixed the rekey protocol to work with backup router connections.
3570           Rekey packets are now allowed on disabled connections as
3571           well.  Affected files silcd/packet_send.c and server.c.
3572
3573         * Do not switch to be as backup router when shutting down and
3574           closing the primary connection.  Affected file silcd/server.c.
3575
3576         * Fixed memory leaks in backup router deleting.  Added
3577           silc_server_backup_free to free all data during shutdown of
3578           server.  Affected files silcd/server_backup.[ch].
3579
3580 Sun Jul 14 21:33:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3581
3582         * Do not process commands if the sock->user_data is NULL.
3583           Affected file silcd/command.c.
3584
3585 Tue Jul  9 19:03:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3586
3587         * Fixed buffer overflow and security problems (loosing bits
3588           in CFB encryption) in SILC RNG.  Problems reported by
3589           Markku-Juhani O. Saarinen <mjos@saturn.tcs.hut.fi>.
3590
3591 Sun Jul  7 13:10:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3592
3593         * Added yet more checks that client is not expired on global
3594           list if it is on channels.  Affected file is
3595           silcd/command_reply.c.
3596
3597 Sat Jul  6 11:45:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3598
3599         * Merged c0ffee's MIME signal patch which adds support for
3600           sending also MIME messages in Irssi SILC Client, and handling
3601           received MIME messages in a signal (and perhaps doing something
3602           to non-textual MIME messages).
3603
3604 Sun Jun 30 01:30:22 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3605
3606         * Fixed pending command deletion in server and client library
3607           to check the whole list instead of breaking after first found.
3608           The affected files are silcd/command.[ch] and
3609           lib/silcclient/command.[ch].
3610
3611 Sat Jun 29 17:40:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3612
3613         * Return NO_SUCH_CHANNEL error in USERS for channel that is
3614           secret or private, otherwise it's possible to find out
3615           whether a secret channel exists or not.  Affected file
3616           silcd/command.c.
3617
3618         * If CMODE change fails during the mode setting, assure that
3619           the old mode mask is set for the channel back.  Affected
3620           file silcd/command.c.
3621
3622         * Fixed passphrase saving on +a channel on normal server
3623           after successful JOIN command.  Affected file silcd/command.c.
3624
3625 Fri Jun 28 11:53:25 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3626
3627         * Remove server/router operator privileges in DETACH command,
3628           since it's possible to resume to server where these
3629           privileges would not be allowed for the client.  Affected
3630           file silcd/command.c.
3631
3632         * Do not set to wait for backup in rehash of the server.
3633           Affected file silcd/server.c.
3634
3635         * Do not check listener sockets when counting how many
3636           socket connections we have.  Affected file is
3637           silcd/server_util.c.
3638
3639         * Do not announce disconnected clients that are remaining
3640           in history (for WHOWAS).  This is because SIGNOFF notify
3641           for these has been sent earlier already.  Affected file
3642           silcd/server.c.
3643
3644 Thu Jun 27 20:07:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3645
3646         * Buffer overflow with CUMODE command's mode->mode character
3647           conversion.  Reported by Ville Räsänen.  Affected file
3648           lib/silcutil/silcutil.c.
3649
3650 Thu Jun 27 16:54:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3651
3652         * Allow heartbeat packets to go disabled connections anyway.
3653           Affected files silcd/server.c and silcd/packet_send.c.
3654
3655         * Do not broadcast New Channel packets with List flag set
3656           in the packet to backup routers.  The router must check
3657           for the correctness of the packets before sending them.
3658           It is possible that router will have enforce Channel ID
3659           change and this would cause desync in the backup router.
3660           Affected file silcd/packet_receive.c.
3661
3662         * Remove SILC_PACKET_FLAG_LIST from the temp packets that
3663           are handled in list parsing.  They are not list packets
3664           anymore.  Affected file silcd/packet_receive.c.
3665
3666 Thu Jun 27 11:27:07 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3667
3668         * Stop waiting for backup router through the timeout, not
3669           directly after backup router has arrived.  Affected file
3670           silcd/server.c.
3671
3672         * Do not re-create channel keys and send them when removing
3673           clients in server shutdown.  Affected files are
3674           silcd/server_internal.h and silcd/server_util.c.
3675
3676         * Notify distribution to backup routers was missing from
3677           the silc_server_send_notify_dest function which caused
3678           desyncing problems with backup router.  Affected file is
3679           silcd/packet_send.c.
3680
3681         * The client's channel removing was working wrong on
3682           backup router.  It assumed that it doesn't know global
3683           information but backup router does know.  For this reason
3684           it could remove channel when it wasn't supposed to do that.
3685           Affected file silcd/server.c and silcd/server_util.c.
3686
3687 Wed Jun 26 15:14:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3688
3689         * Stop for a couple seconds after badkup router has become
3690           primary router.  Affected file silcd/server.c.
3691
3692         * Added silc_server_remove_servers_by_server, which is used
3693           to remove servers originated from some other server.  Also
3694           clients of those servers can be removed too.  Affected file
3695           silcd/server_util.[ch].
3696
3697         * When removing clients after a server has signed of remove
3698           also all servers behind that server (unless they are known
3699           to be available locally), and send SERVER_SIGNOFF for each
3700           of the server separately.  Also the signed off clients are
3701           sent now separately per signed off server.  The affected files
3702           are silcd/server.c and silcd/server_util.[ch].
3703
3704         * All servers added with silc_idlist_add_server must always
3705           have both "router" and "connection" pointers set.  Otherwise,
3706           bad server entries may be left around in the cache.
3707           Affected file silcd/command_reply.c.
3708
3709         * Do not create the channel key in NEW_CHANNEL packet
3710           processing if the channel is empty.  Affected file
3711           silcd/packet_receive.c.
3712
3713         * Completed backup router support for standalone routers.
3714           Supports also servers in the cell that do not use the backup
3715           at all.
3716
3717 Wed Jun 26 10:38:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3718
3719         * Fixed a bug in silc_string_regexify which did not add '^'
3720           at the start of each string, and thus the matching was
3721           not explicit.  For example ban list iikone@*!*@* would
3722           match also "priikone", which is wrong, it would have to be
3723           *iikone@*!*@* to match also "priikone".  Affected
3724           file lib/silcutil/unix/silcunixutil.c.
3725
3726 Tue Jun 25 18:47:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3727
3728         * Enable all local server connections before updating client
3729           caches when we've become backup router.  Otherwise, signoff
3730           packets may not reach the clients.  Affected files are
3731           silcd/server.c and silcd/server_util.[ch].
3732
3733         * Fixed a bug in version string parsing which could crash
3734           the program with specially formatted version string.
3735           Bug reported and patch provided by Ville Räsänen.  Affected
3736           file lib/silcutil/silcutil.c.
3737
3738         * Handle the disconnection immediately when DISCONNECT
3739           packet is received in server.  Affected file silcd/server.c.
3740
3741         * Primary router now waits a short time (10 seconds) for
3742           backup router connection before accepting any other
3743           connection (except local).  Affected file silcd/server.c,
3744           serverconfig.[ch].
3745
3746         * Fixed a crash in client libary in NICK_CHANGE notify when
3747           NICK_CHANGE arrived for client entry we are resolving
3748           currently.  Affected file lib/silcclient/client_notify.c.
3749
3750         * Call the sconn->callback completion even if error had
3751           occurred.  Start reconnecting always if connection to
3752           primary router fails during backup router protocol.
3753           Affected files silcd/server.c and server_backup.c.
3754
3755 Mon Jun 24 17:47:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3756
3757         * Added functions silc_server_send_opers and
3758           silc_server_send_opers_notify to send packets stricly
3759           to operators.  Added macro SILC_SERVER_SEND_OPERS macro
3760           to send variable argument notify to operators.
3761           Affected files silcd/packet_send.[ch] and silcd/server.h.
3762
3763         * Removed UMODE rights checking with UMODE_CHANGE notify.
3764           Affected file silcd/packet_receive.c.
3765
3766         * Server/router operator now receives notify when network
3767           switches to backup router and when it resumes the use of
3768           primary router.  Affected file silcd/server.c and
3769           silcd/server_backup.c.
3770
3771         * Fixed the updating of client information after backup
3772           resuming protocol is over; update all except local clients
3773           to the new primary router.  The affected file is
3774           silcd/server_util.c.
3775
3776         * Added support for closing active connections in rehash
3777           that were unconfigured by the user.  Supports currently
3778           closing server and router connections.  Affected file
3779           silcd/server.c.
3780
3781         * Rewrote some SILC_LOG_DEBUG's in silcd/server_backup.c.
3782
3783 Sun Jun 23 17:32:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3784
3785         * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer
3786           is NULL since seems that on some platforms NULL is allowed
3787           and on some it's not.  Fallback encoding is used instead.
3788           Affected file lib/silcutil/silcstrutil.c.
3789
3790         * Fixed statistics updating for incoming server connection
3791           which could cause problems when re-connecting.  Affected
3792           file silcd/server.c.
3793
3794         * Preliminary backup router support for standalone router
3795           added.  Affected files in silcd/.
3796
3797         * Mark server connections in backup router disabled before
3798           and after backup protocol.  Affected file is
3799           silcd/server_backup.c.
3800
3801         * Added support for reconnecting to remote server connection
3802           even if the protocol fails, and if the configuration wants
3803           us to keep trying to connect anyway.
3804
3805           Server connection is not allowed to backup router if
3806           backup router does not have connection to primary router yet.
3807
3808           Affected file is silcd/server.c.
3809
3810 Sat Jun 22 21:34:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3811
3812         * Added silc_client_udpate_server function to update changed
3813           server info.  Affected file lib/silcclient/idlist.[ch].
3814
3815         * Added check for server entries that are being resolved when
3816           notify is received.  If being resolved, handle the received
3817           notify only after it's resolved so that all notifys are
3818           handled in same order as received from the server.
3819
3820           Added similar resolver check to channel entries.  Every
3821           notify that cause resolving of any information that affects
3822           channel entry marks the channel entry in waiting state.
3823           After whatever resolving is over the waiters are signalled
3824           and only then the notifys are handled in the same order
3825           as delivered from the server.
3826
3827           Affected files are lib/silcclient/idlist.[ch], and
3828           client_notify.c.
3829
3830         * Fixed KILLED notify handling in normal server.  Affected
3831           file silcd/packet_receive.c.
3832
3833         * Added SILC_IDLIST_STATUS_LOCAL which indicates that entry
3834           is locally connected, or was locally connected (but may
3835           be detached and connection is not active).  Added also
3836           SILC_IS_LOCAL for checking this status.  Affected files
3837           silcd/idlist.h, silcd/packet_receive.c, silcd/server_util.c,
3838           silcd/server.c and silcd/server_internal.h.
3839
3840 Sat Jun 22 17:06:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3841
3842         * Don't send or handle TOPIC_SET if topic is already set and
3843           is same as being set.  Affected files silcd/command.c and
3844           silcd/packet_receive.c.
3845
3846         * Fixed CMODE change rights checking to work correctly when
3847           removing modes by operator.  Affected file is
3848           silcd/server_util.c.
3849
3850         * Fixed some handling with New Channel packet in router and
3851           fixed some CMODE_CHANGE notify handling in server and router.
3852           Affected file is silcd/packet_receive.c.
3853
3854         * Changed "disconnect" client operation to include the
3855           reason of the disconnection and optional disconnection
3856           message.  Affected file lib/silcclient/silcclient.h.
3857
3858         * Made the compilation of lib/contrib/ stuff conditional.
3859           Affected files configure.in.pre, lib/contrib/Makefile.am.
3860
3861 Sat Jun 22 12:49:21 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3862
3863         * All CMODE_CHANGE and CUMODE_CHANGE notifys are now sent back
3864           to the sender of the notify too, to avoid situation where two
3865           notifys are in the network at the same time going to oppsite
3866           directions.  Affected file silcd/packet_receice.c.
3867
3868 Fri Jun 21 10:00:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3869
3870         * Delete the client from channel even if the cilent->id is
3871           NULL.  It was possible that client was deleted without
3872           removing from channels (theoretically at least).  Affected
3873           file silcd/server.c and silcd/server_util.c.
3874
3875         * Free the client data too when resuming is not successful.
3876           Affected file silcd/packet_receive.c.
3877
3878         * Merged some code from c0ffee's silc-plugin.  Affected files
3879           irssi/src/silc/core/silc-channels.c and silc-expandos.c.
3880
3881         * Added SILC_PRIMARY_ROUTE and SILC_BROADXAST macros to
3882           silcd/server_internal.h.  SILC_PRIMARY_ROUTE Returns pointer
3883           to the primary router connection, the other one returns
3884           TRUE if packet must be broadcasted to network.
3885
3886         * All notifys that are destined to primary router (to network)
3887           are now automatically sent to backup routers even if the
3888           router is standalone (and has backup router).  Affected files
3889           in silcd/.
3890
3891         * Added --without-irssi and --without-silcd configuration
3892           options for disabling the compilation of these applications.
3893           Affected file configure.in.pre and prepare.
3894
3895 Thu Jun 20 13:48:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3896
3897         * Implemented SILC_STRING_BMP and SILC_STRING_UNIVERSAL for
3898           UTF-8 encoding and decoding.  Added also new encodings
3899           SILC_STRING_BMP_LSB and SILC_STRING_UNIVERSAL_LSB.
3900
3901           Added also SILC_STRING_LANGUAGE which is language and charset
3902           specific encoder and decoer for those platforms that support
3903           iconv().  It can convert the UTF-8 to and from the locale
3904           specific character set.
3905
3906           Affected file lib/silcutil/silcstrutil.[ch].
3907
3908         * Added macro SILC_NOT_IMPLEMENTED to lib/silcutil/silclog.h.
3909
3910         * Added function silc_get_command_name to the file
3911           lib/silcutil/silcutil.[ch].
3912
3913         * Improved the server debug output a bit.  Affected files are
3914           in silcd/.
3915
3916 Wed Jun 19 17:46:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3917
3918         * Save the channel passphrase when received succesful JOIN
3919           command reply from router, on normal server.  Otherwise
3920           joinig +a channels from normal server is not possible.
3921           Affected file silcd/command.c.
3922
3923         * Fixed a bug in TOPIC_SET notify handling.  The notifier
3924           may be other than client too, like server or channel.
3925           It expected it to always be only client and ignored the
3926           notify.  Affected file silcd/packet_recieve.c.
3927
3928         * Removed some (unnecessary) debug printing from
3929           lib/silccore/silcid.c and lib/silccore/silcargument.c.
3930
3931         * Do not force CMODE_CHANGE when server is announcing new
3932           channel.
3933
3934           Router announces stuff only after server reannounces channel
3935           after CHANNEL_CHANGE notify.
3936
3937           These fixes optimizes the announcing procedure, and perhaps
3938           fixes some problems too.  Affected file silcd/packet_receive.c.
3939
3940         * Fixed SERVER_SIGNOFF sending to local clients.  It was
3941           totally broken and sent the notify to all local clients,
3942           instead of only to those that was on same channel as the
3943           signing off clients.  Affected file silcd/server_util.c.
3944
3945         * Added -D option to server.  It can be used to give debug
3946           level.  The levels are from 0 - 99, and are predefined for
3947           smooth server debugging.  (see silcd.c for the predefined
3948           levels).  Affected file silcd/server.c.
3949
3950 Wed Jun 19 16:01:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3951
3952         * Fixed a bug in Irssi SILC client to close the connection
3953           properly when disconnecting from server.  Affected file
3954           irssi/src/silc/core/client_ops.c.
3955
3956 Tue Jun 18 17:14:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3957
3958         * When authenticating as founder during JOIN command, check
3959           that the one authenticating becomes the only founder on the
3960           channel.  Affected file silcd/command.c.
3961
3962         * Better checking for founder mode setting when CUMODE_CHANGE
3963           notify is received.  Affected file silcd/packet_receive.c.
3964
3965         * Close all connections when shutting down the server by sending
3966           DISCONNECT packet.  Close all listeners too when shutting
3967           down the server.  Affected file silcd/server.c.
3968
3969         * Handle DISCONNECT packet correctly in client library by
3970           calling the "disconnect" client operation.  Affected file
3971           lib/silcclient/client.c.
3972
3973         * Handle local errors correctly during resuming.  Affected
3974           file lib/silcclient/client.c.
3975
3976 Tue Jun 18 10:26:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3977
3978         * The log file is not dupped internally anymore in
3979           lib/silcutil/silclog.c.  Fixed memory leaks too.
3980
3981         * The scheduler now dispatches all pending timeout tasks
3982           when it is uninitialized with silc_schedule_uninit.
3983           Affected file lib/silcutil/silcschedule.c.
3984
3985 Mon Jun 17 21:30:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3986
3987         * Added --enable-stack-trace option to configure.  Added
3988           memory allocation stack trace support.  Added files
3989           lib/silcutil/stacktrace.[ch].  Affected files are
3990           lib/silcutil/silcmemory.[ch].
3991
3992         * Fixed memory leaks from libraries and server.  Affected
3993           files around the tree.
3994
3995         * Reverted back a fix made to CUMODE which broke it.
3996           Affected file silcd/command.c.
3997
3998 Sun Jun 16 11:49:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3999
4000         * Added SILC_MESSAGE_FLAG_UTF8 to the protocol specs and the
4001           core library, and implemented it.  All textual messages SHOULD
4002           use this flag and the message MUST be UTF-8 encoded.
4003           All text messages sent by Irssi SILC client are now UTF-8
4004           encoded (regardless whether the terminal supports UTF-8 or not).
4005           Affected files are lib/silccore/silcchannel.h,
4006           irssi/src/silc/core/silc-servers.c, silc-channels.c and
4007           client_ops.c.
4008
4009 Sat Jun 15 18:23:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4010
4011         * Added lots of new statistics updating that was missing from
4012           the server and router code.  Affected files in silcd/.
4013
4014         * Sending SIGUSR1 signal to server now dumps the current
4015           server statistics into /tmp directory.  Affected file is
4016           silcd/silcd.c.
4017
4018         * ROBODoc documented the lib/silccrypt/silchash.h.  Improved
4019           the SILC Hash Interface also.  Added new functions
4020           silc_hash_get_name, silc_hash_init, silc_hash_update and
4021           silc_hash_final.  Affected file lib/silccrypt/silchash.c.
4022
4023 Sat Jun 15 12:09:14 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4024
4025         * Added some better info printing for client during connecting.
4026           Affected file silcd/server_util.c.
4027
4028         * Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
4029           to silence a user on a channel.  Affected files are
4030           lib/silcclient/client_channel.c, irssi/src/silc/core/client_ops.c,
4031           irssi/src/fe-common/silc/module-formats.[ch], silcd/command.c
4032           and silcd/packet_receive.c.
4033
4034         * Fixed a fatal bug in handling of malformed command payload.
4035           Affected file silcd/command.c.
4036
4037         * Fixed a double free when announcing channel users to router.
4038           Affected file silcd/server.c.
4039
4040         * After successful authentication to channel founder mode, check
4041           that there isn't anyone else with founder mode on the channel.
4042           The one that authenticated will become founder and anyone
4043           else is demoted.  Affected file silcd/command.c.
4044
4045         * Added error printing of any error that has occurred during
4046           any command in client library.  Affected file is
4047           irssi/src/silc/core/client_ops.c.
4048
4049         * Removed some error printing from the client library and left
4050           it for the application to worry (from the error status it
4051           receives in 'command' client operation.  Affected file is
4052           lib/silcclient/command.c.
4053
4054 Fri Jun 14 22:59:02 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4055
4056         * Added new status types KEY_AGREEMENT_ALREADY_STARTED and
4057           KEY_AGREEMENT_SELF_DENIED to lib/silcclient/silcclient.h.
4058           Starting key agreement with itself is denied.  Affected file
4059           is lib/silcclient/client_keyagr.c.
4060
4061         * Fixed some error checkings from the SFTP library which caused
4062           misbehaviour.  Affected files are lib/silcsftp/sftp_client.c
4063           and lib/silcsftp/sftp_util.c.
4064
4065         * Added new "debug" and "debug_string" settings to Irssi SILC
4066           client which can be used to print runtime debugging on the
4067           Irssi's screen.  Available when compiled with --enable-debug
4068           option.  Affected file irssi/src/silc/core/silc-core.c.
4069
4070 Tue Jun 11 16:36:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4071
4072         * Fixed a missing variadic parameter in a function call that
4073           caused server crash when a non-allowed connection arrived.
4074           Reported by Richard Becker.  Affected file silcd/server.c.
4075
4076 Mon Jun 10 16:29:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4077
4078         * Added WATCH list sending to backup routers from router.
4079           The WATCH command is sent by the router to the backup
4080           router.  Affected file silcd/command.c.
4081
4082         * Mark the backup_router flag for RouterConnection entry
4083           if the backup router stuff is defined in the config file.
4084           Affected file silcd/serverconfig.c.
4085
4086         * Fixed some backup data sending around the code to work better
4087           if the router is standalone router.  Not all places were fixed.
4088           Affected file silcd/packet_receive.c, silcd/packet_send.c,
4089           silcd/server.c.
4090
4091         * Fixed the router connecting when connecting to multiple
4092           routers.  It ignored every other router except the first
4093           one.  Affected file silcd/server.c.
4094
4095 Mon Jun 10 09:28:21 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4096
4097         * Made the private key generation after expiration optional.
4098           If not created after expiration the old key will re-expire
4099           at a later time (and thus key pair is not necessary to
4100           change).  Affected file irssi/src/silc/core/clientutil.c.
4101
4102 Sun Jun  9 18:58:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4103
4104         * The length arguments in bind() and connect() were wrong
4105           and fixed now to used SIZEOF_SOCKADDR in the
4106           lib/silcutil/unix/silcunixutil.c.
4107
4108 Tue Jun  4 18:36:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4109
4110         * Fixed detach timeout handling to use Client ID and not
4111           the actual client entry which may be freed in the callback.
4112           Affected file silcd/command.c.
4113
4114 Thu May 30 15:53:45 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4115
4116         * Merged c0ffee's multiple interface support patch.
4117           Affected files in silcd/.
4118
4119 Wed May 29 18:08:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4120
4121         * Cleanup keys properly.  Affected file is
4122           irssi/src/silc/core/clientutil.c.
4123
4124 Tue May 28 20:11:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4125
4126         * Display the user mode on the status bar.  Affected file
4127           irssi/src/silc/core/silc-expandos.c.
4128
4129 Tue May 28 13:56:26 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4130
4131         * If private message key is not set, but the flag is set in
4132           the packet, ignore the packet since it cannot be decrypted.
4133           Affected file lib/silcclient/client_prvmsg.c.
4134
4135 Thu May 23 12:00:14 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4136
4137         * When resuming client, remove the old client entry from
4138           the watcher list too.  Affected file silcd/packet_receive.c.
4139
4140         * Do not allow normal server to force founder mode away
4141           from router if the founder mode is already set.  Affected
4142           file silcd/packet_receive.c.
4143
4144         * Remove the client entry with watch notify types with short
4145           timeout, and not directly, so that other notifys can be
4146           retrieved too.  Affected file lib/silcclient/client_notify.c.
4147
4148         * Display notification about data messages that cannot be
4149           displayed.  Affected files irssi/src/silc/core/client_ops.c,
4150           irssi/src/fe-common/silc/module-formats.[ch].
4151
4152 Sun May 19 18:59:00 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4153
4154         * Fixed the CHANNEL_CHANGE notify handling in client libary
4155           to not use freed memory.  Affected file is
4156           lib/silcclient/client_notify.c.
4157
4158         * Fixed CUMODE_CHANGE notify handling in server.  Affected
4159           file silcd/packet_receive.c.
4160
4161         * Fixed USERS command to support empty channels.  Affected
4162           file silcd/command.c.
4163
4164 Sat May 18 11:35:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4165
4166         * Allow multiple identical pending commands to be registered
4167           in client library.  Affected file is lib/silcclient/command.c.
4168
4169         * Call the completion for resolving client information only
4170           after all resolvers has finished.  This fixes a crash in
4171           the client.  Added support for checking when the resolvers
4172           are finished.  Affected file is lib/silcclient/idlist.c.
4173
4174         * Wait by default 3 seconds before reconnecting to the server
4175           after being disconnected.  Makes the /detach command a bit
4176           more usable.
4177
4178 Fri May 17 17:23:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4179
4180         * Check the watcher list before sending signoff notifys
4181           when closing client connection.  Affected file is
4182           silcd/server.c.
4183
4184         * Added better CMODE command rights checking.  Affected file
4185           silcd/server_util.c.
4186
4187 Fri May 17 08:33:41 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4188
4189         * Fixed watcher list checking during server signoff.  It
4190           crashed the server.  Affected file silcd/server_util.c.
4191
4192         * The JOIN command reply returns now the founder's public
4193           key.  Affected file is silcd/command.c.
4194
4195         * Announce the channel mode, and the mode properties with
4196           CMODE_CHANGE notify.  Affected file silcd/server.c.
4197
4198         * Mark new channels by default disabled, untill at least
4199           one user joins the channel.  Affected file is
4200           silcd/packet_receive.c.
4201
4202 Thu May 16 13:05:13 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4203
4204         * The nickname argument to watch notify can be optional.
4205           Fixes a crash in server.  Affected file silcd/packet_send.c.
4206
4207         * Remove the client entry from cache if the WATCH notify type
4208           is KILLED, SERVER_SIGNOFF or SIGNOFF.  Affected file is
4209           lib/silcclient/client_notify.c.
4210
4211         * Check the watcher list before and after changing nickname
4212           when the NICK_CHANGE notify is received.  Affected file is
4213           silcd/idlist.c.
4214
4215         * Fixed a crash in OPER and SILCOPER command sending.  Empty
4216           passphrase caused the crash.  Affected file is
4217           lib/silcclient/command.c.
4218
4219 Wed May 15 19:01:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4220
4221         * Merged with Irssi CVS for Irssi SILC client.
4222
4223 Tue May 14 19:37:48 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4224
4225         * Completed the protocol specifications.
4226
4227 Tue May  7 20:41:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4228
4229         * Merged with Irssi CVS for Irssi SILC client.
4230
4231 Tue May  7 11:07:16 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4232
4233         * Added the founder's public key delivery to the
4234           CUMODE_CHANGE notify type as well.  Updated the protocol
4235           specs and the code.  Affected files are silcd/packet_send.[ch],
4236           silcd/packet_receive.c and silcd/command.c.
4237
4238 Mon May  6 19:46:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4239
4240         * Added silc_pkcs_public_key_copy function into the
4241           lib/silccrypt/silcpkcs.[ch].
4242
4243         * Remove the `iv' from the SilcChannelEntry since we can
4244           live without it.  Affected files are silcd/idlist.h and
4245           silcd/packet_receive.c.
4246
4247         * Added support for sending the founder's public key in
4248           the CMODE_CHANGE notify packet in the server.  Affected
4249           files are silcd/packet_send.[ch], silcd/packet_receive.c,
4250           silcd/command.c and silcd/server.c.
4251
4252         * Changed the FOUNDER_AUTH authentication to use only
4253           public key authentication as defined by new protocol
4254           specs.  Passphrase authentication with that mode cannot
4255           be used anymore.  It is now possible to reclaim founder
4256           mode from any server in the network.  Affected files are
4257           silcd/command.c, silcd/idlist.h and silcd/command_reply.c.
4258
4259         * Added permanent channels support by making the channel
4260           permanent when FOUNDER_AUTH mode is set on the channel.
4261           The channel will not be destroyed even if channel is empty
4262           when that mode is set.  Protocol TODO #17.  Affected
4263           files are silcd/server.[ch], server_util.[ch],
4264           silcd/command.c, silcd/packet_receive.c and
4265           lib/silcclient/command.c.
4266
4267 Fri May  3 18:36:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4268
4269         * Added reference counter to the command reply context in
4270           the client library.  Affected files are
4271           lib/silcclient/command_reply.[ch].
4272
4273 Fri May  3 11:37:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4274
4275         * Fixed rekey protocol with PFS in the client library.
4276           Affected file is lib/silcclient/protocol.c.
4277
4278         * Added support for list of errors in client library
4279           command reply handling.  Affected file is
4280           lib/silcclient/command_reply.c.
4281
4282         * Defined that the WHOIS and IDENTIFY commands can send
4283           list of errors.  Updated the protocol specs.  Protocol
4284           TODO #2.
4285
4286         * Added support for sending list of errors to WHOIS and
4287           IDENTIFY commands in server.  Added support for receiving
4288           list of errors in server.  Affected files are
4289           silcd/command.c and silcd/command_reply.c.
4290
4291         * Fixed client info resolving on LEAVE command in client
4292           library to not crash.  Affected file is
4293           lib/silcclient/client_notify.c.
4294
4295 Thu May  2 08:45:11 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4296
4297         * Defined that the NICK command replies with thew changed
4298           nickname too, to make the nickname changing simpler at
4299           the client's end.  Updated protocol specs and the code
4300           in client and server.  Affected files are
4301           silcd/command.c, lib/silcclient/command_reply.c and
4302           lib/silcclient/command.c.
4303
4304 Mon Apr 29 20:10:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4305
4306         * Added `Compressed' packet flag to indicate that the packet
4307           payload is compressed by the sender.  Updated the protocol
4308           specs and the core library.  The compression still is not
4309           implemented in the sources.  Affected file is
4310           lib/silccore/silcpacket.h.
4311
4312 Mon Apr 29 09:48:12 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4313
4314         * Remove pending command callbacks also if the connection
4315           to the server is destroyed.  Affected file is
4316           lib/silcclient/client.c.
4317
4318 Sat Apr 27 19:52:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4319
4320         * Added new QUIET channel user mode that can be used to
4321           quiet a user in a channel.  Updated the protocol specs but
4322           it wasn't implemented yet.  Protocol TODO #27.  Affected
4323           file is lib/silccore/silcmode.h.
4324
4325 Mon Apr 22 09:09:44 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4326
4327         * Added BLOCK_INVITE user mode to be able to block incoming
4328           invite notifications.  Protoocol TODO #26.  Affected files
4329           are lib/silccore/silcmode.h, lib/silcclient/command.c and
4330           silcd/command.c.
4331
4332         * SILC Publickey fields MUST be UTF-8 encoded now.  Updated
4333           the protocol specs and the code.  Affected file is
4334           lib/silccrypt/silcpkcs.c.
4335
4336 Sun Apr 21 19:44:38 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4337
4338         * Disconnect Payload includes now the status type.  Updated
4339           the protocol specs and the code.  Protocol TODO #25.
4340           Affected files are silcd/server.c, lib/silcclient/client.c.
4341
4342         * Added NOT_AUTHENTICATED, BAD_SERVER_ID, INCOMPLETE_INFORMATION,
4343           KEY_EXCHANGE_FAILED and BAD_VERSION error status types.
4344           Moved the silc_client_command_status_messages table to the
4345           lib/silcutil/silcutil.c and added new funtion
4346           silc_get_status_message, which deprecates function
4347           silc_client_status_message.  Affected files are
4348           lib/silccore/silcstatus.h, lib/silcclient/command_reply.[ch],
4349           lib/silcutil/silcutil.[ch].
4350
4351 Fri Apr 19 17:35:15 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4352
4353         * Defined that the nickname hash in Client ID MUST be from
4354           lowercase nickname.  This effectively changes nicknames in
4355           SILC to case-insensitive.  Updated the protocol specs and
4356           the code.  Affected files are lib/silcutil/silcutil.[ch],
4357           silcd/serverid.c, and silcd/idlist.c.
4358
4359         * Added new channel user modes BLOCK_MESSAGES_USERS and
4360           BLOCK_MESSAGES_ROBOTS.  Updated the protocol specs and the
4361           code.  Affected files are lib/silccore/silcmode.h,
4362           lib/silcclient/command.c, and silcd/packet_send.c.
4363
4364         * Added new error status ERR_RESOURCE_LIMIT.  Updated protocol
4365           specs and code.  Affected file lib/silccore/silcstatus.h.
4366
4367         * Added support for watch list.  It is possible to add nicknames
4368           to be watched, and when they come to network, leave network
4369           or user mode changes the watcher will be notified of this
4370           change.  Added SILC_COMMAND_WATCH command, added new
4371           notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch
4372           notifications.  Updated the protocol specs and implemented
4373           this to library, client and server.  Protocol TODO #21.
4374           Affected files are lib/silccore/silccomand.h,
4375           lib/silccore/silcnotify.h, lib/silcclient/command[_reply].[ch],
4376           silcd/command[_reply].[ch], lib/silcclient/client_notify.c,
4377           silcd/packet_send.[ch], silcd/packet_receive.c, and
4378           irssi/src/silc/core/client_ops.c.
4379
4380         * Added user mode SILC_UMODE_REJECT_WATCHING to reject
4381           somebody watching you.  Updated the protocol specs and the
4382           code.  Affected files are lib/silccore/silcmode.h, and
4383           lib/silcclient/command.c.
4384
4385 Fri Apr 19 09:02:20 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4386
4387         * Added service support to SILC protocol.  Added new command
4388           SILC_COMMAND_SERVICE.  Updated the protocol specs and the
4389           core library.  Services are not implemented in server or
4390           client for now.  Protocol TODO #20.  Affected files are
4391           lib/silccore/silcstatus.h, lib/silccore/silccommand.h.
4392
4393         * Added SilcStatus argument to `command' client operation
4394           to return the error status when command sending fails
4395           locally.  Changed all command in client library to return
4396           correct command status.  Affected files are
4397           lib/silcclient/command.c, lib/silcclient/silcclient.h and
4398           irssi/src/silc/core/client_ops.c.
4399
4400 Thu Apr 18 14:09:51 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4401
4402         * Added silc_mime_parse function to parse MIME headers.
4403           Affected files are lib/silcutil/silcstruti.[ch].
4404
4405         * Added MIME header parsing in Irssi SILC Client.  It displays
4406           all textual MIME objects, others it ignores.  Affected file
4407           is irssi/src/silc/core/clien_ops.c.
4408
4409 Wed Apr 17 22:07:59 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4410
4411         * Fixed a bug in the pid writing function, which couldn't be
4412           written in a root-owned directory.
4413
4414 Tue Apr 16 09:34:40 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4415
4416         * Defined that channel message to unknown Channel ID must
4417           cause SILC_NOTIFY_TYPE_ERROR notify message to the sender.
4418           Updated the protocol specs and the code in server.  The
4419           affected file is silcd/packet_receive.c.
4420
4421 Mon Apr 15 19:57:57 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4422
4423         * Added new notify type SILC_NOTIFY_TYPE_ERROR and specified
4424           that it is used to send error notifys if error occurs during
4425           some SILC packet processing, except commands.  The error
4426           types are same as for command reply types.  Defined that
4427           if private message is sent to unknown Client ID the error
4428           is sent in SILC_NOTIFY_TYPE_ERROR instead of command reply.
4429           Updated the protocol specs and code.  Affected files are
4430           lib/silccore/silcnotify.h, added lib/silccore/silcstatus.h,
4431           lib/silcclient/client_notify.c, silcd/packet_receive.c,
4432           and irssi/src/silc/core/client_ops.c.  Renamed the
4433           SilcCommandStatus to SilcStatus.
4434
4435         * Defined the use of extra WHOIS attributes in WHOIS command.
4436           The <Requested Attributes> (defined in a separate document)
4437           can be used to request additional information about user
4438           not returned by standard WHOIS command.  Defined that server
4439           can send WHOIS command directly to client.  Client provides
4440           the requested attributes to the server.  Updated the protocol
4441           specs.  Protocol TODO #4.  Implementation is not done yet
4442           (Protocol TODO #24).
4443
4444         * Renamed function silc_client_command_status_message to
4445           silc_client_status_message.  Affected files are
4446           lib/silcclient/command_reply.[ch].
4447
4448 Sun Apr 14 21:13:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4449
4450         * Changed the WHOIS, IDENTIFY and WHOWAS count arguments to
4451           32 bit integers.  Updated the protcol specs and the code.
4452           Affected files are silcd/command.c and
4453           lib/silcclient/command.c.
4454
4455 Sun Apr 14 19:49:02 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4456
4457         * Fixed a bug in library where sending a bogus authentication
4458           payload would lead to a crash.  Affected file is
4459           lib/silccore/silcauth.c.
4460
4461 Sat Apr 13 13:09:24 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4462
4463         * Added detach_disabled and detach_timeout server config
4464           options to the server.  Affected files silcd/serverconfig.[ch],
4465           silcd/command.c and silcd/packet_receive.c.
4466
4467 Fri Apr 12 20:09:08 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4468
4469         * Added resolve_cmd_ident field to the SilcClientEntry structure
4470           too so that if the entry is for example being resolved so
4471           another command may attach to the same pending command reply
4472           without requiring to resolve the same entry again.  Added
4473           support for adding multiple pending commands for one
4474           command idenfier.  Affected files lib/silcclient/command.[ch],
4475           lib/silcclient/command_reply.[ch], lib/silcclient/idlist.h.
4476
4477 Fri Apr 12 10:17:51 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4478
4479         * Defined that server receives WHOIS command reply for private
4480           and secret channels too.  Updated protocol specs and the
4481           code in server.  Affected file silcd/command.c.
4482
4483         * Defined <channel user mode list> argument to WHOIS command
4484           reply for returning user modes on the channels.  The
4485           channel list now doesn't include the user mode anymore but the
4486           actual channel mode.  Updated protocol specs and the code in
4487           client and server.  Affected files are silcd/command_reply.c,
4488           silcd/command.c, silcd/server.c, irssi/src/silc/core/client_ops.c,
4489           and lib/silcclient/command_reply.c.
4490
4491         * Save the channels list in WHOIS command reply in normal server
4492           so that WHOIS always shows joined channels also in normal
4493           server and not just on router.  Affected file is
4494           silcd/command_reply.c.
4495
4496 Thu Apr 11 22:29:33 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4497
4498         * Defined that server receives USERS command reply for private
4499           and secret channels too.  Updated protocol specs and the
4500           code in server.  Affected file silcd/command.c.
4501
4502 Thu Apr 11 16:32:08 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4503
4504         * Changed the UMODE's mode mask argument to be optional.  If
4505           not provided then the command merely returns the current mode
4506           mask to the client.  Updated protocol specs and the server.
4507           Affected file is silcd/command.c.
4508
4509         * Added SILC session detachment/resuming support.  It is possible
4510           to detach by closing the network connection and then re-connect
4511           and resume to the old client session.  Added DETACHED user
4512           mode that server will set for detached client.  Added new
4513           packet RESUME_CLIENT which is used to perform the resuming
4514           process.  Added DETACH command.  Updated the protocol specs,
4515           core library, client and server.  Protocol TODO #22.  Very
4516           many affected files around the tree.
4517
4518 Wed Apr 10 16:32:01 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4519
4520         * Changed the CMODE's mode mask argument to be optional.  If
4521           not provided then the command merely returns the current mode
4522           mask to the client.  Updated protocol specs and the server.
4523           Affected file is silcd/command.c.
4524
4525         * Changed the Killer's Client ID in KILLED notify to be just
4526           any ID payload since router server is allowed to kill as well.
4527           Updated protocol specs, client libary and server.  Affected
4528           files are lib/silcclient/client_notify.c, silcd/packet_receive.c,
4529           and irssi/src/silc/core/client_ops.c.
4530
4531 Tue Apr  9 17:15:42 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4532
4533         * Added new user modes ANONYMOUS for special anonymous servers
4534           that may set the mode for client, and BLOCK_PRIVMSG which
4535           client may set to block incoming private messages unless the
4536           Private Message Key flag is set (using private keys to protect
4537           private messages).  Updated protocol specs and code in client
4538           and server and core library.  Protocol TODO #23.  Affected
4539           files are lib/silccore/silcmode.h, silcd/server.[ch],
4540           irssi/src/silc/core/client_ops.c, silcd/packet_receive.c,
4541           irssi/docs/help/in/umode.in, lib/silcclient/command.c.
4542
4543         * Added new channel user mode BLOCK_MESSAGES which the client
4544           may set to itself to tell server not send channel messages.
4545           Other packets such as channel key packets are still sent.
4546           Protocol TODO #23.  Updated the protocol specs, client and
4547           server.  Affected files are lib/silccore/silcmode.h,
4548           irssi/docs/help/in/cumode.in, lib/silcclient/command.c,
4549           lib/silcutil/silcutil.c, silcd/command.c, and
4550           silcd/packet_send.c.
4551
4552 Mon Apr  8 23:57:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4553
4554         * Redefined the Status Payload to include now two 8 bit fields,
4555           instead of one 16 bit field.  This now makes it possible to
4556           send list of errors.  Updated the protocol specs and the code
4557           in core library, client library and server.  Protocol TODO #1.
4558           Affected files are lib/silccore/silccommand.[ch],
4559           lib/silcclient/command_reply.[ch], silcd/command.c,
4560           silcd/command_reply.c and silcd/packet_receive.[ch].
4561
4562 Mon Apr  8 19:57:40 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4563
4564         * Added config parse status SILC_CONFIG_EPRINTLINE, this status
4565           must be handled by the application and should tell the application
4566           that an error message was already printed, and it should print the
4567           config coords (line, filename, ...).  Affected files are
4568           silcd/serverconfig.c, lib/silcutil/silcconfig.[ch].
4569
4570         * Added local macro SILC_SERVER_CONFIG_ALLOCTMP to make the
4571           server config parsing code more readable.
4572
4573           Fixed a bug in the fetch_logging() config callback.
4574
4575           Affected files is silcd/serverconfig.c.
4576
4577         * Drop root privileges when started in foreground.  Don't drop them
4578           if debugging also.  Affected file is silcd/silcd.c.
4579
4580 Mon Apr  8 17:00:41 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4581
4582         * Added more IM-like features by introducing new user modes
4583           for setting various presence information.  Added new modes:
4584           INDISPOSED, BUSY, PAGE, HYPER and ROBOT.  Updated protocol
4585           specs and code.  Protocol TODO #19. Affected files are
4586           lib/silccore/silcmode.h, irssi/src/silc/core/client_ops.c,
4587           irssi/docs/help/in/umode.in and lib/silcclient/command.c.
4588
4589 Sun Apr  7 17:07:59 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4590
4591         * Added STATS command to the protocol after all, to return
4592           various statistical information about the network.  It can
4593           be used by clients to retrieve statistical information, and
4594           servers may use it to to fetch cell and network wide
4595           statistics from router.  Updated the protocol specs and
4596           implemented it to the server.  Protocol TODO #16.
4597           Affected files are lib/silccore/silccommand, silcd/command.[ch],
4598           silcd/command_reply.[ch].
4599
4600 Sat Apr  6 17:08:58 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4601
4602         * The LIST command reply in client libary now adds new channel
4603           entry if the returned channel doesn't exist yet in cache,
4604           and returns the channel entry to the application in the
4605           command_reply client operation.  Affected file is
4606           lib/silcclient/command_reply.c.
4607
4608         * Changed the channel message payload's MAC generation to
4609           include the IV in the MAC as well.  This way all relevant
4610           parts of the channel message payload are authenticated also
4611           with the channel message MAC (and not only by packet MAC).
4612           Causes incompatibility with 1.0 protocol.  Protocol TODO #7.
4613           Affected file is lib/silccore/silcchannel.c.
4614
4615         * Fixed the SKE to save the remote version, since the
4616           silc_ske_parse_version mistakenly checked wrong version,
4617           after it replaced the start payload.  Affected files are
4618           lib/silcske/silcske.[ch].
4619
4620 Fri Apr  5 16:03:03 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4621
4622         * Splitted lib/silcutil/silcutil.h into silcstrutil.h for
4623           string utility functions.  Added there also new functions
4624           silc_utf8_[encode/decode/valid] for UTF-8 string encoding.
4625           Affected files lib/silcutil/silcstrutil.[ch].
4626
4627         * Renamed silc_*_pem functions to silc_pem_* functions.  Affected
4628           files are lib/silcutil/silcstrutil.[ch].
4629
4630         * Defined that the security property fields in SKE SHOULD be
4631           UTF-8 encoded, defined that version string MUST be US-ASCII
4632           encoded, defined that passphrases sent in connection
4633           authentication protocol MUST be UTF-8 encoded.  Implemented
4634           these to the client and server.  Defined also that other
4635           passphrases sent in the protocol MUST be UTF-8 encoded.
4636           Affected files are lib/silcske/silcske.c,
4637           lib/silcclient/protocol.c, silcd/protocol.c,
4638           silcd/serverconfig.c, and lib/silccore/silcauth.c.
4639
4640         * Changed the silc_client_close_connection interface to not
4641           need the SilcSocketConnection which should not be visible
4642           to application.  Affected files are lib/silcclient/client.c
4643           and lib/silcclient/silcclient.h.
4644
4645         * Rewrote the text for Private Message Key Payload in the
4646           protocol specification.  Protocol TODO #11.
4647
4648 Wed Apr  3 16:24:51 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
4649
4650         * Upgraded the protocol version to 1.1, updated protocol specs
4651           and software.
4652
4653         * Added the nickname as new argument to NICK_CHANGE notify and
4654           added it to protocol specs and implemented it to client and
4655           server.  Protocol TODO #3.  Affected files are silcd/idlist.[ch],
4656           silcd/command.c, silcd/packet_receive.c, packet_send.[ch], and
4657           lib/silcclient/client_notify.c.
4658
4659         * Added the killer's client ID to the KILLED notify and added
4660           it to protocol specs and implemented it to client and server.
4661           Protocol TODO #13.  Affected files are silcd/command.c,
4662           silcd/packet_receive.c, packet_send.[ch],
4663           lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4664           The killer's client entry is now returned to application in
4665           the `notify' client operation.
4666
4667         * Fixed the Max Argument fields that had too large value set
4668           in the protocol specs.  Protocol TODO #14.
4669
4670         * Added the LEAVE command reply to return the ID of parted
4671           channel.  Updated protocol specs and implemented it to the
4672           client and server.  Protocol TODO #15.  Affected files are
4673           silcd/command.c, lib/silcclient/command_reply.c.  The channel
4674           entry is now returned to application in the `command_reply'
4675           client operation.
4676
4677         * Rewrote the version SKE version checking in client libary
4678           and in server to use the silc_parse_version_string.  Affected
4679           files are lib/silcclient/protocol.c, silcd/protocol.c.
4680
4681         * Added SILC_STATUS_ERR_NO_CHANNEL_FOPRIV error status to few
4682           commands that was missing it, and updated protocol specs and
4683           the server implementation.  Protocol TODO #10.  The affected
4684           file is silcd/command.c.
4685
4686         * Defined new message flags SILC_MESSAGE_FLAG_REPLY to be
4687           generic reply to a generic request (REQUEST flag), and
4688           SILC_MESSAGE_FLAG_DATA to send any kind of data in a generic
4689           way.  A draft-riikonen-silc-flags-payloads-00.txt is written
4690           to define the payload for DATA flag.  Added the flags to
4691           the implementation.  Protocol TODO #9.  Affected file is
4692           lib/silccore/silcchannel.h.
4693
4694           Changed the client library to return the message length
4695           to application as well in the channel_message and private_message
4696           client operations.  Affected files are
4697           lib/silcclient/client_prvmsg, lib/silcclient/client_channel.c,
4698           lib/silcclient/silcclient.h, irssi/src/silc/core/client_ops.c,
4699           and lib/silcclient/client_ops_example.c.
4700
4701         * Added two new channel modes: SILC_CMODE_SILENCE_USERS
4702           and SILC_CMODE_SILENCE_OPERS which can be used to moderate
4703           the channel.  Updated protocol specs and impelemented this
4704           to client and server.  Protocol TODO #6.  Affected files are
4705           silcd/packet_receive.c, server_util.c, lib/silcclient/command.c,
4706           lib/silcclient/client_channel.c, lib/silccore/silcmode.h.
4707
4708           Added new options m and M to CMODE command in Irssi SILC
4709           client to set these modes.
4710
4711         * Deprecated all administrative commands from SILC protocol
4712           since they are highly implementation specific commands.
4713           Updated protocol specs.  Moved the old commands in
4714           implementations to private range of command types.  Affected
4715           files are silcd/command.c, lib/silcclient/command.c and
4716           lib/silcclient/command_reply.c.  Protocol TODO #8.
4717
4718         * Fixed a bug in server where sending unknown command crashes
4719           the server.  Affected file silcd/command.c.
4720
4721 Wed Apr  3 09:57:47 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4722
4723         * Added SILC_PROTOCOLVERSION macro to check protocol version
4724           of a socket connection.  The affected file is
4725           lib/silcutil/silcsockconn.h.
4726
4727         * Added better error logging in rekey protocol.  Affected file
4728           silcd/protocol.c.
4729
4730         * Do not check public key types in SKE during rekey.  Affected
4731           file lib/silcske/payload.c.
4732
4733         * Fixed the rekey protocol with PFS, which was totally broken.
4734           Affected file silcd/protocol.c.
4735
4736 Tue Apr  2 14:55:06 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
4737
4738         * Some client implementations quit network by doing first LEAVE
4739           and then immediately SIGNOFF (like Bombyx).  We now do check
4740           after a short time after LEAVE notify and check whether the
4741           client is still valid after LEAVE, and if not we remove it from
4742           cache.  Affected file is lib/silcclient/client_notify.c.
4743
4744 Tue Apr  2 13:39:04 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4745
4746         * Merged version 1.1.4 of zlib. Even if it not currently in use,
4747           it's good not to have security holes here.
4748
4749         * Fixed a negative refcount situtuation for the config context.
4750           Affected file is silcd/serverconfig.c.
4751
4752 Mon Apr  1 20:15:10 CEST 2002  Johnny Mnemonic <johnny@themnemonic.org>
4753
4754         * ROBOdoc documented lib/silcutil/silcutil.h.
4755
4756 Sat Mar 30 21:06:45 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4757
4758         * Optimized even more the SilcPacketContext structure.  Now
4759           totally saved 16 bytes of memory per context after optimization.
4760           Affected files are lib/silccore/silcpacket.[ch].
4761
4762         * Made strict checks for valid SILC IDs.  Affected file is
4763           lib/silccore/silcid.c.
4764
4765 Sat Mar 30 18:15:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4766
4767         * Changed the object argument for silc_cipher_register,
4768           silc_hash_register, silc_hmac_register and silc_pkcs_register
4769           to const.  Affected files are lib/silccrypt/silccipher.[ch],
4770           silchash.[ch], silchmac.[ch] and silcpkcs.[ch].
4771
4772         * Changed the silc_get_username and silc_get_real_name to
4773           never fail.  Affected file lib/silcutil/unix/silcunixutil.c.
4774
4775         * Fixed the Irssi SILC Client to use the silc_get_username and
4776           silc_get_real_name insted of glib routines since the glib
4777           routines only corrupt stack.  Fixes the Irssi SILC to work in
4778           Cygwin.  Affected file irssi/src/silc/core/silc-core.c.
4779
4780         * Fixed the Irssi to not use g_get_home_dir since it crashes
4781           or returns garbage on cygwin and corrupts stack.  Added function
4782           get_home_dir to Irssi routines.  Affected files are
4783           irssi/src/core/misc.[ch] and irssi/src/core/core.c.
4784
4785 Fri Mar 29 21:55:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4786
4787         * Made some structure optimizations.  SFTP memory FS MemFSEntry
4788           entry structure.  Optimized SilcTask structure.  Optimized
4789           SilcPacketContext structure.
4790
4791           Affected files lib/silcsftp/sftp_fs_memory.c,
4792           lib/silcutil/silcschedule.c, lib/silccore/silcpacket.h.
4793
4794 Fri Mar 29 10:41:07 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4795
4796         * And yet again reverted back the config thing since Johnny
4797           screwed it up.  Affected file silcd/serverconfig.[ch], server.c,
4798           and silcd.c.
4799
4800         * Fixed memory leaks from config object.  Affected files are
4801           silcd/serverconfig.[ch].
4802
4803         * Added support for adding new connections to the server in rehash.
4804           After rehash they take effect.
4805
4806           Added support for changing the maximum allowed connections in
4807           rehash.  The number can grow but going smaller is not supported.
4808
4809           Added function silc_server_num_sockets_by_remote to the
4810           silcd/server_util.[ch].
4811
4812           Affected files are silcd/server.c, and silcd/serverconfig.[ch].
4813
4814 Fri Mar 29 03:26:12 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
4815
4816         * Added preliminary checking during config parsing for a valid
4817           public/private key and removed further checks in the code.
4818           Affected files are silcd/serverconfig.[ch], server.c.
4819
4820         * Moved functions silc_server_drop() and silc_server_daemonise()
4821           from server.c to silcd.c since they are stricly related to
4822           the application activity.
4823
4824         * Reverted a small part of the automatic ref/unref since
4825           it caused a double unref in some situations.  Affected
4826           files are silcd/silcd.[ch], server.c, serverconfig.c.
4827
4828         * Added some .cvsignore files in the lib directory.
4829
4830 Thu Mar 28 22:51:15 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4831
4832         * Fixed silc_net_gethostbyaddr to correctly resolve by
4833           address.  Affected file lib/silcutil/silcnet.c.
4834
4835         * Fixed the notify relaying to client.  The HMAC to be used
4836           with relayed packets ws wrong and caused decryption failure
4837           at the client end.  Affected file is silcd/packet_receive.c.
4838
4839 Thu Mar 28 19:02:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4840
4841         * Created new branch silc_protocol_1_0_branch.
4842
4843         * Reverted the silc_log_quick change in lib/silcutil/silclog.c.
4844
4845         * Changed the silc_server_config_* routines to be SilcServer
4846           independent.  They are now officially application specific code
4847           and not part of generic server implementation.  Affected files
4848           are silcd/serverconfig.[ch], silcd/silcd.c, silcd/server.c.
4849
4850 Thu Mar 28 17:01:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4851
4852         * Added automatic referencing of config context in the
4853           silc_server_config_alloc, and automatic unreferencing in the
4854           silc_server_config_destroy.  Affected files are
4855           silcd/serverconfig.[ch], silcd/silcd.c.
4856
4857         * Fixed the silc_log_quick handling in the logging routines.
4858           It didn't log quickly when it was TRUE.  Affected file is
4859           lib/silcutil/silclog.c.  Also the flush delay was set even
4860           if it was 0 in config file.  Affected file is
4861           silcd/serverconfig.c.
4862
4863         * Added support for changing key pair of the server in rehash.
4864           Affected file silcd/server.c.
4865
4866 Thu Mar 28 12:17:21 CET 2002  Pekka Riikonen <priikone@silcnet.org>
4867
4868         * Fixed the TOPIC_SET notify to not cras.  It changed the topic
4869           too early, before getting the channel entry.  Affected file
4870           is silcd/packet_receive.c.
4871
4872 Thu Mar 28 09:58:16 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
4873
4874         * Added functions silc_server_config_[ref/unref], these are used
4875           to prevent that the config object is destroyed.
4876
4877           No longer directly affect global variables silc_log_quick and
4878           silc_log_delay, they are first cached inside the config object
4879           and then applied with silc_server_config_setlogfiles().
4880
4881           silc_server_config_set_defaults() is now internal to
4882           serverconfig.c, there are no reasons to show this internal stuff
4883           to the server.
4884
4885           Affected files are silcd/serverconfig.[ch].
4886
4887         * Added macro SILC_SERVER_LOG_STDERR(), this should replace most
4888           fprintf's to stderr, since some code may be executed again after
4889           the server went into the background.  Affected files are
4890           silcd/server.[ch].
4891
4892         * Added rehash support. Added function silc_server_rehash() that
4893           will perform all the basic tasks of the rehashing procedure.
4894
4895         * Added command line option `-x, --hexdump'. This will enable the
4896           SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'.
4897           The option `--hexdump' implies `--debug'.
4898
4899         * Fixed a bad bug in the logging APIs (silcutil library) where
4900           the application would crash after calling silc_log_reset_all().
4901
4902 Wed Mar 27 19:43:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4903
4904         * Fixed the KICKED notify handling in client library to
4905           correctly remove the channel and all entries from the
4906           channel when I was kicked.  This bug crashed the client.
4907
4908           Fixed yet another but in KICKED notify handling to remove
4909           the kicked client correctly from the channel.
4910
4911           Affected file is lib/silcclient/client_notify.c.
4912
4913         * Fixed a minor bug in looking up correct client entry
4914           in KICKED notify in server.  Affected file is
4915           silcd/packet_receive.c.
4916
4917         * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP
4918           sources correctly to distribution.  Fixes --with-gmp option.
4919
4920         * Removed the manual rehashing from ID Cache, and changed it
4921           to use the SILC Hash Table's auto rehash feature.  Affected
4922           file is lib/silccore/silcidcache.c.
4923
4924 Wed Mar 27 00:07:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4925
4926         * Fixed a bug in the silc_client_nickname_format function that
4927           handles the multiple same nickname formatting.  Two clients
4928           with same nickname caused problems after the first one left
4929           and rejoined.  It didn't format the nickname correctly.
4930           Affected file is lib/silcclient/idlist.c.
4931
4932 Tue Mar 26 19:33:03 CET 2002  Pekka Riikonen <priikone@silcnet.org>
4933
4934         * Don't change the topic if olod topic is same as new one.
4935           Affected file is silcd/packet_receive.c.
4936
4937 Mon Mar 25 21:11:35 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4938
4939         * Added cross-reference support to the SILC Documentation
4940           generator.  All types across all HTML files are now cross-
4941           referenced.  Affected files util/robodoc/generator.c and
4942           scripts/silcdoc/silcdoc.
4943
4944         * Added file lib/silcutil/silctypes.h to include all the
4945           arithmetic type definitions and some macros.  Removed
4946           includes/bitmove.h and moved macros to silctypes.h.
4947
4948 Mon Mar 25 17:19:46 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4949
4950         * Merged bugfixes for Irssi SILC client from irssi.org CVS.
4951
4952 Sun Mar 24 11:21:04 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4953
4954         * Added `type' argument to silc_id_payload_parse_id function which
4955           now returns the type of the ID to the sent pointer.  Affected
4956           file is lib/silccore/silcid.[ch].
4957
4958         * Added check for CMODE_CHANGE notify type that mode change is
4959           allowed by the sender.  Affected file silcd/packet_receive.c.
4960
4961         * Added check for CUMODE_CHANGE notify type that mode change is
4962           allowed by the sender.  Affected file silcd/packet_receive.c.
4963           Added the ID type as CUMODE_CHANGE notify type as argument
4964           to the `notify' client operation.  Affected files are
4965           lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4966
4967         * Added function silc_client_add_server to the client library.
4968           Added support for resolving also channel and server info when
4969           received unknown entity in notify packet.  Affected files are
4970           lib/silcclient/idlist.[ch], lib/silcclient/client_notify.c.
4971
4972         * Added function silc_command_get_status to return the command
4973           status from the command reply's argument payload.  Affected files
4974           are lib/silccore/silccommand.[ch].
4975
4976         * Added check for KICKED notify type that the kicking is
4977           allowed by the client.  Affected file silcd/packet_receive.c.
4978
4979         * Created function silc_get_input which can be used to get input
4980           (echo on or off) from user on command line.  Affected files are
4981           lib/silcutil/silcutil.[ch].
4982
4983 Sat Mar 23 09:51:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
4984
4985         * Optimized silc_server_packet_relay_to_channel function.
4986           Added new function silc_channel_message_payload_encrypt which
4987           can be called directly if channel message payload needs to
4988           be encrypted and is already encoded (no need to call _encode
4989           function).  Packet relaying is now done by router without any
4990           extra memory allocations.  Affected files are
4991           lib/silccore/silcchanel.[ch], silcd/packet_receive.c and
4992           silcd/packet_send.c.
4993
4994         * Fixed the INVITE notify handling.  It took wrong arguments
4995           as invite list and invite delete.  Affected file is
4996           silcd/packet_receive.c.
4997
4998         * Added check for TOPIC_SET notify type that the topic change is
4999           allowed by the client.  Affected file silcd/packet_receive.c.
5000
5001         * Added check for INVITE notify type that inviting is allowed by
5002           the client.  Affected file silcd/packet_receive.c.
5003
5004         * Changed the silc_server_client_on_channel to return the
5005           SilcChannelClientEntry as well.  Moved the function
5006           silc_server_check_cmode_rights to server_util.[ch].
5007           Affected files are silcd/server_util.[ch], silcd/command.c.
5008
5009         * Added function silc_server_check_umode_rights to check whether
5010           changing client's user mode is allowed.  Added check for
5011           UMODE_CHANGE notify type that the umode change is allowed
5012           by the client.  Affected files are silcd/server_util.[ch],
5013           silcd/packet_receive.c and silcd/command.c.
5014
5015 Fri Mar 22 12:25:58 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5016
5017         * Fixed the SILC_PACKET_MAX_ID_LEN to actually be the max
5018           ID length.  It ignored that ID can be IPv6 based as well.
5019           Affected file lib/silccore/silcpacket.h.
5020
5021         * Fixed the silc_id_id2str and silc_id_str2id to take the
5022           IPv6 address offset's into consideration.  Affecte file is
5023           lib/silccore/silcid.c.
5024
5025 Thu Mar 21 20:44:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5026
5027         * Fixed the internal Unix scheduler functions to check for
5028           NULL context they may receive.  The affected file is
5029           lib/silcutil/unix/silcunixschedule.c.
5030
5031 Thu Mar 21 19:12:22 EET 2002  Timo Sirainen <tss@iki.fi>
5032
5033         * Changed hardcoded ~/.silc paths to use get_irssi_dir() so you
5034           can specify different directory with --home command line
5035           parameter. Affected files irssi/src/silc/core/client_ops.c,
5036           clientutil.c
5037
5038         * SILC-specific commands aren't now executed if the active server
5039           isn't of SILC-type, so there won't be problems with having
5040           IRC and SILC protocol support in same client. Affected files
5041           irssi/src/silc/core/silc-channels.c, silc-servers.c,
5042           silc-commands.h
5043
5044 Wed Mar 20 11:06:57 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5045
5046         * Improved the signal support in SILC Schedule.  Added new
5047           function silc_schedule_signal_call which is used by application
5048           to mark a signal to be called.  It is now safe to perform
5049           any kind of tasks in signal callbacks since it is guaranteed
5050           that the application specified signal callback is called
5051           after the signal is over.  Affected files are
5052           lib/silcutil/silcschedule.[ch], lib/silcutil/*/silc*schedule.c.
5053
5054 Tue Mar 19 20:42:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5055
5056         * Added `name' field to SilcChannelPrivateKey to represent
5057           application given name for the key.  Moved also the context from
5058           lib/silcclient/idlist.h into lib/silcclient/silcclient.h.
5059           Added the `name' argument also to the function
5060           silc_client_add_channel_private_key.
5061
5062           Added function silc_client_current_channel_private_key to set the
5063           current channel private key in use.
5064
5065           Added "change" command to KEY command which can be used to change
5066           the current channel private key.  Bound the command also to
5067           alt+K (Alt+Shift+k).
5068
5069           Also affected files lib/silcclient/client_channel.c,
5070           irssi/src/docs/help/in/key.in, irssi/src/silc/core/silc-channel.c.
5071
5072 Tue Mar 19 16:32:43 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5073
5074         * Added silc_rng_get_byte_fast function in to the
5075           lib/silccrypt/silcrng.[ch].
5076
5077         * Changed the interface of silc_packet_assemble and the
5078           silc_packet_send_prepare.  If silc_packet_assmble is now
5079           called the application does not call silc_packet_send_prepare
5080           because the library will call it automatically.  These
5081           interfaces now also return a reference to the outgoing buffer
5082           which includes the assembled packet, which the application can
5083           use to encrypt the packet.
5084
5085           Affected files are lib/silccore/silcpacket.[ch],
5086           lib/silcclient/client.c, client_channel.c client_prvmsg.c,
5087           silcd/packet_send.c, server_backup.c and packet_receive.c.
5088
5089         * Fixed a packet sending bug on very high load, where outgoing
5090           packet queue wasn't handled correctly and packets got corrupted.
5091           Affected files are lib/silcutil/*/silc*sockconn.c,
5092           lib/silcclient/client.c and silcd/server.c.
5093
5094 Mon Mar 18 21:00:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5095
5096         * Added macro SILC_PACKET_DATALEN which can be used during
5097           packet assembling to check whether the data to be added to
5098           the packet will fit to SILC_PACKET_MAX_LEN.  If not the data
5099           len is truncated until it fits it.
5100
5101           Added checks for maximum length of channel message payload and
5102           private message payload also.
5103
5104           Added checks for maximum packet length in server and in
5105           client library.
5106
5107           Affected files are lib/silccore/silcpacket.h, silcd/packet_send.c,
5108           lib/silcclient/client.c, lib/silccore/silcchannel.c and
5109           lib/silccore/silcprivate.c, lib/silcclient/client_channel.c and
5110           lib/silcclient/client_prvmsg.c.
5111
5112 Mon Mar 18 14:54:42 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5113
5114         * Added silc_server_packet_queue_purge call to the
5115           silc_server_disconnect_remote to assure that all data in the
5116           queue before disconnecting is sent to the network.  Affected
5117           file silcd/server.c.
5118
5119 Sun Mar 17 19:26:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5120
5121         * Added the deleting of server's own ID cache entry to the
5122           silc_server_free function.  Free also everything else that
5123           has been allocated in silc_server_init.  The affected file
5124           is silcd/server.c.
5125
5126 Sun Mar 17 15:44:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5127
5128         * Added functions silc_parse_version_string, silc_version_to_num,
5129           and silc_ske_parse_version to parse SILC protocol style version
5130           strings.  Affected files lib/silcutil/silcutil.[ch] and
5131           lib/silcske/silcske.[ch].
5132
5133         * Added new configuration params: version_protocol, version_software
5134           and version_software_vendor to specify what version the remote
5135           host must at least be to be able to connect to server.  The vendor
5136           string can be regex matched too.  Added new function
5137           silc_server_connection_allowed to check maximum number of allowed
5138           connections, and allowed versions for incoming connections.
5139           Affected files are silcd/server.c, server_util.[ch] and
5140           serverconfig.[ch].
5141
5142 Sun Mar 17 10:24:50 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5143
5144         * Added preliminary support for signals in scheduler.  The
5145           signals we care about are now blocked always when the scheduler
5146           is locked.  This way we can synchronise the use of signal with
5147           scheduler.  It is guaranteed that when signal occurs the scheduler
5148           is not locked, and thus new tasks can be safely added to the
5149           scheduler.
5150
5151           Renamed silc_schedule_wakeup_init and silc_schedule_wakeup_uninit
5152           to silc_schedule_internal_init and silc_schedule_internal_uninit.
5153           Added new platform specific routines
5154           silc_schedule_internal_signals_[un]block and
5155           silc_schedule_internal_signal_[un]register.
5156
5157           Added new functions to SILC Schedule API:
5158           silc_schedule_signal_[un]register.  Each signal that application
5159           is going to use should be registered to the scheduler.
5160
5161           Affected files are lib/silcutil/silcschedule.[ch],
5162           lib/silcutil/*/silc*schedule.c.
5163
5164 Sat Mar 16 22:39:23 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5165
5166         * Check for unauthenticated client and server in the
5167           silc_server_new_client and silc_server_new_server functions.
5168           Affected file silcd/packet_receive.c.
5169
5170         * Added function silc_string_is_ascii to check whether given
5171           string is 7-bit ASCII string.  Affected files are
5172           lib/silcutil/silcutil.[ch].
5173
5174         * Added function silc_id_is_valid_server_id into the
5175           silcd/serverid.c and added checking for valid Server ID's in
5176           silc_server_new_server.  The Server ID must always be based
5177           on the server's public IP address.
5178
5179         * Added logging of DISCONNECT packet message in the server.
5180           Affected file silcd/server.c.
5181
5182 Sat Mar 16 18:04:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5183
5184         * Changed all library interfaces that use Global RNG to also
5185           accept SilcRng as argument.  Affected files are
5186           lib/silcclient/command.c, lib/silccore/silcauth.[ch],
5187           lib/silccore/silcchanel.[ch], lib/silcclient/client_channel.c,
5188           silcd/packet_send.c, lib/silccore/silcprivate.[ch],
5189           lib/silcmath/silcprimegen.c, lib/silcmath/silcmath.h, and
5190           lib/silccrypt/rsa.c.
5191
5192         * Added function silc_pkcs_generate_key to the
5193           lib/silccrypt/silcpkcs.[ch] for applications so that they
5194           don't need to do pkcs->pkcs->init calls anymore.
5195
5196         * Remove SilcSocketConnection from the SFTP API since it really
5197           wasn't needed there.  The application has the information
5198           saved in its contexts anyway and the SFTP layer doesn't need
5199           know about it.  Affected files lib/silcsft/silcsftp.h and
5200           lib/silcsftp/sftp_[server/client].c.
5201
5202         * Rewrote the SILC SIM (modules) interface in lib/silcsim.[ch].
5203           The SilcSimContext is not SilcSim.
5204
5205         * Fixed possible buffer overflows in silc_id_render in the
5206           lib/silcutil/silcutil.c.
5207
5208         * On EPOC the global crypto module lists are not used at all
5209           in the crypto library.  Added support for using the constant
5210           algorithm list on EPOC.  Affected files are
5211           lib/silccrypt/silccipher.c, silchash.c, silchmac.c and
5212           silcpkcs.c.
5213
5214         * Fixed the handling of third parameter of KICKED notify, since
5215           it was mistakenly updated to SILC Protocol 1.0 even though it
5216           is to be included in 1.1.  Since it is not in 1.0 it is not
5217           mandatory, and this fix now handles it only if it is provided,
5218           and it is not error if it is not provided.  Affected file
5219           lib/silcclient/client_notify.c.
5220
5221 Sat Mar 16 09:07:27 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5222
5223         * Handled CHANNEL_CHANGE notify (ignore it) in Irssi SILC
5224           client.  Affected file irssi/src/silc/core/client_ops.c.
5225
5226         * Merged with Irssi 0.8.4 from irssi.org CVS.
5227
5228 Thu Mar 14 12:53:57 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5229
5230         * Check for valid socket connection in client entries before
5231           sending any messages.  Fixes a crash, but doesn't fix some
5232           other underlaying bug that is lurking there.  Affected
5233           file silcd/packet_send.c.
5234
5235 Thu Mar 14 13:38:12 EET 2002  Timo Sirainen <tss@iki.fi>
5236
5237         * $usermode, $cumode and $cumode_space expandos shouldn't do
5238           anything with non-SILC server records. Affected file
5239           irssi/src/silc/core/silc-expandos.c
5240
5241 Wed Mar 13 21:38:26 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5242
5243         * Fixed the silc_net_check_[host/local]_by_sock to support
5244           IPv6 bound sockets as well.  Now they can return IPv6 addresses
5245           as well.  Affected file lib/silcutil/silcnet.c.
5246
5247         * Fixed silc_net_addr2bin to correctly convert IPv6 addresses.
5248           Affected lib/silcutil/unix/silcunixnet.c.
5249
5250         * Fixed ID rendering (at least on some platforms, not NetBSD)
5251           for IPv6 addresses.  Affected file lib/silcutil/silcutil.c.
5252
5253 Tue Mar 12 17:58:59 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5254
5255         * Added silc_hash_public_key and silc_hash_public_key_compare
5256           functions to be used with SilcHashTable.  They can be used to
5257           hash public keys and compare public keys in hash table.  Affected
5258           file lib/silcutil/silcutil.[ch].
5259
5260         * Added support for specifying multiple public keys for Client
5261           connection section in server configuration file.  This makes it
5262           possible to accept multiple public keys from same host, or to
5263           make a section that accepts any incoming host, and have the
5264           accepted public keys listed in the section.
5265
5266           Added functions silc_sever_[find/get]_public_key,  added the
5267           support for this actually to all connection sections but only
5268           the Client section is currently allowed to specify multiple
5269           public keys.
5270
5271           Affected files are silcd/server.c, server_internal.h,
5272           command.c, protocol.c, server_util.[ch], packet_receive.c.
5273
5274 Mon Mar 11 23:37:38 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5275
5276         * Merged Irssi 0.8.2 from irssi.org CVS.
5277
5278 Sun Mar 10 23:34:48 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5279
5280         * If silc_debug is TRUE, also output standard logging messages
5281           to stderr with the debug output.
5282
5283           Made silc_log_reset_all() flushing all channels before returning.
5284           Also fixed some documentation typos.
5285
5286           Affected files are lib/silcutil/silclog.[ch].
5287
5288 Sun Mar 10 20:07:49 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5289
5290         * Fixed the server to check correctly the amount of connections
5291           from single host, by checking also the type of the connection.
5292           Fixed also the comparison of number of connections and number
5293           of allowed connections.  Affected files are silcd/server.c,
5294           server_util.[ch].
5295
5296 Fri Mar  8 17:16:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5297
5298         * Fixed the USERS command reply to save the user's mode on the
5299           channel as well.  Fixed JOIN command reply to check whether a
5300           client is on channel already and not join it twice.  Affected
5301           file lib/silcclient/command_reply.c.
5302
5303         * Added new file silc-expandos.c into irssi/silc/core/ to return
5304           various stuff for various signal for the statusbar etc. updating.
5305           Now Irssi SILC client prints channel user modes etc. on the
5306           statusbar.
5307
5308         * The user mode (like server/router operator changes) is now shown
5309           on the Irssi SILC client's statusbar.  The affected files are
5310           irssi/src/silc/core/client_ops.c, silc-expandos.c.
5311
5312 Thu Mar  7 19:21:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5313
5314         * Changed silc_mutex_[un]lock calls in lib/silcutil/silcschedule.c
5315           to SILC_SCHEDULE_[UN]LOCK macros.
5316
5317         * Added more error printing to logs in server code.  Affected
5318           files silcd/server.c and silcd/protocol.c.
5319
5320         * Fixed -S option parsing in Irssi SILC Client.  Affected file
5321           irssi/src/silc/core/silc-core.c.
5322
5323         * Added silc_buffer_alloc_size function.  Affected file is
5324           lib/silcutil/silcbuffer.h.
5325
5326 Tue Mar  5 14:37:27 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5327
5328         * Changed all silc_[hash|hmac|cipher|pkcs]_default tables to
5329           constants.  Affected files in
5330           lib/silccrypt/silcpkcs.[ch], silchash.[ch], silchmac.[ch] and
5331           silccipher.[ch].
5332
5333         * Changed the internal SFTP Memory FS table to const.  Affected
5334           file lib/silcsftp/sftp_fs_memory.c.
5335
5336 Sun Mar  3 18:37:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5337
5338         * Fixed the buffer formatting and unformatting routines to
5339           check the size of 64 bits types with sizeof().  Affected
5340           file is lib/silcutil/silcbuffmt.c.
5341
5342 Mon Feb 25 17:19:05 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5343
5344         * Removed 0.6.x backwards support.
5345
5346 Sun Feb 24 12:53:25 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5347
5348         * Changed all integer type names:
5349           [u]int[8/16/32/64] -> Silc[UInt/Int][8/16/32/64].  This is
5350           to avoid collisions with other libraries using same type names
5351           as we did.
5352
5353 Sat Feb 23 20:31:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5354
5355         * Added `prefer_ipv6' argument to the functions
5356           silc_net_gethostbyname[_async].  If it is TRUE it will return
5357           IPv6 address over IPv4.  If FALSE IPv4 address is returned
5358           even if IPv6 address was found.  Affected files
5359           lib/silcutil/silcnet.[ch].
5360
5361         * Added support silc_net_create_connection[_async] to fallback
5362           to IPv4 address if IPv6 address could not be used (like if
5363           it doesn't work on a specific system).  Affected file in
5364           lib/silcutil/unix/silcunixnet.c.
5365
5366 Sat Feb 23 15:20:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5367
5368         * Added silc_schedule_reinit function to do the enlarging
5369           of the max tasks handling capabilities of the scheduler.
5370           Affected files lib/silcutil/silcschedule.[ch].
5371
5372 Wed Feb 20 20:41:01 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5373
5374         * Added automatic extern "C" { ... } for C++ compilers so the
5375           application does not need to define them.  Affected file
5376           includes/silcincludes.h.
5377
5378         * Renamed lib/silcclient/silcapi.h to silcclient.h as the
5379           old name went against naming convention.  Applications now
5380           include "silcclient.h" instead of "clientlibincludes.h".
5381           Removed includes/clientlibincludes.h, it is redundant now.
5382
5383         * Renamed includes/version.h to silcversion.h.
5384
5385         * Added really preliminary support for OS/2 into the util
5386           library.  Only thread & mutex API is implemented, others
5387           are still to be implemented.  Created the lib/silcutil/os2/
5388           directory.  Created also file includes/silcos2.h.
5389
5390 Wed Feb 20 18:48:49 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5391
5392         * Added preliminary BeOS support into the util library.
5393           Created lib/silcutil/beos/, and implemented all the needed
5394           functions to support SILC on BeOS.  Created also file
5395           includes/silcbeos.h.
5396
5397 Mon Feb 18 15:49:22 EET 2002  Timo Sirainen <tss@iki.fi>
5398
5399         * Added proper initializations to silc's irssi code, so it's
5400           now possible to load it as module.  Affected files
5401           irssi/src/silc/core/silc-core.c,
5402           fe-common/silc/fe-common-silc-core.[ch] and fe-text/silc.c
5403
5404 Sun Feb 17 19:02:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5405
5406         * Merged latest Irssi (0.8.1) from the irssi.org's CVS into
5407           the SILC tree.
5408
5409         * Fixed the silcdoc document generator to correct generate
5410           docs from all kinds of filenames.  Affected files are
5411           util/robodoc/Source/generator.c, scripts/silcdoc/silcdoc
5412
5413         * ROBOdoc documented lib/silcutil/silcmemory.h.
5414           Added also new function silc_memdup.
5415
5416         * Removed lib/silcutil/silcbufutil.h and moved those routines
5417           to the lib/silcutil/silcbuffer.h.
5418
5419 Sun Feb 17 15:52:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5420
5421         * Added `user_count' to the SilcChannelEntry which now tells the
5422           number of users on the channel.  The user count is now saved
5423           in normal server of global channels as well.  Affected files
5424           silcd/server.c, idlist.h, packet_receive.c and command.c.
5425
5426         * Splitted lib/silcutil/silcutil.[ch] into silcfileutil.[ch] to
5427           include file utility functions.
5428
5429         * Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines
5430           instead of calling directly OS routines.
5431
5432         * Fixed NICK change printing in Irssi SILC Client. Fixed
5433           KICKED notify printing in Irssi SILC Client.  Affected file
5434           irssi/src/silc/core/client_ops.c.
5435
5436         * Fixed a NICK change bug in client library, to not recreate the
5437           client_entry->channels hash table everytime nick is changed.
5438           Affected file lib/silcclient/client.c.
5439
5440 Sun Feb 17 10:10:14 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5441
5442         * ROBOdoc documented the lib/silcske/silcske.h, and improved
5443           the SKE interface a bit.
5444
5445         * Fixed padding problem in PKCS#1. The padding was not actually
5446           random since the random number generator was used incorrectly.
5447           This security bug affects only when encrypting with PKCS#1, and
5448           it is not currently used at all in SILC. SILC only use signing
5449           with PKCS#1. Affected file lib/silccrypt/pkcs1.c.
5450
5451 Sat Feb 16 13:44:24 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5452
5453         * Rewrote the notify handling in Irssi SILC client to not call
5454           the events as signals.  Fixes problems with Perl support.
5455           Affected files irssi/src/silc/core/client_ops.c, silc-channels.c.
5456
5457         * Send the auto-nicking NICK command in client library with
5458           little timeout after connecting.  The affected file is
5459           lib/silcclient/client.c.
5460
5461         * Added following new config file settings:
5462           channel_rekey_secs, key_exchange_rekey, key_exchange_pfs,
5463           key_exchange_timeout, conn_auth_timeout, connections_max,
5464           links_max.
5465
5466           Implemented all the new config settings handling in the server.
5467
5468           Optimized the use of SKE Mutual flag usage.  Use it only
5469           if connection authentication protocol is not based in public
5470           key authentication.
5471
5472           Renamed all SilcServerConfigSection* to SilcServerConfig*
5473           to have a bit shorter names.
5474
5475           Affected files silcd/serverconfig.[ch], server.[ch], and
5476           protocol.[ch].
5477
5478 Sat Feb 16 02:46:43 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5479
5480         * Cleaned up the listening sockets code, preparing for the rehash
5481           support.  Affected file is silcd/server.c.
5482
5483         * Fixed some output messages.  Affected files are silcd/silcd.c,
5484           and silcd/server.c.
5485
5486 Fri Feb 15 19:10:20 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5487
5488         * Create lib/doc/silcrng_intro.html document as introduction
5489           to SILC RNG.  ROBOdoc documented lib/silccrypt/silcrng.h.
5490
5491 Fri Feb 15 13:23:03 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5492
5493         * Fixes to the silcd config template.  Affected file is
5494           doc/example_silcd.conf.in.
5495
5496         * Removed type casts from silc_calloc(), conforming to the
5497           CodingStyle.  Affected file is lib/silcutil/silcconfig.c.
5498
5499         * Removed param_name member from client, server, and router
5500           section structs, now identifying the param directly.
5501
5502           Added CONFIG_FREE_AUTH macro in config file parsing.
5503
5504           Affected files are silcd/serverconfig.[ch].
5505
5506 Fri Feb 15 12:24:08 EET 2002  Timo Sirainen <tss@iki.fi>
5507
5508         * Fixed command line parameter handling. All SILC initialization
5509           is now done in silc_core_init() which also fixes autoconnecting
5510           to servers.
5511
5512           Affected files irssi/src/silc/core/silc-core.c,
5513           irssi/src/fe-text/silc.c.
5514
5515 Thu Feb 14 22:03:58 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5516
5517         * Added new configuration options and blocks:
5518           keepalive_secs, reconnect_count, reconnect_interval,
5519           reconnect_interval_max, reconnect_keep_trying and
5520           require_reverser_lookup.  Added ConnectionParam block, and
5521           implemented the connection parameters when connecting as
5522           initiator and when accepting connections as responder.
5523
5524           Added CONFIG_IS_DOUBLE macro in config file parsing, to check
5525           whether given configuration value has been given already.
5526
5527           Affected files silcd/serverconfig.[c], server.[c].
5528
5529         * Splitted the doc/example_silcd.conf.in.  Separated the crypto
5530           algorithm parts and created new file silcalgs.conf, that
5531           is now included from the example_silcd.conf.in.
5532
5533         * Optimized the silc_server_connect_to_router_second to take
5534           the connection configuration object from the SilcServerConnection
5535           object instead of finding it during the connecting phase.
5536           Added the configuration object to SilcServerConnection struct.
5537           Affected files silcd/server_internal.h, server.c.
5538
5539 Thu Feb 14 16:02:26 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5540
5541         * Add the client on channel after it was resolved at the
5542           channel message receiving, and it was not already on the
5543           channel.  Affected file lib/silcclient/client_channel.c.
5544
5545 Wed Feb 13 23:16:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5546
5547         * Fixed the public key authentication to allocate always the
5548           destination signature buffer instead of using static buffer.
5549           Affected file silcd/protocol.c.
5550
5551 Wed Feb 13 20:51:13 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5552
5553         * Unified the serverconfig.[ch]'s helper function interface.
5554           Affected file silcd/serverconfig.[ch].
5555
5556         * Removed doc/example_silc.conf.in since it is redundant.
5557           The make install will now install irssi/silc.conf file.
5558
5559         * Added new Passphrase and Publickey authentication methods to
5560           config file, allowing both public key and passphrase based
5561           authentication to be set at the same time.
5562
5563           Added `prefer_passphrase_auth' setting in config file which
5564           can be used to set to prefer passwd auth if both passwd and
5565           public key is set.  If not set, public key is preferred.
5566           This has effect only when being initiator (responder will try
5567           both anyway).
5568
5569           Added support for authentication with passphrase and public key
5570           at the same time.  The passphrase is tried first always since
5571           it is faster to check.
5572
5573           Affected file silcd/serverconfig.[ch], server.c, protocol.[ch].
5574
5575 Wed Feb 13 12:46:25 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5576
5577         * Merged the new SILC Config library, with the server parsing
5578           support.  Read the header file silcconfig.h or the toolkit
5579           documentation for the news.  Affected files are
5580           doc/example_silcd.conf.in lib/silcutil/silcconfig.[ch]
5581           silcd/command.c silcd/packet_receive.c silcd/packet_send.c
5582           silcd/protocol.c silcd/server.c silcd/server_backup.c
5583           silcd/serverconfig.[ch] silcd/silcd.c.
5584
5585         * Fixed some silclog documentation.  Affected file is
5586           lib/silcutil/silclog.h.
5587
5588 Sun Feb 10 18:11:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5589
5590         * The silc_cipher_register, silc_hash_register and
5591           silc_hmac_register now checks if the object to be registered
5592           is registered already.  Affected files are
5593           lib/silccrypt/silccipher.c, silchash.c and silchmac.c.
5594
5595 Sun Feb 10 15:48:38 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5596
5597         * Merged new irssi from irssi.org's CVS, the version 0.7.99.
5598
5599 Sat Feb  9 14:54:33 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5600
5601         * Allow zero length channel messages inside the Channel Message
5602           Payload.  Affected file lib/silccore/silcchannel.c.
5603
5604         * Fixed scripts/silcdoc/silcdoc to support all kinds of filenames
5605           as header filenames.
5606
5607         * Removed lib/silcclient/README and created HTML file
5608           lib/silcclient/silcclient_using.html, which is now included
5609           as part of Toolkit documentation.
5610
5611 Thu Feb  7 10:12:25 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5612
5613         * Fixed CUMODE_CHANGE notify handling to change the mode of
5614           correct client.  Affected file lib/silcclient/client_notify.c.
5615
5616         * Make silc_rng_alloc fail if it cannot allocate the sha1
5617           hash algorithm.  Affected file lib/silccrypt/silcrng.c.
5618
5619 Sun Feb  3 17:20:52 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5620
5621         * Fixed the file transfer's key agreement payload to include
5622           zero port also if the hostname is NULL because it could not
5623           be bound.
5624
5625           Call file transfer monitor callback now also if error occurs
5626           during key agreement protocol.
5627
5628           Changed the silc_client_file_send interface to return the
5629           SilcClientFileError instead of session id.  The session ID
5630           is returned into pointer provided as argument.
5631
5632           Check that the file exists locally before sending the
5633           file transfer request at all.
5634
5635           Affected file lib/silcclient/client_ftp.c, silcapi.h.
5636
5637         * Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer
5638           error than can occur while key agreement protocol.  Affected
5639           file lib/silcclient/silcapi.h.
5640
5641         * Fixed the event_mode CMODE handler to not crash when mode
5642           is changed and +k mode is set in the channel.  Affected file
5643           irssi/src/silc/core/silc-channels.c.
5644
5645         * Fixed SILC_LOG_ERROR to give out Error and not Warning, and
5646           SILC_LOG_WARNING to give out Warning and not Error.  Affected
5647           file lib/silcutil/silclog.c.
5648
5649         * Fixed the channel message payload decryption in the function
5650           silc_channel_message_payload_decrypt to not modify the original
5651           buffer before it is verified that the message decrypted
5652           correctly.  Otherwise, next time it is called with correct
5653           channel key it won't encrypt since the payload is corrupted.
5654           Affected file lib/silccore/silcchannel.c.
5655
5656 Sun Feb  3 11:46:12 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5657
5658         * Do not constantly resize the window.  A fix patch by cras.
5659           Affected file irssi/src/fe-text/screen.c.
5660
5661 Sat Feb  2 16:54:18 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5662
5663         * Applied IPv6 fix patch from Jun-ichiro itojun Hagino.
5664           Affected file lib/silcutil/silcnet.c.
5665
5666 Fri Feb  1 22:33:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5667
5668         * Fixed a bug in hash table internal routine for traversing
5669           the table with foreach callback.  The current entry may
5670           become invalid in the callback but it was referenced after
5671           the callback returned.
5672
5673           Do not allow auto rehashing of hash table during the
5674           silc_hash_table_foreach operation, for same reasons as it is
5675           not allowed for SilcHashTableList.  Affected files are
5676           lib/silcutil/silchashtable.[ch].
5677
5678 Fri Feb  1 14:55:00 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5679
5680         * Defined DLLAPI into silcincludes.h and silcwin32.h for
5681           Win32 DLL.  extern's in header files are now declared with
5682           DLLAPI.
5683
5684 Thu Jan 31 23:34:33 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5685
5686         * Fixed private message handling.  It used some old code that
5687           caused the client to crash.  Affecte file is
5688           lib/silcclient/client_prvmsg.c.
5689
5690 Thu Jan 31 19:06:22 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5691
5692         * Added function silc_client_add_channel,
5693           silc_client_replace_channel_id, and removed functions
5694           silc_client_new_channel_id and silc_idlist_get_channel_by_id
5695           from client library.
5696
5697         * Added cross reference of the joined channels to the
5698           SilcClientEntry, and changed the SilcChannelEntry's
5699           users list to SilcHashTable.  The affected files are
5700           lib/silcclient/idlist.[ch].
5701
5702         * Fixed a bug in hash table tarversing.  While the hash table
5703           is traversed with SilcHashTableList the table must not be
5704           rehashed.  It is now guaranteed that auto rehashable tables
5705           are not rehashed while tarversing the list.  Also defined that
5706           silc_hash_table_rehash must not be called while tarversing
5707           the table.  Added function silc_hash_table_list_reset that must
5708           be called after the tarversing is over.  The affected files are
5709           lib/silcutil/silchashtable.[ch].
5710
5711         * Changed all hash table traversing to call the new
5712           silc_hash_table_list_reset in server and in client library.
5713
5714         * Added function silc_client_on_channel to return the
5715           SilcChannelUser entry if the specified client entry is joined
5716           on the specified channel.  This is exported to application as
5717           well.  Affected files lib/silcclient/client_channel.c, silcapi.h.
5718
5719 Wed Jan 30 19:14:31 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5720
5721         * Fixed founder regaining problem with JOIN command on normal
5722           server.  The notify for mode change must be sent always and
5723           not only if !cmd->pending.  Affected file silcd/command.c.
5724
5725         * Fixed the WHOWAS command's reply sending to support the
5726           lists correctly.  Affected file silcd/command.c.
5727
5728 Wed Jan 30 11:11:47 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5729
5730         * When sending JOIN command to router for processing the
5731           sender's old command identifier was not saved back to the
5732           sender's command context, fixed now.  The affected file is
5733           silcd/command.c.
5734
5735         * Create the key in JOIN command of the router did not return
5736           the channel key, added check for this.  Affected file is
5737           silcd/command.c.
5738
5739         * Fixed a channel ID update bug in JOIN command reply.  Do
5740           not directly upgrade the ID but call the function
5741           silc_idlist_replace_channel_id if the ID was changed.
5742           Affected file silcd/command_reply.c.
5743
5744         * Fixed memory leaks from command calling if it would fail.
5745           Affected file silcd/command.c.
5746
5747 Tue Jan 29 19:49:31 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5748
5749         * Applied patches from cras:
5750
5751           Memory leak fixes around libaries, irssi window resize fix,
5752           new silclist.h and silcdlist.h, all extern inline changed to
5753           static inline.
5754
5755         * Removed dotconf from lib/dotconf, not needed anymore.
5756
5757         * Removed TRQ from lib/trq, not needed anymore.
5758
5759         * Do more frequent heartbeats (5 minutes instead of 10 minutes)
5760           with server connections.  Later this will be configurable
5761           in config file after new config file is done.  Affected file
5762           silcd/server.c.
5763
5764 Tue Jan 29 10:35:03 CET 2002  Pekka Riikonen <priikone@silcnet.org>
5765
5766         * Fixed a crash in server related to channel announcements.
5767           Affected file silcd/server.c.
5768
5769 Mon Jan 28 17:49:42 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5770
5771         * Fixed memory leaks in silc_server_create_new_channel*
5772           functions.  Affected file silcd/server.c.
5773
5774         * Fixed the CHANNEL_CHANGE notify to re-announce the channel
5775           which ID was changed.  This way the router will send the
5776           user list for the channel again, and server won't be in
5777           desync in some rare circumstances.  Affected file is
5778           silcd/packet_receive.c.
5779
5780 Sun Jan 27 21:04:19 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5781
5782         * Check for NULL socket pointer in the function
5783           silc_server_packet_send_to_channel_real.  Affected file
5784           silcd/packet_send.c.
5785
5786         * Fixed the BAN notify handling to correctly remove ban
5787           list.  Affected file silcd/packet_receive.c.
5788
5789 Sat Jan 26 23:01:03 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5790
5791         * Fixed some header addition to Toolkit distribution in
5792           lib/silcutil/Makefile.am and lib/trq/Makefile.am.
5793
5794         * Added lib/silcclient/client_ops_example.h as an template
5795           file for application programmers to quickly start using
5796           the SilcClientOperation functions in their application.
5797           Updated the lib/silcclient/README as well to tell about this
5798           nice file made available.
5799
5800 Sat Jan 26 10:45:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5801
5802         * Call silc_server_remove_from_channels when removing client
5803           entry when NO_SUCH_CLIENT_ID was received.  Affected file
5804           is silcd/command_reply.c.
5805
5806 Fri Jan 25 19:12:36 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5807
5808         * Added server & router operator statistics updating.  Affected
5809           file silcd/packet_receive.c and silcd/command.c.
5810
5811         * Fixed the SERVER_SIGNOFF notify handling on normal server
5812           not to save the history information for clients.  Same was
5813           fixed earlier in remove_clients_by_server function, but not
5814           here.  Affected file silcd/packet_receive.c.
5815
5816         * Raised the default connection-retry count from 4 to 7 in
5817           server.  Affected file silcd/server.h.
5818
5819         * Cancel any possible reconnect timeouts when we start the
5820           key exchange.  Affected file silcd/server.c.
5821
5822         * Do not reconnect on connection failure when SCONNECT was
5823           given.  Affected files silcd/server.[ch].
5824
5825 Tue Jan 22 18:19:36 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5826
5827         * Removed assert()'s from the lib/silcclient/client_keyagr.c.
5828
5829         * Fixed the NICK command to always give the unformatted
5830           nickname to the one giving the NICK command.  If unformatted
5831           nickname is cached already it will be formatted and the
5832           local entry will always get the unformatted nickname.
5833           Affected file lib/silcclient/idlist.c.
5834
5835         * Fixed some double frees from client library commands.
5836           Affected file is lib/silcclient/command.c.
5837
5838         * Fixed CUMODE command in server to assure that no one can
5839           change founder's mode than the founder itself, there was a
5840           little bug.  Affected file silcd/command.c.
5841
5842 Mon Jan 21 19:07:53 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5843
5844         * Removed the SilcClientCommandDestructor from the client
5845           libary, it is not needed anymore.  Affected files are
5846           lib/silcclient/silcapi.h, command[_reply].[ch],
5847           client_notify, idlist.c.
5848
5849         * Fixed GETKEY command to first resolve client, and then
5850           resolve the server only if the client was not found, instead
5851           of resolving both at the same time.  Affected file is
5852           lib/silcclient/command.c.
5853
5854         * Added silc_client_start_key_exchange_cb and lookup the
5855           remote hostname and IP address before starting the key
5856           exchange with server.  The affected file is
5857           lib/silcclient/client.c.
5858
5859         * The server's public key is now saved using the IP address
5860           of the server and not the servername for the filename.
5861           The hostname public key filename is checked as an fall back
5862           method if the IP address based filename is not found.
5863
5864           Fixed the GETKEY command to save the fetched server key
5865           in correct filename.
5866
5867           Print the remote server's hostname now when new key is
5868           received during connection process.  Affected file is
5869           irssi/src/silc/core/client_ops.c.
5870
5871         * Return always our own public key to the client if it asks
5872           for it with GETKEY command.  Affected file silcd/command.c.
5873
5874         * Removed the use_auto_addr variable from default config
5875           file since it was in wrong section.  Affected file is
5876           irssi/src/config.
5877
5878         * Fixed TOPIC_CHANGE notification to not route it when it
5879           was sent using silc_server_send_notify_to_channel function.
5880           Affected file silcd/command.c.
5881
5882         * Fixed silc_server_send_notify_kicked to send the kicker's
5883           Client ID also, it was missing.  Affected files are
5884           silcd/command.c, silcd/packet_send.[ch].
5885
5886 Thu Jan 17 18:59:11 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5887
5888         * Do not save client history information in SERVER_SIGNOFF.
5889           Fixes the bug in normal server that it does not detect
5890           the client becoming valid after the server becomes back
5891           online.  Affected file silcd/server_util.c.
5892
5893         * Added `sock_error' field  into the SilcSocketConnection
5894           context.  When error occurs during socket operation (read
5895           or write) the error is saved.  Added also new function
5896           silc_socket_get_error to return human readable socket error
5897           message.  Affected files are lib/silcutil/silcsockconn.[ch],
5898           lib/silcutil/unix/silcunixsockconn.c, and
5899           lib/silcutil/win32/silcwin32sockconn.c.
5900
5901         * The server now prints the socket error message in the
5902           signoff for client.  Affected file silcd/server.c.
5903
5904         * Fixed the `created' channel information sending from router
5905           to server in JOIN command.  Checks now whether the channel
5906           really was created or not and set it according that.
5907
5908           Fixed the JOIN command to use the client entry's current
5909           ID during the joining procedure instead of the one it sent
5910           in the command (it is checked though), since it can change
5911           between the packet processing and command processing, and
5912           would just case unnecessary pain in the client end.  Affected
5913           file silcd/command.c.
5914
5915         * Fixed a channel key payload sending to use correct channel
5916           ID when the server was forced to change the channel's ID by
5917           router.  Router sent the key payload with the old Channel ID.
5918           Affected file silcd/packet_receive.c.
5919
5920 Wed Jan 16 22:26:30 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5921
5922         * Call silc_server_save_channel_key only if the key payload
5923           was provided in the JOIN command's command reply.  Affected
5924           file silcd/command_reply.c.
5925
5926 Tue Jan 15 18:49:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5927
5928         * Fixed silc_mp_sizeinbase to return the value correctly with
5929           MPI.  Affected file lib/silcmath/mp_mpi.c.
5930
5931         * Fixed the stop_server signal to correctly stop the scheduler
5932           and gracefully stop the server when SIGTERM or SIGINT signals
5933           are received.  Affected file silcd/silcd.c.
5934
5935 Mon Jan  7 23:38:19 CET 2002  Johnny Mnemonic <johnny@themnemonic.org>
5936
5937         * Simple handling of TERM and HUP signals. Also added some log
5938           flushing call around.  Affected file is
5939           silcd/silcd.c.
5940
5941         * Fixed small bugs in silclog.c. Now buffering output will take
5942           effect after 10 seconds since startup: This will ensure that
5943           no important startup messages are lost. Also output redirection
5944           will preserve original format ([Date] [Type] message).
5945           Affected file is lib/silcutil/silclog.c.
5946
5947         * Added two options to the config file, in the logging section:
5948           quicklogs:<yes/no>: and flushdelay:<seconds>:.  Affected files
5949           lib/silcutil/silclog.[ch], silcd/serverconfig.[ch].
5950
5951 Sun Jan  6 12:49:40 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5952
5953         * Do not print the warning about log files not being initialized
5954           more than once to avoid excess logging.  Affected file is
5955           lib/silcutil/silclog.c.
5956
5957         * Fixed the SIM compilation in lib/silcsim/Makefile.am.  Fixed
5958           the SIM copying in make install in Makefile.am.pre.
5959
5960 Sun Jan  6 01:10:21 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
5961
5962         * Rewritten silclog APIs. Globally interesting changes follows:
5963           silc_log_set_files() changed to silc_log_set_file().
5964           silc_log_set_callbacks() changed to silc_log_set_callback().
5965           ROBOdoc documented silclog header file.
5966           SilcLogCb now returns bool to wether inihibit the default
5967           handler or not (to keep the old behaviour return always TRUE).
5968           The new APIs should also fix the problem of the
5969           silcd_error.log file that was written in the current directory.
5970
5971           New features:
5972           Log files streams will remain opened after silc_log_set_file()
5973           call, means less CPU usage notably on high traffic servers.
5974           File streams are now full buffered, and flushed to the disk
5975           every 5 minutes, lesses HD activity and CPU usage.
5976           Messages can be redirected, allowing admins to configure
5977           one single logfile for all server messages.
5978           the silc_log_quick global variable to activate fast-logging.
5979           Affected files lib/silcutil/silclog.[ch]
5980
5981         * Changed some code to conform new silclog APIs. Affected
5982           files are doc/example_silcd.conf.in, silcd/server.c
5983           irssi/src/silc/core/silc-core.c, silcd/serverconfig.[ch],
5984           silcd/silcd.c.
5985
5986         * Fixed a memory leak that could occur in some situations.
5987           Affected file silcd/serverconfig.c.
5988
5989 Sat Jan  5 13:37:29 EET 2002  Pekka Riikonen <priikone@silcnet.org>
5990
5991         * Added the silc_client_del_client to remove the client from
5992           all channels as well.  Affected file lib/silcclient/idlist.c.
5993
5994         * Fixed the client library to correctly remove the client
5995           from all channels when the client entry is being destroyed.
5996           Affected file lib/silcclient/client_notify.c, command.c.
5997
5998         * Added auto-nicking support to the client library.  If the
5999           applicatio now sets client->nickname it will be sent to the
6000           server after connecting by the library.  This way for example
6001           SILCNICK (or IRCNICK) environment variables will have effect
6002           and always change the nickname automatically to whatever
6003           it is wanted.  Affected file lib/silcclient/client.[ch].
6004
6005         * Renamed silc_server_command_bad_chars to the
6006           silc_server_name_bad_chars and moved it to the
6007           silcd/server_util.[ch].  Added also new function
6008           silc_server_name_modify_bad to return nickname that
6009           includes bad characters as new nickname without those
6010           bad characters.  This check and modify is now used in
6011           silc_server_new_client when the username is initially set
6012           as nickname, so it must be checked to be valid nickname.
6013           Affected file silcd/packet_receive.c.
6014
6015         * The nickname length is now taken from the packet for real
6016           and not trusted to strlen() since it clearly can return
6017           wrong length for nickname including bad characters.  This
6018           also applies to channel names.  Affected file silcd/command.c.
6019
6020         * Removed the lib/silcsilm/modules directory.  Modules are now
6021           compiled into the lib/silcsim.  Fixed the copying of the
6022           modules to follow symbolic links in Makefile.am.pre.
6023
6024 Wed Jan  2 18:56:21 EET 2002  Pekka Riikonen <priikone@silcnet.org>
6025
6026         * Fixed silc_string_regexify list creation.  Fixes bugs with
6027           BAN and INVITE commands in server.  The affected file is
6028           lib/silcutil/unix/silcunixutil.c.
6029
6030 Sun Dec 30 13:41:34 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6031
6032         * Removed the command destructor entirely from the server's
6033           command and command reply routines.  It is not needed, and
6034           its usage was buggy and caused crashes.  Affected files are
6035           silcd/command[_reply].[ch].
6036
6037 Fri Dec 28 12:43:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6038
6039         * Cancel protocol and NULL sock->protocol if timeout
6040           occurred during protocol.  Affected file silcd/server.c.
6041
6042         * Cancel protocol timeouts always before calling the final
6043           callback, to assure that after final callback is called
6044           no other state will be called for the protocol anymore.
6045           Affected file silcd/protocol.c.
6046
6047         * Print error log if incoming connection configuration could
6048           not be found.  Affected file silcd/server.c.
6049
6050         * Fixed JOIN command to correctly save the founder mode
6051           to the client on normal SILC server, when the channel
6052           was created by the router.  Affected file silcd/command.c.
6053
6054         * Fixed LIST command (hopefully) to send correct reply
6055           packets.  Affected file silcd/command.c.
6056
6057 Thu Dec 20 16:14:52 CET 2001  Pekka Riikonen <priikone@silcnet.org>
6058
6059         * The silc_packet_receive_process now returns FALSE if the
6060           read data was invalid packet, and TRUE if it was ok.
6061
6062           The server now checks that if unauthenticated connection
6063           sends data and its processing fails the server will close
6064           the connection since it could be a malicious flooder.
6065
6066           Affected files lib/silccore/silcpacket.[ch], silcd/server.c.
6067
6068 Wed Dec 19 21:31:25 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6069
6070         * Make sure the warning about error opening a log file is
6071           printed only once and not everytime it fails (produces
6072           too much useless log).  Affected file lib/silcutil/silclog.c.
6073
6074 Wed Dec 19 18:21:51 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
6075
6076         * Made the silc_server_daemonise() function more readable.
6077           Affected file silcd/server.c.
6078
6079         * Pid file is now optional, the user may comment it out from
6080           the config file. Removed define SILC_SERVER_PID_FILE, we
6081           don't need a default any longer.  Affected file
6082           configure.in.pre, lib/Makefile.am.pre.
6083
6084         * Make some use of the pid file. The server now dies at startup
6085           if it detects a valid pid file on his path. The server would
6086           die anyway in this circumstance, because of the bind() failure.
6087           Affected file silcd/silcd.c.
6088
6089         * No longer compiling lib/dotconf.
6090
6091 Mon Dec 17 18:24:27 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6092
6093         * Fixed JOIN command parsing not to crash.  Affected file
6094           lib/silcclient/command.c.
6095
6096         * Fied the NICK_CHANGE notify to add the new client entry
6097           even it is resolved.  This removes an <[unknown]> nick
6098           thingy bug in the client.  Affected file is
6099           lib/silcclient/client_notify.c.
6100
6101         * Do not try to allocate 0 bytes (efence does not like it)
6102           in lib/silccore/silccomand.c when encoding payload.
6103
6104         * Do not take IRCNICK as nickname in Irssi SILC client since
6105           it is not possible to set nickname before hand connecting
6106           the server (TODO has an entry about adding auto-nicking
6107           support).
6108
6109         * Changed the silc_server_command_pending to check whether
6110           there already exists an pending entry with the specified
6111           command, command identifier and pending callback.  This is
6112           to fix IDENTIFY and WHOIS related crashes that may register
6113           multiple pending commands with same identifier.  Affected
6114           file silcd/command.c.
6115
6116         * Fixed the server to reconnect to the router even if it
6117           was already reconnecting and EOF was received.  This to
6118           fix a possibility that the server wouldn't ever try to
6119           auto-reconnect to the router.  Affected file silcd/server.c.
6120
6121 Sat Dec 15 20:31:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6122
6123         * Fixed the server's password authentication to use the
6124           length of the locally saved password, and not the one
6125           sent in the packet.  Affected file silcd/protocol.c.
6126
6127         * Fixed same password authentication problem in the
6128           Authentication Payload handling routines in
6129           lib/silccore/silcauth.c.
6130
6131         * Yet another password authentication problem fixed with
6132           channel password handling in silcd/command.c.
6133
6134 Mon Dec 10 19:57:40 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6135
6136         * If first character of string in silc_parse_userfqdn is '@'
6137           then do not parse it.  Affected file is
6138           lib/silcutil/silcutil.c.
6139
6140 Sun Dec  9 22:18:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6141
6142         * Fixed minor bug in IDENTIFY command reply sending, which
6143           caused various weird problems during JOIN when it was
6144           resolving names for users.  Affected file silcd/command.c.
6145
6146 Sun Dec  9 19:18:41 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6147
6148         * Fixed the IDENTIFY command reply sending to chech better valid
6149           clients.  It was possible to send incomplete list of replies.
6150           Affected file silcd/command.c.
6151
6152 Sat Dec  8 15:58:31 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6153
6154         * Added silc_client_command[s]_[un]register functions now to
6155           dynamically register the commands in client library.  Removed
6156           the static table of commands.  This allows the client library
6157           to call commands without causing the application to know about
6158           what commands library has called.
6159
6160           Removed the INFO command reply kludge to detect when the command
6161           was called by library.  Now library use its own command reply
6162           function for INFO command.
6163
6164           Added function silc_client_command_call to call a command.
6165           Application can use it to call command, not access the structure
6166           directly.
6167
6168           Now all commands that are sent by the client library (not
6169           explicitly sent by application) use own command reply functions.
6170
6171           Affected files around lib/silcclient/ and in
6172           irssi/src/silc/core/.
6173
6174         * Fixed the WHOIS command reply sending to chech better valid
6175           clients.  It was possible to send incomplete list of replies.
6176
6177           Fixed the WHOIS and IDENTIFY to send the request to router
6178           if normal server did not do it and did not find any results.
6179
6180           Affected file silcd/command.c.
6181
6182 Thu Dec  6 17:21:06 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6183
6184         * Moved the internal data from SilcClient context into its
6185           own file, not accesible to application.  Affected files
6186           lib/silcclient/client.h and lib/silcclient/client_internal.h,
6187           and other files in client library.
6188
6189 Thu Dec  6 10:37:55 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6190
6191         * Added doc/examples installation target in Makefile.am.pre.
6192           A patch by salo.
6193
6194 Tue Dec  4 17:43:19 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6195
6196         * If NO_SUCH_CLIENT_ID notify is received for WHOIS or IDENTIFY
6197           commands the found client entry will be removed from the
6198           cache, after notifying application about the error.  Affected
6199           file lib/silcclient/command_reply.c.
6200
6201         * Changed the /MSG to check for exact nickname user gave, and
6202           not let `nick' match `nick@host' if it is only one found.  Now,
6203           user must type the exact nickname (like nick@host2) even if
6204           there are no more than one same nicks found.  This is to avoid
6205           a possibility of sending nickname to wrong nickname since
6206           `nick' could match `nick@host'.  Affected file is
6207           irssi/src/core/silc-servers.c.
6208
6209 Mon Dec  3 18:49:45 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6210
6211         * Do not print "you are now server operator" or similar when
6212           giving /away command.  Affected files are
6213           irssi/src/silc/core/client_ops.c, silc-servers.h.
6214
6215         * Made the silc_server_command_pending_error_check to send
6216           the same command reply payload it received back to the
6217           original sender of the command.  This way all arguments
6218           that was received by the server will be received by the
6219           client too.  Affected file silcd/command.c.
6220
6221         * Added the silc_idcache_add to return the created cache entry
6222           to a pointer.  Affected file lib/silccore/silcidcache.[ch].
6223
6224         * Add global clients to expire if they are not on any channel.
6225           This is because normal server will never know if they signoff
6226           if they are not on any channel.  The cache expiry will take
6227           case of these entries.  This is done by normal servers only.
6228           The affected files are silcd/command_reply.c,
6229           silcd/idlist.[ch], silcd/server and silcd/packet_receive.c.
6230
6231         * If server receives invalid ID notification for WHOIS or
6232           IDENTIFY and the ID exists in the lists, it is removed.
6233           Affected file silcd/command_reply.c.
6234
6235         * If NO_SUCH_CLIENT_ID is received for WHOIS or IDENTIFY command
6236           in client then client entry that it matches is searched and
6237           the nickname is printed on the screen for user.  Affected
6238           file irssi/src/silc/core/client_ops.c.
6239
6240 Mon Dec  3 11:56:59 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6241
6242         * Use cache entry expire time in the LIST command reply to
6243           purge old entries from the cache after the LIST command
6244           reply has been received.  This way we don't have non-existent
6245           entries in the cache for too long.  Affected file is
6246           silcd/command_reply.c.
6247
6248 Sun Dec  2 23:29:07 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6249
6250         * If we are normal server, and we've not resolved client info
6251           in WHOIS or IDENTIFY from router, and it is global client,
6252           we'll check whether it is on some channel.  If it is not
6253           then we cannot be sure about its validity and will resolve it
6254           from router.  Fixes a bug in WHOIS and IDENTIFY.  Affected
6255           file silcd/command.c.
6256
6257         * Search channel by name (if possible) rather than by ID
6258           in IDENTIFY command's command reply.  Affected file is
6259           silcd/command_reply.c.
6260
6261 Sun Dec  2 13:48:46 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6262
6263         * Distribute to the channel passphrase in CMODE_CHANGE notify.
6264           Updated specs and implemented it.  Affected file silcd/command.c,
6265           silcd/packet_send.c and silcd/packet_receive.c.
6266
6267         * Implemented the <founder auth> payload handling in the JOIN
6268           command.  If provided all conditions for channel joining
6269           except requirement to provide correct passphrase can be
6270           overrided by the channel founder.  Updated the protocol specs.
6271           Affected file silcd/command.c.
6272
6273           Added support for founder auth in JOIN command in client
6274           library.  Fixed the parsing of the JOIN command now to support
6275           all options as they should be.  The affected file is
6276           lib/silcclient/command.c.
6277
6278         * Optimized the WHOIS and IDENTIFY commands to send the request
6279           to router only if it includes nicknames or other names.  If
6280           they include only IDs then check the local cache first before
6281           routing.  Affected file is silcd/command.c.
6282
6283         * Added channels topic announcements.  Affected file is
6284           silcd/packet_receive.c and silcd/server.c.
6285
6286         * Fixed the silc_server_send_notify_topic_set to really destine
6287           the packet to channel.  Affected file silcd/packet_send.c.
6288
6289         * Fixed a crash in CHANNEL_CHANGE notify handling in the client
6290           library.  Affected file lib/silcclient/client_notify.c.
6291
6292         * Added UMODE announcements.  Affected file silcd/server.c.
6293
6294 Sat Dec  1 12:52:39 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6295
6296         * Memory leak fixes in:
6297
6298           lib/silcutil/silcsockconn.c
6299           lib/silcske/silcske.c
6300           lib/silcske/groups.c
6301           lib/silccrypt/rsa.c
6302           lib/silccrypt/silcpkcs.c
6303           lib/silccore/silccommand.c
6304           lib/silccore/silcidcache.c
6305           silcd/idlist.c
6306           silcd/packet_send.c
6307           silcd/command.c
6308
6309         * ROBOdoc documented the lib/silcske/groups.h file and a
6310           bit changed the interface for better.
6311
6312 Thu Nov 29 22:12:50 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6313
6314         * Update the client entry context in the ID cache after
6315           nick change.  Affected file lib/silcclient/command.c.
6316           Fixes the CUMODE command when regaining founder privileges,
6317           and a little WHOIS problem.
6318
6319         * Fixed silc_net_gethostbyname to correctly call the
6320           inet_ntop.  Affected file lib/silcutil/silcnet.c.
6321
6322 Thu Nov 29 19:31:23 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6323
6324         * Added IPv6 support checking to the configure.in.pre, added
6325           also --enable-ipv6 option to override the check.  Affected
6326           file configure.in.pre.
6327
6328         * The silc_thread_create now calls the start function
6329           directly if threads support is not compiled in.  Removes
6330           ugly #ifdef's from generic code.  Affected files are
6331           lib/silcutil/unix/silcunixthread, win32/silcwin32thread.c.
6332
6333         * Added silc_net_gethostby[name/addr]_async to asynchronously
6334           resolve.  Affected files are lib/silcutil/silcnet.[ch].
6335
6336         * Added support for rendering IPv6 based server, client and
6337           channel IDs.  Affected file lib/silcutil/silcutil.c.
6338
6339         * Added support for creating IPv6 based server IDs.  Affected
6340           file is silcd/serverid.c.
6341
6342 Wed Nov 28 23:46:09 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6343
6344         * Added silc_net_gethostby[addr/name] into the
6345           lib/silcutil/silcnet.[ch].  Added IPv6 support to Unix network
6346           routines.  Added silc_net_is_ip[4/6].  Affected file is
6347           lib/silcutil/unix/silcunixnet.c.  All routines that take
6348           address as argument now supports both IPv4 and IPv6 addresses.
6349
6350 Mon Nov 26 18:09:48 EET 2001  Pekka Riikonen <priikone@silcnet.org>'
6351
6352         * Fixed LIST command reply sending in server.  Affected file
6353           silcd/command.c.
6354
6355         * Server now sends the kicker's client ID in the KICK notify
6356           to the kicked client.  Affected file silcd/command.c.
6357
6358         * The client library now parses the kickers client ID and
6359           UI displays it.  Affected files lib/silcclient/client_notify.c
6360           and irssi/src/silc/core/silc-channels.c, module-formats.c.
6361
6362         * Made all payload parsing function prototypes consistent.
6363           They all take now const unsigned char * and uint32 pair as
6364           the payload data instead of SilcBuffer.  Changes all around
6365           the source tree.  Other unsigned char* -> const unsigned char*
6366           changes around the tree as well.
6367
6368         * Optimized SFTP client and server packet sending not to
6369           allocate new buffer for each packet but to recycle the
6370           first allocated buffer.  Affected files are
6371           lib/silcsftp/sftp_client.c, sftp_server.c, sftp_util.[ch].
6372
6373         * Optimized the SFTP client to use SilcList instead of
6374           SilcDList for requests, because it is faster.  Affected file
6375           is lib/silcsftp/sftp_client.c.
6376
6377         * Moved the ID Payload routines from lib/silccore/silcpayload.[ch]
6378           into lib/silccore/silcid.[ch].
6379
6380           Renamed silcpayload.[ch] into silcargument.[ch].
6381
6382 Mon Nov 26 15:01:53 CET 2001  Pekka Riikonen <priikone@silcnet.org>
6383
6384         * If client entry is deleted with active key agreement
6385           session, abort the session.
6386
6387           The silc_client_abort_key_agreement now calls the completion
6388           callback with new SILC_KEY_AGREEMENT_ABORTED status.
6389
6390           Affected file lib/silcclient/silcapi.h, client_keyagr.c and
6391           idlist.c.
6392
6393 Sun Nov 25 18:01:45 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6394
6395         * Don't use __restrict in older GCC's.  Affected file is
6396           lib/silcmath/mpi/mpi-priv.h.  A patch by salo.
6397
6398         * silc_net_localhost now attempts to reverse lookup the
6399           IP/hostname.  Affected file lib/silcutil/silcnet.c.
6400
6401         * Defined <founder auth> argument to the SILC_COMMAND_JOIN
6402           command.  It can be used to gain founder privileges at
6403           the same time when joining the channel.
6404
6405           Defined that the SILC_NOTIFY_TYPE_KICKED send the
6406           kicker's client ID as well.  Updated protocol specs.
6407
6408           Defined that the server must send SILC_COMMAND_IDENTIFY
6409           command reply with error status to client who sent
6410           private message with invalid client ID.
6411
6412           Updated the protocol specification.
6413
6414         * Added silc_server_send_command_reply to send any
6415           command reply.  Affected file silcd/packet_send.[ch].
6416
6417         * Added silc_id_payload_encode_data to encode ID payload
6418           from raw ID data.  Affected file lib/silccore/silcpayload.[ch].
6419
6420         * The server now send IDENTIFY command reply with error
6421           status if client ID in private message is invalid.  Affected
6422           file silcd/packet_receive.c.
6423
6424         * Save the server key file with server's IP address in
6425           the filename instead of hostname.  The affected file is
6426           irssi/src/silc/core/client_ops.c.
6427
6428 Sat Nov 24 20:08:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6429
6430         * Typo fixes in irssi/src/fe-common/silc/module-formats.c.
6431           A patch by Sunfall.
6432
6433         * Added libtool support for compiling shared objects in
6434           lib/silcsim.  Affected file configure.in.pre and
6435           lib/silcsim/Makefile.am.  Original patch by cras.
6436
6437 Fri Nov 23 23:30:59 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6438
6439         * Pid file configuration, and server's config file fixes
6440           patch by toma.  Updated CREDITS file.
6441
6442 Sun Nov 18 01:34:41 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6443
6444         * Fixed silc_client_channel_message to not try to decrypt
6445           the message twice if it resolved the destination client
6446           information.  This could cause of dropping one channel
6447           message.  Affected file lib/silcclient/client_channel.c.
6448
6449 Wed Nov 14 23:44:56 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6450
6451         * Added silc_client_run_one into lib/silcclient/silcapi.h and
6452           lib/silcclient/client.c. This function is used when the SILC
6453           Client is run under some other scheduler, or event loop or
6454           main loop.  On GUI applications, for example this may be
6455           desired to used to run the client under the GUI application's
6456           main loop.  Typically the GUI application would register an
6457           idle task that calls this function multiple times in a second
6458           to quickly process the SILC specific data.
6459
6460 Wed Nov 14 19:16:52 CET 2001  Johnny Mnemonic <johnny@themnemonic.org>
6461
6462         * Fixed silc_server_drop() for dropping the supplementary
6463           groups as well, this could cause a security hole on some
6464           systems.
6465
6466 Wed Nov 14 16:22:25 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6467
6468         * __pid_t -> pid_t in lib/silccrypt/silcrng.c.  A patch by
6469           johnny.
6470
6471         * Write PID file after dropping privileges.  Added -F option
6472           to run server on foreground.  A patch by debolaz.
6473           Affected files silcd/server.c, silcd/silcd.c.
6474
6475         * Fixed MOTD to return the MOTD file server name.  Affected
6476           file silcd/command.c.
6477
6478         * Added INFO command reply handling to the Irssi SILC Client.
6479           Affected file irssi/src/silc/core/client_ops.c.
6480
6481 Wed Nov 14 00:18:08 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6482
6483         * Fixed the silc_idcache_list_* routines to really support
6484           the dynamic list.  Fixes a crash.  Affected file is
6485           lib/silccore/silcidcache.c.
6486
6487         * Fixed the LIST command reply to really call LIST command's
6488           pending callbacks.  Affected file silcd/command_reply.c.
6489
6490 Tue Nov 13 00:49:17 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6491
6492         * Update conn->local_entry->nickname after giving NICK
6493           command.  Affected file lib/silcclient/command.c.
6494
6495 Sun Nov 11 23:43:02 PST 2001  Brian Costello <bc@wpfr.org>
6496
6497         * Added the [pid] option to the silcd configuration file
6498
6499           Affected files: serverconfig.[ch] and silcd.c
6500
6501 Sun Nov 11 23:56:39 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6502
6503         * Save fingerprint in WHOIS command reply in server.
6504           Affected file silcd/command_reply.c.
6505
6506         * Fixed NICK commands pending callback registration.
6507           Affected file lib/silcclient/command.c.
6508
6509 Sun Nov 11 10:49:10 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6510
6511         * Use ++server->cmd_ident when sending commands in server,
6512           instead of random number.  Affected file silcd/command.c.
6513
6514         * Fixed GETKEY command reply to call actually GETKEY pending
6515           command callbacks.  Affected file silcd/command_reply.c.
6516
6517         * A bit stricter check for nicknames.  Check for same nickname
6518           in NICK command also.  Affected file silcd/command.c.
6519
6520         * Do not call INFO command everytime client ID changes, only
6521           during first connecting.  Affected file lib/silcclient/client.c.
6522
6523         * Set the new nickname only after successful command reply for
6524           NICK command is returned by server.  Affected file
6525           lib/silcclient/command.c.
6526
6527         * Remove nicknames from nicklist during server_signoff notify.
6528           Should fix /NAMES bit more.  The affected file is
6529           irssi/src/silc/core/silc-channels.c.
6530
6531         * Added `fingerprint' field to the SilcIDListData in the
6532           silcd/idlist.h to hold the fingerprint of the client's
6533           public key.
6534
6535           Send the fingerprint of the client's public key in WHOIS
6536           command reply.
6537
6538           Affected files silcd/command.c, and silcd/idlist.[ch].
6539
6540         * Added silc_fingerprint into lib/silcutil/silcutil.[ch] to
6541           create fingerprint from given data.
6542
6543         * Show the fingerprint of the client's public key in WHOIS.
6544           Affected files irssi/src/module-formats.[ch] and
6545           irssi/src/silc/core/client_ops.c.
6546
6547         * Format the multiple same nicknames also during JOIN and
6548           NICK_CHANGE notifys.  Affected file is
6549           lib/silcclient/client_notify.c.
6550
6551         * Do not print error on screen for invalid private message
6552           payload since it can come if someone is sending private
6553           messages with wrong key.  Affected file
6554           lib/silccore/silcprivate.c.
6555
6556         * Fixed multiple concurrent /PING crash.  Affected file
6557           lib/silcclient/command.c.
6558
6559         * Changed the wrong ID encoding.  All IP addresses must be
6560           in MSB first order in encoded format.  They were encoded
6561           wrong and was in LSB format.  Affected files are
6562           silcd/serverid.c, lib/silcutil/silcutil.c.
6563
6564         * Remove silc_net_addr2bin_ne from lib/silcutil/silcnet.[ch].
6565
6566         * Call the `connect' client operation through the scheduler
6567           in case of error.  Affected file lib/silcclient/client.c.
6568
6569         * Call the `failure' client operation even if the error
6570           occurred locally during a protocol.  Affected file is
6571           lib/silcclient/protocol.c.
6572
6573         * Added support of sending LIST command to router from normal
6574           server.  This way normal server can get list of all channels
6575           in the network too.  Fixed the channel list sending in the
6576           server too.  Affected files are silcd/command.c, and
6577           silcd/command_reply.[ch].
6578
6579         * Added silc_server_update_channels_by_server and
6580           silc_server_remove_channels_by_server.  They are used during
6581           disconnection of primary router and in backup router protocol.
6582           Affected file silcd/server_util.[ch], silcd/server.c and
6583           silcd/server_backup.c.
6584
6585         * Fixed channel adding to global list in IDENTIFY command
6586           reply in server.  Affected file silcd/command_reply.c.
6587
6588 Sat Nov 10 21:39:22 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6589
6590         * If the incoming packet type is REKEY or REKEY_DONE process
6591           that packet always synchronously.  Fixes yet another MAC
6592           failed error on slow (dialup) connections.  Affected file
6593           lib/silcclient/client.c and silcd/server.c.
6594
6595 Thu Nov  8 22:21:09 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6596
6597         * Call check_version SKE callback for initiator too.  Affected
6598           file lib/silcske/silcske.c.
6599
6600         * Implemented fix for security hole found in the SKE that was
6601           fixed in the specification few days back; the initiator's
6602           public key is now added to the HASH value computation.
6603           Added backwards support for the old way of doing it too, for
6604           old clients and old servers.  Affected file is
6605           lib/silcske/silcske.c.
6606
6607         * Enabled mutual authentication by default in SKE.  If initiator
6608           is not providing mutual authentication the responder will
6609           force it.  This will provide the proof of posession of the
6610           private key for responder.  The affected files are
6611           lib/silcclient/protocol.c and silcd/protocol.c.
6612
6613         * Do not cache anymore the server's public key during SKE.
6614           We do mutual authentication so the proof of posession of
6615           private key is done, and if the server is authenticated in
6616           conn auth protocol with public key we must have the public
6617           key already.  Affected file silcd/protocol.c.
6618
6619         * Added new global debug variable: silc_debug_hexdump.  If
6620           it is set to TRUE SILC_LOG_HEXDUMP will be printed.  Affected
6621           file lib/silcutil/silclog.[ch].
6622
6623         * Fixed compilation warning due to char * -> const char *.
6624           Affected files lib/silcutil/silcnet.h, and
6625           lib/silccore/silcauth.[ch].
6626
6627 Wed Nov  7 20:43:03 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6628
6629         * Fixed CMODE command when new channel key was created.  If
6630           the creation failed the old key was removed.  Next time giving
6631           same command would crash the server since the old key was
6632           freed already.  Affected file silcd/command.c.
6633
6634         * Fixed the silc_server_announce_get_channels to not crash
6635           on reconnect.  Affected file silcd/server.c.
6636
6637 Wed Nov  7 17:15:07 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6638
6639         * Added silc_log_set_debug_string function to set a regex
6640           string to match for debug output.  Only the function names,
6641           or filenames matching the given debug string is actually
6642           printed.  This way it is possible to filter out those debug
6643           strings that user is not interested in.
6644
6645           Fixed a bug in silc_string_regexify.
6646
6647           Affected files lib/silcutil/silclog.[ch], and
6648           lib/silcutil/unix/silcunixutil.c.
6649
6650         * Changed the -d options in both server and Irssi SILC client
6651           to take the debug string as argument.  Affected files
6652           silcd/silcd.c and irssi/src/silc/core/silc-core.c.
6653
6654 Tue Nov  6 21:31:54 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6655
6656         * Added silc_hash_babbleprint to create a Bubble Babble
6657           Encoded fingerprint.  The encoding is developed by Antti
6658           Huima (draft-huima-babble-01.txt), and it creates human
6659           readable strings out of binary data.  Affected file
6660           lib/silccrypt/silchash.[ch].
6661
6662         * Print the babble print now in addition of fingerprint as well
6663           in Irssi SILC client.  Affected files are
6664           irssi/src/fe-common/silc/module-formats.[ch],
6665           irssi/src/fe-common/silc/core/client_ops.c.
6666
6667 Sun Nov  4 23:37:28 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6668
6669         * Fixed a security problem found in SKE.  The initiator's
6670           public key too is now added to the HASH hash value creation
6671           which is signed by the responder to create the SIGN value.
6672           This will prevent anyone in the middle to lie to the responder
6673           about the initiator's public key.  If this is done now, the
6674           man in the middle will get caught.  Updated the protocol
6675           specification.
6676
6677 Sun Nov  4 11:43:53 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6678
6679         * Better installation directory handling.  Configure module
6680           paths and other paths automatically to example_silc* files
6681           in doc/.  A patch by toma.
6682
6683         * Fixed compiler warning from MPI library, and from SILC RNG.
6684           A patch by johnny.
6685
6686         * Added SILC_SERVER_PID_FILE to define the pid file for server.
6687           It can be configured with ./configure.  A patch by toma.
6688
6689 Sat Nov  3 23:48:23 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6690
6691         * Find correct make to use in prepare-clean.  A patch by
6692           toma.  Affected file prepare-clean.
6693
6694 Sat Nov  3 22:04:00 PST 2001  Brian Costello <bc@mksecure.com>
6695
6696         * Added irssi variables use_auto_addr, auto_bind_ip,
6697           auto_bind_port and auto_public_ip.
6698
6699         * Changed the interface for silc_client_send_key_agreement
6700           in lib/silcclient/silcapi.h
6701
6702         Affected files:
6703
6704          irssi/src/silc/core/silc-core.c
6705          irssi/config
6706          lib/silcclient/silcapi.h
6707          irssi/src/silc/core/silc-channels.c
6708          lib/silcclient/client_keyagr.c
6709          irssi/docs/help/key
6710
6711 Sat Nov  3 17:48:55 EET 2001  Pekka Riikonen <priikone@silcnet.org>
6712
6713         * Added silc_pkcs_public_key_compare to compare two
6714           public keys.  Affected file lib/silccrypt/silcpkcs.[ch].
6715
6716         * Check that the client who set the founder mode on the
6717           channel is the same client that is giving the founder
6718           mode to itself.  It is done by comparing the saved public
6719           key (it is saved even in the authentication is passphrase).
6720           Affected file silcd/command.c.
6721
6722 Fri Nov  2 18:52:08 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6723
6724         * Do not process packet for disconnected socket connection.
6725           Affected file lib/silccore/silcpacket.c.
6726
6727         * Process the DISCONNECT packet through scheduler in the
6728           client library.  Affected file lib/silcclient/client.c.
6729
6730         * Fixed the silc_client_packet_parse to not to increase
6731           the packet sequence number if the conn->sock and the
6732           current socket connection is not same.  This can happen
6733           for example during key agreement when the conn includes
6734           multiple socket connections (listeners).  Affected file
6735           lib/silcclient/client.c.
6736
6737         * The sender of the file transfer request now provides also
6738           the pointer (listener) for the key exchange protocol.  If
6739           the listener cannot be created then it sends empty key
6740           agreement and lets the receiver provide the listener.
6741
6742           Added `local_ip' and `local_port' arguments to the
6743           silc_client_file_send.  If they are provided they are used,
6744           if not then it will attempt to find local IP address, if
6745           not found or bind fails then the remote client will provide
6746           the listener.
6747
6748           Affected files are lib/silcclient/client_ftp.c and
6749           lib/silcclient/silcapi.h.
6750
6751         * Extended the FILE SEND command to support defining the
6752           local IP and port for key exchange listener.  They are
6753           optional.  Affected file irssi/src/silc/core/silc-servers.c.
6754
6755 Thu Nov  1 22:10:07 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6756
6757         * Defined to WHOIS command reply the sending of fingerprint
6758           of the client's public key (if the proof of posession of the
6759           corresponding private key is verified by the server).
6760           Updated to the protocol specification.
6761
6762         * Added support of receiving the client's public key's
6763           fingerprint in command reply in client library.  Affected
6764           file is lib/silcclient/command_reply.c, and
6765           lib/silcclient/idlist.[ch].
6766
6767 Thu Nov  1 18:06:12 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6768
6769         * Do not send over 128 chars long nickname to the server
6770           in NICK command.  Affected file lib/silcclient/command.c.
6771
6772         * Do not send over 256 chars long channel names to the server
6773           in JOIN command.  Affected file lib/silcclient/command.c.
6774
6775 Tue Oct 30 22:48:59 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6776
6777         * Assure that silc_server_close_connection cannot be called
6778           twice for same socket context.  Affected file is
6779           silcd/server.c.
6780
6781 Tue Oct 30 16:58:14 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6782
6783         * Send error message to application if opening file for
6784           writing during file transfer fails.  Affected file is
6785           lib/silcclient/client_ftp.c.
6786
6787           Remove all file transfer sessions for a client that we're
6788           removing from ID cache.
6789
6790           Affected file is lib/silcclient/client_ftp.c.
6791
6792         * Fixed silc_net_addr2bin to return correct address.  Affected
6793           file lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
6794
6795         * Fixed file transfer session removing on signoff notify.
6796           Affected file irssi/src/silc/core/silc-servers.c.
6797
6798         * Added the SilcClientFileError to be returned in the monitor
6799           callback.  Added NO_SUCH_FILE and PERMISSION_DENIED errors.
6800           Affected file lib/silcclient/silcapi.h.
6801
6802 Mon Oct 29 17:43:04 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6803
6804         * Fixed a crash in silc_client_ftp_free_sessions and
6805           silc_client_ftp_session_free_client.  Affected file
6806           lib/silcclient/client_ftp.c.
6807
6808         * Added `disabled' field in the SilcChannelEntry in the server
6809           to indicate if the server entry is disabled.  Affected file
6810           silcd/idlist.h, silcd/command[_reply].c.
6811
6812         * SILC server adds now /var/run/silcd.pid everytime it is
6813           started.  Affected file silcd/silcd.c.
6814
6815         * Added silc_server_packet_send_clients to send a packet to
6816           the provided table of client entries.  Affected file
6817           silcd/packet_send.[ch].
6818
6819         * Fixed a crash in client resolving in client_prvmsg.c in
6820           client library.  Affected file lib/silcclient/client_prvmsg.c.
6821
6822         * Do not actually remove the client directly from ID cache
6823           during SERVER_SIGNOFF, but invalidate it.  This way we
6824           preserve the WHOWAS info for the client.  Affected file
6825           silcd/server_util.c.
6826
6827         * Fixed SERVER_SIGNOFF notify handling in the server.  The
6828           server is now able to process incoming SERVER_SIGNOFF notify
6829           for a server that it doesn't even know about.  It will remove
6830           the clients provided in the notify.  Affected file
6831           silcd/packet_receive.c.
6832
6833         * Check for partial packet in data queue after every packet that
6834           was found from the queue.  Return and wait for more data if
6835           there is partial data in queue.  Affected file is
6836           lib/silccore/silcpacket.c.
6837
6838 Sun Oct 28 18:46:27 EST 2001  Pekka Riikonen <priikone@silcnet.org>
6839
6840         * Added SilcClietFileError enum to indicate error in
6841           file transfer.  Added SILC_CLIENT_FILE_MONITOR_KEY_AGREEMENT
6842           and SILC_CLIENT_FILE_MONITOR_ERROR new monitor statuses.
6843           Affected files lib/silcclient/silcapi.h and
6844           lib/silcclient/client_ftp.c.
6845
6846         * Check that newsize in silc_buffer_realloc is larger than
6847           the old buffer's size.  Affected file lib/silcutil/silcbufutil.h.
6848
6849         * Added better monitor of file transfers.  It now monitors
6850           key agreement protocol during the file transfer too.  Added
6851           error reporting too.  Affected files
6852           irssi/src/silc/core/silc-servers.c,
6853           irssi/src/fe-common/silc/module-formats.[ch].
6854
6855         * Wrote a help file for FILE command.
6856
6857         * Added silc_rng_global_get_byte_fast to get not-so-secure
6858           random data as fast as possible.  Random data is read from
6859           /dev/urandom if available and from the SILC RNG if not
6860           available.  It is used in padding generation.  Affected file
6861           lib/silccrypt/silcrng.[ch].
6862
6863         * All packets in client library are now processed synchronously.
6864           Optimized packet processing a lot.  Affected file
6865           lib/silcclient/client.c.
6866
6867         * All server connection packets are processing synchronously
6868           now in server, to optimize packet processing.  Affected file
6869           silcd/server.c.
6870
6871         * Include files are installed now only in Toolkit distribution
6872           if make install is given.  Affected files: all Makefile.am's.
6873
6874 Thu Oct 25 22:44:06 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6875
6876         * Assure that silc_client_notify_by_server_resolve does not
6877           resolve the client information multiple times.  If it cannot
6878           be found by the first it cannot be found at all.  Affected
6879           file lib/silcclient/client_notify.c.
6880
6881         * Fixed WHOWAS command reply calling.  Affected file
6882           lib/silcclient/command_reply.c.
6883
6884         * Removed all references to silc_idlist_get_client from the
6885           Irssi SILC client since that call is internal call used by
6886           the library.  The Irssi SILC client will use now client
6887           retrieval functions found in silcapi.h.
6888
6889         * Fixed a bug in resolving nickname info before sending
6890           private message.  It used freed memory.  Affected file
6891           irssi/src/silc/core/silc-servers.c.
6892
6893 Thu Oct 25 19:04:49 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6894
6895         * Assure my_channels statistics cannot go negative in server.
6896           Affected files silcd/server.c, silcd/server_util.c.
6897
6898 Wed Oct 24 19:53:05 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6899
6900         * Upgraded dotconf 1.0.2 to 1.0.6 in lib/dotconf.
6901
6902 Tue Oct 23 13:51:19 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
6903
6904         * Win32 Toolkit changes.  Affected files
6905           win32/silc.dsw, win32/libsilc/libsilc.def,
6906           win32/libsilcclient/libsilc.def,
6907           lib/silcutil/silcutil.c, and
6908           lib/sftp/sftp_fs_memory.c.
6909
6910 Mon Oct 22 16:35:05 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6911
6912         * Added silc_net_localip to return local host's IP address.
6913           Affected file lib/silcutil/silcnet.[ch].
6914
6915         * If key exchange or rekey protocol is active for a connection
6916           parse all packets syncronously since there might be packets
6917           in packet queue that we are not able to process without first
6918           processing packets before them.  Affected file silcd/server,
6919           lib/silcclient/client.c.
6920
6921         * SilcPacketParserCallback now returns TRUE or FALSE to indicate
6922           whether library should continue processing the packet.
6923           Affected file lib/silccore/silcpacket.h.
6924
6925         * Added SilcSFTPMonitor callback, SilcSFTPMonitors and
6926           SilcSFTPMonitorData to SFTP server to monitor various
6927           SFTP client requests.  Affected file lib/silcsftp/silcsftp.h,
6928           lib/silcsftp/sftp_server.c.
6929
6930         * Added silc_file_size to return file size.  Affected file
6931           lib/silcutil/silcutil.[ch].
6932
6933         * Implemented the file transfer support for the client library.
6934           Added preliminary support for simple client to client one-file
6935           transmission.  Affected file lib/silcclient/client_ftp.c,
6936           lib/silccilent/client.[ch].
6937
6938         * Added new local command FILE to the Irssi SILC Client.
6939           It is used to perform the file transfer.  It has subcommands
6940           SEND, RECEIVE, SHOW and CLOSE.  Affected files
6941           irssi/src/silc/core/client_ops.c,
6942           irssi/src/silc/core/silc-server.[ch].
6943
6944 Mon Oct 22 12:50:08 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6945
6946         * Relay the SILC_PACKET_FTP in the server.  Affected files
6947           silcd/server.c and silcd/packet_receive.c.
6948
6949 Sun Oct 21 20:21:02 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6950
6951         * Renamed silc_file_read and silc_file_write to functions
6952           silc_file_readfile and silc_file_writefile.  Added function
6953           silc_file_open and silc_file_close.  Affected files
6954           lib/silcutil/silcutil.[ch].
6955
6956 Thu Oct 18 20:58:13 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6957
6958         * Resolve the client info when received private message or
6959           channel message for a client which nickname we don't know.
6960           Affected files lib/silcclient/client_prvmsg.c and
6961           lib/silcclient/client_channel.c.
6962
6963         * Do not crash in /KEY if client is not connected.  Affected
6964           file irssi/src/silc/core/silc-channels.c.
6965
6966         * Added SilcClientStatus field to the SilcClientEntry in the
6967           lib/silcclient/idlist.h.
6968
6969           Added SILC_CLIENT_STATUS_RESOLVING to mark that the entry
6970           is incomplete and is being resolved, it won't be resolved
6971           twice.
6972
6973           Make sure also that USERS command reply does not resolve
6974           twice information.  Affected file is
6975           lib/silcclient/command_reply.c.
6976
6977           Make sure that silc_client_get_clients_by_list does not
6978           resolve twice same information.
6979
6980         * Check for valid client->id in the silc_server_free_client_data.
6981           Affected file silcd/server.c.
6982
6983         * Fixed /GETKEY nick@server not to crash if the server entry
6984           is not found.  Affected file lib/silcclient/command.c.
6985
6986         * Fixed the silc_server_check_cmode_rights to check the
6987           requested modes correctly.  Affected file silcd/command.c.
6988
6989 Thu Oct 18 12:10:22 CEST 2001  Pekka Riikonen <priikone@silcnet.org>
6990
6991         * Better checks for non-printable chars in nick added.
6992           Affected file silcd/command.c.
6993
6994 Thu Oct 18 09:18:58 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
6995
6996         * Call the silc_server_udpate_servers_by_server in the
6997           primary router that comes back online in the backup resuming
6998           protocol.  Otherwise it routes packets wrong.  Affected file
6999           silcd/server_util.[ch], silcd/server_backup.c.
7000
7001 Wed Oct 17 16:51:18 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7002
7003         * Added SILC_STR_UI8_[N]STRING[_ALLOC] formats to the
7004           lib/silcutil/silcbuffmt.[ch].
7005
7006         * Redefined the SILC packet header to include the padding
7007           length.  Affected file lib/silccore/silcpacket.[ch].
7008
7009         * Added SILC_PACKET_PADLEN_MAX macro to return the padding
7010           length for maximum padding up to 128 bytes).  Affected
7011           file lib/silccore/silcpacket.h.
7012
7013         * Removed all backwards support for old 0.5.x MAC thingies.
7014           The SILC packet header change makes it impossible to be
7015           backwards compatible.
7016
7017         * Send the ENDING packet with timeout in the backup resuming
7018           protocol.  This is to assure that all routers has connected
7019           to the primary router.  Affected file silcd/server_backup.c.
7020
7021         * Changed the RNG to take the first IV from random data.  It
7022           used to take it from zero actually.  Changed the RNG also
7023           to use /dev/urandom during session.  /dev/random is used
7024           in initialization.  Affected file lib/silccrypt/silcrng.[ch].
7025
7026 Tue Oct 16 20:45:49 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7027
7028         * Changed the SILC packet header to have the first two bytes
7029           (the packet length) encrypted.  Affected files aroung the
7030           code tree, lib/silccore/silcpacket.[ch].  Removed the
7031           SilcPacketCheckDecrypt callback.  It is not needed anymore
7032           since the silc_packet_receive_process will determine now
7033           whether the packet is normal or special.
7034
7035         * Implemented the unidirectional MAC keys.  Affected files
7036           lib/silcske/silcske.c, silcd/protocol.c and
7037           lib/silcclient/protocol.c.
7038
7039         * Implemented the packet sequence number to the MAC computation.
7040           Affected files lib/silccore/silcpacket.c, silcd/protocol.c,
7041           silcd/packet_send.c, silcd/server.c, lib/silcclient/client.c,
7042           lib/silcclient/protocol.c.
7043
7044 Mon Oct 15 17:42:55 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7045
7046         * Allow backup router to announce servers.  All servers
7047           announced by backup router are added to the global list
7048           automatically.  Update hte server's socket to our primary
7049           router also when backup router announces a server.
7050           Affected file silcd/packet_receive.c.
7051
7052         * Do not update the client->router in the function
7053           silc_server_udpate_clients_by_server if the client is on
7054           global list.  We might fail to find any specific server
7055           for locally connected clients and local cell clients.  They
7056           should still use the `from' and not `to' as client->router.
7057           This fixes backup router resuming protocol.  Affected file
7058           silcd/server_util.c.
7059
7060         * Decrease channel statistics count only if the channel
7061           deletion worked.  Affected files are silcd/server.c and
7062           silcd/server_util.c.
7063
7064         * Added silc_server_update_servers_by_server to update origin
7065           of all server entries.  Used during backup router protocol.
7066           Affected files silcd/server_util.[ch], silcd/server.c. and
7067           silcd/backup_router.c.
7068
7069         * ROBODoc documented the lib/silccrypt/silchmac.h.  Added new
7070           function silc_hmac_init, silc_hmac_update, silc_hmac_final,
7071           silc_hmac_get_hash and silc_hmac_get_name.  Affected file
7072           lib/silccrypt/silchmac.c.
7073
7074 Sun Oct 14 18:28:22 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7075
7076         * Assure that router cannot reroute the same channel message
7077           to the sender.  Affected file silcd/packet_receive.c.
7078
7079 Sat Oct 13 12:46:18 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7080
7081         * Made better checks that the channel message is not sent
7082           to the router it came from.  Affected file is
7083           silcd/packet_send.c.  Fixed memory leak too.
7084
7085         * Announce informations for incoming router connection, but
7086           only after checking if it is replaced by backup router.
7087           Affected file silcd/packet_receive.c.
7088
7089 Fri Oct 12 18:37:24 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7090
7091         * Fixed the backup resuming protocol to work in multiple
7092           router environment.  Affected file silcd/server_backup.c.
7093
7094         * Route packet only to one router in the function
7095           silc_server_packet_send_to_channel.  Affected file is
7096           silcd/packet_send.c.
7097
7098         * Fixed silc_server_send_notify_dest to set the broadcast
7099           flag.  Fixed the silc_server_send_notify_topic to actually
7100           send the TOPIC_CHANGE notify and not SERVER_SIGNOFF notify.
7101           Affected file silcd/packet_send.c.
7102
7103         * Changed the SFTP Filesystem interface.  Changed the
7104           SilcSFTPFilesystemStruct to SilcSFTPFilesystemOps to include
7105           the filesystem operation function.  The SilcSFTPFilesystem
7106           is now a context that is allocated by all filesystem allocation
7107           functions and it already includes the operations structure
7108           and filesystem specific context.  It is given as argument
7109           now to the silc_sftp_server_start.  This made the interface
7110           a bit cleaner.  Affected file lib/silcsftp/silcsftp[_fs].h,
7111           lib/silcsftp/sftp_fs_memory.c and sftp_server.c.
7112
7113 Thu Oct 11 22:19:26 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7114
7115         * Changed the backup router adding and getting interfaces
7116           in the server.  The router that will be replaced by the
7117           specified backup router is now sent as argument.  Affected
7118           files silcd/serverconfig.[ch], silcd/backup_router.[ch], and
7119           silcd/server.c.
7120
7121         * Added silc_net_addr2bin_ne to return the binary form of
7122           the IP address in network byte order.  Affected files
7123           lib/silcutil/[unix/win32].silc[unix/win32]net.[ch].
7124
7125 Thu Oct 11 12:14:19 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7126
7127         * Check for existing server ID in silc_server_new_server
7128           and in silc_server_connect_to_router_final and remove the
7129           old entry if it exists.  Affected file silcd/packet_receive.c,
7130           silcd/server.c.
7131
7132         * Send the channel message always to only one router, either
7133           in upstream or downstream.  Affected file is
7134           silcd/packet_send.c.
7135
7136 Tue Oct  9 17:45:43 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7137
7138         * Wrote the definition of the backup resuming protocol to the
7139           protocol specification.
7140
7141         * Removed one redundant channel key generation from normal
7142           server during joining procedure.  Removed one redundant
7143           channel key sending from server to router during joining
7144           procedure.  Affected file silcd/command.c.
7145
7146         * Made minor bugfixes to the backup router resuming protocol.
7147           Affected file silcd/server_backup.c, server.c.
7148
7149 Mon Oct  8 16:47:42 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7150
7151         * Added --disable-asm configuration option.  Affected files
7152           configure.in.pre, lib/silcmath/mpi/configure.in.  A patch
7153           by salo.
7154
7155         * Implemented the backup resuming protocol that is used to
7156           resume the primary router position in the cell after the
7157           primary router comes back online.  Affected files
7158           silcd/server_backup.[ch], silcd/server, silcd/packet_receive.c,
7159           and silcd/server_util.[ch].
7160
7161 Sun Oct  7 12:29:25 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7162
7163         * Sleep two (2) seconds after sending QUIT command to server.
7164           Affected file lib/silcclient/command.c.
7165
7166         * Assure that if outgoing data buffer is pending do not force
7167           send any data.  Affected file silcd/packet_send.c.
7168
7169         * Assure that if outgoing data buffer is pending do not force
7170           send any data.  Affected file lib/silcclient/client.c.
7171
7172         * Implemented the backup router support when the primary router
7173           goes down.  The servers and routers can now use the backup
7174           router as new primary router without loosing connectivity.
7175
7176 Sat Oct  6 21:18:54 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7177
7178         * Added new SILC_IDLIST_STATUS_DISABLED flag for entries
7179           in the server to indicate disabled entry.  All data read
7180           from the connection will be ignored and no data is sent
7181           for entry that is disabled.  Affected files are
7182           silcd/idlist.h, silcd/server.c.
7183
7184 Fri Oct  5 00:03:29 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7185
7186         * Created SFTP client and server test programs in the
7187           lib/silcsftp/tests directory.
7188
7189 Wed Oct  3 23:31:42 EDT 2001  Pekka Riikonen <priikone@silcnet.org>
7190
7191         * Implemented memory filesystem (virtual filesystem) for
7192           SFTP server.  Affected file lib/silcsftp/silcsftp_fs.h,
7193           sftp_fs_memory.c.
7194
7195 Sun Sep 30 22:10:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7196
7197         * Implemented the SFTP (SSH File Transfer Protocol) to the
7198           lib/silcsftp.  It includes SFTP client and SFTP server
7199           implementations.
7200
7201 Sun Sep 30 10:35:44 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7202
7203         * Moved lib/silccore/silcprotocol.[ch] to the
7204           lib/silcutil library.
7205
7206         * Added silc_buffer_format_vp and silc_buffer_unformat_vp to
7207           take variable argument list pointer as argument.  Affected
7208           file lib/silcutil/silcbuffmt.[ch].
7209
7210         * Added silc_buffer_set function that is used to set data
7211           to a SilcBuffer that is not allocated at all (SilcBufferStruct).
7212           Affected file lib/silcutil/silcbuffer.h.
7213
7214         * Changed various routines in the core library to use the new
7215           silc_buffer_set instead of allocating new buffer only for
7216           temporary purposes.
7217
7218         * Added 64-bit value formatting and unformatting support to the
7219           silc_buffer_[un]format routines.  Affected file is
7220           lib/silcutil/silcbuffmt.[ch].
7221
7222           Added also 64-bit macros: SILC_GET64_MSB and SILC_PUT64_MSB,
7223           to includes/bitmove.h.
7224
7225 Fri Sep 28 21:30:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7226
7227         * Fixed channel user mode saving in client library.  Affected
7228           file lib/silcclient/command[_reply].c.
7229
7230 Thu Sep 27 22:52:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7231
7232         * Defined the file transfer to the SILC Protocol.  Added
7233           new packet type SILC_PACKET_FTP and defined File Transfer
7234           Payload.  The mandatory file transfer protocol is SFTP
7235           (SSH File Transfer Protocol).  Affected file in addition
7236           of the internet draft is lib/silccore/silcpacket.h.
7237
7238         * Deprecated the SILC_PACKET_CELL_ROUTERS and defined new
7239           packet SILC_PACKET_RESUME_ROUTER instead.  The new packet
7240           is used as part of backup router protocol when the primary
7241           router of the cell is back online and wishes to resume
7242           the position as primary router.
7243
7244         * Redefined the MAC generation keys in the protocol.  The
7245           same key is not used anymore in both direction.  Both
7246           direction will now use different keys for sending and
7247           receiving.  This fixes a potential security flaw.  This
7248           change causes incompatibilities in the protocol.
7249
7250         * Redefined also the MAC computation from the packet.
7251           An packet sequence number is now added to the MAC
7252           computation.  This prevents possible replay attacks against
7253           the protocol.  This change too causes incompatibilities
7254           in the protocol.
7255
7256           Added `sequence' field to the SilcPacketContext to hold
7257           the current sequence number for the packet.
7258
7259 Wed Sep 26 20:15:22 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7260
7261         * Added `created' field to the SilcIDListData in the file
7262           silcd/idlist.h to indicate the time when the entry was
7263           created.
7264
7265         * Added `created' field to the SilcChannelEntry too.  Affected
7266           file silcd/idlist.h.
7267
7268         * Added `creation_time' aguments to all the announcement functions
7269           in the server.  If it is provided then only the entries that
7270           was created after the provided time frame are actually
7271           announced.  Affected file silcd/server.[ch].
7272
7273         * The protocol says that the Channel ID's IP address must be
7274           based on the router's IP address.  Added check for this in
7275           the silc_server_new_channel when processing incoming New Channel
7276           Payload.  Affected file silcd/packet_receive.c.
7277
7278         * Print out the correct version with --version in SILC client.
7279           Affected file irssi/src/silc/core/silc-core.c.
7280
7281 Mon Sep 24 17:19:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7282
7283         * Fixed WHOWAS command to check for completnes of the client
7284           entry always, not just when the command is coming from client.
7285           Affected file silcd/command.c.
7286
7287         * Added new function silc_server_packet_queue_purge to purge the
7288           outgoing data queue to the network.  After the function returns
7289           it is guaranteed that the outgoing packet queue is empty.
7290           Affected file silcd/packet_send.[ch].
7291
7292         * Purge the outgoing packet queue in the rekey protocol's final
7293           callback to assure that all rekey packets go to the network
7294           before quitting the protocol.  Affected file silcd/server.c.
7295
7296         * Added silc_client_packet_queue_parse as similar function as
7297           in server to the client library.  The affected file is
7298           lib/silcclient/client.c.
7299
7300 Sun Sep 23 15:15:53 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7301
7302         * Splitted silcd/server.c and created silcd/server_util.[ch]
7303           for utility functions.
7304
7305         * Added new socket flag SILC_SF_DISABLED to indicate that the
7306           connection is open but nothing can be sent to or received from
7307           the connection.  Affected file lib/silcutil/silsockconn.[ch].
7308           The checking for disabled socket is checked in the low level
7309           silc_socket_write and silc_socket_read functions.
7310
7311 Thu Sep 20 23:11:28 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7312
7313         * Allow only nicknames and channel names that fits into the
7314           7-bit unsigned char ASCII set.  Affected file silcd/command.c.
7315
7316 Thu Sep 20 18:04:12 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7317
7318         * When processing JOIN command reply in server check that if
7319           the channel exists in our global list we'll move it the local
7320           list.  Affected file silcd/command_reply.c.
7321
7322         * Fixed the check whether client is joined on the channel already
7323           in JOIN command.  Affected file lib/silcclient/command.c.
7324
7325         * Fixed the JOIN command reply to check whether the channel
7326           already exists.  Affected file lib/silcclient/command_reply.c.
7327
7328 Wed Sep 19 22:58:32 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7329
7330         * Added silc_ske_status_string to map the SKE error numbers
7331           to readable strings.  The affected files are
7332           lib/silcske/silcske[_status].[ch].
7333
7334 Tue Sep 18 22:50:41 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7335
7336         * Do not show the private channels on the WHOIS channel list
7337           as it is not allowed by the protocol.  The affected file is
7338           silcd/server.c.
7339
7340 Sun Sep 16 12:32:58 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7341
7342         * Assure that the packet length digged from the actual packet
7343           is something sensible in the silc_packet_decrypt_rest_special
7344           in lib/silccrypt/silcpacket.c.
7345
7346         * Free and NULL the allocated pointer in silc_hmac_alloc if
7347           the HMAC allocation fails.  The affected file is
7348           lib/silccrypt/silchmac.c.
7349
7350         * Print the selected security properties to the log files in
7351           the server.  Affected file silcd/protocol.c.
7352
7353         * Add SKE's reference counter even if calling the completion
7354           callback manually.  Otherwise it goes negative, although it
7355           does not cause any problems.  The affected file is
7356           lib/silcske/silcske.c.
7357
7358         * Remove the client entry with short timeout after giving the
7359           KILL command.  Affected file lib/silcclient/command.c.
7360
7361         * Fixed to send error reply in WHOIS and IDENTIFY commands in
7362           case all found clients are already disconnected (WHOWAS would
7363           found them) in the server.  Affected file silcd/command.c.
7364
7365         * Update the last_receive (time of last data received) to be
7366           updated only when received private or channel message so that
7367           the idle time showed in WHOIS makes more sense.
7368
7369         * Added boolean field `valid' in to the SilcClientEntry in the
7370           client library to indicate whether the entry is valid or not.
7371           This fixes the nickname change bug on channel when changing
7372           the nickname to be same than the old (like nick to Nick) the
7373           nickname formatter doesn't set the new nick anymore to Nick@host.
7374           Affected file lib/silcclient/idlist.[ch].
7375
7376         * Now actually fixed the nickname changing on disconnection.
7377           Added new function silc_change_nick to the Irssi SILC Client.
7378           Affected file irssi/src/silc/core/client_ops.c,
7379           irssi/src/silc/core/silc-nicklist.[ch].
7380
7381 Sat Sep 15 13:29:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7382
7383         * Check that the public key exists in the GETKEY command before
7384           trying to encode it.  Affected file silcd/command.c.
7385
7386         * Print some notifications on received public keys with GETKEY
7387           command in the Irssi SILC Client.  Affected files are
7388           irssi/src/fe-common/silc/module-formats.[ch],
7389           irssi/src/silc/core/client_ops.c.
7390
7391         * Use IDENTIFY command to resolve the server information in the
7392           GETKEY command instead of INFO command.  Affected file
7393           lib/silcclient/command.c.
7394
7395         * All command reply functions in the client library now calls
7396           the pending command reply callbacks even if an error has
7397           occurred.  The server has done this a long time and now it was
7398           time to move the client library to this as well.  Now all
7399           errors can be delivered back to the pending command reply
7400           callbacks if necessary.  Affected files are
7401           lib/silcclient/command[_reply].[ch].
7402
7403         * Change the nickname on disconnection back to the username
7404           because in reconnect the server will enforce it to it anyway.
7405           Affected file irssi/src/silc/core/silc-servers.c.
7406
7407         * Fixed a config file parsing bug in the Irssi SILC client.
7408           Affected file irssi/src/silc/core/clientconfig.c.
7409
7410 Thu Sep 13 23:11:18 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7411
7412         * When printing the channel mode on JOIN, verify that the
7413           channel key and channel's HMAC are valid.  Affected file
7414           irssi/src/silc/core/client_ops.c.
7415
7416 Thu Sep 13 20:24:52 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7417
7418         * Added defines SILC_DEFAULT_CIPHER, SILC_DEFAULT_HMAC,
7419           SILC_DEFAULT_HASH and SILC_DEFAULT_PKCS in the file
7420           lib/silccrypt/[silccipher.h|silchmac.h|silchash.h|silcpkcs.h].
7421
7422         * Removed channel key rekey task deleting from the function
7423           silc_server_save_channel_key.  Affected file silcd/server.c.
7424           Added explicit timeout task context instead that is used to
7425           delete the task if we are registering a new task before the
7426           new task has elapsed.
7427
7428         * When channel key rekey occurs the client library now saves
7429           the old channel key for a short period of time (10 seconds) and
7430           is able to use it in case some is still sending channel
7431           messages encrypted with the old key after the rekey.  Affected
7432           file lib/silcclient/[idlist.h|client_channel.c].
7433
7434 Sun Sep  9 15:49:16 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7435
7436         * Added check to the silc_server_new_id_real to not accept
7437           new ID if it is the sender's own ID.  Affected file is
7438           silcd/packet_receive.c.
7439
7440         * Assure that we do not announce ourself or the one we've
7441           sending our announcements when we're router and are announcing
7442           servers to our primary router.  Affected file silcd/server.c.
7443
7444         * Fixed silc_server_command_identify_check_client to assemble
7445           correct WHOIS packet.  It send corrupted WHOIS packet and
7446           caused problem with router to router connections.  Affected
7447           file silcd/command.c.
7448
7449           Fixed also silc_server_command_whois_check the same way
7450           as for the IDENTIFY command.
7451
7452         * Added new SilcIDListStatus to the server in the SilcIDListData
7453           structure.   The status now includes the current status of
7454           the entry (like registered, resolved etc.).  Affected file
7455           silcd/idlist.[ch].  Defined a bunch of different status types
7456           as well.  This replaced the old boolean registered field as well.
7457
7458           Added resolve_cmd_ident field to the SilcClientEntry structure
7459           too so that if the entry is for example being resolved so
7460           another command may attach to the same pending command reply
7461           without requiring to resolve the same entry again.  This concept
7462           should optimize the WHOIS and the IDENTIFY resolving under
7463           heavy load by taking away unnecessary resolving for entries
7464           that are being resolved already.
7465
7466           Added support for adding multiple pending commands for one
7467           command idenfier.  Affected file silcd/command[_reply].[ch].
7468
7469         * Fixed WHOIS and IDENTIFY save to remove the cache entry
7470           before deleting the data.  Otherwise the hash table will have
7471           freed data in comparison functions.  Affected file is
7472           silcd/command_reply.c.
7473
7474         * Fixed silc_idlist_replace_client_id to add the new entry to
7475           the cache with NULL nickname.  Otherwise there will be invalid
7476           memory as the nickname after the nickname is freed.  Affected
7477           file silcd/packet_receive.c.
7478
7479         * Fixed the silc_idlist_get_clients_by_hash.  The entries was
7480           saved into wrong slots because the previous number of entries
7481           was not taken into account.  Affected file silcd/idlist.c.
7482           Fixed same thing in silc_idlist_get_clients_by_nickname too.
7483
7484         * If we are router and we receive JOIN notify to a channel that
7485           does not have any users then notified client is marked as the
7486           channel founder, as it is it.  The affected file is
7487           silcd/packet_receive.c
7488
7489         * Added to the extended hash table API's table_del_*ext functions
7490           the destructor as argument too, so that the caller can decide
7491           which destructor to use or whether to use destructor at all.
7492           Affected file lib/silcutil/silchashtable.[ch].
7493
7494         * Fixed ID Cache purging.  It actually deleted the entries from
7495           the hash table after the data was freed.  The hash table ended
7496           up comparing freed memory.  The affected file is
7497           lib/silccore/silcidcache.c.
7498
7499 Sat Sep  8 10:22:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7500
7501         * Fixed Irssi SILC client's KILL command's HELP syntax.
7502
7503         * The USERS command now resolves the detailed user information
7504           if the userinfo field is missing.  Affected file is
7505           lib/silcclient/command_reply.c.
7506
7507         * Do not print error in silc_file_read if the read file does
7508           not exist.  Just silently return NULL.  Affected file is
7509           lib/silcutil/silcutil.c.
7510
7511         * Fixed the silc_log_output to not wine about NULL filename
7512           and to not create some bogus " " filename.  Affected file is
7513           lib/silcutil/silclog.c.
7514
7515 Fri Sep  7 22:16:38 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7516
7517         * Fixed various printing bugs on the user interface in the
7518           Irssi SILC Client.  Minor changes that were forgotten from
7519           the release.
7520
7521 Fri Sep  7 17:28:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7522
7523         * Fixed the configure.in.pre and the compilation and distribution
7524           environment to support the new autoconf 2.52.  That version is
7525           now required to compile the CVS trunk.
7526
7527 Thu Sep  6 12:47:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7528
7529         * Renamed function silc_parse_nickname to silc_parse_userfqdn
7530           to generally parse user@fqdn format strings.  Affected file
7531           lib/silcutil/silcutil.c.
7532
7533         * Added nickname_format and nickname_force_format fields to the
7534           SilcClientParams structure.  The first one defines the format
7535           for the nicknames that the library will enforce if the receives
7536           multiple same nicknames.  The second one is boolean value and
7537           can be used to force the library to always enforce the format
7538           to the nicknames regardles whether there are multiple nicknames
7539           or not.  This configurable formatting was employed to flexibly
7540           support accessing multiple nicknames from the user interface.
7541           The userinterface can now set the nicknames to what ever format
7542           they prefer.  Affected file lib/silcclient/silcapi.h.
7543
7544           Added function silc_client_nickname_format to the file
7545           lib/silcclient/idlist.c.  It performs the nickname formatting.
7546
7547           Added new field `hostname´ to the SilcClientEntry context.
7548           It holds the hostname of the client.  Affected file is
7549           lib/silcclient/idlist.h.
7550
7551         * Irssi SILC Client sets the nicknames in nick@hostn format.
7552           Fe. priikone@otaku, priikone@otaku2 etc.  Affected file
7553           irssi/src/silc/core/silc-core.c.
7554
7555           The WHOIS printing now also shows both the real nickname and
7556           the formatted nickname so that user knows how to access the
7557           user if there are multiple same nicknames cached.  Affected
7558           file irssi/src/silc/core/client_ops.c.  Changed the WHOIS
7559           printing formatting too to take the hostname now as a separate
7560           argument.  The Affected file is
7561           irssi/src/fe-common/silc/modules-formats.[ch].
7562
7563         * Changed the silc_client_get_clients_local to accept the formatted
7564           nickname as argument.  It accepts the real nickname too but the
7565           formatted nickname can be used to find the true entry from
7566           multiple entries.  Affected file lib/silcclient/silcapi.h and
7567           lib/silcclient/idlist.c.
7568
7569         * Added nickname_format_parse field to the SilcClientParams.
7570           It is a callback function provided by the application to parse
7571           the nickname out of the formatted nickname string. The library
7572           calls it to get the nickname from the formatted string. Since
7573           the application generally knows better the format of the nickname
7574           string it parses it instead of the library, even though library
7575           encodes the formatted string.  If the callback function is not
7576           provided then the library will use the string as is.  The
7577           affected file is lib/silcclient/silcapi.h.
7578
7579         * All the nickname strings passed to the client library in
7580           commands are now expected to be formatted nickname strings.
7581           If the command does not support the formatted nickname string
7582           it will assume that the sent string is the actual nickname.
7583           Affected file lib/silcclient/command.c.
7584
7585 Tue Sep  4 22:31:28 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7586
7587         * Added public key authentication support to OPER and SILCOPER
7588           commands in the client library.  Affected file is
7589           lib/silcclient/command.c.
7590
7591 Tue Sep  4 12:39:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7592
7593         * Changed the get_auth_methdod client operation to be asynchronous.
7594           It can be async if the application resolves the authentication
7595           method from the server during the negotiation.  Added new
7596           SilcGetAuthMeth completion callback that the application will
7597           call after resolving the authentication method.
7598
7599           Added function silc_client_request_authentication_method that
7600           the application can use to resolve the authentication method
7601           from the server.  Added also SilcConnectionAuthRequest callback
7602           that the library will call after the server has replied.  The
7603           application can call this function if it does not know the
7604           current authentication method.
7605
7606           Affected files are lib/silcclient/client.c and
7607           lib/silcclient/silcapi.h.
7608
7609         * The Irssi SILC client now automatically resolves the authentication
7610           method incase any configuration information is not present (and
7611           currently there never is).  The affected file is
7612           irssi/src/silc/core/client_ops.c.
7613
7614         * Fixed public key authentication from the client library.
7615           Affected file lib/silcclient/protocol.c.  Changed also the
7616           protocol specification about the public key authentication in
7617           the connection authentication protocol.  The actual data to be
7618           signed is now computed with a hash function before signing.
7619
7620         * Fixed the public key authentication from the server as well.
7621           Affected file silcd/protocol.c.
7622
7623         * Removed the mlock()'s from the memory allocation routines.
7624           Affected file lib/silcutil/silcmemory.c.  The ./configure does
7625           not check anymore for the mlock().  Affected file is
7626           configure.in.pre.
7627
7628         * Fixed USERS command in server to allow the execution of the
7629           command for private and secret channels if the client sending
7630           the command is on the channel.  Affected file silcd/command.c.
7631
7632         * Fixed silc_client_get_clients_local to return the clients
7633           count correctly.  It could return wrong value.  Affected file
7634           lib/silcclient/idlist.c.
7635
7636 Mon Sep  3 20:09:59 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7637
7638         * Fixed the lib/silcmath/mpi/mpi.h to always use 32-bit data
7639           types.  The assembler optimizations seemed not to like 64-bit
7640           data types.  The assmebler optimizations thus are now enabled
7641           also for BSD systems as opposed to only enable them for Linux.
7642
7643         * Do not check for threads at all on BSD systems.  Affected
7644           file configure.in.pre.
7645
7646         * Removed -n and -h options from the Irssi SILC Client since
7647           they are not used in silc.
7648
7649         * Fixed the prime generation to assure that the first digit
7650           of the generated random number is not zero since our conversion
7651           routines does not like number strings that starts with zero
7652           digit.  If zero digit is seen the random number is regenerated.
7653           This caused some corrupted RSA keys when the zero first digit
7654           was met.  Affected file lib/silcmath/silcprimegen.c.
7655
7656 Sun Sep  2 17:17:24 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7657
7658         * Fixed WIN32 configuration in the ./configure script.
7659           Fixed to include xti.h on environments that has it.
7660           Patches by Carsten Ilchmann and andrew.
7661
7662 Sat Sep  1 00:29:33 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7663
7664         * Changed the silc_id_create_client_id to be collision
7665           resistant.  It is now assured that there cannot be created
7666           two same client ID's.  I suspect that some weird bugs in
7667           the server were actually caused by duplicate Client IDs.
7668           Affected file silcd/serverid.[ch].  A router receiving
7669           new ID now also assures and informs the sending server
7670           if the ID caused collision.
7671
7672         * Changed the silc_id_create_channel_id to also assure that
7673           there are no collisions.
7674
7675 Wed Aug 29 17:55:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7676
7677         * Statement about ignoring the Mutual Authentication flag when
7678           performing rekey with PFS was a bit misleading.  It is ignored
7679           if it was set in the initial negotiation, it cannot be even
7680           set in the rekey.  Fixed in the ke-auth draft.  Started the
7681           new versions of the protocol drafts in the doc/.
7682
7683 Sun Aug 26 14:59:15 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7684
7685         * Fixed a bug in silc_client_command_identify_save when saving
7686           new channel information.  The channel name was no duplicated
7687           and caused crash on exit.  Affected file is
7688           lib/silcclient/command_reply.c.
7689
7690 Fri Aug 17 23:07:45 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7691
7692         * Fixed the getkey command handling in the server.  Send just
7693           empty OK reply to the sender if the key could not be fetched
7694           (but everything else was ok, like the key just was not available).
7695           Changed the public key parameter to optional in the protocol
7696           specs so that empty OK reply can be sent.  Affected file
7697           silcd/command.c.
7698
7699           Added a message to Irssi SILC client to tell to user if the
7700           server did not return a public key.
7701
7702 Tue Aug 14 07:29:27 CEST 2001  Pekka Riikonen <priikone@silcnet.org>
7703
7704         * Fixed a channel key regeneration bug.  It registered new
7705           timeout tasks exponentially until all system resources were
7706           used.  Affected file silcd/server.c.
7707
7708 Sun Aug 12 20:48:14 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7709
7710         * Added the SILC Document generator to the scripts/silcdoc.
7711           It can be used to generate the Toolkit Reference Manual out
7712           of the source tree.  Internally it will also use the RoboDoc
7713           generator now imported in util/robodoc.
7714
7715 Sun Aug 12 12:28:17 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7716
7717         * Added couple of return's in rekey protocol if error orccurred
7718           during the protocol.  The execution must be terminated.
7719           Affected file silcd/protocol.c.  Also, terminate the protocol
7720           always with timeout.
7721
7722 Sat Aug 11 12:36:02 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7723
7724         * The client's Client ID was created initally from the wrong
7725           nickname (it could have been in format nick@host) in the
7726           silc_server_new_client.  Affected file silcd/packet_receive.c
7727
7728 Sat Aug 11 00:29:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7729
7730         * Added some SILC_LOG_ERROR's to various error conditions
7731           if client could not be added to ID cache.  Affected files
7732           silcd/packet_receive.c and silcd/server.c.
7733
7734         * When client's sock->user_data is freed, NULL also the
7735           client->router and client->connection pointers.  Added check
7736           for these pointers being NULL to various places around the
7737           code.  Affected file silcd/server.c.
7738
7739         * Added client->data.registered == TRUE checks to various
7740           places around the code to assure that unregistered client's
7741           are not handled when it is not allowed.  Affected file
7742           silcd/server.c.
7743
7744         * Added `bool registered' fields to all
7745           silc_idlist_[server|client]_get_* routines to indicate whether
7746           the fetched client needs to be registered or not.  Affected
7747           file silcd/idlist.[ch].
7748
7749         * Add your own entry as registered to the ID cache in the
7750           server.  Affected file server.c.
7751
7752         * Fixed a bug in silc_server_new_server.  The SilcServer was
7753           set as the new server's context instead of SilcServerEntry.
7754           This naturally caused some weird bugs.
7755
7756         * Added "updated" field the SilcChannelEntry which indicates
7757           the time since the channel entry was last accessed.  This
7758           can be used to determine whether it is necessary to
7759           announce the channel after backup resuming protocol.
7760           Affected files silcd/idlist.[ch].
7761
7762 Thu Aug  9 18:28:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7763
7764         * Do not delete the channel rekey task when adding it
7765           for in silc_server_create_channel_key.
7766
7767         * Changed the silc_server_create_channel_key to return
7768           TRUE or FALSE to indicate the success of the channel key
7769           creation.
7770
7771 Thu Jul 26 11:32:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7772
7773         * Fixed MSVC++ project files and added missing files to
7774           Makefiles under win32/.
7775
7776 Wed Jul 25 18:43:54 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7777
7778         * Do not add TCP_NODELAY flag if the operating system
7779           does not have it defined.  Affected files are
7780           lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
7781
7782         * Fixed buffer overflow from Irssi SILC Client.  Affected
7783           file irssi/src/fe-common/core/themes.c.
7784
7785         * Fixed double free in client library in the file
7786           lib/silcclient/client.c when disconnecting from server.
7787
7788         * Applied double free patch from cras to Irssi SILC client.
7789           Affected files irssi/src/core/[modules/expandos].c
7790
7791         * Fixed the disconnection handling to Irssi SILC Client.
7792           The application must call silc_client_close_connection
7793           in ops->connect client operation in case of failure of
7794           the connection.  Affected file is
7795           irssi/src/silc/core/client_ops.c.
7796
7797         * Do not set sock->protocol to NULL in the function
7798           silc_client_close_connection after executing the protocol's
7799           final callback since the sock might not be valid anymore.
7800           Affected file lib/silcclient/client.c.
7801
7802 Wed Jul 25 16:04:35 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7803
7804         * Do not enable SILC_THREADS if the linking with libpthread
7805           did not happen.  Affected file configure.in.pre.
7806
7807         * Added notion to protocol specification that server must
7808           verify the sent authentication payload with CMODE when
7809           setting the channel founder key.  Implemented it to the
7810           server.  Affected file silcd/command.c.
7811
7812 Mon Jul 23 18:31:43 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7813
7814         * Added _EXTRA_DIST SILC distribution variable to the
7815           distributions file.  It is used to conditionally add extra
7816           files or directories to the specific distribution.  Affected
7817           files ./prepare, Makefile.am.pre and distributions.
7818
7819           Removed the `_' from the start of the distribution names.
7820           It is redundant.
7821
7822         * Added README.WIN32 for instructions to compile the Toolkit
7823           under WIN32.
7824
7825 Mon Jul 23 10:12:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7826
7827         * Fixed a double free in disconnection in the server.  Affected
7828           file is silcd/server.c.
7829
7830         * Fixed the lib/silcske/groups.c to work now also with GMP
7831           MP library.  The string conversion did not work when using
7832           specific base and the base is indicated in the string as well.
7833
7834         * Created win32/ directory which now includes MSVC++ specific
7835           stuff so that toolkit (DLLs) may be compiled with MSVC++.
7836           It will appear only in the toolkit distribution
7837
7838 Sun Jul 22 19:40:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7839
7840         * Changed the key material distribution function in case when
7841           the hash output is too short.  The data is now concatenated
7842           a bit differently than it used to.  Made the change to the
7843           SKE protocol specification.
7844
7845         * Added better GMP detection to configure.in.pre.  A patch
7846           by salo.
7847
7848 Fri Jul 20 13:16:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7849
7850         * Fixed a minor bug in SKE that might cause some problem on
7851           some platforms.  Affected file lib/silcske/silcske.c.
7852
7853         * Added the cookie checking for initiator in the SKE.  It checks
7854           that the responder returns the sent cookie unmodified.  The
7855           affected file is lib/silcske/silcske.c.  Added new SKE
7856           error type INVALID_COOKIE that can be sent during the
7857           negotiation.  Fixed some memory leaks as well.
7858
7859         * Added the "invalid cookie" error message to Irssi SILC client's
7860           message formats.
7861
7862 Thu Jul 19 21:44:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7863
7864         * Added `task_max' field to the SilcClientParams to indicate
7865           the maximum tasks the scheduler can handle.  If set to zero,
7866           default values are used.  Affected file lib/silcclient/silcapi.h.
7867
7868         * Fixed memory leaks in silc_client_close_connection.  Affected
7869           file lib/silcclient/client.c.
7870
7871         * Added silc_client_del_client_entry to client library to free
7872           all memory of given client entry.  Affected file is
7873           lib/silcclient/idlist.[ch].
7874
7875         * Added new functions silc_client_del_channel and
7876           silc_client_del_server to delete channel and server entries.
7877           Affected file lib/silcclient/[silcapi.h/idlist.c].
7878
7879         * Removed silc_client_del_client_by_id from silcapi.h.
7880
7881         * Fixed the INFO command to return the server's own info
7882           correctly when querying by Server ID.  Affected file is
7883           silcd/command.c.
7884
7885 Thu Jul 19 14:47:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7886
7887         * Removed the non-blocking settings in WIN32 code in the
7888           silc_sock_[read/write] and added SleepEx instead.  Affected
7889           file lib/silcutil/win32/silcwin32sockconn.c.  The availability
7890           of input data is now checked with FIONREAD and ioctlsocket.
7891
7892 Wed Jul 18 18:34:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7893
7894         * Call silc_schedule_task_del_by_context in the
7895           silc_protocol_cancel instead of silc_schedule_task_del_by_callback.
7896           Affected file lib/silccore/silcprotocol.c.
7897
7898         * Call silc_protocol_cancel for active protocols in the
7899           silc_server_close_connection if the funtion
7900           silc_server_free_sock_user_data has not been called.
7901           Affected file silcd/server.c.
7902
7903         * Generic tasks cannot be deleted using the del_by_fd
7904           task deleting function since generic tasks does not match
7905           any specific fd.  Affected file lib/silcutil/silcschedule.[ch].
7906
7907         * Added a notion to SILCOPER help file that the SILCOPER works
7908           only on router server, not on normal server.
7909
7910 Wed Jul 18 09:40:04 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7911
7912         * Added for WIN32 support for the new scheduler as well.
7913           Affected file lib/silcutil/win32/silcwin32schedule.c.
7914
7915         * Fixed the SHA1 implementation to work on various platforms.
7916
7917 Tue Jul 17 23:04:10 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7918
7919         * Rewrote the SILC Scheduler entirely.  Removed the old SILC Task
7920           API.  It is part of the scheduler now.  Everything else is
7921           as previously but some functions has changed their names.
7922           Checkout the lib/silcutil/silcschedule.h for the interface.
7923           Updated all applications to use the new interface.  Affected
7924           files are lib/silcutil/silcschedule.[ch].
7925
7926 Tue Jul 17 16:53:30 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7927
7928         * Found a bug in the SKE implementation.  The HASH value,
7929           specified by the protocol, was not computed correctly.  The
7930           public key of the responder was not added to the computation
7931           even though it is mandatory.  Affected file lib/silcske/silcske.c.
7932           This unfortunately causes incompatibilities with older
7933           clients and servers.
7934
7935         * Added WIN32 specific network init and uninit functions:
7936           silc_net_win32_init and silc_net_win32_uninit to init and uninit
7937           the Winsock2.  Affected file lib/silcutil/silcnet.h and
7938           lib/silcutil/win32/silcwin32net.c.
7939
7940         * Set the socket always to nonblocking mode on WIN32 after
7941           reading data or writing data.  Affected file is
7942           lib/silcutil/win32/silcwin32sockconn.c.
7943
7944 Mon Jul 16 22:55:26 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7945
7946         * Fixed various compilation problems under WIN32.  Affected
7947           files lib/silcutil/win32/silcwin32thread.c and
7948           lib/silcutil/win32/silcwin32schedule.c.
7949
7950         * Removed all _internal.h #includes from public header
7951           files.  Internal headers must never be included from
7952           public headers.
7953
7954           Removed also the lib/silcske/payload_internal.h file.
7955
7956         * All include files that may be needed (public and some others
7957           included by the public headers) by application developers are
7958           now copied to the ./includes directory.  It does not copy any
7959           internal headers.  Affected file Makefile.defines.pre and all
7960           Makefile.am's under lib/ and subdirs.
7961
7962 Thu Jul 12 17:49:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7963
7964         * Do not change the ~/.silc directory's permissions automatically.
7965           Affected file irssi/src/silc/core/clientutil.c.
7966
7967 Thu Jul 12 10:18:40 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7968
7969         * Do not cancel the protocol in silc_server_close_connection
7970           it might cause recursion.  Now cancelled in the function
7971           silc_server_free_sock_user_data.  Affected file silcd/server.c.
7972
7973         * Fixed the silc_server_remove_clients_by_server to regenerate
7974           the channel keys correctly finally.  Added also new function
7975           silc_server_remove_clients_channels to actually do it.
7976           Affected file silcd/server.c.
7977
7978         * Fixed the silc_server_new_channel to not crash by giving
7979           wrong router to the new channel.  Affected file is
7980           silcd/packet_receive.c.
7981
7982 Wed Jul 11 18:31:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
7983
7984         * Added SilcClientParams structure to the lib/silcclient/silcapi.h
7985           which is given as argument to the silc_client_alloc now.
7986           It can be used to configure the client and set various parameters
7987           that affect the function of the client.
7988
7989         * The USERS command in server did not check whether the channel
7990           is private or secret.  Affected file silcd/command.c.
7991
7992         * Added new argument to the USERS command in protocol specification.
7993           The USERS command now can take the channel name as argument
7994           as well.  Added support for this in client and server and
7995           updated the protocol specs.
7996
7997         * Completed the GETKEY command in client. It can be now used
7998           to fetch also servers public key not only some clients.
7999           Affected files lib/silcclient/command[_reply].c.
8000
8001         * Added silc_client_get_server to return server entry by the
8002           server name.  Affected files lib/silcclient/silcapi.h and
8003           idlist.c.
8004
8005         * Redefined the IDENTIFY command in protocol specification to be
8006           more generic.  It now can be used to query information about
8007           any entity in the SILC Network, including clients, servers and
8008           channels.  The query may be based either the entity's name
8009           or the ID.  Added support for this in both client and server.
8010
8011           Affected files silcd/command.c and lib/silcclient/command.c
8012           and command_reply.c.
8013
8014         * Optimized the WHOIS and WHOWAS commands in the server. Removed
8015           the _from_client and _from_server functions.  Affected file
8016           silcd/command.c.
8017
8018         * Added silc_client_get_channel_by_id_resolve to the file
8019           lib/silcclient/silcapi.h to resolve channel information by
8020           its ID.  Added also silc_client_get_channel_by_id that
8021           does not resolve it from the server.
8022
8023 Tue Jul 10 18:05:38 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8024
8025         * Added SilcServerEntry context into the client library
8026           to represent one server.  The INFO command now allocates
8027           these to save the resolved server info.  For now on the
8028           client library will also keep information about servers,
8029           connected and resolved with INFO.
8030
8031           The INFO command now allocates the SilcServerEntry context
8032           and saves the server info there.  The COMMAND_REPLY in
8033           the INFO now returns the parameters to application in
8034           same order as defined in the protocol specification.
8035
8036           The entries are cached in the client->server_cache.
8037
8038         * The INFO command is now issued after received the Client ID
8039           from the server.  Affected file lib/silcclient/client.c.
8040
8041         * The CMODE_CHANGE notify may now return also an SilcServerEntry
8042           to the application as the mode changer might be server.
8043           It is guaranteed that NULL is not returned anymore to the
8044           application.  Affected file lib/silcclient/client_notify.c.
8045
8046           The ID Type is now also passed to the application so that
8047           it can check whether the returned entry is SilcClientEntry
8048           or SilcServerEntry.
8049
8050           Added new function silc_client_get_server_by_id to return
8051           the server entry by ID.  Affected files are the
8052           lib/silcclient/silcapi.h and lib/silcclient/idlist.c.
8053
8054         * Do not create the channel in the Irssi SILC Client when issuing
8055           the JOIN command but when received the sucessful JOIN command
8056           reply.  Otherwise the channel might get created even though we
8057           could not join it.  The Affected file is
8058           irssi/src/silc/core/[silc-channels.c/client_ops.c].
8059
8060         * Fixed a channel joining bug in router.  The router must also
8061           check the channel modes, invite and ban lists etc. when serving
8062           the JOIN command sent by normal server.  Affected file is
8063           silcd/command.c.  The router now resolves the client's
8064           information from the server who sent the JOIN command if it
8065           does not know it, and processes the JOIN command only after
8066           that.
8067
8068         * Changed the SilcCommandCb to take new argument; void *context2.
8069           Affected file lib/silccore/silccommand.h
8070
8071           The second argument in the command callbacks in the server now
8072           includes the SilcServerCommandReplyContext if the command was
8073           called as pending command callback from the command reply.
8074           Otherwise it is NULL. When called as pending the status of the
8075           command reply will be checked and if it was erronous the
8076           error will be sent to the original sender of the command.
8077           This way the client always receives the error messages even
8078           though the server was actually the one who received the error
8079           when it resent the command to router, for example.  Affected
8080           files silcd/command[_reply].[ch].
8081
8082         * Fixed sending WHOWAS command's error message to client if
8083           the requested client could not be found.  It was missing.
8084           silcd/command.c.
8085
8086         * Changed the CMODE and CUMODE commands reply arguments in the
8087           protocol specification.  The Channel ID is now sent in both
8088           of the commands to identify the channel.  Implemented this
8089           new feature to the client and server.  Affected files
8090           lib/silcclient/command_reply.c and silcd/command.c.
8091
8092         * Made better checks for invite and ban lists in the JOIN
8093           command in server.  Affected file silcd/command.c.
8094
8095 Mon Jul  9 18:28:34 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8096
8097         * The server now performs the incoming host IP/DNS lookup
8098           using the silc_socket_host_lookup and thus does not block
8099           the server anymore.  Affected file silcd/server.c.
8100
8101         * Completed the multi-thread support for SILC Scheduler in
8102           the lib/silcutil/silcschedule.c.
8103
8104         * Fixed the configure.in.pre to detect the pthread correctly
8105           on various systems.
8106
8107         * Fixed a deadlock in silc_task_queue_wakeup in the file
8108           lib/silcutil/silctask.c.
8109
8110 Mon Jul  9 13:40:03 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8111
8112         * Added new function silc_schedule_wakeup that is used in
8113           multi-threaded environment to wakeup the main thread's
8114           schduler. It needs to be used when a thread adds a new task
8115           or removes a task from task queues. After waking up, the
8116           scheduler will detect the task queue changes. If threads
8117           support is not compiled in this function has no effect.
8118           Implemented the wakeup mechanism to both Unix and WIN32
8119           systems.  Affected files are lib/silcutil/silcschedule.[ch],
8120           lib/silcutil/unix/silcunixschedule.c and the
8121           lib/silcutil/win32/silcwin32schedule.c.
8122
8123         * Added new function silc_task_queue_wakeup to wakeup the
8124           scheduler by the specified task queue.  Affected file
8125           lib/silcutil/silctask.[ch].
8126
8127         * The silc_socket_host_lookup_start now wakes up the scheduler
8128           after adding the timeout task.  Affected file is
8129           lib/silcutil/silcsockconn.c.
8130
8131         * The silc_socket_host_lookup is synchronous now if the threads
8132           support is not compiled in.  However, the callback is still
8133           called asyncronously through the scheduler, anyway.  Affected
8134           file lib/silcutil/silcsockconn.c.
8135
8136 Mon Jul  9 00:24:45 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8137
8138         * Added new function silc_socket_host_lookup to perform
8139           asynchronous IP and FQDN lookups for the socket connection.
8140           Affected files lib/silcutil/silcsockconn.[ch].
8141
8142 Sun Jul  8 18:44:53 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8143
8144         * Added SILC_MUTEX_DEFINE to define the mutex on environments
8145           that may or may not compile the mutex support in.
8146
8147           Changed the silc_mutex_alloc interface. It allocates the
8148           mutex now to the sent pointer and returns TRUE or FALSE.
8149
8150           Affected file lib/silcutil/silcmutex.h.
8151
8152         * Wrote the SILC Task Queue interface to support multi-threads.
8153           Affected file lib/silcutil/silctask.[ch].
8154
8155         * Wrote the SILC Scheduler to support multi-threads.  Affected
8156           file lib/silcutil/silcschedule.c.
8157
8158 Sun Jul  8 11:16:01 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8159
8160         * Implemented the SILC Mutex API and SILC Thread API for WIN32
8161           in lib/silcutil/win32/.
8162
8163 Sun Jul  8 00:18:15 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8164
8165         * Defined SILC Mutex API and SILC Thread API and implemented
8166           them for Unix.  Affected files are
8167           lib/silcutil/silcmutex.h, lib/silcutil/silcthread.h,
8168           lib/silcutil/unix/silcunixmutex.c and
8169           lib/silcutil/unix/silcunixthread.c.
8170
8171 Sat Jul  7 14:40:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8172
8173         * Fixed the silc_server_remove_clients_by_server's channel
8174           key re-generation.  The hash table handling was incorrect
8175           and would not work with many channels.  Affected file is
8176           silcd/server.c.
8177
8178         * Fixed some memory leaks around the server code.
8179
8180         * Rewrote the silc_server_get_users_on_channel to support IPv6
8181           based Client ID's.  Affected file silcd/server.c.
8182
8183         * Defined the SILC_MESSAGE_FLAG_SIGNED to the protocol
8184           specification.  However, a separate document must be written
8185           to define the detailed signing procedure and the payload
8186           associated with the flag.  Defined the flag to the
8187           lib/silccore/silcchannel.h as well.
8188
8189 Fri Jul  6 18:26:31 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8190
8191         * Changed the dynamic tables to static size tables in the
8192           lib/silccrypt/silchmac.c.
8193
8194         * Removed GCC dependencies from the code.  A patch by cras.
8195
8196 Fri Jul  6 09:39:35 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8197
8198         * Do not show the error "Error receiving packet bla bla"
8199           in server if it really was not an error (-2 means that reading
8200           is pending).  Affected file silcd/server.c.
8201
8202 Thu Jul  5 21:22:32 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8203
8204         * Fixed a possible crash in silc_server_remove_clients_by_server
8205           in silcd/server.c.  Fixed there also some memory leaks.
8206
8207         * Fixed the silc_idlist_replace_client_id.  It could replace
8208           wrong key in the hash table.  Affected file silcd/idlist.c.
8209
8210         * Do not check whether there are global users on the channel
8211           if the channel->global_users is FALSE.  Affected functions
8212           silc_server_remove_from_one_channel and
8213           silc_server_remove_from_channels in silcd/server.c.  Also,
8214           do not check if the removed client is local as we can be
8215           sure that global client was not removed from the channel
8216           and checking for global users is not needed.
8217
8218         * The silc_server_remove_clients_by_server now re-generates
8219           the channel keys correctly for those channels that had
8220           clients removed from them.  Affected file silcd/server.c.
8221
8222 Tue Jul  3 11:39:20 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8223
8224         * Found the reason of random crashes in the server.  We weren't
8225           ignoring the SIGPIPE signal (which can be sent in write())
8226           and it crashed the server.  Affected file silcd/silcd.c.
8227
8228 Fri Jun 29 20:05:25 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8229
8230         * Assure that sock->user_data is not NULL in the function
8231           silc_server_packet_send in silcd/packet_send.c.
8232
8233         * Disconnect the remote connection if it could not be added
8234           to any ID lists in the server.  The affected file is
8235           silcd/server.c.
8236
8237         * Check in silc_server_packet_send[_real/dest] that the
8238           socket is not disconnecting and ignore the data if it is.
8239           Affected file silcd/packet_send.c.
8240
8241         * Define inline to __inline on native WIN32 compilation.
8242           Affected file includes/silcwin32.h.
8243
8244         * Added some explicit type casts for inline code since MSVC
8245           require them.  Affected files lib/silcutil/silcbuffer.h,
8246           lib/trq/silcdlist.h and lib/trq/silclist.h.
8247
8248         * Print warning in log files from now on if the packet
8249           decryption fails.  Affected file silcd/server.c.
8250
8251 Thu Jun 28 21:30:39 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8252
8253         * Changed the `say' client operation's interface to accept
8254           new `type' argument to indicate the type of the message sent
8255           by the library.  The application may filter the library's
8256           messages according the type.  The affected file is the
8257           lib/silcclient/silcapi.h.
8258
8259         * Added two new functions to lib/silcclient/silcapi.h:
8260           silc_client_del_client and silc_client_del_client_by_id.
8261           Affected file lib/silcclient/idlist.c.
8262
8263         * Moved the clientincludes.h from includes/ to silc/ and
8264           serverincludes.h from includes/ to silcd/.
8265
8266         * The modes for the CMODE and CUMODE are now passed as
8267           uint32 for application with COMMAND_REPLY.  The affected
8268           file is lib/silcclient/command_reply.c.
8269
8270 Wed Jun 27 22:24:47 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8271
8272         * /WHOIS without arguments shows client's own information.
8273           Affected file lib/silcclient/command.c.
8274
8275         * Changed PING to not accept any arguments.  The specs
8276           says that client can ping only the connected server so
8277           requiring an argument is not needed.  Affected file is
8278           lib/silcclient/command.c.
8279
8280 Wed Jun 27 00:10:33 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8281
8282         * Fixed a fatal bug in private message sending and reception
8283           encryption and decryption when using private message keys.
8284           The implementation was incorrect and did not follow the
8285           specification.  It causd that some of the message were
8286           lost since it did not use the sending and receiving keys
8287           as the protocol suggests.  This has been fixed and will cause
8288           incompatibilities with older clients when sending private
8289           message encrypted with private message keys.  Affected files
8290           lib/silcclient/client_prvmsg.c, lib/silcclient/client_keyagr.c
8291           and various other in Irssi SILC Client.
8292
8293           Added `responder' boolean argument to the functions
8294           silc_client_add_private_message_key[_ske] to indicate when
8295           the key is added as responder or initiator of the key
8296           negotiation.
8297
8298 Tue Jun 26 19:23:07 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8299
8300         * Removed the silc_ske_check_version function and created
8301           a SilcSKECheckVersion callback.  Added also a function
8302           silc_ske_set_callbacks that is now used to set all SKE
8303           callbacks.  The callback functions are not given to
8304           the SKE functions anymore, but this function is used to
8305           set the callbacks.
8306
8307         * Fixed the WIN32 DLL generation in lib/Makefile.am.pre.
8308
8309         * Added `silc_version' argument to the silc_client_alloc
8310           to define the version of the application for the library.
8311           The library will use the version string to compare it
8312           against the remote host's (usually a server) version
8313           string.  Affected file lib/silcclient/silcapi.h
8314
8315         * Added the KE protocol context to Key Agreement context
8316           in client library so that we can abort the SKE if it
8317           is in process when we get timeout.  Affected file is
8318           lib/silcclient/client_keyagr.c.
8319
8320         * Do not resolve the client ID forever if it returns in the
8321           first time that such client does not exist.  This was done
8322           for example with private message.  Affected file is
8323           lib/silcclient/client_prvmsg.c.
8324
8325 Mon Jun 25 21:42:51 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8326
8327         * Do not add regex.h for WIN32.  The affected file
8328           includes/silcincludes.h.
8329
8330         * Added WIN32 DLL generation to lib/Makefile.am.pre.  It might
8331           not work yet 100%.  It generates the DLL's automatically
8332           when compiling with --with-win32 under cygwin.
8333
8334 Sun Jun 24 19:49:23 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8335
8336         * lib/contrib/regex.c is not compiled on WIN32.
8337
8338         * Added silc_net_get_socket_opt function to the
8339           lib/silcutil/silcnet.h.
8340
8341         * Added includes/silcwin32.h for WIN32 specific includes
8342           and definitions.
8343
8344         * Do not use ptime structure or any of the posix process
8345           functions on WIN32 in lib/silccrypt/silrng.c.
8346
8347         * Added silc_gettimeofday to provide generic function
8348           for struct timeval on all platforms.  Added the function
8349           to lib/silcutil/silcutil.h.
8350
8351 Sun Jun 24 12:19:52 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8352
8353         * Moved the lib/silccore/silcsockconn.[ch] to the utility
8354           library as they clearly belong there.  As a plus side we
8355           can make the actual socket connection routines platform
8356           specific.
8357
8358           Added also new generic function silc_socket_read and
8359           silc_socket_write (that used to be silc_packet_[read/write].
8360           The implementation of these are platform specific.
8361
8362         * Added WIN32 specific routines of silc_socket_[read/write]
8363           to lib/silcutil/win32/silcwin32sockconn.c.
8364
8365 Sat Jun 23 16:01:00 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8366
8367         * Added preliminary support for native WIN32 compilation under
8368           cygwin (using the -mno-cygwin option for GCC) to the
8369           ./configure.in.pre.  The --with-win32 now prepares the
8370           compilation for native WIN32.
8371
8372         * Rewrote the SILC Scheduler interface in the file
8373           lib/silcutil/silcschedule.h.  The scheduler is now context
8374           based and does not have anymore any global static scheduler.
8375           Moved the Unix scheduler to the lib/silcutil/unix/ directory
8376           and created lib/silcutil/win32 directory for WIN32 based
8377           scheduler.
8378
8379         * Added Unix specific network routines to the
8380           lib/silcutil/unix/silcunixnet.c and the old
8381           lib/silcutil/silcnet.c includes now only generic routines.
8382
8383           Added WIN32 specific network routines to the
8384           lib/silcutil/win32/silcwin32net.c.
8385
8386         * Added Unix specific utility functions from the
8387           lib/silcutil/silcutil.c to lib/silcutil/unix/silcunixutil.c.
8388
8389         * Added WIN32 SILC Scheduler to the file
8390           lib/silcutil/win32/silcwin32schedule.c. The code is of course
8391           untested.
8392
8393 Fri Jun 22 10:44:14 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
8394
8395         * Do not handle JOIN notify in the server if the target client
8396           is not registered (idata->registered == FALSE).  The affected
8397           file is silcd/packet_receive.c.
8398
8399         * Update the nickrec->founder in event_cumode in the Irssi SILC
8400           client.  Affected file irssi/src/silc/core/silc-channels.c.
8401
8402         * Fixed the CUMODE_CHANGE notify handling in the server when
8403           server and router are announcing their clients on channels.
8404           Now the mode changes are saved and notified correctly.  The
8405           affected file is /silcd/packet_receive.c.
8406
8407         * Fixed silc_idlit_replace_[server/client/channel]_id functions.
8408           They really did not replace the cache entry in the ID Cache.
8409           Now they do that.  Affected file silcd/idlist.c.
8410
8411         * Fixed the KICK notify handling in the Irssi SILC client to
8412           update the channel records so that the kicked client does not
8413           appear to be on the channel.  The affected file is
8414           irssi/src/silc/core/silc-channels.c.
8415
8416         * Always update the conn->current_channel when executing command
8417           on a channel.  Affected file irssi/src/silc/core/silc-servers.c.
8418
8419         * Fixed the KILL notify handling in Irssi SILC client to remove
8420           the killed client on all channels.
8421
8422 Thu Jun 21 17:10:08 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8423
8424         * Fixed the silc_parse_command_line to remove extra spaces
8425           from the start and end of the arguments.  Affected file is
8426           lib/silcutil/silcutil.c.
8427
8428         * Cancel and free any active protocol in the function
8429           silc_server_close_connection.  Affected file silcd/server.c.
8430
8431         * Cancel and free any active protocol in the function
8432           silc_client_close_connction.  Affected file is
8433           lib/silcclient/client.c.
8434
8435         * Do not execute the KILL command for clients that are in
8436           history (ie. they are not in the network).  Affected file is
8437           silcd/command.c.
8438
8439         * Fixed KILL notify handling, client does not crash anymore.
8440           Affected file irssi/src/silc/core/silc-channels.c.
8441
8442         * Reduced the default packet buffer size from 2048 to 1024 in
8443           lib/silccore/silcpacket.c.
8444
8445         * Added SILC_SKE_STATUS_FREED SKE status type and a reference
8446           counter to the SKE context that is incresed when the SKE library
8447           performs async operation outside the library.  If the outside
8448           process frees the SKE context and FREED status will be set
8449           and the library will detect after the sync operation that the
8450           libary is freed.  The affected files are
8451           lib/silcske/silcske[_status].[ch].
8452
8453         * Resolve the client entry information in the function
8454           silc_client_channel_message to assure that NULL pointer is not
8455           passed as client entry to the application. */
8456
8457         * Fixed the task timeout calculation to assure that there is
8458           never negative timeouts.  The affected file is
8459           lib/silcutil/silcschedule.c.
8460
8461         * Fixed the channel user mode notification sending in server.
8462           It was sent point-to-point to the router (or to server by router)
8463           but it needs to be destined to a channel.  The routines now
8464           supports sending the channel user mode notifys to the channels
8465           when announcing clients and channels.  Affected files are
8466           silcd/server.c and silcd/packet_receive.c.
8467
8468         * Fixed the CHANNEL_CHANGE notify handling in the client libary.
8469           It did not actually replace the old channel entry in the cache.
8470           Affected file lib/silcclient/client_notify.c.
8471
8472 Tue Jun 19 22:10:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8473
8474         * Fixed a possible crash in silc_packet_send_prepare.  It now
8475           assures always that there is enough space in the buffer and
8476           at the tail area of the buffer (for MAC).
8477
8478           Fixed the inbound buffer reallocation in silc_packet_read.
8479           It was old code and did not handle the reallocation correctly.
8480           Affected
8481
8482           The affected file is lib/silccore/silcpacket.c.
8483
8484         * Fixed buffer overflow in silc_parse_nickname in the file
8485           lib/silcutil/silcutil.c.
8486
8487 Tue Jun 19 13:40:09 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8488
8489         * make install generates new server keys only if there is not
8490           keys already.
8491
8492 Mon Jun 18 18:49:07 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8493
8494         * Set SILC_MESSAGE_FLAG_NOREPLY when sending the away message.
8495           Added check that if the NOREPLY is set then we will not send
8496           the away message.  This avoids infinite loop of away messages
8497           if both clients are away.  The affected file is
8498           lib/silcclient/client_prvmsg.c.
8499
8500         * Fixed client crash if /NICK was given without arguments.
8501           Affected file lib/silcclient/command.c.
8502
8503         * Server does not send the invite list in INVITE command back
8504           to the client if the list was not altered.  Added this notion
8505           to the protocol spec as well.  Affected file silcd/command.c.
8506
8507           Fixed possible crash in INVITE command by checking the
8508           value of silc_server_get_client_route command.
8509
8510         * Fixed the INVITE notify type handling.  The arguments are now
8511           taken in correct order and client does not crash.  The affected
8512           file is irssi/src/silc/core/silc-channels.c.
8513
8514           Removed the "Inviting xxx to channel" message from the
8515           client library away and let the application handle it.
8516           Affected file lib/silcclient/command.c.  Added that message
8517           to Irssi SILC client's message formats.
8518
8519         * Fixed CMODE command crash in client.  It now checks the
8520           amount of arguments correctly and does not crash.  The affected
8521           file is lib/silcclient/command.c.
8522
8523         * Do not create new channel automatically in silc_channels_join
8524           but check whether the channel by that name already exists.
8525           Affected file irssi/silc/core/silc-channels.c.
8526
8527         * Do not send the SERVER_SIGNOFF to router if the disconnected
8528           entity was the router.  Affected file silcd/server.c.
8529
8530         * Added the handling of the SERVER_SIGNOFF notify to the Irssi
8531           SILC client as it was missing from there.
8532
8533           Added the handling of the KICK notify to the Irssi SILC client
8534           as it was missing.  Added "you have been kicked" message to
8535           Irssi SILC client's message modules formats.
8536
8537           Added the handing of the KILL notify to the Irssi SILC client
8538           as it was missing.  Added the kill message module formats
8539           as well.
8540
8541           The affected file is irssi/src/silc/core/silc-channels.c.
8542
8543         * The router did not save the channel mode the server announced.
8544           Affected file silcd/packet_receive.c.
8545
8546         * Fixed a possible crash in INFO command in server.  If the
8547           server did not provide the server info it crashed.  Affected
8548           file silcd/command.c.
8549
8550 Sun Jun 17 15:26:05 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8551
8552         * Fixed the GETKEY command in the server to check also the
8553           global list.  Otherwise the GETKEY would not work correctly
8554           in normal SILC server.  Affected file silcd/command.c.
8555
8556 Sat Jun 16 18:00:00 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8557
8558         * Fixed GETKEY crash, it crashed if the command did not succseed.
8559
8560 Tue Jun 12 21:36:18 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8561
8562         * Redefined the SILC MP API in lib/silcmath/silcmp.h. The API
8563           is now real and not just an macro interface to GMP.
8564
8565           Removed the entire GMP from the source tree and imported new
8566           NSS MPI library instead.  Reason for removing GMP is that it is
8567           extremely large and compiles extremely slow.  The NSS MPI
8568           is only a few files and compiles in less than 10 seconds.
8569           The speed is also about the same as GMP.  The MPI is imported
8570           to lib/silcmath/mpi.
8571
8572           If the system has GMP installed we will still use the GMP.
8573           If it is not then the NSS MPI will be compiled.
8574
8575 Mon Jun 11 18:07:24 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8576
8577         * Merged a long nickname (127 characters long) crash bugfix from
8578           Irssi CVS tree.  Affected file irssi/src/core/misc.c.
8579
8580         * Merged a freed memory reference bugfix from Irssi CVS tree.
8581           Affected file irssi/src/core/commands.c.
8582
8583 Sun Jun 10 16:08:35 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8584
8585         * Added the server's public key sving and verification to the
8586           server when performing the SKE.  This was missing and the
8587           remote server's (or router's) public key was accepted without
8588           checking whether we have it previously or trust it at all.
8589           Affected file silcd/protocol.c.
8590
8591 Sat Jun  9 20:17:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8592
8593         * Check in the silc_server_timeout_remote if protocol is active
8594           and make sure that the protocol's final callback is called so
8595           that all memory if freed.  Affected file silcd/server.c.
8596
8597 Sat Jun  9 12:51:27 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8598
8599         * silc_server_whois_send_reply crashed the server if the nickname
8600           was 127 characters long.  Affected file silcd/command.c.
8601
8602 Thu Jun  7 16:29:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8603
8604         * Added sanity check to the silc_server_new_client. If the hostname
8605           is provided inside username then check that the provided hostname
8606           really is the same as the resolved one.  If the hostname was not
8607           resolved then check it from the public key.  Affected file is
8608           silcd/packet_receive.c.
8609
8610         * Fixed a fatal bug in Irssi SILC client. Do not send QUIT command
8611           if the server disconnected us and the connection is not valid
8612           anymore.  Affected file irssi/src/silc/core/silc-channels.c.
8613
8614         * Moved the silc_client_[chmode|chumode|chumode_char] away from
8615           the library to the lib/silcutil/silcutil.[ch].
8616
8617 Thu Jun  7 08:57:16 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8618
8619         * Close log file after open.  Affected file
8620           lib/silcutil/silclog.c.
8621
8622         * Check whether sock == NULL in silc_client_send_packet and return
8623           if it is.  Affected file lib/silcclient/silcclient.c.
8624
8625         * Check rec->entry == NULL in the Irssi SILC Client before
8626           sending the channel message.  Affecte file is
8627           irssi/src/silc/core/silc-servers.c.
8628
8629 Tue Jun  5 08:08:21 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8630
8631         * Merged a splitted window bugfix from Irssi CVS tree.  The
8632           affected file is irssi/src/fe-text/textbuffer-view.c.
8633
8634         * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
8635           It did not print nickname.
8636
8637         * Improved the distributions system a bit.
8638
8639 Mon Jun  4 17:57:16 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8640
8641         * Merged /WINDOW bugfix from irssi CVS tree. Affected file is
8642           irssi/src/fe-text/gui-window.c.
8643
8644         * Fixed a fatal bug in Irssi SILC client. Crashed if sent message
8645           to in-active server.  The affected file is
8646           irssi/src/silc/core/client_ops.c.
8647
8648         * Resolve the client in USERS command reply if the entry does
8649           not have username resolved.  The affected file is
8650           lib/silcclient/command_reply.c.  Also, changed the IDENTIFY
8651           command to WHOIS command to really resolve stuff.  The USERS
8652           is not used any more in any critical section so WHOIS can
8653           be used even though it might be slower than IDENTIFY.
8654
8655         * Changed the lib/silcutil/silchashtable.h header to ROBODoc
8656           format.
8657
8658 Sun Jun  3 14:21:32 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8659
8660         * Changed the protocol API a bit more consistent in the
8661           lib/silccore/silcprotocol.[ch].
8662
8663         * Changed the following headers to ROBODoc format:
8664
8665                 lib/silccore/silcpayload.h
8666                 lib/silccore/silcprotocol.h
8667                 lib/silccore/silcsockconn.h
8668
8669           All core library headers are now formatted.
8670
8671 Sat Jun  2 10:45:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8672
8673         * Fixed a bug in Irssi SILC client; do not show that you are
8674           server/router operator if you really are not.  Affected file is
8675           irssi/src/silc/core/client_ops.c.
8676
8677         * Renamed silc_command_free_payload to silc_command_payload_free.
8678           Affected file lib/silccore/silccommand.h
8679
8680         * Added silcmath.h to include the prototoypes of various routines
8681           in the lib/silcmath.  Removed the old modinv.h, mpbin.h and
8682           silcprimegen.h.
8683
8684         * Changed the following headers to ROBODoc format:
8685
8686                 lib/silccore/silcchannel.h
8687                 lib/silccore/silccommand.h
8688                 lib/silccore/silcid.h
8689                 lib/silccore/silcidcache.h
8690                 lib/silccore/silcmode.h
8691                 lib/silccore/silcnotify.h
8692                 lib/silccore/silcpacket.h
8693                 lib/silcmath/silcmath.h
8694
8695 Fri Jun  1 22:19:37 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8696
8697         * Added checking to the server code not to start the server if
8698           ciphers and stuff are not configured properly.  Affected files
8699           silcd/serverconfig.[h] and silcd/server.c.
8700
8701         * Changed the layout of the header files of the public interfaces
8702           in the SILC libraries.  The new layout supports ROBODoc
8703           documentation tool (and some others) so that it is easy to create
8704           a library reference manual.  All the other headers and source
8705           code must still follow the CodingStyle document.  Also source
8706           code must not include these ROBODoc stuffs, only the headers.
8707           Furthermore, all public interface headers must now be named
8708           by using `silc' prefix, example: silcapi.h, silccipher.h.
8709           Some files were renamed due to this.  All the other headers
8710           must not be used as public interfaces.  I will update the
8711           CodingStyle document later.  Changed following headers, so far:
8712
8713                 lib/silcclient/silcapi.h
8714                 lib/silccore/silcauth.h
8715                 lib/silccore/silcprivate.h
8716                 lib/silccrypt/silcdh.h
8717
8718 Fri Jun  1 10:28:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8719
8720         * Updated TODO.
8721
8722         * Removed silc_client_packet_send_flush from the client library
8723           as it is not needed.  Affected file lib/silcclient/client.[ch].
8724
8725         * Added printing of message of unresolved authentication method
8726           to the Irssi SILC client.  Added it to the module formats.
8727           Removed the same message from the client library.
8728
8729 Thu May 31 13:57:33 CEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8730
8731         * Added new distribution feature, DISTLABEL.  Every distribution
8732           can define own preprocessor label that can be used in the
8733           source code.  For example: #ifdef SILC_DIST_CLIENT.  Affected
8734           file distributions, acconfig.h.pre and prepare.
8735
8736 Tue May 29 22:16:40 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8737
8738         * Added Makefile.defines_int to include the actual definitions
8739           for Makefile.defines.in.  Tested the new distribution system,
8740           created distributions and tested installation.
8741
8742         * Added AWAY message printing to the Irssi SILC client.  Added
8743           the messages to the irssi/src/fe-common/silc/module-formats.[ch].
8744
8745         * Added SCONNECT command to call the SILC's CONNECT command.
8746           Cannot use CONNECT directly since Irssi uses that internally.
8747           Affected file irssi/src/silc/core/silc-servers.c.
8748
8749           Added ACTION local command.  It is same as ME command but takes
8750           the channel as mandatory argument.
8751
8752           Rewrote some of the Irssi's help files to suite for SILC
8753           protocol.
8754
8755 Mon May 28 19:05:22 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8756
8757         * Added Makefile.defines[.in] that should for now on be included
8758           in all Makefile.am file in the source tree.  That file includes
8759           all common compilation definitions for SILC source tree.
8760
8761 Mon May 28 10:30:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8762
8763         * Minor changes to the ./prepare script to change the package
8764           name according the distribution name to the configure.in.
8765
8766 Sun May 27 22:24:57 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8767
8768         * Created new distribution system.  Added file `distributions'
8769           that defines all the distributions that can be created out of
8770           the SILC source tree.  The ./prepare script now reads that
8771           file to determine how to prepare the distributions.  The
8772           first argument to the ./prepare is the name of the distribution
8773           and second is the version of the distribution.  If given
8774           without arguments it creates the default (toolkit) distribution
8775           with the default version (defined in ./prepare).
8776
8777           All Makefile.am files that are subject to the distributions
8778           are now named as Makefile.am.pre.  These are ./Makefile.am
8779           and lib/Makefile.am.  Others may be changed later.
8780
8781 Sun May 27 15:57:17 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8782
8783         * Added invite list, ban list, some key management and connection
8784           error message printing to module formats in the Irssi SILC client.
8785
8786         * Added new silc_client_set_away_message to set the away message
8787           that is back to the person who sent private message.  The
8788           affected file lib/silcclient/silcapi.h and the
8789           lib/silcclient/client_prvmsg.c.
8790
8791 Sun May 27 12:39:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8792
8793         * Fixed the private message sending in the Irssi SILC client,
8794           added local command KEY to the Irssi SILC client.
8795
8796           Added key management and key agreement message formats to the
8797           irssi/src/fe-common/silc/module-formats.[ch].
8798
8799           Added USERS (alias WHO) printing, server/router operator
8800           indication and LIST command printing to the module formats.
8801
8802 Sat May 26 17:43:42 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8803
8804         * Fixed channel joining notify handling, cumode notify handling
8805           from Irssi SILC client.
8806
8807         * Added SILC specific module-formats to the Irssi SILC client so
8808           that SILC specific message hilighting, colors etc is possible.
8809           Affected file irssi/src/fe-common/silc/module-formats.[ch].
8810
8811           Added channel mode, channel user mode, actions, notices,
8812           whois and whowas printing to the the module-formats.c.
8813
8814         * Fixed a bug in channel deletion in the server.  The channel
8815           is not left to the cache even if the channel founder auth mode
8816           is set when there are no users anymore on the channel.  Affected
8817           file silcd/server.c.
8818
8819         * The silc_net_localhost now resolves the entire hostname including
8820           the domain name.  Affected file lib/silcutil/silcnet.c.
8821
8822 Sat May 26 12:13:37 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8823
8824         * Changed the ask_passphrase client operation to be ascynchronous.
8825           It has now a completion callback and a context that the
8826           application must call after it has got the passphrase from
8827           the user.  Affected files lib/silcclient/silcapi.h,
8828           lib/silcclient/protocol.c, lib/silcclient/command.c and
8829           silc/client_ops.c.
8830
8831           Added SilcAskPassphrase callback that the application calls
8832           to deliver the passphrase to the library.
8833
8834         * Changed the SKE protocol's SilcSKEVerifyCb to be asynchronous.
8835           The public key verification and especially a certificate
8836           verification is asynchronous procedure.
8837
8838           Added new SILC_SKE_STATUS_PENDING status to indicate the
8839           request is pending and a callback will be called to finalize
8840           the request.
8841
8842           Added also SILC_SKE_STATUS_PUBLIC_KEY_NOT_PROVIDED status to
8843           indicate that remote end did not send its public key (or
8844           certificate), even though we require it.  Added check for this
8845           condition in the SKE.  This was a security bug, now fixed.
8846
8847           Defined new SilcSKEVerifyCbCompletion callback that is called
8848           when the verification process is completed.
8849
8850           The affected files lib/silcske/silcske_status.h and
8851           lib/silcske/silcske.[ch].
8852
8853         * Changed the verify_public_key client operation to be async
8854           as well.  Defined SilcVerifyPublicKey callback that is used to
8855           indicate the success of the public key verification process.
8856
8857           Changed the server and client to use the new async client
8858           operations.
8859
8860         * Changed the Irssi SILC client's internal scheduler to be called
8861           twice as many times as it used to be.  As a result the client
8862           should be a bit faster now.  Affected file is
8863           irssi/src/silc/core/silc-core.c.
8864
8865         * Added support to Irssi SILC client of asynchronous public key
8866           verification and passphrase inquiry.  Affected file is
8867           irssi/src/silc/core/silc-core.c.
8868
8869 Fri May 25 14:38:38 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8870
8871         * Do not say "You have left channel %s" in client library.
8872           Moved it to the application.  Affected files are
8873           lib/silcclient/command.c and silc/client_ops.c.
8874
8875         * Fixed silc_client_get_clients.  Command context was not
8876           duplicated and was freed memory in the callback.  Affected
8877           file lib/silcclient/idlist.c.
8878
8879         * Do not say "you are now talking..." on JOIN command in the
8880           client library.  The appliation must handle it.
8881
8882         * Do not say ".. changed topic to" in command reply in the
8883           client libary.  The application must handle it.
8884
8885         * Fixed TOPIC command sending in the client library.
8886
8887         * Fixed a memory leak in silc_client_command_free in the file
8888           lib/silcclient/command.c.
8889
8890 Thu May 24 19:08:55 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8891
8892         * Imported a modified version of Irssi client to the source tree.
8893           The Irssi will be used to create a new client called
8894           Irssi SILC.  Imported to irssi/.
8895
8896           Added silc_core_init_finish function to the Irssi.  Affected
8897           file irssi/configure.in.
8898
8899           A lot changes in the Makefile.ams around the irssi tree.
8900
8901 Tue May 22 22:23:49 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8902
8903         * Do not rehash if the new size is same as the old size of the
8904           hash table, in the silc_hash_table_rehash*.  The affected file
8905           lib/silcutil/silchashtable.c.
8906
8907         * Replaced hash_table_del_by_context calls from the server
8908           (when channel->user_list and client->channels) to the
8909           hash_table_del as it is sufficient and faster.
8910
8911 Tue May 22 17:27:16 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8912
8913         * Added silc_hash_table_list, silc_hash_table_get and the
8914           SilcHashTableList structure to provide an alternative way to
8915           traverse the hash table.  The affected files are
8916           lib/silcutil/silchashtable.[ch].
8917
8918         * Changed the server's idlist routines to use the hash table
8919           routines to optimize the code.
8920
8921 Mon May 21 21:46:20 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8922
8923         * Replaced the client entry's `channel' list and channel entry's
8924           `user_list' list to hash tables for optimized lookup.  Changed
8925           the code to use the hash table interface around the code.
8926           Affected file lib/silcd/idlist.[ch].
8927
8928         * Added `auto_rehash' boolean argument to the function
8929           silc_hash_table_alloc to indicate whether the hash table should
8930           auto-rehash when it thinks is appropriate time.  It will
8931           increase the hash table size if the there is twice as much
8932           entries in the table than the size of the table, and will
8933           decrease the size if there are twice as less entries than
8934           the size of the table.
8935
8936 Mon May 21 09:51:11 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8937
8938         * Fixed silc_xxx_get_supported to not crash at some circumstances.
8939
8940 Sun May 20 13:45:58 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8941
8942         * silc_idcache_purge_by_context deletes the entry now by context
8943           as it is supposed to do.  Affected file lib/silccore/idcache.c.
8944
8945         * Send the ERR_NO_SUCH_NICK in the WHOIS command reply if the
8946           client is not anymore valid (WHOWAS givens the info) and not
8947           the ERR_NO_SUCH_CLIENT_ID if the nickname still exists.
8948
8949 Sat May 19 16:30:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8950
8951         * Removed the `data' and `data_len' arguments from the ID Cache
8952           interfaces and added `name' argument.  ID Cache does not handle
8953           anymore the binary data only a names associated with given ID.
8954
8955         * When hashing a Client ID with silc_hash_id the entire ID is
8956           not hashed anymore, instead only the hash of the Client ID is
8957           hashed.  This way we can access the Client ID from the cache
8958           with Client ID but with the hash of the ID (which is a hash of
8959           the nickname) as well without any difference in performance.
8960
8961           Added also silc_idcache_find_by_id_one_ext to do one on one
8962           searching when we have the actual ID.  Added also function
8963           silc_hash_client_id_compare.  The affected files are
8964           lib/silccore/idcache.[ch] and lib/silcutil/silcutil.[ch].
8965
8966         * When hashing the name associated with a ID it is always done
8967           in lowercase.  This way we can access the cache without worrying
8968           about case-sensitivity, even though, for example nicknames are
8969           case sensitive.
8970
8971         * Fixed a bug in server with channel message sending.  It put
8972           wrong ID type as destination ID.  The affected file
8973           silcd/packet_send.c.
8974
8975         * silc_idcache_del_by_context now deletes from all hash tables
8976           by context.  Affected file lib/silccore/idcache.c.
8977
8978 Fri May 18 17:42:00 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8979
8980         * Changed the client library to use the new ID Cache interface.
8981           Changes around the source tree.
8982
8983         * Added silc_hash_table_rehash_ext to rehash with specific
8984           hash function.  Affected file lib/silcutil/silchashtable.[ch].
8985
8986         * Added silc_hash_string_compare to compare two strings in the
8987           hash table.  Affected file lib/silcutil/silcutil.[ch].
8988
8989 Fri May 18 11:18:45 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8990
8991         * Added new function silc_idcache_del_by_context into the
8992           lib/silccore/idcache.[ch].
8993
8994         * Changed the server's ID list routines to use the new ID Cache
8995           interface.  Changes around the source tree.
8996
8997 Fri May 18 08:35:31 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
8998
8999         * Added silc_hash_table_del[_by_context]_ext functions in to the
9000           lib/silcutil/silchashtable.[ch].
9001
9002           Removed silc_hash_table_find_all* routines and added new
9003           silc_hash_table_find_foreach to replace them.
9004
9005           Added silc_hash_table_replace_ext function as extended
9006           replacing function.  Separated the simple hash table interface
9007           from the extended hash table interface in the file
9008           lib/silcutil/silchashtable.h.
9009
9010         * Fixed minor bugs and changed it to use some of the new
9011           hash table functions in lib/silccore/idcache.c
9012
9013 Thu May 17 18:15:12 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9014
9015         * Added new function silc_hash_table_find_all to return all keys
9016           in the hash table by the specified key.  As the hash table is
9017           collision resistant it also makes it possible to have several
9018           duplicate keys in the hash table.  This function may be used to
9019           find all of the keys from the hash.
9020
9021           Added user_context arguments to the SilcHashFunction,
9022           SilcHashCompare and SilcHashDestructor to deliver user specified
9023           context.
9024
9025           Added new fuctions silc_hash_table_find[_all]_ext to do
9026           extended lookup with specified hash and compare functions and
9027           specified user contexts.
9028
9029           Added new function silc_hash_table_add_ext to add the key
9030           with specified hash function and user context.
9031
9032           Added new function silc_hash_table_foreach to traverse all
9033           entrys in the hash table.  Added SilcHashForeach callback
9034           function.
9035
9036           Added new function silc_hash_table_del_by_context to delete
9037           the entry only if the context associated with the key matches.
9038
9039           Affected files are lib/silcutil/silchashtable.[ch].
9040
9041         * Removed silc_hash_[server/client/channel]_id and added just
9042           silc_hash_id to the lib/silcutil/silcutil.[ch].  Added also
9043           silc_hash_id_compare to compare two ID's using as the hash table
9044           comparison function.  Added also silc_hash_data to hash
9045           binary data and silc_hash_data_compare to compare it.
9046
9047         * Removed silc_idlist_find_client_by_hash as it is not needed
9048           anymore.  Affected file silcd/idlist.[ch].
9049
9050         * Rewrote the entire ID Cache system (in lib/silccore/idcache.[ch])
9051           to use internally the SilcHashTable.  The new ID Cache is a lot
9052           faster than the old one.  Some of the ID Cache interface was also
9053           rewritten and obsolete and stupid functions were removed.
9054
9055 Wed May 16 23:03:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9056
9057         * Added entry_count field to the SilcHashTable to keep the number
9058           of the entries in the table.  Implemented the function
9059           silc_hash_table_rehash.  Added new function
9060           silc_hash_table_count.  Affected file lib/silcutil/silchashtable.c.
9061
9062           Fixed a minor bug in silc_hash_table_free.
9063
9064         * Added silc_hash_string, silc_hash_uint, silc_hash_ptr,
9065           silc_hash_client_id, silc_hash_server_id and silc_hash_channel_id
9066           into the lib/silcutil/silcutil.[ch].
9067
9068 Wed May 16 20:02:47 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9069
9070         * Implemented a collision resistant hash table into the
9071           lib/silcutil/silchashtable[ch].  See the header and the source
9072           for the SilcHashTable API.
9073
9074 Tue May 15 22:05:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9075
9076         * Merged dotconf version 1.0.2 into lib/dotconf.
9077
9078 Sun May 13 19:32:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9079
9080         * Do not compile anything in lib/silcsim/* if the SIM support
9081           is not enabled.  The tree should now compile without problems
9082           under cygwin.
9083
9084 Thu May 10 22:49:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9085
9086         * Compiled the SILC under cygwin.  Compiled and tested briefly
9087           without problems.  More tests needed.  The SIMs didn't compile
9088           though.
9089
9090         * Added various #ifdef HAVE_* stuff to lib/silccrypt/silrng.c.
9091
9092         * Fixed possible crash in silc_get_username in the
9093           lib/silcutil/silcutil.c.
9094
9095 Tue May  8 09:04:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9096
9097         * Fixed a va_arg in silc/client_ops.c.
9098
9099         * Oops, RC5 routines were named AES and caused some problems
9100           when not using SIM's.  Affected file lib/silccrypt/rc5.c.
9101
9102 Sun May  6 13:59:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9103
9104         * Added new SilcIDIP structure into the lib/silccore/id.h and
9105           replaced the old `ip' fields from all SILC ID's to that type.
9106           This is a step towards IPv6 support.
9107
9108           The silc_id_get_len takes now the ID as an extra argument.
9109           The silc_id_id2str, silc_id_str2id and silc_id_dup now supports
9110           both IPv4 and IPv6 based ID's.
9111
9112           The affected files are lib/silccore/id.[ch] and other files
9113           around the tree using these routines.
9114
9115         * Removed the ID length arguments in server from various
9116           silc_server_send_notify_* routines -> they are not needed
9117           anymore.
9118
9119 Sat May  5 13:56:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9120
9121         * Fixed memory leak in silc_encode_pem_file in the file
9122           lib/silcutil/silcutil.c.
9123
9124 Thu May  3 21:23:50 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9125
9126         * Check minor version as well in the SKE.  Affected files are
9127           silcd/protocol.c and lib/silcclient/protocol.c.
9128
9129         * Added --identifier option to the server so that an identifier
9130           can be when creating the public key for the server.  Affected
9131           file is silcd/silcd.c.
9132
9133         * Fixed minor decoding bug in silc_pkcs_decode_identifier in
9134           lib/silccrypt/silcpkcs.c.
9135
9136 Wed May  2 20:50:49 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9137
9138         * Register default ciphers and stuff when using -C option with
9139           the server.  Affected file sildc/silcd.c.
9140
9141         * Put back the servers public key filename format, it is better
9142           than the new one.  For now, the client keys are saved with the
9143           new filename format.  The affected file silc/client_ops.c.
9144
9145         * Implemented the Cipher API for the rest of the ciphers that
9146           did not implement it or implemented it the wrong way.
9147
9148 Wed May  2 13:31:26 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9149
9150         * Register default ciphers and stuff when using the -S option
9151           in the client.  Affected file silc/silc.c.  Same also when
9152           creating new key pair with -C option.
9153
9154 Tue May  1 14:18:13 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9155
9156         * Fixed the silc_verify_public_key client operation function to
9157           save the public keys differently.  The fingerprint is now
9158           used as filename and not the hostname.  This way also the
9159           client keys are saved uniquely and not with hostnames.  The
9160           affected file is silc/client_ops.c.
9161
9162         * Trimmed the silc_hash_fingerprint function to remove extra
9163           whitespaces from the end of the fingerprint.  The affected
9164           file is lib/silccrypt/silchash.c.
9165
9166         * Updated TODO.
9167
9168         * Added silc_cipher_register_default function to register all
9169           default ciphers.  It can be used when configuration files
9170           does not exist and the application does not want any specific
9171           ciphers in any specific order.
9172
9173           The SilcDList is now used as silc_cipher_list dynamically
9174           allocated cipher list.  Removed the static list all together
9175           and now all ciphers must be allocated to the dynamic list.
9176           The silc_cipher_alloc routine was changed to check only the
9177           dynamic list.
9178
9179           All silc_cipher_* routines that used to return int returns
9180           now bool.
9181
9182           The affected files lib/silccrypt/silccrypt.[ch].
9183
9184         * The same thing was done to silc_hash_* as for silc_cipher_*
9185           routines.  Affected files lib/silccrypt/silchash.[ch].
9186
9187         * The same thing was done to silc_pkcs_* as for silc_cipher_*
9188           routines.  Affected files lib/silccrypt/silcpkcs.[ch].
9189           Added also silc_pkcs_[un]register[_default] functions.
9190           Removed the data_context from the PKCS API.
9191
9192         * Added silc_hmac_register_default function to register default
9193           hmacs.  Affected files lib/silccrypt/silchmac.[ch].  Added also
9194           SILC_ALL_HMACS macro that can be used with silc_hmac_unregister
9195           to unregister all hmacs at once.
9196
9197         * Register the default ciphers, hash functions, PKCSs and HMACs
9198           if client's configuration file does not exist.  The affected
9199           file silc/silc.c.
9200
9201         * The client did not load the hash functions from the SIM
9202           modules at all.  Added support for this.  Affected file is
9203           silc/clientconfig.c.
9204
9205         * When decoding public key with silc_pkcs_public_key_decode, check
9206           the supported algorithm only if PKCS are registered.  Affected
9207           file lib/silccrypt/silcpkcs.c.  The same was done with the
9208           silc_pkcs_private_key_decode.
9209
9210         * Fixed the SILC List routines to keep the list always in order.
9211           It used to change the list's order when traversing the list but
9212           not it preserves the order.  Affected file lib/trq/silclist.h.
9213
9214 Mon Apr 30 17:29:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9215
9216         * Added the client library to use the SilcSocketConnection's
9217           reference counter (by silc_socket_dup) to prevent the bug that
9218           the socket object may be freed underneath async operation.
9219
9220         * The name resolv library checking fixes in the configure.in.pre.
9221           The patch by salo.
9222
9223         * Created new version of the protocol drafts for future
9224           development. The -03 drafts are the ones that will be changed
9225           in the trunk now and the -02 will remain as they are.
9226
9227         * Send list of CUMODE notifys to the router when announcing
9228           the channel users to the router.  Affected file silcd/server.c.
9229           If the router receiving channel founder CUMODE for a channel
9230           that already has channel founder it will send CUMODE notify
9231           to the sender to remove the channel founder rights from the
9232           announced client.  Affected file silcd/packet_receive.c.
9233
9234         * The CUMODE notify may now use Server ID as well as the entity
9235           who changes the mode.  Updated protocool specs.
9236
9237         * Updated INSTALL and README files.
9238
9239 Sun Apr 29 23:17:50 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9240
9241         * New web pages in the http://silc.pspt.fi.  The pages was
9242           designed by salo.
9243
9244         * Updated CREDITS.
9245
9246 Sun Apr 29 13:33:41 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9247
9248         * Implemented the [DenyConnectin] config section in the server.
9249           Added silc_server_config_denied_conn to check whether incoming
9250           connection is denied.  Affected file silcd/serverconfig.[ch].
9251
9252         * Do not check the ports when checking the incoming configuration
9253           data if the port is 0, meaning any.  Affected file is
9254           silcd/serverconfig.c.
9255
9256 Fri Apr 20 18:58:43 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9257
9258         * Fixed buffer overflow in silc_string_compare in the file
9259           lib/silcutil/silcutil.c.
9260
9261         * Fixed double free in silc_server_command_leave in the file
9262           silcd/command.c.
9263
9264 Fri Apr 20 14:00:11 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9265
9266         * Fixed the version checking in the server.  Affected file is
9267           silcd/protocol.c.
9268
9269 Thu Apr 19 19:52:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9270
9271         * Fixed the configuration data fetching when accepting new
9272           connections in the server.  Affected file silcd/server.c.
9273
9274 Thu Apr 19 11:40:20 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9275
9276         * Added `sender_entry' argument to the function
9277           silc_server_packet_relay_to_channel so that we can check
9278           whether some destination actually belongs to the same route
9279           the sender belongs (ie, we must not resend the packet to the
9280           sender).  Affected file silcd/packet_send.[ch].
9281
9282         * Added `servername' field to the SilcClientEntry in the server
9283           to hold the name of the server where client is from.  Affected
9284           file is silcd/idlist.h.
9285
9286 Wed Apr 18 22:19:03 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9287
9288         * Moved the channel message encrypting in the router betwen
9289           router connections from silc_server_channel_message to the
9290           silc_server_packet_relay_to_channel since we want to check
9291           whether we have anybody channel before encrypting anything.
9292           Affected files silcd/packet_[receive/send].c.
9293
9294 Tue Apr 17 21:18:19 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9295
9296         * Fixed the [AdminConnection] server config section to support
9297           multiple entries.  Affected file silcd/serverconfig.c.
9298
9299         * Added support into the server to check the validity of the
9300           incoming connection before executing any KE or authentication
9301           protocols.
9302
9303         * The connection configuration is now saved to the KE and
9304           connection auth protocol contexts and not fetched anymore in
9305           the protocol.  Affected files silcd/server.c, silcd/protocol.[ch].
9306
9307         * The local hosts listenning address and port is also resolved
9308           now when starting the server.  We want to have the socket object
9309           to include the real address and port for the listener.  Added
9310           new function silc_net_check_local_by_sock into the files
9311           lib/silcutil/silcnet.[ch].
9312
9313         * Fixed a broadcast bug in server -> do not broadcast if we
9314           are standalone.
9315
9316         * Fixed a routing bug.  Do not route broadcast packets ever.
9317           Broadcast packets must be processed always and not routed since
9318           they may be destined to some other host than yourself and thus
9319           would get routed without no good reason.  Affected file is
9320           silcd/server.c.
9321
9322         * Added function silc_server_config_is_primary_route to check
9323           whether primary router connection has been configured (a router
9324           configuration that we are initiating).  If there is not, we
9325           will assume that there is only two routers in the SILC network
9326           and we will use the incoming router connection as our primary
9327           route.  Affected files silcd/serverconfig.[ch], silcd/server.c.
9328
9329         * Changed the order of the broadcasting.  Broadcast _after_ the
9330           packet has been processed not before.  Affected file is
9331           silcd/server.c.
9332
9333         * Fixed a [ClientConnection] parsing bug.  The port was never
9334           parsed correctly thus resulting to port 0.  Affected file
9335           silcd/serverconfig.c.
9336
9337         * Fixed silc_server_send_notify_args -> it ignored the `broadcast'
9338           argument and did not set the broadcast packet flag.  Affected
9339           file silcd/packet_send.c.  Fixed same bug in the function
9340           silc_server_send_notify as well.
9341
9342         * If we receive NEW_ID packet for our own ID in the server, ignore
9343           the packet.
9344
9345 Mon Apr 16 12:10:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9346
9347         * Updated TODO.
9348
9349         * Removed the nickname from the Private Message Payload.
9350           Updated the code and the protocol specs.
9351
9352         * Updated protocol specs for submitting to the IETF.
9353
9354         * Tweaked the Random Number Generator a bit.  Affected file
9355           lib/silccrypt/silcrng.c.  Exported a new function
9356           silc_rng_[global]_add_noise which can be used to add more
9357           noise to the RNG.
9358
9359 Sat Apr 14 16:21:32 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9360
9361         * Do not parse packets with different timeout when protocol
9362           is active -> may cause problem with rekey.  Affected file
9363           silcd/server.c.
9364
9365         * When server receives signoff notify it must not create
9366           new channel key if the client is on any channels since the
9367           sender of the signoff notify will create it.
9368
9369 Fri Apr 13 17:12:46 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9370
9371         * Added printing of error messages during SKE protocol from the
9372           failure packet sent by server during SKE.  Affected file
9373           silc/client_ops.c.
9374
9375         * Removed the client's failure_callback handling with timeout
9376           and handle it immediately when received.
9377
9378         * The SKE library returned wrong type in SUCCESS and FAILURE
9379           packets.  They must be 32 bit MSB not 16 bit MSB.
9380
9381 Fri Apr 13 00:09:08 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9382
9383         * Ok, rewrote the logic of the re-key and now it seems to work.
9384           I tested it on high traffic with frequent re-keys without
9385           problems.  Added hmac_receive (and renamed hmac to hmac_send)
9386           in SilcClientConnection in lib/silcclient/client.h and
9387           in SilcIDListData in silcd/idlist.h.  Also, removed the
9388           SilcPacketParserContext's cipher and hmac fields as they are
9389           not needed anymore and actually caused some problems when
9390           the ciphers and hmac's changed underneath the packet parser.
9391
9392 Thu Apr 12 14:42:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9393
9394         * If re-key protocol is active then process the incoming packets
9395           synchronously since we must assure that icoming packets encrypted
9396           with the old key is processed before the new keys is set to
9397           use.  This is true other packets than for REKEY packets.
9398           Affected file silcd/server.c.  The same was done to client library
9399           as well, affected file lib/silcclient/client.c.
9400
9401 Thu Apr 12 12:01:52 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9402
9403         * Fixed bug in client and server to accept the force send if
9404           the packet is send from silc_[server/client]_packet_process
9405           function.  Otherwise the packets are never delivered, oops.
9406
9407 Wed Apr 11 22:10:15 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9408
9409         * Disable force sending of packets when REKEY protocol is active.
9410           We must assure that no packet is sent directly when rekey is
9411           performed.  All packets must be sent through packet queue.
9412           Added macro SILC_SERVER_IS_REKEY to silcd/server.h and
9413           SILC_CLIENT_IS_REKEY to lib/silcclient/client.h.  Affected
9414           function is silc_[server/client]_packet_send_real to check
9415           the situation.
9416
9417         * Replaced the SIM paths from example config files to
9418           /usr/local/modules.  Also, make install creates now
9419           /usr/local/silc/logs directory to hold all the SILC server
9420           logs.
9421
9422 Wed Apr 11 16:59:59 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9423
9424         * Made the configure.in.pre work on Solaris.  Patch by salo.
9425
9426         * Made all ciphers compatible with non-x86 machines.  Defined
9427           CBC mode macros into lib/silccrypt/ciphers_def.h.
9428
9429 Tue Apr 10 20:32:44 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9430
9431         * Fixed the make install.
9432
9433 Tue Apr 10 16:20:34 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9434
9435         * When MAC computation fails the silc_packet_decrypt returned 0
9436           even though it was supposed to return -1.  Fixed this.  The
9437           affected file is lib/silccore/silcpacket.c.
9438
9439         * Do not replace the config files in /etc/silc (in make install)
9440           if they already exist.  Affected file ./Makefile.am.
9441
9442         * Do not send re-key packets immediately but through packet queue.
9443           Affected file silcd/protocol.c and lib/silcclient/protocol.c.
9444
9445         * Changed silc_net_check_host_by_sock to return FALSE if the
9446           IP/DNS could not be resolved.  Though, it returns the IP address
9447           now even if it could not resolve it (but returns also FALSE).
9448           Affected file lib/silcutil/silcnet.[ch].
9449
9450 Mon Apr  9 21:54:44 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9451
9452         * Added silc_pkcs_decode_identifier to decode the public key's
9453           identifier.  Affected file lib/silccrypt/silpkcs.[ch].
9454           Added also silc_pkcs_free_identifier.  Added also new context
9455           SilcPublicKeyIdentifier.
9456
9457         * Added -S option to the silc client.  It is used to dump the
9458           contents of the specified public key file.
9459
9460         * Changed the PKCS api to return the public key length when
9461           setting the public key.
9462
9463         * Fixed a fatal bug in the public and private key file loading.
9464           Affected file lib/silccrypt/silcpkcs.c.
9465
9466         * Execute the packet parsing for client with zero (0) timeout
9467           if the protocol is active.  Affected file silcd/server.c.
9468
9469 Sun Apr  8 19:30:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9470
9471         * Made the key generation options to the silcd program.  Added
9472           -C option, equivalent to client's option.
9473
9474         * Added new [ServerKeys] config section to the server.  It
9475           configures the server's public and private key.
9476
9477         * Defined generic Public Key Payload into the protocol
9478           specification to send specific type of public keys and
9479           certificates.
9480
9481         * Defined new command SILC_COMMAND_GETKEY to fetch a client's
9482           public key or certificate.
9483
9484         * Implemented the GETKEY command to the server and to the
9485           client library and on user interface.
9486
9487 Sun Apr  8 01:37:21 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9488
9489         * Made preliminary `make install' work.
9490
9491 Thu Apr  5 17:42:30 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9492
9493         * Added SilcServerRekey context into silcd/idlist.h.
9494
9495         * Added the PFS support as defined in the specification to the
9496           SKE protocol.  Affected files lib/silcske/*.c.
9497
9498         * Added `ske_group' field to the SilcServerRekey context to hold
9499           the number of the SKE group that is used with PFS in re-key.
9500           Affected file silcd/idlist.h.
9501
9502         * Added PFS re-key support to the server.  Affected file is
9503           silcd/protocol.c.
9504
9505         * Added silc_protocol_cancel to cancel execution of the next
9506           state of the protocol.  Affected file is
9507           lib/silccore/silcprotocol.[ch].
9508
9509         * Added the re-key support with and without PFS to the client
9510           library.  Re-key is performed once in an hour, by default.
9511
9512           Added new protocol type SILC_PROTOCOL_CLIENT_REKEY.
9513           Added silc_client_rekey_callback and silc_client_rekey_final.
9514           Affected files are lib/silcclient/protocol.[ch] and
9515           lib/silcclient/client.[ch].
9516
9517         * Removed the `hmac_key' and `hmac_key_len' fields from the
9518           SilcClientConnection structure; not needed.  Affected file is
9519           lib/silcclient/client.h.
9520
9521         * Updated TODO.
9522
9523 Wed Apr  4 16:32:31 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9524
9525         * Do not ask whether user wants to use the negotiated private key
9526           for private messages, just use it.  Affected file is
9527           silc/local_command.c.
9528
9529         * Added `send_enc_key' and `enc_key_len' fields to the
9530           SilcIDListData structure since they are needed in the re-key
9531           phase.  Affected file is silcd/idlist.[ch].
9532
9533         * Implemented the simple re-key protocol into the server.
9534           Affected files silcd/server.c and silcd/protocol.[ch].  The
9535           re-key will be performed once in an hour, by default.
9536
9537           Added new protocol type SILC_PROTOCOL_SERVER_REKEY.
9538           Added silc_server_rekey, silc_server_rekey_callback and
9539           silc_server_rekey_final.
9540
9541         * Removed Tunneled flag from the protocol.  Updated the code
9542           and the specifications.
9543
9544         * Adde `pfs' field to the SilcIDListData to indicate whether
9545           the PFS is to be performed in the re-key.  Affected file is
9546           silcd/idlist.h.
9547
9548 Tue Apr  3 21:52:42 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9549
9550         * Defined uint8, int8, uint16, int16, uint32, int32, uint64 and
9551           int64 of at least the xintXX size.  If void * is less that 4
9552           bytes uint32 * will be used.  Defined bool as boolean.
9553
9554         * Changed _ALL_ unsigned long and unsigned int to uint32,
9555           unsgined short to uint16 in the source tree.
9556
9557         * Fixed a fatal bug in silc_server_remove_clients_by_server.  Do
9558           not handle clients that has entry->data.registered == FALSE.
9559           They are not in the network anymore.  Affected file is
9560           silcd/server.c.
9561
9562 Tue Apr  3 16:39:19 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9563
9564         * Implemented the sending of the SERVER_SIGNOFF notify in the
9565           server.  Affected file is silcd/server.c.
9566
9567         * Added silc_server_send_notify_args into silcd/packet_send.[ch].
9568           Added also silc_notify_payload_encode_args into the
9569           lib/silccore/silcnotify.[ch].
9570
9571         * Implemented ther SERVER_SIGNOFF notify handling in the server.
9572           Affected file silcd/packet_receive.c.
9573
9574         * Implemented the SERVER_SIGNOFF notify handling in the client
9575           library.  Affected file lib/silcclient/client_notify.c.  Also,
9576           implemnted the printing of the SERVER_SIGNOFF info to the
9577           application.  Affected file silc/client_ops.c.
9578
9579         * The silc_idlist_del_server now returns TRUE or FALSE to indicate
9580           if the deleting was successful.  Affected file silcd/idlist.[ch].
9581
9582         * Added support for public key authentication in the connection
9583           authentication protocol in the client library.  Affected file
9584           lib/silcclient/protocol.c.
9585
9586         * Changed the server's silc_idlist_get_clients_by_* interface
9587           to support already allocated array so that new entries may be
9588           added to pre-allocated array.  Affected file silcd/idlist.[ch].
9589           This fixes some bugs with WHOIS, WHOWAS and IDENTIFY commands
9590           and command replies.
9591
9592         * All command reply functions in the server now calls the
9593           pending command callback even if error occured.  This way the
9594           error will be delivered to the client as well.  Affected files
9595           silcd/command.c and silcd/command_reply.c.
9596
9597         * Fixed INFO command to return local server's info if no server
9598           was provided.  Affected file lib/silcclient/command.c.
9599
9600         * Removed RESTART command for good.  Updated the code and the
9601           protocol specs.
9602
9603         * Rewrote parts of the task system.  It is a bit simpler now.
9604           Removed unsued task priorities. The affected files are
9605           lib/silcutil/silctask.[ch].
9606
9607 Mon Apr  2 20:02:33 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9608
9609         * Moved the USERS printing from the library to the application.
9610           Affected files lib/silcclient/command.c and silc/client_ops.c.
9611
9612 Mon Apr  2 13:13:23 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9613
9614         * Updated TODO.
9615
9616         * Added channel key re-key support.  The re-key is perfomed
9617           only by the router and is done once in an hour.  Added `rekey'
9618           field to the SilcChannelEntry in the server.  Affected files
9619           silcd/server.c and silcd/idlist.h.
9620
9621         * Added silc_task_unregister_by_context into the file
9622           lib/silcutil/silctask.[ch].
9623
9624 Sun Apr  1 19:49:34 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9625
9626         * Added SILC_UMODE_GONE mode to indicate when the client is not
9627           present in the SILC network.  Added also support to the local
9628           command AWAY that will set this mode.  Added support of showing
9629           "xxx is gone" in WHOIS command.  The USERS command shows the
9630           gone status as well.
9631
9632         * Fixed setting server and router operator privileges in the
9633           server's UMODE command.  Affected file silcd/command.c.
9634
9635         * Merged the SKE KE1 and KE2 payloads into one payload.  The
9636           new KE payload is equivalent to the old KE2 payload.
9637
9638           Cleaned up the SKE Start Payload parsing.  It now uses the
9639           simple buffer unformatting to do the parsing.  A lot faster
9640           now.
9641
9642           Added new Mutual Authentication flag (SILC_SKE_SP_FLAG_MUTUAL)
9643           to the SKE that is used to indicate whether both of the SKE
9644           parties should perform authentication.  By default only the
9645           responder performs authentication.  By setting this flag also
9646           the initiator must do authentication.  By default it is unset
9647           since in normal SKE case, client to server connection, only
9648           the responder should do authentication.  When doing SKE between
9649           two clients both should perform authentication.  Updated the
9650           code and the protocol specs.
9651
9652         * A little fix to IDENTIFY command in the server.  Search the
9653           client first by hash not nickname.  Affected file is
9654           silcd/command.c.
9655
9656         * Fixed the silc_client_close_connection to support closing
9657           the client to client connections wihtout deleting too much
9658           data.  Affected file lib/silcclient/client.c.
9659
9660         * Fixed a fatal bug in server and client; if KE1 or KE2 packets
9661           are received if protocol used to be active but is not anymore
9662           the application would crash due to NULL pointer dereference.
9663           Affected files silcd/server.c and lib/silcclient/client.c.
9664
9665         * Added `hash' field to the SilcClientConnection to include
9666           the hash function negotiated in the SKE protocol.
9667
9668         * Added new channel mode SILC_CMODE_FOUNDER_AUTH that is used
9669           to set the channel founder authentication data.  A client can
9670           claim the founder rights later by providing the authentication
9671           data to the CUMODE command using SILC_CUMODE_FOUNDER mode.
9672           This way the channel founder can regain the channel founder
9673           privileges even it is left the channel.  This works only on
9674           local server and the client must be connected to the same
9675           server to be able to regain the founder rights.  Updated the
9676           protocol specs accordingly.
9677
9678           Added support to the CMODE command in the client to set the
9679           founder auth data.  Read the README to see how to set it.
9680
9681           Added support to the CUMODE command to claim the founder
9682           rights.  Read the README to see how to do it.
9683
9684           Added support for the founder authentication to the Channel
9685           Entry in the server.  Affected file silcd/idlist.h.
9686
9687           Added support for the SILC_CMODE_FOUNDER_AUTH mode in the
9688           server's CMODE command.  Affected file silcd/command.c.
9689
9690         * Added the following new functions into lib/silccore/silcauth.[ch]:
9691           silc_auth_get_method and silc_auth_get_data.
9692
9693         * The server now saves the remote hosts public key to the
9694           SilcIDListData pointer.  Affected file silcd/protocol.c.
9695
9696         * The normal server now does not remove the channel entry from
9697           the cache if the founder authentication data is set.  It used
9698           to remove it if the founder was the last one on the channel on
9699           the server and left the channel.  The auth data is saved and
9700           if the channel is re-joined later the old entry is used with
9701           the old auth data.  Affected files silcd/command_reply.c and
9702           silcd/server.c.
9703
9704         * Removed the `pkcs' field from the SilcIDListData structure
9705           in the server; it is not used.  Affected file silcd/idlist.h.
9706
9707 Sat Mar 31 15:38:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9708
9709         * Fixed packet processing on slow links.  Partial packets were
9710           never re-processed because the incoming data buffer was cleared
9711           by the application.  Application must not directly clear the
9712           sock->inbuf, the packet processing routines handle it.  Fixed
9713           this in client library and in server.
9714
9715 Fri Mar 30 16:35:27 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9716
9717         * Fixed the WHOIS and IDENTIFY send reply function to really
9718           check whether to send list or just one entry.  Affected file
9719           silcd/command.c.
9720
9721         * Cleaned up the LEAVE command's channel key distribution.  The
9722           affected file silcd/command.c.
9723
9724         * Changed CMODE_CHANGE's <Client ID> to <ID Payload> as server
9725           can enforce the channel mode as well.  In that case the ID
9726           includes the ID of the server.  The code now enforces the
9727           mode change if the router have different mode than the server.
9728
9729         * The notify client operation with CMODE_CHANGE notify can now
9730           return NULL client_entry pointer if the CMODE was not changed
9731           by client.  Application must check for this.
9732
9733         * Added <Server ID> argument to INFO command to support server
9734           info fetching by Server ID.
9735
9736         * Added silc_server_announce_get_channel_users to get assembled
9737           packets of channel users of the specified channel.  Affected
9738           file silcd/server.[ch].
9739
9740         * Fixed bug in CHANNEL_CHANGE notify in the server.  The new ID
9741           was freed underneath the ID Cache.
9742
9743         * Re-announce clients when the server received CHANNEL_CHANGE
9744           notify from the router.  Affected file silcd/packet_send.c.
9745
9746 Thu Mar 29 19:10:28 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9747
9748         * Fixed a fatal bug when client does /join 1 2 3 4 5 6 the server
9749           crashed since it did not handle the fact that there is no cipher
9750           called "3" and didn't check the error condition.  Now fixed.
9751
9752         * Added SILC_MESSAGE_FLAG_REQUEST message flag as generic request
9753           flag.  It can be used to send message requests.
9754
9755 Thu Mar 29 12:26:25 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9756
9757         * Implemented the RESTART command in the client.
9758
9759         * Added SILC_MESSAGE_FLAG_NOTICE message flag for informational
9760           notice type messages.  Added notice printing to the user
9761           interface.
9762
9763         * The channel keys are not re-generated if the channel's mode
9764           is PRIVKEY, ie private key on the channel exists.  Affected
9765           files silcd/server.c and silcd/command.c.
9766
9767         * Fixed a little bug in channel message delivery when channel
9768           private keys are set in the server.  Affected file is
9769           silcd/packet_send.c.
9770
9771         * Changed the setting on channel->on_channel = TRUE from the
9772           silc_client_save_channel_key to the JOIN command reply.  The
9773           key payload is not received if the private channel key is set.
9774           Affected file lib/silcclient/command_reply.c and the
9775           lib/silcclient/client_channel.c.
9776
9777         * When the CMODE_CHANGE notify is sent and the channel private
9778           key mode is removed the channel key must be re-generated in
9779           other cells as well.  Added this support for the router in the
9780           silcd/packet_receive.c.
9781
9782         * Added new local command NOTICE to send notice message on
9783           channel.  Affected file silc/local_command.[ch].
9784
9785 Wed Mar 28 23:55:54 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9786
9787         * Added new local command ME to the client.  It is used to send
9788           message to a channel with SILC_MESSAGE_FLAG_ACTION to indicate
9789           some action.  Affected file silc/local_command.[ch].
9790
9791         * Changed channel_message and private_message client operations
9792           to deliver the message flags to the application.  Added also
9793           the `flags' arguments to the silc_client_send_channel_message
9794           and silc_client_send_private_message functions.  Affected file
9795           silcapi.h.
9796
9797 Wed Mar 28 20:50:47 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9798
9799         * Redefined the Private Message Payload to support private message
9800           keys and to support the new private message flags.  Updated
9801           the protocol specs.  Flags makes it possible to have for example
9802           CTCP style messages.
9803
9804         * Added new type SilcPrivateMessagePayload and defined an API
9805           for it in the lib/silcclient/silcprivate.[ch].
9806
9807         * Tested private message private keys successfully.  Tested the
9808           private message key set, unset and list commands with the new
9809           KEY command.
9810
9811         * Redefined the Channel Message Payload to include the channel
9812           message flags (equal with private message flags) to support
9813           for example CTCP style messages.
9814
9815         * Defined some of the message (for channel and private message)
9816           flags.  Updated the protocol specs and added the flags to the
9817           lib/silccore/silcchannel.h.  The type is SilcMessageFlags.
9818
9819 Wed Mar 28 15:52:36 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9820
9821         * Added SilcKeyAgreementStatus type to the key agreement routines
9822           to indicate the current status and error if one occured.
9823           The status types are defined in the lib/silcclient/silcapi.h.
9824
9825         * Added new local command KEY that is used to set and unset private
9826           keys for channels, set and unset private keys for private messages
9827           with remote clients and to send key agreement requests and
9828           negotiate the key agreement protocol with remote client.  The
9829           key agreement is supported only to negotiate private message keys,
9830           it currently cannot be used to negotiate private keys for channels,
9831           as it is not convenient for that purpose.
9832
9833         * Fixed a minor pending callback setting bug in the function
9834           silc_client_get_client_by_id_resolve, now the function works.
9835           Affected file lib/silcclient/idlist.c.
9836
9837         * Added function silc_net_get_local_port to get local bound
9838           port by socket.  Added to lib/silcutil/silcnet.[ch].
9839
9840         * Added `sockets' and `sockets_count' fields to the SilcClient
9841           object.  They hold the sockets of the listenning sockets in
9842           the client.  Listenning sockets may be for example the key
9843           agreement server.  Affected file lib/silcclient/client.[ch].
9844           Added functions the silc_client_add_socket and the
9845           silc_client_del_socket.  They are exported to the application
9846           as well.
9847
9848         * Added ~./silc/clientkeys to support other client's public keys.
9849
9850         * Renamed verify_server_key client operation to verify_public_key
9851           and added one argument to indicate the type of the connection
9852           (server, client etc.).
9853
9854 Tue Mar 27 22:22:38 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9855
9856         * Added silc_server_connection_auth_request to handle the
9857           incoming CONNECTION_AUTH_REQUEST packet.  Affected file is
9858           silcd/packet_receive.[ch].
9859
9860         * Added silc_server_send_connection_auth_request into the
9861           silcd/packet_send.c to send the connection auth request packet.
9862
9863         * Cleaned up the silcd/protocol.c a bit and fixed some memory
9864           leaks.
9865
9866         * Fixed the public key authentication in responder side in the
9867           server.  The `auth_data' pointer includes the SilcPublicKey
9868           not the path to the public key.  Affected file silcd/protocol.c.
9869
9870         * Implemented the public key authentication in the initiator side
9871           in the server.  Affected file silcd/protocol.c.
9872
9873         * Removed the [RedirectClient] config section from the server
9874           configuration.  Is not needed and I don't want to implement it.
9875
9876 Tue Mar 27 12:49:56 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9877
9878         * Cleaned up the CMODE command in the server.  It now works
9879           correctly and supports all the modes defined in the protocol.
9880           Affected file is silcd/command.c.
9881
9882         * Added `hmac_name' field to the SilcChannelEntry in the server
9883           to hold the default HMAC of the channel.  It can be set when
9884           creating the channel (with JOIN command).  Affected files
9885           silcd/idlist.[ch].
9886
9887         * Added <cipher> and <hmac> argument to the CMODE_CHANGE notify
9888           type to indicate the change of the current cipher and hmac
9889           on the channel.  Client can safely ignore the <cipher> argument
9890           (if it chooses to do so) since the CHANNEL_KEY packet will
9891           force the channel key change anyway.  The <hmac> argument is
9892           important since the client is responsible of setting the new
9893           HMAC and the hmac key into use.
9894
9895         * Fixed the CMODE command in the client library as well.
9896
9897         * Tested CMODE command in router environment successfully.
9898
9899 Mon Mar 26 14:39:48 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9900
9901         * Show the version of the remote client (or server) when connecting
9902           to the server.  It is logged to the log file.  Affected file
9903           is silcd/protocol.c.
9904
9905         * Fixed the KILLED notify handling in the client library.  The
9906           client must be removed from all channels when receiving the
9907           KILLED notify.
9908
9909           Also, do not remove the client entry when giving the KILL
9910           command but when the KILLED notify is received.
9911
9912         * Removed silc_idlist_find_client_by_nickname from the server.
9913           Not needed anymore.  Affected files silcd/idlist.[ch].
9914
9915         * Implemented the CHANNEL_CHANGE notify type handling to the
9916           server.  Affected file silcd/server.c.
9917
9918         * Updated TODO.
9919
9920 Mon Mar 26 12:11:14 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9921
9922         * Added silc_server_send_notify_invite to send the INVITE
9923           notify between routers.
9924
9925         * Implemented the INVITE command correctly to the server.
9926
9927         * Implemented the INVITE notify type handling in the server.
9928
9929         * Implemented the INVITE command to the client library and on the
9930           user interface.
9931
9932 Sun Mar 25 20:27:09 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9933
9934         * Added function silc_server_get_client_resolve to find the
9935           client entry by ID from all ID lists and then resolve it
9936           (using WHOIS) if it cannot be found.  Affected file is
9937           silcd/server.[ch].
9938
9939 Sun Mar 25 13:52:51 EEST 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9940
9941         * Implemented the BAN command to the client library.
9942
9943         * The JOIN command in the server now checks the invite list
9944           and the ban list.
9945
9946         * Changed the silc_command_reply_payload_encode_va and the
9947           silc_command_payload_encode_va to support that if argument is
9948           NULL it ignores and checks the next argument.  Affected file
9949           lib/silccore/silccommand.c.
9950
9951         * Added silc_server_send_notify_ban to send the BAN notify
9952           type between routers.
9953
9954         * Chaned the silc_notify_payload_encode to support that if
9955           argument is NULL it ignores and checks the next argument.
9956           Affected file lib/silccore/silcnotify.c.
9957
9958         * Tested ban lists in router environment successfully.
9959
9960 Sat Mar 24 14:47:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9961
9962         * Implemented BAN command to the server, in silcd/command.[ch].
9963
9964         * Removed the BAN and INVITE_LIST modes from the CMODE command
9965           in the server code.
9966
9967         * Added function silc_string_match to regex match two strings.
9968           Affected files lib/silcutil/silcutil.[ch].
9969
9970 Fri Mar 23 22:02:40 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9971
9972         * Redefined parts of the SilcChannelEntry in the server to support
9973           the new ban and invite lists.
9974
9975 Fri Mar 23 16:25:11 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9976
9977         * Redefined the INVITE command.  The same command can be used to
9978           invite individuals to the channel but also to manage the invite
9979           list of the channel (to add to and remove from the invite list).
9980           Updated the protocol specs.
9981
9982         * Added new command SILC_COMMAND_BAN that can be used to manage
9983           the ban list of the channel.  Updated the protocol specs.
9984
9985         * Removed the channel modes: the SILC_CMODE_BAN and the
9986           SILC_CMODE_INVITE_LIST as they were a bit kludge to be included
9987           in the CMODE command.  The equivalent features are now available
9988           using INVITE and BAN commands.  Updated the protocol specs.
9989
9990         * Added new SILC_NOTIFY_TYPE_BAN notify type to notify routers
9991           in the network about change in the current ban list.  The notify
9992           type is not used by the client.
9993
9994         * Redefined parts of the SILC_NOTIFY_TYPE_INVITE command to
9995           support the invite lists.
9996
9997 Thu Mar 22 22:52:23 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
9998
9999         * Added new function silc_string_regexify that converts string
10000           including wildcard characters into regex string that can
10001           be used by the GNU regex library.  Added into the file
10002           lib/silcutil/silcutil.[ch].
10003
10004           Added silc_string_regex_combine to combine to regex strings
10005           into one so that they can be used as one regex string by
10006           the GNU regex library.  Added into the file
10007           lib/silcutil/silcutil.[ch].
10008
10009           Added silc_string_regex_match to match two strings.  It returns
10010           TRUE if the strings match.  Added into lib/silcutil/silcutil.[ch].
10011
10012 Thu Mar 22 15:29:42 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10013
10014         * Imported GNU regex to the soruce tree into lib/contrib.
10015           Fixed some compiler warning from the regex.c.
10016
10017 Wed Mar 21 15:27:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10018
10019         * Fixed MOTD command in the server to work in router environment.
10020
10021         * Fixed the MOTD command in the client library to support
10022           the server argument in the command.
10023
10024         * Added `nickname_len' argument to the silc_idlist_add_client
10025           in the server, as the `nickname' argument may be binary data
10026           (it may be hash).
10027
10028         * Added silc_idlist_get_channels to return all channels from
10029           the ID list.
10030
10031         * Implemented LIST command to the server.  Affected file is
10032           silcd/command.c.
10033
10034         * Implemented the LIST command to the client library and on the
10035           user interface.
10036
10037         * Added [<user count>] argument to the LIST command reply.
10038           With private channels the user count is not shown.
10039
10040         * Updated TODO and README.
10041
10042 Tue Mar 20 21:05:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10043
10044         * The client entry's data.registered must be TRUE even with
10045           global client entry on global client list.  The data.registered
10046           is used to check whether the client is anymore in the network,
10047           for example with WHOWAS command so it must be valid.
10048
10049         * Fixed the WHOWAS command in the server.  It now actually works
10050           in router environment.  Added function into silcd/command_reply.c
10051           silc_server_command_reply_whowas_save.
10052
10053         * Added silc_idlist_purge function to the silcd/idlist.c
10054           to periodically purge the ID Cache.
10055
10056         * Fixed INFO command in the server.  It works now in router
10057           environment.  Added <server name> argument to the INFO command
10058           reply.  Updated the protocol specs.
10059
10060         * Fixed minor bug in silc_idcache_purge to not purge if the
10061           expire value is zero.
10062
10063         * Fixed various bugs in WHOIS and IDENTIFY command handling as
10064           they were buggy because of the WHOWAS information.
10065
10066         * Fixed local command MSG to handle the async resolving of
10067           the remote client properly.  It used to fail the first MSG.
10068           Affected file silc/local_command.c.
10069
10070         * Added `data_len' field to SilcIDCache context.
10071
10072 Tue Mar 20 16:29:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10073
10074         * Update TODO.  Todo in commands in the server.
10075
10076 Tue Mar 20 15:45:14 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10077
10078         * Added new notify type SILC_NOTIFY_TYPE_UMODE_CHANGE that is
10079           used by routers as broadcast packet to inform other routers
10080           about the changed user mode.
10081
10082           Implemented the notify handling in the server.  Affected file is
10083           silcd/packet_receive.c.  Added the function
10084           silc_server_send_notify_umode to the silcd/packet_send.[ch].
10085
10086         * Added new generic Channel Payload and deprecated the New Channel
10087           Payload.  The New Channel Payload is now the generic Channel
10088           Payload.
10089
10090         * Added new argument `mode' to the silc_server_send_new_channel
10091           as it is required in the Channel Payload now.
10092
10093         * Renamed the SilcChannelPayload to SilcChannelMessagePayload
10094           and created a new and real SilChannelPayload to represent the
10095           new generic Channel Payload.  Implemented the encode/decode
10096           for Channel Payload.  Affected file lib/silccore/silcchannel.[ch].
10097
10098         * Added silc_server_get_client_channel_list to return the list
10099           of channels the client has joined for WHOIS command reply.
10100           Affected file silcd/server.[ch].
10101
10102         * Implemented the channel list sending in the WHOIS command reply
10103           in server and in the client.
10104
10105           Implemented the channel list displaying on the user interface
10106           as well.  Affected file silc/client_ops.c.
10107
10108         * Added silc_channel_payload_parse_list to parse list of Channel
10109           Payloads.  It returns SilcDList list of SilcChannelPayloads.
10110           Client for example can use this function to parse the list of
10111           channels it receives in the WHOIS command reply.  The caller
10112           must free the list by calling silc_channel_payload_list_free.
10113           Affected files lib/silccore/silcchannel.[ch].
10114
10115 Mon Mar 19 21:39:15 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10116
10117         * Added one new argument <user mode> to the WHOIS command reply
10118           to return the mode of the user in SILC.  Updated the protocol
10119           specs.
10120
10121           Implemented it to the server and client.
10122
10123 Mon Mar 19 18:43:06 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10124
10125         * Fixed the mode printing on the user interface on joining.
10126           Affected file silc/client_ops.c.
10127
10128         * Implemented the UMODE command and user modes in general to the
10129           client library and to the user interface.
10130
10131         * Implemented the UMODE command to the server.
10132
10133         * The server now sends UNKNOWN_COMMAND error status if client sends
10134           unknown command.  Affected file silcd/command.c.
10135
10136         * All server commands now handle the command identifier the right
10137           way when sending the command reply to the client.  The client can
10138           use to identify the command replies with the identifier.
10139
10140 Mon Mar 19 16:13:07 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10141
10142         * Added silc_server_get_client_route to resolve the route to
10143           the client indicated by the client ID.  Affected file is
10144           silcd/server.[ch].
10145
10146         * Added silc_server_relay_packet as general function to relay
10147           packet to arbitrary destination.  This deprecates functions
10148           like _send_private_message_key, _relay_notify etc.  Affected
10149           file is silcd/packet_send.[ch].
10150
10151           Removed silc_server_send_key_agreement,
10152           silc_server_send_private_message_key and
10153           silc_server_packet_relay_notify functions from the file
10154           silcd/packet_send.[ch].
10155
10156         * Updated TODO.
10157
10158         * Implemented the SILC_NOTIFY_TYPE_KILLED notify handling in the
10159           server.  Affected file silcd/packet_receive.[ch].
10160
10161         * Implemented the KILL command to the client.  Implemented the
10162           SILC_NOTIFY_TYPE_KILLED notify handling in the client library.
10163           Affected files lib/silcclient/command[_reply].c and
10164           lib/silcclient/client_notify.c.  Implemented the KILL notify
10165           printing in the user inteface.
10166
10167         * Fixed a lot silc_parse_nick memory leaks from the client
10168           library in the file lib/silcclient/command.c.
10169
10170         * Changed the silc_server_send_notify_on_channels's `sender'
10171           argument from SilcSocketConnection to SilcClientEntry to
10172           check the sender as entry and not as connection object and not
10173           to send to the client provided as argument.  The affected file
10174           is silcd/packet_send.[ch].
10175
10176         * The notify packets that are destined directly to the client used
10177           to not to be processed by the server.  Now changed that and the
10178           server processes all notify packets.  After relaying the packet
10179           to the client the notify packet is processed in the server.
10180
10181         * The silc_server_free_client_data now checks whether there is
10182           pending outgoing traffic for the client and purges the data to
10183           the network before removing the client entry.
10184
10185 Sun Mar 18 21:02:47 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10186
10187         * Added SILC_NOTIFY_TYPE_KILLED notify type.  It is sent when
10188           an client is killed from the SILC Network.  Updated the protocol
10189           specs accordingly.
10190
10191           Added new function silc_server_send_notify_killed to the
10192           silcd/packet_send.[ch].
10193
10194         * Added function silc_server_packet_relay_notify to relay notify
10195           packets that are destined directly to a client.  In this case
10196           the server does not process the notify packets but merely relays
10197           it to the client.  Affected file silcd/packet_send.[ch].
10198
10199           Added also silc_server_packet_process_relay_notify to check
10200           whereto relay the notify.  Affected file is
10201           silcd/packet_receive.[ch].
10202
10203         * Implemented the KILL command to the server.
10204
10205         * Updated TODO.
10206
10207         * Added the backup schema desgined last fall to the protocol
10208           specs for everyone to see.  The specification is in the
10209           *-spec-xx.txt draft and the packet type definitions for the
10210           backup routers is in *-pp-xx.txt draft.  Thusly, added also
10211           new packet type SILC_PACKET_CELL_ROUTERS.
10212
10213         * A big security problem in the implementation discovered.  The
10214           signoff of an client did not cause new channel key generation
10215           which it of course should've done.  The channel keys must be
10216           always re-generated when client leaves (or signoffs) the channel.
10217           The silc_server_remove_from_channels funtion now handles
10218           the channel key re-generation.
10219
10220         * Added `sender' argument to the silc_server_send_notify_on_channels
10221           to not to send the client provided as argument.  Affected file
10222           silcd/packet_send.[ch].
10223
10224 Fri Mar 16 15:52:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10225
10226         * Implemented OPER and SILCOPER commands into the server and
10227           the client library.
10228
10229         * Added silc_auth_verify and silc_auth_verify_data to verify
10230           the authentication directly from the authentication payload.
10231           It supports verifying both passphrase and public key based
10232           authentication.  Affected file lib/silccore/silcauth.[ch].
10233
10234         * Added `hash' field to the SilcIDListData structure.  It is the
10235           hash negotiated in the SKE protocol.  Affected file is
10236           silcd/idlist.[ch].
10237
10238         * Slight redesigning of the SilcAuthPayload handling routines.
10239           Do not send SilcPKCS but SilcPublicKey as argument.
10240
10241         * Implemented the public key authentication support to the
10242           serverconfig.  The public key is loaded from the provided path
10243           and saved as authentication data to void * pointer.  Thus,
10244           changed the unsigned char *auth_data to void *auth_data;
10245
10246         * Fixed SHUTDOWN command to send the reply before the server
10247           is shutdown. :)  Affected file silcd/command.c.
10248
10249         * Fixed fatal bug in CONNECT command.  The hostname was invalid
10250           memory and server crashed.  Affected file silcd/command.c.
10251
10252         * Fixed fatal bug in CLOSE command.  The server_entry became
10253           invalid but was referenced later in the command.  Affected file
10254           silcd/command.c.
10255
10256 Thu Mar 15 12:46:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10257
10258         * Fixed fatal bug in failure packet handling.  Server ignored
10259           the failure and thus crashed when it came.
10260
10261         * Updated TODO.
10262
10263 Wed Mar 14 20:37:35 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10264
10265         * Added new SILC_CF_LAG_STRICT command flag that strictly forces
10266           that the command may be executed only once in (about) 2 seconds.
10267           The old SILC_CF_LAG flag is same but allows command bursts up
10268           to five before limiting.
10269
10270           Added the support for CF_LAG and CF_LAG_STRICT flags to the
10271           server code.  Various commands now includes the CF_LAG_STRICT
10272           flag to disallow any kind of miss-use of the command.
10273
10274         * Fixed the silc_buffer_unformat to not to allocate any data
10275           if the length of the data is zero.  It used to allocate the
10276           length + 1.  Affected file lib/silcutil/silcbuffmt.c.
10277
10278 Wed Mar 14 16:10:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10279
10280         * Changed the format of AdminConnection configuration section
10281           in the server.  Added username of the admin to the format.
10282           Affected files silcd/serverconfig.[ch].
10283
10284           Added silc_server_config_find_admin into silcd/serverconfig.[ch]
10285           to return admin configuration data by host, username and/or
10286           nickname.
10287
10288 Wed Mar 14 13:18:16 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10289
10290         * Implemented WHOWAS command to the server.  Added the functions:
10291
10292           silc_server_command_whowas_parse,
10293           silc_server_command_whowas_send_reply,
10294           silc_server_command_whowas_from_client and
10295           silc_server_command_whowas_from_server
10296
10297         * Added <Client ID> argument to the WHOWAS command reply.  Updated
10298           the protocol specs accordingly.
10299
10300         * Implemented WHOWAS command and command_reply to the client
10301           library.
10302
10303           Implemented the WHOWAS printing on the user interface.
10304
10305 Tue Mar 13 22:17:34 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10306
10307         * Added new argument to the WHOWAS command reply, the real name.
10308           It is an optional argument.  Updated the protocol specs.
10309
10310         * Added SilcIDCacheDestructor callback that is registered when
10311           the SilcIDCache is allocated.  The callback is called when
10312           an cache entry in the ID Cache expires, or is purged from the
10313           cache.  Added into lib/silccore/idcache.[ch].
10314
10315           Added silc_idlist_client_destructor to the silcd/idlist.[ch]
10316           to destruct the client entries when the cache entry expires.
10317           Other ID Cache's in server and in the client library ignores
10318           the destructor.
10319
10320         * If the ID Cache entry's `expire' field is zero then the entry
10321           never expires.  Added boolean `expire' argument to the
10322           silc_idcache_add function in the lib/silccore/idcache.[ch].
10323           If it is TRUE the default expiry value is used.
10324
10325         * Added silc_server_free_client_data_timeout that is registered
10326           when client disconnects.  By default for 5 minutes we preserve
10327           the client entry for history - for WHOWAS command.
10328
10329 Tue Mar 13 13:26:18 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10330
10331         * Added support to the server to enforce that commands are not
10332           executed more than once in 2 seconds.  If server receives
10333           commands from client more frequently, timeout is registered
10334           to process the commands.  Affected file silcd/command.c.
10335           Added new function silc_server_command_process_timeout.
10336
10337         * Changed NICK_NOTIFY handling in client library to check that
10338           if the client's nickname was changed, so there is no need to
10339           resolve anything from the server.
10340
10341         * Removed error printing from the WHOIS and IDENTIFY commands.
10342           If error occurs then it is ignored silently in the client library.
10343           The application, however, may map the received error to
10344           human readable error string.  The application currently maps
10345           the NO_SUCH_NICKNAME error to string.
10346
10347         * Made the command status message public to the application.  Moved
10348           them from lib/silcclient/command_reply.c to
10349           lib/silcclient/command_reply.h.  The application can map the
10350           received command status to the string with the
10351           silc_client_command_status_message function.
10352
10353         * Added check to the server to check that client's ID is same
10354           as the Source ID in the packet the client sent.  They must
10355           match.
10356
10357 Tue Mar 13 12:49:21 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10358
10359         * Added dist-bzip hook to the Makefile.am to make bzip2
10360           compressed distributions.
10361
10362 Mon Mar 12 18:43:38 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10363
10364         * Server now enforces the maximum length for the nickname and
10365           the channel as protocol specification dictates.  128 bytes for
10366           nickname and 256 bytes for channel name.
10367
10368         * Moved the WHOIS printing to the application.  The client libary
10369           does not print out the WHOIS information anymore, the application
10370           must do it.  Renamed silc_client_command_reply_whois_print to
10371           the silc_client_command_reply_whois_save.
10372
10373           The client's idle time is also sent to the application now, and
10374           the idle is shown on screen.
10375
10376         * Added silc_client_command_reply_identify_save to save the
10377           received IDENTIFY entries.
10378
10379         * Do not check for channel private keys in message sending and
10380           reception if the channel does not have the PRIVKEY mode set.
10381           Affected file lib/silclient/client_channel.c.
10382
10383 Sun Mar 11 20:25:06 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10384
10385         * Fixed a minor bug if WHOIS and IDENTIFY command parsing that
10386           just surfaced after chaning the JOIN procedure.
10387
10388 Sun Mar 11 14:59:05 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10389
10390         * Added silc_client_get_clients_by_list to get client entries
10391           from Client ID list, that is returned for example by JOIN
10392           and USERS command replies.  The application should use this
10393           function for example when JOIN command reply is received to
10394           resolve the clients already on the channel (library does not
10395           do that anymore as USERS command reply is not used in the JOIN
10396           procedure anymore).  Affected files lib/silcclient/silcapi.h and
10397           lib/silcclient/idlist.c.
10398
10399         * JOIN command reply and USERS command reply returns now SilcBuffer
10400           pointers instead of unsigned char pointers when returning
10401           the client list and mode list.
10402
10403         * Added <Client ID> argument to the JOIN command reply, mainly
10404           for the server to identify for which client the command was
10405           originally sent.  Updated protocol specs accordingly.
10406
10407         * Added SilcDlist private_key pointer to the SilcChannelEntry
10408           in the client to support the channel private keys.  Affected
10409           file is lib/silcclient/idlist.h.
10410
10411         * Added SilcChannelPrivateKey argument to the function
10412           silc_client_send_channel_message so that application can choose
10413           to use specific private ke if it wants to.  If it is not provided,
10414           the normal channel key is used, unless private keys are set.
10415           In this case the first (key that was added first) is used
10416           as the encryption key.
10417
10418         * Implemented the support for channel private key handling.
10419           Implemented the following functions:
10420
10421           silc_client_add_channel_private_key,
10422           silc_client_del_channel_private_keys,
10423           silc_client_del_channel_private_key,
10424           silc_client_list_channel_private_keys and
10425           silc_client_free_channel_private_keys
10426
10427           Affected file lib/silcclient/client_channel.c.
10428
10429         * Added the support for the private keys in the channel message
10430           sending and encryption and in the message reception and
10431           decryption.  Affected funtions are
10432           silc_client_send_channel_message and silc_client_channel_message.
10433
10434 Sat Mar 10 21:36:22 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10435
10436         * Added SKE's key verify callback to the client library's
10437           KE protocol context. Affected files lib/silcclient/protocol.[ch].
10438
10439         * Removed the statement that server (or router) must send USERS
10440           command reply when joining to the channel so that the client
10441           knows who are on the channel.  Instead, the client list and
10442           client's mode list is now sent in the JOIN command reply to the
10443           client who joined channel.  This is better solution.
10444
10445         * Added function silc_server_get_users_on_channel and function
10446           silc_server_save_users_on_channel to the silcd/server.[ch].
10447
10448         * Removed function silc_server_command_send_users from the
10449           silcd/command.c.
10450
10451         * Do not show topic on the client library anymore.  The topic is
10452           sent in the command reply notify to the application and the
10453           application must show the topic now.
10454
10455 Sat Mar 10 00:07:37 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10456
10457         * Added client searching by nickname hash into the IDENTIFY and
10458           WHOIS commands in the server as they were clearly missing from
10459           them.  Affected file is silcd/command.c.
10460
10461         * Fixed a bug in private message receiving in the client library.
10462           The remote ID was freed and it wasn't supposed, now it is
10463           duplicated.
10464
10465 Fri Mar  9 12:40:42 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10466
10467         * Minor fix to the channel payload; allocate the data area, as it
10468           needs to be of specific length.
10469
10470         * If the key agreement port is zero then the operating
10471           system will define the bound port.  Affected files are
10472           lib/silcclient/silcapi.h and lib/silcclient/client_keyagr.c.
10473
10474         * Added new function silc_channel_payload_decrypt into the file
10475           lib/silccore/silcchannel.[ch].
10476
10477         * Moved the channel message etc, check from silc_packet_decrypt
10478           to applications.  The library calls now a generic
10479           SilcPacketCheckDecrypt callback which is to return TRUE or FALSE
10480           when the packet is either normal or special.  This was done to
10481           allow more wide range of checking that was not allowed when
10482           the code was in library.  Now applications can do virtually any
10483           checks to the packet and return to the library the decision how
10484           the packet should be processed.  Affected files are
10485           lib/silccore/silcpacket.[ch].
10486
10487           Added silc_server_packet_decrypt_check to the server and
10488           silc_client_packet_decrypt_check to the client library.
10489
10490         * Added silc_server_packet_send_srcdest into silcd/packet_send.[ch]
10491           to send with specified source and destination information.
10492
10493         * Channel message delivery between routers was broken after the
10494           channel key distribution was fixed earlier.  The channel key
10495           was used be to distributed to other routers as well which is not
10496           allowed by the protocol.  Now this is fixed and channel keys
10497           really are cell specific and the channel message delivery between
10498           routers comply with the protocol specification.
10499
10500         * Fixed various commands in server to check also the global list
10501           for the channel entry and not just the local list.  The affected
10502           file silcd/command.c.
10503
10504 Thu Mar  8 21:39:03 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10505
10506         * Added assert()s to buffer formatting and unformatting routines
10507           to assert (if --enable-debug) when error occurs.  Affected
10508           file: lib/silcutil/silcbuffmt.c.
10509
10510         * Changed to auto-reconnect to check whether the remote host is
10511           router and register the re-connect timeout if it is.  It used
10512           to check that whether we are normal server, but router must do
10513           auto-reconnect with another router as well.  Affected file
10514           silcd/server.c.
10515
10516         * Removed the [<key len>] option from CMODE command as the cipher
10517           name decides the key length, nowadays.  See the defined ciphers
10518           from the protocol specification.
10519
10520         * Added [<hmac>] option to the CMODE command to define the HMAC
10521           for the channel.  Added SILC_CMODE_HMAC channel mode.
10522
10523         * Added [<hmac>] option for the JOIN command so that user can
10524           select which HMAC is used to compute the MACs of the channel
10525           messages.
10526
10527         * Added Hmac field to the Channel Message Payload.  The integrity
10528           of plaintext channel messages are now protected by computing
10529           MAC of the message and attaching the MAC to the payload.  The
10530           MAC is encrypted.  Now, it is clear that this causes some
10531           overhead to the size of the packet but rationale for this is that
10532           now the receiver can verify whether the channel message decrypted
10533           correctly and also when private keys are set for the channel the
10534           receiver can decrypt the packet with several keys and check from
10535           the MAC which key decrypted the message correctly.
10536
10537         * Added silc_cipher_encrypt and silc_cipher_decrypt into the
10538           lib/silccrypt/silccipher.[ch].
10539
10540         * Added silc_hash_len to return the digest length into the
10541           lib/silcrypt/silchash.[ch].
10542
10543         * Rewrote parts of Silc Channel Payload interface in the
10544           lib/silccore/silcchannel.[ch].  The encode function now also
10545           encrypts the packet and parse function decrypts it.
10546
10547 Wed Mar  7 20:58:50 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10548
10549         * Fixed a minor formatting bug in the SKE's key material processing.
10550           It actually might have processed the keys wrong way resulting
10551           into wrong keys.
10552
10553         * Redefined the mandatory HMAC algorithms and added new algorithms.
10554           Added hmac-sha1-96 and hmac-md5-96 which are normal hmac-sha1
10555           and hmac-md5 truncated to 96 bits.  The mandatory is now
10556           hmac-sha1-96.  Rest are optional (including the one that used
10557           to be mandatory).  Rationale for this is that the truncated HMAC
10558           length is sufficient from security point of view and can actually
10559           make the attack against the HMAC harder.  Also, the truncated
10560           HMAC causes less overhead to the packets.  See the RFC2104 for
10561           more information.
10562
10563         * Added new [hmac] configuration section.  The SKE used to use
10564           the hash names (md5 and sha1) in the SKE proposal as HMCAS which
10565           is of course wrong.  The official names that must be proposed in
10566           the SKE are the ones defined in the protocol specification
10567           (hmac-sha1-96 for example).  The user can configure any hmac
10568           using any hash function configured in the [hash] section.  At
10569           least, the mandatory must be configured.
10570
10571           Rewrote the HMAC interface in lib/silccrypt/silchmac.[ch].
10572
10573         * Added HMAC list to the SKE proposal list.  It has now both
10574           hash algorithm list and HMAC list.  This makes the protocol
10575           incompatible with previous versions.  The SKE now seems to work
10576           the way it is supposed to work, for the first time actually.
10577
10578         * Defined plain Hash algorithms to the protocol specification.
10579           Added sha1 and md5.
10580
10581 Tue Mar  6 15:36:11 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10582
10583         * Implemented support for key agreement packets into the server.
10584           Added functions silc_server_key_agreement and
10585           silc_server_send_key_agreement.  Other than these functions,
10586           server has nothing to do with this packet.
10587
10588         * Added support for private message key packets into the server.
10589           Added functions silc_server_private_message_key and
10590           silc_server_send_private_message_key.
10591
10592         * Updated TODO.
10593
10594         * Changed the silc_[client|server]_protocol_ke_set_keys to be
10595           called in the protocol's final callback instead in the END
10596           protocol state.  This makes a little more sense and in the same
10597           time in client we can use the same protocol routines for normal
10598           key exchange and to key agreement packet handling as well.
10599
10600         * Added to both client's and server's KE protocol context the
10601           SilcSKEKeyMaterial pointer to save the key material.  We will
10602           bring the key material to the protocol's final callback by doing
10603           this.  The final callback must free the key material.
10604
10605         * Added SKE's packet_send callback into client's KE protocol
10606           context so that the caller can choose what packet sending function
10607           is used.  This way we can use different packet sending when
10608           doing normal SKE when doing key agreement packet handling (in
10609           the key agreement packet handling we do not want to encrypt
10610           the packets).
10611
10612         * Implemented the responder side of the key agreement routines
10613           in the client.  The client can now bind to specified port and
10614           accept incoming key negotiation.  The key material is passed
10615           to the application after the protocol is over.
10616
10617         * Implemented the processing of incoming Key Agreement packet
10618           in the client.  Added function silc_client_key_agreement to
10619           process the packet.
10620
10621         * Implemented the intiator side of the key agreement routines
10622           in the client.  The client can now initiate key agreement with
10623           another remote client.  The key material is passed to the
10624           application after the protocol is over.
10625
10626         * Created client_keyagr.c to include all the key agreement
10627           routines.
10628
10629         * Added macro SILC_TASK_CALLBACK_GLOBAL which is equal to the
10630           SILC_TASK_CALLBACK except that it is not static.
10631
10632         * Created client_notify.c and moved the Notify packet handling
10633           from the client.[ch] into that file.
10634
10635         * Created client_prvmsg.c and moved all private message and
10636           private message key routines from the client.[ch] into that file.
10637
10638         * Create client_channel.c and moved all channel message and
10639           channel private key routines from the client.[ch] into that file.
10640
10641         * Changed silc_client_get_client_by_id_resolve to resolve with
10642           WHOIS command instead of IDENTIFY command, in the file
10643           lib/silclient/idlist.c.
10644
10645 Mon Mar  5 18:39:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10646
10647         * Implemented the SKE's responder side to the Client library.
10648
10649         * When FAILURE is received to the protocol do not trust it
10650           blindly.  Register a timeout to wait whether the remote closes
10651           the connection as it should do it, only after that process the
10652           actual failure.  This was changed to both client and server.
10653
10654         * Added client_internal.h to include some of the structures
10655           there instead of client.h in lib/silcclient/.
10656
10657         * Added function silc_task_unregister_by_callback to unregister
10658           timeouts by the callback function.
10659
10660 Sat Mar  3 19:15:43 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10661
10662         * Some "Incomplete WHOIS info" errors has been appearing on the
10663           log files.  Took away the entry->userinfo check from WHOIS
10664           reply sending.  The entry->userinfo is now " " if client did not
10665           provide one.  I thought this was fixed earlier but something
10666           is wrong still.  Let's see if the error still appears.
10667
10668 Wed Feb 28 20:56:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10669
10670         * Fixed a minor bug in the login when the channel key is
10671           re-generated in the server.  It used to generate the key in
10672           wrong order and thus caused problems in the channel traffic.
10673
10674         * Fixed a minor bug in channel key distsribution after
10675           KICK command.  The key was not sent to the router even though
10676           it should've been.
10677
10678 Tue Feb 27 20:24:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10679
10680         * Added silc_ske_process_key_material_data as generic routine
10681           to process any key material as the SILC protocol dictates.  The
10682           function is used by the actual SKE library but can be used by
10683           applications as well.  This relates to the private message keys
10684           and the channel private keys since they must be processed the
10685           same way the normal SILC session keys.  The protocol dictates
10686           this.  Affected files: lib/silcske/silcske.[ch].
10687
10688           Added also silc_ske_free_key_material to free the
10689           SilcSKEKeyMaterial structure.
10690
10691         * Defined silc_cipher_set_key function to set the key for
10692           cipher without using the object's method function.  The affected
10693           files: lib/silccrypt/silccipher.[ch].
10694
10695         * Implemented silc silc_client_add_private_message_key,
10696           silc_client_add_private_message_key_ske,
10697           silc_client_del_private_message_key,
10698           silc_client_list_private_message_keys and
10699           silc_client_free_private_message_keys functions in the
10700           client library.
10701
10702           Added functions silc_client_send_private_message_key to send
10703           the Private Message Key payload and silc_client_private_message_key
10704           to handle incoming Private Message Key payload.
10705
10706         * Added Cipher field to the Private Message Key payload to set
10707           the cipher to be used.  If ignored, the default cipher defined
10708           in the SILC protocol (aes-256-cbc) is used.
10709
10710 Tue Feb 27 13:30:52 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10711
10712         * Removed lib/silcclient/ops.h file.
10713
10714           Redefined parts of the SILC Client Library API. Created new
10715           file silcapi.h that deprecates the ops.h file and defines the
10716           published Client Library API.  Defined also private message key
10717           API and channel private key API into the file.
10718
10719           This is the file that the application must include from the
10720           SILC Client Library.  Other files need not be included by
10721           the application anymore.
10722
10723         * Added new key_agreement client operation callback and also
10724           defined the Key Agreement library API for the application.
10725
10726 Tue Feb 27 11:28:31 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10727
10728         * Added new packet type: SILC_PACKET_KEY_AGREEMENT.  This packet
10729           is used by clients to request key negotiation  between another
10730           client in the SILC network.  If the negotiation is started it
10731           is performed using the SKE protocol.  The result of the
10732           negotiation, the secret key material, can be used for example
10733           as private message key.
10734
10735           Implemented the Key Agreement payload into the files
10736           lib/silccore/silauth.[ch].
10737
10738 Mon Feb 26 12:13:58 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10739
10740         * Redefined ciphers for the SILC protocol.  Added some new ciphers
10741           and defined the key lengths for the algorithms.  Changed the
10742           code accordingly.  The default key length is now 256 bits.
10743
10744         * Fixed SKE key distribution function silc_ske_process_key_material
10745           when the key length is more than 128 bits.  The default key
10746           length in SILC is now 256 bits.
10747
10748         * Added new command status type: SILC_STATUS_ERR_UNKOWN_ALGORITHM
10749           to indicate unsupported algorithm.
10750
10751         * Renamed rijndael.c to aes.c and all functions as well.
10752
10753         * Fixed a long standing channel key setting bug in client library.
10754           Weird that it has never surfaced before.
10755
10756         * Fixed bug in channel deletion.  If the entire channel is removed
10757           then it must also delete the references of the channel entry
10758           from the client's channel list as the client's channel entry and
10759           the channel's client entry share same memory.
10760
10761 Sun Feb 25 20:47:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10762
10763         * Implemented CONNECT and SHUTDOWN commands in the client.
10764
10765         * Implemented CLOSE command to the client.
10766
10767         * Added the function silc_idlist_find_server_by_name into the
10768           files silcd/idlist.[ch].
10769
10770           Added the function silc_idlist_find_server_by_conn into the
10771           files silcd/idlist.[ch].
10772
10773 Sat Feb 24 23:45:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10774
10775         * DIE command was renamed to SHUTDOWN.  Updated the both code
10776           and protocol specs.
10777
10778         * Defined SILC_UMODE_NONE, SILC_UMODE_SERVER_OPERATOR and
10779           SILC_UMODE_ROUTER_OPERATOR modes into lib/silccore/silcmode.h.
10780
10781         * Implemented CONNECT, CLOSE and SHUTDOWN commands to the server
10782           side.
10783
10784         * Added function silc_server_create_connection function to create
10785           connection to remote router.  My server implementation actually
10786           does not allow router to connect to normal server (it expects
10787           that normal server always initiates the connection to the router)
10788           so the CONNECT command is only good for connecting to another
10789           router.
10790
10791 Sat Feb 24 16:03:45 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10792
10793         * Added SILC_NOTIFY_TYPE_KICKED to indicate that the client
10794           or some other client was kicked from the channel.
10795
10796           Implemented the handling of the notify type to both client
10797           and server.
10798
10799           Implemented silc_server_send_notify_kicked to send the KICKED
10800           notify.  It is used to send it to the server's primary router.
10801
10802         * Implemented the KICK command into server and client.
10803
10804         * Added `query' argument to the silc_idlist_get_client function
10805           to indicate whether to query the client from server or not if
10806           it was not found.
10807
10808         * Added new command status type SILC_STATUS_ERR_NO_CHANNEL_FOPRIV
10809           to indicate that the client is not channel founder.
10810
10811         * Updated TODO.
10812
10813 Sat Feb 24 00:00:55 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10814
10815         * Removed the rng context from SilcPacketContext structure and
10816           changed that the packet routine uses the Global RNG API.
10817
10818 Fri Feb 23 11:22:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10819
10820         * Added support for quit message that client can "leave" on the
10821           channel when it quits the SILC.  It is ditributed inside the
10822           SILC_NOTIFY_TYPE_SIGNOFF notify type.
10823
10824           Added silc_server_free_client_data that will take the
10825           signoff message as argument.
10826
10827         * Changed SKE routines to use the silc_pkcs_sign/verify routines.
10828
10829 Thu Feb 22 23:05:36 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10830
10831         * Updated parts of the protocol specification to keep it up
10832           to date.
10833
10834 Thu Feb 22 15:08:20 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10835
10836         * Added List flag (SILC_PACKET_FLAG_LIST) to indicate list of
10837           payloads in one packet.
10838
10839         * Deprecated following packet types: NEW_ID_LIST, NEW_CHANNEL_LIST,
10840           NEW_CHANNEL_USER_LIST, SET_MODE and SET_MODE_LIST.  List packets
10841           use now the new List flag.
10842
10843         * Also deprecated the following packet types: REPLACE_ID,
10844           NEW_CHANNEL_USER and REMOVE_CHANNEL_USER packet types.
10845
10846         * Added list support for Notify packet in server.
10847
10848         * Added silc_server_send_notify_channel_change to send the
10849           CHANNEL_CHANGE notify type to replace channel ID's.  Deprecates
10850           the silc_server_send_replace_id.
10851
10852         * Added silc_server_send_notify_nick_change to send the
10853           NICK_CHANGE notify type.  Deprecates the function
10854           silc_server_send_replace_id.
10855
10856         * Added silc_server_send_notify_join to send the JOIN notify type.
10857           Deprecates the function silc_server_send_new_channel_user.
10858
10859         * Added silc_server_send_notify_leave to send LEAVE notify type.
10860           Deprecates the function silc_server_send_remove_channel_user.
10861
10862         * Added silc_server_send_notify_cmode and
10863           silc_server_send_notify_cumode to send CMODE and CUMODE notify
10864           types.  Deprecates the silc_server_send_set_mode function.
10865
10866         * Added SERVER_SIGNOFF notify type to indicate that server has
10867           quit.  This means that all clients on the channel from that
10868           server will drop.  This can be also used when netsplit happens.
10869
10870           Deprecated REMOVE_ID packet type since it is not needed anymore
10871           even from server.
10872
10873           Added silc_server_send_notify_server_signoff to send the
10874           SERVER_SIGNOFF notify type.  Deprecates the function
10875           silc_server_send_remove_id.
10876
10877           Added also silc_server_send_notify_signoff to send the
10878           SIGNOFF notify type.
10879
10880         * Employed the PKCS #1. It is the mandatory way to do RSA in the
10881           SILC protocol from this day on.  Changed the protocol
10882           specification as well.
10883
10884         * Added silc_server_send_notify_topic_set to send TOPIC_SET
10885           notify type.  It is used between routers to notify about
10886           topic changes on a channel.
10887
10888         * Added silc_id_dup into lib/silccore/id.[ch] to duplicate
10889           ID data.
10890
10891         * Partly updated the protocol specification to comply with the
10892           changes now made.  It is still though a bit outdated.
10893
10894         * The JOIN notify type now takes one extra argument <Channel ID>.
10895           The packet used to be destined to the channel but now the
10896           JOIN type may be sent as list thus it is impossible to
10897           destine it to any specific channel.  By adding this argument
10898           it is again possible.
10899
10900 Wed Feb 21 22:39:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10901
10902         * Added CREDITS file.  The CHANGES and CREDITS file will appear
10903           in the distribution as well.
10904
10905 Wed Feb 21 14:17:04 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10906
10907         * Implemented CMODE_CHANGE, CUMODE_CHANGE and TOPIC_SET notify
10908           types in the server's silcd/packet_receive.c.
10909
10910         * Implemented CMODE and CUMODE to work in router environment.
10911
10912         * Fixed minor encoding and decoding buglet from the
10913           lib/silccore/silcmode.c.
10914
10915         * Fixed buffer overflow from lib/silcclient/command.c in USERS
10916           command parsing.
10917
10918 Wed Feb 21 12:44:00 EET 2001  Mika Boström <bostik@lut.fi>
10919
10920         * Changed all SilcConfigServer* and silc_config_server* to
10921           SilcServerConfig* and silc_server_config*, respectively.
10922           Patch by Bostik.
10923
10924 Wed Feb 21 00:10:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10925
10926         * Associated the ID (client or server ID) to the Authentication
10927           Payload to avoid any possibility of forging.  Updated the
10928           protocol specification and the code accordingly.
10929
10930 Tue Feb 20 14:14:14 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10931
10932         * The RSA key length is now save to the RsaKey context in the
10933           key generation process in lib/silccrypt/rsa.c.  The key length
10934           is now used to figure out the maximum size of the block allowed
10935           to be encrypted/signed.
10936
10937         * Added silc_mp_mp2bin_noalloc into lib/silcmath/mpbin.[ch].  It
10938           is equivalent to the silc_mp_mp2bin but does not allocate any
10939           memory.
10940
10941         * Changed silc_mp_mp2bin API to take length argument.  If it is
10942           non-zero then the buffer is allocated that large.  If zero, then
10943           the size is approximated using silc_mp_sizeinbase, which however
10944           is not relieable.
10945
10946         * Created Global RNG API which is global RNG that application can
10947           initialize.  After initializing, any routine anywhere in the
10948           code (including library) can use RNG without allocating a new
10949           RNG object.  This was done to allow this sort of use of the
10950           RNG in code that has no chance to allocate RNG object.  All
10951           applications currently allocate this and many routines in the
10952           library use this.  Affected file lib/silccrypt/silcrng.[ch].
10953
10954         * Removed the RNG kludge from lib/silcmath/primegen.c and changed
10955           it to use the Global RNG API.
10956
10957         * Defined Authentication Payload into protocol specification that
10958           is used during SILC session to authenticate entities.  It is
10959           used for example by client to authenticate itself to the server
10960           to obtain server operator privileges.
10961
10962           Implemented this payload into the lib/silccore/silcauth.[ch].
10963           Implemented also routines for public key based authentication
10964           as the new protocol specification dictates.
10965
10966           Moved definitions of different authentication methods from
10967           lib/silccore/silcprotocol.h into lib/silccore/silcauth.h.
10968
10969         * Added silc_pkcs_encrypt, silc_pkcs_decrypt, silc_pkcs_sign,
10970           silc_pkcs_verify and silc_pkcs_sign_with_hash and
10971           silc_pkcs_verify_with_hash functions into the file
10972           lib/silccrypt/silcpkcs.[ch].
10973
10974 Mon Feb 19 19:59:28 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10975
10976         * The client entry's userinfo pointer must be always valid.
10977           Otherwise the [<unknown>] bug will surface beacuse the WHOIS
10978           will fail since it requires the userinfo.  Now, the userinfo
10979           is allocated as "" if actual userinfo does not exist.  Actually,
10980           it must exist and it is totally Ok to drop client connections
10981           that does not announce the userinfo.  However, we will make
10982           this workaround for now.
10983
10984         * Added silc_net_get_remote_port into lib/silcutil/silcnet.[ch]
10985           to return the remote port by socket.
10986
10987 Mon Feb 19 14:26:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
10988
10989         * Changed SILC_SERVER_COMMAND_EXEC_PENDING macro to the name
10990           SILC_SERVER_PENDING_EXEC and added an new macro
10991           SILC_SERVER_PENDING_DESTRUCTOR which is called to free the
10992           data or when error occurs while processing the pending command.
10993
10994           Added new argument `destructor' into silc_server_command_pending
10995           and to the SilcServerCommandPending object.  This destructor is
10996           now called after calling the pending callback or if error occurs
10997           immediately.  If error occurs the actual pending callback won't
10998           be called at all - only the destructor.  The destructor may be
10999           NULL if destructor is not needed.
11000
11001           All this applies for client library code as well.  Similar
11002           changes were made there as well for the pending commands.
11003
11004           In the client, the application must now allocate the
11005           SilcClientCommandContext with the silc_client_command_alloc
11006           function.
11007
11008         * Added reference counter to the SilcServerCommandContext.  Added
11009           function silc_server_command_alloc and silc_server_command_dup
11010           functions.
11011
11012           Same type of functions added to the client library for the same
11013           purpose as well.
11014
11015         * Removed the cmd_ident from IDListData away since it is now
11016           global for all connections.  It is the command identifier used
11017           in command sending and with pending commands.  The affected file
11018           is silcd/idlist.h.
11019
11020         * Added reference counter to the SilcSocketConnection objecet to
11021           indicate the usage count of the object.  The object won't be
11022           freed untill the reference counter hits zero.  Currently only
11023           server uses this, and client ignores it.  The client must be
11024           set to use this too later.  The affected files are
11025           lib/silccore/silcsockconn.[ch].  Added also the function
11026           silc_socket_dup to increase the reference counter.
11027
11028           This was mainly added because it is possible that the socket
11029           is removed underneath of pending command or other async
11030           operation.  Now it won't be free'd and proper DISCONNECTING
11031           flags, etc. can be set to avoid sending data to connection that
11032           is not valid anymore.
11033
11034         * Added SILC_SET_DISCONNECTING to server.c when EOF is read from
11035           the connection.  After that it sets SILC_SET_DISCONNECTED.
11036           It is, however, possible that the socket data is not still freed.
11037           The silc_server_packet_process now checks that data is not
11038           read or written to connection that is DISCONNECTED.  The socket
11039           get's freed when the reference counter hits zero.
11040
11041 Mon Feb 19 00:50:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11042
11043         * Changed the client operation API: channel_message operation's
11044           `sender' is now the client entry of the sender, not the nickname
11045           and the `channel' is the channel entry, not the channel name.
11046
11047           In the private_message operation the `sender' is now also the
11048           client entry of the sender not the nickname.
11049
11050           Affected file is lib/silcclient/ops.h and all applications
11051           using the client operations.
11052
11053 Sat Feb 17 22:11:50 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11054
11055         * Moved the calling of ops->connect() from connect_to_server_final
11056           into receive_new_id functin since that is the point when the
11057           client is actually allowed to send traffic to network.  The
11058           affected file is lib/silcclient/client.c.
11059
11060 Sat Feb 17 13:15:35 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11061
11062         * When receiving NEW_CHANNEL_LIST, NEW_CHANNEL_USER_LIST,
11063           NEW_ID_LIST and SET_MODE_LIST packets, broadcast the list packet
11064           (if needs broadcasting) instead of broadcasting the packets one
11065           by one which would make a burst in the network traffic.
11066
11067         * Added `broadcast' argument to the functions in silcd/server.[ch]
11068           silc_server_create_new_channel[_with_id] to indicate whether
11069           to send New Channel packet to primary router.
11070
11071 Sat Feb 17 01:06:44 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11072
11073         * Added new function into the silcd/server.[ch] files:
11074           silc_server_create_new_channel_with_id to create new channel with
11075           already existing Channel ID.
11076
11077         * Added new packet type SILC_PACKET_SET_MODE_LIST into the file
11078           lib/silccore/silcpacket.h.  This packet is used t send list of
11079           Set Mode payloads inside one packet.  Server uses this to set
11080           the modes for the channels and clients on those channels, that it
11081           announced to the router when it connected to it.  The protocol
11082           specification has been updated accordingly.
11083
11084         * The silc_server_new_channel did not handle the packet coming
11085           from normal server as it normally does not send that.  However,
11086           when it announces its channels it does send it.  Implemented
11087           the support for that.
11088
11089         * Added SILC_ID_CHANNEL_COMPARE macro to compare to Channel ID's
11090           into the file lib/silccore/id.h.
11091
11092 Fri Feb 16 23:57:29 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11093
11094         * Fixed memory leaks in the functions silc_idlist_del_client,
11095           silc_idlist_del_channel and silc_idlist_del_server in the file
11096           silcd/idlist.c.  All of those leaked like a sieve.
11097
11098         * Fixed some small memory leaks in the client's function
11099           silc_client_notify_by_server.
11100
11101         * Added functions into silcd/server.c: silc_server_announce_clients,
11102           silc_server_announce_channels and silc_server_announce_server.
11103           These functions are used by normal and router server to announce
11104           to its primary router about clients, channels and servers (when
11105           router) that we own.  This is done after we've connected to the
11106           router.
11107
11108           These functions effectively implements the following packet types:
11109           SILC_PACKET_NEW_CHANNEL_LIST, SILC_PACKET_NEW_CHANNEL_USER_LIST
11110           and SILC_PACKET_NEW_ID_LIST.
11111
11112         * Added new functions into the silcd/packet_receive.[ch]:
11113           silc_server_new_id_list, silc_server_new_channel_list and
11114           silc_server_new_channel_user_list to handle the incoming
11115           NEW_ID_LIST, NEW_CHANNEL_LIST and NEW_CHANNEL_USER_LIST packets.
11116
11117         * Added support of changing Channel ID in the function
11118           silc_server_replace_id.  If the server that announces a channel
11119           to the router already exists in the router (with same name but
11120           with different Channel ID), router is responsible to send
11121           Replace ID packet to the server and force the server to change
11122           the Channel ID to the one router has.
11123
11124         * Added new notify type SILC_NOTIFY_TYPE_CHANNEL_CHANGE to notify
11125           client that the Channel ID has been changed by the router.  The
11126           normal server sends this to the client.  Client must start using
11127           the new Channel ID as the channel's ID.
11128
11129           Implemented handling of this new type into lib/silcclient/client.c
11130           into the function silc_client_notify_by_server.
11131
11132         * Added new function silc_idlist_replace_channel_id into the files
11133           silcd/idlist.[ch] to replace the Channel ID.
11134
11135 Fri Feb 16 14:14:00 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11136
11137         * Call silc_server_command_identify_check always when processing
11138           the IDENTIFY command in silcd/command.c
11139
11140 Thu Feb 15 20:07:37 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11141
11142         * Added new packet type SILC_PACKET_HEARTBEAT that is used to
11143           send keepalive packets.  The packet can be sent by clients,
11144           servers and routers.
11145
11146           Added function silc_socket_set_heartbeat into the file
11147           lib/silccore/silcsockconn.[ch] to set the heartbeat timeout.
11148           If not set, the heartbeat is not performed.  The actual
11149           heartbeat is implemented in the low level socket connection
11150           library.  However, application is responsible of actually
11151           sending the packet.
11152
11153           Added silc_server_send_heartbeat to send the actual heartbeat
11154           packet into silcd/packet_send.[ch].  Server now performs
11155           keepalive with all connections.
11156
11157         * Added silc_task_get_first function into lib/silcutil/silctask.c
11158           to return the timeout task with shortest timeout.  There was a bug
11159           in task unregistration that caused problems.  TODO has been
11160           updated to include that task system must be rewritten.
11161
11162         * The client library will now resolve the client information when
11163           receiving JOIN notify from server for client that we know but
11164           have incomplete information.
11165
11166         * Rewrote parts of silc_server_remove_from_channels and
11167           silc_server_remove_from_one_channel as they did not remove the
11168           channel in some circumstances even though they should've.
11169
11170         * Encryption problem encountered in server:
11171
11172           The LEAVE command used to send the Channel Key packet to the
11173           router immediately after generating it.  However, the code
11174           had earlier sent Remove Channel user packet but not immediately,
11175           ie. it was put to queue.  The order of packets in the router
11176           was that Channel Key packet was first and Remove Channel User
11177           packet was second, even though they were encrypted in the
11178           reverse order.  For this reason, MAC check failed.  Now, this
11179           is fixed by not sending the Channel Key packet immediately but
11180           putting it to queue.  However, this is more fundamental problem:
11181           packets that are in queue should actually not be encrypted
11182           because packets that are sent immediately gets encrypted
11183           actually with wrong IV (and thus MAC check fails).  So, packets
11184           that are in queue should be encrypted when they are sent to
11185           the wire and not when they put to the queue.
11186
11187           However, the problem is that the current system has not been
11188           designed to work that way.  Instead, the packet is encrypted
11189           as soon as possible and left to the queue.  The queue is then
11190           just purged into wire.  There won't be any fixes for this
11191           any time soon.  So, the current semantic for packet sending
11192           is as follows:
11193
11194           o If you send packet to remote host and do not force the send
11195           (the packet will be in queue) then all subsequent packets to the
11196           same remote host must also be put to the queue.  Only after the
11197           queue has been purged is it safe again to force the packet
11198           send immediately.
11199
11200           o If you send all packets immediately then it safe to send
11201           any of subsequent packets through the queue, however, after
11202           the first packet is put to queue then any subsequent packets
11203           must also be put to the queue.
11204
11205           Follow these rules and everything works fine.
11206
11207 Thu Feb 15 14:24:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11208
11209         * Added new function silc_server_remove_clients_by_server to
11210           remove all client entries from ID list when the server connection
11211           is lost.  In this case it is also important to invalidate all
11212           client entires as they hold the invalid server entry.  This
11213           fixes fatal bug when server has lost connection and will reconnect
11214           again.
11215
11216 Wed Feb 14 16:03:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11217
11218         * Made some sanity checks to silc_server_daemonise like to check
11219           whether the requested user and group actually exists.
11220
11221         * Added sanity check to SKE's silc_ske_responder_finish to check
11222           that the public and private key actually is valid.
11223
11224         * Invalidate the client's nickname when receiving Replace ID
11225           packet and the Client ID is being replaced.  This means that the
11226           server will query the nickname if someone needs it (client)
11227           a bit later.
11228
11229         * Sort the ID Cache in client library when the ID Cache data
11230           has changed (needs sorting).
11231
11232         * Do not allow for SILC client to create several connections to
11233           several servers.  The client does not support windows right now
11234           and generating multiple connections causes weird behaviour.
11235
11236           Irssi-silc client does support windows and can handle several
11237           connections without problems, see: www.irssi.org and SILC plugin.
11238
11239         * Fixed some places where client was added to the IDList.  The
11240           rule of thumb is following (in order to get everything right):
11241           If the client is directly connected local client then the
11242           `connection' argument must be set and `router' argument must be
11243           NULL to silc_idlist_add_client function.  If the client is not
11244           directly connected client then the `router' argument must
11245           bet set and the `connection' argument must be NULL to the
11246           silc_idlist_add_client function.
11247
11248         * The funtion silc_server_packet_send_local_channel actually did
11249           not check whether the client was locally connected or not.  It
11250           does that now.  Fixed a bug related to LEAVE command.
11251
11252         * Fixed Remove Channel User payload parsing bug in server's
11253           silcd/packet_receive.c.  Fixed a bug related to LEAVE command.
11254
11255         * The server's silc_server_save_channel_key now checks also the
11256           global ID list for the channel as it might not be in the local
11257           list.  Fixed a bug related to LEAVE command.
11258
11259         * Is this the end of the [<unknown>] buglet that has been lurking
11260           around for a long time?  A little for loop fix in server's
11261           silc_server_command_whois_parse that is used by both IDENTIFY
11262           and WHOIS command.  At least, this was a clear bug and a cause
11263           of one type of [<unknown>] buglet.
11264
11265         * WHOIS and IDENTIFY commands call the function
11266           silc_server_command_[whois/identify]_check function even if
11267           we are not router server.
11268
11269 Tue Feb 13 19:55:59 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11270
11271         * Added --with-gmp configuration option.  If set the GMP
11272           is always compiled in the SILC source tree.  If not set then
11273           it is checked whether the system has the GMP3 installed.  If
11274           it has then the GMP won't be compiled (the system's headers
11275           and library is used), if it doesn't have it then the GMP is
11276           compiled in the SILC source tree.
11277
11278 Mon Feb 12 11:20:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11279
11280         * Changed RSA private exponent generation to what PKCS #1
11281           suggests.  We try to find the smallest possible d by doing
11282           modinv(e, lcm(phi)) instead of modinv(e, phi).  Note: this is
11283           not security fix but optimization.
11284
11285 Sun Feb 11 18:19:51 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11286
11287         * Added new config entry [Identity] to fork the server and run
11288           it as specific user and group.  A patch from Bostik.
11289
11290         * Imported Dotconf configuration library into lib/dotconf.
11291           This will be used to create the SILC configuration files later.
11292           It will appear in the distsribution after this commit.
11293
11294 Sat Feb 10 21:13:45 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11295
11296         * A big code auditing weekend happening.  Auditing code for
11297           obvious mistakes, bugs and errors.  Also, removing any code
11298           that is obsolete.
11299
11300           Removed files for being obsolete:
11301
11302           o lib/silcutil/silcbuffer.c (the buffer interface is entirely in
11303           inline in the file lib/silcutil/silcbuffer.h)
11304
11305           o lib/silcutil/silcbufutil.c (the header has inline versions)
11306
11307           Changed code to fix possible error conditions:
11308
11309           o The buffer formatting routines now check that the destination
11310           buffer really has enough space to add the data.  This applies for
11311           both buffer formatting and unformatting
11312           (lib/silcutil/silcbuffmt.[ch]).  Also, the entire buffer
11313           unformatting was changed to accomodate following rules:
11314           XXX_*STRING_ALLOC will allocate space for the data into the pointer
11315           sent to the function while XXX_*STRING will not allocate or copy
11316           the data into the buffer.  Instead it sets the pointer from the
11317           buffer into the pointer sent as argument (XXX_*STRING used to
11318           require that the pointer must be allocated already).  This change
11319           makes this whole thing a bit more consistent and more optimized
11320           (note that the data returned in the unformatting with XXX_*STRING
11321           must not be freed now).  The routines return now -1 on error.
11322
11323           o Tried to find all code that use buffer_format and buffer_unformat
11324           and added return value checking to prevent formatting and
11325           especially unformatting errors and possible subsequent fatal
11326           errors.
11327
11328           o Changed ske->x and ske->KEY to mallocated pointers in
11329           lib/silcske/silcske.h.  Fixed possible data and memory leak.
11330
11331           o Added return value checking to all *_parse* functions.  Fixed
11332           many memory leaks as well.
11333
11334           o Added length argument to silc_id_str2id in lib/silccore/id.[ch]
11335           so that buffer overflows would not happen.  All code now also
11336           checks the return value as it can fail.
11337
11338 Mon Feb  5 20:08:30 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11339
11340         * Added reconnection support to server if the normal server looses
11341           its connection to the router (for example if router is rebooted).
11342           The server performs normal reconnection strategy implemented
11343           to the server.  Affected file silcd/server.c.
11344
11345 Sun Feb  4 13:18:32 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11346
11347         * Added new packet type SILC_PACKET_SET_MODE that is used to
11348           distribute the information about changed modes (for clients,
11349           channels and clients channel modes) to all routers in the
11350           network.  Updated the protocol specification accordingly.
11351
11352           Added functions into silcd/packet_send.c and
11353           silcd/packet_receive.c: silc_server_send_set_mode,
11354           silc_server_set_mode.
11355
11356           Added new files silcmode.[ch] into lib/silccore that implements
11357           the encoding and decoding of Set Mode Payload.  Added new type
11358           SilcSetModePayload.  Moved the definitions of different modes
11359           from lib/silccore/silcchannel.h into lib/silccore/silcmode.h.
11360
11361 Sat Feb  3 15:44:54 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11362
11363         * Oops, a little mistake in server's connection authentication
11364           protocol.  The protocol is not ended with FAILURE but with
11365           SUCCESS if the authentication is Ok. :)  Affected file is
11366           silcd/protocol.c.
11367
11368         * Implemented NICK_CHANGE notify handling in server in the file
11369           silcd/packet_receive.c  The NICK_CHANGE notify is distributed to
11370           the local clients on the channel.  After the changing nickname
11371           in router environment snhould work and the [<unknown>] nickname
11372           should appear no more.
11373
11374           The silc_server_replace_id function that receives the Replace ID
11375           payload now sends the NICK_CHANGE notify type also in the file
11376           silcd/packet_receive.c
11377
11378         * Changed WHOIS and IDENTIFY command to support the maximum amount
11379           of arguments defined in protocol specs (3328 arguments).  This
11380           fixed a bug that caused problems when there were more than three
11381           users on a channel.
11382
11383 Fri Feb  2 11:42:56 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11384
11385         * Added extra parameter, command identifier, to the
11386           silc_client_send_command so that explicit command identifier
11387           can be defined.
11388
11389           Changed that ID list routines uses specific command identifier
11390           when sending WHOIS/IDENTIFY requests to the server so that they
11391           can be identified when the reply comes back.
11392
11393           Affected files lib/silcclient/command.[ch],
11394           lib/silcclient/client.c and lib/silcclient/idlist.[ch].
11395
11396         * Added `sender' argument to silc_server_packet_send_to_channel
11397           to indicaet the sender who originally sent the packet to us
11398           that we are now re-sending.  Ignored if NULL.  Affected file
11399           silcd/packet_send.[ch].
11400
11401         * Added some server statistics support in silcd/server_internal.h
11402           SilcServerStatistics structure and around the server code.  Also
11403           send some nice statistics information when client is connecting
11404           to the client.
11405
11406 Thu Feb  1 23:31:21 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11407
11408         * Fixed channel ID decoding in server's JOIN command reply in
11409           silcd/command_reply.c
11410
11411         * Fixed braodcasting of replace ID payload to not to send it if
11412           we are standalone server in silcd/packet_receive.c.
11413
11414         * Fixed all channel message sending routines to not to send
11415           packets to clients that has router set, since they are routed
11416           separately in the same function earlier.  Affects file
11417           silcd/packet_send.c and all channel packet sending functions.
11418
11419         * In USERS reply, res_argv[i] are not allocated, the table
11420           is allocated.  Thus changed that free the table, not its
11421           internals.
11422
11423         * In server's whois_check and identify_check if the client is
11424           locally connected do not send any WHOIS commands - they are not
11425           needed.
11426
11427 Thu Feb  1 21:32:27 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11428
11429         * Fixed some minor bugs in client when sending WHOIS command.  The
11430           arguments was in wrong order.
11431
11432         * Removed statis function add_to_channel from server in
11433           silcd/command.c that was previously used with the joining but
11434           is obsolete now.
11435
11436         * Tested USERS command in router environment successfully with two
11437           routers, two servers and two clients.
11438
11439 Thu Feb  1 00:54:26 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11440
11441         * Reorganized the USERS command and command reply in client library
11442           in lib/silcclient/command.c and lib/silcclient/command_reply.c.
11443           When the command is given by user we register a pending command
11444           callback that will reprocess the command after the reply has been
11445           received from the server.  When reprocessing the packet we then
11446           display the information.  Thus, the USERS information is displayed
11447           now in the command callback instead of in the command reply
11448           callback.  The processing of the command is same as previously
11449           when server has sent the command reply in the JOINing process.
11450
11451         * Added to USERS command in silcd/command_reply.c to join the client,
11452           we didn't use to know about, to the channel after we've created
11453           a client entry for it.  Also, for clienet we did know already still
11454           check whether it is on the channel or not and add it if not.
11455
11456         * Removed silc_server_command_join_notify as the function and its
11457           use was obsolete.
11458
11459 Tue Jan 30 22:39:15 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11460
11461         * Changed the client's pending command handling to the same as the
11462           server's pending command handling.  It is also now possible to
11463           execute command reply functions from other command reply
11464           function as the function callbacks for commands and command
11465           replies are one and same.  The pending commands are not static
11466           list anymore, it is mallocated SilcDList in lib/silcclient/client.h
11467           in client connection context.  Thus, pending commands are server
11468           connection specific as it is convenient.
11469
11470           Changed the function silc_client_command_pending and
11471           silc_client_command_pending_del and added new function
11472           silc_client_command_pending_check.  Removed the
11473           SILC_CLIENT_CMD_REPLY_EXEC, and SILC_CLIENT_PENDING_COMMAND_CHECK
11474           macros.
11475
11476         * Added cmd_ident, current command identifier, to the client
11477           connection context in lib/silcclient/client.h to keep track on
11478           command identifiers used in command sending.  Client's command reply
11479           function handling now supports the mandatory command identifiers.
11480
11481         * Added SILC_CLIENT_COMMAND_EXEC_PENDING macros to all command reply
11482           funtions in client to fully support pending command callbacks.
11483
11484         * NOTE: the name_list in USERS (old NAMES) command is NOT sent anymore
11485           as one of the arguments to the application in the command reply
11486           client operation.
11487
11488         * NOTE: The FORWARDED flag is depracated.  It used to be depracated
11489           before first releasing SILC but came back.  Now it is removed again
11490           and should come back nomore.  The FORWARDED flag was used only
11491           by the JOINing procedure by forwarding the command packet to router.
11492           Now, the JOINing procedure has been changed to more generic (due
11493           to various router environment issues) and FORWARDED is not needed
11494           anymore for anything.  The protocol specification is yet to be
11495           updated.
11496
11497           Now, removed silc_server_packet_forward from server and the flag
11498           SILC_PACKET_FORWARDED from lib/silccore/silcpacket.h.
11499
11500 Tue Jan 30 00:05:05 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11501
11502         * Renamed NAMES command to USERS command.  The NAMES was named that
11503           due to historical reasons.  Now it is renamed.  Also, rewrote
11504           parts of the USERS command.  The nickname list is not sent anymore
11505           by the server.  Only Client ID and mode lists are sent in the USERS
11506           command.  Changed this also to the protocol specification.
11507
11508           The client now resolves the names and stuff after it receives
11509           the USERS list from the server when joining to the channel.
11510
11511         * WHOIS and IDENTIFY commands has been changed to support multiple
11512           Client ID's per command.  One can now search for multiple users
11513           in the network by sending only one WHOIS or IDENTIFY command.
11514           Changed the code and the protocol specifications.
11515
11516         * Removed silc_server_command_identify_parse and changed that IDENTIFY
11517           uses silc_server_command_whois_parse to parse the request. */
11518
11519         * If normal server, do not parse the WHOIS and IDENTIFY requests
11520           before sending it to the router.  Saves some time.
11521
11522 Sun Jan 28 16:19:49 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11523
11524         * Fixed JOIN command on client library.  Wrong number of arguments
11525           used to crash the client.
11526
11527         * Added silc_server_channel_has_global function to check whether
11528           channel has global users or not.
11529
11530         * Added silc_server_channel_has_local function to check whether channel
11531           has locally connected clients on the channel.
11532
11533         * The silc_server_remove_from_one_channel now checks whether the
11534           channel has global users or not after given client was removed from
11535           the channel.  It also checks whether the channel has local clients
11536           on the channel anymore.  If it does not have then the channel entry
11537           is removed as it is not needed anymore.
11538
11539         * The silc_server_notify now checks on JOIN notify whether the joining
11540           client is one of locally connected or global.  If it is global then
11541           the channel has now global users on the channel and that is marked
11542           to the channel entry.  Also, it now saves the global client to
11543           global list who is joining and JOINs it to the channel.  This is
11544           for normal server, that is.
11545
11546           Changed silc_server_send_notify_on_channel,
11547           silc_server_packet_relay_to_channel and
11548           silc_server_packet_send_to_channel check if we are normal server
11549           and client has router set (ie. global client) do not send the
11550           message to that client, as it is already routed to our router.
11551
11552         * Implemented LEAVE notify type handling in silc_server_notify
11553           function.
11554
11555         * Tested LEAVE command in router environment successfully.  Tested
11556           with two routers, two servers and two clients.
11557
11558         * Updated TODO.
11559
11560         * idlist_find_xxx_by_id routines now dumps the ID on the debug mode.
11561
11562         * Implemented SIGNOFF notify type handling in silc_server_notify
11563           function.
11564
11565         * silc_server_remove_id now removes the client entry from all channels
11566           it has joined and thusly sends SIGNOFF notify type.
11567
11568         * Rewrote the NAMES list generation in server by removing two excess
11569           loops.  The lists are created now inside one loop.
11570
11571 Sat Jan 27 22:34:56 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11572
11573         * silc_server_remove_channel_user checks now also global list
11574           for channel and client.
11575
11576         * silc_server_new_channel_user checks now both local and global
11577           list for channel and client.  Fixed a bug in client id decoding.
11578           Used to decode wrong buffer.
11579
11580         * silc_server_channel_message checks now both local and global
11581           list for channel entry.
11582
11583         * Tested channel joining (hence JOIN) in router environment
11584           successfully.  Tested with two routers, two servers and two
11585           clients.
11586
11587         * Tested channel message sending in router environment successfully.
11588
11589 Thu Jan 11 03:22:57 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
11590
11591         * Added silc_server_save_channel_key into server.[ch] to save the
11592           received channel key in Channel Key payload processing. It is
11593           also used in JOIN command reply handling.
11594
11595           Equivalent function silc_client_save_channel_key added into
11596           client.[ch] into client library.
11597
11598         * Changed JOIN command reply to send information whether the channel
11599           was created or not (is existing already) and the channel key
11600           payload.  Changed protocol specs accordingly.
11601
11602         * Fixed bugs in WHOIS and IDENTIFY command reply sending when
11603           the request was sent by ID and not by nickname.  Crashed on
11604           NULL dereference.
11605
11606 Sat Dec 23 21:55:07 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11607
11608         * Fixed a bug in Client library.  IDENTIFY and WHOIS reply functions
11609           now correctly save the received data.
11610
11611         * silc_server_free_sock_user_data now notifies routers in the
11612           network about entities leaving the network.
11613
11614           At the same time implemented functions silc_server_remove_id
11615           and silc_server_send_remove_id to receive and send REMOVE_ID
11616           packets.  The packet is used to notify routers in the network
11617           about leaving entities.  The ID removed will become invalid in
11618           the network.
11619
11620         * Added function silc_idlist_del_server into server. Removes and
11621           free's server entry from ID list.
11622
11623         * silc_server_private_message function now checks, if we are router,
11624           that the destination ID really is valid ID, naturally.
11625
11626         * In router when NEW_ID packet is received (for new client) the
11627           hash of the Client ID is saved in the ID Cache but the
11628           client->nickname is set to NULL, instead of putting the hash
11629           to it as well.
11630
11631           IDENTIFY command now also checks that client->nickname must be
11632           valid. If it is not if will request the data from the server who
11633           owns the client.  Added new function
11634           silc_server_command_identify_check.
11635
11636         * Added silc_command_set_command into lib/silccore/silcommand.[ch]
11637           to set the command to already allocated Command Payload.
11638
11639         * Tested private message sending in router environment with two
11640           routers, two servers and two clients.  Fixed minor bugs and now
11641           it works fine.
11642
11643         * Fixed segfault from client's NAMES command. Used to crash if
11644           not on any channel.
11645
11646         * Forwarded packets must not be routed even if it is not destined
11647           to the receiver.  Changed server code comply with this.
11648
11649 Sun Dec 17 14:40:08 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11650
11651         * Added `require_reverse_mapping' boolean value to ServerParams
11652           structure. If TRUE (not default) the server will require that
11653           the connecting host has fully qualified domain name.
11654
11655           If the reverse mapping is not required and hostname could not be
11656           found the IP address is used as hostname.
11657
11658 Sat Dec 16 17:39:54 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11659
11660         * Implemented version string checking to both client and server.
11661           The check is incomplete currently due to the abnormal version
11662           strings used in development version of SILC.
11663
11664         * Changed all command functions in server to use the new
11665           CHECK_ARGS macro.
11666
11667 Fri Dec 15 15:55:12 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11668
11669         * Changed char *data to unsigned char *data in ID Cache system to
11670           support binary data as ID Cache data. Changed code to support
11671           binary data in lib/silccore/idcache.c.
11672
11673         * Renamed silc_server_packet_relay_command_reply to
11674           silc_server_command_reply as it is normal packet receiving
11675           function. Rewrote the function to accept command replys for
11676           servers and not only for clients.
11677
11678         * Mark remote router always as registered server if we are connecting
11679           to it.  Otherwise, commands sent by the router to us are ignored.
11680
11681         * All ID List find routines now returns the ID Cache Entry pointer
11682           as well if requested.
11683
11684         * WHOIS command works now in router environment, tested with two
11685           routers, two servers and two clients.
11686
11687         * Cleaned up and rewrote IDENTIFY command. IDENTIFY should work now
11688           in router environment (as it is almost equivalent to WHOIS) but
11689           hasn't been tested thoroughly.  Added new functions:
11690
11691           silc_server_command_identify_parse
11692           silc_server_command_identify_send_reply
11693           silc_server_command_identify_from_client
11694           silc_server_command_identify_from_server
11695
11696         * Disabled route cache adding because adding two different ID's with
11697           same IP replaces the old cache entry thus giving wrong route.
11698           The entry->router->connection is always the fastest route anyway
11699           so route cache may not be needed.  Of course, new routes maybe
11700           established after receiving the ID when the entry->router->connection
11701           might not be anymore the most optimal.
11702
11703 Thu Dec 14 15:55:35 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11704
11705         * Add route cache for received ID for fast routing.
11706
11707         * Added silc_server_packet_route to route received packet on router
11708           that is not destined to us.
11709
11710         * Renamed silc_server_get_route to silc_server_route_get.
11711
11712         * Added id_string and id_string_len fields into SilcServer to
11713           include encoded ServerID for fast comparing without excess
11714           encoding of the ID's.
11715
11716         * Cleaned up WHOIS command on server side. Added following static
11717           functions:
11718
11719           silc_server_command_whois_parse
11720           silc_server_command_whois_check
11721           silc_server_command_whois_send_reply
11722           silc_server_command_whois_from_client
11723           silc_server_command_whois_from_server
11724
11725         * Added macro SILC_SERVER_COMMAND_CHECK_ARGC to check mandatory
11726           arguments in command replies. All command functions should be
11727           updated to use this macro.
11728
11729 Sun Dec 10 23:52:00 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11730
11731         * Minor typo fixes on command reply handling on server.
11732
11733 Tue Nov 28 11:05:39 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11734
11735         * Added silc_server_command_add_to_channel internal routine to add
11736           the client to the channel after router has created the channel and
11737           sent command reply to the server.
11738
11739         * Added generic silc_server_send_command to send any command from
11740           server.
11741
11742         * Use static buffer with ID rendering instead of duplicating data.
11743
11744 Mon Nov 27 21:39:40 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11745
11746         * Fixed a channel user mode bug when joining to a channel server gave
11747           everybody channel founder rights, oops.
11748
11749         * We mark ourselves as the router of the incoming server connection
11750           if we are router ourselves.  This way we can check in some packet
11751           sending functions whether it is locally connected server.  For
11752           incoming router connections we put NULL.
11753
11754         * For router sending packets locally means now always sending the
11755           packet cell wide; to local clients and local servers.  For normal
11756           server sending packet locally means sending it to only local
11757           clients.
11758
11759         * Fixed the JOIN command to really work in router environment.  If the
11760           channel is created it is always created by the router.  Router is
11761           also responsible of making the initial joining to the channel,
11762           sending JOIN notify to the sending server and distributing
11763           NEW_CHANNEL and NEW_CHANNEL_USER packets.  Hence, if the channel
11764           does not exist server doesn't do anything else but forward the
11765           command to the router which performs everything.
11766
11767         * Added silc_server_send_channel_key function to send the Channel Key
11768           payload.
11769
11770         * Added silc_server_create_channel_key to create new channel key.  The
11771           channel key is now re-generated everytime someone joins or leaves
11772           a channel, as protocol dictates.  Note: channel->key_len is the
11773           key length in bits.
11774
11775 Wed Nov 22 22:14:19 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11776
11777         * Splitted server.[ch] finally.  Created now packet_send.[ch] and
11778           packet_receive.[ch] to separate packet sending and receiving
11779           routines.  The server.[ch] now includes everything else including
11780           actual packet processing (writing and reading data) and other
11781           server issues.
11782
11783           Renamed silc_server_private_message_send_internal to
11784           silc_server_send_private_message.  The routine is still though
11785           used only to relay private messages as server does not send
11786           private messages itself.
11787
11788           Renamed silc_server_new_channel to silc_server_create_new_channel
11789           and added new function sicl_server_new_channel that handles the
11790           incoming New Channel packet.  Added also new sending function
11791           silc_server_send_new_channel to send New Channel Payload.
11792
11793         * Added new function silc_server_notify to process incoming notify
11794           packet to the server/router. Server may then relay the notify
11795           to clients if needed.
11796
11797         * Added new function silc_server_new_channel_user to process incoming
11798           New Channel User packet.  Router will redistribute the packet and
11799           send JOIN notify to its local clients and locally connected servers
11800           if needed.  Normal server will send JOIN notify to its local client
11801           on same channel when received this packet.  Added also corresponding
11802           sending function silc_server_send_new_channel_user to sent the
11803           payload.
11804
11805         * Added boolean route argument to send_notif_to_channel and
11806           packet_send_to_channel functions to attempt to route the packet
11807           if it is TRUE and send only locally if it is FALSE.
11808
11809 Tue Nov 21 19:49:31 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11810
11811         * silc_server_replace_id now broadcasts the received replace ID
11812           packet if it is not broadcast packet already. The router must
11813           broadcast to inform other routers about changed ID.
11814
11815         * Added backpointer to server's router into SilcServer context in
11816           silcd/server_internal.h.
11817
11818         * Fixed silc_server_packet_broadcast to send correct broadcast
11819           packets.
11820
11821         * The channel key is now distributed to the local client as soon
11822           as it is received from the router (in router environment) so that
11823           no other packet may be sent for the channel until client has
11824           received the key.
11825
11826         * silc_server_remove_channel_user now broadcasts the received
11827           Remove Channel User packet if it is not broadcast packet already.
11828           The router must broadcast to inform other routers about removed
11829           channel user.
11830
11831         * Added users field into SilcPacketContext that is a reference count
11832           of the context.  One can increase the reference count by calling
11833           silc_packet_context_dup which is now changed to just increase the
11834           reference count instead of duplicating the data.  The reference
11835           count is decresed by calling silc_packet_context_free that will
11836           free the data after the reference count hits zero.
11837
11838           For now on the packet context and everything allocated into it
11839           (including the raw packet from network) must be freed by calling
11840           the new silc_packet_context_free function.  Added also new function
11841           silc_packet_context_alloc that must be used now to allocate the
11842           context.  This also means that if a routine is asynchronous from
11843           silc_[client/server]_packet_parse_type the packet context must
11844           be duplicated by calling silc_packet_context_dup.  Otherwise it
11845           gets free'd after silc_[client/server]_packet_parse_type returns.
11846           Also, one must remember that if packet is duplicated then its
11847           reference count must be decresed by calling the free function as
11848           many times as it was duplicated.
11849
11850         * Changed SilcBuffer field from protocol contexts to SilcPacketContext
11851           from both client and server.
11852
11853 Mon Nov 20 23:47:03 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11854
11855         * Made joining to a channel working in router environment.
11856
11857         * Cleaned up JOIN command on server side and create function
11858           silc_server_command_join_channel internal routine to make the
11859           joining happen.
11860
11861 Thu Nov  9 21:12:39 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11862
11863         * Changed silc_command_pending list to SilcDList.  Also, added
11864           `ident' field to SilcServerCommandPending structure to identify
11865           the reply and to call correct callback.
11866
11867           Added silc_server_command_pending_check function to replace the
11868           corresnponding macro.  The silc_command_pending list is not
11869           extern anymore.
11870
11871         * Added silc_command_set_ident into lib/silccore/silccommand.[ch]
11872           to set identifier to previously allocated Command Payload.  It
11873           is used to set identifier for command when resending Command
11874           Payload.
11875
11876         * Added silc_command_payload_encode_payload to encode Command
11877           Payload buffer from SilcCommandPayload structure.
11878
11879         * Added silc_argument_payload_encode_payload to encode Argument
11880           payload buffer from SilcArgumentPayload structure.
11881
11882 Wed Nov  8 21:03:28 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11883
11884         * Changed WHOIS command to support router connection on server side.
11885           The whois request is always sent to router unless the server is
11886           standalone server.  After server has received the reply from the
11887           router will it send the reply to the client.
11888
11889         * Added silc_server_packet_broadcast into silcd/server.[ch] to
11890           broadcast received broadcast packet.  The function is used only
11891           by router.  The broadcast packet is always sent to the router's
11892           primary route.
11893
11894         * Added silc_id_render function in lib/silcutil/silcutil.[ch] to
11895           render given ID to printable string, for log files for example.
11896
11897 Tue Nov  7 22:14:19 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11898
11899         * Made basic router to router connections working.  At least they
11900           can now connect to each other but nothing really works the way
11901           they are supposed - yet.
11902
11903         * Added new initiator token to RouterConnection configuration
11904           file in silcd/serverconfig.[ch].  It is used to tell whether we
11905           are the initiator to the remote router or whether we'll expect
11906           the other end to connect.
11907
11908         * Moved registering of listener task to silc_server_init, hence
11909           the server starts listenning as soon as it is run, even if it
11910           does not have connections to other routers.  Let's see how well
11911           this will work.
11912
11913         * Changed default connection retry timeouts for more suitable in
11914           silcd/server.h.
11915
11916         * Removed cipher and such arguments from silc_idlist_add_client
11917           and silc_idlist_add_server prototypes from silcd/idlist.[ch].
11918           Added new function silc_idlist_add_data to add the keys and stuff
11919           to any ID entry.
11920
11921         * Added SilcIDListData structure and added it to SilcClientEntry
11922           and SilcServerEntry as their first field in the structure.  This
11923           way we can explicitly cast the ID entries to the SilcIDListData
11924           structure and get common data for the entries.  In past, we had
11925           to first check what type of connection it is and then cast it to
11926           correct ID entry type.  Now, we can directly cast the opaque
11927           pointer to the SilcIDListData (no matter what ID entry it actually
11928           is) and get the data needed.
11929
11930 Mon Nov  6 21:56:12 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11931
11932         * Wow, found a bug in scheduler.  The scheduler uninitialized itself
11933           in some circumstances even if threre were timeout tasks, though not
11934           IO tasks, but tasks anyway.  Now fixed.
11935
11936         * Defined SilcServerConnection structure to hold connection specific
11937           stuff about directly connected servers and routers.  The definition
11938           is currently in silcd/server_internal.h.  I thought about having
11939           a bit more important role fro this struct but for now it is used
11940           only when connecting to other server (or router actually).
11941
11942         * Added connecting retry support in server when connecting to
11943           router(s).  The retry feature implement exponential backoff
11944           algorithm.  Also, added SilcServerParams structure to hold default
11945           parameters for server.  For now, it include these retry settings
11946           and are hard coded.  After server is moded to be as Silc Server
11947           Library this structure will be more important.
11948
11949 Sun Nov  5 22:28:44 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11950
11951         * Changed client librarys channel->clients table to SilcList and
11952           changed code accordingly.
11953
11954 Thu Nov  2 16:28:01 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11955
11956         * Changed client's channel table to SilcList and changed code
11957           accordingly.  Also changed SilcChannelClientEntry to include back-
11958           pointer to the channel so that client entry can use that structure
11959           as list as well and we have fast cross-reference to the channel.
11960           This change dramatically decreased the complexity of channel
11961           handling with client entry and vice versa (removed one extra
11962           loop when searching for channel entry from many functions).
11963
11964         * Changed server->sim from table to SilcDList and changed code
11965           accordingly.
11966
11967         * NAMES command can now be used from user interface.  It will show
11968           the user list on the channel, neatly.
11969
11970         * Added realname pointer to SilcClientEntry in lib/silcclient/idlist.h.
11971           Code now saves realname of the user if it becomes available.
11972
11973         * Renamed configure.in to configure.in.pre and made ./prepare
11974           script to automatically add correct version string to
11975           configure.in which it creates from configure.in.pre.
11976
11977 Wed Nov  1 17:21:26 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11978
11979         * NAMES command reply now shows users mode with the nickname when
11980           joining to channel.
11981
11982         * Moved silc_client_ch[u]mode[_char] functions from
11983           silc/clientutil.[ch] to lib/silcclient/client.[ch].  Though, that
11984           place sucks, they are utility functions and should be in some
11985           other file.
11986
11987         * Fixed some unsigned int's to unsigned short's.  Patch by cras.
11988
11989         * Fixed contrib/getopt*.[ch] to not require config.h.  Patch by
11990           cras.
11991
11992 Tue Oct 31 20:10:37 EET 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
11993
11994         * Updated README.
11995
11996         * Added TRQ (efficient deque and list library) into lib/trq.  This is
11997           a very good list library that is currently used in the SILC.  Defined
11998           SilcList API over the library because I didn't like the API very
11999           much.  See lib/trq/silclist.h for the API and examples of how to
12000           use the API.  Fixed various places in the code to use the new
12001           SilcList API. The SilcList is meant for lists that has a structure
12002           already defined as a list.  It is not suitable to add just some
12003           context to the list (in TRQ, the context is the list actually).
12004
12005           So, I defined SilcDList that can be used for the purpose where
12006           predefined list structure does not exit.  This can be used as
12007           such list.  Now some context just can be added to the SilcDList.
12008           Currently this list is not used in the SILC just yet, though there
12009           are a lot places where this can replace dynamically allocated
12010           tables and I will fix these places, later, to use SilcDList.
12011           See lib/trq/silcdlist.h for SilcDList (they are all inline functions,
12012           and use TRQ internally).
12013
12014           Also fixed some annoying warning messages that the original TRQ
12015           code generated.  Also minor changes to TRQ's Makefile.in.
12016
12017         * Added support for querying by Client ID to both WHOIS and
12018           IDENTIFY commands into server, as required by the protocol.
12019
12020         * Removed method function pointers from SilcBuffer structure. They
12021           weren't used to anything and just increased the context size for
12022           no good reason.  This change also made silc_buffer_alloc and
12023           silc_buffer_free functions inline functions.
12024
12025         * Disabled command flooding detection support until it's fixed so
12026           that it accepts commands in but does not execute them more than once
12027           in two seconds.
12028
12029         * Added silc_net_localhost(), to return local hostname, into
12030           lib/silcutil/silcnet.[ch].  Also added client->hostname pointer
12031           that must be initialized before calling silc_client_init.
12032
12033         * Added new function: silc_server_send_notify_on_channels to send
12034           notify messages to all channels client has joined.  It is assured
12035           that the message is sent only once per client.
12036
12037         * Moved silc_log_format (from lib/silcutil/silclog.[ch] into
12038           lib/silcutil/silcutil.[ch] as silc_format function.  The new
12039           function is generic and is used by server as well, not only by
12040           the logging routines.
12041
12042         * Added new SKE status type: SILC_SKE_STATUS_BAD_VERSION to indicate
12043           the provided version string was not acceptable.  Added new function:
12044           silc_ske_check_version into lib/silcske/silcske.h.  The function
12045           must be implemented by the application (client or server) and it
12046           does not reside in the SKE library.  The function checks the version
12047           string remote end sent.
12048
12049         * Added back pointers (to opaque context and to SilcSocketConnection)
12050           into SilcPacketContext structure into lib/silccore/silcpacket.h.
12051
12052         * Added silc_packet_context_dup into lib/silccore/silcpacket.[ch] to
12053           duplicate packet context structure.
12054
12055         * Changed `notify' client operation to send same arguments as client
12056           receives from server except for ID's.  ID's are mapped to correct
12057           ID entry and that is returned.  Also, if channel entry is not sent
12058           by server but the notify is for channel the channel entry is sent
12059           to application (otherwise application doesn't know that it is for
12060           channel (library gets it from packet's Destination ID)).
12061
12062         * Added silc_client_remove_from_channels into client library to
12063           remove a client from all channels it has joined to.  Used when
12064           received SIGNOFF notify from server.  Added also new function
12065           silc_client_replace_from_channels to replace old ID entry with
12066           new ID entry on all channels.  Used when received NICK_CHANGE
12067           notify from server.
12068
12069         * Fixed ID Cache list handling in silc_idlist_get_client in
12070           lib/silcclient/idlist.c.  Also, added silc_idlist_get_client_by_id
12071           to get (or query) client by ID.
12072
12073         * Updated TODO list.
12074
12075         * Added connection authentication status message defined by the
12076           protocol: SILC_CONN_AUTH_OK and SILC_CONN_AUTH_FAILED and added the
12077           support for these into the code in client and server side.
12078
12079         * Added generic function silc_client_send_command to send any command
12080           with variable argument list.  Application should use this function
12081           to send commands if the command functions provided by the library
12082           does not suite for the application's user interface needs.
12083
12084         * Added new `failure' client operation.  Application is notified about
12085           received failure packet if client is executing a protocol.  In this
12086           case the protocol's execution has failed.
12087
12088         * Added SKE's end notify to send the SKE_SUCCESS notify message that
12089           is required by the protocol.
12090
12091         * Added SILC_PROTOCOL_STATE_FAILURE to indicate received failure
12092           packet from remote.  SILC_PROTOCOL_STATE_ERROR indicates local
12093           error at our end.
12094
12095         * Added status flag to SilcSKE object to indicate realtime status
12096           of the SKE protocol.
12097
12098         * Application receives now exactly same command reply arguments as
12099           the library receives from server.  However, if ID is received the
12100           corresponding ID entry is returned to the application (eg. Client
12101           ID is mapped to correct SilcClientEntry entry and that is returned).
12102           Changed command_reply client operation due to this change.
12103
12104         * Changed all ID's in commands and in command replys as ID Payloads.
12105           Change affected both client and server side codes.
12106
12107           All ID's sent in SILC network (with execption of ID's in SILC
12108           Packet header) are sent in ID Payload to support variable length
12109           ID's.
12110
12111         * Server now notifies nick changes and notifies all clients on
12112           the channels about the new nickname (about the new Client ID,
12113           actually).
12114
12115         * Implemented CMODE command to change channel modes. Supports all
12116           channel modes defined by the protocol specs except ban and invite
12117           lists. (Also, private channel key mode is supported but support for
12118           setting private channel key in client is missing, thus, this mode
12119           has no effect on client side (except that server requires that the
12120           client uses private channel key and normal channel traffic does not
12121           work anymore)).
12122
12123           Also, invite mode works per se, but INVITE command does not work
12124           yet correctly, so you can set channel as invite only channel but
12125           inviting clients to the channel does not work (it is yet to be
12126           thought what's the best way to do it).
12127
12128         * Added new command SILC_COMMAND_CUMODE to change user mode on the
12129           channel.  Defined user modes: CHANNEL_FOUNDER and CHANNEL_OPERATOR.
12130           Implemented CUMODE command to change user's mode on the channel.
12131           Supports all modes defined by the protocol specs.
12132
12133         * Added NAMES command reply to return users modes on the channel.
12134
12135         * Removed unnecessary and slow ciphers from lib/silccrypt.
12136
12137         * Set SO_KEEPALIVE option to connection sockets by default.
12138
12139         * Added new command reply status: SILC_STATUS_USER_NOT_ON_CHANNEL.
12140
12141         * Added notify types: MOTD, CMODE_CHANGE and CUMODE_CHANGE.  Also,
12142           redefined the Notify Payload into protocol specs.
12143
12144         * Added silc_id_payload_parse_id to get ID directly from raw
12145           ID payload data.
12146
12147 Mon Oct  9 20:57:02 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12148
12149         * Changed SILC_COMMAND_IDENTIFY in protocol specification to
12150           accept searching by Client ID as well.
12151
12152         * Added support for LEAVE and SIGNOFF notify types in client library.
12153
12154         * Added silc_id_payload_parse_data into lib/silccore/silcpayload.[ch]
12155           to parse ID Payload from raw data.
12156
12157 Sun Oct  8 19:33:08 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12158
12159         * Added flags parameter into silc_ske_assemble_security_properties
12160           function in lib/silcske/silcske.[ch].
12161
12162         * Changed notify client operation to fit better for notify messages
12163           sent by server.  The notify payload received from server is now
12164           passed to the application (after parsing it to SilcNotifyPayload).
12165           It is application's responsibility to retrieve the arguments
12166           from the payload and show the message the way it wants.  The message
12167           sent by server is implementation specific.
12168
12169         * Changed public keys to comply with the protocol specification.
12170           Old public keys are not supported anymore and are not compatible.
12171
12172         * Removed nickname from Channel Payload as the latest draft removed
12173           it.  The client must resolve the nickname from the NAMES command
12174           reply received when it joined the channel.
12175
12176           Also, changed all channel_xxxx_payload to channel_payload_xxxx.
12177
12178 Sat Oct  7 21:55:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12179
12180         * Fixed some errors in protocol specification drafts.
12181
12182         * Created lib/silccore/silcnotify.c to implement Notify Payload
12183           encoding and decoding, lib/silccore/silcpayload.[ch] to implement
12184           generic payloads described by protocol specifications.  The file
12185           includes implementations for ID Payload and Argument Payload.
12186
12187         * Changed Command Payload implementation to use the new Argument
12188           Payload.  Changed command_xxxx_payload to command_payload_xxxx
12189           to comply with SILC coding conventions.
12190
12191         * Added suppport for Argument Payload handling in Notify Payload
12192           implementation as protocol requires it.  Added the new support
12193           into server and client lib as well.
12194
12195 Thu Oct  5 21:16:28 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12196
12197         * Added support for multiple nicknames on same channel.  [n] is
12198           added locally to the nickname if there are more than one same
12199           nicknames on the channel.
12200
12201         * Server now sends all nicknames that matched WHOIS request.
12202           Client also shows the list received from server.
12203
12204         * Added TOPIC command to client side.  User can now set and show
12205           current topic on channel.
12206
12207         * Added MOTD command to client and server.  Also, server sends the
12208           motd when client connects to the server.
12209
12210         * Changed version strings to comply ISO 8601.
12211
12212 Wed Oct  4 23:29:06 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12213
12214         * Fixed protocol error handling in client library.  It should now
12215           cope even if the SKE fails for some reason.
12216
12217         * Made new protocol specification drafts for submitting to IETF.
12218
12219         * Implemented TOPIC command to server in silcd/command.c.
12220
12221         * Added two new notify types into lib/silccore/silcnotify.h:
12222           SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_TOPIC_SET to
12223           notify nickname change and topic setting/change on a channel.
12224
12225         * API change of command_reply operation in client library.  The
12226           application gets now the status type received from server as well.
12227
12228 Sat Sep 30 16:57:42 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12229
12230         * Removed the function just added to lib/silcutil/silcschedule.[ch].
12231
12232         * Cras fixed and optimized the packet handling even further and
12233           it should work now.  Minor change to the prototype of function
12234           silc_packet_receive_process in lib/silccore/silcpacket.[ch].
12235
12236 Sat Sep 30 08:48:47 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12237
12238         * Added new function into lib/silcutil/silcschedule.[ch]:
12239           silc_schedule_with_fd to select() a specified fd.  The function
12240           returns after timeout expires or data arrives or goes.  The
12241           function is used by packet routines to wait that all data is
12242           received from network.
12243
12244         * Fixed data reading from network in lib/silccore/silcpacket.c.
12245           The code now assures that all data is read from the fd and then
12246           continues packet processing.  This was a bug fix since the code
12247           used to drop some data in some circumstances.
12248
12249         * Added new function into lib/silcclient/client.[ch]:
12250           silc_client_start_key_exchange to start key exchange after
12251           connection has been established to server.  The code internally
12252           now uses this funtion but its main purpose was to provide it
12253           for applications that perform their own connecting.  After
12254           application has created a connection it merely calls this
12255           function to start the key exchange between client and server.
12256           The library takes care of everything else after that.
12257
12258           Updated also lib/silcclient/README to explain the usage of
12259           this new function.
12260
12261         * Do not send to application information that connection has
12262           been established.  Application gets notified it by connect
12263           operation anyway.
12264
12265 Thu Sep 28 23:40:19 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12266
12267         * Applied cras's patch to add silc_schedule_one function.  The
12268           function runs scheduler once and returns.
12269
12270         * Fixed the scheduler after cras messed it up.  The timeout
12271           handling works now as it's supposed to work.
12272
12273         * Added into lib/silccore/ silcnotify.h to include notify
12274           message types support.  Changed silc_server_send_notify*
12275           functions, in server.[ch], to support those new notify types.
12276           Added the support for the notify types into client library,
12277           as well.  Added new notify client operation into ops.h in
12278           lib/silcclient/.
12279
12280         * Changed silc_server_packet_send_to_channel to send normal
12281           packets instead of just channel message packets.  The function
12282           is now used to send the notify packets to channels.  It is not
12283           used to send channel message packets anymore, as server never
12284           sends them anymore.
12285
12286         * Added explicit casting into lib/silcutil/silcbuffmt.c to few
12287           va_arg()s as it seems to require it nowadays.  I guess, if SILC
12288           is compiled with older va_arg() the new code should work anyway.
12289
12290 Wed Sep 13 18:10:14 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12291
12292         * Splitted core library.  Core library (lib/silccore) includes
12293           now only SILC protocol specific core (and common) components.
12294           Created new utility library (lib/silcutil) that includes more
12295           generic purpose stuff.  The stuff for util library was taken
12296           from the old core library.  This was minor and easy split.
12297
12298         * Created SILC Client Library (lib/silcclient) that includes
12299           implementation of the SILC client without user interface.  This
12300           was major move from silc/ directory.  The code has been changed
12301           so that it is transparent towards the user interface.  The
12302           silc/ directory includes now the same user interface as before
12303           and it uses the new client library.  Read lib/silcclient/README.
12304           Basicly, the client library performs everything else related
12305           to SILC except user interface handling.  Also, configuration
12306           files are considered to be part of user interface and library
12307           does not handle them.
12308
12309           This change also changed a lot of structures, function naming etc.
12310           Most important change was that SilcClientWindow object was
12311           renamed to SilcClientConnection in the client library.  Created
12312           also new file lib/silcclient/ops.h.  Also added new files
12313           silc/local_command.[ch] and silc/client_ops.[ch].
12314
12315           All these changes were made to make it easier for user interface
12316           designers to create what ever user interface for the SILC client
12317           they want.
12318
12319           It is also expected that the server will be moved to lib
12320           directory as well and SILC Server Library will be created;
12321           sometimes in the future.
12322
12323         * Removed Local commands from lib/silccore/silccommand.h as
12324           they are application specific and new client library does not
12325           handle any of those anymore.
12326
12327         * Several functions moved to lib/silcutil/silcutilc.[ch] from
12328           old client implementation in silc/.
12329
12330         * Added support for callback functions in SILC_LOG_* macros.
12331           Application can now set its own callbacks that will be called
12332           instead of using the default functions that will always print
12333           the debug messages to stderr (or stdout).  Also, debugging can
12334           now be disabled by setting silc_debug to FALSE and re-enabled by
12335           setting it to TRUE.  Note, that logging will still work even
12336           if debugging is disabled.
12337
12338           New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
12339           silc_log_reset_callbacks, silc_log_set_debug_callbacks and
12340           silc_log_reset_debug_callbacks.
12341
12342         * To enable debugging in silc client one must give now -d
12343           option on command line.
12344
12345         * Changed silc_schedule_init to automatically allocate task queues
12346           if they are not allocated before calling it.
12347
12348 Thu Sep  7 10:49:33 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12349
12350         * Added GMP 3.1 into math library.
12351
12352 Sun Aug 20 21:27:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12353
12354         * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
12355           a channel in SILC network.  The packet is used by servers and
12356           routers to notify other routers that user has left a channel.
12357           This little feature was missing until now.  Added the feature
12358           to protocol specification as well.
12359
12360           Added functions: silc_server_send_remove_channel_user and
12361           silc_server_remove_channel_user into server.[ch].
12362
12363         * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
12364           lib/silccore/silcpacket.h.  However, they are not implemented
12365           yet.
12366
12367 Sat Aug 19 23:04:16 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12368
12369         * Fixed joining to a channel and sending channel messages
12370           between server and router.  The channel message sending should
12371           now work inside a cell.
12372
12373 Tue Jul 25 20:46:13 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12374
12375         * Fixed the private message sending between server and router.
12376           The private message sending should now work inside a cell.
12377
12378         * Added silc_server_replace_id into server.[ch] to replace
12379           existing ID in the SILC network.
12380
12381         * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
12382           and silc_idlist_replace_server_id into idlist.[ch] in server.
12383
12384 Mon Jul 24 18:33:31 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12385
12386         * Fixed the server to server connections.  Server can again now
12387           connect to router.  Router to router connections probably does
12388           not work just yet.
12389
12390 Thu Jul 20 13:15:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12391
12392         * Added dynamic protocol registering support.  Now protocols can
12393           registered and unregistered on the fly.  Patch by cras.
12394
12395 Wed Jul 19 19:08:46 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12396
12397         * Added lib/contrib directory to hold routines that some platforms
12398           don't have but are needed by SILC.
12399
12400         * Added getopt.c, getopt1.c and getopt.h from GNU C library
12401           into lin/contrib to provide getopt() and getopt_long() for
12402           those who don't have it.
12403
12404 Tue Jul 18 20:41:20 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12405
12406         * Added AWAY command to client.  When away message is set and
12407           client receives a private message packet the client automatically
12408           replies to the sender with the away message.
12409
12410         * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin.  This
12411           bug seemed to be the cause of recent problems when compiling
12412           with gcc-2.95.
12413
12414         * Added version detection support to SKE protocol specification
12415           and added the new changes to the SKE implementation as well.
12416           There were other minor changes in the SKE protocol as well.
12417
12418           Many changes in lib/silcske/silcske.[ch] and in
12419           lib/silcske/payload.[ch].
12420
12421         * Added ^U functionality, clear input line.  Patch from cras.
12422
12423 Mon Jul 17 23:33:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12424
12425         * Mainly small bugfixes on core library.  Fixed some debugging
12426           logging and buffer overflow in silclog.c.
12427
12428         * Updated config.sub and config.guess on the distribution tree.
12429
12430 Sat Jul 15 15:33:48 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12431
12432         * Added command lagging support in server. Client may execute
12433           commands now only once in two seconds.
12434
12435 Thu Jul 13 22:10:21 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12436
12437         * Optimized packet reception. MAC computation and checking is now
12438           also more optimized.  A lot previously duplicated code is now
12439           used as generic by both client and server.
12440
12441         * Fixed key pair generation in clientutil.c
12442
12443 Wed Jul 12 18:28:07 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12444
12445         * Added into lib/silccore/silcbufutil.[ch] new function;
12446           silc_buffer_realloc.
12447
12448         * Moved generic packet sending/encryption functions to
12449           lib/silccore/silcpacket.[ch] from client and server.  Some
12450           rewriting of the functions.
12451
12452         * Moved all generic packet reception/decryption functions to
12453           lib/silccore/silcpacket.[ch] from client and server.  The
12454           packet processing is now much cleaner in both client and server.
12455           These were major changes in both client and server.
12456
12457         * Created many common functions in server to do packet sending.
12458           Previously code were duplicated a lot, this has been removed
12459           with these changes.
12460
12461 Tue Jul 11 20:27:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12462
12463         * Rewrote major parts of the ID cache system.  Don't know
12464           whether it is better now or not but at least the API is more
12465           cleaner now.
12466
12467         * Major rewrite on ID cache stuff on client because of the ID
12468           cache API changes.  Added idlist.c to client.
12469
12470         * Also major rewrite on ID cache stuff on server as well.
12471           Major rewrite of idlist.[ch]. SilcXXXList's are now named
12472           SilcXXXEntry's.  We won't keep anymore idlist specific pointers
12473           in hand, instead they are all put into the ID cache system now.
12474           All server_idlist_* routines uses ID cache now instead of
12475           traversing its own lists (those lists does not exist anymore).
12476           SilcIDList though still exists.  Also, SilcXXXEntry's are
12477           now pointers.
12478
12479 Sun Jul  9 15:19:24 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12480
12481         * Finally made the SKE implementation compliant to the protocol
12482           specification.  All mp integers are now binary encoded as
12483           opposed being HEX encoded.
12484
12485         * Added lib/silcmath/mpbin.[ch].  Encoding mp intergers to and
12486           from binary data.
12487
12488         * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
12489           functions: silc_[encode/decode]_pem.  Also added function
12490           silc_encode_pem_file to PEM encode with newlines ('\n') for
12491           saving into a file.
12492
12493         * SILC public keys are now encoded either PEM or binary.  Same
12494           option is for private keys as well.  By default private keys
12495           are binary encoded and public keys PEM encoded.  Silly HEX
12496           encoding were removed.
12497
12498         * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
12499           function to create fingerprints.
12500
12501         * Fixed a bug in SHA1; does not change the original data anymore.
12502
12503         * Partly implemented INFO command on client and server side.
12504           Fixed CLEAR command.  Changes to SERVER command; show current
12505           server(s) when giving command without arguments.  Added
12506           VERSION command to client.
12507
12508         * Added check to server that unregistered connections cannot
12509           execute commands (unless it is specificly allowed).
12510
12511 Thu Jul  6 18:12:24 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12512
12513         * Fixed screen refresh.
12514
12515         * Fixed channel joining bug from client.  On some circumstances
12516           client tried to join to a channel it had already joined.
12517
12518         * Added public key verification process into client's protocol.c.
12519           The client now verifies the public key from user and saves
12520           it into ~./silc/serverkeys/ directory.
12521
12522           Added into: clientutil.[ch]: silc_client_verify_server_key.
12523
12524         * Changed SKE protocol's silc_ske_initiator_finish function
12525           to accept callback function that verifies the received public
12526           key.  Removed old silc_ske_verify_public_key function.
12527
12528 Wed Jul  5 19:19:02 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12529
12530         * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
12531           silc_pkcs_private_key[_data]_set.
12532
12533         * Made the password and public authentication more cleaner in
12534           server's protocol.c.
12535
12536         * Removed historic and obsolete protocol `channel_auth' from
12537           both client and server.
12538
12539         * Removed wrong way of sending command status messages from
12540           server to client in server's command.c.  The old way violated
12541           protocol specification.
12542
12543           Changes to silccore/silccommand.[ch]: removed
12544           silc_command_encode_status_payload -> not needed anymore,
12545           changed silc_command_encode_payload_va to accept extra
12546           argument on variable argument list.  The argument type must
12547           now be provided to the function.  Also, added new function:
12548           silc_command_encode_reply_payload_va which is same as
12549           normal command_encode_payload_va except command status type
12550           is provided as extra argument.
12551
12552 Tue Jul  4 18:26:39 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12553
12554         * Added ~./silc directory handling.  The directory includes the
12555           public and private keys for the client.
12556
12557           Added silc_client_check_silc_dir, silc_client_create_identifier
12558           and silc_client_load_keys.
12559
12560         * Implemented SILC protocol compliant public key.  Added public
12561           and private key saving to and loading from files.
12562
12563           Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
12564           silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
12565           silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
12566           silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
12567           silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
12568
12569           Implemented: silc_pkcs_save_[public/private]_key[_data] and
12570           silc_pkcs_load_[public/private]_key.
12571
12572 Mon Jul  3 18:51:27 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12573
12574         * Added silc_server_get_route (route.[ch]) to get connection
12575           data for the fastest route for given ID.
12576
12577         * Implemented INVITE command on client and server.  The command
12578           were re-defined in the SILC Protocol Specification and the
12579           implementation now complies with the specification.
12580
12581         * Implemented PING command on client and server.
12582
12583         * Implemented NAMES command on client and server.  The server side
12584           supports currently only normal server not router server yet.
12585           Some changes to NAMES definition in SILC protocol specification.
12586
12587 Sun Jul  2 18:23:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12588
12589         * Implemented LEAVE command on client and server.
12590
12591         * Previously deprecated SILC_PACKET_FORWARDED flag is now in use
12592           again.  This change was made to the protocol as well.  Server
12593           should not violate the protocol specification anymore.
12594
12595 Fri Jun 30 14:03:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
12596
12597         * Added SOCKS4 and SOCKS5 support to SILC client.  SOCKS5
12598           was tested.  SOCKS4 was not but should work anyway.