1 Sun Nov 11 16:02:12 EET 2007 Pekka Riikonen <priikone@silcnet.org>
3 * SILC Server 1.1 Beta4.
5 Sun Nov 11 14:15:48 EET 2007 Pekka Riikonen <priikone@silcnet.org>
9 Sun Nov 11 11:22:35 EET 2007 Pekka Riikonen <priikone@silcnet.org>
11 * Fixed connection authentication with public keys to use
12 correct public key as responder. Affected file is
13 lib/silcske/silcconnauth.c.
15 * Fixed public key authentication in server. Affected file is
16 apps/silcd/serverconfig.c.
18 * Fixed OPER and SILCOPER public key authentication. Affected
19 file is apps/silcd/server.c.
21 * Fixed prefer_passphrase_auth flag in server. Fixed
22 disconnection of unauthenticated connection. Affected file is
25 * Fixed client resuming in server. Affected file is
26 apps/silcd/packet_receive.c.
28 * Fixed IDENTIFY and WHOWAS command reply to correctly update
29 client entries (fixes a crash). Affected file is
30 apps/silcd/command_reply.c.
32 Tue Nov 6 16:39:20 EET 2007 Pekka Riikonen <priikone@silcnet.org>
36 Mon Nov 5 23:07:58 EET 2007 Pekka Riikonen <priikone@silcnet.org>
38 * Zero tail of CTR mode IV in IV Included mode. Change does
39 not cause compatibility issues. Affected file is
40 lib/silcske/silcske.c.
42 Mon Nov 5 22:24:25 EET 2007 Pekka Riikonen <priikone@silcnet.org>
46 * Fixed CTR mode rekey. Affected file is lib/silcske/silcske.c.
48 * Rewrote the IV Included CTR mode encryption/decryption in
49 packet engine. Affected file is lib/silccore/silcpacket.c.
51 Sun Nov 4 15:20:25 EET 2007 Pekka Riikonen <priikone@silcnet.org>
53 * Removed module_path and module options from the server
54 config file format. Affected file is apps/silcd/serverconfig.c.
56 * Fixed non-IPv6 compilation error. Affected file is
57 lib/silcutil/unix/silcunixnet.c.
59 Sat Nov 3 23:23:38 EET 2007 Pekka Riikonen <priikone@silcnet.org>
61 * Do not free packet engine before uninitializing scheduler.
62 Do not disconnct already disconnected streams. Affected
63 files are in apps/silcd/.
65 * Fixed setting correct ID for re-encrypted channel messages
66 in router-to-router connections. Affected file is
67 apps/silcd/packet_send.c.
69 Sun Sep 30 15:16:18 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
71 * Fixed channel private key deleting when deleting the channel.
72 Affected file is lib/silcclient/client_channel.c.
74 Sun Sep 9 17:52:49 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
78 * Fixed possible buffer overflows from SILC Config code.
79 Patch from Jérémy Bobbio. Affected file is
80 lib/silcutil/silcconfig.c.
82 Sun Aug 26 12:28:49 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
84 * Fixed TIMEOUT handling in user info resolving during JOINing,
85 fixes crash. Affected file is lib/silcclient/client_notify.c.
87 * Fixed mandatory UN and HN SILC public key identifier checking
88 (both must be present). Affected file is
89 lib/silccrypt/silcpk.c.
91 Tue Aug 7 20:56:06 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
93 * Fixed alignment issues with 64-bit CPUs. Affected files
94 are lib/silcutil/silcschedule.c and unix/silcunixschedule.c.
96 * Added "There are now xx nick's" to "are xx nicks". Affected
97 file is apps/irssi/src/fe-common/silc/module-formats.c.
99 Sat Aug 4 18:37:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
101 * Fixed USERS command user mode handling (integer overflow).
102 Affected file is lib/silcclient/command_reply.c.
104 Thu Jul 19 21:08:49 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
106 * Fixed big-endian issues from aes implementation. Affected
107 files are lib/silccrypt/aes.c.
109 * Fixed lib/silcutil/silcatomic.h compilation on IA64. Patch
112 * Fixed public key identifier parsing to check lengths
113 correctly. Affected file is lib/silccrypt/silcpk.c.
115 Wed Jul 4 08:06:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
117 * SILC Toolkit 1.1.2.
121 Mon Jul 2 17:28:47 CEST 2007 Pekka Riikonen <priikone@silcnet.org>
123 * In silc_client_free check that scheduler is allocated before
124 trying to free it. Affected file is lib/silcclient/client.c.
126 * Fixed buffer overflow in NICK_CHANGE notify. The destination
127 buffer for old nickname was too small. Affected file is
128 lib/silclient/client_notify.c.
130 Sun Jul 1 19:15:15 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
132 * SILC Server 1.1 Beta1.
134 Sun Jul 1 12:40:06 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
136 * Added support for rekey with PFS when using CTR mode
137 encryption. Affected file is lib/silcske/silcske.c.
139 * Added silc_idcache_move that can be used to move entries
140 between caches. Affected files are
141 lib/silcapputil/silcidcache.[ch].
143 * Added better checks for invalid argument and notify payloads.
144 Affected files are lib/silccore/silcnotify.c and
147 * Fixed SILC_PACKET_FLAG_LONG_PAD bitmask value. Affected
148 file lib/silccore/silcpacket.h.
150 Sat Jun 30 21:48:08 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
152 * Set the destination ID to packet stream as SKE responder
153 if ID was present in key exchange packet. Affected file
154 is lib/silcske/silcske.[ch].
156 * Handle also zero timeouts in the scheduler notify callback
157 to avoid problems with SILC Plugin. Affected file is
158 apps/irssi/src/silc/core/silc-core.c.
160 Thu Jun 28 19:19:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
164 Sun Jun 24 18:47:55 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
166 * SILC Toolkit 1.1.1.
168 * Compile sources with _GNU_SOURCE on Linux systems. Affected
169 file is configure.ad.
171 Sun Jun 24 16:33:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
173 * Fixed Unix signal task dispatching to not lock the signals
174 when dispatching the callback to avoid deadlocks. Affected
175 file is lib/silcutil/unix/silcunixschedule.c.
177 Sun Jun 24 14:43:21 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
179 * Fix configure output for with-plugin. Affected file is
180 apps/irssi/configure.ad
182 Tue Jun 19 17:05:48 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
184 * Added SILC_VERSION macro for checking package versions at
185 compile time. Affected files are configure.ad,
186 includes/silc.h.in and includes/silcversion.h.in.
188 Mon Jun 18 23:47:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
190 * Use SILC_VERIFY to assert that silc_rwlock_wrlock can be
191 called only once per thread on Unix. Affected file is
192 lib/silcutil/unix/silcunixthread.c. Added same for mutex
193 as well. Documented same on the API in
194 lib/silcutil/silcmutex.h.
196 * Fixed USERS command reply write-lock unlocking. Affected file
197 is lib/silcclient/command_reply.c.
199 Mon Jun 18 08:14:26 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
201 * Fixed silc_create_key_pair to check for valid identifier.
202 Affected file is lib/silcapputil/silcapputil.c.
204 Sun Jun 17 20:08:26 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
206 * Rewrite signed public message handling, adopting the new
207 hilight interface. Affected file is
208 apps/irssi/src/fe-common/silc/fe-silc-messages.c
210 Thu Jun 14 21:15:31 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
212 * Fix off by one error when loading modules. Affected file is
213 apps/irssi/src/core/modules-load.c
215 * Don't delete hilight entry (because it's just a pointer, not a
216 copy). Affected file is
217 apps/irssi/src/fe-common/silc/fe-silc-messages.c
219 Mon Jun 11 22:10:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
221 * Added __SILC_TOOLKIT_x_x_x macro to all Toolkit distribution
222 which can be used to check for Toolkit version in third-party
223 software. Affected file is configure.ad, includes/silc.h.in.
225 Sun Jun 10 17:32:15 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
227 * Added support for channel@server channel name strings to
228 client library (SILC protocol version 1.3 change). Affected
229 files are lib/silcclient/silcclient_entry.h, client_entry.c.
231 * Added full_nicknames and full_channel_names settings to
232 SilcClientParams that can be used to specify whether client
233 library returns full nickname and channel name strings.
234 Full strings are nick@server and channel@server. Affected
235 file is lib/silcclient/client_entry.c and command.c.
237 Sat Jun 9 19:43:25 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
239 * Fixed unix connecting failure to return error code correctly.
240 Affected file is lib/silcutil/unix/silcunixnet.c.
242 Fri Jun 8 23:32:33 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
244 * Fixed SKE timeout double free crash. Affected file is
245 lib/silcske/silcske.c.
247 * Fixed MIME multipart decoding buffer overflow. Affected file
248 is lib/silcutil/silcmime.c. Thanks to Matt Miller for patch.
250 Fri Jun 8 18:39:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
252 * Fixed connection auth protocol timeout crash. Affected
253 file is lib/silcske/silconnauth.c.
255 * Fixed FSM machine finishing to check for existing threads
256 at the final free callback to allow time for the threads to
257 finish. Affected file lib/silcutil/silcfsm.c.
259 Thu Jun 7 21:25:31 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
261 * Fixed silc_client_get_clients_local to check the nick's
262 server also if nick@server nickname string is given to the
263 function. Affected file is lib/silcclient/client_entry.c.
265 Wed Jun 6 18:33:05 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
267 * Added notify callback to silc_schedule_init which can be used to
268 set a notify callback for scheduler which is called when task is
269 added to scheduler or deleted from scheduler. Affected file
270 is lib/silcutil/silcschedule.[ch].
272 * Dispatch timeout tasks after dispatching FD tasks if the timeout
273 was very short. Affected file is lib/silcutil/silcschedule.c.
275 * Rewrote the SILC scheduler handling in SILC Client to not poll
276 every few msecs but to use the new notify callback. Affected
277 file is apps/irssi/src/silc/core/silc-core.c.
279 * Fixed SFTP client library read buffer size which was too small.
280 Affected file is lib/silcsftp/sftp_client.c.
282 * Fixed file transfer crash bug in /QUIT in SILC Client. Close
283 the FTP sessions before quitting the client. Affected file
284 is apps/irssi/src/silc/core/silc-servers.c.
286 Tue Jun 5 20:48:40 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
288 * Fixed silc_packet_get_ids to decode the IDs correctly.
289 Affected file is lib/silccore/silcpacket.c.
291 * Fixed silc_client_get_clients_local to parse correctly nickname
292 string that may have server name in it (nick@server) regardless
293 whether it was formatted nickname or not. Affected file is
294 lib/silcclient/client_entry.c.
296 Mon Jun 4 22:02:53 CEST 2007 Jochen Eisinger <jochen@penguin-breeder.org>
298 * Only destroy sendbuffers, if they still exist (they cease to
299 exist during /upgrade). Affected file is
300 apps/irssi/src/silc/core/silc-servers.c
302 Mon Jun 4 21:24:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
304 * Removed --enable-silc-plugin. Added --with-silc-plugin.
305 Affected files are configure.ad, lib/configure.ad,
306 apps/irssi/configure.ad, apps/irssi/configure.in,
307 apps/irssi/scripts/Makefile.am,
308 apps/irssi/scripts/examples/Makefile.am,
309 apps/irssi/src/silc/core/silc/Makefile.am,
310 apps/irssi/src/fe-common/silc/Makefile.am.
312 Mon Jun 4 08:35:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
316 Sun Jun 3 14:00:09 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
318 * Fixed DESTDIR handling in make install.
320 Sat Jun 2 21:04:32 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
322 * SIM modules are not delivered to SILC CLient distribution
325 * Changed default installation path from /usr/local/silc to
326 /usr/local for all distributions.
328 * Removed --with-etcdir and --with-docdir. The etcdir is now
329 the system's default. The Docdir is system's default.
331 Sat Jun 2 00:51:57 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
333 * If public key/private key loading fails set the return
334 pointer to NULL. Affected file is lib/silccrypt/silcpkcs.c.
336 * If private key loading fails in silc_load_key_pair free the
337 loaded public key. Affected file is
338 lib/silcapputil/silcapputil.c.
340 * Fixed key pair loading crash with SILC Plugin if key pair
341 loading fails. Affected file is
342 apps/irssi/src/silc/core/silc-core.c.
344 * Fixed SILC Client help and script file installation path
345 to go to prefix/share/silc. Affected files are
346 apps/irssi/src/scripts/Makefile.am and
347 apps/irssi/docs/help/Makefile.am.gen.
349 Thu May 31 16:49:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
351 * Fixed UTC offset minutes to be actually minutes. Affected
352 file is lib/silcutil/silctime.c.
354 Thu May 31 09:40:56 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
358 * Added support for checking for timezone and tm_gmtoff.
359 Affected files are configure.ad and lib/silcutil/silctime.c.
361 Wed May 30 18:46:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
363 * Added silc-toolkit.spec.in RPM spec file.
365 Mon May 28 23:21:39 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
367 * Fixed nickname formatting crash when updating existing
368 client entry. Affected file is lib/silcclient/client_entry.c.
370 * Fixed MIME object encoding in attribute payload encoding.
371 Affected file is lib/silccore/silcattrs.c.
373 Mon May 28 09:02:26 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
375 * SILC Client 1.1 Beta6
377 Sun May 27 20:38:30 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
379 * Copy SILC Plugin's libfe_common_silc.so to libfe_silc.so so
380 that user's don't have to do it manually. Affected file
381 is apps/irssi/src/fe-common/silc/core/Makefile.am.
383 Thu May 24 15:30:31 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
385 * SILC Toolkit 1.1 Beta4.
387 * Fixed channel and server entry freeing in client library.
388 Affected file is lib/silcclient/client_entry.c.
390 * Do not allow stopping client before it has been started.
391 Affected file is lib/silcclient/client.c.
393 Wed May 23 23:21:03 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
395 * Fixed formatted nickname renaming to rename also irssi's
396 nicklist (/NAMES etc). Affected file is
397 apps/irssi/src/silc/core/client_ops.c.
399 * Fixed SILC Plugin crash when stopping client library before
400 it has been started. Affected file is
401 apps/irssi/src/silc/core/silc-core.c.
403 Tue May 22 17:18:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
405 * For SILC Client and SILC Server check for 1.1 Toolkit
406 in configure. Affected file is configure.ad.
408 * Added better library linking flags and orders for SILC Client.
409 Affected file is configure.ad, Makefile.defines_int.in and
410 apps/irssi/src/fe-text/Makefile.am
412 Mon May 21 08:26:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
414 * SILC Client 1.1 Beta5.
416 Sun May 20 18:34:22 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
418 * Add hooks for Irssi 0.8.11 module functions. Affected file
419 is apps/irssi/src/fe-common/silc/fe-common-silc.c
421 Sat May 19 14:46:36 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
423 * Fixed passphrase authentication with server. Affected file
424 is lib/silcclient/client_connect.c.
426 * Fixed passphrase authentication as responder. Affected file is
427 lib/silcske/silcconnauth.c.
429 * Changed SilcAskPassphrase and SilcGetAuthMeth callbacks to
430 return data as const. Affected file is
431 lib/silcclient/silcclient.h.
433 * Fixed timeout calculation in Symbian scheduler. Affected
434 file is lib/silcutil/symbian/silcsymbianscheduler.c.
436 Fri May 18 21:10:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
438 * Do not uninitialize u.m.threads atomic int in finish but in
439 free. Fixes crash on any platform using atomic operations
440 using mutexes (like Symbian). Affected file is
441 lib/silcutil/silcfsm.c.
443 * Fixes Symbian scheduler wakeup synchronization. Affected file
444 is lib/silcutil/symbian/silcsymbianscheduler.c.
446 Fri May 18 18:10:36 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
448 * Fixed nickname formatting to handle already formatted nicknames
449 better. Affected file is lib/silccilent/client_entry.c.
451 * Added "foo#2 appears as foo" support to SILC Client when user
452 leaves or quits and one formatted nickname remain. Affected file
453 is apps/irssi/src/silc/core/client_ops.c.
455 * Send SilcChannelEntry to application in SILC_NOTIFY_TYPE_SIGNOFF.
456 Affected file is lib/silcclient/client_notify.c.
458 Thu May 17 18:05:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
460 * Fixed silc_show_public_key to not free public key in case of
461 failure. Affected file is lib/silcapputil/silcapputil.c.
463 Thu May 17 17:09:50 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
465 * SILC Toolkit 1.1 Beta3.
467 * Porting Toolkit to Symbian. It should work while some sporadic
468 odd crashes remain. However I was able to run mybot on SILCNet.
469 Basically tested scheduler, net routines, socket routines,
470 threads and some other utility routines. Affected files are
471 in lib/silcutil/symbian/.
473 Thu May 17 11:57:40 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
475 * Show realname and email address from public key when verifying
476 cached public keys with GETKEY. Affected files are
477 apps/irssi/src/fe-common/module-formats.[ch] and
478 apps/irssi/src/silc/core/client_ops.c.
480 Wed May 16 20:41:04 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
482 * Include SILC Plugin theme. Affected file is apps/irssi/plugin.theme
484 * Include SILC Plugin /silc command help. Affected file is
485 apps/irssi/docs/help/silc
487 * Create channels before joining them. Affected file is
488 apps/irssi/src/silc/core/client_ops.c
490 Wed May 16 18:59:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
492 * Fixed channel private key listing with /key. Affected file
493 is apps/irssi/src/silc/core/silc-channels.c.
495 * Fixed the public headers from anonymous structures. Affected
498 * Changed silc_buffer_*len macros to inline functions. Affected
499 file is lib/silcutil/silcbuffer.h.
501 Wed May 16 10:21:45 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
503 * Fixed nickname format parsing in JOIN notify handling and
504 in WHOIS command reply. Affected file is
505 apps/irssi/src/silc/core/client_ops.c.
507 Wed May 16 09:34:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
509 * SILC Client 1.1 Beta4.
511 Tue May 15 23:55:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
513 * Added SILC_VERIFY macro which is equivalent to SILC_ASSERT
514 but is compiled always in. Affected file is
515 lib/silcutil/silclog.h.
517 * Use SILC_VERIFY in FSM macros instead of SILC_ASSERT which is
518 not there in release builds. Affected file is
519 lib/silcutil/silcfsm.h.
521 Tue May 15 21:19:09 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
523 * SILC Client 1.1-beta3
525 Mon May 14 23:20:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
527 * Added silc_utf8_c2w and silc_utf8_w2c to do UTF-8 to widechar
528 and widechar to UTF-8 conversions. Affected files are
529 lib/silcutil/silcutf8.[ch].
531 Mon May 14 19:45:14 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
533 * Include a README for the SILC Plugin
535 Sun May 13 22:08:59 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
537 * Adopt perl Makefiles for SILC Plugin.
539 Sun May 13 18:27:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
541 * Fixed client library initialization when the running callback
542 is not given to silc_client_init. Affected file is
543 lib/silcclient/client.c.
545 * Fixed Symbian compilation problems around the tree. Added
546 new Carbide.c++ project files to symbian/ directory.
548 * Fixed SilcLog API to work on Symbian. On Symbian it doesn't
549 use any globals. Affected files are lib/silcutil/silclog.c
552 Sun May 13 16:54:35 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
554 * Fix several warnings in Irssi's Makefiles.
556 Sun May 13 12:16:30 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
558 * Disable ASM if --with-pic was given. Affected file is
559 lib/silccrypt/configure.ad
561 Fri May 11 19:10:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
563 * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later
564 in case they are called from a thread. Affected file is
565 lib/silcutil/silcfsm.c.
567 * Fixed WIN32 thread creation to handle the Tls correctly.
568 Affected file is lib/silcutil/win32/silcwin32thread.c.
570 Thu May 10 18:29:18 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
572 * SILC Toolkit 1.1-beta2.
574 Thu May 10 18:21:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
576 * Fixed silc_net_tcp_connect crash on Unix and Win32. Handle
577 the socket async operation correctly. Changed that DNS lookup
578 is now done during connecting. Affected files are
579 lib/silcutil/[unix|win32]/silc[unix|win32]net.c.
581 * Changed also silc_net_tcp_connect on Symbian to do DNS lookup.
582 Affected file is lib/silcutil/symbian/silcsymbiannet.c.
584 * Optimize silc_net_gethostbyname to check if the name is already
585 IP address. Affected file is lib/silcutil/silcnet.c.
587 Wed May 9 19:51:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
589 * Print filename instead of empty function name in debug output
590 on WIN32. Affected files are lib/silcutil/silclog_i.h and
593 * Rewrote WIN32 SILC Scheduler. It now handles non-blocking file
594 descriptors and sockets better. Though, room for optimization
595 remains. Affected file is lib/silcutil/win32/silcwin32schedule.c.
597 * Removed silc_net_win32_[init|uninit]. They are called now
598 automatically when SILC Scheduler is allocated. Wrote IPv4
599 address parser because inet_addr seemed not to work on my WIN32.
600 Affected file is lib/silcutil/win32/silcwin32net.c.
602 * Improved socketstream.h and stream.h documentation.
604 Tue May 8 18:13:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
606 * Changed private message waiting API in client library to make
607 it work better with multiple waiting threads. The waiting is
608 not always per client entry instead of per connection. Affected
609 files are lib/silcclient/client_prvmsg.c, client.h and
612 * Changed silc_packet_wait_init function to accept the the expected
613 Source ID of the packet as argument. If specified only packets
614 with the specified types and Source ID are delivered. Affected
615 files are lib/silccore/silcpacket.[ch].
617 * Fixed file transfer disconnection crash when closing the session
618 directly in the monitor callback after disconnection. Affected
619 file is lib/silcclient/client_ftp.c.
621 * Make Toolkit compile on WIN32. Affected files in win32/
622 and in lib/silcutil/win32/.
624 * Changed silc_compare_timeval to return negative, zero or
625 positive instead of just TRUE or FALSE. This fixes 0 timeout
626 task dispatching on Windows. Affected files are
627 lib/silcutil/silctime.[ch] and silcschedule.c.
629 Mon May 7 18:18:48 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
631 * Fixed CMODE channel auth public key retrieval. Affected
632 file is lib/silcclient/command.c.
634 * Fixed CMODE command reply to return channel public keys
635 correctly. Affected files are lib/silcclient/command_reply.c
636 and client_channel.c.
638 Sun May 6 12:43:19 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
640 * Added current channel key cipher name and HMAC name to
641 SilcChannelEntry. Fixed channel private key creation.
642 Affected files are lib/silcclient/client_channel.c,
643 client_entry and silcclient_entry.h.
645 * Allow formatted nicknames as input to silc_client_get_clients
646 and silc_client_get_clients_whois. Affected file is
647 lib/silcclient/client_entry.c.
649 * Fixed silc_message_payload_free crash. Affected file is
650 lib/silccore/silcmessage.c.
652 * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to
653 lib/silccore/silcstatus.h.
655 Thu May 3 18:07:50 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
657 * Imported libtommath 0.41. Renamed all mp_* functions to
658 tma_mp_* functions to avoid rare linking problems on systems
659 with mp_* functions. Affected files are in lib/silcmath/.
661 Wed May 2 17:46:25 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
663 * SILC Toolkit 1.1 Beta1.
665 Wed May 2 11:38:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
667 * Set the server and router operator modes to local entry after
668 successful OPER or SILCOPER commands. Affected file is
669 lib/silcclient/command_reply.c.
671 Tue May 1 14:17:06 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
673 * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API,
674 and other smaller APIs to WIN32. Affected files are in
677 * Changed the various regex APIs as generic code in util library.
678 Affected files are lib/silcutil/silcstrutil.[ch].
680 Sat Apr 28 13:47:47 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
682 * Ported SILC Server to the new Toolkit API, working towards
683 SILC Server 1.1. Affected files are in apps/silcd/.
685 * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key
686 to lib/silcskr/silcskr.[ch].
688 * Fixed SILC public key copying to copy the identifier also.
689 Affected file is lib/silccrypt/silcpk.c.
691 * Added silc_packet_error_string to lib/silccore/silcpacket.[ch].
693 * Fixed OPER and SILCOPER passphrase asking in Client library.
694 Affected file is lib/silcclient/command.c.
696 Tue Apr 24 17:55:24 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
698 * Fixed command queue enabling after connecting to server.
699 The comparisons was from after changing to silc_utf8_strcasecmp.
700 Affected file is apps/irssi/src/silc/core/silc-servers.c.
702 * Fixed nickname setting with own client entry with 1.3 protocol
703 version server. Affected file lib/silcclient/client_register.c.
705 * Ignore error notify for local client entry. Affected file is
706 lib/silcclient/client_notify.c.
708 * Implemented responder rekey to SKE library. Affected files are
709 lib/silcske/silcske.[ch].
711 * Fixed connection auth protocol completion sending. Affected
712 file lib/silcske/silcconnauth.c.
714 Mon Apr 23 17:20:01 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
716 * Do not call TCP network listener callback with any error
717 status, as documented. Affected file is
718 lib/silcutil/unix/silcunixnet.c.
720 Sun Apr 22 21:13:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
722 * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
724 * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type.
725 Changed silc_skr_find to have SilcSchedule argument and removed
726 it from silc_skr_[alloc|init]. Affected files are
727 lib/silcskr/silcskr.[ch].
729 * Allow NULL id for silc_idcache_add. Affected file is
730 lib/silcapputil/silcidcache.c.
732 * Added silc_packet_stream_is_valid, silc_packet_get_ids and
733 silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch].
734 Fixed also channel message encryption with router-to-router
737 * Added silc_id_str2id2 to lib/silccore/silcid.[ch].
739 * Added silc_net_get_error_string, silc_net_listener_get_ip and
740 silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
742 Tue Apr 10 15:55:42 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
744 * Add option --enable-silc-plugin. Affected files are
745 apps/irssi/configure.{ad,in}
747 * Only compile the SILC Plugin if required. Affected files are
748 apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am
750 * Conditionally build the SILC Plugin. Affected files are
751 apps/irssi/src/silc/core/Makefile.am,
752 apps/irssi/src/fe-common/silc/Makefile.am
754 * Backout delayed protocol exit and replace with a lame busy
755 wait. Affected files are apps/irssi/src/fe-text/silc.c,
756 apps/irssi/src/silc/core/silc-core.c
758 * Fix key generation for SILC Plugin. Affected file
759 apps/irssi/src/silc/core/clientutil.c
761 Tue Apr 10 12:40:19 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
763 * Only pass -rpath to libtool when building shared libraries.
764 Affected file lib/Makefile.ad
766 * Removing the stray "s" in configure.ad
768 Sat Mar 24 19:13:58 CET 2007 Jochen Eisinger <coffee@silcnet.org>
770 * Redraw the screen after creating a new key. Affected file
771 apps/irssi/src/silc/core/clientutil.c
773 Sun Mar 18 15:54:10 EET 2007 Pekka Riikonen <priikone@silcnet.org>
775 * Added SILC Client setting /set nickname_format that specifies
776 the nickname format string. Changed default nickname format
777 string to "%n#%a". Affected file is
778 apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf.
780 * Fixed nickname parsing with WHOIS command to accept formatted
781 nicknames. Changed the silc_client_get_clients_local to allow
782 the searched nickname to be formatted nickname. Removed %s and
783 %S nickname formatters. Affected files are in lib/silcclient/.
785 * Added silc_client_nickname_parse to Client library API. Affected
786 file is lib/silcclient/silcclient.h.
788 * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY
789 commands. Affected file are
790 apps/irssi/src/silc/core/silc-servers.c and silc-channels.c.
792 Sat Mar 17 19:07:15 CET 2007 Jochen Eisinger <coffee@silcnet.org>
794 * Incorporate SILC Plugin patches. Affected files are
795 apps/irssi/src/fe-common/silc/module-formats.{c,h},
796 apps/irssi/src/silc/core/clientutil.{c,h},
797 apps/irssi/src/silc/core/silc-core.c,
798 apps/irssi/src/silc/core/silc-chatnets.{c,h},
799 apps/irssi/src/fe-common/silc/fe-silcnet.c, and
800 apps/irssi/src/fe-common/silc/module.h
802 Wed Mar 14 17:31:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
804 * In notify handling resolve user entries many times if the
805 resolving timedout. Affected file lib/silcclient/client_notify.c.
807 * silc_client_get_clients_local do not return any invalid entries.
808 Affected file is lib/silcclient/client_entry.c.
810 * Do not print "there are now xx user on this channel" for users
811 that actually aren't anymore on the channel. Affected file
812 is apps/irssi/src/client_ops.c.
814 Sun Mar 11 17:43:18 CET 2007 Jochen Eisinger <coffee@silcnet.org>
816 * When joining channels with a password given in the config file,
817 use it. Also use it when cycling (it would be better to get
818 the password from the server, but this isn't possible in SILC).
819 Affected files apps/irssi/src/silc/core/silc-servers.c,
820 apps/irssi/src/silc/core/silc-channels.c
822 Sun Mar 11 15:22:42 CET 2007 Jochen Eisinger <coffee@silcnet.org>
824 * Import perl script for sign_messages from silc-plugin. Affected
825 file apps/irssi/scripts/silc.pl
827 Sun Mar 11 15:19:10 CET 2007 Jochen Eisinger <coffee@silcnet.org>
829 * Only wait for a nick on connecting, when it differs
830 (not counting case) from the username. Affected file
831 is apps/irssi/src/silc/core/silc-servers.c
833 Sun Mar 11 13:50:53 CET 2007 Jochen Eisinger <coffee@silcnet.org>
835 * Use time settings for lag settings. Affected file is
836 apps/irssi/src/silc/core/silc-lag.c
838 Tue Feb 27 17:07:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
840 * Added silc_thread_yield. Affected file is
841 lib/silcutil/silcmutex.h.
843 Wed Feb 21 17:01:01 EET 2007 Pekka Riikonen <priikone@silcnet.org>
845 * Fixed WHOIS command and requested attributes handling in
846 client library. Affected files are lib/silcclient/command.c
847 and lib/silcclient/client_attrs.c.
849 * Fixed silc_time_value to actually work. Added new function
850 silc_timezone. Affected files are lib/silcutil/silctime.[ch].
852 Tue Feb 20 08:31:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
854 * SILC Client 1.1 beta2.
856 Mon Feb 19 16:06:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
858 * Fixed client to properly abort TCP stream creation when
859 giving /QUIT. Affected file
860 apps/irssi/src/silc/core/silc-servers.c.
862 * Fixed several connecting aborting crashes from the client
863 library, packet engine and socket stream. Affected files
864 are in lib/silclient/, lib/silccore/silcpacket.c and
865 lib/silcutil/unix/silcunixsocketstream.c.
867 * Fixed private key export double free crash in key generation.
868 Affected file is lib/silccrypt/silcpk.c.
870 * Fixed FSM event waiting when there are multiple signallers
871 and the waiter goes away after the first signal. Affected
872 file in lib/silcutil/silcfsm.c.
874 Sun Feb 18 22:02:22 EET 2007 Pekka Riikonen <priikone@silcnet.org>
876 * Fixed FSM event signalling to check if the waiter has gone
877 away already. Affected file is lib/silcutil/silcfsm.c.
879 * Fixed counter mode encryption/decryption to handle non-padded
880 SILC packets correctly. The silc_cipher_set_iv now
881 in counter mode resets for a new block. Affected files are
882 in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
884 Sun Feb 18 12:15:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
886 * SILC Client 1.1 beta1.
888 * Memory leak fixes around the libraries.
890 Fri Feb 16 16:53:16 EET 2007 Pekka Riikonen <priikone@silcnet.org>
892 * Added better check for epoll() in configure. Affected file
895 Thu Feb 15 16:50:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
897 * Fixed per scheduler data input buffer in packet engine. Use
898 list of inbufs instead of just one so that multiple streams
899 can do partial reads to different buffers. Affected file is
900 lib/silccore/silcpacket.c.
902 * Fixed WATCH notify handling in client library. Affected file
903 is lib/silcclient/client_notify.c.
905 Wed Feb 14 17:05:38 EET 2007 Pekka Riikonen <priikone@silcnet.org>
907 * Fixed packet wrapper stream API to support encoder/decoder
908 for packets, and to handle partial reading correctly. Fixed
909 also inbuf size checking in reading to have enough space before
910 reading. Affected files are lib/silccore/silcpacket.[ch].
912 * Rewrote file transfer in client library. Affected files are
915 * Added TCP/UDP listener (internal) API to client library to have
916 generic way of dealing with listeners. Fixed Key Agreement and
917 file transfer to use it. Affected files are in lib/silcclient/.
919 * Fixed SKE to process SUCCESS packets synchronously and to call
920 completion synchronously. Affected file is lib/silcske/silske.c.
922 * Fixed pthread rwlock detection. Affected file includes/silc.h.in.
924 * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER. Affected files are
925 lib/silccore/silcattrs.[ch]. SILC Protocol version 1.3 change.
927 Fri Feb 2 22:24:11 EET 2007 Pekka Riikonen <priikone@silcnet.org>
929 * Added support for SILC protocol version 1.3 NEW_CLIENT packet
930 to client library. Affected file is
931 lib/silcclient/client_register.c.
933 * Serialize NICK and JOIN commands to avoid problems locally
934 with changing ID while joining to channel. Affected file is
935 lib/silcclient/command.c.
937 * Fixed entry resolving while handling incoming JOIN notify.
938 Handle properly cases, in re-processing of notify packets, where
939 the IDs may become invalid while resolving the entry (like nick
940 change). Entry is invalid if it doesn't have nickname, and such
941 entries are not delivered to application anymore. These fixes
942 problems of not seeing JOINs when remote user changes nickname
943 at the same time. Affected files are in lib/silcclient/.
945 Thu Feb 1 18:35:58 EET 2007 Pekka Riikonen <priikone@silcnet.org>
947 * Added support for computing message payload MAC in new way
948 (SILC Protocol version 1.3). Bakcwards support for old way
949 remains. Affected files are lib/silccore/silcmessage.[ch].
951 Sat Jan 27 22:37:30 EET 2007 Pekka Riikonen <priikone@silcnet.org>
953 * Added SilcRwLock API, a read/write lock. Affected files are
954 lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
956 Wed Jan 24 18:55:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
958 * Merged Irssi SVN (irssi 0.8.11). Affected files in apps/irssi/.
960 Tue Jan 23 16:05:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
962 * The silc_schedule_set_listen_fd now returns boolean value.
963 Fixed FD task adding to check correctly for already added
964 FD tasks. Added stricter error checking for FD scheduling
965 with epoll(). Affected files are lib/silcutil/silcschedule.[ch]
966 and lib/silcutil/unix/silcunixschedule.c.
968 * The silc_stream_set_notifier now returns boolean value. Changed
969 all streams to support and check for the error condition.
970 Affected files are in lib/silcutil/.
972 * Fixed SKE library session aborting and deletion. Affected
973 file are lib/silcske/silcske.c.
975 Tue Jan 16 18:22:08 EET 2007 Pekka Riikonen <priikone@silcnet.org>
977 * Implemented PKCS #1 with appendix with hash OID in the
978 signature. Affected files are lib/silccrypt/silcpkcs1.[ch],
979 lib/silccrypt/silchash.[ch] and
980 lib/silcasn1/silcasn1[_encode|decode].[ch].
982 Sun Jan 14 23:12:41 EET 2007 Pekka Riikonen <priikone@silcnet.org>
984 * Added support for Version (V) SILC public key identifier.
985 Affected files are lib/silccrypt/silcpk.[ch].
987 Tue Jan 9 19:37:51 EET 2007 Pekka Riikonen <priikone@silcnet.org>
989 * Rewrote connection auth request in client library. It is now
990 done automatically by the library and the resolved method given
991 as a hint to get_auth_method client operation. Affected files
994 Wed Jan 3 18:06:33 EET 2007 Pekka Riikonen <priikone@silcnet.org>
996 * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch].
997 It can be used to wrap SilcPacketStream into SilcStream.
999 * Fixed %p formatting from silc_snprintf. Affected file is
1000 lib/silcutil/silcsnprintf.c.
1002 * Ported SFTP library to new utility library. Ported also
1003 the SFTP testers. Affected files in lib/silcsftp/.
1005 Tue Jan 2 17:18:46 EET 2007 Pekka Riikonen <priikone@silcnet.org>
1007 * Added lib/silcutil/silcsnprintf.[ch]. Added in addition
1008 of silc_snprintf, silc_vsnprintf, silc_asprintf and
1011 Sat Dec 30 23:23:17 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1013 * Added preliminary Symbian support. Changes around the source
1014 tree. The symbian/ directory now includes Carbide.c++ project
1015 files to compile the sources.
1017 * Added silc_snprintf. Affected files are
1018 lib/silcutil/silcstrutil.[ch].
1020 Thu Dec 21 18:01:51 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1022 * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to
1023 macros. SILC_FSM_CONTINUE macro now immediately calls the
1024 next state instead of first returning back to FSM. Helps
1025 in debugging crashes etc.
1027 Removed FSM Semaphores. Introduced FSM Event which is
1028 asynchronous event. Affected files are in lib/.
1030 * Added epoll(7) support to SILC Scheduler. It is used by default
1031 if it is available. Affected files are
1032 lib/silcutil/silcschedule.[ch],
1033 lib/silcutil/unix/silcunixschedule.c.
1035 Tue Dec 19 20:39:35 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1037 * Added CTR mode to AES. Simplified cipher implementation API
1038 more. Affected files are in lib/silccrypt/.
1040 Sun Dec 17 16:46:55 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1042 * Removed `detach' client operation. The detachment data is
1043 now delivered in SILC_COMMAND_DETACH command reply to
1044 application. Affected file in lib/silcclient/.
1046 * Rewrote resuming/detaching in client library.
1048 * Added boolean encryption indicator for silc_cipher_set_key.
1049 Affected files lib/silccrypt/silccipher.[ch].
1051 Wed Dec 13 18:05:50 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1053 * Added silc_likely and silc_unlikely macros for GCC branch
1054 prediction optimizations. Affected file lib/silcutil/silctypes.h.
1056 * Added assembler AES optimization. Cleaned up the SILC Cipher
1057 implementation API. Affected files are in lib/silccrypt/.
1059 Tue Dec 12 18:56:14 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1061 * Changed back the SILC_FSM_THREAD_WAIT operation to not
1062 continue to next state if thread is finished already. That
1063 check is not done anymore. Affected files are
1064 lib/silcutil/silcfsm.[ch].
1066 Sun Dec 10 13:54:52 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1068 * Removed silc_packet_[get|set]_ciphers and
1069 silc_packet_[get|set]_hmacs. Added silc_packet_set_keys that
1070 handle REKEY_DONE packet sending in rekey. Affected files
1071 are lib/silccore/silcpacket.[ch].
1073 * Added silc_fsm_is_started. Affected files are
1074 lib/silcutil/silcfsm.[ch].
1076 * Added settings sign_channel_message, sign_private_message
1077 and key_exchange_rekey_pfs to SILC Client. Added UDP transport
1078 support for key agreement in /KEY command. Affected files
1079 in apps/irssi/src/silc/core/.
1081 * During SILC Client initialization forward log messages to
1082 stderr. Affected files in apps/irssi/src/silc/core/.
1084 Thu Dec 7 19:07:21 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1086 * Added silc_ske_get_key_material. Affected files are
1087 lib/silcske/silcske.[ch].
1089 * Added silc_packet_stream_is_udp. Affected files are
1090 lib/silccore/silcpacket.[ch].
1092 * Added SKE packet retransmission support with UDP transport.
1093 Affected file is lib/silcske/silcske.c.
1095 Sun Dec 3 22:00:12 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1097 * Added silc_socket_stream_is_udp. Affected file is
1098 lib/silcutil/silcsocketstream.[ch].
1100 * Added UDP transport support to packet engine. Affected file
1101 is lib/silccore/silcpacket.c.
1103 * Added silc_socket_stream_is_udp. Affected file is
1104 lib/silcutil/silcsocketstream.[ch].
1106 Sat Nov 18 11:33:03 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1108 * Added silc_packet_send_va[_ext] to send variable argument
1109 formatted buffers. Affected files lib/silcore/silcpacket.[ch].
1111 * Timeout freelist garbage collection added to scheduler.
1112 Affected file lib/silcutil/silcschedule.c.
1114 Thu Nov 9 18:12:15 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1116 * Added silc_show_public_key_file to
1117 lib/silcapputil/silcapputil.[ch].
1119 * Added SILC_STR_ADVANCE support for buffer unformatting.
1120 Affected file lib/silcutil/silcbuffmt.c.
1122 Tue Nov 7 18:04:36 EET 2006 Pekka Riikonen <priikone@silcnet.org
1124 * Added silc_string_split to lib/silcutil/silcstrutil.[ch].
1126 * Added silc_mutex_assert_locked to lib/silcutil/silcmutex.h.
1128 * silc_fsm_continue[_sync] now cancels erlier timeout set with
1129 silc_fsm_next_later. Affected file lib/silcutil/silcfsm.c.
1131 Sat Nov 4 21:50:37 EET 2006 Pekka Riikonen <priikone@silcnet.org
1133 * Added SILC_STR_FUNC to buffer format API. Affected files
1134 are lib/silcutil/silcbuffmt.[ch].
1136 * Added silc_buffer_[s]enlarge to lib/silcutil/silcbuffer.h.
1138 * No more memory allocation for message payload parsing.
1139 Pre-allocated buffer can be used with message payload encoding.
1140 Affected files lib/silccore/silcmessage.[ch].
1142 Fri Oct 27 21:01:26 EEST 2006 Pekka Riikonen <priikone@silcnet.org
1144 * Added silc_buffer_sunformat and silc_buffer_sunformat_vp
1145 to silcutil/silcbuffmt.[ch].
1147 Sun Oct 22 13:03:07 EEST 2006 Pekka Riikonen <priikone@silcnet.org
1149 * Added SILC_STR_BUFFER to format and unformat SilcBuffer.
1150 Affected file lib/silcutil/silcbuffmt.[ch].
1152 * Removed silc_schedule_signal_[un]register and
1153 silc_schedule_signal_call. Added silc_schedule_task_add_signal
1154 to add signal task. Only one callback per signal may be
1155 added. The signals are now automatically called back to
1156 caller. Affected files lib/silcutil/silcschedule.[ch] and
1157 silcutil/[unix/win32]/silc[unix/win32]schedule.c.
1159 * Added silc_time_msec and silc_time_usec to silcutil/silctime.[ch].
1161 * Added SilcSKEParams for SKE parameters and simplied even more
1162 the SKE interface. Affected files are lib/silcske/silcske.[ch].
1163 Added support for IV included and session port handling with
1166 * Added Secure ID (SID) support with IV Included flag (for UDP/IP)
1167 in lib/silccore/silcpacket.[ch]. Added silc_packet_set_sid
1168 which is called after every rekey when IV Included flag is used.
1169 See SILC specifications for details.
1171 Thu Oct 19 10:03:03 EEST 2006 Pekka Riikonen <priikone@silcnet.org
1173 * Added lib/silcapputil and moved SILC application specific
1174 utility routines from the generic util library lib/silcutil
1175 to the new library. Removed lib/silcidcache and moved that
1176 to lib/silcapputil as well.
1178 Tue Sep 19 00:14:11 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1180 * Added SILC_STR_ADVANCE. Affected file is
1181 lib/silcutil/silcbuffmt.[ch].
1183 * The silc_buffer_strformat preserves buffer locations now.
1185 * Added lib/silcutil/silcatomic.h for atomic operations.
1187 Sat Sep 16 11:23:06 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1189 * Added lib/silchttp, SILC HTTP server, a very simple HTTP
1192 * Fixed MIME deocing when data portion is not present.
1193 Affected file lib/silcutil/silcmime.c.
1195 Wed Jul 19 12:06:38 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1197 * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/.
1199 * Added IV Included support to packet routines, to allow
1200 packet sending and receiving on UDP/IP. Affected files are
1201 lib/silccore/silcpacket.[ch].
1203 * Added SILC_FSM_YIELD. Affected files lib/silcutil/silcfsm.[ch].
1205 Tue Jul 18 20:10:28 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1207 * Added UDP support to network and socket stream library.
1209 Sat Jun 24 22:33:18 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1211 * Added conditional variables. New files are
1212 lib/silcutil/silcondvar.h and platform specific implementations.
1214 Thu Jan 5 20:02:31 CET 2006 Patrik Weiskircher <pat@icore.at>
1216 * make sure session->hostname and session->port are valid before the
1217 application callback is done, since things will go wrong if the
1218 application immediately calls silc_client_file_receive. Affected
1219 file lib/silcclient/client_ftp.c.
1220 Patch received from Stefan Siegel <stesie@brokenpipe.de>, thanks!
1222 Fri Dec 30 22:54:21 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1224 * New SILC PKCS API enabling support for other public keys
1225 and certificates, lib/silccrypt/silcpkcs.[ch], silcpk.[ch].
1227 * Separated SILC Public Key Payload routines from the PKCS API
1228 to lib/silccore/silcpubkey.[ch].
1230 Wed Dec 28 13:55:22 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1232 * Added SILC Key Repository library, lib/silcskr.
1234 * Added SILC Server library, lib/silcserver.
1236 Mon Dec 19 18:04:24 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1238 * MIME objects in attributes now use SilcMime. Affected files
1239 are lib/silccore/silcattrs.[ch].
1241 Sat Dec 17 20:13:31 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1243 * Synchronize semaphore posting for real threads in FSM.
1244 Affected files are lib/silcutil/silcfsm.c, silcfsm_i.h.
1246 Mon Nov 28 17:06:54 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1248 * Added silc_file_set_nonblock. Affected file is
1249 lib/silcutil/silcfileutil.h.
1251 * Added silc_fd_stream_file to lib/silcutil/silcfdstream.[ch].
1253 Sat Nov 26 16:13:40 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1255 * FSM based implementation of SILC SKE. Simpler interface also.
1256 Affected files are in lib/silcske/.
1258 * Added SilcBool type. Affected file lib/silcutil/silctypes.h.
1260 Sat Nov 19 17:34:51 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1262 * Added SilcMime API to lib/silcutil/silcmime.[ch]. The old
1263 silc_mime_parse is available but deprecated.
1265 * Check that packet is valid when processing key exchange,
1266 authentication and rekey protocols. Fixes a crashbug.
1267 Affected files are apps/silcd/protocol.c and
1268 lib/silcclient/protocol.c.
1270 * Added SILC_HASH_MAXLEN to lib/silccrypt/silchash.h, and changed
1271 all hash buffers to use that instead of fixed values.
1273 Wed Nov 16 15:47:12 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1275 * Added SHA-256 to crypto library. The SHA-256 takes now
1276 precedence over SHA-1.
1278 Thu May 26 20:31:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1280 * Check for valid return value from regcomp. Affected file
1281 lib/silcutil/unix/silcunixutil.c.
1283 Tue May 10 23:11:17 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1285 * Fixed silc_hash_uint to work with integers. Affected
1286 file lib/silcutil/silcutil.c.
1288 Tue May 10 15:11:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1290 * Rewritten SILC Log API. Affected files lib/silcutil/silclog.[ch].
1292 Mon May 9 12:00:08 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1294 * Fixed channel public key list saving on JOIN command reply
1295 on backup router. Affected file apps/silcd/command_reply.c.
1297 Mon May 2 10:42:49 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1299 * Added default limit how many channels client can join,
1300 default is 50. Added 'channel_join_limit' configuration
1301 option to server too. Affected files are apps/silcd/command.c
1302 and serverconfig.[ch].
1304 Sun May 1 17:42:55 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1306 * --without-silc -> --with-silc, --without-irssi -> --with-irssi.
1307 On Toolkit the server and client are not compiled by default.
1308 Affected file configure.ad.
1310 Thu Apr 28 15:57:37 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1312 * Added lib/contrib/getopt.[ch] for platforms that don't
1313 have it (it is not GPL implementation).
1315 * Fixed compilation when pkg-config is used.
1317 Wed Apr 27 11:49:41 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1319 * A comma in invite/ban string is invalid, check for it.
1320 Affected file apps/silcd/server_util.c.
1322 * Added SERVICE command to the server. It parses the command
1323 request but SILC Server does not support services for the
1324 time being. Affected file apps/silcd/command.[ch].
1326 * Added SERVICE command and command reply to client library.
1327 It is however incomplete. Updated Toolkit documentation.
1328 Affected files are lib/silcclient/command[_reply].[ch].
1330 * Fixed IDENTIFY/WHOWAS command reply to send the username
1331 correctly (uninitialized buffer). Affected file is
1332 apps/silcd/server_query.c.
1334 Mon Apr 25 14:25:24 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1336 * Moved silcer/, silc/, silcd/ and irssi/ to apps/. This
1337 finalizes the major restructuring of the CVS tree.
1339 Mon Apr 25 00:39:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1341 * Send empty MOTD reply if MOTD file cannot be read.
1342 Affected file silcd/command.c.
1344 Sun Apr 24 12:01:37 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1346 * Optimized primer number generator to use simpler conversion
1347 routines. Also assure that the prime number will have the
1348 highest bit set after modifying it. Affected file is
1349 lib/silcmath/silcprimegen.c.
1351 * Added LibTomMath to SILC Math library (SILC_DIST_TMA).
1353 * Added FastTomMath to SILC Math Library (SILC_DIST_TFM),
1354 for now only for testing purposes, it will not be delivered
1355 in any distribution for now.
1357 * Removed NSS MPI from the source tree. Due to upcoming
1358 license change for the SILC Toolkit, we cannot deliver the
1359 NSS MPI anymore. I decided to replace it in all distributions
1360 with public domain library.
1362 * Removed GNU regex from lib/contrib and introduced free
1363 GNU compatible regex, lib/contrib/regexpr.[ch]. Added
1364 GNU regex compatible API to it (only partial).
1366 * Removed getopt routines from lib/contrib.
1368 Fri Apr 22 12:21:44 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1370 * Use silc_server_send_command_reply to send replies instead
1371 of encoding packet itself. Affected file silcd/command.c.
1373 * Added command sending and receiving statistics to server.
1374 Affected files in silcd/.
1376 * GCC 4 warning fixes. -Wno-pointer-sign option is now used
1377 with GCC, for it not to warn about pointer signedness.
1379 Tue Apr 19 11:57:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1381 * Added context to the SilcIDCache destructor. Affected
1382 files are lib/silccore/silcidcache.[ch],
1383 lib/silcclient/client.c and silcd/server.c.
1385 Mon Apr 18 09:53:28 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1387 * Added pkg-config check to configure.
1389 * The PublicKeyDir must not be used with Admin block in server
1390 config. Affected file silcd/serverconfig.c.
1392 Sat Apr 16 20:23:48 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1396 Thu Apr 14 20:25:08 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1398 * Handle empty LIST command reply correcttly in server. Affected
1399 file silcd/command_reply.c.
1401 * Handle empty LIST command reply correctly in client library.
1402 The application will now receive one LIST command reply with
1403 all arguments set to NULL if there are no channels. Updated
1404 Client Library documentation accordingly. Affected file
1405 lib/silcclient/command_reply.c.
1407 Tue Apr 12 00:02:09 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1409 * Added channel name string stringprep profile to the protocol
1410 and implementation to allow a little free'er channel name
1411 strings. Affected files are lib/silcutil/silcstringprep.[ch].
1413 * Added silc_channel_name_[check|verify] to check and verify
1414 channel name strings. Affected files are
1415 lib/silcutil/silcstrutil.[ch].
1417 * Added support for the new channel name preparation in client
1418 library and server. Affected files in lib/silcclient and
1421 Mon Apr 11 13:40:27 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1423 * Added the Autodist into the source tree. It replaces the
1424 old ./prepare. It can be used to create distributions as
1425 previously. See README.CVS and README.DIST. See
1426 distributions in distdir/.
1428 Sun Apr 10 11:30:56 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1430 * Make sure query sends at least an error back if nothing
1431 more is sent. Affected file silcd/server_query.c.
1433 Thu Apr 7 14:50:01 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1435 * During query, check if the original command caller goes
1436 away. If it does, stop the query. Affected file
1437 silcd/server_query.c.
1439 * Check for valid channel creation in JOIN command reply.
1440 Affected file lib/silcclient/command_reply.c.
1442 * Handle the resolver counter in silc_client_get_users_by_channel
1443 callback correctly. Fixed auto-join bug in Gaim. Affected
1444 file lib/silcclient/idlist.c.
1446 Wed Apr 6 16:56:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1448 * Added some better error messages. Affected file
1449 silcd/command_reply.c and packet_receive.c.
1451 * Handle error in WATCH command propely on backup router.
1452 Affected file silcd/command.c.
1454 * Fixed freeing of unfreeable variable in WHOIS command reply.
1455 Affected file silcd/command_reply.c.
1457 Wed Apr 6 09:10:31 CEST 2005 Pekka Riikonen <priikone@silcnet.org>
1459 * Added pkg-config .pc file creation for silc core library
1460 and silcclient library. A patch by c0ffee.
1462 * Removed the need for GNU Libidn. Added the simple stringprep
1463 from libidn into lib/contrib/. It is now used also on Windows
1466 Mon Apr 4 15:15:46 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1468 * Simplified the invite and ban string handling in the
1469 server. Check for valid invite and ban arguments also.
1470 Affected file silcd/server_util.c.
1472 Sun Apr 3 14:58:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1474 * Added WATCH list announcing in backup router protocol.
1475 Affected files are silcd/command.c, server.c, server_backup.c.
1477 * Do not change users mode to founder on normal server/backup
1478 if the founder mode is set, and user is first one to join.
1479 Affected file silcd/pcaket_receive.c.
1481 * Do not send CUMODE_CHANGE notify back to sender. Affected
1482 file silcd/packet_receive.c.
1484 * Added getrusage() to take noise in SILC RNG. A patch by
1485 Mika Boström. Affected files are configure.in.pre,
1486 includes/silcincludes.h.in, lib/silccrypt/silcrng.c.
1488 Sat Apr 2 18:09:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1490 * Splitted the SILC libraries configuration into a configure
1491 fragment into lib/configure.ad. It is now possible, once
1492 this feature is added, to specify whether to compile or not
1493 compile included SILC libraries. Affected files are
1494 configure.in.pre, lib/silcmath/mpi/configure.ad,
1495 lib/configure.ad, Makefile.defines.pre and
1496 Makefile.defines_int.pre.
1498 * Added --with-silc-includes and --with-silc-libs to configure.
1499 If specified the included libs are not compiled, but the
1500 specified libs are used. Pkg-config is not yet supported.
1501 Affected file configure.in.pre.
1503 * Fixed WATCH command handling on backup router. Router does not
1504 send the watch command any more to backup if it originates from
1505 backup. Affected file silcd/command.c.
1507 Fri Apr 1 18:52:47 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1509 * Changed announcing to not announce unregistered clients.
1510 Affected file silcd/server.c.
1512 * Fixed username handling in command reply. Affected file
1513 silcd/command_reply.c.
1515 * Log files are now 0600. Affected file lib/silcutil/silclog.c.
1517 Thu Mar 31 22:34:22 CEST 2005 Patrik Weiskircher <pat@icore.at>
1519 * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
1520 Affected file: includes/silcincludes.h.in
1522 * bool is defined as _Bool on Mac OS X now.
1523 Affected file: lib/silcutil/silctypes.h
1525 Thu Mar 31 08:52:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1527 * Added support for UTF-8 nicknames, channel names and
1528 server names in client library. Affected files in
1531 * Added __SILC_HAVE_PTHREAD, __SILC_HAVE_SIM, __SILC_HAVE_LIBIDN,
1532 and __SILC_ENABLE_DEBUG to include/silcclient.h for third-party
1533 software to check how Toolkit has been compiled.
1535 Wed Mar 30 22:16:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1537 * Added silc_utf8_str[n]casecmp into lib/silcutil/silcutf8.[ch].
1539 * Use silc_utf8_str[n]casecmp instead of strcmp routines
1540 in library and in SILC Client when dealing with nicknames
1541 and other identifier strings. Affected file in client lib
1544 * Convert nickname to UTF-8 in /msg and /smsg. Affected file
1545 irssi/src/silc/core/silc-servers.c.
1547 Wed Mar 30 10:50:02 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1549 * Fixed idcache to work with the new identifier strings.
1550 Affected file lib/silccore/silcidcache.c.
1552 * Added UTF-8 hash and compare function for SilcHashTable.
1553 Affected file lib/silcutil/silcutil.[ch].
1555 * Added casefolding stringprep, SILC_CASEFOLD_PREP.
1556 Affected file lib/silcutil/silcstringprep.[ch].
1558 * Changed the identifier string handling to include the original
1559 format in client, server, channel entries and normalized
1560 format in cache. Affected files in silcd/.
1562 Tue Mar 29 16:51:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1564 * Added support for the new identifier strings and their
1565 validity checking. Nicknames, channel names and usernames
1566 can now include practically any kind of letters and various
1567 other characters. Affected files in silcd/ and in libraries.
1569 NOTE: comparing these strings should now be done with memcmp()
1570 to check binary compatibility. All these strings are normalized
1571 and casing is irrelevant.
1573 * Added silc_identifier_check to lib/silcutil/silcstrutil.[ch]
1574 as easy function for applications to check whether identifier
1577 Tue Mar 29 00:45:11 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1579 * Fixed SILC_STRING_LDAP_DN encoding and decoding. Affected
1580 file lib/silcutil/silcutf8.c.
1582 * Added SILC_STRING_UTF8_ESCAPE to lib/silcutil/silcstrutil.h.
1584 Mon Mar 28 22:46:23 CEST 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1586 * Make public key in getkey reply mandatory. Affected file
1587 lib/silcclient/command_reply.c
1589 Sun Mar 27 19:03:31 CEST 2005 Patrik Weiskircher <pat@icore.at>
1591 * Added Parameter dont_register_crypto_library to
1592 SilcClientParam. If set to TRUE, silcclient library will
1593 not initalize the Crypto Libraries and application
1594 will need to do it. Affected file lib/silcclient/silcclient.h,
1595 lib/silcclient/client.c.
1597 Sun Mar 27 19:02:48 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1599 * Imported new silc_utf8_[encode|decode] routines from
1600 my internal SILC 1.1 source tree. New encodings added:
1601 SILC_STRING_LOCALE (SILC_STRING_LANGUAGE is deprecated),
1602 SILC_STRING_UTF8, SILC_STRING_PRINTABLE, SILC_STRING_VISIBLE,
1603 SILC_STRING_TELETEX, SILC_STRING_NUMERICAL and
1604 SILC_STRING_LDAP_DN.
1606 * Splitted UTF-8 routines into lib/silcutil/silcutf8.[ch].
1608 * Implemented stringprep (RFC 3454) API. Internally we use
1609 GNU Libidn's stringprep, for now, so it is required now to
1610 compile SILC sources. Added lib/silcutil/silcstringprep.[ch].
1612 * Added checking for GNU Libidn and --with-libidn to configure.
1614 Wed Mar 23 11:20:33 CET 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1616 * If the passphrases entered do not match while generating a new key,
1617 completly start over instead of going into an infinite loop asking
1618 the user to re-enter the passphrase correctly. Affected file
1619 lib/silcutil/silcapputil.c
1621 Sun Jan 9 14:28:51 CET 2005 Pekka Riikonen <priikone@silcnet.org>
1623 * Make sure server is removed from backup list when it is
1624 deleted. Affected files silcd/command.c, server.c,
1627 * Close socket when connecting to router fails. Affected
1628 file silcd/server.c.
1630 Tue Jan 4 13:06:26 CET 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1632 * Adopt configuration toolchain to current auto-tools.
1633 Affected files prepare, irssi/configure.in
1634 * Revert most of the UTF-8 fixes to SILC Client 1.0.1. Will
1635 redo that. Affected files irssi/src/silc/core/client_ops.c,
1636 irssi/src/fe-common/silc/fe-silc-channels.c
1637 * Take over command line options into silcclient data structure.
1638 Affected file irssi/src/silc/core/silc-core.c
1640 Wed Dec 8 16:15:11 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1642 * Do not try to initiate backup resuming protocol forever.
1643 Affected file silcd/server_backup.c.
1645 Wed Nov 24 18:24:05 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1647 * ID change in resuming has to be done before changing
1648 detached client's modes, since the ID change may fail and
1649 leave ghosts on the network. Affected file is
1650 silcd/packet_receive.c.
1652 Tue Nov 23 16:54:35 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1654 * Fixed Win32 scheduler to not stuck anymore. A patch from
1655 Juha Räsänen. Affected file is
1656 lib/silcutil/win32/silcwin32schedule.c.
1658 * Fixed QoS parsing for connection blocks in server. Affected
1659 file is silcd/serverconfig.c.
1661 * Fixed server statistics increasing in server. Affected file
1664 * The CLOSE command now marks backup router as self disconnected
1665 to avoid resuming problems. Affected file silcd/command.c.
1667 Wed Sep 22 19:46:32 CEST 2004 Patrik Weiskircher <pat@icore.at>
1669 * When using silc_net_create_connection[_async], and your system can
1670 create IPv6 sockets, it will try to connect to the IPv6 host.
1671 Now it tries to connect to an IPv4 host if IPv6 fails. Affected
1672 file lib/silcutil/unix/silcunixnet.c
1674 Fri Jun 18 19:26:58 CEST 2004 Pekka Riikonen <priikone@silcnet.org>
1676 * Check for valid route when receiving packet from router and
1677 when routing it to local server in the cell. A patch from
1678 Matt Miller. Affected files silcd/router.c and server.c.
1680 Sat May 1 13:55:54 CEST 2004 Patrik Weiskircher <pat@icore.at>
1682 * Couldn't detach and reattach twice, because of the previous
1683 commit. Affected file silcd/packet_receive.c
1685 Fri Apr 30 19:40:28 CEST 2004 Patrik Weiskircher <pat@icore.at>
1687 * Added check to ignore Port value if Initiator is FALSE.
1688 Remote router coudln't connect if Port was set. Affected file
1689 silcd/serverconfig.c
1691 * If some client tries to resume more than once at the same time,
1692 server crashed. Router didn't crash, but showed odd behaviour
1693 (didn't allow clients to join anymore, ..). Affected files
1694 silcd/packet_receive.c silcd/idlist.h
1696 Mon Mar 15 21:10:08 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1698 * Destroy the file transfer session in silc_client_file_close
1699 with timeout. Affected file lib/silcclient/client_ftp.c.
1701 * Call SFTP server monitor in READ and WRITE after the actual
1702 operations. Affected file lib/silcsftp/sftp_server.c.
1704 Wed Mar 10 21:30:02 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1706 * Create one configure script from configure fragments
1707 (configure.ad). This is a first step towards new distribution
1708 system. Affected files prepare, configure.in.pre,
1709 lib/silcmath/mpi/configure.ad.
1711 Wed Mar 10 18:35:24 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1713 * Removed expiring of client key pair. Affected file is
1714 irssi/src/silc/core/clientutil.c
1716 Tue Mar 9 17:11:58 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1718 * Check the number of connections from real number of
1719 connections instead of socket number, when deciding if
1720 server is full. Affected files are silcd/server.c,
1721 server_internal.h and silcd.c.
1723 * Clarified the connections_max meaning in General section
1724 in doc/example_silcd.conf.in.
1726 * The reconnect_keep_trying default value set to TRUE
1727 if it is not defined in the config file. Affected file
1728 silcd/serverconfig.c.
1730 Wed Mar 3 15:13:49 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1732 * Fixed crashbug in connection closing, after a protocol
1733 completion callback, which might have closed it already.
1734 Affected file silcd/server.c.
1736 * Fixed rekey with PFS in backup router. It did not allow
1737 rekeys with PFS, and when the rekey protocol timedout
1738 it crashed the backup router without the above fix. Affected
1739 file silcd/packet_send.c and server.c.
1741 Sat Feb 28 16:25:09 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1743 * The silc_client_add_channel_private_key now returns the
1744 private key context if pointer is given as argument.
1745 Affected files are lib/silcclient/silcclient.h and
1748 * Added support for using channel private keys in SILC
1749 Client Library even if the private key mode is not set
1750 on the channel. Affected file lib/silcclient/client_channel.c.
1752 * The channel private key used to decrypt message is now
1753 delivered to the application in the 'channel_messageÃ' client
1754 operation. Affected files are lib/silcclient/silcclient.h
1755 and client_channel.c.
1757 * Fixed wrong arg type for user limit in CMODE command reply.
1758 Affected file silcd/command.c.
1760 * The user limit is now taken and saved to SilcClientEntry in
1761 JOIN and CMODE command replies and in CMODE_CHANGE notify.
1762 Affected files lib/silcclient/silcclient.h, command_reply.c
1763 and client_notify.c.
1765 * Added support to the new private message key indicator
1766 packet. Added a new function to the client library:
1767 silc_client_send_private_message_key_request. The sender
1768 indicates to be initiator, and receiver is responder.
1769 Added the indicator to the SilcClientEntry as 'prv_resp'
1770 boolean. Affected files are lib/silcclient/silcclient.h
1771 client.[ch], and client_prvmsg.c.
1773 Fri Feb 27 11:25:26 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1775 * Fixed the JOIN command calling when called with both
1776 -auth and -founder. Affected file is lib/silcclien/command.c.
1778 Wed Feb 25 23:12:11 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1780 * Check watcher list for resumed clients as well. Affected
1781 file is silcd/packet_receive.c.
1783 Tue Feb 24 16:49:10 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1785 * Implemented the user limit to the CMODE_CHANGE notify,
1786 CMODE command reply and JOIN command reply in server.
1787 Affected files are silcd/server.c, command.c, command_reply.c,
1788 packet_send.c and packet_receive.c.
1790 Mon Feb 23 23:31:15 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1792 * Defined SILC_STRFMT_END that must be used now with
1793 silc_buffer_strformat, instead of SILC_STR_END. Fixes
1794 crashes on AMD64. Affected files are lib/silcutil/silcbuffmt.h,
1795 lib/silcclient/silcvcard.c, silcd/server_util.c.
1797 * Fixed the adding of public key to the WATCH list in server.
1798 Fixed the WATCH notify sending to client. Affected files
1799 are silcd/packet_send.[ch], command.c, server_util.c.
1801 * Implemented the watching by public key in the SILC Client
1802 Library and SILC Client. Affected files are
1803 lib/silcclient/command.c and client_notify.c.
1805 Mon Feb 23 09:30:30 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1807 * Added support for public key watching in server. Affected
1808 files are silcd/server.c, server_internal.h, command.c,
1811 Sun Feb 22 19:03:59 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1813 * Added public key to the SIlcClientEntry. Affected files
1814 are lib/silcclient/silcclient.h, command_reply.c, idlist.c
1816 * Fixed the get_clients_whois reply processing to return
1817 exactly same entries server returned. Makes it possible
1818 to search using attributes. Affected file is
1819 lib/silcclient/idlist.c.
1821 Sat Feb 21 19:21:57 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1823 * Save founder key to SilcChannelEntry. Affected files are
1824 lib/silcclient/silcclient.h, command_reply.c, idlist.c.
1826 Fri Feb 20 20:37:38 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1828 * Call the monitor callback with _CLOSED status from the
1829 silc_client_file_close. Affected files are
1830 lib/silcclient/client_fpt.c, silcclient.h
1832 * Added silc_client_get_clients_whois which resolves using
1833 WHOIS, and supports requested attributes as well.
1834 Affected files are lib/silcclient/silcclient.h, idlist.c.
1836 Fri Feb 19 21:09:22 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1838 * Added support for asking the destination filename where
1839 the downloaded file is saved in the file transfer. Affected
1840 files are lib/silccilent/silcclient.h, client_ftp.c.
1842 Wed Feb 18 02:46:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1844 * Fixed error handling in resuming data processing. Affected
1845 files are lib/silcclient/client_resume.c and client.c.
1847 Tue Feb 17 19:34:30 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1849 * Fixed silc_client_send_private_message to return TRUE correctly.
1850 Affected file lib/silcclient/client_prvmsg.c.
1852 * Added topic to the SilcChannelEntry. Affected files are
1853 lib/silcclient/silcclient.h, command_reply.c, client_notify.c.
1855 Fri Feb 13 14:19:14 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1857 * Use conn->cmd_ident for all silc_client_command_call()s. Affected
1858 file lib/silcclient/command.c
1860 Fri Feb 13 13:53:45 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1862 * Convert all commands to UTF-8 before passing them to the
1863 client library. Still need to convert replies from UTF-8 to
1864 the locale encoding. Affected file
1865 irssi/src/silc/core/silc-cmdqueue.c
1867 Fri Feb 13 13:13:07 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1869 * redirect all silc_client_command_calls through a queueing framework.
1870 This fixes /CYCLE and the annoying "nick change after auto-joining
1871 a channel". Furthermore it defines one central point where
1872 command parameters can be UTF-8-ified. Affected files
1873 irssi/src/silc/core/Makefile, client_ops.c, silc-channels.c,
1874 silc-servers.[ch], silc-core.c, silc-cmdqueue.[ch], silc-lag.c
1876 Fri Feb 13 12:04:41 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1878 * use asynchronous connect() to establish router connections.
1879 Fixes problem when the primary router goes down. Affected files
1880 silcd/server.c, silcd/server_backup.c
1882 Thu Feb 12 20:09:59 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1884 * Added SILC_[32|64]_TO_PTR and SILC_PTR_TO_[32|64] macros.
1885 Fixed various compilation warnings when type casting ints
1886 to pointers or vice versa, of different size. Updates around
1889 Tue Feb 3 23:25:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1891 * Surrogates not allowed in UTF-8 strings, updated decoder.
1892 Affected file lib/silcutil/silcstrutil.c. Added UTF-8
1893 testers in lib/silcutil/tests/ directory.
1895 Wed Jan 14 18:42:44 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1897 * Added SILC_CLIENT_CONN_ERROR_KE, ERROR_AUTH, ERROR_RESUME and
1898 ERROR_TIMEOUT SilcClientConnectionStatus errors. Affected
1899 files are lib/silcclient/silcclient.h, client.c.
1901 Mon Jan 12 13:01:10 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1903 * When resuming a session fails, notify the user that the session
1904 file needs to be removed eventually. Affected files
1905 irssi/src/fe-common/silc/module-formats.[ch],
1906 irssi/src/silc/core/client_ops.c.
1908 Tue Jan 04 12:16:04 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1910 * Added DIST_SUBDIRS symbols to include all subdirs in distributions.
1911 Affected files lib/silcutil/Makefile.am, lib/silcmath/Makefile.am
1913 * Typofix in Irssi::Silc module. Affected file
1914 irssi/src/perl/silc/Silc.xs.
1916 Tue Jan 04 02:43:44 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1918 * Changed the way NOTICE flagged messages are treated. Added support
1919 for notices in queries and signing notices. Affected files
1920 irssi/default.theme; irssi/docs/help/in/notice.in;
1921 irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c;
1922 irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.c
1924 * Fixed typo in /ACTION help. Affected file
1925 irssi/docs/help/in/action.in
1927 Mon Jan 03 23:26:38 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1929 * Fixed typo in perl module. Affected file
1930 irssi/src/perl/silc/Server.xs
1932 * Changed the way ACTION flagged messages are treated. Added support
1933 for actions in queries and signing actions. Affected files
1934 irssi/default.theme; irssi/docs/help/in/action.in;
1935 irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c,
1936 fe-silc-queries.c; irssi/src/silc/core/client_ops.c, silc-channels.c,
1939 Mon Jan 03 16:04:29 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1941 * Incorrectly reported error when client had to be resolved from
1942 server in /SMSG. Affected file irssi/src/silc/core/silc-servers.c
1944 Sat Jan 3 16:37:15 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1946 * Fixed whois public key hash table deleting and adding in
1947 detached client case. Affected file silcd/packet_receive.c.
1949 Sat Jan 03 12:15:38 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1951 * Changed filenames of silc/fe module not to collide with filenames
1952 from core/fe. Also seperated public messages printing from
1953 query messages printing. Affected files are all in
1954 irssi/src/fe-common/silc.
1956 Sat Jan 3 12:18:07 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1958 * Fixed the invite process handling during joining to use
1959 correct server name for the client that is matched against
1960 the invite string for the channel. Wrong server name caused
1961 inability to join the channel. Affected file is
1964 Fri Jan 2 23:34:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1966 * Fixed the CUMODE channel founder authentication on normal
1967 server to not remove the founder rights on existing founder
1968 before checking that router accepts the mode change. Affected
1969 files are silcd/command.c and silcd/packet_receive.c.
1971 * Remove the server entry correctly when rekey timeouts and
1972 remote router connection on normal server is closed. Fixes
1973 a crash where server uses the freed server entry. Affected
1974 file silcd/server.c.
1976 Fri Jan 02 10:28:15 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1978 * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
1979 networks. This is the first step in solving the bug about
1980 /SERVER ADD -silcnet <silcnet>. Affected files
1981 irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am,
1982 fe-silcnet.c, fe-common-silc.c, module-formats.[ch];
1983 irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am
1985 Thu Jan 01 20:11:32 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1987 * /SMSG and /MMSG now correctly create new queries. Affected files
1988 irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl
1990 * Add basic support for SILC protocol specific variables in perl.
1991 Affected files irssi/src/perl/silc/*, irssi/configure.in,
1992 irssi/src/perl/Makefile.am
1994 Wed Dec 31 17:06:55 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1996 * Don't use silc_get_input, it's obviously not reliable. Fixes
1997 issue when the current key expires. Affect file
1998 irssi/src/silc/core/clientutils.c
2000 * Make the session data filename configurable. This makes it
2001 possible to have different session files for different
2002 SILC networks. Affected files irssi/src/silc/core/silc-core.c,
2003 client_ops.[ch], silc-servers.c,
2004 irssi/src/silc/fe-common/silc/module-formats.[ch]
2006 * Use the same set of libtool files for the MPI lib as for the
2007 rest of the toolkit. Affected files lib/silcmath/mpi/config.guess,
2008 config.sub, configure.in, install-sh, missing, mkinstalldirs
2010 Sun Dec 28 21:57:39 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2012 * Fixed server statistics decrementing error to not go to
2013 negative. Affected file silcd/packet_receive.c.
2015 Sat Dec 20 14:42:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2017 * Use silc_server_query_add_error to add error in public key
2018 search error. Added support in send_reply to send errors
2019 without specific argument. Affected file silcd/server_query.c.
2021 * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
2022 Client for NO_SUCH_NICK. It was against the protocol specs.
2023 Affected file irssi/src/silc/core/client_ops.c.
2025 * Added backwards support for the wrong NO_SUCH_NICK error sending
2026 in server. To be removed in SILC Server 1.0. Both old clients
2027 and clients with fixed error handling now works. Affected file
2028 silcd/server_query.c.
2030 Sat Dec 20 00:44:47 CET 2003 Patrik Weiskircher <pat@icore.at>
2032 * fixed a bug in the whois using attributes function where no
2033 error was sent if no nickname and client id but the attributes were
2034 given to whois. Affected file silcd/server_query.c
2036 Tue Dec 16 21:34:59 CET 2003 Patrik Weiskircher <pat@icore.at>
2038 * remove public key from public key hashtable on detach. Affected
2039 file silcd/packet_receive.c
2041 * free public key hashtable before removing clients on server
2042 shutdown. Affected file silcd/server.c
2044 * remove public key prior deleting client-data on killing a client.
2045 Affected file silcd/server_util.c
2047 Sat Dec 06 21:35:14 CET 2003 Patrik Weiskircher <pat@icore.at>
2049 * Getting the MOTD from other servers works now. Affected
2050 files are silcd/command.c and silcd/command_reply.c
2052 Thu Dec 04 11:33:46 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2054 * Initialize the variable idletag, since it is tested in
2055 silc_core_deinit for its default value. Affected file
2056 irssi/src/silc/core/silc-core.c
2058 Sun Nov 30 19:47:02 CET 2003 Patrik Weiskircher <pat@icore.at>
2060 * Fixed signed channel messages across cells. Affected file
2063 Fri Nov 28 19:13:21 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2065 * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG
2066 is not defined. They can now be safely used in if-statements
2067 without braces. Affected file lib/silcutil/silclog.h.
2069 * Added the checks for backup closing connection due to error
2070 (local or remote) and thus not allow the resuming to occur
2071 in reconnect. Affected files are silcd/packet_send.c
2074 Tue Nov 25 15:20:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2076 * Help file updates. Affected files in irssi/src/docs/help/in/.
2078 Wed Nov 23 20:51:21 CET 2003 Patrik Weiskircher <pat@icore.at>
2080 * Fixed channel messages across cells. Affected file
2083 Wed Nov 12 11:34:56 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2085 * Fixed file transmission accepting in client library to not
2086 start the negotiation if user hasn't accepted the transfer,
2087 instead create new session for resent transfer. Affected
2088 file lib/silcclient/client_ftp.c.
2090 * Show the session ID in the file transmision list. Remove
2091 session from list that failed to transfer. Switch the current
2092 session automatically after transmission, and in errors, to new
2093 session if other sessions exists in the transfer list. Affected
2094 files are irssi/src/silc/core/silc-servers.c,
2095 irssi/src/fe-common/silc/modfule-formats.c.
2097 Mon Nov 10 14:41:40 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2099 * Fixed MIME header parsing for the hopefully last time. Affected
2100 file lib/silcutil/silcstrutil.c
2102 Mon Nov 10 13:03:46 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2104 * Rewrote the PKCS#1 routines. Added lib/silccrypt/silcpkcs1.[ch].
2106 * The SILC RNG is now gauranteed to return non-zero random
2107 values. Affected files are lib/silccrypt/silcrng.[ch].
2109 Sun Nov 9 20:44:56 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2111 * Fixed nickname formatting when changing only case of the
2112 nickname. Affected file lib/silcclient/idlist.c.
2114 Sun Nov 9 19:33:59 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2116 * Fixed a memory leak and incorrect printing of the "appears as"
2117 message. Affected file irssi/src/silc/core/client_ops.c
2119 Sun Nov 9 17:45:11 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2121 * Added CRT (Chinese Remainder Theorem) supported RSA
2122 private keys and private key operations. This significantly
2123 increases private key operation efficiency. No compatibility
2124 issues with new or old private keys. Affected files are
2125 lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c.
2127 Sat Nov 8 13:08:53 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2129 * Fixed GCC-3.3.2 related compilation warnings from the
2132 Fri Nov 7 23:01:47 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2134 * Removed RC6 from distributions.
2136 Fri Nov 7 19:38:42 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2138 * Added some better comments to lib/silccrypt/silcpkcs.h,
2139 optimized some routines in lib/silccrypt/silcpkcs.c.
2140 Added test_silcpkcs into lib/silccrypt/tests/.
2142 * Fixed silc_rng_global_init to actually init the global RNG
2143 if RNG wasn't provided for it. Affected file is
2144 lib/silccrypt/silrng.c.
2146 Thu Nov 6 21:08:28 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2148 * Added silc_hash_table_find_by_context_ext. Affected files
2149 lib/silcutil/silchashtable.[ch].
2151 * Save the public key on normal server in WHOIS command reply
2152 from attributes, if present, and add it to public key hash
2153 table. Fixes WHOIS resolving by public key on normal server.
2155 Optimized the attributes resolving on normal server to not
2156 resolve if we resolved them already from router.
2158 Affected files are silcd/server_query.c, command_reply.c.
2160 Wed Nov 5 19:36:30 CET 2003 Patrik Weiskircher <pat@icore.at>
2162 * Added support for whois using attributes.
2163 Affected files silcd/command_reply.c, silcd/packet_receive.c,
2164 silcd/server.c, silcd/server_internal.h, silcd/server_query.c,
2167 * Added support for whois using public key attribute to /WHOIS i
2168 client command. Affected files irssi/docs/help/in/whois.in,
2169 irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c
2171 Wed Nov 5 23:37:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2173 * Fixed UMODE setting in server when the client has anonymous
2174 mode set. The mode setting was not working. Affected file
2177 Mon Nov 2 11:36:08 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2179 * Fixed some bugs and typos related to sending split messages.
2180 Print notification when sending messages with /MMSG. Affected
2181 files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c
2183 Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2185 * Optimized the socket referencing in packet routines, client
2186 library and server. Affected files are lib/silccore/silcpacket.c,
2187 lib/silcclient/client.c and silcd/server.c.
2189 * If silc_socket_set_qos is given with NULL arguments the QoS is
2190 reset from the socket. Affected files are
2191 lib/silcutil/silcsockconn.[ch].
2193 Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2195 * Add a /LISTKEYS command which lists the locally cached
2196 client and server keys. Affected files
2197 irssi/src/fe-common/module-formats.[ch],
2198 irssi/src/silc/core/silc-{channels,servers}.c
2199 irssi/docs/help/in/listkeys.in
2201 Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2203 * Check that packet queue purging was successful. Affected
2204 files lib/silcclient/client.c and silcd/packet_send.c. Related
2205 to MAC failed errors.
2207 * Do not clear the inbuf even if it is empty if QoS was applied
2208 to it. Otherwise the QoS data is cleared and MAC failed error
2209 will occur. Affected file lib/silccore/silcpacket.c.
2211 * Use the rekey period time as rekey protocol timeout value.
2212 If the rekey does not succeed during the rekey period there's
2213 something very wrong, and we most likely end up with wrong keys,
2214 do graceful reconnect then. Affected file silcd/server.c.
2216 * Take reference of the socket in the parser context, as it's
2217 possible to have the parsers in queue after the socket is
2218 disconnected and this may cause crash. Affected files are
2219 lib/silccore/silcpacket.c, lib/silcclient/client.c and
2222 Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2224 * Fixed KICK command reply sending, it sent to replies.
2225 Affected file silcd/command.c.
2227 Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2229 * Finish the silc-mime.pl script. It now supports MIME type
2230 guessing using magic files, signing data messages, executing
2231 MIME handlers in background. Affected files
2232 irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in
2234 * Changed MIME signal handler to make things easier for the perl
2235 script. Affected files irssi/src/silc/core/client_ops.c,
2236 silc-servers.c, and irssi/docs/signals.txt
2238 * Cleaned up the silc_mime_parse function and fixed detection
2239 of wrapped header lines. Affected file lib/silcutil/silcstrutil.c
2241 Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2243 * Resolve the IP for file transfer listener from the connection
2244 socket. Affected file lib/silcclient/client_ftp.c.
2246 * Accept NULL hostname parameter in the functions
2247 silc_net_check_[local|remote]_by_socket. Do not reverse lookup
2248 if hostname is not wanted.
2250 Fri Oct 24 21:24:12 CEST 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2252 * Fixed race condition between silc_client_init and
2253 my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c
2255 Fri Oct 24 16:43:40 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2257 * Fixed file transfer connection closing when SIGNOFF for
2258 the client is received from server. Affected file is
2259 lib/silcclient/client_ftp.c.
2261 Tue Oct 21 13:35:57 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2263 * Check for disconnected socket in QUIT callback. Affected
2264 file silcd/command.c.
2266 Thu Oct 21 09:43:17 CEST 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2268 * Modified the MIME parsing to allow \n and \r\n as delimiters.
2269 Affected files lib/silcutil/silcstrutil.c
2271 * Cleaned up the escape/unescape functions for correctness and
2272 speed. Affected file irssi/src/silc/core/client_ops.c
2274 * Removed handling for data messages with Content-Type: text/*,
2275 moved parsing of MIME headers to the signal handler, added
2276 support for signing and verifying data messages. Affected
2277 files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c,
2278 irssi/src/silc/core/silc-{servers,channels}.c
2280 * Added a perl script for handling data messages based on
2281 information read from Mailcap files. New file
2282 irssi/scripts/silc-mime.pl
2284 Mon Oct 20 16:08:22 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2286 * Added new SILC_MESSAGE_FLAG_ACK that can be used to
2287 acknowledge recepetion of a message to the sender. Updated
2290 Sat Oct 18 11:55:33 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2292 * Unregister channel key saving callback when deleting channel.
2293 Affected file lib/silcclient/idlist.c.
2295 * Do not remove the client from channels in NOTIFY_TYPE_SIGNOFF
2296 before calling notify client operation. Affected file is
2297 lib/silcclient/client_notify.c.
2299 * Unregister QoS tasks when deleting the socket connection.
2300 Affected files lib/silcutil/silcsockconn.[ch],
2301 unix/silcunixsockconn.c.
2303 * Implemented latest presence-attrs draft changes. Affected
2304 files lib/silccore/silcattrs.h and
2305 irssi/src/silc/core/silc-queries.c.
2307 Tue Oct 14 18:24:53 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2309 * Save old channel keys in list to allow more rapid change
2310 of channel keys if server for some reason does that. This
2311 avoids loosing so many channel messages due to not having
2312 key to decrypt. Affected file lib/silcclient/silcclient.h,
2313 idlist.c and client_channel.c.
2315 Mon Oct 13 21:37:47 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2317 * Continued backup router tests and fixes. Affected files
2318 silcd/server_backup, server_util.c, server.c. See TODO.
2320 Sun Oct 12 19:58:18 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2322 * Fixed SERVER_SIGNOFF handling in servers. The client
2323 was removed from wrong list thus not removing the client
2324 at all. Affected file silcd/packet_receive.c.
2326 * Do not execute rekey protocol for disabled connections as
2327 it would never go through. Affected file silcd/server.c.
2329 * Added timeout for rekey protocol to catch if the protocol
2330 never executes successfully. Affected files silcd/server.c
2333 Sat Oct 11 15:39:22 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2335 * Abandon packet processing for disconnected sockets. Check
2336 this always after calling packet processing callback.
2337 Affected file lib/silccore/silcpacket.c.
2339 * Fixed double registration disconnection code in server.
2340 Closed wrong connection. Affected file silcd/packet_receive.c.
2342 Fri Oct 10 16:27:12 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2344 * On normal server reconnect to primary during resuming 4
2345 times, then give up. Affected file silcd/server_backup.c.
2347 * If during reconnecting to routers we notice we have router
2348 connection but no primary router set, the server is in desync.
2349 Reconnect to primary to restore network. Affected file
2352 * Assure that only one protocol is exeucting at the same time.
2353 Added checks for all protocols. Affected files are
2354 silcd/server.c and server_backup.c.
2356 Thu Oct 9 20:24:09 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2358 * Check that a string is not already part on invite/ban
2359 string when processing it. Affected file silcd/server_util.c.
2361 Thu Oct 9 12:06:40 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2363 * Fixed the CUMODE_CHANGE for founder mode changes to comply
2364 with 1.2 version of the protocol. Affected file is
2365 silcd/packet_receive.c.
2367 Wed Oct 8 19:41:15 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2369 * ERR_BAD_PASSWORD now returns the Channel ID of the channel
2370 where the passphrase was given. Affected file is
2373 Wed Oct 8 09:32:12 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2375 * INVITE and BAN notifys are now delivered from routers to
2376 servers (but not clients) on the channel. Updated specs and
2377 code. Affected files silcd/packet_[send|receive].[ch],
2378 command.c, server.c and server_util.c.
2380 * Implemented INVITE and BAN announcing. Affected files are
2381 silcd/server.[ch], server_util.c.
2383 * Implemented SilcStatus error type argument returning in
2384 command reply error in server. Affected file silcd/command.c.
2386 * Implemented SilcStatus argument returning in comand reply
2387 in client library. The command_reply client operation now
2388 returns error specific arguments as well. Affected files
2389 are lib/silcclient/command_reply.[ch], client_resume.c,
2390 lib/silccore/silcstatus.[ch].
2392 Sun Oct 5 20:22:08 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2394 * Backup router protocol version 1.2 implemented. Testing still
2395 required. Affected files in silcd/server_backup.[ch], server.c,
2396 packet_receive.c and server_internal.h.
2398 Sun Oct 5 12:36:37 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2400 * silc_client_send_[channel|private]_message now return TRUE
2401 or FALSE. Affected file lib/silcclien/client_channel.c and
2404 Thu Oct 2 17:03:09 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2406 * Check for explicit nickname in INVITE and BAN processing
2407 during join as well (and don't expect only wildcards in
2408 invite/ban strings). Affected file silcd/command.c.
2410 * Fixed the INVITE and BAN by public key. The public key saved
2411 is the PK payload (as specified) not the raw data. Affected
2412 file silcd/server_util.c.
2414 Wed Oct 1 20:29:06 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2416 * UTF-8 text message support for actions and notices in SILC
2417 Client. Affected file irssi/src/silc/core/client_ops.c.
2419 * silc_get_username and silc_get_real_name now returns sensible
2420 data on Win32. Patch by Toni Willberg. Affected file is
2421 lib/silcutil/win32/silcwin32util.c.
2423 Sun Aug 24 23:35:19 CEST 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2425 * Provide a signal handler to send MIME encoded messages and emit
2426 a signal when a MIME encoded message is received. Also document
2427 the signals for usage with the perl interface.
2429 A sample perl script will be supplied at a later point.
2431 Affected files are irssi/docs/signals.txt,
2432 irssi/src/silc/core/client_ops.[ch],
2433 irssi/src/silc/core/silc-{channels,servers}.c
2435 Sun Aug 24 12:58:30 CEST 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2437 * Use SILC_COMMAND_PING to estimate the round-trip time to the
2438 server. Use this time to display a lag and disconnect when it
2439 exceeds a specified limit.
2441 Affected files are irssi/src/silc/core/silc-{lag,core}.c.
2443 Mon Aug 11 17:14:17 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2445 * Remove the channel auth list in normal server if router
2446 encofrces its list during connecting. Send notify to channel
2447 to remove the mode to remove the list. Affected files are
2448 silcd/server_util.c and silcd/packet_receive.c.
2450 Wed Aug 6 14:52:04 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2452 * Added support for channel public keys. Updated protocol specs
2453 and implemented it. Affected files are
2454 silcd/command.c, command_reply.c, lib/silcclient/command.c,
2455 lib/silcclient/command_reply.c.
2457 Wed Jul 23 12:17:01 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2459 * Ignore SIGXFSZ and SIGXCPU signals in server. They can
2460 terminate the process on Linux. Affected file silcd/silcd.c.
2462 Mon Jun 2 19:13:27 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2464 * Check for NULL buffer in silc_buffer_clear. Affected file
2465 is lib/silcutil/silcbuffer.h.
2467 * Simplified the backup router protocol by removing the _GLOBAL
2468 types. Updated protocol specs and the code. Affected files
2469 are silcd/server_backup.[ch].
2471 Thu Apr 24 19:50:25 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2473 * Deny '@' and '!' from nicknames since they are reserved
2474 by the SILC_COMMAND_INVITE and SILC_COMMAND_BAN commands.
2475 Updated protocol specs and the code.
2477 Affected files are silcd/server_util.[ch].
2479 Wed Apr 9 18:51:59 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2481 * Fixed stack overflow in Irssi SILC client. Affected
2482 file irssi/src/silc/core/client_ops.c.
2484 * Check that Host is set in ServerConnection and RouterConnection
2485 in silcd.conf. Affected file silcd/serverconfig.c.
2487 * Fixed crash in server with protocol completion callbacks,
2488 namely rekey and backup resuming protocols. Affected files
2489 are silcd/server_backup.c and silcd/server.c.
2491 * Fixed rekey protocol to not restart if it is started already.
2492 Affected files are lib/silcclient/client.c and
2495 Mon Mar 17 18:35:24 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2497 * Rewrote SilcList, affected file lib/silcutil/silc*list.h.
2499 * Fixed EOF handling in SILC Config, affected file
2500 lib/silcutil/silcconfig.c.
2502 * Fixed buffer overflows in lib/silcutil/silcstrutil.c.
2504 * Fixed RESOLVING flag handling in JOIN notify and other
2505 notifys to handle the resolvings correctly in client library.
2506 Affected file lib/silcclient/client_notify.c.
2508 * Do not send full INVITE and BAN lists in INVITE and BAN
2509 notifys, only the changed information. Affected file
2512 * Fixed INVITE notify sending in INVITE command, send it
2513 only when needed. Affected file silcd/command.c.
2515 * Handle the founder key change properly in CMODE_CHANGE
2516 notify. Bug #122. Affected file silcd/packet_receive.c.
2518 Sun Mar 9 16:29:20 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2520 * Remove the mark for output (mark it only for input) after
2521 purging outgoing queue. Prevents the "Error in select()"
2522 floods. Affected file silcd/packet_send.c.
2524 * Fixed incorrect connection deletion from client library
2525 after calling "connect" client operation. Could cause
2526 crashes for example during reconnect timeouts. Affected
2527 files are lib/silcclient/client.c and
2528 irssi/src/silc/core/client_ops.c.
2530 * Check server private key file permissions before starting
2531 the server. Affected file silcd/serverconfig.c.
2533 Tue Feb 4 22:53:26 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2535 * NULL terminate allocated string in silc_buffer_strformat.
2536 Affected file lib/silcutil/silcbuffmt.c.
2538 * Rewrote the invite/ban list string handling in server to
2539 use SilcBuffer instead. Affected files are silcd/command.c
2540 and silcd/server_util.c.
2542 Mon Feb 3 14:43:52 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2544 * Fixed double free in CMODE command when setting new HMAC
2545 for channel. Affected file silcd/command.c.
2547 * Added couple of missing memset's to zero sensitive memory.
2548 Affected files silcd/command.c, lib/silcclient/command.c.
2550 Sun Jan 26 12:20:30 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2552 * Fixed a double free in INVITE command error handling in
2553 server. Affected file silcd/command.c.
2555 * Added macros SILC_SWAB_[16|32] to swab byte order of
2556 16-bit and 32-bit unsigned integers. Affected file
2557 lib/silcutil/silctypes.h.
2559 * Use the SILC_SWAB_16 instead of htons() in server when
2560 handling ports since the ports in structures are always
2561 in little-endian order (regardless of platform). Affected
2562 file silcd/serverid.c and silcd/server_backup.c.
2564 Tue Jan 21 17:18:04 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2566 * Send DISCONNECT in close admin command in server. Affected
2567 file silcd/command.c.
2569 * Check whether we are already connecting to a remote router
2570 (in addition of checking whether we are already connected)
2571 before creating new connection. Affected file silcd/server.c.
2573 Thu Jan 16 18:47:00 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2575 * Added better compiler and compiler flags checking in
2578 * Check that socket is valid after QoS is applied to data.
2579 Affected file lib/silcutil/unix/silcunixsockconn.c.
2581 * Make sure the socket connecetion is not closed to early
2582 when closing connection in server. Also make sure the
2583 connection is always closed after error in a protocol.
2584 Affected file silcd/server.c.
2586 Wed Jan 15 11:03:36 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2588 * Removed --session and --dummy options from Irssi SILC Client.
2589 -d option is available only if --enable-debug was given.
2590 Affected files are irssi/src/silc/core/silc-core,
2591 irssi/src/core/session.c and irssi/src/fe-text/silc.c.
2593 Tue Jan 14 12:25:09 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2595 * Added silc_buffer_steal to steal the data from the buffer.
2596 Affected file lib/silcutil/silcbuffer.h.
2598 Sat Jan 11 18:16:29 CET 2003 Giovanni Giacobbi <giovanni@giacobbi.net>
2600 * Fixed server crash with double Primary block in config file.
2602 Fixed also various memory leaks around the config file
2603 parser. Affected files lib/silcutil/silcconfig.c,
2604 silcd/serverconfig.c.
2606 * Changed my nickname (Johnny Mnemonic) to my real name, this
2607 means that bugs introduced by him were actually introduced
2610 Tue Jan 7 21:58:53 CET 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2612 * Don't display "foo appears as foo\nYou're now known as foo"
2613 messages. Affected file irssi/src/silc/core/client_ops.c
2615 Tue Jan 7 20:08:15 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2617 * Fixed error handling of invalid client entry when calling
2618 commands in server. Fixes a crash. Affected file
2621 Thu Dec 26 14:19:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2623 * Added some sanity checks in server for correctness of the
2624 server configuration. Affected file silcd/serverconfig.c.
2626 Fri Dec 20 10:47:59 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2628 * Prevent endless resolving of user informations in USERS
2629 command by checking the command reply status correctly.
2630 Affected file lib/silcclient/command_reply.c.
2632 Tue Dec 17 10:05:00 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2634 * Fixed file writing on WIN32 to use O_BINARY flag. Affected
2635 file is lib/silcutil/silcfileutil.c. A patch by Matthew
2636 Aldous <Matthew@Aldous.com>.
2638 * Added better implementation using CriticalSection of
2639 SilcMutex on WIN32. A patch by Mikko Lähteenmäki
2640 <mikko.lahteenmaki@pikabaana.net>.
2642 * Added some Winsock WIN32 compatiblity defines into
2643 includes/silcwin32.h.
2645 Mon Dec 16 19:33:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2647 * Fixed double free in async host lookup code. Affected file
2648 lib/silcutil/silcsockconn.c.
2650 * On backup router handle now the SERVER_SIGNOFF from router
2651 for local connected servers too, and close the connections.
2653 Do not process them as normally signing off servers when they
2654 really signoff by sending EOF fe, but always assume that
2655 router sends the SERVER_SIGNOFF.
2657 Affected files silcd/server.c and silcd/packet_receive.c.
2659 * Fixed socket unsetting when closing connections. Affected
2660 files silcd/server.c and silcd/packet_send.c.
2662 * Do not print the nickname in SERVER_SIGNOFF if we do not
2663 have it. Prevents asserts in Irssi core. It is possible we
2664 don't have the nick if it was just being resolved when server
2665 signoff. Affected file irssi/src/silc/core/client_ops.c.
2667 Thu Dec 12 23:22:50 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2669 * Fixed autonick crashbug in client library. Affected file
2670 lib/silcclient/client.c.
2672 * Fixed Unix implementation of SilcMutex to really assert if
2673 the mutex is locked/unlcoked already. Affected file
2674 lib/silcutil/unix/silcunixmutex.c.
2676 * Fixed locking in silc_schedule_uninit. It didn't lock
2677 when dispatching timeout tasks. Affected file is
2678 lib/silcutil/silcschedule.c.
2680 * Changed Win32 implementation of SilcThread to use modern
2681 Win32 interface. Affected file is
2682 lib/silcutil/win32/silcwin32thread.c A patch by Mikko L.
2684 Thu Dec 12 12:06:59 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2686 * Don't print signed messages when sending failed. Affected files
2687 irssi/src/silc/core/silc-[servers.c/commands.h]
2689 * Send adquate signal when founding a channel by joing it. Affect
2690 file irssi/src/silc/core/client_ops.c
2692 Wed Dec 11 21:46:19 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2694 * Fix theme abstracts parsing. Affected files irssi/default.theme,
2695 irssi/src/fe-common/core/themes.c
2697 Wed Dec 11 20:20:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2699 * Fixed close command to use the port correctly when closing
2700 server connections. Affected file silcd/idlist.c.
2702 * Check for NULL outbuf in silc_socket_write. It is possible
2703 that it is NULL is some odd case. Affected files are
2704 lib/silcutil/[unix/win32]/silc[unix/win32]sockconn.c.
2706 * Do not call final protocol callback for backup router
2707 resuming protocol when closing connection. It is closed
2708 by timeout in case of error. Affected file silcd/server.c.
2710 * Backup reconnect to router if backup resuming protocol
2711 failed. Affected file silcd/server_backup.c.
2713 Wed Dec 11 10:01:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2715 * Fixed double free in SKE library error hadling when signature
2716 error occurred. Affected file lib/silcske/silcske.c.
2718 * Save the fingerprint to new SilcClientEntry after changing
2719 nickname. Affected file lib/silcclient/client_notify.c.
2721 * Print SIGNOFF in Irssi SILC client only if the nickname is
2722 known. Prevents asserts in Irssi core. It is possible we
2723 don't have the nick if it was just being resolved when it
2724 quit. Affected file irssi/src/silc/core/client_ops.c.
2726 Tue Dec 10 21:47:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2728 * Fixed double free in invite list adding code when adding
2729 invite strings. Affected file silcd/server_util.c.
2731 Fri Dec 6 17:40:24 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2733 * More log printing during backup router protocol. Affected
2734 file silcd/server_backup.c.
2736 * Removed backwards support for old private key file format.
2737 Affected file lib/silccrypt/silcpkcs.c.
2739 * Removed backwards support for not-so-strict decryption length
2740 check, it's strict now. Affected lib/silccrypt/silccipher.c.
2742 * GETKEY to update the client entrys fingerprint too.
2743 Affected file lib/silcclient/command_reply.c.
2745 * Added --without-libtoolfix for package builders using weird
2746 wrappers around libtool (BSD at least).
2748 Thu Dec 5 22:29:46 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2750 * Fixed backup router bugs: When backup resumes router and
2751 receives a CHANNEL_MESSAGE packet the backup must not act
2752 as router since the packet header decryption would be
2753 different. Also, when relaying packets to channel, do
2754 not re-encrypt packets on backup that came from the primary
2755 since the connection isn't really router-router connection.
2756 Affected files silcd/server.c, silcd/packet_send.c.
2758 * Added checks in encryption/decryption that encryption/decryption
2759 length sent as argument really is multiple by block size. Helps
2760 catching really weird bugs like the above backup router bugs
2761 when packets are being decrypted in wrong way. Affected files
2762 lib/silccore/silcpacket.c, and lib/silccrypt/silccipher.c.
2764 * Fixed padding generation in private key file encryption.
2765 Affected file lib/silccrypt/silcpkcs.c.
2767 Thu Dec 5 16:35:23 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2769 * Added ignore_message_signatures setting which can be used
2770 to ignore signatures in messages. Affected files are
2771 irssi/src/silc/core/client_ops.c, silc-core.c.
2773 * Fixed the libtoolfix to use command line options instead of
2774 environment variables. They didn't work as expected. Now,
2775 the libtool is fully run-time configurable.
2777 Wed Dec 4 21:08:52 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2779 * Verify signature payload for signed messages. Affected files
2780 irssi/src/silc/core/client_ops.h, irssi/src/silc/core/silc-servers.c,
2781 irssi/src/silc/core/silc-core.h
2783 * Display signature verification result in public and private
2784 messages using theme abstracts. See irssi/default.theme for
2785 examples on their usage. Affected files
2786 irssi/default.theme, irssi/src/fe-common/silc/fe-messages.h,
2787 irssi/src/fe-common/silc/module-formats.[ch],
2788 irssi/src/fe-common/silc/fe-common-silc.c,
2789 irssi/src/fe-common/silc/Makefile.am
2790 irssi/src/fe-common/core/fe-messages.[ch]
2792 * Fixed bugs in Irssi's theme parsing. Affected files
2793 irssi/src/fe-common/core/themes.c
2795 Wed Dec 4 18:29:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2797 * Calculate the correct length for signed messages before
2798 encrypting, it must be multiple by block size. Affected
2799 file lib/silccore/silcmessage.c.
2801 * silc_message_signed_get_public_key returns now both
2802 decoded and encoded public key. Affected files are
2803 lib/silccore/silcmessage.[ch].
2805 * Added libtoolfix script that makes the libtool more generic
2806 and configurable in run-time. Now we can specify in run-time
2807 if what kind of libraries we want to create, regardless of
2808 configuration. SIMs are now creates even if --disable-shared
2809 was explicitly given.
2811 Tue Dec 3 23:26:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2813 * Fixed founder key sending in CMODE command in client.
2814 Affected file lib/silcclient/command.c.
2816 * Fixed CUMODE founder authentication in server to not check
2817 for client's public key since it's not supposed to do that.
2818 Affected file silcd/command.c.
2820 Tue Dec 3 12:02:41 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2822 * Set realname and hostname in NICK_REC records. Affected file
2823 irssi/src/silc/core/silc-nicklist.c
2825 Mon Dec 2 20:50:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2827 * Remove 1.0 protocol backwards compat code from client
2830 * Added more reliable check for whether nickname did change
2831 or not, or whether only Client ID changed in NICK_CHANGE
2832 notify. Affected file lib/silcclient/client_notify.c.
2833 Fixes bug in '@' character handling in a nickname.
2835 * Added support for automatically parsing signature from
2836 the message payload. Added new function
2837 silc_message_get_signature to return the payload to
2838 application. Affected files lib/silccore/silcmessage.[ch].
2840 * Changed the private_message and channel_message client
2841 operations to deliver the SilcMessagePayload to the
2842 application too. Application can use it fe. to get the
2843 signature from the message for verification. Affected
2844 file lib/silcclient/silcclient.h, client_channel.c and
2847 * Redefined the signed payload for message payloads.
2848 Updated protocol specs and implemented.
2850 Mon Dec 2 16:28:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2852 * Fixed wrong invite and ban list handling in server command
2853 reply. Affected files are silcd/command_reply.c,
2854 silcd/server_util.[ch].
2856 Sun Dec 1 20:48:17 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2858 * Fixed CMODE setting in server when founder mode was set.
2859 Affected file silcd/command.c. Bug #95.
2861 * Added support to setting specific public key in CMODE in
2862 Irssi SILC client. Affected file lib/silcclient/command.c.
2864 * Added support to use specific public key in CUMODE in
2865 Irssi SILC Client. Affected file lib/silcclient/command.c.
2867 * Added support for inviting and banning by public key in
2868 Irssi SILC client. Affected file lib/silcclient/command.c.
2870 * Fixed fingerprint/babbleprint showing in invite and ban
2871 list command replys. Affected file is
2872 irssi/src/silc/core/client_ops.c.
2874 Sun Dec 1 16:32:03 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2876 * Format CMODE +c and +h to display both the mode and the argument
2878 Sun Dec 1 18:17:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2880 * Added test vectors and test programs for SHA-1, MD5,
2881 HMAC-SHA1 and HMAC-MD5. New tests are located in
2882 lib/silccrypt/tests/. Fixed also argument decoding bug in
2883 MD5 implementation. Affected file lib/silccrypt/md5.c.
2885 * Changed the channel private key and private message key
2886 generation (with static keys) to use SHA1 instead of MD5,
2887 as SHA1 is the mandatory hash function in SILC. Affected
2888 file lib/silcclient/client_[channel/prvmsg].c.
2890 * Changed the private key file encryption to use SHA1 instead
2891 of MD5. Added support for the old generation and added
2892 automatic change of the key (to be removed later). Affected
2893 files lib/silccrypt/silcpkcs.c.
2895 Sat Nov 30 19:07:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2897 * Load only files with .pub suffix in PublicKeyDir. Affected
2898 file silcd/serverconfig.c.
2900 Sat Nov 30 14:29:34 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
2902 * Extended the SILC_SERVER_LOG_ERROR macro to all available logging
2903 channels. Affected files silcd/silcd.c, silcd/server.h.
2905 * Added the config directive PublicKeyDir for the client block.
2906 Affected files doc/exampe_silcd.conf.in, silcd/serverconfig.[ch].
2908 Sat Nov 30 09:30:55 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2910 * Merged Toni's irssi/silc.conf patch.
2912 * ROBODoc cleanup patch to lib/silccrypt/silcpkcs.h by johnny.
2914 * Max alloc tests in allocation routines. Affected file
2915 lib/silcutil/silcmemory.c.
2917 Fri Nov 29 23:44:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2919 * Fixed a typo in resuming code that fixed detach/resume code
2920 in server. Bug #93. Affected file silcd/packet_receive.c.
2922 Thu Nov 28 17:17:11 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2924 * Do reverse lookups for server when /connecting. Affected files
2925 irssi/silc.conf, irssi/src/core/servers.c, irssi/src/core/network.c,
2926 irssi/src/core/net-nonblock.*
2928 Thu Nov 28 16:19:18 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2930 * Added library versioning for shared libraries. Affected
2931 files configure.in.pre and lib/Makefile.am.pre.
2933 Wed Nov 27 21:51:52 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2935 * Display INVITE and BAN lists as specified by SILC 1.2
2937 Wed Nov 27 16:01:11 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2939 * Do not send invite list back unless asked (when sending
2940 no arguments) or when list was modified. Affected file
2943 * Remove client from invite list in KILLED notify and in
2944 KILL command. Affected file silcd/command.c and
2947 * Fixed bugs in invite list handling in INVITE command.
2948 Affected files silcd/command.c and silcd/server_util.c.
2950 * Merged with Irssi 0.8.6.
2952 * Fixed UTF-8 in Irssi SILC Client, setlocale was missing.
2953 Affected file irssi/src/fe-text/silc.c.
2955 Mon Nov 25 18:21:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2957 * The silc_argument_get_[first/next] now return the argument
2958 type to caller. Added silc_argument_payload_encode_one.
2960 Affected files are lib/silccore/silcargument.[ch].
2962 * Added support for the SILC 1.2 INVITE command and new
2963 invite lists to server. Affected files are silcd/command.c,
2964 silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2966 * Added support for the SILC 1.2 BAN command and new
2967 ban lists to server. Affected files are silcd/command.c,
2968 silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2970 * Added support to client sending new INVITE command. Affected
2971 file is lib/silcclient/command.c.
2973 * Added support to client sending new BAN command. Affected
2974 file is lib/silcclient/command.c.
2976 * Added support for removing client from invite list when kicked
2977 from channel, as SILC 1.2 dictates. Affected files are
2978 silcd/packet_receive.c and silcd/command.c.
2980 Sun Nov 24 18:26:42 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2982 * If iv argument to silc_cipher_[encrypt/decrypt] is NULL, use
2983 automatically the cipher's internal IV. Affected files
2984 lib/silccrypt/silccipher.[ch].
2986 * Assure the RESUME_CLIENT packet is not sent to twice to
2987 backup router if the detached client was originated from
2988 the backup. Affected file silcd/server.c. Bug #76.
2990 * Changed silc_sim_symname to not allocate memory. Affected
2991 file lib/silcsim/silcsimutil.c.
2993 * Fixed memory leaks with SIMs in server. Affected files
2994 silcd/serverconfig.c, silcd/server.c.
2996 * Fixed channel key distribution after resuming detached
2997 client. Affected files silcd/packet_receive.c.
2999 * Fixed channel's global_user boolean checking after detaching.
3000 Check it after changing the owner of the client not before.
3001 Affected file silcd/packet_receive.c.
3003 * Fixed few double frees from client library. Fixes at least
3004 Bug #81, possibly others too.
3006 * UTF-8 decode topics also in JOIN command reply and TOPIC_SET
3007 notifys in Irssi SILC Client. Affected file is
3008 irssi/src/silc/core/client_ops.c. Bug #82.
3010 * Applied Ville Räsänen's manual page and --mandir bugfix
3011 patch. Affected files are configure.in.pre and Makefile.am.pre.
3014 Fri Nov 22 18:34:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3016 * Added support to backup router protocol for backup to tell
3017 normal server that it cannot use the backup router as primary
3018 because the primary isn't really down. Updated protocol
3021 * Added support for primary router to tell backup router that
3022 resuming is not possible because the backup really isn't primary
3023 in the cell. For example if backup disconnected itself the
3024 resuming is not allowed since the primary really did not
3025 go down. Updated protocol specs.
3027 * Removed MARS from crypto library.
3029 * Defined the CTR mode and Randomized CBC mode in SILC. The
3030 CTR mode is RECOMMENDED now in specification. Defined also
3031 Serpent cipher as optional cipher. Updated the protocol specs.
3033 Thu Nov 21 12:43:28 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3035 * Added support for inviting/banning by IP/MASK, public key,
3036 and explicit Client ID. Redefined the command and notify
3037 types to allow easier forwards support for other methods
3038 of inviting/banning. Updated protocol specs.
3040 * Remove the client from channel's invite lists if the client
3041 is kicked or killed. Updated protocol specs.
3043 * Unified the Channel Message Payload and Private Message
3044 into one Message Payload. Updated protocol specs and
3047 Tue Nov 19 22:30:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3049 * Don't wait for EOF after socket error has occurred, but
3050 close the connection. Affected file is silcd/server.c.
3052 Mon Nov 18 18:58:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3054 * Added support for setting FOUNDER mode on channel with
3055 specific public key which can be set with CMODE command.
3056 Updated protocol specs and implemented in client and server.
3058 * Fixed the Irssi SILC client to correctly shutdown the client
3059 library to avoid memory leaks. Affected files are
3060 irssi/src/silc/core/silc-core.c and silc-servers.c.
3062 * Deprecated the No Reply flag in SKE protocol and introduced
3063 "IV Included" flag which can be used to indicate that the IV
3064 is included in the ciphertext. This makes it possible to use
3065 SILC on unreliable transport, such as UDP which may cause
3066 packet reordering and losses. Updated protocol specs, did
3069 Sun Nov 17 15:50:57 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3071 * Fixed the MPI implementation of silc_mp_sizeinbase to return
3072 < 32 bit values in correct size. Affected file is
3073 lib/silcmath/mp_mpi.c.
3075 Sat Nov 16 13:14:45 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3077 * Fixed the KE Start Payload parsing to check that mandatory
3078 fields are present. Affected file lib/silcske/payload.c.
3080 * Fixed compilation warnigs in Irssi SILC Client. Affected
3081 files are irssi/src/silc/core/silc-query.c. client_ops.c.
3083 Thu Nov 14 19:33:28 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
3085 * Print "nick now appears as newnick" and update Irssi's nicklist
3086 when you change your nick to "nick". Closes #62
3088 * Never format your own nick. Closes #63
3090 Thu Nov 14 09:44:54 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
3092 * SILC_UMODE_GONE changes are now propagated correctly to the
3093 Irssi client. Closes #54
3095 Tue Nov 12 19:42:18 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
3097 * Fixed example in /HELP KEY
3099 * Added expando $j which expands to current SILC Client version
3101 Tue Nov 12 19:46:39 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3103 * Fixed public key decoding in crypto library.
3105 * Added better error printing to SKE library.
3107 Tue Nov 12 08:50:12 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3109 * Fixed NICK command to not crash if nickname was not sent.
3111 Mon Nov 11 19:32:00 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3113 * Added Encrypt-Then-MAC order to SILC packet MAC generation.
3114 Deprecated the old Encrypt-And-MAC order. Updated protocol
3115 specs and implemented.
3117 * Added Encrypt-Then-MAC order to Channel Message Payload MAC
3118 generation. Updated specs and implemented.
3120 Sun Nov 10 12:20:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3122 * Added support for rekey before 2^32 sequence number wraps.
3123 Affected files in server and client library.
3125 * Padding must be at least 8 bytes now. Implemented and updated
3128 * Compute maximum padding for authentication packets to make
3129 passphrase approximation attacks impossible. Affected files
3130 in client library and in server.
3132 * Fixed PING command sending in client library and handling in
3133 server. The server ID must be ID Payload, not raw ID data.
3134 Affected files in server and client library.
3136 * Defined that all public keys sent in commands and notify
3137 payloads are actually Public Key Payloads not raw public key
3138 data. Updated protocol specs and implemented.
3140 * Updated protocol version to 1.2. Updated specs and code.
3142 * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED
3143 status types. Updated specs and the code.
3145 * Added support for normal client to kill its own entries from
3146 the network. Updated protocol specs and the code.
3148 * Defined the SILC_MESSAGE_FLAG_SIGNED. Updated protocol specs
3149 and added initial implementation.
3151 * Added MAC field to the Private Message Payload to protect
3152 against chosen ciphertext attacks. Updated the protocol specs
3155 * Added idle and signon fields to the ATTRIBUTE_SERVICE
3156 attribute to indicate the user's current idle and signon time
3157 of a service. Updated protocol specs and implemented.
3159 Thu Nov 7 19:21:10 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3161 * Added "do_not_bind" argument to silc_client_file_send what
3162 can be used to not bind locally but assume the file receiver
3163 provides the point of connect. Usefull when sender is behind
3164 NAT device. Affected file lib/silcclient/silcclient.h and
3167 * Added -no-listener option to FILE SEND command in Irssi SILC
3168 client. Affected file irssi/src/silc/core/silc-servers.c.
3169 Renamed FILE RECEIVE to FILE ACCEPT.
3171 * Confirm passphrase for private key encryption in
3172 silc_create_key_pair and silc_change_private_key_passphrase.
3173 Affected files are lib/silcutil/silcapputil.c.
3175 Thu Nov 7 10:05:28 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3177 * Move silc_client_packet_send back to internal, added
3178 silc_client_send_packet, a bit simpler function for application.
3179 Affected files lib/silcclient/silcclient.h, client.c and
3182 * Moved the SilcClientEntry, SilcChannelEntry and
3183 SilcServerEntry to silcclient.h to be public and documented
3184 them for application. Affected files are
3185 lib/silcclient/silcclient.h and idlist.h.
3187 Wed Nov 6 17:18:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3189 * Fixed manual page installation patch by Ville Räsänen.
3190 USERS help page fix patch by Ville Räsänen
3192 * Changed the silc_client_command_call interface to make
3193 the command call simpler for the application. The library
3194 now handles the command line parsing, command finding and
3195 execution. Application only needs to call the function
3196 with the command line. Affected files are
3197 lib/silcclient/silcclient.h, command.[ch].
3199 * Fixed silc_get_input to NULL-terminate the returned input.
3200 Affected file lib/silcutil/silcutil.c.
3202 * Resolve the client's public key in JOIN command if the
3203 founder auth data is being requested but we don't know the
3204 client's public key. Affected file silcd/command.c.
3207 Mon Nov 4 16:02:59 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3209 * Print notify for server opers when backup router comes
3210 online. Affected file silcd/server.c.
3212 * Fixed the INVITE command to send the invite list in
3213 command reply. Affected file silcd/command_reply.c.
3215 * Fixed MOTD command reply sending. Affected file
3218 * UTF-8 decode the topic in TOPIC command reply and LIST
3219 command reply in Irssi SILC client. Affected file is
3220 irssi/src/silc/core/client_ops.c.
3222 Sun Nov 3 17:59:15 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3224 * Fixed the INVITE command to not crash Irssi SILC client
3225 when given without nickname argument. AFfected file
3226 irssi/src/silc/core/client_ops.c.
3228 * Fixed double free in WHOIS query on normal server when
3229 forwarding query to router. Affected file is
3230 silcd/server_query.c.
3232 * Fixed WATCH command reply handling on normal server which
3233 was missing altogether. Affected file silcd/command_reply.c.
3236 Sun Nov 3 00:42:05 EET 2002 Mika Boström <bostik@lut.fi>
3238 * Added man-pages for silc(1), silcd(8) and silcd.conf(5).
3239 Included yodl sources for each of these. Also modified
3240 Makefile.am prototype to install these files to proper
3241 locations. Updated CREDITS. Affected file Makefile.am.pre,
3242 new files doc/*.yo, doc/silc.1, doc/silcd.conf.5,
3245 Sat Nov 2 21:26:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3247 * Added support for encrypted private key files. Now
3248 passphrase must be provided when new key pair is created
3249 (can be empty though), and prompted when loading the
3250 private key. Added support for loading the old-style
3251 non-encrypted private keys as well. Affected files
3252 lib/silccrypt/silcpkcs.[ch], Irssi SILC client and
3255 * Fixed silc_get_input to accept input on all terminals.
3256 Affected file lib/silcutil/silcutil.c.
3258 * Moved the Irssi SILC client key loading and other stuff
3259 to be called after the arguments and UI is initialized.
3260 Affected file irssi/src/silc/core/silc-core.c. Bug #31.
3262 * Added -P option to Irssi SILC client which can be used
3263 to change the passphrase of the private key. Affected
3264 file irssi/src/silc/core/silc-core.c.
3266 * Added silc_change_private_key_passphrase apputil routine
3267 to lib/silcutil/silcapputil.[ch].
3269 Sat Nov 2 12:53:09 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3271 * Fixed connection closing in client library to not crash.
3272 Moved the connection freeing totally to function
3273 silc_clinet_del_connection. Affected file
3274 lib/silcclinet/client.c.
3276 Fri Nov 1 18:57:02 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3278 * Changed includes/silcincludes.h to silcincludes.h.in to
3279 include configuration specific information. The silcdefs.h
3280 is not included in to installation anymore (it's only
3281 compilation time header).
3283 Fri Nov 1 10:30:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3285 * Moved the SilcClient and SilcClientConnection from client.h
3286 to the public lib/silcclient/silcclient.h. Changed the
3289 Thu Oct 31 22:44:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3291 * If version string in silc_clinet_alloc is NULL the library
3292 puts it automatically. Affected file lib/silcclient/client.c.
3294 * Changed the version strings from variables to #define's
3295 in includes/silcversion.h.
3297 Wed Oct 30 16:17:30 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3299 * Added shared library complation support.
3301 Tue Oct 29 21:48:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3303 * Added lib/silcutil/silcapputil.[ch] for application
3304 utility functions. It includes routines for applications'
3305 convenience. Added silc_create_key_pair, silc_show_public_key
3306 and silc_load_key_pair functions.
3308 Tue Oct 29 17:36:44 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3310 * Send RESUME_CLIENT packet from router to backup routers
3311 to in resuming. Affected file silcd/packet_receive.c.
3313 Mon Oct 28 21:23:39 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3315 * In IDENTIFY command parsing, send all other IDs except
3316 Client IDs explicitly to router for resolving on normal
3317 server. Also check that ID received in WHOIS command is
3318 always Client ID, others are not allowed. Affected file
3319 silcd/server_query.c.
3321 * Merged latest changes from irssi.org CVS.
3323 Sun Oct 27 11:44:32 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3325 * Merged c0ffee's /set heartbeat patch to Irssi SILC client.
3326 Affected files irssi/src/silc/core/silc-core, silc-server.c.
3328 * Fixed the heartbeat sending in Irssi SILC client. Moved
3329 the silc_client_packet_send to silcclient.h for application
3330 usage. Affected files lib/silcclient/client_internal.h
3331 lib/silcclient/silcclient.h.
3333 * Fixed a bug in query resolving in server. Used wrong
3334 variable in a for loop and crashed. Affected file is
3335 silcd/server_query.c.
3337 * Server constructs requested attributes only to locally
3338 connected clients. Affected file silcd/server_query.c.
3341 * Fixed a bug when sending resolving from router to server
3342 with requested attributes. The constructed WHOIS command
3343 was incorrect. Affected file silcd/server_query.c.
3346 * Fixed Requested Attributes saving in WHOIS command reply.
3347 The length of the data buffer must be saved too. Affected
3348 file silcd/command_reply.c.
3350 * Update the client entry's servername after detaching is
3351 over. Affected file silcd/packet_receive.c. Bug #37.
3353 * Resolve incomplete client entrys in CUMODE_CHANGE and
3354 CMODE_CHANGE notifys. Affected file is
3355 lib/silcclient/client_notify.c. Bug #42.
3357 Thu Oct 24 12:22:35 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3359 * Fixed channel key packet processing bug on backup router
3360 during backup resuming protocol. Affected file is
3361 silcd/packet_receive.c.
3363 * Fixed memory leaks in server. Affected files are
3364 silcd/server.c and silcd/packet_receive.c.
3366 * Fixed packet decryption problem when backup router encrypted
3367 channel message with wrong key during backup resuming
3368 protocol. Affected file silcd/packet_send.c.
3370 * ROBODoc documented lib/silccrypt/silccipher.h. A patch by
3371 Toni Willberg (toniw@iki.fi)
3373 * Changed the SilcCipher context to be private. Changed the
3374 silc_cipher_get_iv to just return pointer to the IV. Added
3375 silc_cipher_get_name to return the name of the cipher.
3376 Fixed code all around to support these changes. Affected
3377 files are lib/silccrypt/silccipher.[ch], client library and
3380 Wed Oct 23 19:01:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3382 * Fixed unaligned access in lib/silccore/silcattrs.c.
3384 * Fixed libtool linking in lib/silcsim/Makefile.am.
3386 * Fixed services attribute printing. Affected files is
3387 irssi/src/silc/core/silc-queries.c.
3389 Wed Oct 23 09:51:04 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3391 * Fixed a crashbug in incoming server accepting. Affected
3392 file silcd/server.c.
3394 Tue Oct 22 13:02:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3396 * Added automatically generated index to Toolkit Reference
3399 * Added support for Postscript Toolkit Reference Manual.
3401 Mon Oct 21 21:30:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3403 * Merged DISCONNECT fix, and autoconn port fix from Irssi
3406 Sun Oct 20 19:54:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3408 * Added 'send_events' boolean argument to the function
3409 silc_schedule_set_listen_fd which sends the set events to
3410 the application explicitly if set to TRUE. Default action
3411 should be FALSE. Affected file lib/silcutil/silcschedule.[ch],
3412 lib/silcclient/client_internal.h and silcd/server_internal.h.
3414 * Added silc_compare_timeval to determine which time values
3415 is smaller. Affected file lib/silcutil/silcutil.[ch].
3417 * Added sort-of "Quality of Service" (QoS) support to
3418 SilcSocketConnection. Data reception can be controlled with
3419 rate limit per second and/or read data length limit.
3420 Added silc_socket_set_qos. Affected files are
3421 lib/silcutil/silcsockconn.[ch] and unix/silcunixsockconn.c.
3423 * Added the QoS configuration to SILC Server configuration
3424 file. Affected files are silcd/serverconfig.[ch] and
3427 Sun Oct 20 14:12:24 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3429 * Merged with irssi.org CVS.
3431 * Failed OPER and SILCOPER authentications are now logged.
3432 Affected file silcd/command.c. Bugs #25.
3434 Sat Oct 19 13:32:15 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3436 * ROBODoc documented lib/silcutil/silcbuffer.h and
3437 lib/silcutil/silcdlist.h. Patch by Ville Räsänen
3438 <ville.rasanen@iki.fi>.
3440 Fri Oct 18 10:51:04 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3442 * Added support for auto-passphrase authentication from the
3443 config file during connecting which was not implemented
3444 yet. Affected file irssi/src/silc/core/client_ops.c.
3446 * Fixed a bug in authentication protocol failure handling which
3447 was processing wrong callback context. Affected files
3448 are lib/silcclient/client.c and protocol.c.
3450 * Fixed the /ATTR allow off to actually work. Affected file
3451 is irssi/src/silc/core/silc-queries.c.
3453 * Fixed the /ATTR -del to work. Affected file is
3454 irssi/src/silc/core/silc-queries.c.
3456 Thu Oct 17 23:45:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3458 * Fixed string formatting crashbug in lib/silccore/silcattrs.c.
3460 * Fixed mask attribute adding in Irssi SILC client. Affected
3461 file irssi/src/silc/core/silc-queries.c.
3463 Thu Oct 17 16:40:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3465 * Added support for saving the requested attributes in
3466 WHOIS to directory. Affected file is
3467 irssi/src/silc/core/silc-queries.c.
3469 Wed Oct 16 17:40:56 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3471 * Added support for parsing VCard fields that do not have
3472 the TYPE= for types. Affected file lib/silcutil/silcvcard.c.
3474 * Fixed a double free bug in hash table foreach function
3475 if the entry was deleted in the foreach callback. Affected
3476 file lib/silcutil/silchashtable.c.
3478 Tue Oct 15 18:05:24 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3480 * Added silc_attribute_get_verify_data to return the signature
3481 verification data for either user digital signature or
3482 server digital signature in Requested Attributes. Affected
3483 files are lib/silccore/silcattrs.[ch].
3485 * Added silc_vcard_alloc which is used to allocated dynamic
3486 SilcVCard context. The silc_vcard_free now checks whether
3487 the context is dynamically allocated or not. Affected files
3488 are lib/silcutil/silcvcard.[ch].
3490 Mon Oct 14 17:55:44 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3492 * Periodically remove the NOATTR status from client entry
3493 so that the client may take the attributes in use even after
3494 server has resolved them unsuccessfully earlier. Affected
3495 file silcd/server_query.c and idlist.h.
3497 * Moved sha1hash and md5hash from client->internal to
3498 SilcClient for application usage. Affected files are
3499 lib/silcclient/client.h and client_internal.h.
3501 * Fixed attribute encoding and decoding bugs. Affected
3502 files lib/silccore/silcattrs.[ch].
3504 * Added ATTR command to Irssi SILC Client which is used to
3505 manage user's Requested Attributes sending and values for
3506 WHOIS command. Affected files around Irssi SILC client.
3508 Mon Oct 14 14:33:54 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3510 * Added silc_buffer_strformat which can be used to format
3511 strings into a buffer which size is automatically increased.
3512 Affected file lib/silcutil/silcbuffmt.[ch].
3514 * Added implementation of VCard (RFC 2426) which can be used
3515 as part of Requested Attributes in WHOIS command. Affected
3516 file lib/silcutil/silcvcard.[ch].
3518 Fri Oct 11 23:52:17 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3520 * Some strncat -> silc_strncat changes our the core and
3523 * Added SILC_SKE_STATUS_SIGNATURE_ERROR and OUT_OF_MEMORY
3524 errors. Added better error printing to SKE library.
3525 Affected files lib/silcske/silcske.c, silcske_status.h and
3528 * Save the PKCS key length even if only private key is set to
3529 SilcPKCS. Affected file lib/silccrypt/silcpkcs.[ch] and rsa.c.
3531 * Fixed the usage of silc_pkcs_get_key_len since it returns the
3532 length in bits not in bytes. Affected files are
3533 lib/silcske/silcske.c, lib/silccore/silcauth.c and
3534 silcd/server_query.c.
3536 Wed Oct 9 17:22:57 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3538 * Added silc_attribute_payload_encode_data to directly encode
3539 the data into the attributes buffer. Renamed function
3540 silc_attribute_payload_parse_list to silc_attribute_payload_parse.
3541 Affected files are lib/silccore/silcattrs.[ch].
3543 * silc_hash_table_find_foreach calls the foreach function now
3544 once even if the nothing was found with context set to NULL.
3545 Affected file lib/silcutil/silchashtable.[ch].
3547 * Remove the RESOLVING flag from client entry after received
3548 the Requested Attributes from the client. Fixed memory leak
3549 in client entry freeing. Affected files silcd/server_query.c
3552 * Added Requested Attributes support into SILC Client Library.
3553 It is not able to send requested attributes in WHOIS command,
3554 and also receive and process requested attributes. Added
3555 silc_client_attribute_[add|del] and silc_client_attributes_get
3556 functions. Added also `ignore_requested_attributes' to the
3557 SilcClientParams to not use attributes in client. Affected
3558 files are lib/silcclient/command.c, client_attrs.[ch],
3559 silcclient.h, client_internal and client.[ch].
3561 * Changed the silc_client_get_client_by_id to support Requested
3562 Attributes, it takes them as argument now. Affected file
3563 is lib/silcclient/silcclient.h, and idlist.c.
3565 * Added -details option to WHOIS command in Irssi SILC Client
3566 to support the requested attributes. By default it requests
3567 all attributes. Affected file lib/silcclient/command.c and
3568 irssi/doc/help/in/whois.in.
3570 Tue Oct 8 17:58:28 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3572 * Add also SERVICE attribute for server-constructed attribute
3573 data. Also digitally sign the attributes and add
3574 SERVER_DIGITAL_SIGNATURE attribute. Affected file is
3575 silcd/server_query.c.
3577 Mon Oct 7 18:25:35 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3579 * Changed the silc_attribute_payload_encode to support list
3580 of attributes (function may be called several times to add
3581 a new attribute). Removed the silc_attribute_payload_encode_list
3582 function. The encoding function now also automatically encodes
3583 the data, so the caller does not need to do that. Affected
3584 files lib/silccore/silcattrs.[ch].
3586 * Added support for replying on behalf of the user to the
3587 Requested Attributes in WHOIS command in the server. Affected
3588 file silcd/server_query.c.
3590 * SILC_NOT_IMPLEMENTED macro use SILC_LOG_INFO now instead of
3591 SILC_LOG_DEBUG. Affected file lib/silcutil/silclog.h.
3593 Sun Oct 6 16:48:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3595 * Don't swtich to become primary router if we are backup if
3596 decryption error has occurred. Affected file silcd/server.c.
3598 * Fixed a bug in backup router IP address comparison in
3599 silc_server_backup_get.
3601 Save now also the port of the server/router and use that
3602 in comparison as well. Affected file silcd/server_backup.c.
3604 * Normal server now reconnects to backup router automatically
3605 if connection is lost to it. Affected file silcd/server.c.
3607 Thu Sep 26 13:51:02 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3609 * If packet processing fails (like integrity check fails)
3610 the connection is closed now. Affected files are
3611 lib/silccore/silcpacket.c and silcd/server.c.
3613 Mon Sep 23 10:59:39 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3615 * Fixed double free in RSA public key set function
3616 silc_rsa_set_public_key. Affected file lib/silccrypt/rsa.c.
3619 Sun Sep 22 14:54:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3621 * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server.
3622 Added server_query.[ch] which provides one interface for
3623 querying information using all three commands.
3625 * Changed all "typedef unsigned char" in core library to
3626 "typedef SilcUInt8".
3628 Sat Sep 21 21:36:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3630 * Added silc_strncat into lib/silcutil/silcstrutil.[ch].
3632 * Renamed silc_server_get_client_resolve to
3633 silc_server_query_resolve and moved to server_query.[ch].
3635 Wed Sep 18 18:28:04 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3637 * Resumed client packet handling from server put the resumed
3638 client on wrong list on router and caused the client not
3639 be present on the network anymore. Now fixed to put the
3640 client to correct list. Affected file silcd/packet_receive.c.
3642 Wed Sep 18 15:13:48 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3644 * Various cleanup in error message output in config parsing code
3645 and in server init code. Fixed error log files containing
3646 too many newlines ('\n') in some situations. Affected files are
3647 silcd/serverconfig.c, silcd/silcd.c, and silcd/server.c.
3649 Wed Sep 18 10:51:23 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3651 * Use the reverse lookupped hostname in client internals
3652 instead of one user provided us as remote server name.
3653 Affected file lib/silcclient/client.c.
3655 Mon Sep 16 12:02:54 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3657 * Added 'app_context' to silc_schedule_init. It is an
3658 application specific context that is delivered to application
3659 in task callback functions. Affected files are
3660 lib/silcutil/silcutil.[ch].
3662 * The hb_context in SilcSocketConnection is not freed
3663 automatically anymore (application must free it). Freeing
3664 it automatic is inconsistent. Affected files are
3665 lib/silcutil/silcsockconn.[ch].
3667 Sun Sep 15 22:16:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3669 * Added support for removing explicitly added client connections
3670 in rehash and closing the client connections if they were
3671 unconfigured in the rehash. Affected file silcd/server.c.
3673 * Added support for aborting automatically pending commands
3674 that never receives the reply (to avoid memory leaks).
3675 Added also silc_server_command_pending_timed to set the
3676 specific timeout for pending command. Affected files are
3677 silcd/command[_reply].[ch].
3679 * Added SILC_STATUS_ERR_TIMEDOUT status. Updated protocol
3680 specs and lib/silccore/silcstatus.h.
3682 Sun Sep 15 12:25:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3684 * Changed the silc_get_time to accept time value as argument
3685 or if zero is sent return current local time. Affected
3686 file lib/silcutil/silcutil.[ch].
3688 * Added STATS command to client library and Irssi SILC client.
3689 Patch provided by Ville Räsänen <ville.rasanen@iki.fi>.
3691 Wed Sep 11 09:22:00 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3693 * Assure that channel key is set before sending it. May
3694 crash server otherwise. Affected file silcd/packet_send.c.
3696 Tue Sep 10 09:50:08 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3698 * Assure that endless loop cannot happen with detached client
3699 resolving on normal server. Added idlist status
3700 SILC_IDLIST_STATUS_RESUME_RES. Affected files are
3701 silcd/idlist.h and silcd/packet_receive.c.
3703 Mon Sep 9 12:18:18 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3705 * Incoming file transfer request cannot use same session as
3706 the sending session. This can happen when sending file to
3707 yourself. Crashed the client on quit. Affected file
3708 lib/silcclient/client_ftp.c. Bug #24.
3710 Sun Sep 8 18:39:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3712 * Implemented the draft-riikonen-precense-attrs draft and
3713 the Attribute Payload into the lib/silccore/silcattrs.[ch].
3715 Sun Sep 8 13:13:44 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3717 * Distribute the SERVER_SIGNOFF notify also to local backup
3718 routers from the primary router. The backup router may not
3719 have the signing of local server directly connected and need
3720 to know about the signoff. Affected file silcd/server_util.c.
3722 * Use the primary router as the origin of the locally connected
3723 server when it is disconnecting from the backup router since
3724 that's where it really is coming from. Now the clients from
3725 the disconnecting server are removed correctly and "shadow"
3726 clients are not left to the backup router. Affected file
3729 Sat Sep 7 22:26:50 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3731 * If normal server is standalone and found existing but disabled
3732 channel, do not re-create the channel since it creates
3733 duplicate same channels. Affected file silcd/server.c.
3735 * Added anonymous client connections support to server. New
3736 "anonymous" configuration option to ConnectionParams section
3737 added. If set to true, the username and hostname information
3738 of the client will be scrambled and anonymous user mode is
3739 set automatically to the user. Affected files are
3740 silcd/serverconfig.[ch], silcd/packet_receive.c and server.c.
3742 Sat Sep 7 16:02:09 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3744 * In JOIN notify handling, mark that the cache entry of the
3745 client cannot be expired. Can cause crashes on normal
3746 server (asserts client->channels). Affected file is
3747 silcd/packet_receive.c.
3749 * From now on distribution versions are used as protocol versions
3750 instead of by default using the Toolkit base version as protocol
3751 version. Affected file prepare.
3753 * Do not set the locally resolved hostname for local client
3754 entry but take what server sends. This way the real hostname
3755 is showed in WHOIS for yourself. Affected file is
3756 lib/silcclient/idlist.c and lib/silcclient/client.c.
3758 * Resolve local info with IDENTIFY when connecting to server.y
3760 Sat Sep 7 14:22:43 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3762 * Rewritten check for POSIX threads. Use --with-pthreads[=DIR]
3763 for implied search (not needed on platforms which has native
3764 pthreads library). Use --without-pthreads to disable threads.
3765 Affected file is configure.in.pre
3767 * Fixed --with-iconv on platforms which need to bypass (broken)
3768 native iconv(). Affected file is configure.in.pre
3770 Sat Sep 7 15:08:13 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3772 * Moved -C option parsing in Irssi SILC client at same time
3773 as other options. The UI was initialized earlier and caused
3774 problems on command line. Bug #16. Affected file is
3775 irssi/src/silc/core/silc-core.c.
3777 Mon Sep 2 23:00:30 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3779 * Added global variable silc_log_timestamp that tells silclog
3780 wether to print or not the timestamp in the logging files.
3781 Affected file lib/silcutil/silclog.[ch].
3783 * Added silcd configuration option Timestamp in the Logging
3784 section. Affected file silcd/serverconfig.[ch],
3785 doc/example_silcd.conf.in.
3787 Fri Aug 30 08:57:33 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3789 * Fixed fingerprint checking to check for entirely empty
3790 fingerprint instead of two first bytes when determining
3791 if it is set. Bug #18. Affected file silcd/command.c.
3793 * Fixed duplicate PKCS name registering to not allow it.
3794 Bugs #17. Affected file lib/silccrypt/silcpkcs.c.
3796 Sun Aug 25 08:02:04 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3798 * Conditionalize non-gcc compiler optimizations for various
3799 platforms, enable those commented out. Cleanups.
3800 Affected file lib/silcmath/mpi/configure.in
3802 Sat Aug 24 15:11:32 EEST 2002 Timo Sirainen <tss@iki.fi>
3804 * silc_rng_exec_command() left zombie processes if command
3805 didn't generate any output. Affected file
3806 lib/silccrypt/silcrng.c
3808 Fri Aug 23 22:05:44 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3810 * Rewrote iconv checking, introduce --with-iconv for systems
3811 which rely on libiconv. Check if iconv() provided by libc
3812 is good enough, otherwise demand libiconv. Affected file
3815 Fri Aug 23 07:10:52 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3817 * Search for ldopen() also in libc. This enables SIM support
3818 on *BSD systems. Based on patch from Alex Zepeda. Affected
3819 file configure.in.pre
3821 Sun Aug 18 04:44:30 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3823 * Don't call AM_CONDITIONAL conditonally for SILC_THREADS.
3824 This fixes prepare on *BSD systems. Affected file
3827 Sun Aug 4 15:55:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3829 * More fixed for not having purge timeout for global clients
3830 that are on channel. Affected files silcd/command_reply.c
3833 * Fixed the rekey protocol to work with backup router connections.
3834 Rekey packets are now allowed on disabled connections as
3835 well. Affected files silcd/packet_send.c and server.c.
3837 * Do not switch to be as backup router when shutting down and
3838 closing the primary connection. Affected file silcd/server.c.
3840 * Fixed memory leaks in backup router deleting. Added
3841 silc_server_backup_free to free all data during shutdown of
3842 server. Affected files silcd/server_backup.[ch].
3844 Sun Jul 14 21:33:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3846 * Do not process commands if the sock->user_data is NULL.
3847 Affected file silcd/command.c.
3849 Tue Jul 9 19:03:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3851 * Fixed buffer overflow and security problems (loosing bits
3852 in CFB encryption) in SILC RNG. Problems reported by
3853 Markku-Juhani O. Saarinen <mjos@saturn.tcs.hut.fi>.
3855 Sun Jul 7 13:10:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3857 * Added yet more checks that client is not expired on global
3858 list if it is on channels. Affected file is
3859 silcd/command_reply.c.
3861 Sat Jul 6 11:45:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3863 * Merged c0ffee's MIME signal patch which adds support for
3864 sending also MIME messages in Irssi SILC Client, and handling
3865 received MIME messages in a signal (and perhaps doing something
3866 to non-textual MIME messages).
3868 Sun Jun 30 01:30:22 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3870 * Fixed pending command deletion in server and client library
3871 to check the whole list instead of breaking after first found.
3872 The affected files are silcd/command.[ch] and
3873 lib/silcclient/command.[ch].
3875 Sat Jun 29 17:40:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3877 * Return NO_SUCH_CHANNEL error in USERS for channel that is
3878 secret or private, otherwise it's possible to find out
3879 whether a secret channel exists or not. Affected file
3882 * If CMODE change fails during the mode setting, assure that
3883 the old mode mask is set for the channel back. Affected
3884 file silcd/command.c.
3886 * Fixed passphrase saving on +a channel on normal server
3887 after successful JOIN command. Affected file silcd/command.c.
3889 Fri Jun 28 11:53:25 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3891 * Remove server/router operator privileges in DETACH command,
3892 since it's possible to resume to server where these
3893 privileges would not be allowed for the client. Affected
3894 file silcd/command.c.
3896 * Do not set to wait for backup in rehash of the server.
3897 Affected file silcd/server.c.
3899 * Do not check listener sockets when counting how many
3900 socket connections we have. Affected file is
3901 silcd/server_util.c.
3903 * Do not announce disconnected clients that are remaining
3904 in history (for WHOWAS). This is because SIGNOFF notify
3905 for these has been sent earlier already. Affected file
3908 Thu Jun 27 20:07:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3910 * Buffer overflow with CUMODE command's mode->mode character
3911 conversion. Reported by Ville Räsänen. Affected file
3912 lib/silcutil/silcutil.c.
3914 Thu Jun 27 16:54:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3916 * Allow heartbeat packets to go disabled connections anyway.
3917 Affected files silcd/server.c and silcd/packet_send.c.
3919 * Do not broadcast New Channel packets with List flag set
3920 in the packet to backup routers. The router must check
3921 for the correctness of the packets before sending them.
3922 It is possible that router will have enforce Channel ID
3923 change and this would cause desync in the backup router.
3924 Affected file silcd/packet_receive.c.
3926 * Remove SILC_PACKET_FLAG_LIST from the temp packets that
3927 are handled in list parsing. They are not list packets
3928 anymore. Affected file silcd/packet_receive.c.
3930 Thu Jun 27 11:27:07 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3932 * Stop waiting for backup router through the timeout, not
3933 directly after backup router has arrived. Affected file
3936 * Do not re-create channel keys and send them when removing
3937 clients in server shutdown. Affected files are
3938 silcd/server_internal.h and silcd/server_util.c.
3940 * Notify distribution to backup routers was missing from
3941 the silc_server_send_notify_dest function which caused
3942 desyncing problems with backup router. Affected file is
3943 silcd/packet_send.c.
3945 * The client's channel removing was working wrong on
3946 backup router. It assumed that it doesn't know global
3947 information but backup router does know. For this reason
3948 it could remove channel when it wasn't supposed to do that.
3949 Affected file silcd/server.c and silcd/server_util.c.
3951 Wed Jun 26 15:14:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3953 * Stop for a couple seconds after badkup router has become
3954 primary router. Affected file silcd/server.c.
3956 * Added silc_server_remove_servers_by_server, which is used
3957 to remove servers originated from some other server. Also
3958 clients of those servers can be removed too. Affected file
3959 silcd/server_util.[ch].
3961 * When removing clients after a server has signed of remove
3962 also all servers behind that server (unless they are known
3963 to be available locally), and send SERVER_SIGNOFF for each
3964 of the server separately. Also the signed off clients are
3965 sent now separately per signed off server. The affected files
3966 are silcd/server.c and silcd/server_util.[ch].
3968 * All servers added with silc_idlist_add_server must always
3969 have both "router" and "connection" pointers set. Otherwise,
3970 bad server entries may be left around in the cache.
3971 Affected file silcd/command_reply.c.
3973 * Do not create the channel key in NEW_CHANNEL packet
3974 processing if the channel is empty. Affected file
3975 silcd/packet_receive.c.
3977 * Completed backup router support for standalone routers.
3978 Supports also servers in the cell that do not use the backup
3981 Wed Jun 26 10:38:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3983 * Fixed a bug in silc_string_regexify which did not add '^'
3984 at the start of each string, and thus the matching was
3985 not explicit. For example ban list iikone@*!*@* would
3986 match also "priikone", which is wrong, it would have to be
3987 *iikone@*!*@* to match also "priikone". Affected
3988 file lib/silcutil/unix/silcunixutil.c.
3990 Tue Jun 25 18:47:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3992 * Enable all local server connections before updating client
3993 caches when we've become backup router. Otherwise, signoff
3994 packets may not reach the clients. Affected files are
3995 silcd/server.c and silcd/server_util.[ch].
3997 * Fixed a bug in version string parsing which could crash
3998 the program with specially formatted version string.
3999 Bug reported and patch provided by Ville Räsänen. Affected
4000 file lib/silcutil/silcutil.c.
4002 * Handle the disconnection immediately when DISCONNECT
4003 packet is received in server. Affected file silcd/server.c.
4005 * Primary router now waits a short time (10 seconds) for
4006 backup router connection before accepting any other
4007 connection (except local). Affected file silcd/server.c,
4010 * Fixed a crash in client libary in NICK_CHANGE notify when
4011 NICK_CHANGE arrived for client entry we are resolving
4012 currently. Affected file lib/silcclient/client_notify.c.
4014 * Call the sconn->callback completion even if error had
4015 occurred. Start reconnecting always if connection to
4016 primary router fails during backup router protocol.
4017 Affected files silcd/server.c and server_backup.c.
4019 Mon Jun 24 17:47:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4021 * Added functions silc_server_send_opers and
4022 silc_server_send_opers_notify to send packets stricly
4023 to operators. Added macro SILC_SERVER_SEND_OPERS macro
4024 to send variable argument notify to operators.
4025 Affected files silcd/packet_send.[ch] and silcd/server.h.
4027 * Removed UMODE rights checking with UMODE_CHANGE notify.
4028 Affected file silcd/packet_receive.c.
4030 * Server/router operator now receives notify when network
4031 switches to backup router and when it resumes the use of
4032 primary router. Affected file silcd/server.c and
4033 silcd/server_backup.c.
4035 * Fixed the updating of client information after backup
4036 resuming protocol is over; update all except local clients
4037 to the new primary router. The affected file is
4038 silcd/server_util.c.
4040 * Added support for closing active connections in rehash
4041 that were unconfigured by the user. Supports currently
4042 closing server and router connections. Affected file
4045 * Rewrote some SILC_LOG_DEBUG's in silcd/server_backup.c.
4047 Sun Jun 23 17:32:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4049 * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer
4050 is NULL since seems that on some platforms NULL is allowed
4051 and on some it's not. Fallback encoding is used instead.
4052 Affected file lib/silcutil/silcstrutil.c.
4054 * Fixed statistics updating for incoming server connection
4055 which could cause problems when re-connecting. Affected
4056 file silcd/server.c.
4058 * Preliminary backup router support for standalone router
4059 added. Affected files in silcd/.
4061 * Mark server connections in backup router disabled before
4062 and after backup protocol. Affected file is
4063 silcd/server_backup.c.
4065 * Added support for reconnecting to remote server connection
4066 even if the protocol fails, and if the configuration wants
4067 us to keep trying to connect anyway.
4069 Server connection is not allowed to backup router if
4070 backup router does not have connection to primary router yet.
4072 Affected file is silcd/server.c.
4074 Sat Jun 22 21:34:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4076 * Added silc_client_udpate_server function to update changed
4077 server info. Affected file lib/silcclient/idlist.[ch].
4079 * Added check for server entries that are being resolved when
4080 notify is received. If being resolved, handle the received
4081 notify only after it's resolved so that all notifys are
4082 handled in same order as received from the server.
4084 Added similar resolver check to channel entries. Every
4085 notify that cause resolving of any information that affects
4086 channel entry marks the channel entry in waiting state.
4087 After whatever resolving is over the waiters are signalled
4088 and only then the notifys are handled in the same order
4089 as delivered from the server.
4091 Affected files are lib/silcclient/idlist.[ch], and
4094 * Fixed KILLED notify handling in normal server. Affected
4095 file silcd/packet_receive.c.
4097 * Added SILC_IDLIST_STATUS_LOCAL which indicates that entry
4098 is locally connected, or was locally connected (but may
4099 be detached and connection is not active). Added also
4100 SILC_IS_LOCAL for checking this status. Affected files
4101 silcd/idlist.h, silcd/packet_receive.c, silcd/server_util.c,
4102 silcd/server.c and silcd/server_internal.h.
4104 Sat Jun 22 17:06:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4106 * Don't send or handle TOPIC_SET if topic is already set and
4107 is same as being set. Affected files silcd/command.c and
4108 silcd/packet_receive.c.
4110 * Fixed CMODE change rights checking to work correctly when
4111 removing modes by operator. Affected file is
4112 silcd/server_util.c.
4114 * Fixed some handling with New Channel packet in router and
4115 fixed some CMODE_CHANGE notify handling in server and router.
4116 Affected file is silcd/packet_receive.c.
4118 * Changed "disconnect" client operation to include the
4119 reason of the disconnection and optional disconnection
4120 message. Affected file lib/silcclient/silcclient.h.
4122 * Made the compilation of lib/contrib/ stuff conditional.
4123 Affected files configure.in.pre, lib/contrib/Makefile.am.
4125 Sat Jun 22 12:49:21 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4127 * All CMODE_CHANGE and CUMODE_CHANGE notifys are now sent back
4128 to the sender of the notify too, to avoid situation where two
4129 notifys are in the network at the same time going to oppsite
4130 directions. Affected file silcd/packet_receice.c.
4132 Fri Jun 21 10:00:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4134 * Delete the client from channel even if the cilent->id is
4135 NULL. It was possible that client was deleted without
4136 removing from channels (theoretically at least). Affected
4137 file silcd/server.c and silcd/server_util.c.
4139 * Free the client data too when resuming is not successful.
4140 Affected file silcd/packet_receive.c.
4142 * Merged some code from c0ffee's silc-plugin. Affected files
4143 irssi/src/silc/core/silc-channels.c and silc-expandos.c.
4145 * Added SILC_PRIMARY_ROUTE and SILC_BROADXAST macros to
4146 silcd/server_internal.h. SILC_PRIMARY_ROUTE Returns pointer
4147 to the primary router connection, the other one returns
4148 TRUE if packet must be broadcasted to network.
4150 * All notifys that are destined to primary router (to network)
4151 are now automatically sent to backup routers even if the
4152 router is standalone (and has backup router). Affected files
4155 * Added --without-irssi and --without-silcd configuration
4156 options for disabling the compilation of these applications.
4157 Affected file configure.in.pre and prepare.
4159 Thu Jun 20 13:48:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4161 * Implemented SILC_STRING_BMP and SILC_STRING_UNIVERSAL for
4162 UTF-8 encoding and decoding. Added also new encodings
4163 SILC_STRING_BMP_LSB and SILC_STRING_UNIVERSAL_LSB.
4165 Added also SILC_STRING_LANGUAGE which is language and charset
4166 specific encoder and decoer for those platforms that support
4167 iconv(). It can convert the UTF-8 to and from the locale
4168 specific character set.
4170 Affected file lib/silcutil/silcstrutil.[ch].
4172 * Added macro SILC_NOT_IMPLEMENTED to lib/silcutil/silclog.h.
4174 * Added function silc_get_command_name to the file
4175 lib/silcutil/silcutil.[ch].
4177 * Improved the server debug output a bit. Affected files are
4180 Wed Jun 19 17:46:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4182 * Save the channel passphrase when received succesful JOIN
4183 command reply from router, on normal server. Otherwise
4184 joinig +a channels from normal server is not possible.
4185 Affected file silcd/command.c.
4187 * Fixed a bug in TOPIC_SET notify handling. The notifier
4188 may be other than client too, like server or channel.
4189 It expected it to always be only client and ignored the
4190 notify. Affected file silcd/packet_recieve.c.
4192 * Removed some (unnecessary) debug printing from
4193 lib/silccore/silcid.c and lib/silccore/silcargument.c.
4195 * Do not force CMODE_CHANGE when server is announcing new
4198 Router announces stuff only after server reannounces channel
4199 after CHANNEL_CHANGE notify.
4201 These fixes optimizes the announcing procedure, and perhaps
4202 fixes some problems too. Affected file silcd/packet_receive.c.
4204 * Fixed SERVER_SIGNOFF sending to local clients. It was
4205 totally broken and sent the notify to all local clients,
4206 instead of only to those that was on same channel as the
4207 signing off clients. Affected file silcd/server_util.c.
4209 * Added -D option to server. It can be used to give debug
4210 level. The levels are from 0 - 99, and are predefined for
4211 smooth server debugging. (see silcd.c for the predefined
4212 levels). Affected file silcd/server.c.
4214 Wed Jun 19 16:01:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4216 * Fixed a bug in Irssi SILC client to close the connection
4217 properly when disconnecting from server. Affected file
4218 irssi/src/silc/core/client_ops.c.
4220 Tue Jun 18 17:14:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4222 * When authenticating as founder during JOIN command, check
4223 that the one authenticating becomes the only founder on the
4224 channel. Affected file silcd/command.c.
4226 * Better checking for founder mode setting when CUMODE_CHANGE
4227 notify is received. Affected file silcd/packet_receive.c.
4229 * Close all connections when shutting down the server by sending
4230 DISCONNECT packet. Close all listeners too when shutting
4231 down the server. Affected file silcd/server.c.
4233 * Handle DISCONNECT packet correctly in client library by
4234 calling the "disconnect" client operation. Affected file
4235 lib/silcclient/client.c.
4237 * Handle local errors correctly during resuming. Affected
4238 file lib/silcclient/client.c.
4240 Tue Jun 18 10:26:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4242 * The log file is not dupped internally anymore in
4243 lib/silcutil/silclog.c. Fixed memory leaks too.
4245 * The scheduler now dispatches all pending timeout tasks
4246 when it is uninitialized with silc_schedule_uninit.
4247 Affected file lib/silcutil/silcschedule.c.
4249 Mon Jun 17 21:30:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4251 * Added --enable-stack-trace option to configure. Added
4252 memory allocation stack trace support. Added files
4253 lib/silcutil/stacktrace.[ch]. Affected files are
4254 lib/silcutil/silcmemory.[ch].
4256 * Fixed memory leaks from libraries and server. Affected
4257 files around the tree.
4259 * Reverted back a fix made to CUMODE which broke it.
4260 Affected file silcd/command.c.
4262 Sun Jun 16 11:49:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4264 * Added SILC_MESSAGE_FLAG_UTF8 to the protocol specs and the
4265 core library, and implemented it. All textual messages SHOULD
4266 use this flag and the message MUST be UTF-8 encoded.
4267 All text messages sent by Irssi SILC client are now UTF-8
4268 encoded (regardless whether the terminal supports UTF-8 or not).
4269 Affected files are lib/silccore/silcchannel.h,
4270 irssi/src/silc/core/silc-servers.c, silc-channels.c and
4273 Sat Jun 15 18:23:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4275 * Added lots of new statistics updating that was missing from
4276 the server and router code. Affected files in silcd/.
4278 * Sending SIGUSR1 signal to server now dumps the current
4279 server statistics into /tmp directory. Affected file is
4282 * ROBODoc documented the lib/silccrypt/silchash.h. Improved
4283 the SILC Hash Interface also. Added new functions
4284 silc_hash_get_name, silc_hash_init, silc_hash_update and
4285 silc_hash_final. Affected file lib/silccrypt/silchash.c.
4287 Sat Jun 15 12:09:14 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4289 * Added some better info printing for client during connecting.
4290 Affected file silcd/server_util.c.
4292 * Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
4293 to silence a user on a channel. Affected files are
4294 lib/silcclient/client_channel.c, irssi/src/silc/core/client_ops.c,
4295 irssi/src/fe-common/silc/module-formats.[ch], silcd/command.c
4296 and silcd/packet_receive.c.
4298 * Fixed a fatal bug in handling of malformed command payload.
4299 Affected file silcd/command.c.
4301 * Fixed a double free when announcing channel users to router.
4302 Affected file silcd/server.c.
4304 * After successful authentication to channel founder mode, check
4305 that there isn't anyone else with founder mode on the channel.
4306 The one that authenticated will become founder and anyone
4307 else is demoted. Affected file silcd/command.c.
4309 * Added error printing of any error that has occurred during
4310 any command in client library. Affected file is
4311 irssi/src/silc/core/client_ops.c.
4313 * Removed some error printing from the client library and left
4314 it for the application to worry (from the error status it
4315 receives in 'command' client operation. Affected file is
4316 lib/silcclient/command.c.
4318 Fri Jun 14 22:59:02 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4320 * Added new status types KEY_AGREEMENT_ALREADY_STARTED and
4321 KEY_AGREEMENT_SELF_DENIED to lib/silcclient/silcclient.h.
4322 Starting key agreement with itself is denied. Affected file
4323 is lib/silcclient/client_keyagr.c.
4325 * Fixed some error checkings from the SFTP library which caused
4326 misbehaviour. Affected files are lib/silcsftp/sftp_client.c
4327 and lib/silcsftp/sftp_util.c.
4329 * Added new "debug" and "debug_string" settings to Irssi SILC
4330 client which can be used to print runtime debugging on the
4331 Irssi's screen. Available when compiled with --enable-debug
4332 option. Affected file irssi/src/silc/core/silc-core.c.
4334 Tue Jun 11 16:36:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4336 * Fixed a missing variadic parameter in a function call that
4337 caused server crash when a non-allowed connection arrived.
4338 Reported by Richard Becker. Affected file silcd/server.c.
4340 Mon Jun 10 16:29:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4342 * Added WATCH list sending to backup routers from router.
4343 The WATCH command is sent by the router to the backup
4344 router. Affected file silcd/command.c.
4346 * Mark the backup_router flag for RouterConnection entry
4347 if the backup router stuff is defined in the config file.
4348 Affected file silcd/serverconfig.c.
4350 * Fixed some backup data sending around the code to work better
4351 if the router is standalone router. Not all places were fixed.
4352 Affected file silcd/packet_receive.c, silcd/packet_send.c,
4355 * Fixed the router connecting when connecting to multiple
4356 routers. It ignored every other router except the first
4357 one. Affected file silcd/server.c.
4359 Mon Jun 10 09:28:21 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4361 * Made the private key generation after expiration optional.
4362 If not created after expiration the old key will re-expire
4363 at a later time (and thus key pair is not necessary to
4364 change). Affected file irssi/src/silc/core/clientutil.c.
4366 Sun Jun 9 18:58:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4368 * The length arguments in bind() and connect() were wrong
4369 and fixed now to used SIZEOF_SOCKADDR in the
4370 lib/silcutil/unix/silcunixutil.c.
4372 Tue Jun 4 18:36:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4374 * Fixed detach timeout handling to use Client ID and not
4375 the actual client entry which may be freed in the callback.
4376 Affected file silcd/command.c.
4378 Thu May 30 15:53:45 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4380 * Merged c0ffee's multiple interface support patch.
4381 Affected files in silcd/.
4383 Wed May 29 18:08:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4385 * Cleanup keys properly. Affected file is
4386 irssi/src/silc/core/clientutil.c.
4388 Tue May 28 20:11:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4390 * Display the user mode on the status bar. Affected file
4391 irssi/src/silc/core/silc-expandos.c.
4393 Tue May 28 13:56:26 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4395 * If private message key is not set, but the flag is set in
4396 the packet, ignore the packet since it cannot be decrypted.
4397 Affected file lib/silcclient/client_prvmsg.c.
4399 Thu May 23 12:00:14 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4401 * When resuming client, remove the old client entry from
4402 the watcher list too. Affected file silcd/packet_receive.c.
4404 * Do not allow normal server to force founder mode away
4405 from router if the founder mode is already set. Affected
4406 file silcd/packet_receive.c.
4408 * Remove the client entry with watch notify types with short
4409 timeout, and not directly, so that other notifys can be
4410 retrieved too. Affected file lib/silcclient/client_notify.c.
4412 * Display notification about data messages that cannot be
4413 displayed. Affected files irssi/src/silc/core/client_ops.c,
4414 irssi/src/fe-common/silc/module-formats.[ch].
4416 Sun May 19 18:59:00 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4418 * Fixed the CHANNEL_CHANGE notify handling in client libary
4419 to not use freed memory. Affected file is
4420 lib/silcclient/client_notify.c.
4422 * Fixed CUMODE_CHANGE notify handling in server. Affected
4423 file silcd/packet_receive.c.
4425 * Fixed USERS command to support empty channels. Affected
4426 file silcd/command.c.
4428 Sat May 18 11:35:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4430 * Allow multiple identical pending commands to be registered
4431 in client library. Affected file is lib/silcclient/command.c.
4433 * Call the completion for resolving client information only
4434 after all resolvers has finished. This fixes a crash in
4435 the client. Added support for checking when the resolvers
4436 are finished. Affected file is lib/silcclient/idlist.c.
4438 * Wait by default 3 seconds before reconnecting to the server
4439 after being disconnected. Makes the /detach command a bit
4442 Fri May 17 17:23:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4444 * Check the watcher list before sending signoff notifys
4445 when closing client connection. Affected file is
4448 * Added better CMODE command rights checking. Affected file
4449 silcd/server_util.c.
4451 Fri May 17 08:33:41 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4453 * Fixed watcher list checking during server signoff. It
4454 crashed the server. Affected file silcd/server_util.c.
4456 * The JOIN command reply returns now the founder's public
4457 key. Affected file is silcd/command.c.
4459 * Announce the channel mode, and the mode properties with
4460 CMODE_CHANGE notify. Affected file silcd/server.c.
4462 * Mark new channels by default disabled, untill at least
4463 one user joins the channel. Affected file is
4464 silcd/packet_receive.c.
4466 Thu May 16 13:05:13 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4468 * The nickname argument to watch notify can be optional.
4469 Fixes a crash in server. Affected file silcd/packet_send.c.
4471 * Remove the client entry from cache if the WATCH notify type
4472 is KILLED, SERVER_SIGNOFF or SIGNOFF. Affected file is
4473 lib/silcclient/client_notify.c.
4475 * Check the watcher list before and after changing nickname
4476 when the NICK_CHANGE notify is received. Affected file is
4479 * Fixed a crash in OPER and SILCOPER command sending. Empty
4480 passphrase caused the crash. Affected file is
4481 lib/silcclient/command.c.
4483 Wed May 15 19:01:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4485 * Merged with Irssi CVS for Irssi SILC client.
4487 Tue May 14 19:37:48 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4489 * Completed the protocol specifications.
4491 Tue May 7 20:41:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4493 * Merged with Irssi CVS for Irssi SILC client.
4495 Tue May 7 11:07:16 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4497 * Added the founder's public key delivery to the
4498 CUMODE_CHANGE notify type as well. Updated the protocol
4499 specs and the code. Affected files are silcd/packet_send.[ch],
4500 silcd/packet_receive.c and silcd/command.c.
4502 Mon May 6 19:46:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4504 * Added silc_pkcs_public_key_copy function into the
4505 lib/silccrypt/silcpkcs.[ch].
4507 * Remove the `iv' from the SilcChannelEntry since we can
4508 live without it. Affected files are silcd/idlist.h and
4509 silcd/packet_receive.c.
4511 * Added support for sending the founder's public key in
4512 the CMODE_CHANGE notify packet in the server. Affected
4513 files are silcd/packet_send.[ch], silcd/packet_receive.c,
4514 silcd/command.c and silcd/server.c.
4516 * Changed the FOUNDER_AUTH authentication to use only
4517 public key authentication as defined by new protocol
4518 specs. Passphrase authentication with that mode cannot
4519 be used anymore. It is now possible to reclaim founder
4520 mode from any server in the network. Affected files are
4521 silcd/command.c, silcd/idlist.h and silcd/command_reply.c.
4523 * Added permanent channels support by making the channel
4524 permanent when FOUNDER_AUTH mode is set on the channel.
4525 The channel will not be destroyed even if channel is empty
4526 when that mode is set. Protocol TODO #17. Affected
4527 files are silcd/server.[ch], server_util.[ch],
4528 silcd/command.c, silcd/packet_receive.c and
4529 lib/silcclient/command.c.
4531 Fri May 3 18:36:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4533 * Added reference counter to the command reply context in
4534 the client library. Affected files are
4535 lib/silcclient/command_reply.[ch].
4537 Fri May 3 11:37:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4539 * Fixed rekey protocol with PFS in the client library.
4540 Affected file is lib/silcclient/protocol.c.
4542 * Added support for list of errors in client library
4543 command reply handling. Affected file is
4544 lib/silcclient/command_reply.c.
4546 * Defined that the WHOIS and IDENTIFY commands can send
4547 list of errors. Updated the protocol specs. Protocol
4550 * Added support for sending list of errors to WHOIS and
4551 IDENTIFY commands in server. Added support for receiving
4552 list of errors in server. Affected files are
4553 silcd/command.c and silcd/command_reply.c.
4555 * Fixed client info resolving on LEAVE command in client
4556 library to not crash. Affected file is
4557 lib/silcclient/client_notify.c.
4559 Thu May 2 08:45:11 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4561 * Defined that the NICK command replies with thew changed
4562 nickname too, to make the nickname changing simpler at
4563 the client's end. Updated protocol specs and the code
4564 in client and server. Affected files are
4565 silcd/command.c, lib/silcclient/command_reply.c and
4566 lib/silcclient/command.c.
4568 Mon Apr 29 20:10:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4570 * Added `Compressed' packet flag to indicate that the packet
4571 payload is compressed by the sender. Updated the protocol
4572 specs and the core library. The compression still is not
4573 implemented in the sources. Affected file is
4574 lib/silccore/silcpacket.h.
4576 Mon Apr 29 09:48:12 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4578 * Remove pending command callbacks also if the connection
4579 to the server is destroyed. Affected file is
4580 lib/silcclient/client.c.
4582 Sat Apr 27 19:52:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4584 * Added new QUIET channel user mode that can be used to
4585 quiet a user in a channel. Updated the protocol specs but
4586 it wasn't implemented yet. Protocol TODO #27. Affected
4587 file is lib/silccore/silcmode.h.
4589 Mon Apr 22 09:09:44 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4591 * Added BLOCK_INVITE user mode to be able to block incoming
4592 invite notifications. Protoocol TODO #26. Affected files
4593 are lib/silccore/silcmode.h, lib/silcclient/command.c and
4596 * SILC Publickey fields MUST be UTF-8 encoded now. Updated
4597 the protocol specs and the code. Affected file is
4598 lib/silccrypt/silcpkcs.c.
4600 Sun Apr 21 19:44:38 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4602 * Disconnect Payload includes now the status type. Updated
4603 the protocol specs and the code. Protocol TODO #25.
4604 Affected files are silcd/server.c, lib/silcclient/client.c.
4606 * Added NOT_AUTHENTICATED, BAD_SERVER_ID, INCOMPLETE_INFORMATION,
4607 KEY_EXCHANGE_FAILED and BAD_VERSION error status types.
4608 Moved the silc_client_command_status_messages table to the
4609 lib/silcutil/silcutil.c and added new funtion
4610 silc_get_status_message, which deprecates function
4611 silc_client_status_message. Affected files are
4612 lib/silccore/silcstatus.h, lib/silcclient/command_reply.[ch],
4613 lib/silcutil/silcutil.[ch].
4615 Fri Apr 19 17:35:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4617 * Defined that the nickname hash in Client ID MUST be from
4618 lowercase nickname. This effectively changes nicknames in
4619 SILC to case-insensitive. Updated the protocol specs and
4620 the code. Affected files are lib/silcutil/silcutil.[ch],
4621 silcd/serverid.c, and silcd/idlist.c.
4623 * Added new channel user modes BLOCK_MESSAGES_USERS and
4624 BLOCK_MESSAGES_ROBOTS. Updated the protocol specs and the
4625 code. Affected files are lib/silccore/silcmode.h,
4626 lib/silcclient/command.c, and silcd/packet_send.c.
4628 * Added new error status ERR_RESOURCE_LIMIT. Updated protocol
4629 specs and code. Affected file lib/silccore/silcstatus.h.
4631 * Added support for watch list. It is possible to add nicknames
4632 to be watched, and when they come to network, leave network
4633 or user mode changes the watcher will be notified of this
4634 change. Added SILC_COMMAND_WATCH command, added new
4635 notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch
4636 notifications. Updated the protocol specs and implemented
4637 this to library, client and server. Protocol TODO #21.
4638 Affected files are lib/silccore/silccomand.h,
4639 lib/silccore/silcnotify.h, lib/silcclient/command[_reply].[ch],
4640 silcd/command[_reply].[ch], lib/silcclient/client_notify.c,
4641 silcd/packet_send.[ch], silcd/packet_receive.c, and
4642 irssi/src/silc/core/client_ops.c.
4644 * Added user mode SILC_UMODE_REJECT_WATCHING to reject
4645 somebody watching you. Updated the protocol specs and the
4646 code. Affected files are lib/silccore/silcmode.h, and
4647 lib/silcclient/command.c.
4649 Fri Apr 19 09:02:20 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4651 * Added service support to SILC protocol. Added new command
4652 SILC_COMMAND_SERVICE. Updated the protocol specs and the
4653 core library. Services are not implemented in server or
4654 client for now. Protocol TODO #20. Affected files are
4655 lib/silccore/silcstatus.h, lib/silccore/silccommand.h.
4657 * Added SilcStatus argument to `command' client operation
4658 to return the error status when command sending fails
4659 locally. Changed all command in client library to return
4660 correct command status. Affected files are
4661 lib/silcclient/command.c, lib/silcclient/silcclient.h and
4662 irssi/src/silc/core/client_ops.c.
4664 Thu Apr 18 14:09:51 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4666 * Added silc_mime_parse function to parse MIME headers.
4667 Affected files are lib/silcutil/silcstruti.[ch].
4669 * Added MIME header parsing in Irssi SILC Client. It displays
4670 all textual MIME objects, others it ignores. Affected file
4671 is irssi/src/silc/core/clien_ops.c.
4673 Wed Apr 17 22:07:59 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4675 * Fixed a bug in the pid writing function, which couldn't be
4676 written in a root-owned directory.
4678 Tue Apr 16 09:34:40 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4680 * Defined that channel message to unknown Channel ID must
4681 cause SILC_NOTIFY_TYPE_ERROR notify message to the sender.
4682 Updated the protocol specs and the code in server. The
4683 affected file is silcd/packet_receive.c.
4685 Mon Apr 15 19:57:57 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4687 * Added new notify type SILC_NOTIFY_TYPE_ERROR and specified
4688 that it is used to send error notifys if error occurs during
4689 some SILC packet processing, except commands. The error
4690 types are same as for command reply types. Defined that
4691 if private message is sent to unknown Client ID the error
4692 is sent in SILC_NOTIFY_TYPE_ERROR instead of command reply.
4693 Updated the protocol specs and code. Affected files are
4694 lib/silccore/silcnotify.h, added lib/silccore/silcstatus.h,
4695 lib/silcclient/client_notify.c, silcd/packet_receive.c,
4696 and irssi/src/silc/core/client_ops.c. Renamed the
4697 SilcCommandStatus to SilcStatus.
4699 * Defined the use of extra WHOIS attributes in WHOIS command.
4700 The <Requested Attributes> (defined in a separate document)
4701 can be used to request additional information about user
4702 not returned by standard WHOIS command. Defined that server
4703 can send WHOIS command directly to client. Client provides
4704 the requested attributes to the server. Updated the protocol
4705 specs. Protocol TODO #4. Implementation is not done yet
4706 (Protocol TODO #24).
4708 * Renamed function silc_client_command_status_message to
4709 silc_client_status_message. Affected files are
4710 lib/silcclient/command_reply.[ch].
4712 Sun Apr 14 21:13:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4714 * Changed the WHOIS, IDENTIFY and WHOWAS count arguments to
4715 32 bit integers. Updated the protcol specs and the code.
4716 Affected files are silcd/command.c and
4717 lib/silcclient/command.c.
4719 Sun Apr 14 19:49:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4721 * Fixed a bug in library where sending a bogus authentication
4722 payload would lead to a crash. Affected file is
4723 lib/silccore/silcauth.c.
4725 Sat Apr 13 13:09:24 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4727 * Added detach_disabled and detach_timeout server config
4728 options to the server. Affected files silcd/serverconfig.[ch],
4729 silcd/command.c and silcd/packet_receive.c.
4731 Fri Apr 12 20:09:08 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4733 * Added resolve_cmd_ident field to the SilcClientEntry structure
4734 too so that if the entry is for example being resolved so
4735 another command may attach to the same pending command reply
4736 without requiring to resolve the same entry again. Added
4737 support for adding multiple pending commands for one
4738 command idenfier. Affected files lib/silcclient/command.[ch],
4739 lib/silcclient/command_reply.[ch], lib/silcclient/idlist.h.
4741 Fri Apr 12 10:17:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4743 * Defined that server receives WHOIS command reply for private
4744 and secret channels too. Updated protocol specs and the
4745 code in server. Affected file silcd/command.c.
4747 * Defined <channel user mode list> argument to WHOIS command
4748 reply for returning user modes on the channels. The
4749 channel list now doesn't include the user mode anymore but the
4750 actual channel mode. Updated protocol specs and the code in
4751 client and server. Affected files are silcd/command_reply.c,
4752 silcd/command.c, silcd/server.c, irssi/src/silc/core/client_ops.c,
4753 and lib/silcclient/command_reply.c.
4755 * Save the channels list in WHOIS command reply in normal server
4756 so that WHOIS always shows joined channels also in normal
4757 server and not just on router. Affected file is
4758 silcd/command_reply.c.
4760 Thu Apr 11 22:29:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4762 * Defined that server receives USERS command reply for private
4763 and secret channels too. Updated protocol specs and the
4764 code in server. Affected file silcd/command.c.
4766 Thu Apr 11 16:32:08 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4768 * Changed the UMODE's mode mask argument to be optional. If
4769 not provided then the command merely returns the current mode
4770 mask to the client. Updated protocol specs and the server.
4771 Affected file is silcd/command.c.
4773 * Added SILC session detachment/resuming support. It is possible
4774 to detach by closing the network connection and then re-connect
4775 and resume to the old client session. Added DETACHED user
4776 mode that server will set for detached client. Added new
4777 packet RESUME_CLIENT which is used to perform the resuming
4778 process. Added DETACH command. Updated the protocol specs,
4779 core library, client and server. Protocol TODO #22. Very
4780 many affected files around the tree.
4782 Wed Apr 10 16:32:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4784 * Changed the CMODE's mode mask argument to be optional. If
4785 not provided then the command merely returns the current mode
4786 mask to the client. Updated protocol specs and the server.
4787 Affected file is silcd/command.c.
4789 * Changed the Killer's Client ID in KILLED notify to be just
4790 any ID payload since router server is allowed to kill as well.
4791 Updated protocol specs, client libary and server. Affected
4792 files are lib/silcclient/client_notify.c, silcd/packet_receive.c,
4793 and irssi/src/silc/core/client_ops.c.
4795 Tue Apr 9 17:15:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4797 * Added new user modes ANONYMOUS for special anonymous servers
4798 that may set the mode for client, and BLOCK_PRIVMSG which
4799 client may set to block incoming private messages unless the
4800 Private Message Key flag is set (using private keys to protect
4801 private messages). Updated protocol specs and code in client
4802 and server and core library. Protocol TODO #23. Affected
4803 files are lib/silccore/silcmode.h, silcd/server.[ch],
4804 irssi/src/silc/core/client_ops.c, silcd/packet_receive.c,
4805 irssi/docs/help/in/umode.in, lib/silcclient/command.c.
4807 * Added new channel user mode BLOCK_MESSAGES which the client
4808 may set to itself to tell server not send channel messages.
4809 Other packets such as channel key packets are still sent.
4810 Protocol TODO #23. Updated the protocol specs, client and
4811 server. Affected files are lib/silccore/silcmode.h,
4812 irssi/docs/help/in/cumode.in, lib/silcclient/command.c,
4813 lib/silcutil/silcutil.c, silcd/command.c, and
4814 silcd/packet_send.c.
4816 Mon Apr 8 23:57:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4818 * Redefined the Status Payload to include now two 8 bit fields,
4819 instead of one 16 bit field. This now makes it possible to
4820 send list of errors. Updated the protocol specs and the code
4821 in core library, client library and server. Protocol TODO #1.
4822 Affected files are lib/silccore/silccommand.[ch],
4823 lib/silcclient/command_reply.[ch], silcd/command.c,
4824 silcd/command_reply.c and silcd/packet_receive.[ch].
4826 Mon Apr 8 19:57:40 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4828 * Added config parse status SILC_CONFIG_EPRINTLINE, this status
4829 must be handled by the application and should tell the application
4830 that an error message was already printed, and it should print the
4831 config coords (line, filename, ...). Affected files are
4832 silcd/serverconfig.c, lib/silcutil/silcconfig.[ch].
4834 * Added local macro SILC_SERVER_CONFIG_ALLOCTMP to make the
4835 server config parsing code more readable.
4837 Fixed a bug in the fetch_logging() config callback.
4839 Affected files is silcd/serverconfig.c.
4841 * Drop root privileges when started in foreground. Don't drop them
4842 if debugging also. Affected file is silcd/silcd.c.
4844 Mon Apr 8 17:00:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4846 * Added more IM-like features by introducing new user modes
4847 for setting various presence information. Added new modes:
4848 INDISPOSED, BUSY, PAGE, HYPER and ROBOT. Updated protocol
4849 specs and code. Protocol TODO #19. Affected files are
4850 lib/silccore/silcmode.h, irssi/src/silc/core/client_ops.c,
4851 irssi/docs/help/in/umode.in and lib/silcclient/command.c.
4853 Sun Apr 7 17:07:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4855 * Added STATS command to the protocol after all, to return
4856 various statistical information about the network. It can
4857 be used by clients to retrieve statistical information, and
4858 servers may use it to to fetch cell and network wide
4859 statistics from router. Updated the protocol specs and
4860 implemented it to the server. Protocol TODO #16.
4861 Affected files are lib/silccore/silccommand, silcd/command.[ch],
4862 silcd/command_reply.[ch].
4864 Sat Apr 6 17:08:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4866 * The LIST command reply in client libary now adds new channel
4867 entry if the returned channel doesn't exist yet in cache,
4868 and returns the channel entry to the application in the
4869 command_reply client operation. Affected file is
4870 lib/silcclient/command_reply.c.
4872 * Changed the channel message payload's MAC generation to
4873 include the IV in the MAC as well. This way all relevant
4874 parts of the channel message payload are authenticated also
4875 with the channel message MAC (and not only by packet MAC).
4876 Causes incompatibility with 1.0 protocol. Protocol TODO #7.
4877 Affected file is lib/silccore/silcchannel.c.
4879 * Fixed the SKE to save the remote version, since the
4880 silc_ske_parse_version mistakenly checked wrong version,
4881 after it replaced the start payload. Affected files are
4882 lib/silcske/silcske.[ch].
4884 Fri Apr 5 16:03:03 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4886 * Splitted lib/silcutil/silcutil.h into silcstrutil.h for
4887 string utility functions. Added there also new functions
4888 silc_utf8_[encode/decode/valid] for UTF-8 string encoding.
4889 Affected files lib/silcutil/silcstrutil.[ch].
4891 * Renamed silc_*_pem functions to silc_pem_* functions. Affected
4892 files are lib/silcutil/silcstrutil.[ch].
4894 * Defined that the security property fields in SKE SHOULD be
4895 UTF-8 encoded, defined that version string MUST be US-ASCII
4896 encoded, defined that passphrases sent in connection
4897 authentication protocol MUST be UTF-8 encoded. Implemented
4898 these to the client and server. Defined also that other
4899 passphrases sent in the protocol MUST be UTF-8 encoded.
4900 Affected files are lib/silcske/silcske.c,
4901 lib/silcclient/protocol.c, silcd/protocol.c,
4902 silcd/serverconfig.c, and lib/silccore/silcauth.c.
4904 * Changed the silc_client_close_connection interface to not
4905 need the SilcSocketConnection which should not be visible
4906 to application. Affected files are lib/silcclient/client.c
4907 and lib/silcclient/silcclient.h.
4909 * Rewrote the text for Private Message Key Payload in the
4910 protocol specification. Protocol TODO #11.
4912 Wed Apr 3 16:24:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4914 * Upgraded the protocol version to 1.1, updated protocol specs
4917 * Added the nickname as new argument to NICK_CHANGE notify and
4918 added it to protocol specs and implemented it to client and
4919 server. Protocol TODO #3. Affected files are silcd/idlist.[ch],
4920 silcd/command.c, silcd/packet_receive.c, packet_send.[ch], and
4921 lib/silcclient/client_notify.c.
4923 * Added the killer's client ID to the KILLED notify and added
4924 it to protocol specs and implemented it to client and server.
4925 Protocol TODO #13. Affected files are silcd/command.c,
4926 silcd/packet_receive.c, packet_send.[ch],
4927 lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4928 The killer's client entry is now returned to application in
4929 the `notify' client operation.
4931 * Fixed the Max Argument fields that had too large value set
4932 in the protocol specs. Protocol TODO #14.
4934 * Added the LEAVE command reply to return the ID of parted
4935 channel. Updated protocol specs and implemented it to the
4936 client and server. Protocol TODO #15. Affected files are
4937 silcd/command.c, lib/silcclient/command_reply.c. The channel
4938 entry is now returned to application in the `command_reply'
4941 * Rewrote the version SKE version checking in client libary
4942 and in server to use the silc_parse_version_string. Affected
4943 files are lib/silcclient/protocol.c, silcd/protocol.c.
4945 * Added SILC_STATUS_ERR_NO_CHANNEL_FOPRIV error status to few
4946 commands that was missing it, and updated protocol specs and
4947 the server implementation. Protocol TODO #10. The affected
4948 file is silcd/command.c.
4950 * Defined new message flags SILC_MESSAGE_FLAG_REPLY to be
4951 generic reply to a generic request (REQUEST flag), and
4952 SILC_MESSAGE_FLAG_DATA to send any kind of data in a generic
4953 way. A draft-riikonen-silc-flags-payloads-00.txt is written
4954 to define the payload for DATA flag. Added the flags to
4955 the implementation. Protocol TODO #9. Affected file is
4956 lib/silccore/silcchannel.h.
4958 Changed the client library to return the message length
4959 to application as well in the channel_message and private_message
4960 client operations. Affected files are
4961 lib/silcclient/client_prvmsg, lib/silcclient/client_channel.c,
4962 lib/silcclient/silcclient.h, irssi/src/silc/core/client_ops.c,
4963 and lib/silcclient/client_ops_example.c.
4965 * Added two new channel modes: SILC_CMODE_SILENCE_USERS
4966 and SILC_CMODE_SILENCE_OPERS which can be used to moderate
4967 the channel. Updated protocol specs and impelemented this
4968 to client and server. Protocol TODO #6. Affected files are
4969 silcd/packet_receive.c, server_util.c, lib/silcclient/command.c,
4970 lib/silcclient/client_channel.c, lib/silccore/silcmode.h.
4972 Added new options m and M to CMODE command in Irssi SILC
4973 client to set these modes.
4975 * Deprecated all administrative commands from SILC protocol
4976 since they are highly implementation specific commands.
4977 Updated protocol specs. Moved the old commands in
4978 implementations to private range of command types. Affected
4979 files are silcd/command.c, lib/silcclient/command.c and
4980 lib/silcclient/command_reply.c. Protocol TODO #8.
4982 * Fixed a bug in server where sending unknown command crashes
4983 the server. Affected file silcd/command.c.
4985 Wed Apr 3 09:57:47 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4987 * Added SILC_PROTOCOLVERSION macro to check protocol version
4988 of a socket connection. The affected file is
4989 lib/silcutil/silcsockconn.h.
4991 * Added better error logging in rekey protocol. Affected file
4994 * Do not check public key types in SKE during rekey. Affected
4995 file lib/silcske/payload.c.
4997 * Fixed the rekey protocol with PFS, which was totally broken.
4998 Affected file silcd/protocol.c.
5000 Tue Apr 2 14:55:06 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
5002 * Some client implementations quit network by doing first LEAVE
5003 and then immediately SIGNOFF (like Bombyx). We now do check
5004 after a short time after LEAVE notify and check whether the
5005 client is still valid after LEAVE, and if not we remove it from
5006 cache. Affected file is lib/silcclient/client_notify.c.
5008 Tue Apr 2 13:39:04 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
5010 * Merged version 1.1.4 of zlib. Even if it not currently in use,
5011 it's good not to have security holes here.
5013 * Fixed a negative refcount situtuation for the config context.
5014 Affected file is silcd/serverconfig.c.
5016 Mon Apr 1 20:15:10 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
5018 * ROBOdoc documented lib/silcutil/silcutil.h.
5020 Sat Mar 30 21:06:45 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5022 * Optimized even more the SilcPacketContext structure. Now
5023 totally saved 16 bytes of memory per context after optimization.
5024 Affected files are lib/silccore/silcpacket.[ch].
5026 * Made strict checks for valid SILC IDs. Affected file is
5027 lib/silccore/silcid.c.
5029 Sat Mar 30 18:15:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5031 * Changed the object argument for silc_cipher_register,
5032 silc_hash_register, silc_hmac_register and silc_pkcs_register
5033 to const. Affected files are lib/silccrypt/silccipher.[ch],
5034 silchash.[ch], silchmac.[ch] and silcpkcs.[ch].
5036 * Changed the silc_get_username and silc_get_real_name to
5037 never fail. Affected file lib/silcutil/unix/silcunixutil.c.
5039 * Fixed the Irssi SILC Client to use the silc_get_username and
5040 silc_get_real_name insted of glib routines since the glib
5041 routines only corrupt stack. Fixes the Irssi SILC to work in
5042 Cygwin. Affected file irssi/src/silc/core/silc-core.c.
5044 * Fixed the Irssi to not use g_get_home_dir since it crashes
5045 or returns garbage on cygwin and corrupts stack. Added function
5046 get_home_dir to Irssi routines. Affected files are
5047 irssi/src/core/misc.[ch] and irssi/src/core/core.c.
5049 Fri Mar 29 21:55:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5051 * Made some structure optimizations. SFTP memory FS MemFSEntry
5052 entry structure. Optimized SilcTask structure. Optimized
5053 SilcPacketContext structure.
5055 Affected files lib/silcsftp/sftp_fs_memory.c,
5056 lib/silcutil/silcschedule.c, lib/silccore/silcpacket.h.
5058 Fri Mar 29 10:41:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5060 * And yet again reverted back the config thing since Johnny
5061 screwed it up. Affected file silcd/serverconfig.[ch], server.c,
5064 * Fixed memory leaks from config object. Affected files are
5065 silcd/serverconfig.[ch].
5067 * Added support for adding new connections to the server in rehash.
5068 After rehash they take effect.
5070 Added support for changing the maximum allowed connections in
5071 rehash. The number can grow but going smaller is not supported.
5073 Added function silc_server_num_sockets_by_remote to the
5074 silcd/server_util.[ch].
5076 Affected files are silcd/server.c, and silcd/serverconfig.[ch].
5078 Fri Mar 29 03:26:12 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5080 * Added preliminary checking during config parsing for a valid
5081 public/private key and removed further checks in the code.
5082 Affected files are silcd/serverconfig.[ch], server.c.
5084 * Moved functions silc_server_drop() and silc_server_daemonise()
5085 from server.c to silcd.c since they are stricly related to
5086 the application activity.
5088 * Reverted a small part of the automatic ref/unref since
5089 it caused a double unref in some situations. Affected
5090 files are silcd/silcd.[ch], server.c, serverconfig.c.
5092 * Added some .cvsignore files in the lib directory.
5094 Thu Mar 28 22:51:15 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5096 * Fixed silc_net_gethostbyaddr to correctly resolve by
5097 address. Affected file lib/silcutil/silcnet.c.
5099 * Fixed the notify relaying to client. The HMAC to be used
5100 with relayed packets ws wrong and caused decryption failure
5101 at the client end. Affected file is silcd/packet_receive.c.
5103 Thu Mar 28 19:02:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5105 * Created new branch silc_protocol_1_0_branch.
5107 * Reverted the silc_log_quick change in lib/silcutil/silclog.c.
5109 * Changed the silc_server_config_* routines to be SilcServer
5110 independent. They are now officially application specific code
5111 and not part of generic server implementation. Affected files
5112 are silcd/serverconfig.[ch], silcd/silcd.c, silcd/server.c.
5114 Thu Mar 28 17:01:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5116 * Added automatic referencing of config context in the
5117 silc_server_config_alloc, and automatic unreferencing in the
5118 silc_server_config_destroy. Affected files are
5119 silcd/serverconfig.[ch], silcd/silcd.c.
5121 * Fixed the silc_log_quick handling in the logging routines.
5122 It didn't log quickly when it was TRUE. Affected file is
5123 lib/silcutil/silclog.c. Also the flush delay was set even
5124 if it was 0 in config file. Affected file is
5125 silcd/serverconfig.c.
5127 * Added support for changing key pair of the server in rehash.
5128 Affected file silcd/server.c.
5130 Thu Mar 28 12:17:21 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5132 * Fixed the TOPIC_SET notify to not cras. It changed the topic
5133 too early, before getting the channel entry. Affected file
5134 is silcd/packet_receive.c.
5136 Thu Mar 28 09:58:16 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5138 * Added functions silc_server_config_[ref/unref], these are used
5139 to prevent that the config object is destroyed.
5141 No longer directly affect global variables silc_log_quick and
5142 silc_log_delay, they are first cached inside the config object
5143 and then applied with silc_server_config_setlogfiles().
5145 silc_server_config_set_defaults() is now internal to
5146 serverconfig.c, there are no reasons to show this internal stuff
5149 Affected files are silcd/serverconfig.[ch].
5151 * Added macro SILC_SERVER_LOG_STDERR(), this should replace most
5152 fprintf's to stderr, since some code may be executed again after
5153 the server went into the background. Affected files are
5156 * Added rehash support. Added function silc_server_rehash() that
5157 will perform all the basic tasks of the rehashing procedure.
5159 * Added command line option `-x, --hexdump'. This will enable the
5160 SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'.
5161 The option `--hexdump' implies `--debug'.
5163 * Fixed a bad bug in the logging APIs (silcutil library) where
5164 the application would crash after calling silc_log_reset_all().
5166 Wed Mar 27 19:43:16 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5168 * Fixed the KICKED notify handling in client library to
5169 correctly remove the channel and all entries from the
5170 channel when I was kicked. This bug crashed the client.
5172 Fixed yet another but in KICKED notify handling to remove
5173 the kicked client correctly from the channel.
5175 Affected file is lib/silcclient/client_notify.c.
5177 * Fixed a minor bug in looking up correct client entry
5178 in KICKED notify in server. Affected file is
5179 silcd/packet_receive.c.
5181 * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP
5182 sources correctly to distribution. Fixes --with-gmp option.
5184 * Removed the manual rehashing from ID Cache, and changed it
5185 to use the SILC Hash Table's auto rehash feature. Affected
5186 file is lib/silccore/silcidcache.c.
5188 Wed Mar 27 00:07:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5190 * Fixed a bug in the silc_client_nickname_format function that
5191 handles the multiple same nickname formatting. Two clients
5192 with same nickname caused problems after the first one left
5193 and rejoined. It didn't format the nickname correctly.
5194 Affected file is lib/silcclient/idlist.c.
5196 Tue Mar 26 19:33:03 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5198 * Don't change the topic if olod topic is same as new one.
5199 Affected file is silcd/packet_receive.c.
5201 Mon Mar 25 21:11:35 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5203 * Added cross-reference support to the SILC Documentation
5204 generator. All types across all HTML files are now cross-
5205 referenced. Affected files util/robodoc/generator.c and
5206 scripts/silcdoc/silcdoc.
5208 * Added file lib/silcutil/silctypes.h to include all the
5209 arithmetic type definitions and some macros. Removed
5210 includes/bitmove.h and moved macros to silctypes.h.
5212 Mon Mar 25 17:19:46 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5214 * Merged bugfixes for Irssi SILC client from irssi.org CVS.
5216 Sun Mar 24 11:21:04 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5218 * Added `type' argument to silc_id_payload_parse_id function which
5219 now returns the type of the ID to the sent pointer. Affected
5220 file is lib/silccore/silcid.[ch].
5222 * Added check for CMODE_CHANGE notify type that mode change is
5223 allowed by the sender. Affected file silcd/packet_receive.c.
5225 * Added check for CUMODE_CHANGE notify type that mode change is
5226 allowed by the sender. Affected file silcd/packet_receive.c.
5227 Added the ID type as CUMODE_CHANGE notify type as argument
5228 to the `notify' client operation. Affected files are
5229 lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
5231 * Added function silc_client_add_server to the client library.
5232 Added support for resolving also channel and server info when
5233 received unknown entity in notify packet. Affected files are
5234 lib/silcclient/idlist.[ch], lib/silcclient/client_notify.c.
5236 * Added function silc_command_get_status to return the command
5237 status from the command reply's argument payload. Affected files
5238 are lib/silccore/silccommand.[ch].
5240 * Added check for KICKED notify type that the kicking is
5241 allowed by the client. Affected file silcd/packet_receive.c.
5243 * Created function silc_get_input which can be used to get input
5244 (echo on or off) from user on command line. Affected files are
5245 lib/silcutil/silcutil.[ch].
5247 Sat Mar 23 09:51:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5249 * Optimized silc_server_packet_relay_to_channel function.
5250 Added new function silc_channel_message_payload_encrypt which
5251 can be called directly if channel message payload needs to
5252 be encrypted and is already encoded (no need to call _encode
5253 function). Packet relaying is now done by router without any
5254 extra memory allocations. Affected files are
5255 lib/silccore/silcchanel.[ch], silcd/packet_receive.c and
5256 silcd/packet_send.c.
5258 * Fixed the INVITE notify handling. It took wrong arguments
5259 as invite list and invite delete. Affected file is
5260 silcd/packet_receive.c.
5262 * Added check for TOPIC_SET notify type that the topic change is
5263 allowed by the client. Affected file silcd/packet_receive.c.
5265 * Added check for INVITE notify type that inviting is allowed by
5266 the client. Affected file silcd/packet_receive.c.
5268 * Changed the silc_server_client_on_channel to return the
5269 SilcChannelClientEntry as well. Moved the function
5270 silc_server_check_cmode_rights to server_util.[ch].
5271 Affected files are silcd/server_util.[ch], silcd/command.c.
5273 * Added function silc_server_check_umode_rights to check whether
5274 changing client's user mode is allowed. Added check for
5275 UMODE_CHANGE notify type that the umode change is allowed
5276 by the client. Affected files are silcd/server_util.[ch],
5277 silcd/packet_receive.c and silcd/command.c.
5279 Fri Mar 22 12:25:58 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5281 * Fixed the SILC_PACKET_MAX_ID_LEN to actually be the max
5282 ID length. It ignored that ID can be IPv6 based as well.
5283 Affected file lib/silccore/silcpacket.h.
5285 * Fixed the silc_id_id2str and silc_id_str2id to take the
5286 IPv6 address offset's into consideration. Affecte file is
5287 lib/silccore/silcid.c.
5289 Thu Mar 21 20:44:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5291 * Fixed the internal Unix scheduler functions to check for
5292 NULL context they may receive. The affected file is
5293 lib/silcutil/unix/silcunixschedule.c.
5295 Thu Mar 21 19:12:22 EET 2002 Timo Sirainen <tss@iki.fi>
5297 * Changed hardcoded ~/.silc paths to use get_irssi_dir() so you
5298 can specify different directory with --home command line
5299 parameter. Affected files irssi/src/silc/core/client_ops.c,
5302 * SILC-specific commands aren't now executed if the active server
5303 isn't of SILC-type, so there won't be problems with having
5304 IRC and SILC protocol support in same client. Affected files
5305 irssi/src/silc/core/silc-channels.c, silc-servers.c,
5308 Wed Mar 20 11:06:57 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5310 * Improved the signal support in SILC Schedule. Added new
5311 function silc_schedule_signal_call which is used by application
5312 to mark a signal to be called. It is now safe to perform
5313 any kind of tasks in signal callbacks since it is guaranteed
5314 that the application specified signal callback is called
5315 after the signal is over. Affected files are
5316 lib/silcutil/silcschedule.[ch], lib/silcutil/*/silc*schedule.c.
5318 Tue Mar 19 20:42:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5320 * Added `name' field to SilcChannelPrivateKey to represent
5321 application given name for the key. Moved also the context from
5322 lib/silcclient/idlist.h into lib/silcclient/silcclient.h.
5323 Added the `name' argument also to the function
5324 silc_client_add_channel_private_key.
5326 Added function silc_client_current_channel_private_key to set the
5327 current channel private key in use.
5329 Added "change" command to KEY command which can be used to change
5330 the current channel private key. Bound the command also to
5331 alt+K (Alt+Shift+k).
5333 Also affected files lib/silcclient/client_channel.c,
5334 irssi/src/docs/help/in/key.in, irssi/src/silc/core/silc-channel.c.
5336 Tue Mar 19 16:32:43 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5338 * Added silc_rng_get_byte_fast function in to the
5339 lib/silccrypt/silcrng.[ch].
5341 * Changed the interface of silc_packet_assemble and the
5342 silc_packet_send_prepare. If silc_packet_assmble is now
5343 called the application does not call silc_packet_send_prepare
5344 because the library will call it automatically. These
5345 interfaces now also return a reference to the outgoing buffer
5346 which includes the assembled packet, which the application can
5347 use to encrypt the packet.
5349 Affected files are lib/silccore/silcpacket.[ch],
5350 lib/silcclient/client.c, client_channel.c client_prvmsg.c,
5351 silcd/packet_send.c, server_backup.c and packet_receive.c.
5353 * Fixed a packet sending bug on very high load, where outgoing
5354 packet queue wasn't handled correctly and packets got corrupted.
5355 Affected files are lib/silcutil/*/silc*sockconn.c,
5356 lib/silcclient/client.c and silcd/server.c.
5358 Mon Mar 18 21:00:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5360 * Added macro SILC_PACKET_DATALEN which can be used during
5361 packet assembling to check whether the data to be added to
5362 the packet will fit to SILC_PACKET_MAX_LEN. If not the data
5363 len is truncated until it fits it.
5365 Added checks for maximum length of channel message payload and
5366 private message payload also.
5368 Added checks for maximum packet length in server and in
5371 Affected files are lib/silccore/silcpacket.h, silcd/packet_send.c,
5372 lib/silcclient/client.c, lib/silccore/silcchannel.c and
5373 lib/silccore/silcprivate.c, lib/silcclient/client_channel.c and
5374 lib/silcclient/client_prvmsg.c.
5376 Mon Mar 18 14:54:42 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5378 * Added silc_server_packet_queue_purge call to the
5379 silc_server_disconnect_remote to assure that all data in the
5380 queue before disconnecting is sent to the network. Affected
5381 file silcd/server.c.
5383 Sun Mar 17 19:26:16 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5385 * Added the deleting of server's own ID cache entry to the
5386 silc_server_free function. Free also everything else that
5387 has been allocated in silc_server_init. The affected file
5390 Sun Mar 17 15:44:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5392 * Added functions silc_parse_version_string, silc_version_to_num,
5393 and silc_ske_parse_version to parse SILC protocol style version
5394 strings. Affected files lib/silcutil/silcutil.[ch] and
5395 lib/silcske/silcske.[ch].
5397 * Added new configuration params: version_protocol, version_software
5398 and version_software_vendor to specify what version the remote
5399 host must at least be to be able to connect to server. The vendor
5400 string can be regex matched too. Added new function
5401 silc_server_connection_allowed to check maximum number of allowed
5402 connections, and allowed versions for incoming connections.
5403 Affected files are silcd/server.c, server_util.[ch] and
5406 Sun Mar 17 10:24:50 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5408 * Added preliminary support for signals in scheduler. The
5409 signals we care about are now blocked always when the scheduler
5410 is locked. This way we can synchronise the use of signal with
5411 scheduler. It is guaranteed that when signal occurs the scheduler
5412 is not locked, and thus new tasks can be safely added to the
5415 Renamed silc_schedule_wakeup_init and silc_schedule_wakeup_uninit
5416 to silc_schedule_internal_init and silc_schedule_internal_uninit.
5417 Added new platform specific routines
5418 silc_schedule_internal_signals_[un]block and
5419 silc_schedule_internal_signal_[un]register.
5421 Added new functions to SILC Schedule API:
5422 silc_schedule_signal_[un]register. Each signal that application
5423 is going to use should be registered to the scheduler.
5425 Affected files are lib/silcutil/silcschedule.[ch],
5426 lib/silcutil/*/silc*schedule.c.
5428 Sat Mar 16 22:39:23 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5430 * Check for unauthenticated client and server in the
5431 silc_server_new_client and silc_server_new_server functions.
5432 Affected file silcd/packet_receive.c.
5434 * Added function silc_string_is_ascii to check whether given
5435 string is 7-bit ASCII string. Affected files are
5436 lib/silcutil/silcutil.[ch].
5438 * Added function silc_id_is_valid_server_id into the
5439 silcd/serverid.c and added checking for valid Server ID's in
5440 silc_server_new_server. The Server ID must always be based
5441 on the server's public IP address.
5443 * Added logging of DISCONNECT packet message in the server.
5444 Affected file silcd/server.c.
5446 Sat Mar 16 18:04:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5448 * Changed all library interfaces that use Global RNG to also
5449 accept SilcRng as argument. Affected files are
5450 lib/silcclient/command.c, lib/silccore/silcauth.[ch],
5451 lib/silccore/silcchanel.[ch], lib/silcclient/client_channel.c,
5452 silcd/packet_send.c, lib/silccore/silcprivate.[ch],
5453 lib/silcmath/silcprimegen.c, lib/silcmath/silcmath.h, and
5454 lib/silccrypt/rsa.c.
5456 * Added function silc_pkcs_generate_key to the
5457 lib/silccrypt/silcpkcs.[ch] for applications so that they
5458 don't need to do pkcs->pkcs->init calls anymore.
5460 * Remove SilcSocketConnection from the SFTP API since it really
5461 wasn't needed there. The application has the information
5462 saved in its contexts anyway and the SFTP layer doesn't need
5463 know about it. Affected files lib/silcsft/silcsftp.h and
5464 lib/silcsftp/sftp_[server/client].c.
5466 * Rewrote the SILC SIM (modules) interface in lib/silcsim.[ch].
5467 The SilcSimContext is not SilcSim.
5469 * Fixed possible buffer overflows in silc_id_render in the
5470 lib/silcutil/silcutil.c.
5472 * On EPOC the global crypto module lists are not used at all
5473 in the crypto library. Added support for using the constant
5474 algorithm list on EPOC. Affected files are
5475 lib/silccrypt/silccipher.c, silchash.c, silchmac.c and
5478 * Fixed the handling of third parameter of KICKED notify, since
5479 it was mistakenly updated to SILC Protocol 1.0 even though it
5480 is to be included in 1.1. Since it is not in 1.0 it is not
5481 mandatory, and this fix now handles it only if it is provided,
5482 and it is not error if it is not provided. Affected file
5483 lib/silcclient/client_notify.c.
5485 Sat Mar 16 09:07:27 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5487 * Handled CHANNEL_CHANGE notify (ignore it) in Irssi SILC
5488 client. Affected file irssi/src/silc/core/client_ops.c.
5490 * Merged with Irssi 0.8.4 from irssi.org CVS.
5492 Thu Mar 14 12:53:57 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5494 * Check for valid socket connection in client entries before
5495 sending any messages. Fixes a crash, but doesn't fix some
5496 other underlaying bug that is lurking there. Affected
5497 file silcd/packet_send.c.
5499 Thu Mar 14 13:38:12 EET 2002 Timo Sirainen <tss@iki.fi>
5501 * $usermode, $cumode and $cumode_space expandos shouldn't do
5502 anything with non-SILC server records. Affected file
5503 irssi/src/silc/core/silc-expandos.c
5505 Wed Mar 13 21:38:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5507 * Fixed the silc_net_check_[host/local]_by_sock to support
5508 IPv6 bound sockets as well. Now they can return IPv6 addresses
5509 as well. Affected file lib/silcutil/silcnet.c.
5511 * Fixed silc_net_addr2bin to correctly convert IPv6 addresses.
5512 Affected lib/silcutil/unix/silcunixnet.c.
5514 * Fixed ID rendering (at least on some platforms, not NetBSD)
5515 for IPv6 addresses. Affected file lib/silcutil/silcutil.c.
5517 Tue Mar 12 17:58:59 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5519 * Added silc_hash_public_key and silc_hash_public_key_compare
5520 functions to be used with SilcHashTable. They can be used to
5521 hash public keys and compare public keys in hash table. Affected
5522 file lib/silcutil/silcutil.[ch].
5524 * Added support for specifying multiple public keys for Client
5525 connection section in server configuration file. This makes it
5526 possible to accept multiple public keys from same host, or to
5527 make a section that accepts any incoming host, and have the
5528 accepted public keys listed in the section.
5530 Added functions silc_sever_[find/get]_public_key, added the
5531 support for this actually to all connection sections but only
5532 the Client section is currently allowed to specify multiple
5535 Affected files are silcd/server.c, server_internal.h,
5536 command.c, protocol.c, server_util.[ch], packet_receive.c.
5538 Mon Mar 11 23:37:38 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5540 * Merged Irssi 0.8.2 from irssi.org CVS.
5542 Sun Mar 10 23:34:48 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5544 * If silc_debug is TRUE, also output standard logging messages
5545 to stderr with the debug output.
5547 Made silc_log_reset_all() flushing all channels before returning.
5548 Also fixed some documentation typos.
5550 Affected files are lib/silcutil/silclog.[ch].
5552 Sun Mar 10 20:07:49 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5554 * Fixed the server to check correctly the amount of connections
5555 from single host, by checking also the type of the connection.
5556 Fixed also the comparison of number of connections and number
5557 of allowed connections. Affected files are silcd/server.c,
5560 Fri Mar 8 17:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5562 * Fixed the USERS command reply to save the user's mode on the
5563 channel as well. Fixed JOIN command reply to check whether a
5564 client is on channel already and not join it twice. Affected
5565 file lib/silcclient/command_reply.c.
5567 * Added new file silc-expandos.c into irssi/silc/core/ to return
5568 various stuff for various signal for the statusbar etc. updating.
5569 Now Irssi SILC client prints channel user modes etc. on the
5572 * The user mode (like server/router operator changes) is now shown
5573 on the Irssi SILC client's statusbar. The affected files are
5574 irssi/src/silc/core/client_ops.c, silc-expandos.c.
5576 Thu Mar 7 19:21:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5578 * Changed silc_mutex_[un]lock calls in lib/silcutil/silcschedule.c
5579 to SILC_SCHEDULE_[UN]LOCK macros.
5581 * Added more error printing to logs in server code. Affected
5582 files silcd/server.c and silcd/protocol.c.
5584 * Fixed -S option parsing in Irssi SILC Client. Affected file
5585 irssi/src/silc/core/silc-core.c.
5587 * Added silc_buffer_alloc_size function. Affected file is
5588 lib/silcutil/silcbuffer.h.
5590 Tue Mar 5 14:37:27 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5592 * Changed all silc_[hash|hmac|cipher|pkcs]_default tables to
5593 constants. Affected files in
5594 lib/silccrypt/silcpkcs.[ch], silchash.[ch], silchmac.[ch] and
5597 * Changed the internal SFTP Memory FS table to const. Affected
5598 file lib/silcsftp/sftp_fs_memory.c.
5600 Sun Mar 3 18:37:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5602 * Fixed the buffer formatting and unformatting routines to
5603 check the size of 64 bits types with sizeof(). Affected
5604 file is lib/silcutil/silcbuffmt.c.
5606 Mon Feb 25 17:19:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5608 * Removed 0.6.x backwards support.
5610 Sun Feb 24 12:53:25 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5612 * Changed all integer type names:
5613 [u]int[8/16/32/64] -> Silc[UInt/Int][8/16/32/64]. This is
5614 to avoid collisions with other libraries using same type names
5617 Sat Feb 23 20:31:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5619 * Added `prefer_ipv6' argument to the functions
5620 silc_net_gethostbyname[_async]. If it is TRUE it will return
5621 IPv6 address over IPv4. If FALSE IPv4 address is returned
5622 even if IPv6 address was found. Affected files
5623 lib/silcutil/silcnet.[ch].
5625 * Added support silc_net_create_connection[_async] to fallback
5626 to IPv4 address if IPv6 address could not be used (like if
5627 it doesn't work on a specific system). Affected file in
5628 lib/silcutil/unix/silcunixnet.c.
5630 Sat Feb 23 15:20:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5632 * Added silc_schedule_reinit function to do the enlarging
5633 of the max tasks handling capabilities of the scheduler.
5634 Affected files lib/silcutil/silcschedule.[ch].
5636 Wed Feb 20 20:41:01 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5638 * Added automatic extern "C" { ... } for C++ compilers so the
5639 application does not need to define them. Affected file
5640 includes/silcincludes.h.
5642 * Renamed lib/silcclient/silcapi.h to silcclient.h as the
5643 old name went against naming convention. Applications now
5644 include "silcclient.h" instead of "clientlibincludes.h".
5645 Removed includes/clientlibincludes.h, it is redundant now.
5647 * Renamed includes/version.h to silcversion.h.
5649 * Added really preliminary support for OS/2 into the util
5650 library. Only thread & mutex API is implemented, others
5651 are still to be implemented. Created the lib/silcutil/os2/
5652 directory. Created also file includes/silcos2.h.
5654 Wed Feb 20 18:48:49 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5656 * Added preliminary BeOS support into the util library.
5657 Created lib/silcutil/beos/, and implemented all the needed
5658 functions to support SILC on BeOS. Created also file
5659 includes/silcbeos.h.
5661 Mon Feb 18 15:49:22 EET 2002 Timo Sirainen <tss@iki.fi>
5663 * Added proper initializations to silc's irssi code, so it's
5664 now possible to load it as module. Affected files
5665 irssi/src/silc/core/silc-core.c,
5666 fe-common/silc/fe-common-silc-core.[ch] and fe-text/silc.c
5668 Sun Feb 17 19:02:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5670 * Merged latest Irssi (0.8.1) from the irssi.org's CVS into
5673 * Fixed the silcdoc document generator to correct generate
5674 docs from all kinds of filenames. Affected files are
5675 util/robodoc/Source/generator.c, scripts/silcdoc/silcdoc
5677 * ROBOdoc documented lib/silcutil/silcmemory.h.
5678 Added also new function silc_memdup.
5680 * Removed lib/silcutil/silcbufutil.h and moved those routines
5681 to the lib/silcutil/silcbuffer.h.
5683 Sun Feb 17 15:52:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5685 * Added `user_count' to the SilcChannelEntry which now tells the
5686 number of users on the channel. The user count is now saved
5687 in normal server of global channels as well. Affected files
5688 silcd/server.c, idlist.h, packet_receive.c and command.c.
5690 * Splitted lib/silcutil/silcutil.[ch] into silcfileutil.[ch] to
5691 include file utility functions.
5693 * Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines
5694 instead of calling directly OS routines.
5696 * Fixed NICK change printing in Irssi SILC Client. Fixed
5697 KICKED notify printing in Irssi SILC Client. Affected file
5698 irssi/src/silc/core/client_ops.c.
5700 * Fixed a NICK change bug in client library, to not recreate the
5701 client_entry->channels hash table everytime nick is changed.
5702 Affected file lib/silcclient/client.c.
5704 Sun Feb 17 10:10:14 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5706 * ROBOdoc documented the lib/silcske/silcske.h, and improved
5707 the SKE interface a bit.
5709 * Fixed padding problem in PKCS#1. The padding was not actually
5710 random since the random number generator was used incorrectly.
5711 This security bug affects only when encrypting with PKCS#1, and
5712 it is not currently used at all in SILC. SILC only use signing
5713 with PKCS#1. Affected file lib/silccrypt/pkcs1.c.
5715 Sat Feb 16 13:44:24 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5717 * Rewrote the notify handling in Irssi SILC client to not call
5718 the events as signals. Fixes problems with Perl support.
5719 Affected files irssi/src/silc/core/client_ops.c, silc-channels.c.
5721 * Send the auto-nicking NICK command in client library with
5722 little timeout after connecting. The affected file is
5723 lib/silcclient/client.c.
5725 * Added following new config file settings:
5726 channel_rekey_secs, key_exchange_rekey, key_exchange_pfs,
5727 key_exchange_timeout, conn_auth_timeout, connections_max,
5730 Implemented all the new config settings handling in the server.
5732 Optimized the use of SKE Mutual flag usage. Use it only
5733 if connection authentication protocol is not based in public
5736 Renamed all SilcServerConfigSection* to SilcServerConfig*
5737 to have a bit shorter names.
5739 Affected files silcd/serverconfig.[ch], server.[ch], and
5742 Sat Feb 16 02:46:43 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5744 * Cleaned up the listening sockets code, preparing for the rehash
5745 support. Affected file is silcd/server.c.
5747 * Fixed some output messages. Affected files are silcd/silcd.c,
5750 Fri Feb 15 19:10:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5752 * Create lib/doc/silcrng_intro.html document as introduction
5753 to SILC RNG. ROBOdoc documented lib/silccrypt/silcrng.h.
5755 Fri Feb 15 13:23:03 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5757 * Fixes to the silcd config template. Affected file is
5758 doc/example_silcd.conf.in.
5760 * Removed type casts from silc_calloc(), conforming to the
5761 CodingStyle. Affected file is lib/silcutil/silcconfig.c.
5763 * Removed param_name member from client, server, and router
5764 section structs, now identifying the param directly.
5766 Added CONFIG_FREE_AUTH macro in config file parsing.
5768 Affected files are silcd/serverconfig.[ch].
5770 Fri Feb 15 12:24:08 EET 2002 Timo Sirainen <tss@iki.fi>
5772 * Fixed command line parameter handling. All SILC initialization
5773 is now done in silc_core_init() which also fixes autoconnecting
5776 Affected files irssi/src/silc/core/silc-core.c,
5777 irssi/src/fe-text/silc.c.
5779 Thu Feb 14 22:03:58 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5781 * Added new configuration options and blocks:
5782 keepalive_secs, reconnect_count, reconnect_interval,
5783 reconnect_interval_max, reconnect_keep_trying and
5784 require_reverser_lookup. Added ConnectionParam block, and
5785 implemented the connection parameters when connecting as
5786 initiator and when accepting connections as responder.
5788 Added CONFIG_IS_DOUBLE macro in config file parsing, to check
5789 whether given configuration value has been given already.
5791 Affected files silcd/serverconfig.[c], server.[c].
5793 * Splitted the doc/example_silcd.conf.in. Separated the crypto
5794 algorithm parts and created new file silcalgs.conf, that
5795 is now included from the example_silcd.conf.in.
5797 * Optimized the silc_server_connect_to_router_second to take
5798 the connection configuration object from the SilcServerConnection
5799 object instead of finding it during the connecting phase.
5800 Added the configuration object to SilcServerConnection struct.
5801 Affected files silcd/server_internal.h, server.c.
5803 Thu Feb 14 16:02:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5805 * Add the client on channel after it was resolved at the
5806 channel message receiving, and it was not already on the
5807 channel. Affected file lib/silcclient/client_channel.c.
5809 Wed Feb 13 23:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5811 * Fixed the public key authentication to allocate always the
5812 destination signature buffer instead of using static buffer.
5813 Affected file silcd/protocol.c.
5815 Wed Feb 13 20:51:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5817 * Unified the serverconfig.[ch]'s helper function interface.
5818 Affected file silcd/serverconfig.[ch].
5820 * Removed doc/example_silc.conf.in since it is redundant.
5821 The make install will now install irssi/silc.conf file.
5823 * Added new Passphrase and Publickey authentication methods to
5824 config file, allowing both public key and passphrase based
5825 authentication to be set at the same time.
5827 Added `prefer_passphrase_auth' setting in config file which
5828 can be used to set to prefer passwd auth if both passwd and
5829 public key is set. If not set, public key is preferred.
5830 This has effect only when being initiator (responder will try
5833 Added support for authentication with passphrase and public key
5834 at the same time. The passphrase is tried first always since
5835 it is faster to check.
5837 Affected file silcd/serverconfig.[ch], server.c, protocol.[ch].
5839 Wed Feb 13 12:46:25 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5841 * Merged the new SILC Config library, with the server parsing
5842 support. Read the header file silcconfig.h or the toolkit
5843 documentation for the news. Affected files are
5844 doc/example_silcd.conf.in lib/silcutil/silcconfig.[ch]
5845 silcd/command.c silcd/packet_receive.c silcd/packet_send.c
5846 silcd/protocol.c silcd/server.c silcd/server_backup.c
5847 silcd/serverconfig.[ch] silcd/silcd.c.
5849 * Fixed some silclog documentation. Affected file is
5850 lib/silcutil/silclog.h.
5852 Sun Feb 10 18:11:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5854 * The silc_cipher_register, silc_hash_register and
5855 silc_hmac_register now checks if the object to be registered
5856 is registered already. Affected files are
5857 lib/silccrypt/silccipher.c, silchash.c and silchmac.c.
5859 Sun Feb 10 15:48:38 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5861 * Merged new irssi from irssi.org's CVS, the version 0.7.99.
5863 Sat Feb 9 14:54:33 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5865 * Allow zero length channel messages inside the Channel Message
5866 Payload. Affected file lib/silccore/silcchannel.c.
5868 * Fixed scripts/silcdoc/silcdoc to support all kinds of filenames
5869 as header filenames.
5871 * Removed lib/silcclient/README and created HTML file
5872 lib/silcclient/silcclient_using.html, which is now included
5873 as part of Toolkit documentation.
5875 Thu Feb 7 10:12:25 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5877 * Fixed CUMODE_CHANGE notify handling to change the mode of
5878 correct client. Affected file lib/silcclient/client_notify.c.
5880 * Make silc_rng_alloc fail if it cannot allocate the sha1
5881 hash algorithm. Affected file lib/silccrypt/silcrng.c.
5883 Sun Feb 3 17:20:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5885 * Fixed the file transfer's key agreement payload to include
5886 zero port also if the hostname is NULL because it could not
5889 Call file transfer monitor callback now also if error occurs
5890 during key agreement protocol.
5892 Changed the silc_client_file_send interface to return the
5893 SilcClientFileError instead of session id. The session ID
5894 is returned into pointer provided as argument.
5896 Check that the file exists locally before sending the
5897 file transfer request at all.
5899 Affected file lib/silcclient/client_ftp.c, silcapi.h.
5901 * Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer
5902 error than can occur while key agreement protocol. Affected
5903 file lib/silcclient/silcapi.h.
5905 * Fixed the event_mode CMODE handler to not crash when mode
5906 is changed and +k mode is set in the channel. Affected file
5907 irssi/src/silc/core/silc-channels.c.
5909 * Fixed SILC_LOG_ERROR to give out Error and not Warning, and
5910 SILC_LOG_WARNING to give out Warning and not Error. Affected
5911 file lib/silcutil/silclog.c.
5913 * Fixed the channel message payload decryption in the function
5914 silc_channel_message_payload_decrypt to not modify the original
5915 buffer before it is verified that the message decrypted
5916 correctly. Otherwise, next time it is called with correct
5917 channel key it won't encrypt since the payload is corrupted.
5918 Affected file lib/silccore/silcchannel.c.
5920 Sun Feb 3 11:46:12 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5922 * Do not constantly resize the window. A fix patch by cras.
5923 Affected file irssi/src/fe-text/screen.c.
5925 Sat Feb 2 16:54:18 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5927 * Applied IPv6 fix patch from Jun-ichiro itojun Hagino.
5928 Affected file lib/silcutil/silcnet.c.
5930 Fri Feb 1 22:33:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5932 * Fixed a bug in hash table internal routine for traversing
5933 the table with foreach callback. The current entry may
5934 become invalid in the callback but it was referenced after
5935 the callback returned.
5937 Do not allow auto rehashing of hash table during the
5938 silc_hash_table_foreach operation, for same reasons as it is
5939 not allowed for SilcHashTableList. Affected files are
5940 lib/silcutil/silchashtable.[ch].
5942 Fri Feb 1 14:55:00 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5944 * Defined DLLAPI into silcincludes.h and silcwin32.h for
5945 Win32 DLL. extern's in header files are now declared with
5948 Thu Jan 31 23:34:33 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5950 * Fixed private message handling. It used some old code that
5951 caused the client to crash. Affecte file is
5952 lib/silcclient/client_prvmsg.c.
5954 Thu Jan 31 19:06:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5956 * Added function silc_client_add_channel,
5957 silc_client_replace_channel_id, and removed functions
5958 silc_client_new_channel_id and silc_idlist_get_channel_by_id
5959 from client library.
5961 * Added cross reference of the joined channels to the
5962 SilcClientEntry, and changed the SilcChannelEntry's
5963 users list to SilcHashTable. The affected files are
5964 lib/silcclient/idlist.[ch].
5966 * Fixed a bug in hash table tarversing. While the hash table
5967 is traversed with SilcHashTableList the table must not be
5968 rehashed. It is now guaranteed that auto rehashable tables
5969 are not rehashed while tarversing the list. Also defined that
5970 silc_hash_table_rehash must not be called while tarversing
5971 the table. Added function silc_hash_table_list_reset that must
5972 be called after the tarversing is over. The affected files are
5973 lib/silcutil/silchashtable.[ch].
5975 * Changed all hash table traversing to call the new
5976 silc_hash_table_list_reset in server and in client library.
5978 * Added function silc_client_on_channel to return the
5979 SilcChannelUser entry if the specified client entry is joined
5980 on the specified channel. This is exported to application as
5981 well. Affected files lib/silcclient/client_channel.c, silcapi.h.
5983 Wed Jan 30 19:14:31 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5985 * Fixed founder regaining problem with JOIN command on normal
5986 server. The notify for mode change must be sent always and
5987 not only if !cmd->pending. Affected file silcd/command.c.
5989 * Fixed the WHOWAS command's reply sending to support the
5990 lists correctly. Affected file silcd/command.c.
5992 Wed Jan 30 11:11:47 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5994 * When sending JOIN command to router for processing the
5995 sender's old command identifier was not saved back to the
5996 sender's command context, fixed now. The affected file is
5999 * Create the key in JOIN command of the router did not return
6000 the channel key, added check for this. Affected file is
6003 * Fixed a channel ID update bug in JOIN command reply. Do
6004 not directly upgrade the ID but call the function
6005 silc_idlist_replace_channel_id if the ID was changed.
6006 Affected file silcd/command_reply.c.
6008 * Fixed memory leaks from command calling if it would fail.
6009 Affected file silcd/command.c.
6011 Tue Jan 29 19:49:31 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6013 * Applied patches from cras:
6015 Memory leak fixes around libaries, irssi window resize fix,
6016 new silclist.h and silcdlist.h, all extern inline changed to
6019 * Removed dotconf from lib/dotconf, not needed anymore.
6021 * Removed TRQ from lib/trq, not needed anymore.
6023 * Do more frequent heartbeats (5 minutes instead of 10 minutes)
6024 with server connections. Later this will be configurable
6025 in config file after new config file is done. Affected file
6028 Tue Jan 29 10:35:03 CET 2002 Pekka Riikonen <priikone@silcnet.org>
6030 * Fixed a crash in server related to channel announcements.
6031 Affected file silcd/server.c.
6033 Mon Jan 28 17:49:42 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6035 * Fixed memory leaks in silc_server_create_new_channel*
6036 functions. Affected file silcd/server.c.
6038 * Fixed the CHANNEL_CHANGE notify to re-announce the channel
6039 which ID was changed. This way the router will send the
6040 user list for the channel again, and server won't be in
6041 desync in some rare circumstances. Affected file is
6042 silcd/packet_receive.c.
6044 Sun Jan 27 21:04:19 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6046 * Check for NULL socket pointer in the function
6047 silc_server_packet_send_to_channel_real. Affected file
6048 silcd/packet_send.c.
6050 * Fixed the BAN notify handling to correctly remove ban
6051 list. Affected file silcd/packet_receive.c.
6053 Sat Jan 26 23:01:03 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6055 * Fixed some header addition to Toolkit distribution in
6056 lib/silcutil/Makefile.am and lib/trq/Makefile.am.
6058 * Added lib/silcclient/client_ops_example.h as an template
6059 file for application programmers to quickly start using
6060 the SilcClientOperation functions in their application.
6061 Updated the lib/silcclient/README as well to tell about this
6062 nice file made available.
6064 Sat Jan 26 10:45:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6066 * Call silc_server_remove_from_channels when removing client
6067 entry when NO_SUCH_CLIENT_ID was received. Affected file
6068 is silcd/command_reply.c.
6070 Fri Jan 25 19:12:36 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6072 * Added server & router operator statistics updating. Affected
6073 file silcd/packet_receive.c and silcd/command.c.
6075 * Fixed the SERVER_SIGNOFF notify handling on normal server
6076 not to save the history information for clients. Same was
6077 fixed earlier in remove_clients_by_server function, but not
6078 here. Affected file silcd/packet_receive.c.
6080 * Raised the default connection-retry count from 4 to 7 in
6081 server. Affected file silcd/server.h.
6083 * Cancel any possible reconnect timeouts when we start the
6084 key exchange. Affected file silcd/server.c.
6086 * Do not reconnect on connection failure when SCONNECT was
6087 given. Affected files silcd/server.[ch].
6089 Tue Jan 22 18:19:36 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6091 * Removed assert()'s from the lib/silcclient/client_keyagr.c.
6093 * Fixed the NICK command to always give the unformatted
6094 nickname to the one giving the NICK command. If unformatted
6095 nickname is cached already it will be formatted and the
6096 local entry will always get the unformatted nickname.
6097 Affected file lib/silcclient/idlist.c.
6099 * Fixed some double frees from client library commands.
6100 Affected file is lib/silcclient/command.c.
6102 * Fixed CUMODE command in server to assure that no one can
6103 change founder's mode than the founder itself, there was a
6104 little bug. Affected file silcd/command.c.
6106 Mon Jan 21 19:07:53 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6108 * Removed the SilcClientCommandDestructor from the client
6109 libary, it is not needed anymore. Affected files are
6110 lib/silcclient/silcapi.h, command[_reply].[ch],
6111 client_notify, idlist.c.
6113 * Fixed GETKEY command to first resolve client, and then
6114 resolve the server only if the client was not found, instead
6115 of resolving both at the same time. Affected file is
6116 lib/silcclient/command.c.
6118 * Added silc_client_start_key_exchange_cb and lookup the
6119 remote hostname and IP address before starting the key
6120 exchange with server. The affected file is
6121 lib/silcclient/client.c.
6123 * The server's public key is now saved using the IP address
6124 of the server and not the servername for the filename.
6125 The hostname public key filename is checked as an fall back
6126 method if the IP address based filename is not found.
6128 Fixed the GETKEY command to save the fetched server key
6129 in correct filename.
6131 Print the remote server's hostname now when new key is
6132 received during connection process. Affected file is
6133 irssi/src/silc/core/client_ops.c.
6135 * Return always our own public key to the client if it asks
6136 for it with GETKEY command. Affected file silcd/command.c.
6138 * Removed the use_auto_addr variable from default config
6139 file since it was in wrong section. Affected file is
6142 * Fixed TOPIC_CHANGE notification to not route it when it
6143 was sent using silc_server_send_notify_to_channel function.
6144 Affected file silcd/command.c.
6146 * Fixed silc_server_send_notify_kicked to send the kicker's
6147 Client ID also, it was missing. Affected files are
6148 silcd/command.c, silcd/packet_send.[ch].
6150 Thu Jan 17 18:59:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6152 * Do not save client history information in SERVER_SIGNOFF.
6153 Fixes the bug in normal server that it does not detect
6154 the client becoming valid after the server becomes back
6155 online. Affected file silcd/server_util.c.
6157 * Added `sock_error' field into the SilcSocketConnection
6158 context. When error occurs during socket operation (read
6159 or write) the error is saved. Added also new function
6160 silc_socket_get_error to return human readable socket error
6161 message. Affected files are lib/silcutil/silcsockconn.[ch],
6162 lib/silcutil/unix/silcunixsockconn.c, and
6163 lib/silcutil/win32/silcwin32sockconn.c.
6165 * The server now prints the socket error message in the
6166 signoff for client. Affected file silcd/server.c.
6168 * Fixed the `created' channel information sending from router
6169 to server in JOIN command. Checks now whether the channel
6170 really was created or not and set it according that.
6172 Fixed the JOIN command to use the client entry's current
6173 ID during the joining procedure instead of the one it sent
6174 in the command (it is checked though), since it can change
6175 between the packet processing and command processing, and
6176 would just case unnecessary pain in the client end. Affected
6177 file silcd/command.c.
6179 * Fixed a channel key payload sending to use correct channel
6180 ID when the server was forced to change the channel's ID by
6181 router. Router sent the key payload with the old Channel ID.
6182 Affected file silcd/packet_receive.c.
6184 Wed Jan 16 22:26:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6186 * Call silc_server_save_channel_key only if the key payload
6187 was provided in the JOIN command's command reply. Affected
6188 file silcd/command_reply.c.
6190 Tue Jan 15 18:49:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6192 * Fixed silc_mp_sizeinbase to return the value correctly with
6193 MPI. Affected file lib/silcmath/mp_mpi.c.
6195 * Fixed the stop_server signal to correctly stop the scheduler
6196 and gracefully stop the server when SIGTERM or SIGINT signals
6197 are received. Affected file silcd/silcd.c.
6199 Mon Jan 7 23:38:19 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
6201 * Simple handling of TERM and HUP signals. Also added some log
6202 flushing call around. Affected file is
6205 * Fixed small bugs in silclog.c. Now buffering output will take
6206 effect after 10 seconds since startup: This will ensure that
6207 no important startup messages are lost. Also output redirection
6208 will preserve original format ([Date] [Type] message).
6209 Affected file is lib/silcutil/silclog.c.
6211 * Added two options to the config file, in the logging section:
6212 quicklogs:<yes/no>: and flushdelay:<seconds>:. Affected files
6213 lib/silcutil/silclog.[ch], silcd/serverconfig.[ch].
6215 Sun Jan 6 12:49:40 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6217 * Do not print the warning about log files not being initialized
6218 more than once to avoid excess logging. Affected file is
6219 lib/silcutil/silclog.c.
6221 * Fixed the SIM compilation in lib/silcsim/Makefile.am. Fixed
6222 the SIM copying in make install in Makefile.am.pre.
6224 Sun Jan 6 01:10:21 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6226 * Rewritten silclog APIs. Globally interesting changes follows:
6227 silc_log_set_files() changed to silc_log_set_file().
6228 silc_log_set_callbacks() changed to silc_log_set_callback().
6229 ROBOdoc documented silclog header file.
6230 SilcLogCb now returns bool to wether inihibit the default
6231 handler or not (to keep the old behaviour return always TRUE).
6232 The new APIs should also fix the problem of the
6233 silcd_error.log file that was written in the current directory.
6236 Log files streams will remain opened after silc_log_set_file()
6237 call, means less CPU usage notably on high traffic servers.
6238 File streams are now full buffered, and flushed to the disk
6239 every 5 minutes, lesses HD activity and CPU usage.
6240 Messages can be redirected, allowing admins to configure
6241 one single logfile for all server messages.
6242 the silc_log_quick global variable to activate fast-logging.
6243 Affected files lib/silcutil/silclog.[ch]
6245 * Changed some code to conform new silclog APIs. Affected
6246 files are doc/example_silcd.conf.in, silcd/server.c
6247 irssi/src/silc/core/silc-core.c, silcd/serverconfig.[ch],
6250 * Fixed a memory leak that could occur in some situations.
6251 Affected file silcd/serverconfig.c.
6253 Sat Jan 5 13:37:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6255 * Added the silc_client_del_client to remove the client from
6256 all channels as well. Affected file lib/silcclient/idlist.c.
6258 * Fixed the client library to correctly remove the client
6259 from all channels when the client entry is being destroyed.
6260 Affected file lib/silcclient/client_notify.c, command.c.
6262 * Added auto-nicking support to the client library. If the
6263 applicatio now sets client->nickname it will be sent to the
6264 server after connecting by the library. This way for example
6265 SILCNICK (or IRCNICK) environment variables will have effect
6266 and always change the nickname automatically to whatever
6267 it is wanted. Affected file lib/silcclient/client.[ch].
6269 * Renamed silc_server_command_bad_chars to the
6270 silc_server_name_bad_chars and moved it to the
6271 silcd/server_util.[ch]. Added also new function
6272 silc_server_name_modify_bad to return nickname that
6273 includes bad characters as new nickname without those
6274 bad characters. This check and modify is now used in
6275 silc_server_new_client when the username is initially set
6276 as nickname, so it must be checked to be valid nickname.
6277 Affected file silcd/packet_receive.c.
6279 * The nickname length is now taken from the packet for real
6280 and not trusted to strlen() since it clearly can return
6281 wrong length for nickname including bad characters. This
6282 also applies to channel names. Affected file silcd/command.c.
6284 * Removed the lib/silcsilm/modules directory. Modules are now
6285 compiled into the lib/silcsim. Fixed the copying of the
6286 modules to follow symbolic links in Makefile.am.pre.
6288 Wed Jan 2 18:56:21 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6290 * Fixed silc_string_regexify list creation. Fixes bugs with
6291 BAN and INVITE commands in server. The affected file is
6292 lib/silcutil/unix/silcunixutil.c.
6294 Sun Dec 30 13:41:34 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6296 * Removed the command destructor entirely from the server's
6297 command and command reply routines. It is not needed, and
6298 its usage was buggy and caused crashes. Affected files are
6299 silcd/command[_reply].[ch].
6301 Fri Dec 28 12:43:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6303 * Cancel protocol and NULL sock->protocol if timeout
6304 occurred during protocol. Affected file silcd/server.c.
6306 * Cancel protocol timeouts always before calling the final
6307 callback, to assure that after final callback is called
6308 no other state will be called for the protocol anymore.
6309 Affected file silcd/protocol.c.
6311 * Print error log if incoming connection configuration could
6312 not be found. Affected file silcd/server.c.
6314 * Fixed JOIN command to correctly save the founder mode
6315 to the client on normal SILC server, when the channel
6316 was created by the router. Affected file silcd/command.c.
6318 * Fixed LIST command (hopefully) to send correct reply
6319 packets. Affected file silcd/command.c.
6321 Thu Dec 20 16:14:52 CET 2001 Pekka Riikonen <priikone@silcnet.org>
6323 * The silc_packet_receive_process now returns FALSE if the
6324 read data was invalid packet, and TRUE if it was ok.
6326 The server now checks that if unauthenticated connection
6327 sends data and its processing fails the server will close
6328 the connection since it could be a malicious flooder.
6330 Affected files lib/silccore/silcpacket.[ch], silcd/server.c.
6332 Wed Dec 19 21:31:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6334 * Make sure the warning about error opening a log file is
6335 printed only once and not everytime it fails (produces
6336 too much useless log). Affected file lib/silcutil/silclog.c.
6338 Wed Dec 19 18:21:51 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6340 * Made the silc_server_daemonise() function more readable.
6341 Affected file silcd/server.c.
6343 * Pid file is now optional, the user may comment it out from
6344 the config file. Removed define SILC_SERVER_PID_FILE, we
6345 don't need a default any longer. Affected file
6346 configure.in.pre, lib/Makefile.am.pre.
6348 * Make some use of the pid file. The server now dies at startup
6349 if it detects a valid pid file on his path. The server would
6350 die anyway in this circumstance, because of the bind() failure.
6351 Affected file silcd/silcd.c.
6353 * No longer compiling lib/dotconf.
6355 Mon Dec 17 18:24:27 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6357 * Fixed JOIN command parsing not to crash. Affected file
6358 lib/silcclient/command.c.
6360 * Fied the NICK_CHANGE notify to add the new client entry
6361 even it is resolved. This removes an <[unknown]> nick
6362 thingy bug in the client. Affected file is
6363 lib/silcclient/client_notify.c.
6365 * Do not try to allocate 0 bytes (efence does not like it)
6366 in lib/silccore/silccomand.c when encoding payload.
6368 * Do not take IRCNICK as nickname in Irssi SILC client since
6369 it is not possible to set nickname before hand connecting
6370 the server (TODO has an entry about adding auto-nicking
6373 * Changed the silc_server_command_pending to check whether
6374 there already exists an pending entry with the specified
6375 command, command identifier and pending callback. This is
6376 to fix IDENTIFY and WHOIS related crashes that may register
6377 multiple pending commands with same identifier. Affected
6378 file silcd/command.c.
6380 * Fixed the server to reconnect to the router even if it
6381 was already reconnecting and EOF was received. This to
6382 fix a possibility that the server wouldn't ever try to
6383 auto-reconnect to the router. Affected file silcd/server.c.
6385 Sat Dec 15 20:31:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6387 * Fixed the server's password authentication to use the
6388 length of the locally saved password, and not the one
6389 sent in the packet. Affected file silcd/protocol.c.
6391 * Fixed same password authentication problem in the
6392 Authentication Payload handling routines in
6393 lib/silccore/silcauth.c.
6395 * Yet another password authentication problem fixed with
6396 channel password handling in silcd/command.c.
6398 Mon Dec 10 19:57:40 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6400 * If first character of string in silc_parse_userfqdn is '@'
6401 then do not parse it. Affected file is
6402 lib/silcutil/silcutil.c.
6404 Sun Dec 9 22:18:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6406 * Fixed minor bug in IDENTIFY command reply sending, which
6407 caused various weird problems during JOIN when it was
6408 resolving names for users. Affected file silcd/command.c.
6410 Sun Dec 9 19:18:41 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6412 * Fixed the IDENTIFY command reply sending to chech better valid
6413 clients. It was possible to send incomplete list of replies.
6414 Affected file silcd/command.c.
6416 Sat Dec 8 15:58:31 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6418 * Added silc_client_command[s]_[un]register functions now to
6419 dynamically register the commands in client library. Removed
6420 the static table of commands. This allows the client library
6421 to call commands without causing the application to know about
6422 what commands library has called.
6424 Removed the INFO command reply kludge to detect when the command
6425 was called by library. Now library use its own command reply
6426 function for INFO command.
6428 Added function silc_client_command_call to call a command.
6429 Application can use it to call command, not access the structure
6432 Now all commands that are sent by the client library (not
6433 explicitly sent by application) use own command reply functions.
6435 Affected files around lib/silcclient/ and in
6436 irssi/src/silc/core/.
6438 * Fixed the WHOIS command reply sending to chech better valid
6439 clients. It was possible to send incomplete list of replies.
6441 Fixed the WHOIS and IDENTIFY to send the request to router
6442 if normal server did not do it and did not find any results.
6444 Affected file silcd/command.c.
6446 Thu Dec 6 17:21:06 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6448 * Moved the internal data from SilcClient context into its
6449 own file, not accesible to application. Affected files
6450 lib/silcclient/client.h and lib/silcclient/client_internal.h,
6451 and other files in client library.
6453 Thu Dec 6 10:37:55 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6455 * Added doc/examples installation target in Makefile.am.pre.
6458 Tue Dec 4 17:43:19 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6460 * If NO_SUCH_CLIENT_ID notify is received for WHOIS or IDENTIFY
6461 commands the found client entry will be removed from the
6462 cache, after notifying application about the error. Affected
6463 file lib/silcclient/command_reply.c.
6465 * Changed the /MSG to check for exact nickname user gave, and
6466 not let `nick' match `nick@host' if it is only one found. Now,
6467 user must type the exact nickname (like nick@host2) even if
6468 there are no more than one same nicks found. This is to avoid
6469 a possibility of sending nickname to wrong nickname since
6470 `nick' could match `nick@host'. Affected file is
6471 irssi/src/core/silc-servers.c.
6473 Mon Dec 3 18:49:45 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6475 * Do not print "you are now server operator" or similar when
6476 giving /away command. Affected files are
6477 irssi/src/silc/core/client_ops.c, silc-servers.h.
6479 * Made the silc_server_command_pending_error_check to send
6480 the same command reply payload it received back to the
6481 original sender of the command. This way all arguments
6482 that was received by the server will be received by the
6483 client too. Affected file silcd/command.c.
6485 * Added the silc_idcache_add to return the created cache entry
6486 to a pointer. Affected file lib/silccore/silcidcache.[ch].
6488 * Add global clients to expire if they are not on any channel.
6489 This is because normal server will never know if they signoff
6490 if they are not on any channel. The cache expiry will take
6491 case of these entries. This is done by normal servers only.
6492 The affected files are silcd/command_reply.c,
6493 silcd/idlist.[ch], silcd/server and silcd/packet_receive.c.
6495 * If server receives invalid ID notification for WHOIS or
6496 IDENTIFY and the ID exists in the lists, it is removed.
6497 Affected file silcd/command_reply.c.
6499 * If NO_SUCH_CLIENT_ID is received for WHOIS or IDENTIFY command
6500 in client then client entry that it matches is searched and
6501 the nickname is printed on the screen for user. Affected
6502 file irssi/src/silc/core/client_ops.c.
6504 Mon Dec 3 11:56:59 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6506 * Use cache entry expire time in the LIST command reply to
6507 purge old entries from the cache after the LIST command
6508 reply has been received. This way we don't have non-existent
6509 entries in the cache for too long. Affected file is
6510 silcd/command_reply.c.
6512 Sun Dec 2 23:29:07 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6514 * If we are normal server, and we've not resolved client info
6515 in WHOIS or IDENTIFY from router, and it is global client,
6516 we'll check whether it is on some channel. If it is not
6517 then we cannot be sure about its validity and will resolve it
6518 from router. Fixes a bug in WHOIS and IDENTIFY. Affected
6519 file silcd/command.c.
6521 * Search channel by name (if possible) rather than by ID
6522 in IDENTIFY command's command reply. Affected file is
6523 silcd/command_reply.c.
6525 Sun Dec 2 13:48:46 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6527 * Distribute to the channel passphrase in CMODE_CHANGE notify.
6528 Updated specs and implemented it. Affected file silcd/command.c,
6529 silcd/packet_send.c and silcd/packet_receive.c.
6531 * Implemented the <founder auth> payload handling in the JOIN
6532 command. If provided all conditions for channel joining
6533 except requirement to provide correct passphrase can be
6534 overrided by the channel founder. Updated the protocol specs.
6535 Affected file silcd/command.c.
6537 Added support for founder auth in JOIN command in client
6538 library. Fixed the parsing of the JOIN command now to support
6539 all options as they should be. The affected file is
6540 lib/silcclient/command.c.
6542 * Optimized the WHOIS and IDENTIFY commands to send the request
6543 to router only if it includes nicknames or other names. If
6544 they include only IDs then check the local cache first before
6545 routing. Affected file is silcd/command.c.
6547 * Added channels topic announcements. Affected file is
6548 silcd/packet_receive.c and silcd/server.c.
6550 * Fixed the silc_server_send_notify_topic_set to really destine
6551 the packet to channel. Affected file silcd/packet_send.c.
6553 * Fixed a crash in CHANNEL_CHANGE notify handling in the client
6554 library. Affected file lib/silcclient/client_notify.c.
6556 * Added UMODE announcements. Affected file silcd/server.c.
6558 Sat Dec 1 12:52:39 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6560 * Memory leak fixes in:
6562 lib/silcutil/silcsockconn.c
6563 lib/silcske/silcske.c
6564 lib/silcske/groups.c
6566 lib/silccrypt/silcpkcs.c
6567 lib/silccore/silccommand.c
6568 lib/silccore/silcidcache.c
6573 * ROBOdoc documented the lib/silcske/groups.h file and a
6574 bit changed the interface for better.
6576 Thu Nov 29 22:12:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6578 * Update the client entry context in the ID cache after
6579 nick change. Affected file lib/silcclient/command.c.
6580 Fixes the CUMODE command when regaining founder privileges,
6581 and a little WHOIS problem.
6583 * Fixed silc_net_gethostbyname to correctly call the
6584 inet_ntop. Affected file lib/silcutil/silcnet.c.
6586 Thu Nov 29 19:31:23 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6588 * Added IPv6 support checking to the configure.in.pre, added
6589 also --enable-ipv6 option to override the check. Affected
6590 file configure.in.pre.
6592 * The silc_thread_create now calls the start function
6593 directly if threads support is not compiled in. Removes
6594 ugly #ifdef's from generic code. Affected files are
6595 lib/silcutil/unix/silcunixthread, win32/silcwin32thread.c.
6597 * Added silc_net_gethostby[name/addr]_async to asynchronously
6598 resolve. Affected files are lib/silcutil/silcnet.[ch].
6600 * Added support for rendering IPv6 based server, client and
6601 channel IDs. Affected file lib/silcutil/silcutil.c.
6603 * Added support for creating IPv6 based server IDs. Affected
6604 file is silcd/serverid.c.
6606 Wed Nov 28 23:46:09 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6608 * Added silc_net_gethostby[addr/name] into the
6609 lib/silcutil/silcnet.[ch]. Added IPv6 support to Unix network
6610 routines. Added silc_net_is_ip[4/6]. Affected file is
6611 lib/silcutil/unix/silcunixnet.c. All routines that take
6612 address as argument now supports both IPv4 and IPv6 addresses.
6614 Mon Nov 26 18:09:48 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6616 * Fixed LIST command reply sending in server. Affected file
6619 * Server now sends the kicker's client ID in the KICK notify
6620 to the kicked client. Affected file silcd/command.c.
6622 * The client library now parses the kickers client ID and
6623 UI displays it. Affected files lib/silcclient/client_notify.c
6624 and irssi/src/silc/core/silc-channels.c, module-formats.c.
6626 * Made all payload parsing function prototypes consistent.
6627 They all take now const unsigned char * and uint32 pair as
6628 the payload data instead of SilcBuffer. Changes all around
6629 the source tree. Other unsigned char* -> const unsigned char*
6630 changes around the tree as well.
6632 * Optimized SFTP client and server packet sending not to
6633 allocate new buffer for each packet but to recycle the
6634 first allocated buffer. Affected files are
6635 lib/silcsftp/sftp_client.c, sftp_server.c, sftp_util.[ch].
6637 * Optimized the SFTP client to use SilcList instead of
6638 SilcDList for requests, because it is faster. Affected file
6639 is lib/silcsftp/sftp_client.c.
6641 * Moved the ID Payload routines from lib/silccore/silcpayload.[ch]
6642 into lib/silccore/silcid.[ch].
6644 Renamed silcpayload.[ch] into silcargument.[ch].
6646 Mon Nov 26 15:01:53 CET 2001 Pekka Riikonen <priikone@silcnet.org>
6648 * If client entry is deleted with active key agreement
6649 session, abort the session.
6651 The silc_client_abort_key_agreement now calls the completion
6652 callback with new SILC_KEY_AGREEMENT_ABORTED status.
6654 Affected file lib/silcclient/silcapi.h, client_keyagr.c and
6657 Sun Nov 25 18:01:45 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6659 * Don't use __restrict in older GCC's. Affected file is
6660 lib/silcmath/mpi/mpi-priv.h. A patch by salo.
6662 * silc_net_localhost now attempts to reverse lookup the
6663 IP/hostname. Affected file lib/silcutil/silcnet.c.
6665 * Defined <founder auth> argument to the SILC_COMMAND_JOIN
6666 command. It can be used to gain founder privileges at
6667 the same time when joining the channel.
6669 Defined that the SILC_NOTIFY_TYPE_KICKED send the
6670 kicker's client ID as well. Updated protocol specs.
6672 Defined that the server must send SILC_COMMAND_IDENTIFY
6673 command reply with error status to client who sent
6674 private message with invalid client ID.
6676 Updated the protocol specification.
6678 * Added silc_server_send_command_reply to send any
6679 command reply. Affected file silcd/packet_send.[ch].
6681 * Added silc_id_payload_encode_data to encode ID payload
6682 from raw ID data. Affected file lib/silccore/silcpayload.[ch].
6684 * The server now send IDENTIFY command reply with error
6685 status if client ID in private message is invalid. Affected
6686 file silcd/packet_receive.c.
6688 * Save the server key file with server's IP address in
6689 the filename instead of hostname. The affected file is
6690 irssi/src/silc/core/client_ops.c.
6692 Sat Nov 24 20:08:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6694 * Typo fixes in irssi/src/fe-common/silc/module-formats.c.
6697 * Added libtool support for compiling shared objects in
6698 lib/silcsim. Affected file configure.in.pre and
6699 lib/silcsim/Makefile.am. Original patch by cras.
6701 Fri Nov 23 23:30:59 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6703 * Pid file configuration, and server's config file fixes
6704 patch by toma. Updated CREDITS file.
6706 Sun Nov 18 01:34:41 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6708 * Fixed silc_client_channel_message to not try to decrypt
6709 the message twice if it resolved the destination client
6710 information. This could cause of dropping one channel
6711 message. Affected file lib/silcclient/client_channel.c.
6713 Wed Nov 14 23:44:56 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6715 * Added silc_client_run_one into lib/silcclient/silcapi.h and
6716 lib/silcclient/client.c. This function is used when the SILC
6717 Client is run under some other scheduler, or event loop or
6718 main loop. On GUI applications, for example this may be
6719 desired to used to run the client under the GUI application's
6720 main loop. Typically the GUI application would register an
6721 idle task that calls this function multiple times in a second
6722 to quickly process the SILC specific data.
6724 Wed Nov 14 19:16:52 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6726 * Fixed silc_server_drop() for dropping the supplementary
6727 groups as well, this could cause a security hole on some
6730 Wed Nov 14 16:22:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6732 * __pid_t -> pid_t in lib/silccrypt/silcrng.c. A patch by
6735 * Write PID file after dropping privileges. Added -F option
6736 to run server on foreground. A patch by debolaz.
6737 Affected files silcd/server.c, silcd/silcd.c.
6739 * Fixed MOTD to return the MOTD file server name. Affected
6740 file silcd/command.c.
6742 * Added INFO command reply handling to the Irssi SILC Client.
6743 Affected file irssi/src/silc/core/client_ops.c.
6745 Wed Nov 14 00:18:08 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6747 * Fixed the silc_idcache_list_* routines to really support
6748 the dynamic list. Fixes a crash. Affected file is
6749 lib/silccore/silcidcache.c.
6751 * Fixed the LIST command reply to really call LIST command's
6752 pending callbacks. Affected file silcd/command_reply.c.
6754 Tue Nov 13 00:49:17 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6756 * Update conn->local_entry->nickname after giving NICK
6757 command. Affected file lib/silcclient/command.c.
6759 Sun Nov 11 23:43:02 PST 2001 Brian Costello <bc@wpfr.org>
6761 * Added the [pid] option to the silcd configuration file
6763 Affected files: serverconfig.[ch] and silcd.c
6765 Sun Nov 11 23:56:39 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6767 * Save fingerprint in WHOIS command reply in server.
6768 Affected file silcd/command_reply.c.
6770 * Fixed NICK commands pending callback registration.
6771 Affected file lib/silcclient/command.c.
6773 Sun Nov 11 10:49:10 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6775 * Use ++server->cmd_ident when sending commands in server,
6776 instead of random number. Affected file silcd/command.c.
6778 * Fixed GETKEY command reply to call actually GETKEY pending
6779 command callbacks. Affected file silcd/command_reply.c.
6781 * A bit stricter check for nicknames. Check for same nickname
6782 in NICK command also. Affected file silcd/command.c.
6784 * Do not call INFO command everytime client ID changes, only
6785 during first connecting. Affected file lib/silcclient/client.c.
6787 * Set the new nickname only after successful command reply for
6788 NICK command is returned by server. Affected file
6789 lib/silcclient/command.c.
6791 * Remove nicknames from nicklist during server_signoff notify.
6792 Should fix /NAMES bit more. The affected file is
6793 irssi/src/silc/core/silc-channels.c.
6795 * Added `fingerprint' field to the SilcIDListData in the
6796 silcd/idlist.h to hold the fingerprint of the client's
6799 Send the fingerprint of the client's public key in WHOIS
6802 Affected files silcd/command.c, and silcd/idlist.[ch].
6804 * Added silc_fingerprint into lib/silcutil/silcutil.[ch] to
6805 create fingerprint from given data.
6807 * Show the fingerprint of the client's public key in WHOIS.
6808 Affected files irssi/src/module-formats.[ch] and
6809 irssi/src/silc/core/client_ops.c.
6811 * Format the multiple same nicknames also during JOIN and
6812 NICK_CHANGE notifys. Affected file is
6813 lib/silcclient/client_notify.c.
6815 * Do not print error on screen for invalid private message
6816 payload since it can come if someone is sending private
6817 messages with wrong key. Affected file
6818 lib/silccore/silcprivate.c.
6820 * Fixed multiple concurrent /PING crash. Affected file
6821 lib/silcclient/command.c.
6823 * Changed the wrong ID encoding. All IP addresses must be
6824 in MSB first order in encoded format. They were encoded
6825 wrong and was in LSB format. Affected files are
6826 silcd/serverid.c, lib/silcutil/silcutil.c.
6828 * Remove silc_net_addr2bin_ne from lib/silcutil/silcnet.[ch].
6830 * Call the `connect' client operation through the scheduler
6831 in case of error. Affected file lib/silcclient/client.c.
6833 * Call the `failure' client operation even if the error
6834 occurred locally during a protocol. Affected file is
6835 lib/silcclient/protocol.c.
6837 * Added support of sending LIST command to router from normal
6838 server. This way normal server can get list of all channels
6839 in the network too. Fixed the channel list sending in the
6840 server too. Affected files are silcd/command.c, and
6841 silcd/command_reply.[ch].
6843 * Added silc_server_update_channels_by_server and
6844 silc_server_remove_channels_by_server. They are used during
6845 disconnection of primary router and in backup router protocol.
6846 Affected file silcd/server_util.[ch], silcd/server.c and
6847 silcd/server_backup.c.
6849 * Fixed channel adding to global list in IDENTIFY command
6850 reply in server. Affected file silcd/command_reply.c.
6852 Sat Nov 10 21:39:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6854 * If the incoming packet type is REKEY or REKEY_DONE process
6855 that packet always synchronously. Fixes yet another MAC
6856 failed error on slow (dialup) connections. Affected file
6857 lib/silcclient/client.c and silcd/server.c.
6859 Thu Nov 8 22:21:09 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6861 * Call check_version SKE callback for initiator too. Affected
6862 file lib/silcske/silcske.c.
6864 * Implemented fix for security hole found in the SKE that was
6865 fixed in the specification few days back; the initiator's
6866 public key is now added to the HASH value computation.
6867 Added backwards support for the old way of doing it too, for
6868 old clients and old servers. Affected file is
6869 lib/silcske/silcske.c.
6871 * Enabled mutual authentication by default in SKE. If initiator
6872 is not providing mutual authentication the responder will
6873 force it. This will provide the proof of posession of the
6874 private key for responder. The affected files are
6875 lib/silcclient/protocol.c and silcd/protocol.c.
6877 * Do not cache anymore the server's public key during SKE.
6878 We do mutual authentication so the proof of posession of
6879 private key is done, and if the server is authenticated in
6880 conn auth protocol with public key we must have the public
6881 key already. Affected file silcd/protocol.c.
6883 * Added new global debug variable: silc_debug_hexdump. If
6884 it is set to TRUE SILC_LOG_HEXDUMP will be printed. Affected
6885 file lib/silcutil/silclog.[ch].
6887 * Fixed compilation warning due to char * -> const char *.
6888 Affected files lib/silcutil/silcnet.h, and
6889 lib/silccore/silcauth.[ch].
6891 Wed Nov 7 20:43:03 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6893 * Fixed CMODE command when new channel key was created. If
6894 the creation failed the old key was removed. Next time giving
6895 same command would crash the server since the old key was
6896 freed already. Affected file silcd/command.c.
6898 * Fixed the silc_server_announce_get_channels to not crash
6899 on reconnect. Affected file silcd/server.c.
6901 Wed Nov 7 17:15:07 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6903 * Added silc_log_set_debug_string function to set a regex
6904 string to match for debug output. Only the function names,
6905 or filenames matching the given debug string is actually
6906 printed. This way it is possible to filter out those debug
6907 strings that user is not interested in.
6909 Fixed a bug in silc_string_regexify.
6911 Affected files lib/silcutil/silclog.[ch], and
6912 lib/silcutil/unix/silcunixutil.c.
6914 * Changed the -d options in both server and Irssi SILC client
6915 to take the debug string as argument. Affected files
6916 silcd/silcd.c and irssi/src/silc/core/silc-core.c.
6918 Tue Nov 6 21:31:54 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6920 * Added silc_hash_babbleprint to create a Bubble Babble
6921 Encoded fingerprint. The encoding is developed by Antti
6922 Huima (draft-huima-babble-01.txt), and it creates human
6923 readable strings out of binary data. Affected file
6924 lib/silccrypt/silchash.[ch].
6926 * Print the babble print now in addition of fingerprint as well
6927 in Irssi SILC client. Affected files are
6928 irssi/src/fe-common/silc/module-formats.[ch],
6929 irssi/src/fe-common/silc/core/client_ops.c.
6931 Sun Nov 4 23:37:28 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6933 * Fixed a security problem found in SKE. The initiator's
6934 public key too is now added to the HASH hash value creation
6935 which is signed by the responder to create the SIGN value.
6936 This will prevent anyone in the middle to lie to the responder
6937 about the initiator's public key. If this is done now, the
6938 man in the middle will get caught. Updated the protocol
6941 Sun Nov 4 11:43:53 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6943 * Better installation directory handling. Configure module
6944 paths and other paths automatically to example_silc* files
6945 in doc/. A patch by toma.
6947 * Fixed compiler warning from MPI library, and from SILC RNG.
6950 * Added SILC_SERVER_PID_FILE to define the pid file for server.
6951 It can be configured with ./configure. A patch by toma.
6953 Sat Nov 3 23:48:23 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6955 * Find correct make to use in prepare-clean. A patch by
6956 toma. Affected file prepare-clean.
6958 Sat Nov 3 22:04:00 PST 2001 Brian Costello <bc@mksecure.com>
6960 * Added irssi variables use_auto_addr, auto_bind_ip,
6961 auto_bind_port and auto_public_ip.
6963 * Changed the interface for silc_client_send_key_agreement
6964 in lib/silcclient/silcapi.h
6968 irssi/src/silc/core/silc-core.c
6970 lib/silcclient/silcapi.h
6971 irssi/src/silc/core/silc-channels.c
6972 lib/silcclient/client_keyagr.c
6975 Sat Nov 3 17:48:55 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6977 * Added silc_pkcs_public_key_compare to compare two
6978 public keys. Affected file lib/silccrypt/silcpkcs.[ch].
6980 * Check that the client who set the founder mode on the
6981 channel is the same client that is giving the founder
6982 mode to itself. It is done by comparing the saved public
6983 key (it is saved even in the authentication is passphrase).
6984 Affected file silcd/command.c.
6986 Fri Nov 2 18:52:08 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6988 * Do not process packet for disconnected socket connection.
6989 Affected file lib/silccore/silcpacket.c.
6991 * Process the DISCONNECT packet through scheduler in the
6992 client library. Affected file lib/silcclient/client.c.
6994 * Fixed the silc_client_packet_parse to not to increase
6995 the packet sequence number if the conn->sock and the
6996 current socket connection is not same. This can happen
6997 for example during key agreement when the conn includes
6998 multiple socket connections (listeners). Affected file
6999 lib/silcclient/client.c.
7001 * The sender of the file transfer request now provides also
7002 the pointer (listener) for the key exchange protocol. If
7003 the listener cannot be created then it sends empty key
7004 agreement and lets the receiver provide the listener.
7006 Added `local_ip' and `local_port' arguments to the
7007 silc_client_file_send. If they are provided they are used,
7008 if not then it will attempt to find local IP address, if
7009 not found or bind fails then the remote client will provide
7012 Affected files are lib/silcclient/client_ftp.c and
7013 lib/silcclient/silcapi.h.
7015 * Extended the FILE SEND command to support defining the
7016 local IP and port for key exchange listener. They are
7017 optional. Affected file irssi/src/silc/core/silc-servers.c.
7019 Thu Nov 1 22:10:07 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7021 * Defined to WHOIS command reply the sending of fingerprint
7022 of the client's public key (if the proof of posession of the
7023 corresponding private key is verified by the server).
7024 Updated to the protocol specification.
7026 * Added support of receiving the client's public key's
7027 fingerprint in command reply in client library. Affected
7028 file is lib/silcclient/command_reply.c, and
7029 lib/silcclient/idlist.[ch].
7031 Thu Nov 1 18:06:12 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7033 * Do not send over 128 chars long nickname to the server
7034 in NICK command. Affected file lib/silcclient/command.c.
7036 * Do not send over 256 chars long channel names to the server
7037 in JOIN command. Affected file lib/silcclient/command.c.
7039 Tue Oct 30 22:48:59 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7041 * Assure that silc_server_close_connection cannot be called
7042 twice for same socket context. Affected file is
7045 Tue Oct 30 16:58:14 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7047 * Send error message to application if opening file for
7048 writing during file transfer fails. Affected file is
7049 lib/silcclient/client_ftp.c.
7051 Remove all file transfer sessions for a client that we're
7052 removing from ID cache.
7054 Affected file is lib/silcclient/client_ftp.c.
7056 * Fixed silc_net_addr2bin to return correct address. Affected
7057 file lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
7059 * Fixed file transfer session removing on signoff notify.
7060 Affected file irssi/src/silc/core/silc-servers.c.
7062 * Added the SilcClientFileError to be returned in the monitor
7063 callback. Added NO_SUCH_FILE and PERMISSION_DENIED errors.
7064 Affected file lib/silcclient/silcapi.h.
7066 Mon Oct 29 17:43:04 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7068 * Fixed a crash in silc_client_ftp_free_sessions and
7069 silc_client_ftp_session_free_client. Affected file
7070 lib/silcclient/client_ftp.c.
7072 * Added `disabled' field in the SilcChannelEntry in the server
7073 to indicate if the server entry is disabled. Affected file
7074 silcd/idlist.h, silcd/command[_reply].c.
7076 * SILC server adds now /var/run/silcd.pid everytime it is
7077 started. Affected file silcd/silcd.c.
7079 * Added silc_server_packet_send_clients to send a packet to
7080 the provided table of client entries. Affected file
7081 silcd/packet_send.[ch].
7083 * Fixed a crash in client resolving in client_prvmsg.c in
7084 client library. Affected file lib/silcclient/client_prvmsg.c.
7086 * Do not actually remove the client directly from ID cache
7087 during SERVER_SIGNOFF, but invalidate it. This way we
7088 preserve the WHOWAS info for the client. Affected file
7089 silcd/server_util.c.
7091 * Fixed SERVER_SIGNOFF notify handling in the server. The
7092 server is now able to process incoming SERVER_SIGNOFF notify
7093 for a server that it doesn't even know about. It will remove
7094 the clients provided in the notify. Affected file
7095 silcd/packet_receive.c.
7097 * Check for partial packet in data queue after every packet that
7098 was found from the queue. Return and wait for more data if
7099 there is partial data in queue. Affected file is
7100 lib/silccore/silcpacket.c.
7102 Sun Oct 28 18:46:27 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7104 * Added SilcClietFileError enum to indicate error in
7105 file transfer. Added SILC_CLIENT_FILE_MONITOR_KEY_AGREEMENT
7106 and SILC_CLIENT_FILE_MONITOR_ERROR new monitor statuses.
7107 Affected files lib/silcclient/silcapi.h and
7108 lib/silcclient/client_ftp.c.
7110 * Check that newsize in silc_buffer_realloc is larger than
7111 the old buffer's size. Affected file lib/silcutil/silcbufutil.h.
7113 * Added better monitor of file transfers. It now monitors
7114 key agreement protocol during the file transfer too. Added
7115 error reporting too. Affected files
7116 irssi/src/silc/core/silc-servers.c,
7117 irssi/src/fe-common/silc/module-formats.[ch].
7119 * Wrote a help file for FILE command.
7121 * Added silc_rng_global_get_byte_fast to get not-so-secure
7122 random data as fast as possible. Random data is read from
7123 /dev/urandom if available and from the SILC RNG if not
7124 available. It is used in padding generation. Affected file
7125 lib/silccrypt/silcrng.[ch].
7127 * All packets in client library are now processed synchronously.
7128 Optimized packet processing a lot. Affected file
7129 lib/silcclient/client.c.
7131 * All server connection packets are processing synchronously
7132 now in server, to optimize packet processing. Affected file
7135 * Include files are installed now only in Toolkit distribution
7136 if make install is given. Affected files: all Makefile.am's.
7138 Thu Oct 25 22:44:06 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7140 * Assure that silc_client_notify_by_server_resolve does not
7141 resolve the client information multiple times. If it cannot
7142 be found by the first it cannot be found at all. Affected
7143 file lib/silcclient/client_notify.c.
7145 * Fixed WHOWAS command reply calling. Affected file
7146 lib/silcclient/command_reply.c.
7148 * Removed all references to silc_idlist_get_client from the
7149 Irssi SILC client since that call is internal call used by
7150 the library. The Irssi SILC client will use now client
7151 retrieval functions found in silcapi.h.
7153 * Fixed a bug in resolving nickname info before sending
7154 private message. It used freed memory. Affected file
7155 irssi/src/silc/core/silc-servers.c.
7157 Thu Oct 25 19:04:49 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7159 * Assure my_channels statistics cannot go negative in server.
7160 Affected files silcd/server.c, silcd/server_util.c.
7162 Wed Oct 24 19:53:05 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7164 * Upgraded dotconf 1.0.2 to 1.0.6 in lib/dotconf.
7166 Tue Oct 23 13:51:19 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7168 * Win32 Toolkit changes. Affected files
7169 win32/silc.dsw, win32/libsilc/libsilc.def,
7170 win32/libsilcclient/libsilc.def,
7171 lib/silcutil/silcutil.c, and
7172 lib/sftp/sftp_fs_memory.c.
7174 Mon Oct 22 16:35:05 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7176 * Added silc_net_localip to return local host's IP address.
7177 Affected file lib/silcutil/silcnet.[ch].
7179 * If key exchange or rekey protocol is active for a connection
7180 parse all packets syncronously since there might be packets
7181 in packet queue that we are not able to process without first
7182 processing packets before them. Affected file silcd/server,
7183 lib/silcclient/client.c.
7185 * SilcPacketParserCallback now returns TRUE or FALSE to indicate
7186 whether library should continue processing the packet.
7187 Affected file lib/silccore/silcpacket.h.
7189 * Added SilcSFTPMonitor callback, SilcSFTPMonitors and
7190 SilcSFTPMonitorData to SFTP server to monitor various
7191 SFTP client requests. Affected file lib/silcsftp/silcsftp.h,
7192 lib/silcsftp/sftp_server.c.
7194 * Added silc_file_size to return file size. Affected file
7195 lib/silcutil/silcutil.[ch].
7197 * Implemented the file transfer support for the client library.
7198 Added preliminary support for simple client to client one-file
7199 transmission. Affected file lib/silcclient/client_ftp.c,
7200 lib/silccilent/client.[ch].
7202 * Added new local command FILE to the Irssi SILC Client.
7203 It is used to perform the file transfer. It has subcommands
7204 SEND, RECEIVE, SHOW and CLOSE. Affected files
7205 irssi/src/silc/core/client_ops.c,
7206 irssi/src/silc/core/silc-server.[ch].
7208 Mon Oct 22 12:50:08 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7210 * Relay the SILC_PACKET_FTP in the server. Affected files
7211 silcd/server.c and silcd/packet_receive.c.
7213 Sun Oct 21 20:21:02 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7215 * Renamed silc_file_read and silc_file_write to functions
7216 silc_file_readfile and silc_file_writefile. Added function
7217 silc_file_open and silc_file_close. Affected files
7218 lib/silcutil/silcutil.[ch].
7220 Thu Oct 18 20:58:13 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7222 * Resolve the client info when received private message or
7223 channel message for a client which nickname we don't know.
7224 Affected files lib/silcclient/client_prvmsg.c and
7225 lib/silcclient/client_channel.c.
7227 * Do not crash in /KEY if client is not connected. Affected
7228 file irssi/src/silc/core/silc-channels.c.
7230 * Added SilcClientStatus field to the SilcClientEntry in the
7231 lib/silcclient/idlist.h.
7233 Added SILC_CLIENT_STATUS_RESOLVING to mark that the entry
7234 is incomplete and is being resolved, it won't be resolved
7237 Make sure also that USERS command reply does not resolve
7238 twice information. Affected file is
7239 lib/silcclient/command_reply.c.
7241 Make sure that silc_client_get_clients_by_list does not
7242 resolve twice same information.
7244 * Check for valid client->id in the silc_server_free_client_data.
7245 Affected file silcd/server.c.
7247 * Fixed /GETKEY nick@server not to crash if the server entry
7248 is not found. Affected file lib/silcclient/command.c.
7250 * Fixed the silc_server_check_cmode_rights to check the
7251 requested modes correctly. Affected file silcd/command.c.
7253 Thu Oct 18 12:10:22 CEST 2001 Pekka Riikonen <priikone@silcnet.org>
7255 * Better checks for non-printable chars in nick added.
7256 Affected file silcd/command.c.
7258 Thu Oct 18 09:18:58 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7260 * Call the silc_server_udpate_servers_by_server in the
7261 primary router that comes back online in the backup resuming
7262 protocol. Otherwise it routes packets wrong. Affected file
7263 silcd/server_util.[ch], silcd/server_backup.c.
7265 Wed Oct 17 16:51:18 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7267 * Added SILC_STR_UI8_[N]STRING[_ALLOC] formats to the
7268 lib/silcutil/silcbuffmt.[ch].
7270 * Redefined the SILC packet header to include the padding
7271 length. Affected file lib/silccore/silcpacket.[ch].
7273 * Added SILC_PACKET_PADLEN_MAX macro to return the padding
7274 length for maximum padding up to 128 bytes). Affected
7275 file lib/silccore/silcpacket.h.
7277 * Removed all backwards support for old 0.5.x MAC thingies.
7278 The SILC packet header change makes it impossible to be
7279 backwards compatible.
7281 * Send the ENDING packet with timeout in the backup resuming
7282 protocol. This is to assure that all routers has connected
7283 to the primary router. Affected file silcd/server_backup.c.
7285 * Changed the RNG to take the first IV from random data. It
7286 used to take it from zero actually. Changed the RNG also
7287 to use /dev/urandom during session. /dev/random is used
7288 in initialization. Affected file lib/silccrypt/silcrng.[ch].
7290 Tue Oct 16 20:45:49 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7292 * Changed the SILC packet header to have the first two bytes
7293 (the packet length) encrypted. Affected files aroung the
7294 code tree, lib/silccore/silcpacket.[ch]. Removed the
7295 SilcPacketCheckDecrypt callback. It is not needed anymore
7296 since the silc_packet_receive_process will determine now
7297 whether the packet is normal or special.
7299 * Implemented the unidirectional MAC keys. Affected files
7300 lib/silcske/silcske.c, silcd/protocol.c and
7301 lib/silcclient/protocol.c.
7303 * Implemented the packet sequence number to the MAC computation.
7304 Affected files lib/silccore/silcpacket.c, silcd/protocol.c,
7305 silcd/packet_send.c, silcd/server.c, lib/silcclient/client.c,
7306 lib/silcclient/protocol.c.
7308 Mon Oct 15 17:42:55 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7310 * Allow backup router to announce servers. All servers
7311 announced by backup router are added to the global list
7312 automatically. Update hte server's socket to our primary
7313 router also when backup router announces a server.
7314 Affected file silcd/packet_receive.c.
7316 * Do not update the client->router in the function
7317 silc_server_udpate_clients_by_server if the client is on
7318 global list. We might fail to find any specific server
7319 for locally connected clients and local cell clients. They
7320 should still use the `from' and not `to' as client->router.
7321 This fixes backup router resuming protocol. Affected file
7322 silcd/server_util.c.
7324 * Decrease channel statistics count only if the channel
7325 deletion worked. Affected files are silcd/server.c and
7326 silcd/server_util.c.
7328 * Added silc_server_update_servers_by_server to update origin
7329 of all server entries. Used during backup router protocol.
7330 Affected files silcd/server_util.[ch], silcd/server.c. and
7331 silcd/backup_router.c.
7333 * ROBODoc documented the lib/silccrypt/silchmac.h. Added new
7334 function silc_hmac_init, silc_hmac_update, silc_hmac_final,
7335 silc_hmac_get_hash and silc_hmac_get_name. Affected file
7336 lib/silccrypt/silchmac.c.
7338 Sun Oct 14 18:28:22 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7340 * Assure that router cannot reroute the same channel message
7341 to the sender. Affected file silcd/packet_receive.c.
7343 Sat Oct 13 12:46:18 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7345 * Made better checks that the channel message is not sent
7346 to the router it came from. Affected file is
7347 silcd/packet_send.c. Fixed memory leak too.
7349 * Announce informations for incoming router connection, but
7350 only after checking if it is replaced by backup router.
7351 Affected file silcd/packet_receive.c.
7353 Fri Oct 12 18:37:24 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7355 * Fixed the backup resuming protocol to work in multiple
7356 router environment. Affected file silcd/server_backup.c.
7358 * Route packet only to one router in the function
7359 silc_server_packet_send_to_channel. Affected file is
7360 silcd/packet_send.c.
7362 * Fixed silc_server_send_notify_dest to set the broadcast
7363 flag. Fixed the silc_server_send_notify_topic to actually
7364 send the TOPIC_CHANGE notify and not SERVER_SIGNOFF notify.
7365 Affected file silcd/packet_send.c.
7367 * Changed the SFTP Filesystem interface. Changed the
7368 SilcSFTPFilesystemStruct to SilcSFTPFilesystemOps to include
7369 the filesystem operation function. The SilcSFTPFilesystem
7370 is now a context that is allocated by all filesystem allocation
7371 functions and it already includes the operations structure
7372 and filesystem specific context. It is given as argument
7373 now to the silc_sftp_server_start. This made the interface
7374 a bit cleaner. Affected file lib/silcsftp/silcsftp[_fs].h,
7375 lib/silcsftp/sftp_fs_memory.c and sftp_server.c.
7377 Thu Oct 11 22:19:26 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7379 * Changed the backup router adding and getting interfaces
7380 in the server. The router that will be replaced by the
7381 specified backup router is now sent as argument. Affected
7382 files silcd/serverconfig.[ch], silcd/backup_router.[ch], and
7385 * Added silc_net_addr2bin_ne to return the binary form of
7386 the IP address in network byte order. Affected files
7387 lib/silcutil/[unix/win32].silc[unix/win32]net.[ch].
7389 Thu Oct 11 12:14:19 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7391 * Check for existing server ID in silc_server_new_server
7392 and in silc_server_connect_to_router_final and remove the
7393 old entry if it exists. Affected file silcd/packet_receive.c,
7396 * Send the channel message always to only one router, either
7397 in upstream or downstream. Affected file is
7398 silcd/packet_send.c.
7400 Tue Oct 9 17:45:43 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7402 * Wrote the definition of the backup resuming protocol to the
7403 protocol specification.
7405 * Removed one redundant channel key generation from normal
7406 server during joining procedure. Removed one redundant
7407 channel key sending from server to router during joining
7408 procedure. Affected file silcd/command.c.
7410 * Made minor bugfixes to the backup router resuming protocol.
7411 Affected file silcd/server_backup.c, server.c.
7413 Mon Oct 8 16:47:42 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7415 * Added --disable-asm configuration option. Affected files
7416 configure.in.pre, lib/silcmath/mpi/configure.in. A patch
7419 * Implemented the backup resuming protocol that is used to
7420 resume the primary router position in the cell after the
7421 primary router comes back online. Affected files
7422 silcd/server_backup.[ch], silcd/server, silcd/packet_receive.c,
7423 and silcd/server_util.[ch].
7425 Sun Oct 7 12:29:25 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7427 * Sleep two (2) seconds after sending QUIT command to server.
7428 Affected file lib/silcclient/command.c.
7430 * Assure that if outgoing data buffer is pending do not force
7431 send any data. Affected file silcd/packet_send.c.
7433 * Assure that if outgoing data buffer is pending do not force
7434 send any data. Affected file lib/silcclient/client.c.
7436 * Implemented the backup router support when the primary router
7437 goes down. The servers and routers can now use the backup
7438 router as new primary router without loosing connectivity.
7440 Sat Oct 6 21:18:54 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7442 * Added new SILC_IDLIST_STATUS_DISABLED flag for entries
7443 in the server to indicate disabled entry. All data read
7444 from the connection will be ignored and no data is sent
7445 for entry that is disabled. Affected files are
7446 silcd/idlist.h, silcd/server.c.
7448 Fri Oct 5 00:03:29 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7450 * Created SFTP client and server test programs in the
7451 lib/silcsftp/tests directory.
7453 Wed Oct 3 23:31:42 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7455 * Implemented memory filesystem (virtual filesystem) for
7456 SFTP server. Affected file lib/silcsftp/silcsftp_fs.h,
7459 Sun Sep 30 22:10:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7461 * Implemented the SFTP (SSH File Transfer Protocol) to the
7462 lib/silcsftp. It includes SFTP client and SFTP server
7465 Sun Sep 30 10:35:44 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7467 * Moved lib/silccore/silcprotocol.[ch] to the
7468 lib/silcutil library.
7470 * Added silc_buffer_format_vp and silc_buffer_unformat_vp to
7471 take variable argument list pointer as argument. Affected
7472 file lib/silcutil/silcbuffmt.[ch].
7474 * Added silc_buffer_set function that is used to set data
7475 to a SilcBuffer that is not allocated at all (SilcBufferStruct).
7476 Affected file lib/silcutil/silcbuffer.h.
7478 * Changed various routines in the core library to use the new
7479 silc_buffer_set instead of allocating new buffer only for
7482 * Added 64-bit value formatting and unformatting support to the
7483 silc_buffer_[un]format routines. Affected file is
7484 lib/silcutil/silcbuffmt.[ch].
7486 Added also 64-bit macros: SILC_GET64_MSB and SILC_PUT64_MSB,
7487 to includes/bitmove.h.
7489 Fri Sep 28 21:30:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7491 * Fixed channel user mode saving in client library. Affected
7492 file lib/silcclient/command[_reply].c.
7494 Thu Sep 27 22:52:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7496 * Defined the file transfer to the SILC Protocol. Added
7497 new packet type SILC_PACKET_FTP and defined File Transfer
7498 Payload. The mandatory file transfer protocol is SFTP
7499 (SSH File Transfer Protocol). Affected file in addition
7500 of the internet draft is lib/silccore/silcpacket.h.
7502 * Deprecated the SILC_PACKET_CELL_ROUTERS and defined new
7503 packet SILC_PACKET_RESUME_ROUTER instead. The new packet
7504 is used as part of backup router protocol when the primary
7505 router of the cell is back online and wishes to resume
7506 the position as primary router.
7508 * Redefined the MAC generation keys in the protocol. The
7509 same key is not used anymore in both direction. Both
7510 direction will now use different keys for sending and
7511 receiving. This fixes a potential security flaw. This
7512 change causes incompatibilities in the protocol.
7514 * Redefined also the MAC computation from the packet.
7515 An packet sequence number is now added to the MAC
7516 computation. This prevents possible replay attacks against
7517 the protocol. This change too causes incompatibilities
7520 Added `sequence' field to the SilcPacketContext to hold
7521 the current sequence number for the packet.
7523 Wed Sep 26 20:15:22 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7525 * Added `created' field to the SilcIDListData in the file
7526 silcd/idlist.h to indicate the time when the entry was
7529 * Added `created' field to the SilcChannelEntry too. Affected
7530 file silcd/idlist.h.
7532 * Added `creation_time' aguments to all the announcement functions
7533 in the server. If it is provided then only the entries that
7534 was created after the provided time frame are actually
7535 announced. Affected file silcd/server.[ch].
7537 * The protocol says that the Channel ID's IP address must be
7538 based on the router's IP address. Added check for this in
7539 the silc_server_new_channel when processing incoming New Channel
7540 Payload. Affected file silcd/packet_receive.c.
7542 * Print out the correct version with --version in SILC client.
7543 Affected file irssi/src/silc/core/silc-core.c.
7545 Mon Sep 24 17:19:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7547 * Fixed WHOWAS command to check for completnes of the client
7548 entry always, not just when the command is coming from client.
7549 Affected file silcd/command.c.
7551 * Added new function silc_server_packet_queue_purge to purge the
7552 outgoing data queue to the network. After the function returns
7553 it is guaranteed that the outgoing packet queue is empty.
7554 Affected file silcd/packet_send.[ch].
7556 * Purge the outgoing packet queue in the rekey protocol's final
7557 callback to assure that all rekey packets go to the network
7558 before quitting the protocol. Affected file silcd/server.c.
7560 * Added silc_client_packet_queue_parse as similar function as
7561 in server to the client library. The affected file is
7562 lib/silcclient/client.c.
7564 Sun Sep 23 15:15:53 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7566 * Splitted silcd/server.c and created silcd/server_util.[ch]
7567 for utility functions.
7569 * Added new socket flag SILC_SF_DISABLED to indicate that the
7570 connection is open but nothing can be sent to or received from
7571 the connection. Affected file lib/silcutil/silsockconn.[ch].
7572 The checking for disabled socket is checked in the low level
7573 silc_socket_write and silc_socket_read functions.
7575 Thu Sep 20 23:11:28 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7577 * Allow only nicknames and channel names that fits into the
7578 7-bit unsigned char ASCII set. Affected file silcd/command.c.
7580 Thu Sep 20 18:04:12 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7582 * When processing JOIN command reply in server check that if
7583 the channel exists in our global list we'll move it the local
7584 list. Affected file silcd/command_reply.c.
7586 * Fixed the check whether client is joined on the channel already
7587 in JOIN command. Affected file lib/silcclient/command.c.
7589 * Fixed the JOIN command reply to check whether the channel
7590 already exists. Affected file lib/silcclient/command_reply.c.
7592 Wed Sep 19 22:58:32 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7594 * Added silc_ske_status_string to map the SKE error numbers
7595 to readable strings. The affected files are
7596 lib/silcske/silcske[_status].[ch].
7598 Tue Sep 18 22:50:41 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7600 * Do not show the private channels on the WHOIS channel list
7601 as it is not allowed by the protocol. The affected file is
7604 Sun Sep 16 12:32:58 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7606 * Assure that the packet length digged from the actual packet
7607 is something sensible in the silc_packet_decrypt_rest_special
7608 in lib/silccrypt/silcpacket.c.
7610 * Free and NULL the allocated pointer in silc_hmac_alloc if
7611 the HMAC allocation fails. The affected file is
7612 lib/silccrypt/silchmac.c.
7614 * Print the selected security properties to the log files in
7615 the server. Affected file silcd/protocol.c.
7617 * Add SKE's reference counter even if calling the completion
7618 callback manually. Otherwise it goes negative, although it
7619 does not cause any problems. The affected file is
7620 lib/silcske/silcske.c.
7622 * Remove the client entry with short timeout after giving the
7623 KILL command. Affected file lib/silcclient/command.c.
7625 * Fixed to send error reply in WHOIS and IDENTIFY commands in
7626 case all found clients are already disconnected (WHOWAS would
7627 found them) in the server. Affected file silcd/command.c.
7629 * Update the last_receive (time of last data received) to be
7630 updated only when received private or channel message so that
7631 the idle time showed in WHOIS makes more sense.
7633 * Added boolean field `valid' in to the SilcClientEntry in the
7634 client library to indicate whether the entry is valid or not.
7635 This fixes the nickname change bug on channel when changing
7636 the nickname to be same than the old (like nick to Nick) the
7637 nickname formatter doesn't set the new nick anymore to Nick@host.
7638 Affected file lib/silcclient/idlist.[ch].
7640 * Now actually fixed the nickname changing on disconnection.
7641 Added new function silc_change_nick to the Irssi SILC Client.
7642 Affected file irssi/src/silc/core/client_ops.c,
7643 irssi/src/silc/core/silc-nicklist.[ch].
7645 Sat Sep 15 13:29:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7647 * Check that the public key exists in the GETKEY command before
7648 trying to encode it. Affected file silcd/command.c.
7650 * Print some notifications on received public keys with GETKEY
7651 command in the Irssi SILC Client. Affected files are
7652 irssi/src/fe-common/silc/module-formats.[ch],
7653 irssi/src/silc/core/client_ops.c.
7655 * Use IDENTIFY command to resolve the server information in the
7656 GETKEY command instead of INFO command. Affected file
7657 lib/silcclient/command.c.
7659 * All command reply functions in the client library now calls
7660 the pending command reply callbacks even if an error has
7661 occurred. The server has done this a long time and now it was
7662 time to move the client library to this as well. Now all
7663 errors can be delivered back to the pending command reply
7664 callbacks if necessary. Affected files are
7665 lib/silcclient/command[_reply].[ch].
7667 * Change the nickname on disconnection back to the username
7668 because in reconnect the server will enforce it to it anyway.
7669 Affected file irssi/src/silc/core/silc-servers.c.
7671 * Fixed a config file parsing bug in the Irssi SILC client.
7672 Affected file irssi/src/silc/core/clientconfig.c.
7674 Thu Sep 13 23:11:18 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7676 * When printing the channel mode on JOIN, verify that the
7677 channel key and channel's HMAC are valid. Affected file
7678 irssi/src/silc/core/client_ops.c.
7680 Thu Sep 13 20:24:52 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7682 * Added defines SILC_DEFAULT_CIPHER, SILC_DEFAULT_HMAC,
7683 SILC_DEFAULT_HASH and SILC_DEFAULT_PKCS in the file
7684 lib/silccrypt/[silccipher.h|silchmac.h|silchash.h|silcpkcs.h].
7686 * Removed channel key rekey task deleting from the function
7687 silc_server_save_channel_key. Affected file silcd/server.c.
7688 Added explicit timeout task context instead that is used to
7689 delete the task if we are registering a new task before the
7690 new task has elapsed.
7692 * When channel key rekey occurs the client library now saves
7693 the old channel key for a short period of time (10 seconds) and
7694 is able to use it in case some is still sending channel
7695 messages encrypted with the old key after the rekey. Affected
7696 file lib/silcclient/[idlist.h|client_channel.c].
7698 Sun Sep 9 15:49:16 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7700 * Added check to the silc_server_new_id_real to not accept
7701 new ID if it is the sender's own ID. Affected file is
7702 silcd/packet_receive.c.
7704 * Assure that we do not announce ourself or the one we've
7705 sending our announcements when we're router and are announcing
7706 servers to our primary router. Affected file silcd/server.c.
7708 * Fixed silc_server_command_identify_check_client to assemble
7709 correct WHOIS packet. It send corrupted WHOIS packet and
7710 caused problem with router to router connections. Affected
7711 file silcd/command.c.
7713 Fixed also silc_server_command_whois_check the same way
7714 as for the IDENTIFY command.
7716 * Added new SilcIDListStatus to the server in the SilcIDListData
7717 structure. The status now includes the current status of
7718 the entry (like registered, resolved etc.). Affected file
7719 silcd/idlist.[ch]. Defined a bunch of different status types
7720 as well. This replaced the old boolean registered field as well.
7722 Added resolve_cmd_ident field to the SilcClientEntry structure
7723 too so that if the entry is for example being resolved so
7724 another command may attach to the same pending command reply
7725 without requiring to resolve the same entry again. This concept
7726 should optimize the WHOIS and the IDENTIFY resolving under
7727 heavy load by taking away unnecessary resolving for entries
7728 that are being resolved already.
7730 Added support for adding multiple pending commands for one
7731 command idenfier. Affected file silcd/command[_reply].[ch].
7733 * Fixed WHOIS and IDENTIFY save to remove the cache entry
7734 before deleting the data. Otherwise the hash table will have
7735 freed data in comparison functions. Affected file is
7736 silcd/command_reply.c.
7738 * Fixed silc_idlist_replace_client_id to add the new entry to
7739 the cache with NULL nickname. Otherwise there will be invalid
7740 memory as the nickname after the nickname is freed. Affected
7741 file silcd/packet_receive.c.
7743 * Fixed the silc_idlist_get_clients_by_hash. The entries was
7744 saved into wrong slots because the previous number of entries
7745 was not taken into account. Affected file silcd/idlist.c.
7746 Fixed same thing in silc_idlist_get_clients_by_nickname too.
7748 * If we are router and we receive JOIN notify to a channel that
7749 does not have any users then notified client is marked as the
7750 channel founder, as it is it. The affected file is
7751 silcd/packet_receive.c
7753 * Added to the extended hash table API's table_del_*ext functions
7754 the destructor as argument too, so that the caller can decide
7755 which destructor to use or whether to use destructor at all.
7756 Affected file lib/silcutil/silchashtable.[ch].
7758 * Fixed ID Cache purging. It actually deleted the entries from
7759 the hash table after the data was freed. The hash table ended
7760 up comparing freed memory. The affected file is
7761 lib/silccore/silcidcache.c.
7763 Sat Sep 8 10:22:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7765 * Fixed Irssi SILC client's KILL command's HELP syntax.
7767 * The USERS command now resolves the detailed user information
7768 if the userinfo field is missing. Affected file is
7769 lib/silcclient/command_reply.c.
7771 * Do not print error in silc_file_read if the read file does
7772 not exist. Just silently return NULL. Affected file is
7773 lib/silcutil/silcutil.c.
7775 * Fixed the silc_log_output to not wine about NULL filename
7776 and to not create some bogus " " filename. Affected file is
7777 lib/silcutil/silclog.c.
7779 Fri Sep 7 22:16:38 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7781 * Fixed various printing bugs on the user interface in the
7782 Irssi SILC Client. Minor changes that were forgotten from
7785 Fri Sep 7 17:28:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7787 * Fixed the configure.in.pre and the compilation and distribution
7788 environment to support the new autoconf 2.52. That version is
7789 now required to compile the CVS trunk.
7791 Thu Sep 6 12:47:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7793 * Renamed function silc_parse_nickname to silc_parse_userfqdn
7794 to generally parse user@fqdn format strings. Affected file
7795 lib/silcutil/silcutil.c.
7797 * Added nickname_format and nickname_force_format fields to the
7798 SilcClientParams structure. The first one defines the format
7799 for the nicknames that the library will enforce if the receives
7800 multiple same nicknames. The second one is boolean value and
7801 can be used to force the library to always enforce the format
7802 to the nicknames regardles whether there are multiple nicknames
7803 or not. This configurable formatting was employed to flexibly
7804 support accessing multiple nicknames from the user interface.
7805 The userinterface can now set the nicknames to what ever format
7806 they prefer. Affected file lib/silcclient/silcapi.h.
7808 Added function silc_client_nickname_format to the file
7809 lib/silcclient/idlist.c. It performs the nickname formatting.
7811 Added new field `hostname´ to the SilcClientEntry context.
7812 It holds the hostname of the client. Affected file is
7813 lib/silcclient/idlist.h.
7815 * Irssi SILC Client sets the nicknames in nick@hostn format.
7816 Fe. priikone@otaku, priikone@otaku2 etc. Affected file
7817 irssi/src/silc/core/silc-core.c.
7819 The WHOIS printing now also shows both the real nickname and
7820 the formatted nickname so that user knows how to access the
7821 user if there are multiple same nicknames cached. Affected
7822 file irssi/src/silc/core/client_ops.c. Changed the WHOIS
7823 printing formatting too to take the hostname now as a separate
7824 argument. The Affected file is
7825 irssi/src/fe-common/silc/modules-formats.[ch].
7827 * Changed the silc_client_get_clients_local to accept the formatted
7828 nickname as argument. It accepts the real nickname too but the
7829 formatted nickname can be used to find the true entry from
7830 multiple entries. Affected file lib/silcclient/silcapi.h and
7831 lib/silcclient/idlist.c.
7833 * Added nickname_format_parse field to the SilcClientParams.
7834 It is a callback function provided by the application to parse
7835 the nickname out of the formatted nickname string. The library
7836 calls it to get the nickname from the formatted string. Since
7837 the application generally knows better the format of the nickname
7838 string it parses it instead of the library, even though library
7839 encodes the formatted string. If the callback function is not
7840 provided then the library will use the string as is. The
7841 affected file is lib/silcclient/silcapi.h.
7843 * All the nickname strings passed to the client library in
7844 commands are now expected to be formatted nickname strings.
7845 If the command does not support the formatted nickname string
7846 it will assume that the sent string is the actual nickname.
7847 Affected file lib/silcclient/command.c.
7849 Tue Sep 4 22:31:28 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7851 * Added public key authentication support to OPER and SILCOPER
7852 commands in the client library. Affected file is
7853 lib/silcclient/command.c.
7855 Tue Sep 4 12:39:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7857 * Changed the get_auth_methdod client operation to be asynchronous.
7858 It can be async if the application resolves the authentication
7859 method from the server during the negotiation. Added new
7860 SilcGetAuthMeth completion callback that the application will
7861 call after resolving the authentication method.
7863 Added function silc_client_request_authentication_method that
7864 the application can use to resolve the authentication method
7865 from the server. Added also SilcConnectionAuthRequest callback
7866 that the library will call after the server has replied. The
7867 application can call this function if it does not know the
7868 current authentication method.
7870 Affected files are lib/silcclient/client.c and
7871 lib/silcclient/silcapi.h.
7873 * The Irssi SILC client now automatically resolves the authentication
7874 method incase any configuration information is not present (and
7875 currently there never is). The affected file is
7876 irssi/src/silc/core/client_ops.c.
7878 * Fixed public key authentication from the client library.
7879 Affected file lib/silcclient/protocol.c. Changed also the
7880 protocol specification about the public key authentication in
7881 the connection authentication protocol. The actual data to be
7882 signed is now computed with a hash function before signing.
7884 * Fixed the public key authentication from the server as well.
7885 Affected file silcd/protocol.c.
7887 * Removed the mlock()'s from the memory allocation routines.
7888 Affected file lib/silcutil/silcmemory.c. The ./configure does
7889 not check anymore for the mlock(). Affected file is
7892 * Fixed USERS command in server to allow the execution of the
7893 command for private and secret channels if the client sending
7894 the command is on the channel. Affected file silcd/command.c.
7896 * Fixed silc_client_get_clients_local to return the clients
7897 count correctly. It could return wrong value. Affected file
7898 lib/silcclient/idlist.c.
7900 Mon Sep 3 20:09:59 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7902 * Fixed the lib/silcmath/mpi/mpi.h to always use 32-bit data
7903 types. The assembler optimizations seemed not to like 64-bit
7904 data types. The assmebler optimizations thus are now enabled
7905 also for BSD systems as opposed to only enable them for Linux.
7907 * Do not check for threads at all on BSD systems. Affected
7908 file configure.in.pre.
7910 * Removed -n and -h options from the Irssi SILC Client since
7911 they are not used in silc.
7913 * Fixed the prime generation to assure that the first digit
7914 of the generated random number is not zero since our conversion
7915 routines does not like number strings that starts with zero
7916 digit. If zero digit is seen the random number is regenerated.
7917 This caused some corrupted RSA keys when the zero first digit
7918 was met. Affected file lib/silcmath/silcprimegen.c.
7920 Sun Sep 2 17:17:24 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7922 * Fixed WIN32 configuration in the ./configure script.
7923 Fixed to include xti.h on environments that has it.
7924 Patches by Carsten Ilchmann and andrew.
7926 Sat Sep 1 00:29:33 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7928 * Changed the silc_id_create_client_id to be collision
7929 resistant. It is now assured that there cannot be created
7930 two same client ID's. I suspect that some weird bugs in
7931 the server were actually caused by duplicate Client IDs.
7932 Affected file silcd/serverid.[ch]. A router receiving
7933 new ID now also assures and informs the sending server
7934 if the ID caused collision.
7936 * Changed the silc_id_create_channel_id to also assure that
7937 there are no collisions.
7939 Wed Aug 29 17:55:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7941 * Statement about ignoring the Mutual Authentication flag when
7942 performing rekey with PFS was a bit misleading. It is ignored
7943 if it was set in the initial negotiation, it cannot be even
7944 set in the rekey. Fixed in the ke-auth draft. Started the
7945 new versions of the protocol drafts in the doc/.
7947 Sun Aug 26 14:59:15 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7949 * Fixed a bug in silc_client_command_identify_save when saving
7950 new channel information. The channel name was no duplicated
7951 and caused crash on exit. Affected file is
7952 lib/silcclient/command_reply.c.
7954 Fri Aug 17 23:07:45 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7956 * Fixed the getkey command handling in the server. Send just
7957 empty OK reply to the sender if the key could not be fetched
7958 (but everything else was ok, like the key just was not available).
7959 Changed the public key parameter to optional in the protocol
7960 specs so that empty OK reply can be sent. Affected file
7963 Added a message to Irssi SILC client to tell to user if the
7964 server did not return a public key.
7966 Tue Aug 14 07:29:27 CEST 2001 Pekka Riikonen <priikone@silcnet.org>
7968 * Fixed a channel key regeneration bug. It registered new
7969 timeout tasks exponentially until all system resources were
7970 used. Affected file silcd/server.c.
7972 Sun Aug 12 20:48:14 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7974 * Added the SILC Document generator to the scripts/silcdoc.
7975 It can be used to generate the Toolkit Reference Manual out
7976 of the source tree. Internally it will also use the RoboDoc
7977 generator now imported in util/robodoc.
7979 Sun Aug 12 12:28:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7981 * Added couple of return's in rekey protocol if error orccurred
7982 during the protocol. The execution must be terminated.
7983 Affected file silcd/protocol.c. Also, terminate the protocol
7984 always with timeout.
7986 Sat Aug 11 12:36:02 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7988 * The client's Client ID was created initally from the wrong
7989 nickname (it could have been in format nick@host) in the
7990 silc_server_new_client. Affected file silcd/packet_receive.c
7992 Sat Aug 11 00:29:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7994 * Added some SILC_LOG_ERROR's to various error conditions
7995 if client could not be added to ID cache. Affected files
7996 silcd/packet_receive.c and silcd/server.c.
7998 * When client's sock->user_data is freed, NULL also the
7999 client->router and client->connection pointers. Added check
8000 for these pointers being NULL to various places around the
8001 code. Affected file silcd/server.c.
8003 * Added client->data.registered == TRUE checks to various
8004 places around the code to assure that unregistered client's
8005 are not handled when it is not allowed. Affected file
8008 * Added `bool registered' fields to all
8009 silc_idlist_[server|client]_get_* routines to indicate whether
8010 the fetched client needs to be registered or not. Affected
8011 file silcd/idlist.[ch].
8013 * Add your own entry as registered to the ID cache in the
8014 server. Affected file server.c.
8016 * Fixed a bug in silc_server_new_server. The SilcServer was
8017 set as the new server's context instead of SilcServerEntry.
8018 This naturally caused some weird bugs.
8020 * Added "updated" field the SilcChannelEntry which indicates
8021 the time since the channel entry was last accessed. This
8022 can be used to determine whether it is necessary to
8023 announce the channel after backup resuming protocol.
8024 Affected files silcd/idlist.[ch].
8026 Thu Aug 9 18:28:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8028 * Do not delete the channel rekey task when adding it
8029 for in silc_server_create_channel_key.
8031 * Changed the silc_server_create_channel_key to return
8032 TRUE or FALSE to indicate the success of the channel key
8035 Thu Jul 26 11:32:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8037 * Fixed MSVC++ project files and added missing files to
8038 Makefiles under win32/.
8040 Wed Jul 25 18:43:54 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8042 * Do not add TCP_NODELAY flag if the operating system
8043 does not have it defined. Affected files are
8044 lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
8046 * Fixed buffer overflow from Irssi SILC Client. Affected
8047 file irssi/src/fe-common/core/themes.c.
8049 * Fixed double free in client library in the file
8050 lib/silcclient/client.c when disconnecting from server.
8052 * Applied double free patch from cras to Irssi SILC client.
8053 Affected files irssi/src/core/[modules/expandos].c
8055 * Fixed the disconnection handling to Irssi SILC Client.
8056 The application must call silc_client_close_connection
8057 in ops->connect client operation in case of failure of
8058 the connection. Affected file is
8059 irssi/src/silc/core/client_ops.c.
8061 * Do not set sock->protocol to NULL in the function
8062 silc_client_close_connection after executing the protocol's
8063 final callback since the sock might not be valid anymore.
8064 Affected file lib/silcclient/client.c.
8066 Wed Jul 25 16:04:35 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8068 * Do not enable SILC_THREADS if the linking with libpthread
8069 did not happen. Affected file configure.in.pre.
8071 * Added notion to protocol specification that server must
8072 verify the sent authentication payload with CMODE when
8073 setting the channel founder key. Implemented it to the
8074 server. Affected file silcd/command.c.
8076 Mon Jul 23 18:31:43 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8078 * Added _EXTRA_DIST SILC distribution variable to the
8079 distributions file. It is used to conditionally add extra
8080 files or directories to the specific distribution. Affected
8081 files ./prepare, Makefile.am.pre and distributions.
8083 Removed the `_' from the start of the distribution names.
8086 * Added README.WIN32 for instructions to compile the Toolkit
8089 Mon Jul 23 10:12:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8091 * Fixed a double free in disconnection in the server. Affected
8092 file is silcd/server.c.
8094 * Fixed the lib/silcske/groups.c to work now also with GMP
8095 MP library. The string conversion did not work when using
8096 specific base and the base is indicated in the string as well.
8098 * Created win32/ directory which now includes MSVC++ specific
8099 stuff so that toolkit (DLLs) may be compiled with MSVC++.
8100 It will appear only in the toolkit distribution
8102 Sun Jul 22 19:40:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8104 * Changed the key material distribution function in case when
8105 the hash output is too short. The data is now concatenated
8106 a bit differently than it used to. Made the change to the
8107 SKE protocol specification.
8109 * Added better GMP detection to configure.in.pre. A patch
8112 Fri Jul 20 13:16:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8114 * Fixed a minor bug in SKE that might cause some problem on
8115 some platforms. Affected file lib/silcske/silcske.c.
8117 * Added the cookie checking for initiator in the SKE. It checks
8118 that the responder returns the sent cookie unmodified. The
8119 affected file is lib/silcske/silcske.c. Added new SKE
8120 error type INVALID_COOKIE that can be sent during the
8121 negotiation. Fixed some memory leaks as well.
8123 * Added the "invalid cookie" error message to Irssi SILC client's
8126 Thu Jul 19 21:44:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8128 * Added `task_max' field to the SilcClientParams to indicate
8129 the maximum tasks the scheduler can handle. If set to zero,
8130 default values are used. Affected file lib/silcclient/silcapi.h.
8132 * Fixed memory leaks in silc_client_close_connection. Affected
8133 file lib/silcclient/client.c.
8135 * Added silc_client_del_client_entry to client library to free
8136 all memory of given client entry. Affected file is
8137 lib/silcclient/idlist.[ch].
8139 * Added new functions silc_client_del_channel and
8140 silc_client_del_server to delete channel and server entries.
8141 Affected file lib/silcclient/[silcapi.h/idlist.c].
8143 * Removed silc_client_del_client_by_id from silcapi.h.
8145 * Fixed the INFO command to return the server's own info
8146 correctly when querying by Server ID. Affected file is
8149 Thu Jul 19 14:47:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8151 * Removed the non-blocking settings in WIN32 code in the
8152 silc_sock_[read/write] and added SleepEx instead. Affected
8153 file lib/silcutil/win32/silcwin32sockconn.c. The availability
8154 of input data is now checked with FIONREAD and ioctlsocket.
8156 Wed Jul 18 18:34:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8158 * Call silc_schedule_task_del_by_context in the
8159 silc_protocol_cancel instead of silc_schedule_task_del_by_callback.
8160 Affected file lib/silccore/silcprotocol.c.
8162 * Call silc_protocol_cancel for active protocols in the
8163 silc_server_close_connection if the funtion
8164 silc_server_free_sock_user_data has not been called.
8165 Affected file silcd/server.c.
8167 * Generic tasks cannot be deleted using the del_by_fd
8168 task deleting function since generic tasks does not match
8169 any specific fd. Affected file lib/silcutil/silcschedule.[ch].
8171 * Added a notion to SILCOPER help file that the SILCOPER works
8172 only on router server, not on normal server.
8174 Wed Jul 18 09:40:04 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8176 * Added for WIN32 support for the new scheduler as well.
8177 Affected file lib/silcutil/win32/silcwin32schedule.c.
8179 * Fixed the SHA1 implementation to work on various platforms.
8181 Tue Jul 17 23:04:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8183 * Rewrote the SILC Scheduler entirely. Removed the old SILC Task
8184 API. It is part of the scheduler now. Everything else is
8185 as previously but some functions has changed their names.
8186 Checkout the lib/silcutil/silcschedule.h for the interface.
8187 Updated all applications to use the new interface. Affected
8188 files are lib/silcutil/silcschedule.[ch].
8190 Tue Jul 17 16:53:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8192 * Found a bug in the SKE implementation. The HASH value,
8193 specified by the protocol, was not computed correctly. The
8194 public key of the responder was not added to the computation
8195 even though it is mandatory. Affected file lib/silcske/silcske.c.
8196 This unfortunately causes incompatibilities with older
8197 clients and servers.
8199 * Added WIN32 specific network init and uninit functions:
8200 silc_net_win32_init and silc_net_win32_uninit to init and uninit
8201 the Winsock2. Affected file lib/silcutil/silcnet.h and
8202 lib/silcutil/win32/silcwin32net.c.
8204 * Set the socket always to nonblocking mode on WIN32 after
8205 reading data or writing data. Affected file is
8206 lib/silcutil/win32/silcwin32sockconn.c.
8208 Mon Jul 16 22:55:26 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8210 * Fixed various compilation problems under WIN32. Affected
8211 files lib/silcutil/win32/silcwin32thread.c and
8212 lib/silcutil/win32/silcwin32schedule.c.
8214 * Removed all _internal.h #includes from public header
8215 files. Internal headers must never be included from
8218 Removed also the lib/silcske/payload_internal.h file.
8220 * All include files that may be needed (public and some others
8221 included by the public headers) by application developers are
8222 now copied to the ./includes directory. It does not copy any
8223 internal headers. Affected file Makefile.defines.pre and all
8224 Makefile.am's under lib/ and subdirs.
8226 Thu Jul 12 17:49:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8228 * Do not change the ~/.silc directory's permissions automatically.
8229 Affected file irssi/src/silc/core/clientutil.c.
8231 Thu Jul 12 10:18:40 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8233 * Do not cancel the protocol in silc_server_close_connection
8234 it might cause recursion. Now cancelled in the function
8235 silc_server_free_sock_user_data. Affected file silcd/server.c.
8237 * Fixed the silc_server_remove_clients_by_server to regenerate
8238 the channel keys correctly finally. Added also new function
8239 silc_server_remove_clients_channels to actually do it.
8240 Affected file silcd/server.c.
8242 * Fixed the silc_server_new_channel to not crash by giving
8243 wrong router to the new channel. Affected file is
8244 silcd/packet_receive.c.
8246 Wed Jul 11 18:31:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8248 * Added SilcClientParams structure to the lib/silcclient/silcapi.h
8249 which is given as argument to the silc_client_alloc now.
8250 It can be used to configure the client and set various parameters
8251 that affect the function of the client.
8253 * The USERS command in server did not check whether the channel
8254 is private or secret. Affected file silcd/command.c.
8256 * Added new argument to the USERS command in protocol specification.
8257 The USERS command now can take the channel name as argument
8258 as well. Added support for this in client and server and
8259 updated the protocol specs.
8261 * Completed the GETKEY command in client. It can be now used
8262 to fetch also servers public key not only some clients.
8263 Affected files lib/silcclient/command[_reply].c.
8265 * Added silc_client_get_server to return server entry by the
8266 server name. Affected files lib/silcclient/silcapi.h and
8269 * Redefined the IDENTIFY command in protocol specification to be
8270 more generic. It now can be used to query information about
8271 any entity in the SILC Network, including clients, servers and
8272 channels. The query may be based either the entity's name
8273 or the ID. Added support for this in both client and server.
8275 Affected files silcd/command.c and lib/silcclient/command.c
8276 and command_reply.c.
8278 * Optimized the WHOIS and WHOWAS commands in the server. Removed
8279 the _from_client and _from_server functions. Affected file
8282 * Added silc_client_get_channel_by_id_resolve to the file
8283 lib/silcclient/silcapi.h to resolve channel information by
8284 its ID. Added also silc_client_get_channel_by_id that
8285 does not resolve it from the server.
8287 Tue Jul 10 18:05:38 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8289 * Added SilcServerEntry context into the client library
8290 to represent one server. The INFO command now allocates
8291 these to save the resolved server info. For now on the
8292 client library will also keep information about servers,
8293 connected and resolved with INFO.
8295 The INFO command now allocates the SilcServerEntry context
8296 and saves the server info there. The COMMAND_REPLY in
8297 the INFO now returns the parameters to application in
8298 same order as defined in the protocol specification.
8300 The entries are cached in the client->server_cache.
8302 * The INFO command is now issued after received the Client ID
8303 from the server. Affected file lib/silcclient/client.c.
8305 * The CMODE_CHANGE notify may now return also an SilcServerEntry
8306 to the application as the mode changer might be server.
8307 It is guaranteed that NULL is not returned anymore to the
8308 application. Affected file lib/silcclient/client_notify.c.
8310 The ID Type is now also passed to the application so that
8311 it can check whether the returned entry is SilcClientEntry
8314 Added new function silc_client_get_server_by_id to return
8315 the server entry by ID. Affected files are the
8316 lib/silcclient/silcapi.h and lib/silcclient/idlist.c.
8318 * Do not create the channel in the Irssi SILC Client when issuing
8319 the JOIN command but when received the sucessful JOIN command
8320 reply. Otherwise the channel might get created even though we
8321 could not join it. The Affected file is
8322 irssi/src/silc/core/[silc-channels.c/client_ops.c].
8324 * Fixed a channel joining bug in router. The router must also
8325 check the channel modes, invite and ban lists etc. when serving
8326 the JOIN command sent by normal server. Affected file is
8327 silcd/command.c. The router now resolves the client's
8328 information from the server who sent the JOIN command if it
8329 does not know it, and processes the JOIN command only after
8332 * Changed the SilcCommandCb to take new argument; void *context2.
8333 Affected file lib/silccore/silccommand.h
8335 The second argument in the command callbacks in the server now
8336 includes the SilcServerCommandReplyContext if the command was
8337 called as pending command callback from the command reply.
8338 Otherwise it is NULL. When called as pending the status of the
8339 command reply will be checked and if it was erronous the
8340 error will be sent to the original sender of the command.
8341 This way the client always receives the error messages even
8342 though the server was actually the one who received the error
8343 when it resent the command to router, for example. Affected
8344 files silcd/command[_reply].[ch].
8346 * Fixed sending WHOWAS command's error message to client if
8347 the requested client could not be found. It was missing.
8350 * Changed the CMODE and CUMODE commands reply arguments in the
8351 protocol specification. The Channel ID is now sent in both
8352 of the commands to identify the channel. Implemented this
8353 new feature to the client and server. Affected files
8354 lib/silcclient/command_reply.c and silcd/command.c.
8356 * Made better checks for invite and ban lists in the JOIN
8357 command in server. Affected file silcd/command.c.
8359 Mon Jul 9 18:28:34 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8361 * The server now performs the incoming host IP/DNS lookup
8362 using the silc_socket_host_lookup and thus does not block
8363 the server anymore. Affected file silcd/server.c.
8365 * Completed the multi-thread support for SILC Scheduler in
8366 the lib/silcutil/silcschedule.c.
8368 * Fixed the configure.in.pre to detect the pthread correctly
8371 * Fixed a deadlock in silc_task_queue_wakeup in the file
8372 lib/silcutil/silctask.c.
8374 Mon Jul 9 13:40:03 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8376 * Added new function silc_schedule_wakeup that is used in
8377 multi-threaded environment to wakeup the main thread's
8378 schduler. It needs to be used when a thread adds a new task
8379 or removes a task from task queues. After waking up, the
8380 scheduler will detect the task queue changes. If threads
8381 support is not compiled in this function has no effect.
8382 Implemented the wakeup mechanism to both Unix and WIN32
8383 systems. Affected files are lib/silcutil/silcschedule.[ch],
8384 lib/silcutil/unix/silcunixschedule.c and the
8385 lib/silcutil/win32/silcwin32schedule.c.
8387 * Added new function silc_task_queue_wakeup to wakeup the
8388 scheduler by the specified task queue. Affected file
8389 lib/silcutil/silctask.[ch].
8391 * The silc_socket_host_lookup_start now wakes up the scheduler
8392 after adding the timeout task. Affected file is
8393 lib/silcutil/silcsockconn.c.
8395 * The silc_socket_host_lookup is synchronous now if the threads
8396 support is not compiled in. However, the callback is still
8397 called asyncronously through the scheduler, anyway. Affected
8398 file lib/silcutil/silcsockconn.c.
8400 Mon Jul 9 00:24:45 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8402 * Added new function silc_socket_host_lookup to perform
8403 asynchronous IP and FQDN lookups for the socket connection.
8404 Affected files lib/silcutil/silcsockconn.[ch].
8406 Sun Jul 8 18:44:53 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8408 * Added SILC_MUTEX_DEFINE to define the mutex on environments
8409 that may or may not compile the mutex support in.
8411 Changed the silc_mutex_alloc interface. It allocates the
8412 mutex now to the sent pointer and returns TRUE or FALSE.
8414 Affected file lib/silcutil/silcmutex.h.
8416 * Wrote the SILC Task Queue interface to support multi-threads.
8417 Affected file lib/silcutil/silctask.[ch].
8419 * Wrote the SILC Scheduler to support multi-threads. Affected
8420 file lib/silcutil/silcschedule.c.
8422 Sun Jul 8 11:16:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8424 * Implemented the SILC Mutex API and SILC Thread API for WIN32
8425 in lib/silcutil/win32/.
8427 Sun Jul 8 00:18:15 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8429 * Defined SILC Mutex API and SILC Thread API and implemented
8430 them for Unix. Affected files are
8431 lib/silcutil/silcmutex.h, lib/silcutil/silcthread.h,
8432 lib/silcutil/unix/silcunixmutex.c and
8433 lib/silcutil/unix/silcunixthread.c.
8435 Sat Jul 7 14:40:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8437 * Fixed the silc_server_remove_clients_by_server's channel
8438 key re-generation. The hash table handling was incorrect
8439 and would not work with many channels. Affected file is
8442 * Fixed some memory leaks around the server code.
8444 * Rewrote the silc_server_get_users_on_channel to support IPv6
8445 based Client ID's. Affected file silcd/server.c.
8447 * Defined the SILC_MESSAGE_FLAG_SIGNED to the protocol
8448 specification. However, a separate document must be written
8449 to define the detailed signing procedure and the payload
8450 associated with the flag. Defined the flag to the
8451 lib/silccore/silcchannel.h as well.
8453 Fri Jul 6 18:26:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8455 * Changed the dynamic tables to static size tables in the
8456 lib/silccrypt/silchmac.c.
8458 * Removed GCC dependencies from the code. A patch by cras.
8460 Fri Jul 6 09:39:35 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8462 * Do not show the error "Error receiving packet bla bla"
8463 in server if it really was not an error (-2 means that reading
8464 is pending). Affected file silcd/server.c.
8466 Thu Jul 5 21:22:32 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8468 * Fixed a possible crash in silc_server_remove_clients_by_server
8469 in silcd/server.c. Fixed there also some memory leaks.
8471 * Fixed the silc_idlist_replace_client_id. It could replace
8472 wrong key in the hash table. Affected file silcd/idlist.c.
8474 * Do not check whether there are global users on the channel
8475 if the channel->global_users is FALSE. Affected functions
8476 silc_server_remove_from_one_channel and
8477 silc_server_remove_from_channels in silcd/server.c. Also,
8478 do not check if the removed client is local as we can be
8479 sure that global client was not removed from the channel
8480 and checking for global users is not needed.
8482 * The silc_server_remove_clients_by_server now re-generates
8483 the channel keys correctly for those channels that had
8484 clients removed from them. Affected file silcd/server.c.
8486 Tue Jul 3 11:39:20 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8488 * Found the reason of random crashes in the server. We weren't
8489 ignoring the SIGPIPE signal (which can be sent in write())
8490 and it crashed the server. Affected file silcd/silcd.c.
8492 Fri Jun 29 20:05:25 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8494 * Assure that sock->user_data is not NULL in the function
8495 silc_server_packet_send in silcd/packet_send.c.
8497 * Disconnect the remote connection if it could not be added
8498 to any ID lists in the server. The affected file is
8501 * Check in silc_server_packet_send[_real/dest] that the
8502 socket is not disconnecting and ignore the data if it is.
8503 Affected file silcd/packet_send.c.
8505 * Define inline to __inline on native WIN32 compilation.
8506 Affected file includes/silcwin32.h.
8508 * Added some explicit type casts for inline code since MSVC
8509 require them. Affected files lib/silcutil/silcbuffer.h,
8510 lib/trq/silcdlist.h and lib/trq/silclist.h.
8512 * Print warning in log files from now on if the packet
8513 decryption fails. Affected file silcd/server.c.
8515 Thu Jun 28 21:30:39 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8517 * Changed the `say' client operation's interface to accept
8518 new `type' argument to indicate the type of the message sent
8519 by the library. The application may filter the library's
8520 messages according the type. The affected file is the
8521 lib/silcclient/silcapi.h.
8523 * Added two new functions to lib/silcclient/silcapi.h:
8524 silc_client_del_client and silc_client_del_client_by_id.
8525 Affected file lib/silcclient/idlist.c.
8527 * Moved the clientincludes.h from includes/ to silc/ and
8528 serverincludes.h from includes/ to silcd/.
8530 * The modes for the CMODE and CUMODE are now passed as
8531 uint32 for application with COMMAND_REPLY. The affected
8532 file is lib/silcclient/command_reply.c.
8534 Wed Jun 27 22:24:47 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8536 * /WHOIS without arguments shows client's own information.
8537 Affected file lib/silcclient/command.c.
8539 * Changed PING to not accept any arguments. The specs
8540 says that client can ping only the connected server so
8541 requiring an argument is not needed. Affected file is
8542 lib/silcclient/command.c.
8544 Wed Jun 27 00:10:33 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8546 * Fixed a fatal bug in private message sending and reception
8547 encryption and decryption when using private message keys.
8548 The implementation was incorrect and did not follow the
8549 specification. It causd that some of the message were
8550 lost since it did not use the sending and receiving keys
8551 as the protocol suggests. This has been fixed and will cause
8552 incompatibilities with older clients when sending private
8553 message encrypted with private message keys. Affected files
8554 lib/silcclient/client_prvmsg.c, lib/silcclient/client_keyagr.c
8555 and various other in Irssi SILC Client.
8557 Added `responder' boolean argument to the functions
8558 silc_client_add_private_message_key[_ske] to indicate when
8559 the key is added as responder or initiator of the key
8562 Tue Jun 26 19:23:07 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8564 * Removed the silc_ske_check_version function and created
8565 a SilcSKECheckVersion callback. Added also a function
8566 silc_ske_set_callbacks that is now used to set all SKE
8567 callbacks. The callback functions are not given to
8568 the SKE functions anymore, but this function is used to
8571 * Fixed the WIN32 DLL generation in lib/Makefile.am.pre.
8573 * Added `silc_version' argument to the silc_client_alloc
8574 to define the version of the application for the library.
8575 The library will use the version string to compare it
8576 against the remote host's (usually a server) version
8577 string. Affected file lib/silcclient/silcapi.h
8579 * Added the KE protocol context to Key Agreement context
8580 in client library so that we can abort the SKE if it
8581 is in process when we get timeout. Affected file is
8582 lib/silcclient/client_keyagr.c.
8584 * Do not resolve the client ID forever if it returns in the
8585 first time that such client does not exist. This was done
8586 for example with private message. Affected file is
8587 lib/silcclient/client_prvmsg.c.
8589 Mon Jun 25 21:42:51 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8591 * Do not add regex.h for WIN32. The affected file
8592 includes/silcincludes.h.
8594 * Added WIN32 DLL generation to lib/Makefile.am.pre. It might
8595 not work yet 100%. It generates the DLL's automatically
8596 when compiling with --with-win32 under cygwin.
8598 Sun Jun 24 19:49:23 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8600 * lib/contrib/regex.c is not compiled on WIN32.
8602 * Added silc_net_get_socket_opt function to the
8603 lib/silcutil/silcnet.h.
8605 * Added includes/silcwin32.h for WIN32 specific includes
8608 * Do not use ptime structure or any of the posix process
8609 functions on WIN32 in lib/silccrypt/silrng.c.
8611 * Added silc_gettimeofday to provide generic function
8612 for struct timeval on all platforms. Added the function
8613 to lib/silcutil/silcutil.h.
8615 Sun Jun 24 12:19:52 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8617 * Moved the lib/silccore/silcsockconn.[ch] to the utility
8618 library as they clearly belong there. As a plus side we
8619 can make the actual socket connection routines platform
8622 Added also new generic function silc_socket_read and
8623 silc_socket_write (that used to be silc_packet_[read/write].
8624 The implementation of these are platform specific.
8626 * Added WIN32 specific routines of silc_socket_[read/write]
8627 to lib/silcutil/win32/silcwin32sockconn.c.
8629 Sat Jun 23 16:01:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8631 * Added preliminary support for native WIN32 compilation under
8632 cygwin (using the -mno-cygwin option for GCC) to the
8633 ./configure.in.pre. The --with-win32 now prepares the
8634 compilation for native WIN32.
8636 * Rewrote the SILC Scheduler interface in the file
8637 lib/silcutil/silcschedule.h. The scheduler is now context
8638 based and does not have anymore any global static scheduler.
8639 Moved the Unix scheduler to the lib/silcutil/unix/ directory
8640 and created lib/silcutil/win32 directory for WIN32 based
8643 * Added Unix specific network routines to the
8644 lib/silcutil/unix/silcunixnet.c and the old
8645 lib/silcutil/silcnet.c includes now only generic routines.
8647 Added WIN32 specific network routines to the
8648 lib/silcutil/win32/silcwin32net.c.
8650 * Added Unix specific utility functions from the
8651 lib/silcutil/silcutil.c to lib/silcutil/unix/silcunixutil.c.
8653 * Added WIN32 SILC Scheduler to the file
8654 lib/silcutil/win32/silcwin32schedule.c. The code is of course
8657 Fri Jun 22 10:44:14 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8659 * Do not handle JOIN notify in the server if the target client
8660 is not registered (idata->registered == FALSE). The affected
8661 file is silcd/packet_receive.c.
8663 * Update the nickrec->founder in event_cumode in the Irssi SILC
8664 client. Affected file irssi/src/silc/core/silc-channels.c.
8666 * Fixed the CUMODE_CHANGE notify handling in the server when
8667 server and router are announcing their clients on channels.
8668 Now the mode changes are saved and notified correctly. The
8669 affected file is /silcd/packet_receive.c.
8671 * Fixed silc_idlit_replace_[server/client/channel]_id functions.
8672 They really did not replace the cache entry in the ID Cache.
8673 Now they do that. Affected file silcd/idlist.c.
8675 * Fixed the KICK notify handling in the Irssi SILC client to
8676 update the channel records so that the kicked client does not
8677 appear to be on the channel. The affected file is
8678 irssi/src/silc/core/silc-channels.c.
8680 * Always update the conn->current_channel when executing command
8681 on a channel. Affected file irssi/src/silc/core/silc-servers.c.
8683 * Fixed the KILL notify handling in Irssi SILC client to remove
8684 the killed client on all channels.
8686 Thu Jun 21 17:10:08 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8688 * Fixed the silc_parse_command_line to remove extra spaces
8689 from the start and end of the arguments. Affected file is
8690 lib/silcutil/silcutil.c.
8692 * Cancel and free any active protocol in the function
8693 silc_server_close_connection. Affected file silcd/server.c.
8695 * Cancel and free any active protocol in the function
8696 silc_client_close_connction. Affected file is
8697 lib/silcclient/client.c.
8699 * Do not execute the KILL command for clients that are in
8700 history (ie. they are not in the network). Affected file is
8703 * Fixed KILL notify handling, client does not crash anymore.
8704 Affected file irssi/src/silc/core/silc-channels.c.
8706 * Reduced the default packet buffer size from 2048 to 1024 in
8707 lib/silccore/silcpacket.c.
8709 * Added SILC_SKE_STATUS_FREED SKE status type and a reference
8710 counter to the SKE context that is incresed when the SKE library
8711 performs async operation outside the library. If the outside
8712 process frees the SKE context and FREED status will be set
8713 and the library will detect after the sync operation that the
8714 libary is freed. The affected files are
8715 lib/silcske/silcske[_status].[ch].
8717 * Resolve the client entry information in the function
8718 silc_client_channel_message to assure that NULL pointer is not
8719 passed as client entry to the application. */
8721 * Fixed the task timeout calculation to assure that there is
8722 never negative timeouts. The affected file is
8723 lib/silcutil/silcschedule.c.
8725 * Fixed the channel user mode notification sending in server.
8726 It was sent point-to-point to the router (or to server by router)
8727 but it needs to be destined to a channel. The routines now
8728 supports sending the channel user mode notifys to the channels
8729 when announcing clients and channels. Affected files are
8730 silcd/server.c and silcd/packet_receive.c.
8732 * Fixed the CHANNEL_CHANGE notify handling in the client libary.
8733 It did not actually replace the old channel entry in the cache.
8734 Affected file lib/silcclient/client_notify.c.
8736 Tue Jun 19 22:10:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8738 * Fixed a possible crash in silc_packet_send_prepare. It now
8739 assures always that there is enough space in the buffer and
8740 at the tail area of the buffer (for MAC).
8742 Fixed the inbound buffer reallocation in silc_packet_read.
8743 It was old code and did not handle the reallocation correctly.
8746 The affected file is lib/silccore/silcpacket.c.
8748 * Fixed buffer overflow in silc_parse_nickname in the file
8749 lib/silcutil/silcutil.c.
8751 Tue Jun 19 13:40:09 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8753 * make install generates new server keys only if there is not
8756 Mon Jun 18 18:49:07 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8758 * Set SILC_MESSAGE_FLAG_NOREPLY when sending the away message.
8759 Added check that if the NOREPLY is set then we will not send
8760 the away message. This avoids infinite loop of away messages
8761 if both clients are away. The affected file is
8762 lib/silcclient/client_prvmsg.c.
8764 * Fixed client crash if /NICK was given without arguments.
8765 Affected file lib/silcclient/command.c.
8767 * Server does not send the invite list in INVITE command back
8768 to the client if the list was not altered. Added this notion
8769 to the protocol spec as well. Affected file silcd/command.c.
8771 Fixed possible crash in INVITE command by checking the
8772 value of silc_server_get_client_route command.
8774 * Fixed the INVITE notify type handling. The arguments are now
8775 taken in correct order and client does not crash. The affected
8776 file is irssi/src/silc/core/silc-channels.c.
8778 Removed the "Inviting xxx to channel" message from the
8779 client library away and let the application handle it.
8780 Affected file lib/silcclient/command.c. Added that message
8781 to Irssi SILC client's message formats.
8783 * Fixed CMODE command crash in client. It now checks the
8784 amount of arguments correctly and does not crash. The affected
8785 file is lib/silcclient/command.c.
8787 * Do not create new channel automatically in silc_channels_join
8788 but check whether the channel by that name already exists.
8789 Affected file irssi/silc/core/silc-channels.c.
8791 * Do not send the SERVER_SIGNOFF to router if the disconnected
8792 entity was the router. Affected file silcd/server.c.
8794 * Added the handling of the SERVER_SIGNOFF notify to the Irssi
8795 SILC client as it was missing from there.
8797 Added the handling of the KICK notify to the Irssi SILC client
8798 as it was missing. Added "you have been kicked" message to
8799 Irssi SILC client's message modules formats.
8801 Added the handing of the KILL notify to the Irssi SILC client
8802 as it was missing. Added the kill message module formats
8805 The affected file is irssi/src/silc/core/silc-channels.c.
8807 * The router did not save the channel mode the server announced.
8808 Affected file silcd/packet_receive.c.
8810 * Fixed a possible crash in INFO command in server. If the
8811 server did not provide the server info it crashed. Affected
8812 file silcd/command.c.
8814 Sun Jun 17 15:26:05 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8816 * Fixed the GETKEY command in the server to check also the
8817 global list. Otherwise the GETKEY would not work correctly
8818 in normal SILC server. Affected file silcd/command.c.
8820 Sat Jun 16 18:00:00 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8822 * Fixed GETKEY crash, it crashed if the command did not succseed.
8824 Tue Jun 12 21:36:18 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8826 * Redefined the SILC MP API in lib/silcmath/silcmp.h. The API
8827 is now real and not just an macro interface to GMP.
8829 Removed the entire GMP from the source tree and imported new
8830 NSS MPI library instead. Reason for removing GMP is that it is
8831 extremely large and compiles extremely slow. The NSS MPI
8832 is only a few files and compiles in less than 10 seconds.
8833 The speed is also about the same as GMP. The MPI is imported
8834 to lib/silcmath/mpi.
8836 If the system has GMP installed we will still use the GMP.
8837 If it is not then the NSS MPI will be compiled.
8839 Mon Jun 11 18:07:24 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8841 * Merged a long nickname (127 characters long) crash bugfix from
8842 Irssi CVS tree. Affected file irssi/src/core/misc.c.
8844 * Merged a freed memory reference bugfix from Irssi CVS tree.
8845 Affected file irssi/src/core/commands.c.
8847 Sun Jun 10 16:08:35 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8849 * Added the server's public key sving and verification to the
8850 server when performing the SKE. This was missing and the
8851 remote server's (or router's) public key was accepted without
8852 checking whether we have it previously or trust it at all.
8853 Affected file silcd/protocol.c.
8855 Sat Jun 9 20:17:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8857 * Check in the silc_server_timeout_remote if protocol is active
8858 and make sure that the protocol's final callback is called so
8859 that all memory if freed. Affected file silcd/server.c.
8861 Sat Jun 9 12:51:27 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8863 * silc_server_whois_send_reply crashed the server if the nickname
8864 was 127 characters long. Affected file silcd/command.c.
8866 Thu Jun 7 16:29:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8868 * Added sanity check to the silc_server_new_client. If the hostname
8869 is provided inside username then check that the provided hostname
8870 really is the same as the resolved one. If the hostname was not
8871 resolved then check it from the public key. Affected file is
8872 silcd/packet_receive.c.
8874 * Fixed a fatal bug in Irssi SILC client. Do not send QUIT command
8875 if the server disconnected us and the connection is not valid
8876 anymore. Affected file irssi/src/silc/core/silc-channels.c.
8878 * Moved the silc_client_[chmode|chumode|chumode_char] away from
8879 the library to the lib/silcutil/silcutil.[ch].
8881 Thu Jun 7 08:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8883 * Close log file after open. Affected file
8884 lib/silcutil/silclog.c.
8886 * Check whether sock == NULL in silc_client_send_packet and return
8887 if it is. Affected file lib/silcclient/silcclient.c.
8889 * Check rec->entry == NULL in the Irssi SILC Client before
8890 sending the channel message. Affecte file is
8891 irssi/src/silc/core/silc-servers.c.
8893 Tue Jun 5 08:08:21 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8895 * Merged a splitted window bugfix from Irssi CVS tree. The
8896 affected file is irssi/src/fe-text/textbuffer-view.c.
8898 * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
8899 It did not print nickname.
8901 * Improved the distributions system a bit.
8903 Mon Jun 4 17:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8905 * Merged /WINDOW bugfix from irssi CVS tree. Affected file is
8906 irssi/src/fe-text/gui-window.c.
8908 * Fixed a fatal bug in Irssi SILC client. Crashed if sent message
8909 to in-active server. The affected file is
8910 irssi/src/silc/core/client_ops.c.
8912 * Resolve the client in USERS command reply if the entry does
8913 not have username resolved. The affected file is
8914 lib/silcclient/command_reply.c. Also, changed the IDENTIFY
8915 command to WHOIS command to really resolve stuff. The USERS
8916 is not used any more in any critical section so WHOIS can
8917 be used even though it might be slower than IDENTIFY.
8919 * Changed the lib/silcutil/silchashtable.h header to ROBODoc
8922 Sun Jun 3 14:21:32 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8924 * Changed the protocol API a bit more consistent in the
8925 lib/silccore/silcprotocol.[ch].
8927 * Changed the following headers to ROBODoc format:
8929 lib/silccore/silcpayload.h
8930 lib/silccore/silcprotocol.h
8931 lib/silccore/silcsockconn.h
8933 All core library headers are now formatted.
8935 Sat Jun 2 10:45:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8937 * Fixed a bug in Irssi SILC client; do not show that you are
8938 server/router operator if you really are not. Affected file is
8939 irssi/src/silc/core/client_ops.c.
8941 * Renamed silc_command_free_payload to silc_command_payload_free.
8942 Affected file lib/silccore/silccommand.h
8944 * Added silcmath.h to include the prototoypes of various routines
8945 in the lib/silcmath. Removed the old modinv.h, mpbin.h and
8948 * Changed the following headers to ROBODoc format:
8950 lib/silccore/silcchannel.h
8951 lib/silccore/silccommand.h
8952 lib/silccore/silcid.h
8953 lib/silccore/silcidcache.h
8954 lib/silccore/silcmode.h
8955 lib/silccore/silcnotify.h
8956 lib/silccore/silcpacket.h
8957 lib/silcmath/silcmath.h
8959 Fri Jun 1 22:19:37 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8961 * Added checking to the server code not to start the server if
8962 ciphers and stuff are not configured properly. Affected files
8963 silcd/serverconfig.[h] and silcd/server.c.
8965 * Changed the layout of the header files of the public interfaces
8966 in the SILC libraries. The new layout supports ROBODoc
8967 documentation tool (and some others) so that it is easy to create
8968 a library reference manual. All the other headers and source
8969 code must still follow the CodingStyle document. Also source
8970 code must not include these ROBODoc stuffs, only the headers.
8971 Furthermore, all public interface headers must now be named
8972 by using `silc' prefix, example: silcapi.h, silccipher.h.
8973 Some files were renamed due to this. All the other headers
8974 must not be used as public interfaces. I will update the
8975 CodingStyle document later. Changed following headers, so far:
8977 lib/silcclient/silcapi.h
8978 lib/silccore/silcauth.h
8979 lib/silccore/silcprivate.h
8980 lib/silccrypt/silcdh.h
8982 Fri Jun 1 10:28:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8986 * Removed silc_client_packet_send_flush from the client library
8987 as it is not needed. Affected file lib/silcclient/client.[ch].
8989 * Added printing of message of unresolved authentication method
8990 to the Irssi SILC client. Added it to the module formats.
8991 Removed the same message from the client library.
8993 Thu May 31 13:57:33 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8995 * Added new distribution feature, DISTLABEL. Every distribution
8996 can define own preprocessor label that can be used in the
8997 source code. For example: #ifdef SILC_DIST_CLIENT. Affected
8998 file distributions, acconfig.h.pre and prepare.
9000 Tue May 29 22:16:40 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9002 * Added Makefile.defines_int to include the actual definitions
9003 for Makefile.defines.in. Tested the new distribution system,
9004 created distributions and tested installation.
9006 * Added AWAY message printing to the Irssi SILC client. Added
9007 the messages to the irssi/src/fe-common/silc/module-formats.[ch].
9009 * Added SCONNECT command to call the SILC's CONNECT command.
9010 Cannot use CONNECT directly since Irssi uses that internally.
9011 Affected file irssi/src/silc/core/silc-servers.c.
9013 Added ACTION local command. It is same as ME command but takes
9014 the channel as mandatory argument.
9016 Rewrote some of the Irssi's help files to suite for SILC
9019 Mon May 28 19:05:22 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9021 * Added Makefile.defines[.in] that should for now on be included
9022 in all Makefile.am file in the source tree. That file includes
9023 all common compilation definitions for SILC source tree.
9025 Mon May 28 10:30:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9027 * Minor changes to the ./prepare script to change the package
9028 name according the distribution name to the configure.in.
9030 Sun May 27 22:24:57 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9032 * Created new distribution system. Added file `distributions'
9033 that defines all the distributions that can be created out of
9034 the SILC source tree. The ./prepare script now reads that
9035 file to determine how to prepare the distributions. The
9036 first argument to the ./prepare is the name of the distribution
9037 and second is the version of the distribution. If given
9038 without arguments it creates the default (toolkit) distribution
9039 with the default version (defined in ./prepare).
9041 All Makefile.am files that are subject to the distributions
9042 are now named as Makefile.am.pre. These are ./Makefile.am
9043 and lib/Makefile.am. Others may be changed later.
9045 Sun May 27 15:57:17 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9047 * Added invite list, ban list, some key management and connection
9048 error message printing to module formats in the Irssi SILC client.
9050 * Added new silc_client_set_away_message to set the away message
9051 that is back to the person who sent private message. The
9052 affected file lib/silcclient/silcapi.h and the
9053 lib/silcclient/client_prvmsg.c.
9055 Sun May 27 12:39:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9057 * Fixed the private message sending in the Irssi SILC client,
9058 added local command KEY to the Irssi SILC client.
9060 Added key management and key agreement message formats to the
9061 irssi/src/fe-common/silc/module-formats.[ch].
9063 Added USERS (alias WHO) printing, server/router operator
9064 indication and LIST command printing to the module formats.
9066 Sat May 26 17:43:42 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9068 * Fixed channel joining notify handling, cumode notify handling
9069 from Irssi SILC client.
9071 * Added SILC specific module-formats to the Irssi SILC client so
9072 that SILC specific message hilighting, colors etc is possible.
9073 Affected file irssi/src/fe-common/silc/module-formats.[ch].
9075 Added channel mode, channel user mode, actions, notices,
9076 whois and whowas printing to the the module-formats.c.
9078 * Fixed a bug in channel deletion in the server. The channel
9079 is not left to the cache even if the channel founder auth mode
9080 is set when there are no users anymore on the channel. Affected
9081 file silcd/server.c.
9083 * The silc_net_localhost now resolves the entire hostname including
9084 the domain name. Affected file lib/silcutil/silcnet.c.
9086 Sat May 26 12:13:37 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9088 * Changed the ask_passphrase client operation to be ascynchronous.
9089 It has now a completion callback and a context that the
9090 application must call after it has got the passphrase from
9091 the user. Affected files lib/silcclient/silcapi.h,
9092 lib/silcclient/protocol.c, lib/silcclient/command.c and
9095 Added SilcAskPassphrase callback that the application calls
9096 to deliver the passphrase to the library.
9098 * Changed the SKE protocol's SilcSKEVerifyCb to be asynchronous.
9099 The public key verification and especially a certificate
9100 verification is asynchronous procedure.
9102 Added new SILC_SKE_STATUS_PENDING status to indicate the
9103 request is pending and a callback will be called to finalize
9106 Added also SILC_SKE_STATUS_PUBLIC_KEY_NOT_PROVIDED status to
9107 indicate that remote end did not send its public key (or
9108 certificate), even though we require it. Added check for this
9109 condition in the SKE. This was a security bug, now fixed.
9111 Defined new SilcSKEVerifyCbCompletion callback that is called
9112 when the verification process is completed.
9114 The affected files lib/silcske/silcske_status.h and
9115 lib/silcske/silcske.[ch].
9117 * Changed the verify_public_key client operation to be async
9118 as well. Defined SilcVerifyPublicKey callback that is used to
9119 indicate the success of the public key verification process.
9121 Changed the server and client to use the new async client
9124 * Changed the Irssi SILC client's internal scheduler to be called
9125 twice as many times as it used to be. As a result the client
9126 should be a bit faster now. Affected file is
9127 irssi/src/silc/core/silc-core.c.
9129 * Added support to Irssi SILC client of asynchronous public key
9130 verification and passphrase inquiry. Affected file is
9131 irssi/src/silc/core/silc-core.c.
9133 Fri May 25 14:38:38 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9135 * Do not say "You have left channel %s" in client library.
9136 Moved it to the application. Affected files are
9137 lib/silcclient/command.c and silc/client_ops.c.
9139 * Fixed silc_client_get_clients. Command context was not
9140 duplicated and was freed memory in the callback. Affected
9141 file lib/silcclient/idlist.c.
9143 * Do not say "you are now talking..." on JOIN command in the
9144 client library. The appliation must handle it.
9146 * Do not say ".. changed topic to" in command reply in the
9147 client libary. The application must handle it.
9149 * Fixed TOPIC command sending in the client library.
9151 * Fixed a memory leak in silc_client_command_free in the file
9152 lib/silcclient/command.c.
9154 Thu May 24 19:08:55 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9156 * Imported a modified version of Irssi client to the source tree.
9157 The Irssi will be used to create a new client called
9158 Irssi SILC. Imported to irssi/.
9160 Added silc_core_init_finish function to the Irssi. Affected
9161 file irssi/configure.in.
9163 A lot changes in the Makefile.ams around the irssi tree.
9165 Tue May 22 22:23:49 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9167 * Do not rehash if the new size is same as the old size of the
9168 hash table, in the silc_hash_table_rehash*. The affected file
9169 lib/silcutil/silchashtable.c.
9171 * Replaced hash_table_del_by_context calls from the server
9172 (when channel->user_list and client->channels) to the
9173 hash_table_del as it is sufficient and faster.
9175 Tue May 22 17:27:16 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9177 * Added silc_hash_table_list, silc_hash_table_get and the
9178 SilcHashTableList structure to provide an alternative way to
9179 traverse the hash table. The affected files are
9180 lib/silcutil/silchashtable.[ch].
9182 * Changed the server's idlist routines to use the hash table
9183 routines to optimize the code.
9185 Mon May 21 21:46:20 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9187 * Replaced the client entry's `channel' list and channel entry's
9188 `user_list' list to hash tables for optimized lookup. Changed
9189 the code to use the hash table interface around the code.
9190 Affected file lib/silcd/idlist.[ch].
9192 * Added `auto_rehash' boolean argument to the function
9193 silc_hash_table_alloc to indicate whether the hash table should
9194 auto-rehash when it thinks is appropriate time. It will
9195 increase the hash table size if the there is twice as much
9196 entries in the table than the size of the table, and will
9197 decrease the size if there are twice as less entries than
9198 the size of the table.
9200 Mon May 21 09:51:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9202 * Fixed silc_xxx_get_supported to not crash at some circumstances.
9204 Sun May 20 13:45:58 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9206 * silc_idcache_purge_by_context deletes the entry now by context
9207 as it is supposed to do. Affected file lib/silccore/idcache.c.
9209 * Send the ERR_NO_SUCH_NICK in the WHOIS command reply if the
9210 client is not anymore valid (WHOWAS givens the info) and not
9211 the ERR_NO_SUCH_CLIENT_ID if the nickname still exists.
9213 Sat May 19 16:30:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9215 * Removed the `data' and `data_len' arguments from the ID Cache
9216 interfaces and added `name' argument. ID Cache does not handle
9217 anymore the binary data only a names associated with given ID.
9219 * When hashing a Client ID with silc_hash_id the entire ID is
9220 not hashed anymore, instead only the hash of the Client ID is
9221 hashed. This way we can access the Client ID from the cache
9222 with Client ID but with the hash of the ID (which is a hash of
9223 the nickname) as well without any difference in performance.
9225 Added also silc_idcache_find_by_id_one_ext to do one on one
9226 searching when we have the actual ID. Added also function
9227 silc_hash_client_id_compare. The affected files are
9228 lib/silccore/idcache.[ch] and lib/silcutil/silcutil.[ch].
9230 * When hashing the name associated with a ID it is always done
9231 in lowercase. This way we can access the cache without worrying
9232 about case-sensitivity, even though, for example nicknames are
9235 * Fixed a bug in server with channel message sending. It put
9236 wrong ID type as destination ID. The affected file
9237 silcd/packet_send.c.
9239 * silc_idcache_del_by_context now deletes from all hash tables
9240 by context. Affected file lib/silccore/idcache.c.
9242 Fri May 18 17:42:00 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9244 * Changed the client library to use the new ID Cache interface.
9245 Changes around the source tree.
9247 * Added silc_hash_table_rehash_ext to rehash with specific
9248 hash function. Affected file lib/silcutil/silchashtable.[ch].
9250 * Added silc_hash_string_compare to compare two strings in the
9251 hash table. Affected file lib/silcutil/silcutil.[ch].
9253 Fri May 18 11:18:45 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9255 * Added new function silc_idcache_del_by_context into the
9256 lib/silccore/idcache.[ch].
9258 * Changed the server's ID list routines to use the new ID Cache
9259 interface. Changes around the source tree.
9261 Fri May 18 08:35:31 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9263 * Added silc_hash_table_del[_by_context]_ext functions in to the
9264 lib/silcutil/silchashtable.[ch].
9266 Removed silc_hash_table_find_all* routines and added new
9267 silc_hash_table_find_foreach to replace them.
9269 Added silc_hash_table_replace_ext function as extended
9270 replacing function. Separated the simple hash table interface
9271 from the extended hash table interface in the file
9272 lib/silcutil/silchashtable.h.
9274 * Fixed minor bugs and changed it to use some of the new
9275 hash table functions in lib/silccore/idcache.c
9277 Thu May 17 18:15:12 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9279 * Added new function silc_hash_table_find_all to return all keys
9280 in the hash table by the specified key. As the hash table is
9281 collision resistant it also makes it possible to have several
9282 duplicate keys in the hash table. This function may be used to
9283 find all of the keys from the hash.
9285 Added user_context arguments to the SilcHashFunction,
9286 SilcHashCompare and SilcHashDestructor to deliver user specified
9289 Added new fuctions silc_hash_table_find[_all]_ext to do
9290 extended lookup with specified hash and compare functions and
9291 specified user contexts.
9293 Added new function silc_hash_table_add_ext to add the key
9294 with specified hash function and user context.
9296 Added new function silc_hash_table_foreach to traverse all
9297 entrys in the hash table. Added SilcHashForeach callback
9300 Added new function silc_hash_table_del_by_context to delete
9301 the entry only if the context associated with the key matches.
9303 Affected files are lib/silcutil/silchashtable.[ch].
9305 * Removed silc_hash_[server/client/channel]_id and added just
9306 silc_hash_id to the lib/silcutil/silcutil.[ch]. Added also
9307 silc_hash_id_compare to compare two ID's using as the hash table
9308 comparison function. Added also silc_hash_data to hash
9309 binary data and silc_hash_data_compare to compare it.
9311 * Removed silc_idlist_find_client_by_hash as it is not needed
9312 anymore. Affected file silcd/idlist.[ch].
9314 * Rewrote the entire ID Cache system (in lib/silccore/idcache.[ch])
9315 to use internally the SilcHashTable. The new ID Cache is a lot
9316 faster than the old one. Some of the ID Cache interface was also
9317 rewritten and obsolete and stupid functions were removed.
9319 Wed May 16 23:03:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9321 * Added entry_count field to the SilcHashTable to keep the number
9322 of the entries in the table. Implemented the function
9323 silc_hash_table_rehash. Added new function
9324 silc_hash_table_count. Affected file lib/silcutil/silchashtable.c.
9326 Fixed a minor bug in silc_hash_table_free.
9328 * Added silc_hash_string, silc_hash_uint, silc_hash_ptr,
9329 silc_hash_client_id, silc_hash_server_id and silc_hash_channel_id
9330 into the lib/silcutil/silcutil.[ch].
9332 Wed May 16 20:02:47 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9334 * Implemented a collision resistant hash table into the
9335 lib/silcutil/silchashtable[ch]. See the header and the source
9336 for the SilcHashTable API.
9338 Tue May 15 22:05:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9340 * Merged dotconf version 1.0.2 into lib/dotconf.
9342 Sun May 13 19:32:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9344 * Do not compile anything in lib/silcsim/* if the SIM support
9345 is not enabled. The tree should now compile without problems
9348 Thu May 10 22:49:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9350 * Compiled the SILC under cygwin. Compiled and tested briefly
9351 without problems. More tests needed. The SIMs didn't compile
9354 * Added various #ifdef HAVE_* stuff to lib/silccrypt/silrng.c.
9356 * Fixed possible crash in silc_get_username in the
9357 lib/silcutil/silcutil.c.
9359 Tue May 8 09:04:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9361 * Fixed a va_arg in silc/client_ops.c.
9363 * Oops, RC5 routines were named AES and caused some problems
9364 when not using SIM's. Affected file lib/silccrypt/rc5.c.
9366 Sun May 6 13:59:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9368 * Added new SilcIDIP structure into the lib/silccore/id.h and
9369 replaced the old `ip' fields from all SILC ID's to that type.
9370 This is a step towards IPv6 support.
9372 The silc_id_get_len takes now the ID as an extra argument.
9373 The silc_id_id2str, silc_id_str2id and silc_id_dup now supports
9374 both IPv4 and IPv6 based ID's.
9376 The affected files are lib/silccore/id.[ch] and other files
9377 around the tree using these routines.
9379 * Removed the ID length arguments in server from various
9380 silc_server_send_notify_* routines -> they are not needed
9383 Sat May 5 13:56:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9385 * Fixed memory leak in silc_encode_pem_file in the file
9386 lib/silcutil/silcutil.c.
9388 Thu May 3 21:23:50 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9390 * Check minor version as well in the SKE. Affected files are
9391 silcd/protocol.c and lib/silcclient/protocol.c.
9393 * Added --identifier option to the server so that an identifier
9394 can be when creating the public key for the server. Affected
9395 file is silcd/silcd.c.
9397 * Fixed minor decoding bug in silc_pkcs_decode_identifier in
9398 lib/silccrypt/silcpkcs.c.
9400 Wed May 2 20:50:49 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9402 * Register default ciphers and stuff when using -C option with
9403 the server. Affected file sildc/silcd.c.
9405 * Put back the servers public key filename format, it is better
9406 than the new one. For now, the client keys are saved with the
9407 new filename format. The affected file silc/client_ops.c.
9409 * Implemented the Cipher API for the rest of the ciphers that
9410 did not implement it or implemented it the wrong way.
9412 Wed May 2 13:31:26 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9414 * Register default ciphers and stuff when using the -S option
9415 in the client. Affected file silc/silc.c. Same also when
9416 creating new key pair with -C option.
9418 Tue May 1 14:18:13 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9420 * Fixed the silc_verify_public_key client operation function to
9421 save the public keys differently. The fingerprint is now
9422 used as filename and not the hostname. This way also the
9423 client keys are saved uniquely and not with hostnames. The
9424 affected file is silc/client_ops.c.
9426 * Trimmed the silc_hash_fingerprint function to remove extra
9427 whitespaces from the end of the fingerprint. The affected
9428 file is lib/silccrypt/silchash.c.
9432 * Added silc_cipher_register_default function to register all
9433 default ciphers. It can be used when configuration files
9434 does not exist and the application does not want any specific
9435 ciphers in any specific order.
9437 The SilcDList is now used as silc_cipher_list dynamically
9438 allocated cipher list. Removed the static list all together
9439 and now all ciphers must be allocated to the dynamic list.
9440 The silc_cipher_alloc routine was changed to check only the
9443 All silc_cipher_* routines that used to return int returns
9446 The affected files lib/silccrypt/silccrypt.[ch].
9448 * The same thing was done to silc_hash_* as for silc_cipher_*
9449 routines. Affected files lib/silccrypt/silchash.[ch].
9451 * The same thing was done to silc_pkcs_* as for silc_cipher_*
9452 routines. Affected files lib/silccrypt/silcpkcs.[ch].
9453 Added also silc_pkcs_[un]register[_default] functions.
9454 Removed the data_context from the PKCS API.
9456 * Added silc_hmac_register_default function to register default
9457 hmacs. Affected files lib/silccrypt/silchmac.[ch]. Added also
9458 SILC_ALL_HMACS macro that can be used with silc_hmac_unregister
9459 to unregister all hmacs at once.
9461 * Register the default ciphers, hash functions, PKCSs and HMACs
9462 if client's configuration file does not exist. The affected
9465 * The client did not load the hash functions from the SIM
9466 modules at all. Added support for this. Affected file is
9467 silc/clientconfig.c.
9469 * When decoding public key with silc_pkcs_public_key_decode, check
9470 the supported algorithm only if PKCS are registered. Affected
9471 file lib/silccrypt/silcpkcs.c. The same was done with the
9472 silc_pkcs_private_key_decode.
9474 * Fixed the SILC List routines to keep the list always in order.
9475 It used to change the list's order when traversing the list but
9476 not it preserves the order. Affected file lib/trq/silclist.h.
9478 Mon Apr 30 17:29:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9480 * Added the client library to use the SilcSocketConnection's
9481 reference counter (by silc_socket_dup) to prevent the bug that
9482 the socket object may be freed underneath async operation.
9484 * The name resolv library checking fixes in the configure.in.pre.
9487 * Created new version of the protocol drafts for future
9488 development. The -03 drafts are the ones that will be changed
9489 in the trunk now and the -02 will remain as they are.
9491 * Send list of CUMODE notifys to the router when announcing
9492 the channel users to the router. Affected file silcd/server.c.
9493 If the router receiving channel founder CUMODE for a channel
9494 that already has channel founder it will send CUMODE notify
9495 to the sender to remove the channel founder rights from the
9496 announced client. Affected file silcd/packet_receive.c.
9498 * The CUMODE notify may now use Server ID as well as the entity
9499 who changes the mode. Updated protocool specs.
9501 * Updated INSTALL and README files.
9503 Sun Apr 29 23:17:50 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9505 * New web pages in the http://silc.pspt.fi. The pages was
9510 Sun Apr 29 13:33:41 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9512 * Implemented the [DenyConnectin] config section in the server.
9513 Added silc_server_config_denied_conn to check whether incoming
9514 connection is denied. Affected file silcd/serverconfig.[ch].
9516 * Do not check the ports when checking the incoming configuration
9517 data if the port is 0, meaning any. Affected file is
9518 silcd/serverconfig.c.
9520 Fri Apr 20 18:58:43 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9522 * Fixed buffer overflow in silc_string_compare in the file
9523 lib/silcutil/silcutil.c.
9525 * Fixed double free in silc_server_command_leave in the file
9528 Fri Apr 20 14:00:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9530 * Fixed the version checking in the server. Affected file is
9533 Thu Apr 19 19:52:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9535 * Fixed the configuration data fetching when accepting new
9536 connections in the server. Affected file silcd/server.c.
9538 Thu Apr 19 11:40:20 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9540 * Added `sender_entry' argument to the function
9541 silc_server_packet_relay_to_channel so that we can check
9542 whether some destination actually belongs to the same route
9543 the sender belongs (ie, we must not resend the packet to the
9544 sender). Affected file silcd/packet_send.[ch].
9546 * Added `servername' field to the SilcClientEntry in the server
9547 to hold the name of the server where client is from. Affected
9548 file is silcd/idlist.h.
9550 Wed Apr 18 22:19:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9552 * Moved the channel message encrypting in the router betwen
9553 router connections from silc_server_channel_message to the
9554 silc_server_packet_relay_to_channel since we want to check
9555 whether we have anybody channel before encrypting anything.
9556 Affected files silcd/packet_[receive/send].c.
9558 Tue Apr 17 21:18:19 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9560 * Fixed the [AdminConnection] server config section to support
9561 multiple entries. Affected file silcd/serverconfig.c.
9563 * Added support into the server to check the validity of the
9564 incoming connection before executing any KE or authentication
9567 * The connection configuration is now saved to the KE and
9568 connection auth protocol contexts and not fetched anymore in
9569 the protocol. Affected files silcd/server.c, silcd/protocol.[ch].
9571 * The local hosts listenning address and port is also resolved
9572 now when starting the server. We want to have the socket object
9573 to include the real address and port for the listener. Added
9574 new function silc_net_check_local_by_sock into the files
9575 lib/silcutil/silcnet.[ch].
9577 * Fixed a broadcast bug in server -> do not broadcast if we
9580 * Fixed a routing bug. Do not route broadcast packets ever.
9581 Broadcast packets must be processed always and not routed since
9582 they may be destined to some other host than yourself and thus
9583 would get routed without no good reason. Affected file is
9586 * Added function silc_server_config_is_primary_route to check
9587 whether primary router connection has been configured (a router
9588 configuration that we are initiating). If there is not, we
9589 will assume that there is only two routers in the SILC network
9590 and we will use the incoming router connection as our primary
9591 route. Affected files silcd/serverconfig.[ch], silcd/server.c.
9593 * Changed the order of the broadcasting. Broadcast _after_ the
9594 packet has been processed not before. Affected file is
9597 * Fixed a [ClientConnection] parsing bug. The port was never
9598 parsed correctly thus resulting to port 0. Affected file
9599 silcd/serverconfig.c.
9601 * Fixed silc_server_send_notify_args -> it ignored the `broadcast'
9602 argument and did not set the broadcast packet flag. Affected
9603 file silcd/packet_send.c. Fixed same bug in the function
9604 silc_server_send_notify as well.
9606 * If we receive NEW_ID packet for our own ID in the server, ignore
9609 Mon Apr 16 12:10:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9613 * Removed the nickname from the Private Message Payload.
9614 Updated the code and the protocol specs.
9616 * Updated protocol specs for submitting to the IETF.
9618 * Tweaked the Random Number Generator a bit. Affected file
9619 lib/silccrypt/silcrng.c. Exported a new function
9620 silc_rng_[global]_add_noise which can be used to add more
9623 Sat Apr 14 16:21:32 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9625 * Do not parse packets with different timeout when protocol
9626 is active -> may cause problem with rekey. Affected file
9629 * When server receives signoff notify it must not create
9630 new channel key if the client is on any channels since the
9631 sender of the signoff notify will create it.
9633 Fri Apr 13 17:12:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9635 * Added printing of error messages during SKE protocol from the
9636 failure packet sent by server during SKE. Affected file
9639 * Removed the client's failure_callback handling with timeout
9640 and handle it immediately when received.
9642 * The SKE library returned wrong type in SUCCESS and FAILURE
9643 packets. They must be 32 bit MSB not 16 bit MSB.
9645 Fri Apr 13 00:09:08 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9647 * Ok, rewrote the logic of the re-key and now it seems to work.
9648 I tested it on high traffic with frequent re-keys without
9649 problems. Added hmac_receive (and renamed hmac to hmac_send)
9650 in SilcClientConnection in lib/silcclient/client.h and
9651 in SilcIDListData in silcd/idlist.h. Also, removed the
9652 SilcPacketParserContext's cipher and hmac fields as they are
9653 not needed anymore and actually caused some problems when
9654 the ciphers and hmac's changed underneath the packet parser.
9656 Thu Apr 12 14:42:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9658 * If re-key protocol is active then process the incoming packets
9659 synchronously since we must assure that icoming packets encrypted
9660 with the old key is processed before the new keys is set to
9661 use. This is true other packets than for REKEY packets.
9662 Affected file silcd/server.c. The same was done to client library
9663 as well, affected file lib/silcclient/client.c.
9665 Thu Apr 12 12:01:52 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9667 * Fixed bug in client and server to accept the force send if
9668 the packet is send from silc_[server/client]_packet_process
9669 function. Otherwise the packets are never delivered, oops.
9671 Wed Apr 11 22:10:15 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9673 * Disable force sending of packets when REKEY protocol is active.
9674 We must assure that no packet is sent directly when rekey is
9675 performed. All packets must be sent through packet queue.
9676 Added macro SILC_SERVER_IS_REKEY to silcd/server.h and
9677 SILC_CLIENT_IS_REKEY to lib/silcclient/client.h. Affected
9678 function is silc_[server/client]_packet_send_real to check
9681 * Replaced the SIM paths from example config files to
9682 /usr/local/modules. Also, make install creates now
9683 /usr/local/silc/logs directory to hold all the SILC server
9686 Wed Apr 11 16:59:59 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9688 * Made the configure.in.pre work on Solaris. Patch by salo.
9690 * Made all ciphers compatible with non-x86 machines. Defined
9691 CBC mode macros into lib/silccrypt/ciphers_def.h.
9693 Tue Apr 10 20:32:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9695 * Fixed the make install.
9697 Tue Apr 10 16:20:34 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9699 * When MAC computation fails the silc_packet_decrypt returned 0
9700 even though it was supposed to return -1. Fixed this. The
9701 affected file is lib/silccore/silcpacket.c.
9703 * Do not replace the config files in /etc/silc (in make install)
9704 if they already exist. Affected file ./Makefile.am.
9706 * Do not send re-key packets immediately but through packet queue.
9707 Affected file silcd/protocol.c and lib/silcclient/protocol.c.
9709 * Changed silc_net_check_host_by_sock to return FALSE if the
9710 IP/DNS could not be resolved. Though, it returns the IP address
9711 now even if it could not resolve it (but returns also FALSE).
9712 Affected file lib/silcutil/silcnet.[ch].
9714 Mon Apr 9 21:54:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9716 * Added silc_pkcs_decode_identifier to decode the public key's
9717 identifier. Affected file lib/silccrypt/silpkcs.[ch].
9718 Added also silc_pkcs_free_identifier. Added also new context
9719 SilcPublicKeyIdentifier.
9721 * Added -S option to the silc client. It is used to dump the
9722 contents of the specified public key file.
9724 * Changed the PKCS api to return the public key length when
9725 setting the public key.
9727 * Fixed a fatal bug in the public and private key file loading.
9728 Affected file lib/silccrypt/silcpkcs.c.
9730 * Execute the packet parsing for client with zero (0) timeout
9731 if the protocol is active. Affected file silcd/server.c.
9733 Sun Apr 8 19:30:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9735 * Made the key generation options to the silcd program. Added
9736 -C option, equivalent to client's option.
9738 * Added new [ServerKeys] config section to the server. It
9739 configures the server's public and private key.
9741 * Defined generic Public Key Payload into the protocol
9742 specification to send specific type of public keys and
9745 * Defined new command SILC_COMMAND_GETKEY to fetch a client's
9746 public key or certificate.
9748 * Implemented the GETKEY command to the server and to the
9749 client library and on user interface.
9751 Sun Apr 8 01:37:21 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9753 * Made preliminary `make install' work.
9755 Thu Apr 5 17:42:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9757 * Added SilcServerRekey context into silcd/idlist.h.
9759 * Added the PFS support as defined in the specification to the
9760 SKE protocol. Affected files lib/silcske/*.c.
9762 * Added `ske_group' field to the SilcServerRekey context to hold
9763 the number of the SKE group that is used with PFS in re-key.
9764 Affected file silcd/idlist.h.
9766 * Added PFS re-key support to the server. Affected file is
9769 * Added silc_protocol_cancel to cancel execution of the next
9770 state of the protocol. Affected file is
9771 lib/silccore/silcprotocol.[ch].
9773 * Added the re-key support with and without PFS to the client
9774 library. Re-key is performed once in an hour, by default.
9776 Added new protocol type SILC_PROTOCOL_CLIENT_REKEY.
9777 Added silc_client_rekey_callback and silc_client_rekey_final.
9778 Affected files are lib/silcclient/protocol.[ch] and
9779 lib/silcclient/client.[ch].
9781 * Removed the `hmac_key' and `hmac_key_len' fields from the
9782 SilcClientConnection structure; not needed. Affected file is
9783 lib/silcclient/client.h.
9787 Wed Apr 4 16:32:31 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9789 * Do not ask whether user wants to use the negotiated private key
9790 for private messages, just use it. Affected file is
9791 silc/local_command.c.
9793 * Added `send_enc_key' and `enc_key_len' fields to the
9794 SilcIDListData structure since they are needed in the re-key
9795 phase. Affected file is silcd/idlist.[ch].
9797 * Implemented the simple re-key protocol into the server.
9798 Affected files silcd/server.c and silcd/protocol.[ch]. The
9799 re-key will be performed once in an hour, by default.
9801 Added new protocol type SILC_PROTOCOL_SERVER_REKEY.
9802 Added silc_server_rekey, silc_server_rekey_callback and
9803 silc_server_rekey_final.
9805 * Removed Tunneled flag from the protocol. Updated the code
9806 and the specifications.
9808 * Adde `pfs' field to the SilcIDListData to indicate whether
9809 the PFS is to be performed in the re-key. Affected file is
9812 Tue Apr 3 21:52:42 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9814 * Defined uint8, int8, uint16, int16, uint32, int32, uint64 and
9815 int64 of at least the xintXX size. If void * is less that 4
9816 bytes uint32 * will be used. Defined bool as boolean.
9818 * Changed _ALL_ unsigned long and unsigned int to uint32,
9819 unsgined short to uint16 in the source tree.
9821 * Fixed a fatal bug in silc_server_remove_clients_by_server. Do
9822 not handle clients that has entry->data.registered == FALSE.
9823 They are not in the network anymore. Affected file is
9826 Tue Apr 3 16:39:19 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9828 * Implemented the sending of the SERVER_SIGNOFF notify in the
9829 server. Affected file is silcd/server.c.
9831 * Added silc_server_send_notify_args into silcd/packet_send.[ch].
9832 Added also silc_notify_payload_encode_args into the
9833 lib/silccore/silcnotify.[ch].
9835 * Implemented ther SERVER_SIGNOFF notify handling in the server.
9836 Affected file silcd/packet_receive.c.
9838 * Implemented the SERVER_SIGNOFF notify handling in the client
9839 library. Affected file lib/silcclient/client_notify.c. Also,
9840 implemnted the printing of the SERVER_SIGNOFF info to the
9841 application. Affected file silc/client_ops.c.
9843 * The silc_idlist_del_server now returns TRUE or FALSE to indicate
9844 if the deleting was successful. Affected file silcd/idlist.[ch].
9846 * Added support for public key authentication in the connection
9847 authentication protocol in the client library. Affected file
9848 lib/silcclient/protocol.c.
9850 * Changed the server's silc_idlist_get_clients_by_* interface
9851 to support already allocated array so that new entries may be
9852 added to pre-allocated array. Affected file silcd/idlist.[ch].
9853 This fixes some bugs with WHOIS, WHOWAS and IDENTIFY commands
9854 and command replies.
9856 * All command reply functions in the server now calls the
9857 pending command callback even if error occured. This way the
9858 error will be delivered to the client as well. Affected files
9859 silcd/command.c and silcd/command_reply.c.
9861 * Fixed INFO command to return local server's info if no server
9862 was provided. Affected file lib/silcclient/command.c.
9864 * Removed RESTART command for good. Updated the code and the
9867 * Rewrote parts of the task system. It is a bit simpler now.
9868 Removed unsued task priorities. The affected files are
9869 lib/silcutil/silctask.[ch].
9871 Mon Apr 2 20:02:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9873 * Moved the USERS printing from the library to the application.
9874 Affected files lib/silcclient/command.c and silc/client_ops.c.
9876 Mon Apr 2 13:13:23 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9880 * Added channel key re-key support. The re-key is perfomed
9881 only by the router and is done once in an hour. Added `rekey'
9882 field to the SilcChannelEntry in the server. Affected files
9883 silcd/server.c and silcd/idlist.h.
9885 * Added silc_task_unregister_by_context into the file
9886 lib/silcutil/silctask.[ch].
9888 Sun Apr 1 19:49:34 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9890 * Added SILC_UMODE_GONE mode to indicate when the client is not
9891 present in the SILC network. Added also support to the local
9892 command AWAY that will set this mode. Added support of showing
9893 "xxx is gone" in WHOIS command. The USERS command shows the
9894 gone status as well.
9896 * Fixed setting server and router operator privileges in the
9897 server's UMODE command. Affected file silcd/command.c.
9899 * Merged the SKE KE1 and KE2 payloads into one payload. The
9900 new KE payload is equivalent to the old KE2 payload.
9902 Cleaned up the SKE Start Payload parsing. It now uses the
9903 simple buffer unformatting to do the parsing. A lot faster
9906 Added new Mutual Authentication flag (SILC_SKE_SP_FLAG_MUTUAL)
9907 to the SKE that is used to indicate whether both of the SKE
9908 parties should perform authentication. By default only the
9909 responder performs authentication. By setting this flag also
9910 the initiator must do authentication. By default it is unset
9911 since in normal SKE case, client to server connection, only
9912 the responder should do authentication. When doing SKE between
9913 two clients both should perform authentication. Updated the
9914 code and the protocol specs.
9916 * A little fix to IDENTIFY command in the server. Search the
9917 client first by hash not nickname. Affected file is
9920 * Fixed the silc_client_close_connection to support closing
9921 the client to client connections wihtout deleting too much
9922 data. Affected file lib/silcclient/client.c.
9924 * Fixed a fatal bug in server and client; if KE1 or KE2 packets
9925 are received if protocol used to be active but is not anymore
9926 the application would crash due to NULL pointer dereference.
9927 Affected files silcd/server.c and lib/silcclient/client.c.
9929 * Added `hash' field to the SilcClientConnection to include
9930 the hash function negotiated in the SKE protocol.
9932 * Added new channel mode SILC_CMODE_FOUNDER_AUTH that is used
9933 to set the channel founder authentication data. A client can
9934 claim the founder rights later by providing the authentication
9935 data to the CUMODE command using SILC_CUMODE_FOUNDER mode.
9936 This way the channel founder can regain the channel founder
9937 privileges even it is left the channel. This works only on
9938 local server and the client must be connected to the same
9939 server to be able to regain the founder rights. Updated the
9940 protocol specs accordingly.
9942 Added support to the CMODE command in the client to set the
9943 founder auth data. Read the README to see how to set it.
9945 Added support to the CUMODE command to claim the founder
9946 rights. Read the README to see how to do it.
9948 Added support for the founder authentication to the Channel
9949 Entry in the server. Affected file silcd/idlist.h.
9951 Added support for the SILC_CMODE_FOUNDER_AUTH mode in the
9952 server's CMODE command. Affected file silcd/command.c.
9954 * Added the following new functions into lib/silccore/silcauth.[ch]:
9955 silc_auth_get_method and silc_auth_get_data.
9957 * The server now saves the remote hosts public key to the
9958 SilcIDListData pointer. Affected file silcd/protocol.c.
9960 * The normal server now does not remove the channel entry from
9961 the cache if the founder authentication data is set. It used
9962 to remove it if the founder was the last one on the channel on
9963 the server and left the channel. The auth data is saved and
9964 if the channel is re-joined later the old entry is used with
9965 the old auth data. Affected files silcd/command_reply.c and
9968 * Removed the `pkcs' field from the SilcIDListData structure
9969 in the server; it is not used. Affected file silcd/idlist.h.
9971 Sat Mar 31 15:38:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9973 * Fixed packet processing on slow links. Partial packets were
9974 never re-processed because the incoming data buffer was cleared
9975 by the application. Application must not directly clear the
9976 sock->inbuf, the packet processing routines handle it. Fixed
9977 this in client library and in server.
9979 Fri Mar 30 16:35:27 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9981 * Fixed the WHOIS and IDENTIFY send reply function to really
9982 check whether to send list or just one entry. Affected file
9985 * Cleaned up the LEAVE command's channel key distribution. The
9986 affected file silcd/command.c.
9988 * Changed CMODE_CHANGE's <Client ID> to <ID Payload> as server
9989 can enforce the channel mode as well. In that case the ID
9990 includes the ID of the server. The code now enforces the
9991 mode change if the router have different mode than the server.
9993 * The notify client operation with CMODE_CHANGE notify can now
9994 return NULL client_entry pointer if the CMODE was not changed
9995 by client. Application must check for this.
9997 * Added <Server ID> argument to INFO command to support server
9998 info fetching by Server ID.
10000 * Added silc_server_announce_get_channel_users to get assembled
10001 packets of channel users of the specified channel. Affected
10002 file silcd/server.[ch].
10004 * Fixed bug in CHANNEL_CHANGE notify in the server. The new ID
10005 was freed underneath the ID Cache.
10007 * Re-announce clients when the server received CHANNEL_CHANGE
10008 notify from the router. Affected file silcd/packet_send.c.
10010 Thu Mar 29 19:10:28 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10012 * Fixed a fatal bug when client does /join 1 2 3 4 5 6 the server
10013 crashed since it did not handle the fact that there is no cipher
10014 called "3" and didn't check the error condition. Now fixed.
10016 * Added SILC_MESSAGE_FLAG_REQUEST message flag as generic request
10017 flag. It can be used to send message requests.
10019 Thu Mar 29 12:26:25 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10021 * Implemented the RESTART command in the client.
10023 * Added SILC_MESSAGE_FLAG_NOTICE message flag for informational
10024 notice type messages. Added notice printing to the user
10027 * The channel keys are not re-generated if the channel's mode
10028 is PRIVKEY, ie private key on the channel exists. Affected
10029 files silcd/server.c and silcd/command.c.
10031 * Fixed a little bug in channel message delivery when channel
10032 private keys are set in the server. Affected file is
10033 silcd/packet_send.c.
10035 * Changed the setting on channel->on_channel = TRUE from the
10036 silc_client_save_channel_key to the JOIN command reply. The
10037 key payload is not received if the private channel key is set.
10038 Affected file lib/silcclient/command_reply.c and the
10039 lib/silcclient/client_channel.c.
10041 * When the CMODE_CHANGE notify is sent and the channel private
10042 key mode is removed the channel key must be re-generated in
10043 other cells as well. Added this support for the router in the
10044 silcd/packet_receive.c.
10046 * Added new local command NOTICE to send notice message on
10047 channel. Affected file silc/local_command.[ch].
10049 Wed Mar 28 23:55:54 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10051 * Added new local command ME to the client. It is used to send
10052 message to a channel with SILC_MESSAGE_FLAG_ACTION to indicate
10053 some action. Affected file silc/local_command.[ch].
10055 * Changed channel_message and private_message client operations
10056 to deliver the message flags to the application. Added also
10057 the `flags' arguments to the silc_client_send_channel_message
10058 and silc_client_send_private_message functions. Affected file
10061 Wed Mar 28 20:50:47 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10063 * Redefined the Private Message Payload to support private message
10064 keys and to support the new private message flags. Updated
10065 the protocol specs. Flags makes it possible to have for example
10066 CTCP style messages.
10068 * Added new type SilcPrivateMessagePayload and defined an API
10069 for it in the lib/silcclient/silcprivate.[ch].
10071 * Tested private message private keys successfully. Tested the
10072 private message key set, unset and list commands with the new
10075 * Redefined the Channel Message Payload to include the channel
10076 message flags (equal with private message flags) to support
10077 for example CTCP style messages.
10079 * Defined some of the message (for channel and private message)
10080 flags. Updated the protocol specs and added the flags to the
10081 lib/silccore/silcchannel.h. The type is SilcMessageFlags.
10083 Wed Mar 28 15:52:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10085 * Added SilcKeyAgreementStatus type to the key agreement routines
10086 to indicate the current status and error if one occured.
10087 The status types are defined in the lib/silcclient/silcapi.h.
10089 * Added new local command KEY that is used to set and unset private
10090 keys for channels, set and unset private keys for private messages
10091 with remote clients and to send key agreement requests and
10092 negotiate the key agreement protocol with remote client. The
10093 key agreement is supported only to negotiate private message keys,
10094 it currently cannot be used to negotiate private keys for channels,
10095 as it is not convenient for that purpose.
10097 * Fixed a minor pending callback setting bug in the function
10098 silc_client_get_client_by_id_resolve, now the function works.
10099 Affected file lib/silcclient/idlist.c.
10101 * Added function silc_net_get_local_port to get local bound
10102 port by socket. Added to lib/silcutil/silcnet.[ch].
10104 * Added `sockets' and `sockets_count' fields to the SilcClient
10105 object. They hold the sockets of the listenning sockets in
10106 the client. Listenning sockets may be for example the key
10107 agreement server. Affected file lib/silcclient/client.[ch].
10108 Added functions the silc_client_add_socket and the
10109 silc_client_del_socket. They are exported to the application
10112 * Added ~./silc/clientkeys to support other client's public keys.
10114 * Renamed verify_server_key client operation to verify_public_key
10115 and added one argument to indicate the type of the connection
10116 (server, client etc.).
10118 Tue Mar 27 22:22:38 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10120 * Added silc_server_connection_auth_request to handle the
10121 incoming CONNECTION_AUTH_REQUEST packet. Affected file is
10122 silcd/packet_receive.[ch].
10124 * Added silc_server_send_connection_auth_request into the
10125 silcd/packet_send.c to send the connection auth request packet.
10127 * Cleaned up the silcd/protocol.c a bit and fixed some memory
10130 * Fixed the public key authentication in responder side in the
10131 server. The `auth_data' pointer includes the SilcPublicKey
10132 not the path to the public key. Affected file silcd/protocol.c.
10134 * Implemented the public key authentication in the initiator side
10135 in the server. Affected file silcd/protocol.c.
10137 * Removed the [RedirectClient] config section from the server
10138 configuration. Is not needed and I don't want to implement it.
10140 Tue Mar 27 12:49:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10142 * Cleaned up the CMODE command in the server. It now works
10143 correctly and supports all the modes defined in the protocol.
10144 Affected file is silcd/command.c.
10146 * Added `hmac_name' field to the SilcChannelEntry in the server
10147 to hold the default HMAC of the channel. It can be set when
10148 creating the channel (with JOIN command). Affected files
10151 * Added <cipher> and <hmac> argument to the CMODE_CHANGE notify
10152 type to indicate the change of the current cipher and hmac
10153 on the channel. Client can safely ignore the <cipher> argument
10154 (if it chooses to do so) since the CHANNEL_KEY packet will
10155 force the channel key change anyway. The <hmac> argument is
10156 important since the client is responsible of setting the new
10157 HMAC and the hmac key into use.
10159 * Fixed the CMODE command in the client library as well.
10161 * Tested CMODE command in router environment successfully.
10163 Mon Mar 26 14:39:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10165 * Show the version of the remote client (or server) when connecting
10166 to the server. It is logged to the log file. Affected file
10167 is silcd/protocol.c.
10169 * Fixed the KILLED notify handling in the client library. The
10170 client must be removed from all channels when receiving the
10173 Also, do not remove the client entry when giving the KILL
10174 command but when the KILLED notify is received.
10176 * Removed silc_idlist_find_client_by_nickname from the server.
10177 Not needed anymore. Affected files silcd/idlist.[ch].
10179 * Implemented the CHANNEL_CHANGE notify type handling to the
10180 server. Affected file silcd/server.c.
10184 Mon Mar 26 12:11:14 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10186 * Added silc_server_send_notify_invite to send the INVITE
10187 notify between routers.
10189 * Implemented the INVITE command correctly to the server.
10191 * Implemented the INVITE notify type handling in the server.
10193 * Implemented the INVITE command to the client library and on the
10196 Sun Mar 25 20:27:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10198 * Added function silc_server_get_client_resolve to find the
10199 client entry by ID from all ID lists and then resolve it
10200 (using WHOIS) if it cannot be found. Affected file is
10203 Sun Mar 25 13:52:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10205 * Implemented the BAN command to the client library.
10207 * The JOIN command in the server now checks the invite list
10210 * Changed the silc_command_reply_payload_encode_va and the
10211 silc_command_payload_encode_va to support that if argument is
10212 NULL it ignores and checks the next argument. Affected file
10213 lib/silccore/silccommand.c.
10215 * Added silc_server_send_notify_ban to send the BAN notify
10216 type between routers.
10218 * Chaned the silc_notify_payload_encode to support that if
10219 argument is NULL it ignores and checks the next argument.
10220 Affected file lib/silccore/silcnotify.c.
10222 * Tested ban lists in router environment successfully.
10224 Sat Mar 24 14:47:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10226 * Implemented BAN command to the server, in silcd/command.[ch].
10228 * Removed the BAN and INVITE_LIST modes from the CMODE command
10229 in the server code.
10231 * Added function silc_string_match to regex match two strings.
10232 Affected files lib/silcutil/silcutil.[ch].
10234 Fri Mar 23 22:02:40 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10236 * Redefined parts of the SilcChannelEntry in the server to support
10237 the new ban and invite lists.
10239 Fri Mar 23 16:25:11 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10241 * Redefined the INVITE command. The same command can be used to
10242 invite individuals to the channel but also to manage the invite
10243 list of the channel (to add to and remove from the invite list).
10244 Updated the protocol specs.
10246 * Added new command SILC_COMMAND_BAN that can be used to manage
10247 the ban list of the channel. Updated the protocol specs.
10249 * Removed the channel modes: the SILC_CMODE_BAN and the
10250 SILC_CMODE_INVITE_LIST as they were a bit kludge to be included
10251 in the CMODE command. The equivalent features are now available
10252 using INVITE and BAN commands. Updated the protocol specs.
10254 * Added new SILC_NOTIFY_TYPE_BAN notify type to notify routers
10255 in the network about change in the current ban list. The notify
10256 type is not used by the client.
10258 * Redefined parts of the SILC_NOTIFY_TYPE_INVITE command to
10259 support the invite lists.
10261 Thu Mar 22 22:52:23 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10263 * Added new function silc_string_regexify that converts string
10264 including wildcard characters into regex string that can
10265 be used by the GNU regex library. Added into the file
10266 lib/silcutil/silcutil.[ch].
10268 Added silc_string_regex_combine to combine to regex strings
10269 into one so that they can be used as one regex string by
10270 the GNU regex library. Added into the file
10271 lib/silcutil/silcutil.[ch].
10273 Added silc_string_regex_match to match two strings. It returns
10274 TRUE if the strings match. Added into lib/silcutil/silcutil.[ch].
10276 Thu Mar 22 15:29:42 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10278 * Imported GNU regex to the soruce tree into lib/contrib.
10279 Fixed some compiler warning from the regex.c.
10281 Wed Mar 21 15:27:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10283 * Fixed MOTD command in the server to work in router environment.
10285 * Fixed the MOTD command in the client library to support
10286 the server argument in the command.
10288 * Added `nickname_len' argument to the silc_idlist_add_client
10289 in the server, as the `nickname' argument may be binary data
10292 * Added silc_idlist_get_channels to return all channels from
10295 * Implemented LIST command to the server. Affected file is
10298 * Implemented the LIST command to the client library and on the
10301 * Added [<user count>] argument to the LIST command reply.
10302 With private channels the user count is not shown.
10304 * Updated TODO and README.
10306 Tue Mar 20 21:05:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10308 * The client entry's data.registered must be TRUE even with
10309 global client entry on global client list. The data.registered
10310 is used to check whether the client is anymore in the network,
10311 for example with WHOWAS command so it must be valid.
10313 * Fixed the WHOWAS command in the server. It now actually works
10314 in router environment. Added function into silcd/command_reply.c
10315 silc_server_command_reply_whowas_save.
10317 * Added silc_idlist_purge function to the silcd/idlist.c
10318 to periodically purge the ID Cache.
10320 * Fixed INFO command in the server. It works now in router
10321 environment. Added <server name> argument to the INFO command
10322 reply. Updated the protocol specs.
10324 * Fixed minor bug in silc_idcache_purge to not purge if the
10325 expire value is zero.
10327 * Fixed various bugs in WHOIS and IDENTIFY command handling as
10328 they were buggy because of the WHOWAS information.
10330 * Fixed local command MSG to handle the async resolving of
10331 the remote client properly. It used to fail the first MSG.
10332 Affected file silc/local_command.c.
10334 * Added `data_len' field to SilcIDCache context.
10336 Tue Mar 20 16:29:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10338 * Update TODO. Todo in commands in the server.
10340 Tue Mar 20 15:45:14 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10342 * Added new notify type SILC_NOTIFY_TYPE_UMODE_CHANGE that is
10343 used by routers as broadcast packet to inform other routers
10344 about the changed user mode.
10346 Implemented the notify handling in the server. Affected file is
10347 silcd/packet_receive.c. Added the function
10348 silc_server_send_notify_umode to the silcd/packet_send.[ch].
10350 * Added new generic Channel Payload and deprecated the New Channel
10351 Payload. The New Channel Payload is now the generic Channel
10354 * Added new argument `mode' to the silc_server_send_new_channel
10355 as it is required in the Channel Payload now.
10357 * Renamed the SilcChannelPayload to SilcChannelMessagePayload
10358 and created a new and real SilChannelPayload to represent the
10359 new generic Channel Payload. Implemented the encode/decode
10360 for Channel Payload. Affected file lib/silccore/silcchannel.[ch].
10362 * Added silc_server_get_client_channel_list to return the list
10363 of channels the client has joined for WHOIS command reply.
10364 Affected file silcd/server.[ch].
10366 * Implemented the channel list sending in the WHOIS command reply
10367 in server and in the client.
10369 Implemented the channel list displaying on the user interface
10370 as well. Affected file silc/client_ops.c.
10372 * Added silc_channel_payload_parse_list to parse list of Channel
10373 Payloads. It returns SilcDList list of SilcChannelPayloads.
10374 Client for example can use this function to parse the list of
10375 channels it receives in the WHOIS command reply. The caller
10376 must free the list by calling silc_channel_payload_list_free.
10377 Affected files lib/silccore/silcchannel.[ch].
10379 Mon Mar 19 21:39:15 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10381 * Added one new argument <user mode> to the WHOIS command reply
10382 to return the mode of the user in SILC. Updated the protocol
10385 Implemented it to the server and client.
10387 Mon Mar 19 18:43:06 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10389 * Fixed the mode printing on the user interface on joining.
10390 Affected file silc/client_ops.c.
10392 * Implemented the UMODE command and user modes in general to the
10393 client library and to the user interface.
10395 * Implemented the UMODE command to the server.
10397 * The server now sends UNKNOWN_COMMAND error status if client sends
10398 unknown command. Affected file silcd/command.c.
10400 * All server commands now handle the command identifier the right
10401 way when sending the command reply to the client. The client can
10402 use to identify the command replies with the identifier.
10404 Mon Mar 19 16:13:07 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10406 * Added silc_server_get_client_route to resolve the route to
10407 the client indicated by the client ID. Affected file is
10410 * Added silc_server_relay_packet as general function to relay
10411 packet to arbitrary destination. This deprecates functions
10412 like _send_private_message_key, _relay_notify etc. Affected
10413 file is silcd/packet_send.[ch].
10415 Removed silc_server_send_key_agreement,
10416 silc_server_send_private_message_key and
10417 silc_server_packet_relay_notify functions from the file
10418 silcd/packet_send.[ch].
10422 * Implemented the SILC_NOTIFY_TYPE_KILLED notify handling in the
10423 server. Affected file silcd/packet_receive.[ch].
10425 * Implemented the KILL command to the client. Implemented the
10426 SILC_NOTIFY_TYPE_KILLED notify handling in the client library.
10427 Affected files lib/silcclient/command[_reply].c and
10428 lib/silcclient/client_notify.c. Implemented the KILL notify
10429 printing in the user inteface.
10431 * Fixed a lot silc_parse_nick memory leaks from the client
10432 library in the file lib/silcclient/command.c.
10434 * Changed the silc_server_send_notify_on_channels's `sender'
10435 argument from SilcSocketConnection to SilcClientEntry to
10436 check the sender as entry and not as connection object and not
10437 to send to the client provided as argument. The affected file
10438 is silcd/packet_send.[ch].
10440 * The notify packets that are destined directly to the client used
10441 to not to be processed by the server. Now changed that and the
10442 server processes all notify packets. After relaying the packet
10443 to the client the notify packet is processed in the server.
10445 * The silc_server_free_client_data now checks whether there is
10446 pending outgoing traffic for the client and purges the data to
10447 the network before removing the client entry.
10449 Sun Mar 18 21:02:47 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10451 * Added SILC_NOTIFY_TYPE_KILLED notify type. It is sent when
10452 an client is killed from the SILC Network. Updated the protocol
10455 Added new function silc_server_send_notify_killed to the
10456 silcd/packet_send.[ch].
10458 * Added function silc_server_packet_relay_notify to relay notify
10459 packets that are destined directly to a client. In this case
10460 the server does not process the notify packets but merely relays
10461 it to the client. Affected file silcd/packet_send.[ch].
10463 Added also silc_server_packet_process_relay_notify to check
10464 whereto relay the notify. Affected file is
10465 silcd/packet_receive.[ch].
10467 * Implemented the KILL command to the server.
10471 * Added the backup schema desgined last fall to the protocol
10472 specs for everyone to see. The specification is in the
10473 *-spec-xx.txt draft and the packet type definitions for the
10474 backup routers is in *-pp-xx.txt draft. Thusly, added also
10475 new packet type SILC_PACKET_CELL_ROUTERS.
10477 * A big security problem in the implementation discovered. The
10478 signoff of an client did not cause new channel key generation
10479 which it of course should've done. The channel keys must be
10480 always re-generated when client leaves (or signoffs) the channel.
10481 The silc_server_remove_from_channels funtion now handles
10482 the channel key re-generation.
10484 * Added `sender' argument to the silc_server_send_notify_on_channels
10485 to not to send the client provided as argument. Affected file
10486 silcd/packet_send.[ch].
10488 Fri Mar 16 15:52:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10490 * Implemented OPER and SILCOPER commands into the server and
10491 the client library.
10493 * Added silc_auth_verify and silc_auth_verify_data to verify
10494 the authentication directly from the authentication payload.
10495 It supports verifying both passphrase and public key based
10496 authentication. Affected file lib/silccore/silcauth.[ch].
10498 * Added `hash' field to the SilcIDListData structure. It is the
10499 hash negotiated in the SKE protocol. Affected file is
10502 * Slight redesigning of the SilcAuthPayload handling routines.
10503 Do not send SilcPKCS but SilcPublicKey as argument.
10505 * Implemented the public key authentication support to the
10506 serverconfig. The public key is loaded from the provided path
10507 and saved as authentication data to void * pointer. Thus,
10508 changed the unsigned char *auth_data to void *auth_data;
10510 * Fixed SHUTDOWN command to send the reply before the server
10511 is shutdown. :) Affected file silcd/command.c.
10513 * Fixed fatal bug in CONNECT command. The hostname was invalid
10514 memory and server crashed. Affected file silcd/command.c.
10516 * Fixed fatal bug in CLOSE command. The server_entry became
10517 invalid but was referenced later in the command. Affected file
10520 Thu Mar 15 12:46:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10522 * Fixed fatal bug in failure packet handling. Server ignored
10523 the failure and thus crashed when it came.
10527 Wed Mar 14 20:37:35 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10529 * Added new SILC_CF_LAG_STRICT command flag that strictly forces
10530 that the command may be executed only once in (about) 2 seconds.
10531 The old SILC_CF_LAG flag is same but allows command bursts up
10532 to five before limiting.
10534 Added the support for CF_LAG and CF_LAG_STRICT flags to the
10535 server code. Various commands now includes the CF_LAG_STRICT
10536 flag to disallow any kind of miss-use of the command.
10538 * Fixed the silc_buffer_unformat to not to allocate any data
10539 if the length of the data is zero. It used to allocate the
10540 length + 1. Affected file lib/silcutil/silcbuffmt.c.
10542 Wed Mar 14 16:10:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10544 * Changed the format of AdminConnection configuration section
10545 in the server. Added username of the admin to the format.
10546 Affected files silcd/serverconfig.[ch].
10548 Added silc_server_config_find_admin into silcd/serverconfig.[ch]
10549 to return admin configuration data by host, username and/or
10552 Wed Mar 14 13:18:16 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10554 * Implemented WHOWAS command to the server. Added the functions:
10556 silc_server_command_whowas_parse,
10557 silc_server_command_whowas_send_reply,
10558 silc_server_command_whowas_from_client and
10559 silc_server_command_whowas_from_server
10561 * Added <Client ID> argument to the WHOWAS command reply. Updated
10562 the protocol specs accordingly.
10564 * Implemented WHOWAS command and command_reply to the client
10567 Implemented the WHOWAS printing on the user interface.
10569 Tue Mar 13 22:17:34 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10571 * Added new argument to the WHOWAS command reply, the real name.
10572 It is an optional argument. Updated the protocol specs.
10574 * Added SilcIDCacheDestructor callback that is registered when
10575 the SilcIDCache is allocated. The callback is called when
10576 an cache entry in the ID Cache expires, or is purged from the
10577 cache. Added into lib/silccore/idcache.[ch].
10579 Added silc_idlist_client_destructor to the silcd/idlist.[ch]
10580 to destruct the client entries when the cache entry expires.
10581 Other ID Cache's in server and in the client library ignores
10584 * If the ID Cache entry's `expire' field is zero then the entry
10585 never expires. Added boolean `expire' argument to the
10586 silc_idcache_add function in the lib/silccore/idcache.[ch].
10587 If it is TRUE the default expiry value is used.
10589 * Added silc_server_free_client_data_timeout that is registered
10590 when client disconnects. By default for 5 minutes we preserve
10591 the client entry for history - for WHOWAS command.
10593 Tue Mar 13 13:26:18 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10595 * Added support to the server to enforce that commands are not
10596 executed more than once in 2 seconds. If server receives
10597 commands from client more frequently, timeout is registered
10598 to process the commands. Affected file silcd/command.c.
10599 Added new function silc_server_command_process_timeout.
10601 * Changed NICK_NOTIFY handling in client library to check that
10602 if the client's nickname was changed, so there is no need to
10603 resolve anything from the server.
10605 * Removed error printing from the WHOIS and IDENTIFY commands.
10606 If error occurs then it is ignored silently in the client library.
10607 The application, however, may map the received error to
10608 human readable error string. The application currently maps
10609 the NO_SUCH_NICKNAME error to string.
10611 * Made the command status message public to the application. Moved
10612 them from lib/silcclient/command_reply.c to
10613 lib/silcclient/command_reply.h. The application can map the
10614 received command status to the string with the
10615 silc_client_command_status_message function.
10617 * Added check to the server to check that client's ID is same
10618 as the Source ID in the packet the client sent. They must
10621 Tue Mar 13 12:49:21 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10623 * Added dist-bzip hook to the Makefile.am to make bzip2
10624 compressed distributions.
10626 Mon Mar 12 18:43:38 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10628 * Server now enforces the maximum length for the nickname and
10629 the channel as protocol specification dictates. 128 bytes for
10630 nickname and 256 bytes for channel name.
10632 * Moved the WHOIS printing to the application. The client libary
10633 does not print out the WHOIS information anymore, the application
10634 must do it. Renamed silc_client_command_reply_whois_print to
10635 the silc_client_command_reply_whois_save.
10637 The client's idle time is also sent to the application now, and
10638 the idle is shown on screen.
10640 * Added silc_client_command_reply_identify_save to save the
10641 received IDENTIFY entries.
10643 * Do not check for channel private keys in message sending and
10644 reception if the channel does not have the PRIVKEY mode set.
10645 Affected file lib/silclient/client_channel.c.
10647 Sun Mar 11 20:25:06 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10649 * Fixed a minor bug if WHOIS and IDENTIFY command parsing that
10650 just surfaced after chaning the JOIN procedure.
10652 Sun Mar 11 14:59:05 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10654 * Added silc_client_get_clients_by_list to get client entries
10655 from Client ID list, that is returned for example by JOIN
10656 and USERS command replies. The application should use this
10657 function for example when JOIN command reply is received to
10658 resolve the clients already on the channel (library does not
10659 do that anymore as USERS command reply is not used in the JOIN
10660 procedure anymore). Affected files lib/silcclient/silcapi.h and
10661 lib/silcclient/idlist.c.
10663 * JOIN command reply and USERS command reply returns now SilcBuffer
10664 pointers instead of unsigned char pointers when returning
10665 the client list and mode list.
10667 * Added <Client ID> argument to the JOIN command reply, mainly
10668 for the server to identify for which client the command was
10669 originally sent. Updated protocol specs accordingly.
10671 * Added SilcDlist private_key pointer to the SilcChannelEntry
10672 in the client to support the channel private keys. Affected
10673 file is lib/silcclient/idlist.h.
10675 * Added SilcChannelPrivateKey argument to the function
10676 silc_client_send_channel_message so that application can choose
10677 to use specific private ke if it wants to. If it is not provided,
10678 the normal channel key is used, unless private keys are set.
10679 In this case the first (key that was added first) is used
10680 as the encryption key.
10682 * Implemented the support for channel private key handling.
10683 Implemented the following functions:
10685 silc_client_add_channel_private_key,
10686 silc_client_del_channel_private_keys,
10687 silc_client_del_channel_private_key,
10688 silc_client_list_channel_private_keys and
10689 silc_client_free_channel_private_keys
10691 Affected file lib/silcclient/client_channel.c.
10693 * Added the support for the private keys in the channel message
10694 sending and encryption and in the message reception and
10695 decryption. Affected funtions are
10696 silc_client_send_channel_message and silc_client_channel_message.
10698 Sat Mar 10 21:36:22 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10700 * Added SKE's key verify callback to the client library's
10701 KE protocol context. Affected files lib/silcclient/protocol.[ch].
10703 * Removed the statement that server (or router) must send USERS
10704 command reply when joining to the channel so that the client
10705 knows who are on the channel. Instead, the client list and
10706 client's mode list is now sent in the JOIN command reply to the
10707 client who joined channel. This is better solution.
10709 * Added function silc_server_get_users_on_channel and function
10710 silc_server_save_users_on_channel to the silcd/server.[ch].
10712 * Removed function silc_server_command_send_users from the
10715 * Do not show topic on the client library anymore. The topic is
10716 sent in the command reply notify to the application and the
10717 application must show the topic now.
10719 Sat Mar 10 00:07:37 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10721 * Added client searching by nickname hash into the IDENTIFY and
10722 WHOIS commands in the server as they were clearly missing from
10723 them. Affected file is silcd/command.c.
10725 * Fixed a bug in private message receiving in the client library.
10726 The remote ID was freed and it wasn't supposed, now it is
10729 Fri Mar 9 12:40:42 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10731 * Minor fix to the channel payload; allocate the data area, as it
10732 needs to be of specific length.
10734 * If the key agreement port is zero then the operating
10735 system will define the bound port. Affected files are
10736 lib/silcclient/silcapi.h and lib/silcclient/client_keyagr.c.
10738 * Added new function silc_channel_payload_decrypt into the file
10739 lib/silccore/silcchannel.[ch].
10741 * Moved the channel message etc, check from silc_packet_decrypt
10742 to applications. The library calls now a generic
10743 SilcPacketCheckDecrypt callback which is to return TRUE or FALSE
10744 when the packet is either normal or special. This was done to
10745 allow more wide range of checking that was not allowed when
10746 the code was in library. Now applications can do virtually any
10747 checks to the packet and return to the library the decision how
10748 the packet should be processed. Affected files are
10749 lib/silccore/silcpacket.[ch].
10751 Added silc_server_packet_decrypt_check to the server and
10752 silc_client_packet_decrypt_check to the client library.
10754 * Added silc_server_packet_send_srcdest into silcd/packet_send.[ch]
10755 to send with specified source and destination information.
10757 * Channel message delivery between routers was broken after the
10758 channel key distribution was fixed earlier. The channel key
10759 was used be to distributed to other routers as well which is not
10760 allowed by the protocol. Now this is fixed and channel keys
10761 really are cell specific and the channel message delivery between
10762 routers comply with the protocol specification.
10764 * Fixed various commands in server to check also the global list
10765 for the channel entry and not just the local list. The affected
10766 file silcd/command.c.
10768 Thu Mar 8 21:39:03 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10770 * Added assert()s to buffer formatting and unformatting routines
10771 to assert (if --enable-debug) when error occurs. Affected
10772 file: lib/silcutil/silcbuffmt.c.
10774 * Changed to auto-reconnect to check whether the remote host is
10775 router and register the re-connect timeout if it is. It used
10776 to check that whether we are normal server, but router must do
10777 auto-reconnect with another router as well. Affected file
10780 * Removed the [<key len>] option from CMODE command as the cipher
10781 name decides the key length, nowadays. See the defined ciphers
10782 from the protocol specification.
10784 * Added [<hmac>] option to the CMODE command to define the HMAC
10785 for the channel. Added SILC_CMODE_HMAC channel mode.
10787 * Added [<hmac>] option for the JOIN command so that user can
10788 select which HMAC is used to compute the MACs of the channel
10791 * Added Hmac field to the Channel Message Payload. The integrity
10792 of plaintext channel messages are now protected by computing
10793 MAC of the message and attaching the MAC to the payload. The
10794 MAC is encrypted. Now, it is clear that this causes some
10795 overhead to the size of the packet but rationale for this is that
10796 now the receiver can verify whether the channel message decrypted
10797 correctly and also when private keys are set for the channel the
10798 receiver can decrypt the packet with several keys and check from
10799 the MAC which key decrypted the message correctly.
10801 * Added silc_cipher_encrypt and silc_cipher_decrypt into the
10802 lib/silccrypt/silccipher.[ch].
10804 * Added silc_hash_len to return the digest length into the
10805 lib/silcrypt/silchash.[ch].
10807 * Rewrote parts of Silc Channel Payload interface in the
10808 lib/silccore/silcchannel.[ch]. The encode function now also
10809 encrypts the packet and parse function decrypts it.
10811 Wed Mar 7 20:58:50 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10813 * Fixed a minor formatting bug in the SKE's key material processing.
10814 It actually might have processed the keys wrong way resulting
10817 * Redefined the mandatory HMAC algorithms and added new algorithms.
10818 Added hmac-sha1-96 and hmac-md5-96 which are normal hmac-sha1
10819 and hmac-md5 truncated to 96 bits. The mandatory is now
10820 hmac-sha1-96. Rest are optional (including the one that used
10821 to be mandatory). Rationale for this is that the truncated HMAC
10822 length is sufficient from security point of view and can actually
10823 make the attack against the HMAC harder. Also, the truncated
10824 HMAC causes less overhead to the packets. See the RFC2104 for
10827 * Added new [hmac] configuration section. The SKE used to use
10828 the hash names (md5 and sha1) in the SKE proposal as HMCAS which
10829 is of course wrong. The official names that must be proposed in
10830 the SKE are the ones defined in the protocol specification
10831 (hmac-sha1-96 for example). The user can configure any hmac
10832 using any hash function configured in the [hash] section. At
10833 least, the mandatory must be configured.
10835 Rewrote the HMAC interface in lib/silccrypt/silchmac.[ch].
10837 * Added HMAC list to the SKE proposal list. It has now both
10838 hash algorithm list and HMAC list. This makes the protocol
10839 incompatible with previous versions. The SKE now seems to work
10840 the way it is supposed to work, for the first time actually.
10842 * Defined plain Hash algorithms to the protocol specification.
10843 Added sha1 and md5.
10845 Tue Mar 6 15:36:11 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10847 * Implemented support for key agreement packets into the server.
10848 Added functions silc_server_key_agreement and
10849 silc_server_send_key_agreement. Other than these functions,
10850 server has nothing to do with this packet.
10852 * Added support for private message key packets into the server.
10853 Added functions silc_server_private_message_key and
10854 silc_server_send_private_message_key.
10858 * Changed the silc_[client|server]_protocol_ke_set_keys to be
10859 called in the protocol's final callback instead in the END
10860 protocol state. This makes a little more sense and in the same
10861 time in client we can use the same protocol routines for normal
10862 key exchange and to key agreement packet handling as well.
10864 * Added to both client's and server's KE protocol context the
10865 SilcSKEKeyMaterial pointer to save the key material. We will
10866 bring the key material to the protocol's final callback by doing
10867 this. The final callback must free the key material.
10869 * Added SKE's packet_send callback into client's KE protocol
10870 context so that the caller can choose what packet sending function
10871 is used. This way we can use different packet sending when
10872 doing normal SKE when doing key agreement packet handling (in
10873 the key agreement packet handling we do not want to encrypt
10876 * Implemented the responder side of the key agreement routines
10877 in the client. The client can now bind to specified port and
10878 accept incoming key negotiation. The key material is passed
10879 to the application after the protocol is over.
10881 * Implemented the processing of incoming Key Agreement packet
10882 in the client. Added function silc_client_key_agreement to
10883 process the packet.
10885 * Implemented the intiator side of the key agreement routines
10886 in the client. The client can now initiate key agreement with
10887 another remote client. The key material is passed to the
10888 application after the protocol is over.
10890 * Created client_keyagr.c to include all the key agreement
10893 * Added macro SILC_TASK_CALLBACK_GLOBAL which is equal to the
10894 SILC_TASK_CALLBACK except that it is not static.
10896 * Created client_notify.c and moved the Notify packet handling
10897 from the client.[ch] into that file.
10899 * Created client_prvmsg.c and moved all private message and
10900 private message key routines from the client.[ch] into that file.
10902 * Create client_channel.c and moved all channel message and
10903 channel private key routines from the client.[ch] into that file.
10905 * Changed silc_client_get_client_by_id_resolve to resolve with
10906 WHOIS command instead of IDENTIFY command, in the file
10907 lib/silclient/idlist.c.
10909 Mon Mar 5 18:39:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10911 * Implemented the SKE's responder side to the Client library.
10913 * When FAILURE is received to the protocol do not trust it
10914 blindly. Register a timeout to wait whether the remote closes
10915 the connection as it should do it, only after that process the
10916 actual failure. This was changed to both client and server.
10918 * Added client_internal.h to include some of the structures
10919 there instead of client.h in lib/silcclient/.
10921 * Added function silc_task_unregister_by_callback to unregister
10922 timeouts by the callback function.
10924 Sat Mar 3 19:15:43 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10926 * Some "Incomplete WHOIS info" errors has been appearing on the
10927 log files. Took away the entry->userinfo check from WHOIS
10928 reply sending. The entry->userinfo is now " " if client did not
10929 provide one. I thought this was fixed earlier but something
10930 is wrong still. Let's see if the error still appears.
10932 Wed Feb 28 20:56:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10934 * Fixed a minor bug in the login when the channel key is
10935 re-generated in the server. It used to generate the key in
10936 wrong order and thus caused problems in the channel traffic.
10938 * Fixed a minor bug in channel key distsribution after
10939 KICK command. The key was not sent to the router even though
10942 Tue Feb 27 20:24:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10944 * Added silc_ske_process_key_material_data as generic routine
10945 to process any key material as the SILC protocol dictates. The
10946 function is used by the actual SKE library but can be used by
10947 applications as well. This relates to the private message keys
10948 and the channel private keys since they must be processed the
10949 same way the normal SILC session keys. The protocol dictates
10950 this. Affected files: lib/silcske/silcske.[ch].
10952 Added also silc_ske_free_key_material to free the
10953 SilcSKEKeyMaterial structure.
10955 * Defined silc_cipher_set_key function to set the key for
10956 cipher without using the object's method function. The affected
10957 files: lib/silccrypt/silccipher.[ch].
10959 * Implemented silc silc_client_add_private_message_key,
10960 silc_client_add_private_message_key_ske,
10961 silc_client_del_private_message_key,
10962 silc_client_list_private_message_keys and
10963 silc_client_free_private_message_keys functions in the
10966 Added functions silc_client_send_private_message_key to send
10967 the Private Message Key payload and silc_client_private_message_key
10968 to handle incoming Private Message Key payload.
10970 * Added Cipher field to the Private Message Key payload to set
10971 the cipher to be used. If ignored, the default cipher defined
10972 in the SILC protocol (aes-256-cbc) is used.
10974 Tue Feb 27 13:30:52 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10976 * Removed lib/silcclient/ops.h file.
10978 Redefined parts of the SILC Client Library API. Created new
10979 file silcapi.h that deprecates the ops.h file and defines the
10980 published Client Library API. Defined also private message key
10981 API and channel private key API into the file.
10983 This is the file that the application must include from the
10984 SILC Client Library. Other files need not be included by
10985 the application anymore.
10987 * Added new key_agreement client operation callback and also
10988 defined the Key Agreement library API for the application.
10990 Tue Feb 27 11:28:31 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10992 * Added new packet type: SILC_PACKET_KEY_AGREEMENT. This packet
10993 is used by clients to request key negotiation between another
10994 client in the SILC network. If the negotiation is started it
10995 is performed using the SKE protocol. The result of the
10996 negotiation, the secret key material, can be used for example
10997 as private message key.
10999 Implemented the Key Agreement payload into the files
11000 lib/silccore/silauth.[ch].
11002 Mon Feb 26 12:13:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11004 * Redefined ciphers for the SILC protocol. Added some new ciphers
11005 and defined the key lengths for the algorithms. Changed the
11006 code accordingly. The default key length is now 256 bits.
11008 * Fixed SKE key distribution function silc_ske_process_key_material
11009 when the key length is more than 128 bits. The default key
11010 length in SILC is now 256 bits.
11012 * Added new command status type: SILC_STATUS_ERR_UNKOWN_ALGORITHM
11013 to indicate unsupported algorithm.
11015 * Renamed rijndael.c to aes.c and all functions as well.
11017 * Fixed a long standing channel key setting bug in client library.
11018 Weird that it has never surfaced before.
11020 * Fixed bug in channel deletion. If the entire channel is removed
11021 then it must also delete the references of the channel entry
11022 from the client's channel list as the client's channel entry and
11023 the channel's client entry share same memory.
11025 Sun Feb 25 20:47:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11027 * Implemented CONNECT and SHUTDOWN commands in the client.
11029 * Implemented CLOSE command to the client.
11031 * Added the function silc_idlist_find_server_by_name into the
11032 files silcd/idlist.[ch].
11034 Added the function silc_idlist_find_server_by_conn into the
11035 files silcd/idlist.[ch].
11037 Sat Feb 24 23:45:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11039 * DIE command was renamed to SHUTDOWN. Updated the both code
11040 and protocol specs.
11042 * Defined SILC_UMODE_NONE, SILC_UMODE_SERVER_OPERATOR and
11043 SILC_UMODE_ROUTER_OPERATOR modes into lib/silccore/silcmode.h.
11045 * Implemented CONNECT, CLOSE and SHUTDOWN commands to the server
11048 * Added function silc_server_create_connection function to create
11049 connection to remote router. My server implementation actually
11050 does not allow router to connect to normal server (it expects
11051 that normal server always initiates the connection to the router)
11052 so the CONNECT command is only good for connecting to another
11055 Sat Feb 24 16:03:45 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11057 * Added SILC_NOTIFY_TYPE_KICKED to indicate that the client
11058 or some other client was kicked from the channel.
11060 Implemented the handling of the notify type to both client
11063 Implemented silc_server_send_notify_kicked to send the KICKED
11064 notify. It is used to send it to the server's primary router.
11066 * Implemented the KICK command into server and client.
11068 * Added `query' argument to the silc_idlist_get_client function
11069 to indicate whether to query the client from server or not if
11072 * Added new command status type SILC_STATUS_ERR_NO_CHANNEL_FOPRIV
11073 to indicate that the client is not channel founder.
11077 Sat Feb 24 00:00:55 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11079 * Removed the rng context from SilcPacketContext structure and
11080 changed that the packet routine uses the Global RNG API.
11082 Fri Feb 23 11:22:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11084 * Added support for quit message that client can "leave" on the
11085 channel when it quits the SILC. It is ditributed inside the
11086 SILC_NOTIFY_TYPE_SIGNOFF notify type.
11088 Added silc_server_free_client_data that will take the
11089 signoff message as argument.
11091 * Changed SKE routines to use the silc_pkcs_sign/verify routines.
11093 Thu Feb 22 23:05:36 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11095 * Updated parts of the protocol specification to keep it up
11098 Thu Feb 22 15:08:20 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11100 * Added List flag (SILC_PACKET_FLAG_LIST) to indicate list of
11101 payloads in one packet.
11103 * Deprecated following packet types: NEW_ID_LIST, NEW_CHANNEL_LIST,
11104 NEW_CHANNEL_USER_LIST, SET_MODE and SET_MODE_LIST. List packets
11105 use now the new List flag.
11107 * Also deprecated the following packet types: REPLACE_ID,
11108 NEW_CHANNEL_USER and REMOVE_CHANNEL_USER packet types.
11110 * Added list support for Notify packet in server.
11112 * Added silc_server_send_notify_channel_change to send the
11113 CHANNEL_CHANGE notify type to replace channel ID's. Deprecates
11114 the silc_server_send_replace_id.
11116 * Added silc_server_send_notify_nick_change to send the
11117 NICK_CHANGE notify type. Deprecates the function
11118 silc_server_send_replace_id.
11120 * Added silc_server_send_notify_join to send the JOIN notify type.
11121 Deprecates the function silc_server_send_new_channel_user.
11123 * Added silc_server_send_notify_leave to send LEAVE notify type.
11124 Deprecates the function silc_server_send_remove_channel_user.
11126 * Added silc_server_send_notify_cmode and
11127 silc_server_send_notify_cumode to send CMODE and CUMODE notify
11128 types. Deprecates the silc_server_send_set_mode function.
11130 * Added SERVER_SIGNOFF notify type to indicate that server has
11131 quit. This means that all clients on the channel from that
11132 server will drop. This can be also used when netsplit happens.
11134 Deprecated REMOVE_ID packet type since it is not needed anymore
11137 Added silc_server_send_notify_server_signoff to send the
11138 SERVER_SIGNOFF notify type. Deprecates the function
11139 silc_server_send_remove_id.
11141 Added also silc_server_send_notify_signoff to send the
11142 SIGNOFF notify type.
11144 * Employed the PKCS #1. It is the mandatory way to do RSA in the
11145 SILC protocol from this day on. Changed the protocol
11146 specification as well.
11148 * Added silc_server_send_notify_topic_set to send TOPIC_SET
11149 notify type. It is used between routers to notify about
11150 topic changes on a channel.
11152 * Added silc_id_dup into lib/silccore/id.[ch] to duplicate
11155 * Partly updated the protocol specification to comply with the
11156 changes now made. It is still though a bit outdated.
11158 * The JOIN notify type now takes one extra argument <Channel ID>.
11159 The packet used to be destined to the channel but now the
11160 JOIN type may be sent as list thus it is impossible to
11161 destine it to any specific channel. By adding this argument
11162 it is again possible.
11164 Wed Feb 21 22:39:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11166 * Added CREDITS file. The CHANGES and CREDITS file will appear
11167 in the distribution as well.
11169 Wed Feb 21 14:17:04 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11171 * Implemented CMODE_CHANGE, CUMODE_CHANGE and TOPIC_SET notify
11172 types in the server's silcd/packet_receive.c.
11174 * Implemented CMODE and CUMODE to work in router environment.
11176 * Fixed minor encoding and decoding buglet from the
11177 lib/silccore/silcmode.c.
11179 * Fixed buffer overflow from lib/silcclient/command.c in USERS
11182 Wed Feb 21 12:44:00 EET 2001 Mika Boström <bostik@lut.fi>
11184 * Changed all SilcConfigServer* and silc_config_server* to
11185 SilcServerConfig* and silc_server_config*, respectively.
11188 Wed Feb 21 00:10:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11190 * Associated the ID (client or server ID) to the Authentication
11191 Payload to avoid any possibility of forging. Updated the
11192 protocol specification and the code accordingly.
11194 Tue Feb 20 14:14:14 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11196 * The RSA key length is now save to the RsaKey context in the
11197 key generation process in lib/silccrypt/rsa.c. The key length
11198 is now used to figure out the maximum size of the block allowed
11199 to be encrypted/signed.
11201 * Added silc_mp_mp2bin_noalloc into lib/silcmath/mpbin.[ch]. It
11202 is equivalent to the silc_mp_mp2bin but does not allocate any
11205 * Changed silc_mp_mp2bin API to take length argument. If it is
11206 non-zero then the buffer is allocated that large. If zero, then
11207 the size is approximated using silc_mp_sizeinbase, which however
11210 * Created Global RNG API which is global RNG that application can
11211 initialize. After initializing, any routine anywhere in the
11212 code (including library) can use RNG without allocating a new
11213 RNG object. This was done to allow this sort of use of the
11214 RNG in code that has no chance to allocate RNG object. All
11215 applications currently allocate this and many routines in the
11216 library use this. Affected file lib/silccrypt/silcrng.[ch].
11218 * Removed the RNG kludge from lib/silcmath/primegen.c and changed
11219 it to use the Global RNG API.
11221 * Defined Authentication Payload into protocol specification that
11222 is used during SILC session to authenticate entities. It is
11223 used for example by client to authenticate itself to the server
11224 to obtain server operator privileges.
11226 Implemented this payload into the lib/silccore/silcauth.[ch].
11227 Implemented also routines for public key based authentication
11228 as the new protocol specification dictates.
11230 Moved definitions of different authentication methods from
11231 lib/silccore/silcprotocol.h into lib/silccore/silcauth.h.
11233 * Added silc_pkcs_encrypt, silc_pkcs_decrypt, silc_pkcs_sign,
11234 silc_pkcs_verify and silc_pkcs_sign_with_hash and
11235 silc_pkcs_verify_with_hash functions into the file
11236 lib/silccrypt/silcpkcs.[ch].
11238 Mon Feb 19 19:59:28 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11240 * The client entry's userinfo pointer must be always valid.
11241 Otherwise the [<unknown>] bug will surface beacuse the WHOIS
11242 will fail since it requires the userinfo. Now, the userinfo
11243 is allocated as "" if actual userinfo does not exist. Actually,
11244 it must exist and it is totally Ok to drop client connections
11245 that does not announce the userinfo. However, we will make
11246 this workaround for now.
11248 * Added silc_net_get_remote_port into lib/silcutil/silcnet.[ch]
11249 to return the remote port by socket.
11251 Mon Feb 19 14:26:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11253 * Changed SILC_SERVER_COMMAND_EXEC_PENDING macro to the name
11254 SILC_SERVER_PENDING_EXEC and added an new macro
11255 SILC_SERVER_PENDING_DESTRUCTOR which is called to free the
11256 data or when error occurs while processing the pending command.
11258 Added new argument `destructor' into silc_server_command_pending
11259 and to the SilcServerCommandPending object. This destructor is
11260 now called after calling the pending callback or if error occurs
11261 immediately. If error occurs the actual pending callback won't
11262 be called at all - only the destructor. The destructor may be
11263 NULL if destructor is not needed.
11265 All this applies for client library code as well. Similar
11266 changes were made there as well for the pending commands.
11268 In the client, the application must now allocate the
11269 SilcClientCommandContext with the silc_client_command_alloc
11272 * Added reference counter to the SilcServerCommandContext. Added
11273 function silc_server_command_alloc and silc_server_command_dup
11276 Same type of functions added to the client library for the same
11279 * Removed the cmd_ident from IDListData away since it is now
11280 global for all connections. It is the command identifier used
11281 in command sending and with pending commands. The affected file
11284 * Added reference counter to the SilcSocketConnection objecet to
11285 indicate the usage count of the object. The object won't be
11286 freed untill the reference counter hits zero. Currently only
11287 server uses this, and client ignores it. The client must be
11288 set to use this too later. The affected files are
11289 lib/silccore/silcsockconn.[ch]. Added also the function
11290 silc_socket_dup to increase the reference counter.
11292 This was mainly added because it is possible that the socket
11293 is removed underneath of pending command or other async
11294 operation. Now it won't be free'd and proper DISCONNECTING
11295 flags, etc. can be set to avoid sending data to connection that
11296 is not valid anymore.
11298 * Added SILC_SET_DISCONNECTING to server.c when EOF is read from
11299 the connection. After that it sets SILC_SET_DISCONNECTED.
11300 It is, however, possible that the socket data is not still freed.
11301 The silc_server_packet_process now checks that data is not
11302 read or written to connection that is DISCONNECTED. The socket
11303 get's freed when the reference counter hits zero.
11305 Mon Feb 19 00:50:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11307 * Changed the client operation API: channel_message operation's
11308 `sender' is now the client entry of the sender, not the nickname
11309 and the `channel' is the channel entry, not the channel name.
11311 In the private_message operation the `sender' is now also the
11312 client entry of the sender not the nickname.
11314 Affected file is lib/silcclient/ops.h and all applications
11315 using the client operations.
11317 Sat Feb 17 22:11:50 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11319 * Moved the calling of ops->connect() from connect_to_server_final
11320 into receive_new_id functin since that is the point when the
11321 client is actually allowed to send traffic to network. The
11322 affected file is lib/silcclient/client.c.
11324 Sat Feb 17 13:15:35 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11326 * When receiving NEW_CHANNEL_LIST, NEW_CHANNEL_USER_LIST,
11327 NEW_ID_LIST and SET_MODE_LIST packets, broadcast the list packet
11328 (if needs broadcasting) instead of broadcasting the packets one
11329 by one which would make a burst in the network traffic.
11331 * Added `broadcast' argument to the functions in silcd/server.[ch]
11332 silc_server_create_new_channel[_with_id] to indicate whether
11333 to send New Channel packet to primary router.
11335 Sat Feb 17 01:06:44 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11337 * Added new function into the silcd/server.[ch] files:
11338 silc_server_create_new_channel_with_id to create new channel with
11339 already existing Channel ID.
11341 * Added new packet type SILC_PACKET_SET_MODE_LIST into the file
11342 lib/silccore/silcpacket.h. This packet is used t send list of
11343 Set Mode payloads inside one packet. Server uses this to set
11344 the modes for the channels and clients on those channels, that it
11345 announced to the router when it connected to it. The protocol
11346 specification has been updated accordingly.
11348 * The silc_server_new_channel did not handle the packet coming
11349 from normal server as it normally does not send that. However,
11350 when it announces its channels it does send it. Implemented
11351 the support for that.
11353 * Added SILC_ID_CHANNEL_COMPARE macro to compare to Channel ID's
11354 into the file lib/silccore/id.h.
11356 Fri Feb 16 23:57:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11358 * Fixed memory leaks in the functions silc_idlist_del_client,
11359 silc_idlist_del_channel and silc_idlist_del_server in the file
11360 silcd/idlist.c. All of those leaked like a sieve.
11362 * Fixed some small memory leaks in the client's function
11363 silc_client_notify_by_server.
11365 * Added functions into silcd/server.c: silc_server_announce_clients,
11366 silc_server_announce_channels and silc_server_announce_server.
11367 These functions are used by normal and router server to announce
11368 to its primary router about clients, channels and servers (when
11369 router) that we own. This is done after we've connected to the
11372 These functions effectively implements the following packet types:
11373 SILC_PACKET_NEW_CHANNEL_LIST, SILC_PACKET_NEW_CHANNEL_USER_LIST
11374 and SILC_PACKET_NEW_ID_LIST.
11376 * Added new functions into the silcd/packet_receive.[ch]:
11377 silc_server_new_id_list, silc_server_new_channel_list and
11378 silc_server_new_channel_user_list to handle the incoming
11379 NEW_ID_LIST, NEW_CHANNEL_LIST and NEW_CHANNEL_USER_LIST packets.
11381 * Added support of changing Channel ID in the function
11382 silc_server_replace_id. If the server that announces a channel
11383 to the router already exists in the router (with same name but
11384 with different Channel ID), router is responsible to send
11385 Replace ID packet to the server and force the server to change
11386 the Channel ID to the one router has.
11388 * Added new notify type SILC_NOTIFY_TYPE_CHANNEL_CHANGE to notify
11389 client that the Channel ID has been changed by the router. The
11390 normal server sends this to the client. Client must start using
11391 the new Channel ID as the channel's ID.
11393 Implemented handling of this new type into lib/silcclient/client.c
11394 into the function silc_client_notify_by_server.
11396 * Added new function silc_idlist_replace_channel_id into the files
11397 silcd/idlist.[ch] to replace the Channel ID.
11399 Fri Feb 16 14:14:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11401 * Call silc_server_command_identify_check always when processing
11402 the IDENTIFY command in silcd/command.c
11404 Thu Feb 15 20:07:37 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11406 * Added new packet type SILC_PACKET_HEARTBEAT that is used to
11407 send keepalive packets. The packet can be sent by clients,
11408 servers and routers.
11410 Added function silc_socket_set_heartbeat into the file
11411 lib/silccore/silcsockconn.[ch] to set the heartbeat timeout.
11412 If not set, the heartbeat is not performed. The actual
11413 heartbeat is implemented in the low level socket connection
11414 library. However, application is responsible of actually
11415 sending the packet.
11417 Added silc_server_send_heartbeat to send the actual heartbeat
11418 packet into silcd/packet_send.[ch]. Server now performs
11419 keepalive with all connections.
11421 * Added silc_task_get_first function into lib/silcutil/silctask.c
11422 to return the timeout task with shortest timeout. There was a bug
11423 in task unregistration that caused problems. TODO has been
11424 updated to include that task system must be rewritten.
11426 * The client library will now resolve the client information when
11427 receiving JOIN notify from server for client that we know but
11428 have incomplete information.
11430 * Rewrote parts of silc_server_remove_from_channels and
11431 silc_server_remove_from_one_channel as they did not remove the
11432 channel in some circumstances even though they should've.
11434 * Encryption problem encountered in server:
11436 The LEAVE command used to send the Channel Key packet to the
11437 router immediately after generating it. However, the code
11438 had earlier sent Remove Channel user packet but not immediately,
11439 ie. it was put to queue. The order of packets in the router
11440 was that Channel Key packet was first and Remove Channel User
11441 packet was second, even though they were encrypted in the
11442 reverse order. For this reason, MAC check failed. Now, this
11443 is fixed by not sending the Channel Key packet immediately but
11444 putting it to queue. However, this is more fundamental problem:
11445 packets that are in queue should actually not be encrypted
11446 because packets that are sent immediately gets encrypted
11447 actually with wrong IV (and thus MAC check fails). So, packets
11448 that are in queue should be encrypted when they are sent to
11449 the wire and not when they put to the queue.
11451 However, the problem is that the current system has not been
11452 designed to work that way. Instead, the packet is encrypted
11453 as soon as possible and left to the queue. The queue is then
11454 just purged into wire. There won't be any fixes for this
11455 any time soon. So, the current semantic for packet sending
11458 o If you send packet to remote host and do not force the send
11459 (the packet will be in queue) then all subsequent packets to the
11460 same remote host must also be put to the queue. Only after the
11461 queue has been purged is it safe again to force the packet
11464 o If you send all packets immediately then it safe to send
11465 any of subsequent packets through the queue, however, after
11466 the first packet is put to queue then any subsequent packets
11467 must also be put to the queue.
11469 Follow these rules and everything works fine.
11471 Thu Feb 15 14:24:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11473 * Added new function silc_server_remove_clients_by_server to
11474 remove all client entries from ID list when the server connection
11475 is lost. In this case it is also important to invalidate all
11476 client entires as they hold the invalid server entry. This
11477 fixes fatal bug when server has lost connection and will reconnect
11480 Wed Feb 14 16:03:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11482 * Made some sanity checks to silc_server_daemonise like to check
11483 whether the requested user and group actually exists.
11485 * Added sanity check to SKE's silc_ske_responder_finish to check
11486 that the public and private key actually is valid.
11488 * Invalidate the client's nickname when receiving Replace ID
11489 packet and the Client ID is being replaced. This means that the
11490 server will query the nickname if someone needs it (client)
11493 * Sort the ID Cache in client library when the ID Cache data
11494 has changed (needs sorting).
11496 * Do not allow for SILC client to create several connections to
11497 several servers. The client does not support windows right now
11498 and generating multiple connections causes weird behaviour.
11500 Irssi-silc client does support windows and can handle several
11501 connections without problems, see: www.irssi.org and SILC plugin.
11503 * Fixed some places where client was added to the IDList. The
11504 rule of thumb is following (in order to get everything right):
11505 If the client is directly connected local client then the
11506 `connection' argument must be set and `router' argument must be
11507 NULL to silc_idlist_add_client function. If the client is not
11508 directly connected client then the `router' argument must
11509 bet set and the `connection' argument must be NULL to the
11510 silc_idlist_add_client function.
11512 * The funtion silc_server_packet_send_local_channel actually did
11513 not check whether the client was locally connected or not. It
11514 does that now. Fixed a bug related to LEAVE command.
11516 * Fixed Remove Channel User payload parsing bug in server's
11517 silcd/packet_receive.c. Fixed a bug related to LEAVE command.
11519 * The server's silc_server_save_channel_key now checks also the
11520 global ID list for the channel as it might not be in the local
11521 list. Fixed a bug related to LEAVE command.
11523 * Is this the end of the [<unknown>] buglet that has been lurking
11524 around for a long time? A little for loop fix in server's
11525 silc_server_command_whois_parse that is used by both IDENTIFY
11526 and WHOIS command. At least, this was a clear bug and a cause
11527 of one type of [<unknown>] buglet.
11529 * WHOIS and IDENTIFY commands call the function
11530 silc_server_command_[whois/identify]_check function even if
11531 we are not router server.
11533 Tue Feb 13 19:55:59 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11535 * Added --with-gmp configuration option. If set the GMP
11536 is always compiled in the SILC source tree. If not set then
11537 it is checked whether the system has the GMP3 installed. If
11538 it has then the GMP won't be compiled (the system's headers
11539 and library is used), if it doesn't have it then the GMP is
11540 compiled in the SILC source tree.
11542 Mon Feb 12 11:20:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11544 * Changed RSA private exponent generation to what PKCS #1
11545 suggests. We try to find the smallest possible d by doing
11546 modinv(e, lcm(phi)) instead of modinv(e, phi). Note: this is
11547 not security fix but optimization.
11549 Sun Feb 11 18:19:51 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11551 * Added new config entry [Identity] to fork the server and run
11552 it as specific user and group. A patch from Bostik.
11554 * Imported Dotconf configuration library into lib/dotconf.
11555 This will be used to create the SILC configuration files later.
11556 It will appear in the distsribution after this commit.
11558 Sat Feb 10 21:13:45 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11560 * A big code auditing weekend happening. Auditing code for
11561 obvious mistakes, bugs and errors. Also, removing any code
11564 Removed files for being obsolete:
11566 o lib/silcutil/silcbuffer.c (the buffer interface is entirely in
11567 inline in the file lib/silcutil/silcbuffer.h)
11569 o lib/silcutil/silcbufutil.c (the header has inline versions)
11571 Changed code to fix possible error conditions:
11573 o The buffer formatting routines now check that the destination
11574 buffer really has enough space to add the data. This applies for
11575 both buffer formatting and unformatting
11576 (lib/silcutil/silcbuffmt.[ch]). Also, the entire buffer
11577 unformatting was changed to accomodate following rules:
11578 XXX_*STRING_ALLOC will allocate space for the data into the pointer
11579 sent to the function while XXX_*STRING will not allocate or copy
11580 the data into the buffer. Instead it sets the pointer from the
11581 buffer into the pointer sent as argument (XXX_*STRING used to
11582 require that the pointer must be allocated already). This change
11583 makes this whole thing a bit more consistent and more optimized
11584 (note that the data returned in the unformatting with XXX_*STRING
11585 must not be freed now). The routines return now -1 on error.
11587 o Tried to find all code that use buffer_format and buffer_unformat
11588 and added return value checking to prevent formatting and
11589 especially unformatting errors and possible subsequent fatal
11592 o Changed ske->x and ske->KEY to mallocated pointers in
11593 lib/silcske/silcske.h. Fixed possible data and memory leak.
11595 o Added return value checking to all *_parse* functions. Fixed
11596 many memory leaks as well.
11598 o Added length argument to silc_id_str2id in lib/silccore/id.[ch]
11599 so that buffer overflows would not happen. All code now also
11600 checks the return value as it can fail.
11602 Mon Feb 5 20:08:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11604 * Added reconnection support to server if the normal server looses
11605 its connection to the router (for example if router is rebooted).
11606 The server performs normal reconnection strategy implemented
11607 to the server. Affected file silcd/server.c.
11609 Sun Feb 4 13:18:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11611 * Added new packet type SILC_PACKET_SET_MODE that is used to
11612 distribute the information about changed modes (for clients,
11613 channels and clients channel modes) to all routers in the
11614 network. Updated the protocol specification accordingly.
11616 Added functions into silcd/packet_send.c and
11617 silcd/packet_receive.c: silc_server_send_set_mode,
11618 silc_server_set_mode.
11620 Added new files silcmode.[ch] into lib/silccore that implements
11621 the encoding and decoding of Set Mode Payload. Added new type
11622 SilcSetModePayload. Moved the definitions of different modes
11623 from lib/silccore/silcchannel.h into lib/silccore/silcmode.h.
11625 Sat Feb 3 15:44:54 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11627 * Oops, a little mistake in server's connection authentication
11628 protocol. The protocol is not ended with FAILURE but with
11629 SUCCESS if the authentication is Ok. :) Affected file is
11632 * Implemented NICK_CHANGE notify handling in server in the file
11633 silcd/packet_receive.c The NICK_CHANGE notify is distributed to
11634 the local clients on the channel. After the changing nickname
11635 in router environment snhould work and the [<unknown>] nickname
11636 should appear no more.
11638 The silc_server_replace_id function that receives the Replace ID
11639 payload now sends the NICK_CHANGE notify type also in the file
11640 silcd/packet_receive.c
11642 * Changed WHOIS and IDENTIFY command to support the maximum amount
11643 of arguments defined in protocol specs (3328 arguments). This
11644 fixed a bug that caused problems when there were more than three
11645 users on a channel.
11647 Fri Feb 2 11:42:56 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11649 * Added extra parameter, command identifier, to the
11650 silc_client_send_command so that explicit command identifier
11653 Changed that ID list routines uses specific command identifier
11654 when sending WHOIS/IDENTIFY requests to the server so that they
11655 can be identified when the reply comes back.
11657 Affected files lib/silcclient/command.[ch],
11658 lib/silcclient/client.c and lib/silcclient/idlist.[ch].
11660 * Added `sender' argument to silc_server_packet_send_to_channel
11661 to indicaet the sender who originally sent the packet to us
11662 that we are now re-sending. Ignored if NULL. Affected file
11663 silcd/packet_send.[ch].
11665 * Added some server statistics support in silcd/server_internal.h
11666 SilcServerStatistics structure and around the server code. Also
11667 send some nice statistics information when client is connecting
11670 Thu Feb 1 23:31:21 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11672 * Fixed channel ID decoding in server's JOIN command reply in
11673 silcd/command_reply.c
11675 * Fixed braodcasting of replace ID payload to not to send it if
11676 we are standalone server in silcd/packet_receive.c.
11678 * Fixed all channel message sending routines to not to send
11679 packets to clients that has router set, since they are routed
11680 separately in the same function earlier. Affects file
11681 silcd/packet_send.c and all channel packet sending functions.
11683 * In USERS reply, res_argv[i] are not allocated, the table
11684 is allocated. Thus changed that free the table, not its
11687 * In server's whois_check and identify_check if the client is
11688 locally connected do not send any WHOIS commands - they are not
11691 Thu Feb 1 21:32:27 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11693 * Fixed some minor bugs in client when sending WHOIS command. The
11694 arguments was in wrong order.
11696 * Removed statis function add_to_channel from server in
11697 silcd/command.c that was previously used with the joining but
11700 * Tested USERS command in router environment successfully with two
11701 routers, two servers and two clients.
11703 Thu Feb 1 00:54:26 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11705 * Reorganized the USERS command and command reply in client library
11706 in lib/silcclient/command.c and lib/silcclient/command_reply.c.
11707 When the command is given by user we register a pending command
11708 callback that will reprocess the command after the reply has been
11709 received from the server. When reprocessing the packet we then
11710 display the information. Thus, the USERS information is displayed
11711 now in the command callback instead of in the command reply
11712 callback. The processing of the command is same as previously
11713 when server has sent the command reply in the JOINing process.
11715 * Added to USERS command in silcd/command_reply.c to join the client,
11716 we didn't use to know about, to the channel after we've created
11717 a client entry for it. Also, for clienet we did know already still
11718 check whether it is on the channel or not and add it if not.
11720 * Removed silc_server_command_join_notify as the function and its
11723 Tue Jan 30 22:39:15 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11725 * Changed the client's pending command handling to the same as the
11726 server's pending command handling. It is also now possible to
11727 execute command reply functions from other command reply
11728 function as the function callbacks for commands and command
11729 replies are one and same. The pending commands are not static
11730 list anymore, it is mallocated SilcDList in lib/silcclient/client.h
11731 in client connection context. Thus, pending commands are server
11732 connection specific as it is convenient.
11734 Changed the function silc_client_command_pending and
11735 silc_client_command_pending_del and added new function
11736 silc_client_command_pending_check. Removed the
11737 SILC_CLIENT_CMD_REPLY_EXEC, and SILC_CLIENT_PENDING_COMMAND_CHECK
11740 * Added cmd_ident, current command identifier, to the client
11741 connection context in lib/silcclient/client.h to keep track on
11742 command identifiers used in command sending. Client's command reply
11743 function handling now supports the mandatory command identifiers.
11745 * Added SILC_CLIENT_COMMAND_EXEC_PENDING macros to all command reply
11746 funtions in client to fully support pending command callbacks.
11748 * NOTE: the name_list in USERS (old NAMES) command is NOT sent anymore
11749 as one of the arguments to the application in the command reply
11752 * NOTE: The FORWARDED flag is depracated. It used to be depracated
11753 before first releasing SILC but came back. Now it is removed again
11754 and should come back nomore. The FORWARDED flag was used only
11755 by the JOINing procedure by forwarding the command packet to router.
11756 Now, the JOINing procedure has been changed to more generic (due
11757 to various router environment issues) and FORWARDED is not needed
11758 anymore for anything. The protocol specification is yet to be
11761 Now, removed silc_server_packet_forward from server and the flag
11762 SILC_PACKET_FORWARDED from lib/silccore/silcpacket.h.
11764 Tue Jan 30 00:05:05 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11766 * Renamed NAMES command to USERS command. The NAMES was named that
11767 due to historical reasons. Now it is renamed. Also, rewrote
11768 parts of the USERS command. The nickname list is not sent anymore
11769 by the server. Only Client ID and mode lists are sent in the USERS
11770 command. Changed this also to the protocol specification.
11772 The client now resolves the names and stuff after it receives
11773 the USERS list from the server when joining to the channel.
11775 * WHOIS and IDENTIFY commands has been changed to support multiple
11776 Client ID's per command. One can now search for multiple users
11777 in the network by sending only one WHOIS or IDENTIFY command.
11778 Changed the code and the protocol specifications.
11780 * Removed silc_server_command_identify_parse and changed that IDENTIFY
11781 uses silc_server_command_whois_parse to parse the request. */
11783 * If normal server, do not parse the WHOIS and IDENTIFY requests
11784 before sending it to the router. Saves some time.
11786 Sun Jan 28 16:19:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11788 * Fixed JOIN command on client library. Wrong number of arguments
11789 used to crash the client.
11791 * Added silc_server_channel_has_global function to check whether
11792 channel has global users or not.
11794 * Added silc_server_channel_has_local function to check whether channel
11795 has locally connected clients on the channel.
11797 * The silc_server_remove_from_one_channel now checks whether the
11798 channel has global users or not after given client was removed from
11799 the channel. It also checks whether the channel has local clients
11800 on the channel anymore. If it does not have then the channel entry
11801 is removed as it is not needed anymore.
11803 * The silc_server_notify now checks on JOIN notify whether the joining
11804 client is one of locally connected or global. If it is global then
11805 the channel has now global users on the channel and that is marked
11806 to the channel entry. Also, it now saves the global client to
11807 global list who is joining and JOINs it to the channel. This is
11808 for normal server, that is.
11810 Changed silc_server_send_notify_on_channel,
11811 silc_server_packet_relay_to_channel and
11812 silc_server_packet_send_to_channel check if we are normal server
11813 and client has router set (ie. global client) do not send the
11814 message to that client, as it is already routed to our router.
11816 * Implemented LEAVE notify type handling in silc_server_notify
11819 * Tested LEAVE command in router environment successfully. Tested
11820 with two routers, two servers and two clients.
11824 * idlist_find_xxx_by_id routines now dumps the ID on the debug mode.
11826 * Implemented SIGNOFF notify type handling in silc_server_notify
11829 * silc_server_remove_id now removes the client entry from all channels
11830 it has joined and thusly sends SIGNOFF notify type.
11832 * Rewrote the NAMES list generation in server by removing two excess
11833 loops. The lists are created now inside one loop.
11835 Sat Jan 27 22:34:56 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11837 * silc_server_remove_channel_user checks now also global list
11838 for channel and client.
11840 * silc_server_new_channel_user checks now both local and global
11841 list for channel and client. Fixed a bug in client id decoding.
11842 Used to decode wrong buffer.
11844 * silc_server_channel_message checks now both local and global
11845 list for channel entry.
11847 * Tested channel joining (hence JOIN) in router environment
11848 successfully. Tested with two routers, two servers and two
11851 * Tested channel message sending in router environment successfully.
11853 Thu Jan 11 03:22:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11855 * Added silc_server_save_channel_key into server.[ch] to save the
11856 received channel key in Channel Key payload processing. It is
11857 also used in JOIN command reply handling.
11859 Equivalent function silc_client_save_channel_key added into
11860 client.[ch] into client library.
11862 * Changed JOIN command reply to send information whether the channel
11863 was created or not (is existing already) and the channel key
11864 payload. Changed protocol specs accordingly.
11866 * Fixed bugs in WHOIS and IDENTIFY command reply sending when
11867 the request was sent by ID and not by nickname. Crashed on
11870 Sat Dec 23 21:55:07 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11872 * Fixed a bug in Client library. IDENTIFY and WHOIS reply functions
11873 now correctly save the received data.
11875 * silc_server_free_sock_user_data now notifies routers in the
11876 network about entities leaving the network.
11878 At the same time implemented functions silc_server_remove_id
11879 and silc_server_send_remove_id to receive and send REMOVE_ID
11880 packets. The packet is used to notify routers in the network
11881 about leaving entities. The ID removed will become invalid in
11884 * Added function silc_idlist_del_server into server. Removes and
11885 free's server entry from ID list.
11887 * silc_server_private_message function now checks, if we are router,
11888 that the destination ID really is valid ID, naturally.
11890 * In router when NEW_ID packet is received (for new client) the
11891 hash of the Client ID is saved in the ID Cache but the
11892 client->nickname is set to NULL, instead of putting the hash
11895 IDENTIFY command now also checks that client->nickname must be
11896 valid. If it is not if will request the data from the server who
11897 owns the client. Added new function
11898 silc_server_command_identify_check.
11900 * Added silc_command_set_command into lib/silccore/silcommand.[ch]
11901 to set the command to already allocated Command Payload.
11903 * Tested private message sending in router environment with two
11904 routers, two servers and two clients. Fixed minor bugs and now
11907 * Fixed segfault from client's NAMES command. Used to crash if
11908 not on any channel.
11910 * Forwarded packets must not be routed even if it is not destined
11911 to the receiver. Changed server code comply with this.
11913 Sun Dec 17 14:40:08 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11915 * Added `require_reverse_mapping' boolean value to ServerParams
11916 structure. If TRUE (not default) the server will require that
11917 the connecting host has fully qualified domain name.
11919 If the reverse mapping is not required and hostname could not be
11920 found the IP address is used as hostname.
11922 Sat Dec 16 17:39:54 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11924 * Implemented version string checking to both client and server.
11925 The check is incomplete currently due to the abnormal version
11926 strings used in development version of SILC.
11928 * Changed all command functions in server to use the new
11931 Fri Dec 15 15:55:12 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11933 * Changed char *data to unsigned char *data in ID Cache system to
11934 support binary data as ID Cache data. Changed code to support
11935 binary data in lib/silccore/idcache.c.
11937 * Renamed silc_server_packet_relay_command_reply to
11938 silc_server_command_reply as it is normal packet receiving
11939 function. Rewrote the function to accept command replys for
11940 servers and not only for clients.
11942 * Mark remote router always as registered server if we are connecting
11943 to it. Otherwise, commands sent by the router to us are ignored.
11945 * All ID List find routines now returns the ID Cache Entry pointer
11946 as well if requested.
11948 * WHOIS command works now in router environment, tested with two
11949 routers, two servers and two clients.
11951 * Cleaned up and rewrote IDENTIFY command. IDENTIFY should work now
11952 in router environment (as it is almost equivalent to WHOIS) but
11953 hasn't been tested thoroughly. Added new functions:
11955 silc_server_command_identify_parse
11956 silc_server_command_identify_send_reply
11957 silc_server_command_identify_from_client
11958 silc_server_command_identify_from_server
11960 * Disabled route cache adding because adding two different ID's with
11961 same IP replaces the old cache entry thus giving wrong route.
11962 The entry->router->connection is always the fastest route anyway
11963 so route cache may not be needed. Of course, new routes maybe
11964 established after receiving the ID when the entry->router->connection
11965 might not be anymore the most optimal.
11967 Thu Dec 14 15:55:35 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11969 * Add route cache for received ID for fast routing.
11971 * Added silc_server_packet_route to route received packet on router
11972 that is not destined to us.
11974 * Renamed silc_server_get_route to silc_server_route_get.
11976 * Added id_string and id_string_len fields into SilcServer to
11977 include encoded ServerID for fast comparing without excess
11978 encoding of the ID's.
11980 * Cleaned up WHOIS command on server side. Added following static
11983 silc_server_command_whois_parse
11984 silc_server_command_whois_check
11985 silc_server_command_whois_send_reply
11986 silc_server_command_whois_from_client
11987 silc_server_command_whois_from_server
11989 * Added macro SILC_SERVER_COMMAND_CHECK_ARGC to check mandatory
11990 arguments in command replies. All command functions should be
11991 updated to use this macro.
11993 Sun Dec 10 23:52:00 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11995 * Minor typo fixes on command reply handling on server.
11997 Tue Nov 28 11:05:39 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11999 * Added silc_server_command_add_to_channel internal routine to add
12000 the client to the channel after router has created the channel and
12001 sent command reply to the server.
12003 * Added generic silc_server_send_command to send any command from
12006 * Use static buffer with ID rendering instead of duplicating data.
12008 Mon Nov 27 21:39:40 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12010 * Fixed a channel user mode bug when joining to a channel server gave
12011 everybody channel founder rights, oops.
12013 * We mark ourselves as the router of the incoming server connection
12014 if we are router ourselves. This way we can check in some packet
12015 sending functions whether it is locally connected server. For
12016 incoming router connections we put NULL.
12018 * For router sending packets locally means now always sending the
12019 packet cell wide; to local clients and local servers. For normal
12020 server sending packet locally means sending it to only local
12023 * Fixed the JOIN command to really work in router environment. If the
12024 channel is created it is always created by the router. Router is
12025 also responsible of making the initial joining to the channel,
12026 sending JOIN notify to the sending server and distributing
12027 NEW_CHANNEL and NEW_CHANNEL_USER packets. Hence, if the channel
12028 does not exist server doesn't do anything else but forward the
12029 command to the router which performs everything.
12031 * Added silc_server_send_channel_key function to send the Channel Key
12034 * Added silc_server_create_channel_key to create new channel key. The
12035 channel key is now re-generated everytime someone joins or leaves
12036 a channel, as protocol dictates. Note: channel->key_len is the
12037 key length in bits.
12039 Wed Nov 22 22:14:19 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12041 * Splitted server.[ch] finally. Created now packet_send.[ch] and
12042 packet_receive.[ch] to separate packet sending and receiving
12043 routines. The server.[ch] now includes everything else including
12044 actual packet processing (writing and reading data) and other
12047 Renamed silc_server_private_message_send_internal to
12048 silc_server_send_private_message. The routine is still though
12049 used only to relay private messages as server does not send
12050 private messages itself.
12052 Renamed silc_server_new_channel to silc_server_create_new_channel
12053 and added new function sicl_server_new_channel that handles the
12054 incoming New Channel packet. Added also new sending function
12055 silc_server_send_new_channel to send New Channel Payload.
12057 * Added new function silc_server_notify to process incoming notify
12058 packet to the server/router. Server may then relay the notify
12059 to clients if needed.
12061 * Added new function silc_server_new_channel_user to process incoming
12062 New Channel User packet. Router will redistribute the packet and
12063 send JOIN notify to its local clients and locally connected servers
12064 if needed. Normal server will send JOIN notify to its local client
12065 on same channel when received this packet. Added also corresponding
12066 sending function silc_server_send_new_channel_user to sent the
12069 * Added boolean route argument to send_notif_to_channel and
12070 packet_send_to_channel functions to attempt to route the packet
12071 if it is TRUE and send only locally if it is FALSE.
12073 Tue Nov 21 19:49:31 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12075 * silc_server_replace_id now broadcasts the received replace ID
12076 packet if it is not broadcast packet already. The router must
12077 broadcast to inform other routers about changed ID.
12079 * Added backpointer to server's router into SilcServer context in
12080 silcd/server_internal.h.
12082 * Fixed silc_server_packet_broadcast to send correct broadcast
12085 * The channel key is now distributed to the local client as soon
12086 as it is received from the router (in router environment) so that
12087 no other packet may be sent for the channel until client has
12090 * silc_server_remove_channel_user now broadcasts the received
12091 Remove Channel User packet if it is not broadcast packet already.
12092 The router must broadcast to inform other routers about removed
12095 * Added users field into SilcPacketContext that is a reference count
12096 of the context. One can increase the reference count by calling
12097 silc_packet_context_dup which is now changed to just increase the
12098 reference count instead of duplicating the data. The reference
12099 count is decresed by calling silc_packet_context_free that will
12100 free the data after the reference count hits zero.
12102 For now on the packet context and everything allocated into it
12103 (including the raw packet from network) must be freed by calling
12104 the new silc_packet_context_free function. Added also new function
12105 silc_packet_context_alloc that must be used now to allocate the
12106 context. This also means that if a routine is asynchronous from
12107 silc_[client/server]_packet_parse_type the packet context must
12108 be duplicated by calling silc_packet_context_dup. Otherwise it
12109 gets free'd after silc_[client/server]_packet_parse_type returns.
12110 Also, one must remember that if packet is duplicated then its
12111 reference count must be decresed by calling the free function as
12112 many times as it was duplicated.
12114 * Changed SilcBuffer field from protocol contexts to SilcPacketContext
12115 from both client and server.
12117 Mon Nov 20 23:47:03 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12119 * Made joining to a channel working in router environment.
12121 * Cleaned up JOIN command on server side and create function
12122 silc_server_command_join_channel internal routine to make the
12125 Thu Nov 9 21:12:39 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12127 * Changed silc_command_pending list to SilcDList. Also, added
12128 `ident' field to SilcServerCommandPending structure to identify
12129 the reply and to call correct callback.
12131 Added silc_server_command_pending_check function to replace the
12132 corresnponding macro. The silc_command_pending list is not
12135 * Added silc_command_set_ident into lib/silccore/silccommand.[ch]
12136 to set identifier to previously allocated Command Payload. It
12137 is used to set identifier for command when resending Command
12140 * Added silc_command_payload_encode_payload to encode Command
12141 Payload buffer from SilcCommandPayload structure.
12143 * Added silc_argument_payload_encode_payload to encode Argument
12144 payload buffer from SilcArgumentPayload structure.
12146 Wed Nov 8 21:03:28 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12148 * Changed WHOIS command to support router connection on server side.
12149 The whois request is always sent to router unless the server is
12150 standalone server. After server has received the reply from the
12151 router will it send the reply to the client.
12153 * Added silc_server_packet_broadcast into silcd/server.[ch] to
12154 broadcast received broadcast packet. The function is used only
12155 by router. The broadcast packet is always sent to the router's
12158 * Added silc_id_render function in lib/silcutil/silcutil.[ch] to
12159 render given ID to printable string, for log files for example.
12161 Tue Nov 7 22:14:19 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12163 * Made basic router to router connections working. At least they
12164 can now connect to each other but nothing really works the way
12165 they are supposed - yet.
12167 * Added new initiator token to RouterConnection configuration
12168 file in silcd/serverconfig.[ch]. It is used to tell whether we
12169 are the initiator to the remote router or whether we'll expect
12170 the other end to connect.
12172 * Moved registering of listener task to silc_server_init, hence
12173 the server starts listenning as soon as it is run, even if it
12174 does not have connections to other routers. Let's see how well
12177 * Changed default connection retry timeouts for more suitable in
12180 * Removed cipher and such arguments from silc_idlist_add_client
12181 and silc_idlist_add_server prototypes from silcd/idlist.[ch].
12182 Added new function silc_idlist_add_data to add the keys and stuff
12185 * Added SilcIDListData structure and added it to SilcClientEntry
12186 and SilcServerEntry as their first field in the structure. This
12187 way we can explicitly cast the ID entries to the SilcIDListData
12188 structure and get common data for the entries. In past, we had
12189 to first check what type of connection it is and then cast it to
12190 correct ID entry type. Now, we can directly cast the opaque
12191 pointer to the SilcIDListData (no matter what ID entry it actually
12192 is) and get the data needed.
12194 Mon Nov 6 21:56:12 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12196 * Wow, found a bug in scheduler. The scheduler uninitialized itself
12197 in some circumstances even if threre were timeout tasks, though not
12198 IO tasks, but tasks anyway. Now fixed.
12200 * Defined SilcServerConnection structure to hold connection specific
12201 stuff about directly connected servers and routers. The definition
12202 is currently in silcd/server_internal.h. I thought about having
12203 a bit more important role fro this struct but for now it is used
12204 only when connecting to other server (or router actually).
12206 * Added connecting retry support in server when connecting to
12207 router(s). The retry feature implement exponential backoff
12208 algorithm. Also, added SilcServerParams structure to hold default
12209 parameters for server. For now, it include these retry settings
12210 and are hard coded. After server is moded to be as Silc Server
12211 Library this structure will be more important.
12213 Sun Nov 5 22:28:44 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12215 * Changed client librarys channel->clients table to SilcList and
12216 changed code accordingly.
12218 Thu Nov 2 16:28:01 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12220 * Changed client's channel table to SilcList and changed code
12221 accordingly. Also changed SilcChannelClientEntry to include back-
12222 pointer to the channel so that client entry can use that structure
12223 as list as well and we have fast cross-reference to the channel.
12224 This change dramatically decreased the complexity of channel
12225 handling with client entry and vice versa (removed one extra
12226 loop when searching for channel entry from many functions).
12228 * Changed server->sim from table to SilcDList and changed code
12231 * NAMES command can now be used from user interface. It will show
12232 the user list on the channel, neatly.
12234 * Added realname pointer to SilcClientEntry in lib/silcclient/idlist.h.
12235 Code now saves realname of the user if it becomes available.
12237 * Renamed configure.in to configure.in.pre and made ./prepare
12238 script to automatically add correct version string to
12239 configure.in which it creates from configure.in.pre.
12241 Wed Nov 1 17:21:26 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12243 * NAMES command reply now shows users mode with the nickname when
12244 joining to channel.
12246 * Moved silc_client_ch[u]mode[_char] functions from
12247 silc/clientutil.[ch] to lib/silcclient/client.[ch]. Though, that
12248 place sucks, they are utility functions and should be in some
12251 * Fixed some unsigned int's to unsigned short's. Patch by cras.
12253 * Fixed contrib/getopt*.[ch] to not require config.h. Patch by
12256 Tue Oct 31 20:10:37 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12260 * Added TRQ (efficient deque and list library) into lib/trq. This is
12261 a very good list library that is currently used in the SILC. Defined
12262 SilcList API over the library because I didn't like the API very
12263 much. See lib/trq/silclist.h for the API and examples of how to
12264 use the API. Fixed various places in the code to use the new
12265 SilcList API. The SilcList is meant for lists that has a structure
12266 already defined as a list. It is not suitable to add just some
12267 context to the list (in TRQ, the context is the list actually).
12269 So, I defined SilcDList that can be used for the purpose where
12270 predefined list structure does not exit. This can be used as
12271 such list. Now some context just can be added to the SilcDList.
12272 Currently this list is not used in the SILC just yet, though there
12273 are a lot places where this can replace dynamically allocated
12274 tables and I will fix these places, later, to use SilcDList.
12275 See lib/trq/silcdlist.h for SilcDList (they are all inline functions,
12276 and use TRQ internally).
12278 Also fixed some annoying warning messages that the original TRQ
12279 code generated. Also minor changes to TRQ's Makefile.in.
12281 * Added support for querying by Client ID to both WHOIS and
12282 IDENTIFY commands into server, as required by the protocol.
12284 * Removed method function pointers from SilcBuffer structure. They
12285 weren't used to anything and just increased the context size for
12286 no good reason. This change also made silc_buffer_alloc and
12287 silc_buffer_free functions inline functions.
12289 * Disabled command flooding detection support until it's fixed so
12290 that it accepts commands in but does not execute them more than once
12293 * Added silc_net_localhost(), to return local hostname, into
12294 lib/silcutil/silcnet.[ch]. Also added client->hostname pointer
12295 that must be initialized before calling silc_client_init.
12297 * Added new function: silc_server_send_notify_on_channels to send
12298 notify messages to all channels client has joined. It is assured
12299 that the message is sent only once per client.
12301 * Moved silc_log_format (from lib/silcutil/silclog.[ch] into
12302 lib/silcutil/silcutil.[ch] as silc_format function. The new
12303 function is generic and is used by server as well, not only by
12304 the logging routines.
12306 * Added new SKE status type: SILC_SKE_STATUS_BAD_VERSION to indicate
12307 the provided version string was not acceptable. Added new function:
12308 silc_ske_check_version into lib/silcske/silcske.h. The function
12309 must be implemented by the application (client or server) and it
12310 does not reside in the SKE library. The function checks the version
12311 string remote end sent.
12313 * Added back pointers (to opaque context and to SilcSocketConnection)
12314 into SilcPacketContext structure into lib/silccore/silcpacket.h.
12316 * Added silc_packet_context_dup into lib/silccore/silcpacket.[ch] to
12317 duplicate packet context structure.
12319 * Changed `notify' client operation to send same arguments as client
12320 receives from server except for ID's. ID's are mapped to correct
12321 ID entry and that is returned. Also, if channel entry is not sent
12322 by server but the notify is for channel the channel entry is sent
12323 to application (otherwise application doesn't know that it is for
12324 channel (library gets it from packet's Destination ID)).
12326 * Added silc_client_remove_from_channels into client library to
12327 remove a client from all channels it has joined to. Used when
12328 received SIGNOFF notify from server. Added also new function
12329 silc_client_replace_from_channels to replace old ID entry with
12330 new ID entry on all channels. Used when received NICK_CHANGE
12331 notify from server.
12333 * Fixed ID Cache list handling in silc_idlist_get_client in
12334 lib/silcclient/idlist.c. Also, added silc_idlist_get_client_by_id
12335 to get (or query) client by ID.
12337 * Updated TODO list.
12339 * Added connection authentication status message defined by the
12340 protocol: SILC_CONN_AUTH_OK and SILC_CONN_AUTH_FAILED and added the
12341 support for these into the code in client and server side.
12343 * Added generic function silc_client_send_command to send any command
12344 with variable argument list. Application should use this function
12345 to send commands if the command functions provided by the library
12346 does not suite for the application's user interface needs.
12348 * Added new `failure' client operation. Application is notified about
12349 received failure packet if client is executing a protocol. In this
12350 case the protocol's execution has failed.
12352 * Added SKE's end notify to send the SKE_SUCCESS notify message that
12353 is required by the protocol.
12355 * Added SILC_PROTOCOL_STATE_FAILURE to indicate received failure
12356 packet from remote. SILC_PROTOCOL_STATE_ERROR indicates local
12359 * Added status flag to SilcSKE object to indicate realtime status
12360 of the SKE protocol.
12362 * Application receives now exactly same command reply arguments as
12363 the library receives from server. However, if ID is received the
12364 corresponding ID entry is returned to the application (eg. Client
12365 ID is mapped to correct SilcClientEntry entry and that is returned).
12366 Changed command_reply client operation due to this change.
12368 * Changed all ID's in commands and in command replys as ID Payloads.
12369 Change affected both client and server side codes.
12371 All ID's sent in SILC network (with execption of ID's in SILC
12372 Packet header) are sent in ID Payload to support variable length
12375 * Server now notifies nick changes and notifies all clients on
12376 the channels about the new nickname (about the new Client ID,
12379 * Implemented CMODE command to change channel modes. Supports all
12380 channel modes defined by the protocol specs except ban and invite
12381 lists. (Also, private channel key mode is supported but support for
12382 setting private channel key in client is missing, thus, this mode
12383 has no effect on client side (except that server requires that the
12384 client uses private channel key and normal channel traffic does not
12387 Also, invite mode works per se, but INVITE command does not work
12388 yet correctly, so you can set channel as invite only channel but
12389 inviting clients to the channel does not work (it is yet to be
12390 thought what's the best way to do it).
12392 * Added new command SILC_COMMAND_CUMODE to change user mode on the
12393 channel. Defined user modes: CHANNEL_FOUNDER and CHANNEL_OPERATOR.
12394 Implemented CUMODE command to change user's mode on the channel.
12395 Supports all modes defined by the protocol specs.
12397 * Added NAMES command reply to return users modes on the channel.
12399 * Removed unnecessary and slow ciphers from lib/silccrypt.
12401 * Set SO_KEEPALIVE option to connection sockets by default.
12403 * Added new command reply status: SILC_STATUS_USER_NOT_ON_CHANNEL.
12405 * Added notify types: MOTD, CMODE_CHANGE and CUMODE_CHANGE. Also,
12406 redefined the Notify Payload into protocol specs.
12408 * Added silc_id_payload_parse_id to get ID directly from raw
12411 Mon Oct 9 20:57:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12413 * Changed SILC_COMMAND_IDENTIFY in protocol specification to
12414 accept searching by Client ID as well.
12416 * Added support for LEAVE and SIGNOFF notify types in client library.
12418 * Added silc_id_payload_parse_data into lib/silccore/silcpayload.[ch]
12419 to parse ID Payload from raw data.
12421 Sun Oct 8 19:33:08 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12423 * Added flags parameter into silc_ske_assemble_security_properties
12424 function in lib/silcske/silcske.[ch].
12426 * Changed notify client operation to fit better for notify messages
12427 sent by server. The notify payload received from server is now
12428 passed to the application (after parsing it to SilcNotifyPayload).
12429 It is application's responsibility to retrieve the arguments
12430 from the payload and show the message the way it wants. The message
12431 sent by server is implementation specific.
12433 * Changed public keys to comply with the protocol specification.
12434 Old public keys are not supported anymore and are not compatible.
12436 * Removed nickname from Channel Payload as the latest draft removed
12437 it. The client must resolve the nickname from the NAMES command
12438 reply received when it joined the channel.
12440 Also, changed all channel_xxxx_payload to channel_payload_xxxx.
12442 Sat Oct 7 21:55:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12444 * Fixed some errors in protocol specification drafts.
12446 * Created lib/silccore/silcnotify.c to implement Notify Payload
12447 encoding and decoding, lib/silccore/silcpayload.[ch] to implement
12448 generic payloads described by protocol specifications. The file
12449 includes implementations for ID Payload and Argument Payload.
12451 * Changed Command Payload implementation to use the new Argument
12452 Payload. Changed command_xxxx_payload to command_payload_xxxx
12453 to comply with SILC coding conventions.
12455 * Added suppport for Argument Payload handling in Notify Payload
12456 implementation as protocol requires it. Added the new support
12457 into server and client lib as well.
12459 Thu Oct 5 21:16:28 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12461 * Added support for multiple nicknames on same channel. [n] is
12462 added locally to the nickname if there are more than one same
12463 nicknames on the channel.
12465 * Server now sends all nicknames that matched WHOIS request.
12466 Client also shows the list received from server.
12468 * Added TOPIC command to client side. User can now set and show
12469 current topic on channel.
12471 * Added MOTD command to client and server. Also, server sends the
12472 motd when client connects to the server.
12474 * Changed version strings to comply ISO 8601.
12476 Wed Oct 4 23:29:06 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12478 * Fixed protocol error handling in client library. It should now
12479 cope even if the SKE fails for some reason.
12481 * Made new protocol specification drafts for submitting to IETF.
12483 * Implemented TOPIC command to server in silcd/command.c.
12485 * Added two new notify types into lib/silccore/silcnotify.h:
12486 SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_TOPIC_SET to
12487 notify nickname change and topic setting/change on a channel.
12489 * API change of command_reply operation in client library. The
12490 application gets now the status type received from server as well.
12492 Sat Sep 30 16:57:42 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12494 * Removed the function just added to lib/silcutil/silcschedule.[ch].
12496 * Cras fixed and optimized the packet handling even further and
12497 it should work now. Minor change to the prototype of function
12498 silc_packet_receive_process in lib/silccore/silcpacket.[ch].
12500 Sat Sep 30 08:48:47 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12502 * Added new function into lib/silcutil/silcschedule.[ch]:
12503 silc_schedule_with_fd to select() a specified fd. The function
12504 returns after timeout expires or data arrives or goes. The
12505 function is used by packet routines to wait that all data is
12506 received from network.
12508 * Fixed data reading from network in lib/silccore/silcpacket.c.
12509 The code now assures that all data is read from the fd and then
12510 continues packet processing. This was a bug fix since the code
12511 used to drop some data in some circumstances.
12513 * Added new function into lib/silcclient/client.[ch]:
12514 silc_client_start_key_exchange to start key exchange after
12515 connection has been established to server. The code internally
12516 now uses this funtion but its main purpose was to provide it
12517 for applications that perform their own connecting. After
12518 application has created a connection it merely calls this
12519 function to start the key exchange between client and server.
12520 The library takes care of everything else after that.
12522 Updated also lib/silcclient/README to explain the usage of
12525 * Do not send to application information that connection has
12526 been established. Application gets notified it by connect
12529 Thu Sep 28 23:40:19 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12531 * Applied cras's patch to add silc_schedule_one function. The
12532 function runs scheduler once and returns.
12534 * Fixed the scheduler after cras messed it up. The timeout
12535 handling works now as it's supposed to work.
12537 * Added into lib/silccore/ silcnotify.h to include notify
12538 message types support. Changed silc_server_send_notify*
12539 functions, in server.[ch], to support those new notify types.
12540 Added the support for the notify types into client library,
12541 as well. Added new notify client operation into ops.h in
12544 * Changed silc_server_packet_send_to_channel to send normal
12545 packets instead of just channel message packets. The function
12546 is now used to send the notify packets to channels. It is not
12547 used to send channel message packets anymore, as server never
12548 sends them anymore.
12550 * Added explicit casting into lib/silcutil/silcbuffmt.c to few
12551 va_arg()s as it seems to require it nowadays. I guess, if SILC
12552 is compiled with older va_arg() the new code should work anyway.
12554 Wed Sep 13 18:10:14 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12556 * Splitted core library. Core library (lib/silccore) includes
12557 now only SILC protocol specific core (and common) components.
12558 Created new utility library (lib/silcutil) that includes more
12559 generic purpose stuff. The stuff for util library was taken
12560 from the old core library. This was minor and easy split.
12562 * Created SILC Client Library (lib/silcclient) that includes
12563 implementation of the SILC client without user interface. This
12564 was major move from silc/ directory. The code has been changed
12565 so that it is transparent towards the user interface. The
12566 silc/ directory includes now the same user interface as before
12567 and it uses the new client library. Read lib/silcclient/README.
12568 Basicly, the client library performs everything else related
12569 to SILC except user interface handling. Also, configuration
12570 files are considered to be part of user interface and library
12571 does not handle them.
12573 This change also changed a lot of structures, function naming etc.
12574 Most important change was that SilcClientWindow object was
12575 renamed to SilcClientConnection in the client library. Created
12576 also new file lib/silcclient/ops.h. Also added new files
12577 silc/local_command.[ch] and silc/client_ops.[ch].
12579 All these changes were made to make it easier for user interface
12580 designers to create what ever user interface for the SILC client
12583 It is also expected that the server will be moved to lib
12584 directory as well and SILC Server Library will be created;
12585 sometimes in the future.
12587 * Removed Local commands from lib/silccore/silccommand.h as
12588 they are application specific and new client library does not
12589 handle any of those anymore.
12591 * Several functions moved to lib/silcutil/silcutilc.[ch] from
12592 old client implementation in silc/.
12594 * Added support for callback functions in SILC_LOG_* macros.
12595 Application can now set its own callbacks that will be called
12596 instead of using the default functions that will always print
12597 the debug messages to stderr (or stdout). Also, debugging can
12598 now be disabled by setting silc_debug to FALSE and re-enabled by
12599 setting it to TRUE. Note, that logging will still work even
12600 if debugging is disabled.
12602 New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
12603 silc_log_reset_callbacks, silc_log_set_debug_callbacks and
12604 silc_log_reset_debug_callbacks.
12606 * To enable debugging in silc client one must give now -d
12607 option on command line.
12609 * Changed silc_schedule_init to automatically allocate task queues
12610 if they are not allocated before calling it.
12612 Thu Sep 7 10:49:33 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12614 * Added GMP 3.1 into math library.
12616 Sun Aug 20 21:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12618 * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
12619 a channel in SILC network. The packet is used by servers and
12620 routers to notify other routers that user has left a channel.
12621 This little feature was missing until now. Added the feature
12622 to protocol specification as well.
12624 Added functions: silc_server_send_remove_channel_user and
12625 silc_server_remove_channel_user into server.[ch].
12627 * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
12628 lib/silccore/silcpacket.h. However, they are not implemented
12631 Sat Aug 19 23:04:16 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12633 * Fixed joining to a channel and sending channel messages
12634 between server and router. The channel message sending should
12635 now work inside a cell.
12637 Tue Jul 25 20:46:13 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12639 * Fixed the private message sending between server and router.
12640 The private message sending should now work inside a cell.
12642 * Added silc_server_replace_id into server.[ch] to replace
12643 existing ID in the SILC network.
12645 * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
12646 and silc_idlist_replace_server_id into idlist.[ch] in server.
12648 Mon Jul 24 18:33:31 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12650 * Fixed the server to server connections. Server can again now
12651 connect to router. Router to router connections probably does
12654 Thu Jul 20 13:15:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12656 * Added dynamic protocol registering support. Now protocols can
12657 registered and unregistered on the fly. Patch by cras.
12659 Wed Jul 19 19:08:46 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12661 * Added lib/contrib directory to hold routines that some platforms
12662 don't have but are needed by SILC.
12664 * Added getopt.c, getopt1.c and getopt.h from GNU C library
12665 into lin/contrib to provide getopt() and getopt_long() for
12666 those who don't have it.
12668 Tue Jul 18 20:41:20 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12670 * Added AWAY command to client. When away message is set and
12671 client receives a private message packet the client automatically
12672 replies to the sender with the away message.
12674 * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin. This
12675 bug seemed to be the cause of recent problems when compiling
12678 * Added version detection support to SKE protocol specification
12679 and added the new changes to the SKE implementation as well.
12680 There were other minor changes in the SKE protocol as well.
12682 Many changes in lib/silcske/silcske.[ch] and in
12683 lib/silcske/payload.[ch].
12685 * Added ^U functionality, clear input line. Patch from cras.
12687 Mon Jul 17 23:33:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12689 * Mainly small bugfixes on core library. Fixed some debugging
12690 logging and buffer overflow in silclog.c.
12692 * Updated config.sub and config.guess on the distribution tree.
12694 Sat Jul 15 15:33:48 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12696 * Added command lagging support in server. Client may execute
12697 commands now only once in two seconds.
12699 Thu Jul 13 22:10:21 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12701 * Optimized packet reception. MAC computation and checking is now
12702 also more optimized. A lot previously duplicated code is now
12703 used as generic by both client and server.
12705 * Fixed key pair generation in clientutil.c
12707 Wed Jul 12 18:28:07 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12709 * Added into lib/silccore/silcbufutil.[ch] new function;
12710 silc_buffer_realloc.
12712 * Moved generic packet sending/encryption functions to
12713 lib/silccore/silcpacket.[ch] from client and server. Some
12714 rewriting of the functions.
12716 * Moved all generic packet reception/decryption functions to
12717 lib/silccore/silcpacket.[ch] from client and server. The
12718 packet processing is now much cleaner in both client and server.
12719 These were major changes in both client and server.
12721 * Created many common functions in server to do packet sending.
12722 Previously code were duplicated a lot, this has been removed
12723 with these changes.
12725 Tue Jul 11 20:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12727 * Rewrote major parts of the ID cache system. Don't know
12728 whether it is better now or not but at least the API is more
12731 * Major rewrite on ID cache stuff on client because of the ID
12732 cache API changes. Added idlist.c to client.
12734 * Also major rewrite on ID cache stuff on server as well.
12735 Major rewrite of idlist.[ch]. SilcXXXList's are now named
12736 SilcXXXEntry's. We won't keep anymore idlist specific pointers
12737 in hand, instead they are all put into the ID cache system now.
12738 All server_idlist_* routines uses ID cache now instead of
12739 traversing its own lists (those lists does not exist anymore).
12740 SilcIDList though still exists. Also, SilcXXXEntry's are
12743 Sun Jul 9 15:19:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12745 * Finally made the SKE implementation compliant to the protocol
12746 specification. All mp integers are now binary encoded as
12747 opposed being HEX encoded.
12749 * Added lib/silcmath/mpbin.[ch]. Encoding mp intergers to and
12752 * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
12753 functions: silc_[encode/decode]_pem. Also added function
12754 silc_encode_pem_file to PEM encode with newlines ('\n') for
12755 saving into a file.
12757 * SILC public keys are now encoded either PEM or binary. Same
12758 option is for private keys as well. By default private keys
12759 are binary encoded and public keys PEM encoded. Silly HEX
12760 encoding were removed.
12762 * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
12763 function to create fingerprints.
12765 * Fixed a bug in SHA1; does not change the original data anymore.
12767 * Partly implemented INFO command on client and server side.
12768 Fixed CLEAR command. Changes to SERVER command; show current
12769 server(s) when giving command without arguments. Added
12770 VERSION command to client.
12772 * Added check to server that unregistered connections cannot
12773 execute commands (unless it is specificly allowed).
12775 Thu Jul 6 18:12:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12777 * Fixed screen refresh.
12779 * Fixed channel joining bug from client. On some circumstances
12780 client tried to join to a channel it had already joined.
12782 * Added public key verification process into client's protocol.c.
12783 The client now verifies the public key from user and saves
12784 it into ~./silc/serverkeys/ directory.
12786 Added into: clientutil.[ch]: silc_client_verify_server_key.
12788 * Changed SKE protocol's silc_ske_initiator_finish function
12789 to accept callback function that verifies the received public
12790 key. Removed old silc_ske_verify_public_key function.
12792 Wed Jul 5 19:19:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12794 * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
12795 silc_pkcs_private_key[_data]_set.
12797 * Made the password and public authentication more cleaner in
12798 server's protocol.c.
12800 * Removed historic and obsolete protocol `channel_auth' from
12801 both client and server.
12803 * Removed wrong way of sending command status messages from
12804 server to client in server's command.c. The old way violated
12805 protocol specification.
12807 Changes to silccore/silccommand.[ch]: removed
12808 silc_command_encode_status_payload -> not needed anymore,
12809 changed silc_command_encode_payload_va to accept extra
12810 argument on variable argument list. The argument type must
12811 now be provided to the function. Also, added new function:
12812 silc_command_encode_reply_payload_va which is same as
12813 normal command_encode_payload_va except command status type
12814 is provided as extra argument.
12816 Tue Jul 4 18:26:39 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12818 * Added ~./silc directory handling. The directory includes the
12819 public and private keys for the client.
12821 Added silc_client_check_silc_dir, silc_client_create_identifier
12822 and silc_client_load_keys.
12824 * Implemented SILC protocol compliant public key. Added public
12825 and private key saving to and loading from files.
12827 Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
12828 silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
12829 silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
12830 silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
12831 silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
12833 Implemented: silc_pkcs_save_[public/private]_key[_data] and
12834 silc_pkcs_load_[public/private]_key.
12836 Mon Jul 3 18:51:27 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12838 * Added silc_server_get_route (route.[ch]) to get connection
12839 data for the fastest route for given ID.
12841 * Implemented INVITE command on client and server. The command
12842 were re-defined in the SILC Protocol Specification and the
12843 implementation now complies with the specification.
12845 * Implemented PING command on client and server.
12847 * Implemented NAMES command on client and server. The server side
12848 supports currently only normal server not router server yet.
12849 Some changes to NAMES definition in SILC protocol specification.
12851 Sun Jul 2 18:23:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12853 * Implemented LEAVE command on client and server.
12855 * Previously deprecated SILC_PACKET_FORWARDED flag is now in use
12856 again. This change was made to the protocol as well. Server
12857 should not violate the protocol specification anymore.
12859 Fri Jun 30 14:03:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12861 * Added SOCKS4 and SOCKS5 support to SILC client. SOCKS5
12862 was tested. SOCKS4 was not but should work anyway.