1 Tue Nov 13 18:24:56 EET 2007 Pekka Riikonen <priikone@silcnet.org>
3 * Added missing channel unreferencing in CMODE, CUMODE,
4 TOPIC, INVITE, BAN and KICK command replies. Affected
5 file is lib/silcclient/command_reply.c.
7 Sun Nov 11 23:04:54 EET 2007 Pekka Riikonen <priikone@silcnet.org>
9 * Free stream data and abort ongoing protocols correctly
10 for primary router connections receiving end of stream.
11 Affected file is apps/silcd/server.c.
13 Sun Nov 11 16:02:12 EET 2007 Pekka Riikonen <priikone@silcnet.org>
15 * SILC Server 1.1 Beta4.
17 Sun Nov 11 14:15:48 EET 2007 Pekka Riikonen <priikone@silcnet.org>
21 Sun Nov 11 11:22:35 EET 2007 Pekka Riikonen <priikone@silcnet.org>
23 * Fixed connection authentication with public keys to use
24 correct public key as responder. Affected file is
25 lib/silcske/silcconnauth.c.
27 * Fixed public key authentication in server. Affected file is
28 apps/silcd/serverconfig.c.
30 * Fixed OPER and SILCOPER public key authentication. Affected
31 file is apps/silcd/server.c.
33 * Fixed prefer_passphrase_auth flag in server. Fixed
34 disconnection of unauthenticated connection. Affected file is
37 * Fixed client resuming in server. Affected file is
38 apps/silcd/packet_receive.c.
40 * Fixed IDENTIFY and WHOWAS command reply to correctly update
41 client entries (fixes a crash). Affected file is
42 apps/silcd/command_reply.c.
44 Tue Nov 6 16:39:20 EET 2007 Pekka Riikonen <priikone@silcnet.org>
48 Mon Nov 5 23:07:58 EET 2007 Pekka Riikonen <priikone@silcnet.org>
50 * Zero tail of CTR mode IV in IV Included mode. Change does
51 not cause compatibility issues. Affected file is
52 lib/silcske/silcske.c.
54 Mon Nov 5 22:24:25 EET 2007 Pekka Riikonen <priikone@silcnet.org>
58 * Fixed CTR mode rekey. Affected file is lib/silcske/silcske.c.
60 * Rewrote the IV Included CTR mode encryption/decryption in
61 packet engine. Affected file is lib/silccore/silcpacket.c.
63 Sun Nov 4 15:20:25 EET 2007 Pekka Riikonen <priikone@silcnet.org>
65 * Removed module_path and module options from the server
66 config file format. Affected file is apps/silcd/serverconfig.c.
68 * Fixed non-IPv6 compilation error. Affected file is
69 lib/silcutil/unix/silcunixnet.c.
71 Sat Nov 3 23:23:38 EET 2007 Pekka Riikonen <priikone@silcnet.org>
73 * Do not free packet engine before uninitializing scheduler.
74 Do not disconnct already disconnected streams. Affected
75 files are in apps/silcd/.
77 * Fixed setting correct ID for re-encrypted channel messages
78 in router-to-router connections. Affected file is
79 apps/silcd/packet_send.c.
81 Sun Sep 30 15:16:18 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
83 * Fixed channel private key deleting when deleting the channel.
84 Affected file is lib/silcclient/client_channel.c.
86 Sun Sep 9 17:52:49 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
90 * Fixed possible buffer overflows from SILC Config code.
91 Patch from Jérémy Bobbio. Affected file is
92 lib/silcutil/silcconfig.c.
94 Sun Aug 26 12:28:49 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
96 * Fixed TIMEOUT handling in user info resolving during JOINing,
97 fixes crash. Affected file is lib/silcclient/client_notify.c.
99 * Fixed mandatory UN and HN SILC public key identifier checking
100 (both must be present). Affected file is
101 lib/silccrypt/silcpk.c.
103 Tue Aug 7 20:56:06 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
105 * Fixed alignment issues with 64-bit CPUs. Affected files
106 are lib/silcutil/silcschedule.c and unix/silcunixschedule.c.
108 * Added "There are now xx nick's" to "are xx nicks". Affected
109 file is apps/irssi/src/fe-common/silc/module-formats.c.
111 Sat Aug 4 18:37:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
113 * Fixed USERS command user mode handling (integer overflow).
114 Affected file is lib/silcclient/command_reply.c.
116 Thu Jul 19 21:08:49 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
118 * Fixed big-endian issues from aes implementation. Affected
119 files are lib/silccrypt/aes.c.
121 * Fixed lib/silcutil/silcatomic.h compilation on IA64. Patch
124 * Fixed public key identifier parsing to check lengths
125 correctly. Affected file is lib/silccrypt/silcpk.c.
127 Wed Jul 4 08:06:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
129 * SILC Toolkit 1.1.2.
133 Mon Jul 2 17:28:47 CEST 2007 Pekka Riikonen <priikone@silcnet.org>
135 * In silc_client_free check that scheduler is allocated before
136 trying to free it. Affected file is lib/silcclient/client.c.
138 * Fixed buffer overflow in NICK_CHANGE notify. The destination
139 buffer for old nickname was too small. Affected file is
140 lib/silclient/client_notify.c.
142 Sun Jul 1 19:15:15 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
144 * SILC Server 1.1 Beta1.
146 Sun Jul 1 12:40:06 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
148 * Added support for rekey with PFS when using CTR mode
149 encryption. Affected file is lib/silcske/silcske.c.
151 * Added silc_idcache_move that can be used to move entries
152 between caches. Affected files are
153 lib/silcapputil/silcidcache.[ch].
155 * Added better checks for invalid argument and notify payloads.
156 Affected files are lib/silccore/silcnotify.c and
159 * Fixed SILC_PACKET_FLAG_LONG_PAD bitmask value. Affected
160 file lib/silccore/silcpacket.h.
162 Sat Jun 30 21:48:08 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
164 * Set the destination ID to packet stream as SKE responder
165 if ID was present in key exchange packet. Affected file
166 is lib/silcske/silcske.[ch].
168 * Handle also zero timeouts in the scheduler notify callback
169 to avoid problems with SILC Plugin. Affected file is
170 apps/irssi/src/silc/core/silc-core.c.
172 Thu Jun 28 19:19:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
176 Sun Jun 24 18:47:55 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
178 * SILC Toolkit 1.1.1.
180 * Compile sources with _GNU_SOURCE on Linux systems. Affected
181 file is configure.ad.
183 Sun Jun 24 16:33:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
185 * Fixed Unix signal task dispatching to not lock the signals
186 when dispatching the callback to avoid deadlocks. Affected
187 file is lib/silcutil/unix/silcunixschedule.c.
189 Sun Jun 24 14:43:21 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
191 * Fix configure output for with-plugin. Affected file is
192 apps/irssi/configure.ad
194 Tue Jun 19 17:05:48 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
196 * Added SILC_VERSION macro for checking package versions at
197 compile time. Affected files are configure.ad,
198 includes/silc.h.in and includes/silcversion.h.in.
200 Mon Jun 18 23:47:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
202 * Use SILC_VERIFY to assert that silc_rwlock_wrlock can be
203 called only once per thread on Unix. Affected file is
204 lib/silcutil/unix/silcunixthread.c. Added same for mutex
205 as well. Documented same on the API in
206 lib/silcutil/silcmutex.h.
208 * Fixed USERS command reply write-lock unlocking. Affected file
209 is lib/silcclient/command_reply.c.
211 Mon Jun 18 08:14:26 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
213 * Fixed silc_create_key_pair to check for valid identifier.
214 Affected file is lib/silcapputil/silcapputil.c.
216 Sun Jun 17 20:08:26 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
218 * Rewrite signed public message handling, adopting the new
219 hilight interface. Affected file is
220 apps/irssi/src/fe-common/silc/fe-silc-messages.c
222 Thu Jun 14 21:15:31 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
224 * Fix off by one error when loading modules. Affected file is
225 apps/irssi/src/core/modules-load.c
227 * Don't delete hilight entry (because it's just a pointer, not a
228 copy). Affected file is
229 apps/irssi/src/fe-common/silc/fe-silc-messages.c
231 Mon Jun 11 22:10:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
233 * Added __SILC_TOOLKIT_x_x_x macro to all Toolkit distribution
234 which can be used to check for Toolkit version in third-party
235 software. Affected file is configure.ad, includes/silc.h.in.
237 Sun Jun 10 17:32:15 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
239 * Added support for channel@server channel name strings to
240 client library (SILC protocol version 1.3 change). Affected
241 files are lib/silcclient/silcclient_entry.h, client_entry.c.
243 * Added full_nicknames and full_channel_names settings to
244 SilcClientParams that can be used to specify whether client
245 library returns full nickname and channel name strings.
246 Full strings are nick@server and channel@server. Affected
247 file is lib/silcclient/client_entry.c and command.c.
249 Sat Jun 9 19:43:25 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
251 * Fixed unix connecting failure to return error code correctly.
252 Affected file is lib/silcutil/unix/silcunixnet.c.
254 Fri Jun 8 23:32:33 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
256 * Fixed SKE timeout double free crash. Affected file is
257 lib/silcske/silcske.c.
259 * Fixed MIME multipart decoding buffer overflow. Affected file
260 is lib/silcutil/silcmime.c. Thanks to Matt Miller for patch.
262 Fri Jun 8 18:39:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
264 * Fixed connection auth protocol timeout crash. Affected
265 file is lib/silcske/silconnauth.c.
267 * Fixed FSM machine finishing to check for existing threads
268 at the final free callback to allow time for the threads to
269 finish. Affected file lib/silcutil/silcfsm.c.
271 Thu Jun 7 21:25:31 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
273 * Fixed silc_client_get_clients_local to check the nick's
274 server also if nick@server nickname string is given to the
275 function. Affected file is lib/silcclient/client_entry.c.
277 Wed Jun 6 18:33:05 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
279 * Added notify callback to silc_schedule_init which can be used to
280 set a notify callback for scheduler which is called when task is
281 added to scheduler or deleted from scheduler. Affected file
282 is lib/silcutil/silcschedule.[ch].
284 * Dispatch timeout tasks after dispatching FD tasks if the timeout
285 was very short. Affected file is lib/silcutil/silcschedule.c.
287 * Rewrote the SILC scheduler handling in SILC Client to not poll
288 every few msecs but to use the new notify callback. Affected
289 file is apps/irssi/src/silc/core/silc-core.c.
291 * Fixed SFTP client library read buffer size which was too small.
292 Affected file is lib/silcsftp/sftp_client.c.
294 * Fixed file transfer crash bug in /QUIT in SILC Client. Close
295 the FTP sessions before quitting the client. Affected file
296 is apps/irssi/src/silc/core/silc-servers.c.
298 Tue Jun 5 20:48:40 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
300 * Fixed silc_packet_get_ids to decode the IDs correctly.
301 Affected file is lib/silccore/silcpacket.c.
303 * Fixed silc_client_get_clients_local to parse correctly nickname
304 string that may have server name in it (nick@server) regardless
305 whether it was formatted nickname or not. Affected file is
306 lib/silcclient/client_entry.c.
308 Mon Jun 4 22:02:53 CEST 2007 Jochen Eisinger <jochen@penguin-breeder.org>
310 * Only destroy sendbuffers, if they still exist (they cease to
311 exist during /upgrade). Affected file is
312 apps/irssi/src/silc/core/silc-servers.c
314 Mon Jun 4 21:24:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
316 * Removed --enable-silc-plugin. Added --with-silc-plugin.
317 Affected files are configure.ad, lib/configure.ad,
318 apps/irssi/configure.ad, apps/irssi/configure.in,
319 apps/irssi/scripts/Makefile.am,
320 apps/irssi/scripts/examples/Makefile.am,
321 apps/irssi/src/silc/core/silc/Makefile.am,
322 apps/irssi/src/fe-common/silc/Makefile.am.
324 Mon Jun 4 08:35:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
328 Sun Jun 3 14:00:09 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
330 * Fixed DESTDIR handling in make install.
332 Sat Jun 2 21:04:32 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
334 * SIM modules are not delivered to SILC CLient distribution
337 * Changed default installation path from /usr/local/silc to
338 /usr/local for all distributions.
340 * Removed --with-etcdir and --with-docdir. The etcdir is now
341 the system's default. The Docdir is system's default.
343 Sat Jun 2 00:51:57 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
345 * If public key/private key loading fails set the return
346 pointer to NULL. Affected file is lib/silccrypt/silcpkcs.c.
348 * If private key loading fails in silc_load_key_pair free the
349 loaded public key. Affected file is
350 lib/silcapputil/silcapputil.c.
352 * Fixed key pair loading crash with SILC Plugin if key pair
353 loading fails. Affected file is
354 apps/irssi/src/silc/core/silc-core.c.
356 * Fixed SILC Client help and script file installation path
357 to go to prefix/share/silc. Affected files are
358 apps/irssi/src/scripts/Makefile.am and
359 apps/irssi/docs/help/Makefile.am.gen.
361 Thu May 31 16:49:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
363 * Fixed UTC offset minutes to be actually minutes. Affected
364 file is lib/silcutil/silctime.c.
366 Thu May 31 09:40:56 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
370 * Added support for checking for timezone and tm_gmtoff.
371 Affected files are configure.ad and lib/silcutil/silctime.c.
373 Wed May 30 18:46:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
375 * Added silc-toolkit.spec.in RPM spec file.
377 Mon May 28 23:21:39 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
379 * Fixed nickname formatting crash when updating existing
380 client entry. Affected file is lib/silcclient/client_entry.c.
382 * Fixed MIME object encoding in attribute payload encoding.
383 Affected file is lib/silccore/silcattrs.c.
385 Mon May 28 09:02:26 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
387 * SILC Client 1.1 Beta6
389 Sun May 27 20:38:30 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
391 * Copy SILC Plugin's libfe_common_silc.so to libfe_silc.so so
392 that user's don't have to do it manually. Affected file
393 is apps/irssi/src/fe-common/silc/core/Makefile.am.
395 Thu May 24 15:30:31 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
397 * SILC Toolkit 1.1 Beta4.
399 * Fixed channel and server entry freeing in client library.
400 Affected file is lib/silcclient/client_entry.c.
402 * Do not allow stopping client before it has been started.
403 Affected file is lib/silcclient/client.c.
405 Wed May 23 23:21:03 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
407 * Fixed formatted nickname renaming to rename also irssi's
408 nicklist (/NAMES etc). Affected file is
409 apps/irssi/src/silc/core/client_ops.c.
411 * Fixed SILC Plugin crash when stopping client library before
412 it has been started. Affected file is
413 apps/irssi/src/silc/core/silc-core.c.
415 Tue May 22 17:18:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
417 * For SILC Client and SILC Server check for 1.1 Toolkit
418 in configure. Affected file is configure.ad.
420 * Added better library linking flags and orders for SILC Client.
421 Affected file is configure.ad, Makefile.defines_int.in and
422 apps/irssi/src/fe-text/Makefile.am
424 Mon May 21 08:26:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
426 * SILC Client 1.1 Beta5.
428 Sun May 20 18:34:22 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
430 * Add hooks for Irssi 0.8.11 module functions. Affected file
431 is apps/irssi/src/fe-common/silc/fe-common-silc.c
433 Sat May 19 14:46:36 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
435 * Fixed passphrase authentication with server. Affected file
436 is lib/silcclient/client_connect.c.
438 * Fixed passphrase authentication as responder. Affected file is
439 lib/silcske/silcconnauth.c.
441 * Changed SilcAskPassphrase and SilcGetAuthMeth callbacks to
442 return data as const. Affected file is
443 lib/silcclient/silcclient.h.
445 * Fixed timeout calculation in Symbian scheduler. Affected
446 file is lib/silcutil/symbian/silcsymbianscheduler.c.
448 Fri May 18 21:10:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
450 * Do not uninitialize u.m.threads atomic int in finish but in
451 free. Fixes crash on any platform using atomic operations
452 using mutexes (like Symbian). Affected file is
453 lib/silcutil/silcfsm.c.
455 * Fixes Symbian scheduler wakeup synchronization. Affected file
456 is lib/silcutil/symbian/silcsymbianscheduler.c.
458 Fri May 18 18:10:36 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
460 * Fixed nickname formatting to handle already formatted nicknames
461 better. Affected file is lib/silccilent/client_entry.c.
463 * Added "foo#2 appears as foo" support to SILC Client when user
464 leaves or quits and one formatted nickname remain. Affected file
465 is apps/irssi/src/silc/core/client_ops.c.
467 * Send SilcChannelEntry to application in SILC_NOTIFY_TYPE_SIGNOFF.
468 Affected file is lib/silcclient/client_notify.c.
470 Thu May 17 18:05:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
472 * Fixed silc_show_public_key to not free public key in case of
473 failure. Affected file is lib/silcapputil/silcapputil.c.
475 Thu May 17 17:09:50 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
477 * SILC Toolkit 1.1 Beta3.
479 * Porting Toolkit to Symbian. It should work while some sporadic
480 odd crashes remain. However I was able to run mybot on SILCNet.
481 Basically tested scheduler, net routines, socket routines,
482 threads and some other utility routines. Affected files are
483 in lib/silcutil/symbian/.
485 Thu May 17 11:57:40 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
487 * Show realname and email address from public key when verifying
488 cached public keys with GETKEY. Affected files are
489 apps/irssi/src/fe-common/module-formats.[ch] and
490 apps/irssi/src/silc/core/client_ops.c.
492 Wed May 16 20:41:04 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
494 * Include SILC Plugin theme. Affected file is apps/irssi/plugin.theme
496 * Include SILC Plugin /silc command help. Affected file is
497 apps/irssi/docs/help/silc
499 * Create channels before joining them. Affected file is
500 apps/irssi/src/silc/core/client_ops.c
502 Wed May 16 18:59:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
504 * Fixed channel private key listing with /key. Affected file
505 is apps/irssi/src/silc/core/silc-channels.c.
507 * Fixed the public headers from anonymous structures. Affected
510 * Changed silc_buffer_*len macros to inline functions. Affected
511 file is lib/silcutil/silcbuffer.h.
513 Wed May 16 10:21:45 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
515 * Fixed nickname format parsing in JOIN notify handling and
516 in WHOIS command reply. Affected file is
517 apps/irssi/src/silc/core/client_ops.c.
519 Wed May 16 09:34:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
521 * SILC Client 1.1 Beta4.
523 Tue May 15 23:55:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
525 * Added SILC_VERIFY macro which is equivalent to SILC_ASSERT
526 but is compiled always in. Affected file is
527 lib/silcutil/silclog.h.
529 * Use SILC_VERIFY in FSM macros instead of SILC_ASSERT which is
530 not there in release builds. Affected file is
531 lib/silcutil/silcfsm.h.
533 Tue May 15 21:19:09 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
535 * SILC Client 1.1-beta3
537 Mon May 14 23:20:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
539 * Added silc_utf8_c2w and silc_utf8_w2c to do UTF-8 to widechar
540 and widechar to UTF-8 conversions. Affected files are
541 lib/silcutil/silcutf8.[ch].
543 Mon May 14 19:45:14 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
545 * Include a README for the SILC Plugin
547 Sun May 13 22:08:59 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
549 * Adopt perl Makefiles for SILC Plugin.
551 Sun May 13 18:27:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
553 * Fixed client library initialization when the running callback
554 is not given to silc_client_init. Affected file is
555 lib/silcclient/client.c.
557 * Fixed Symbian compilation problems around the tree. Added
558 new Carbide.c++ project files to symbian/ directory.
560 * Fixed SilcLog API to work on Symbian. On Symbian it doesn't
561 use any globals. Affected files are lib/silcutil/silclog.c
564 Sun May 13 16:54:35 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
566 * Fix several warnings in Irssi's Makefiles.
568 Sun May 13 12:16:30 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
570 * Disable ASM if --with-pic was given. Affected file is
571 lib/silccrypt/configure.ad
573 Fri May 11 19:10:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
575 * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later
576 in case they are called from a thread. Affected file is
577 lib/silcutil/silcfsm.c.
579 * Fixed WIN32 thread creation to handle the Tls correctly.
580 Affected file is lib/silcutil/win32/silcwin32thread.c.
582 Thu May 10 18:29:18 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
584 * SILC Toolkit 1.1-beta2.
586 Thu May 10 18:21:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
588 * Fixed silc_net_tcp_connect crash on Unix and Win32. Handle
589 the socket async operation correctly. Changed that DNS lookup
590 is now done during connecting. Affected files are
591 lib/silcutil/[unix|win32]/silc[unix|win32]net.c.
593 * Changed also silc_net_tcp_connect on Symbian to do DNS lookup.
594 Affected file is lib/silcutil/symbian/silcsymbiannet.c.
596 * Optimize silc_net_gethostbyname to check if the name is already
597 IP address. Affected file is lib/silcutil/silcnet.c.
599 Wed May 9 19:51:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
601 * Print filename instead of empty function name in debug output
602 on WIN32. Affected files are lib/silcutil/silclog_i.h and
605 * Rewrote WIN32 SILC Scheduler. It now handles non-blocking file
606 descriptors and sockets better. Though, room for optimization
607 remains. Affected file is lib/silcutil/win32/silcwin32schedule.c.
609 * Removed silc_net_win32_[init|uninit]. They are called now
610 automatically when SILC Scheduler is allocated. Wrote IPv4
611 address parser because inet_addr seemed not to work on my WIN32.
612 Affected file is lib/silcutil/win32/silcwin32net.c.
614 * Improved socketstream.h and stream.h documentation.
616 Tue May 8 18:13:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
618 * Changed private message waiting API in client library to make
619 it work better with multiple waiting threads. The waiting is
620 not always per client entry instead of per connection. Affected
621 files are lib/silcclient/client_prvmsg.c, client.h and
624 * Changed silc_packet_wait_init function to accept the the expected
625 Source ID of the packet as argument. If specified only packets
626 with the specified types and Source ID are delivered. Affected
627 files are lib/silccore/silcpacket.[ch].
629 * Fixed file transfer disconnection crash when closing the session
630 directly in the monitor callback after disconnection. Affected
631 file is lib/silcclient/client_ftp.c.
633 * Make Toolkit compile on WIN32. Affected files in win32/
634 and in lib/silcutil/win32/.
636 * Changed silc_compare_timeval to return negative, zero or
637 positive instead of just TRUE or FALSE. This fixes 0 timeout
638 task dispatching on Windows. Affected files are
639 lib/silcutil/silctime.[ch] and silcschedule.c.
641 Mon May 7 18:18:48 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
643 * Fixed CMODE channel auth public key retrieval. Affected
644 file is lib/silcclient/command.c.
646 * Fixed CMODE command reply to return channel public keys
647 correctly. Affected files are lib/silcclient/command_reply.c
648 and client_channel.c.
650 Sun May 6 12:43:19 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
652 * Added current channel key cipher name and HMAC name to
653 SilcChannelEntry. Fixed channel private key creation.
654 Affected files are lib/silcclient/client_channel.c,
655 client_entry and silcclient_entry.h.
657 * Allow formatted nicknames as input to silc_client_get_clients
658 and silc_client_get_clients_whois. Affected file is
659 lib/silcclient/client_entry.c.
661 * Fixed silc_message_payload_free crash. Affected file is
662 lib/silccore/silcmessage.c.
664 * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to
665 lib/silccore/silcstatus.h.
667 Thu May 3 18:07:50 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
669 * Imported libtommath 0.41. Renamed all mp_* functions to
670 tma_mp_* functions to avoid rare linking problems on systems
671 with mp_* functions. Affected files are in lib/silcmath/.
673 Wed May 2 17:46:25 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
675 * SILC Toolkit 1.1 Beta1.
677 Wed May 2 11:38:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
679 * Set the server and router operator modes to local entry after
680 successful OPER or SILCOPER commands. Affected file is
681 lib/silcclient/command_reply.c.
683 Tue May 1 14:17:06 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
685 * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API,
686 and other smaller APIs to WIN32. Affected files are in
689 * Changed the various regex APIs as generic code in util library.
690 Affected files are lib/silcutil/silcstrutil.[ch].
692 Sat Apr 28 13:47:47 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
694 * Ported SILC Server to the new Toolkit API, working towards
695 SILC Server 1.1. Affected files are in apps/silcd/.
697 * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key
698 to lib/silcskr/silcskr.[ch].
700 * Fixed SILC public key copying to copy the identifier also.
701 Affected file is lib/silccrypt/silcpk.c.
703 * Added silc_packet_error_string to lib/silccore/silcpacket.[ch].
705 * Fixed OPER and SILCOPER passphrase asking in Client library.
706 Affected file is lib/silcclient/command.c.
708 Tue Apr 24 17:55:24 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
710 * Fixed command queue enabling after connecting to server.
711 The comparisons was from after changing to silc_utf8_strcasecmp.
712 Affected file is apps/irssi/src/silc/core/silc-servers.c.
714 * Fixed nickname setting with own client entry with 1.3 protocol
715 version server. Affected file lib/silcclient/client_register.c.
717 * Ignore error notify for local client entry. Affected file is
718 lib/silcclient/client_notify.c.
720 * Implemented responder rekey to SKE library. Affected files are
721 lib/silcske/silcske.[ch].
723 * Fixed connection auth protocol completion sending. Affected
724 file lib/silcske/silcconnauth.c.
726 Mon Apr 23 17:20:01 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
728 * Do not call TCP network listener callback with any error
729 status, as documented. Affected file is
730 lib/silcutil/unix/silcunixnet.c.
732 Sun Apr 22 21:13:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
734 * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
736 * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type.
737 Changed silc_skr_find to have SilcSchedule argument and removed
738 it from silc_skr_[alloc|init]. Affected files are
739 lib/silcskr/silcskr.[ch].
741 * Allow NULL id for silc_idcache_add. Affected file is
742 lib/silcapputil/silcidcache.c.
744 * Added silc_packet_stream_is_valid, silc_packet_get_ids and
745 silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch].
746 Fixed also channel message encryption with router-to-router
749 * Added silc_id_str2id2 to lib/silccore/silcid.[ch].
751 * Added silc_net_get_error_string, silc_net_listener_get_ip and
752 silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
754 Tue Apr 10 15:55:42 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
756 * Add option --enable-silc-plugin. Affected files are
757 apps/irssi/configure.{ad,in}
759 * Only compile the SILC Plugin if required. Affected files are
760 apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am
762 * Conditionally build the SILC Plugin. Affected files are
763 apps/irssi/src/silc/core/Makefile.am,
764 apps/irssi/src/fe-common/silc/Makefile.am
766 * Backout delayed protocol exit and replace with a lame busy
767 wait. Affected files are apps/irssi/src/fe-text/silc.c,
768 apps/irssi/src/silc/core/silc-core.c
770 * Fix key generation for SILC Plugin. Affected file
771 apps/irssi/src/silc/core/clientutil.c
773 Tue Apr 10 12:40:19 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
775 * Only pass -rpath to libtool when building shared libraries.
776 Affected file lib/Makefile.ad
778 * Removing the stray "s" in configure.ad
780 Sat Mar 24 19:13:58 CET 2007 Jochen Eisinger <coffee@silcnet.org>
782 * Redraw the screen after creating a new key. Affected file
783 apps/irssi/src/silc/core/clientutil.c
785 Sun Mar 18 15:54:10 EET 2007 Pekka Riikonen <priikone@silcnet.org>
787 * Added SILC Client setting /set nickname_format that specifies
788 the nickname format string. Changed default nickname format
789 string to "%n#%a". Affected file is
790 apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf.
792 * Fixed nickname parsing with WHOIS command to accept formatted
793 nicknames. Changed the silc_client_get_clients_local to allow
794 the searched nickname to be formatted nickname. Removed %s and
795 %S nickname formatters. Affected files are in lib/silcclient/.
797 * Added silc_client_nickname_parse to Client library API. Affected
798 file is lib/silcclient/silcclient.h.
800 * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY
801 commands. Affected file are
802 apps/irssi/src/silc/core/silc-servers.c and silc-channels.c.
804 Sat Mar 17 19:07:15 CET 2007 Jochen Eisinger <coffee@silcnet.org>
806 * Incorporate SILC Plugin patches. Affected files are
807 apps/irssi/src/fe-common/silc/module-formats.{c,h},
808 apps/irssi/src/silc/core/clientutil.{c,h},
809 apps/irssi/src/silc/core/silc-core.c,
810 apps/irssi/src/silc/core/silc-chatnets.{c,h},
811 apps/irssi/src/fe-common/silc/fe-silcnet.c, and
812 apps/irssi/src/fe-common/silc/module.h
814 Wed Mar 14 17:31:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
816 * In notify handling resolve user entries many times if the
817 resolving timedout. Affected file lib/silcclient/client_notify.c.
819 * silc_client_get_clients_local do not return any invalid entries.
820 Affected file is lib/silcclient/client_entry.c.
822 * Do not print "there are now xx user on this channel" for users
823 that actually aren't anymore on the channel. Affected file
824 is apps/irssi/src/client_ops.c.
826 Sun Mar 11 17:43:18 CET 2007 Jochen Eisinger <coffee@silcnet.org>
828 * When joining channels with a password given in the config file,
829 use it. Also use it when cycling (it would be better to get
830 the password from the server, but this isn't possible in SILC).
831 Affected files apps/irssi/src/silc/core/silc-servers.c,
832 apps/irssi/src/silc/core/silc-channels.c
834 Sun Mar 11 15:22:42 CET 2007 Jochen Eisinger <coffee@silcnet.org>
836 * Import perl script for sign_messages from silc-plugin. Affected
837 file apps/irssi/scripts/silc.pl
839 Sun Mar 11 15:19:10 CET 2007 Jochen Eisinger <coffee@silcnet.org>
841 * Only wait for a nick on connecting, when it differs
842 (not counting case) from the username. Affected file
843 is apps/irssi/src/silc/core/silc-servers.c
845 Sun Mar 11 13:50:53 CET 2007 Jochen Eisinger <coffee@silcnet.org>
847 * Use time settings for lag settings. Affected file is
848 apps/irssi/src/silc/core/silc-lag.c
850 Tue Feb 27 17:07:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
852 * Added silc_thread_yield. Affected file is
853 lib/silcutil/silcmutex.h.
855 Wed Feb 21 17:01:01 EET 2007 Pekka Riikonen <priikone@silcnet.org>
857 * Fixed WHOIS command and requested attributes handling in
858 client library. Affected files are lib/silcclient/command.c
859 and lib/silcclient/client_attrs.c.
861 * Fixed silc_time_value to actually work. Added new function
862 silc_timezone. Affected files are lib/silcutil/silctime.[ch].
864 Tue Feb 20 08:31:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
866 * SILC Client 1.1 beta2.
868 Mon Feb 19 16:06:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
870 * Fixed client to properly abort TCP stream creation when
871 giving /QUIT. Affected file
872 apps/irssi/src/silc/core/silc-servers.c.
874 * Fixed several connecting aborting crashes from the client
875 library, packet engine and socket stream. Affected files
876 are in lib/silclient/, lib/silccore/silcpacket.c and
877 lib/silcutil/unix/silcunixsocketstream.c.
879 * Fixed private key export double free crash in key generation.
880 Affected file is lib/silccrypt/silcpk.c.
882 * Fixed FSM event waiting when there are multiple signallers
883 and the waiter goes away after the first signal. Affected
884 file in lib/silcutil/silcfsm.c.
886 Sun Feb 18 22:02:22 EET 2007 Pekka Riikonen <priikone@silcnet.org>
888 * Fixed FSM event signalling to check if the waiter has gone
889 away already. Affected file is lib/silcutil/silcfsm.c.
891 * Fixed counter mode encryption/decryption to handle non-padded
892 SILC packets correctly. The silc_cipher_set_iv now
893 in counter mode resets for a new block. Affected files are
894 in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
896 Sun Feb 18 12:15:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
898 * SILC Client 1.1 beta1.
900 * Memory leak fixes around the libraries.
902 Fri Feb 16 16:53:16 EET 2007 Pekka Riikonen <priikone@silcnet.org>
904 * Added better check for epoll() in configure. Affected file
907 Thu Feb 15 16:50:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
909 * Fixed per scheduler data input buffer in packet engine. Use
910 list of inbufs instead of just one so that multiple streams
911 can do partial reads to different buffers. Affected file is
912 lib/silccore/silcpacket.c.
914 * Fixed WATCH notify handling in client library. Affected file
915 is lib/silcclient/client_notify.c.
917 Wed Feb 14 17:05:38 EET 2007 Pekka Riikonen <priikone@silcnet.org>
919 * Fixed packet wrapper stream API to support encoder/decoder
920 for packets, and to handle partial reading correctly. Fixed
921 also inbuf size checking in reading to have enough space before
922 reading. Affected files are lib/silccore/silcpacket.[ch].
924 * Rewrote file transfer in client library. Affected files are
927 * Added TCP/UDP listener (internal) API to client library to have
928 generic way of dealing with listeners. Fixed Key Agreement and
929 file transfer to use it. Affected files are in lib/silcclient/.
931 * Fixed SKE to process SUCCESS packets synchronously and to call
932 completion synchronously. Affected file is lib/silcske/silske.c.
934 * Fixed pthread rwlock detection. Affected file includes/silc.h.in.
936 * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER. Affected files are
937 lib/silccore/silcattrs.[ch]. SILC Protocol version 1.3 change.
939 Fri Feb 2 22:24:11 EET 2007 Pekka Riikonen <priikone@silcnet.org>
941 * Added support for SILC protocol version 1.3 NEW_CLIENT packet
942 to client library. Affected file is
943 lib/silcclient/client_register.c.
945 * Serialize NICK and JOIN commands to avoid problems locally
946 with changing ID while joining to channel. Affected file is
947 lib/silcclient/command.c.
949 * Fixed entry resolving while handling incoming JOIN notify.
950 Handle properly cases, in re-processing of notify packets, where
951 the IDs may become invalid while resolving the entry (like nick
952 change). Entry is invalid if it doesn't have nickname, and such
953 entries are not delivered to application anymore. These fixes
954 problems of not seeing JOINs when remote user changes nickname
955 at the same time. Affected files are in lib/silcclient/.
957 Thu Feb 1 18:35:58 EET 2007 Pekka Riikonen <priikone@silcnet.org>
959 * Added support for computing message payload MAC in new way
960 (SILC Protocol version 1.3). Bakcwards support for old way
961 remains. Affected files are lib/silccore/silcmessage.[ch].
963 Sat Jan 27 22:37:30 EET 2007 Pekka Riikonen <priikone@silcnet.org>
965 * Added SilcRwLock API, a read/write lock. Affected files are
966 lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
968 Wed Jan 24 18:55:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
970 * Merged Irssi SVN (irssi 0.8.11). Affected files in apps/irssi/.
972 Tue Jan 23 16:05:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
974 * The silc_schedule_set_listen_fd now returns boolean value.
975 Fixed FD task adding to check correctly for already added
976 FD tasks. Added stricter error checking for FD scheduling
977 with epoll(). Affected files are lib/silcutil/silcschedule.[ch]
978 and lib/silcutil/unix/silcunixschedule.c.
980 * The silc_stream_set_notifier now returns boolean value. Changed
981 all streams to support and check for the error condition.
982 Affected files are in lib/silcutil/.
984 * Fixed SKE library session aborting and deletion. Affected
985 file are lib/silcske/silcske.c.
987 Tue Jan 16 18:22:08 EET 2007 Pekka Riikonen <priikone@silcnet.org>
989 * Implemented PKCS #1 with appendix with hash OID in the
990 signature. Affected files are lib/silccrypt/silcpkcs1.[ch],
991 lib/silccrypt/silchash.[ch] and
992 lib/silcasn1/silcasn1[_encode|decode].[ch].
994 Sun Jan 14 23:12:41 EET 2007 Pekka Riikonen <priikone@silcnet.org>
996 * Added support for Version (V) SILC public key identifier.
997 Affected files are lib/silccrypt/silcpk.[ch].
999 Tue Jan 9 19:37:51 EET 2007 Pekka Riikonen <priikone@silcnet.org>
1001 * Rewrote connection auth request in client library. It is now
1002 done automatically by the library and the resolved method given
1003 as a hint to get_auth_method client operation. Affected files
1004 are lib/silcclient/.
1006 Wed Jan 3 18:06:33 EET 2007 Pekka Riikonen <priikone@silcnet.org>
1008 * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch].
1009 It can be used to wrap SilcPacketStream into SilcStream.
1011 * Fixed %p formatting from silc_snprintf. Affected file is
1012 lib/silcutil/silcsnprintf.c.
1014 * Ported SFTP library to new utility library. Ported also
1015 the SFTP testers. Affected files in lib/silcsftp/.
1017 Tue Jan 2 17:18:46 EET 2007 Pekka Riikonen <priikone@silcnet.org>
1019 * Added lib/silcutil/silcsnprintf.[ch]. Added in addition
1020 of silc_snprintf, silc_vsnprintf, silc_asprintf and
1023 Sat Dec 30 23:23:17 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1025 * Added preliminary Symbian support. Changes around the source
1026 tree. The symbian/ directory now includes Carbide.c++ project
1027 files to compile the sources.
1029 * Added silc_snprintf. Affected files are
1030 lib/silcutil/silcstrutil.[ch].
1032 Thu Dec 21 18:01:51 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1034 * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to
1035 macros. SILC_FSM_CONTINUE macro now immediately calls the
1036 next state instead of first returning back to FSM. Helps
1037 in debugging crashes etc.
1039 Removed FSM Semaphores. Introduced FSM Event which is
1040 asynchronous event. Affected files are in lib/.
1042 * Added epoll(7) support to SILC Scheduler. It is used by default
1043 if it is available. Affected files are
1044 lib/silcutil/silcschedule.[ch],
1045 lib/silcutil/unix/silcunixschedule.c.
1047 Tue Dec 19 20:39:35 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1049 * Added CTR mode to AES. Simplified cipher implementation API
1050 more. Affected files are in lib/silccrypt/.
1052 Sun Dec 17 16:46:55 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1054 * Removed `detach' client operation. The detachment data is
1055 now delivered in SILC_COMMAND_DETACH command reply to
1056 application. Affected file in lib/silcclient/.
1058 * Rewrote resuming/detaching in client library.
1060 * Added boolean encryption indicator for silc_cipher_set_key.
1061 Affected files lib/silccrypt/silccipher.[ch].
1063 Wed Dec 13 18:05:50 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1065 * Added silc_likely and silc_unlikely macros for GCC branch
1066 prediction optimizations. Affected file lib/silcutil/silctypes.h.
1068 * Added assembler AES optimization. Cleaned up the SILC Cipher
1069 implementation API. Affected files are in lib/silccrypt/.
1071 Tue Dec 12 18:56:14 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1073 * Changed back the SILC_FSM_THREAD_WAIT operation to not
1074 continue to next state if thread is finished already. That
1075 check is not done anymore. Affected files are
1076 lib/silcutil/silcfsm.[ch].
1078 Sun Dec 10 13:54:52 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1080 * Removed silc_packet_[get|set]_ciphers and
1081 silc_packet_[get|set]_hmacs. Added silc_packet_set_keys that
1082 handle REKEY_DONE packet sending in rekey. Affected files
1083 are lib/silccore/silcpacket.[ch].
1085 * Added silc_fsm_is_started. Affected files are
1086 lib/silcutil/silcfsm.[ch].
1088 * Added settings sign_channel_message, sign_private_message
1089 and key_exchange_rekey_pfs to SILC Client. Added UDP transport
1090 support for key agreement in /KEY command. Affected files
1091 in apps/irssi/src/silc/core/.
1093 * During SILC Client initialization forward log messages to
1094 stderr. Affected files in apps/irssi/src/silc/core/.
1096 Thu Dec 7 19:07:21 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1098 * Added silc_ske_get_key_material. Affected files are
1099 lib/silcske/silcske.[ch].
1101 * Added silc_packet_stream_is_udp. Affected files are
1102 lib/silccore/silcpacket.[ch].
1104 * Added SKE packet retransmission support with UDP transport.
1105 Affected file is lib/silcske/silcske.c.
1107 Sun Dec 3 22:00:12 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1109 * Added silc_socket_stream_is_udp. Affected file is
1110 lib/silcutil/silcsocketstream.[ch].
1112 * Added UDP transport support to packet engine. Affected file
1113 is lib/silccore/silcpacket.c.
1115 * Added silc_socket_stream_is_udp. Affected file is
1116 lib/silcutil/silcsocketstream.[ch].
1118 Sat Nov 18 11:33:03 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1120 * Added silc_packet_send_va[_ext] to send variable argument
1121 formatted buffers. Affected files lib/silcore/silcpacket.[ch].
1123 * Timeout freelist garbage collection added to scheduler.
1124 Affected file lib/silcutil/silcschedule.c.
1126 Thu Nov 9 18:12:15 EET 2006 Pekka Riikonen <priikone@silcnet.org>
1128 * Added silc_show_public_key_file to
1129 lib/silcapputil/silcapputil.[ch].
1131 * Added SILC_STR_ADVANCE support for buffer unformatting.
1132 Affected file lib/silcutil/silcbuffmt.c.
1134 Tue Nov 7 18:04:36 EET 2006 Pekka Riikonen <priikone@silcnet.org
1136 * Added silc_string_split to lib/silcutil/silcstrutil.[ch].
1138 * Added silc_mutex_assert_locked to lib/silcutil/silcmutex.h.
1140 * silc_fsm_continue[_sync] now cancels erlier timeout set with
1141 silc_fsm_next_later. Affected file lib/silcutil/silcfsm.c.
1143 Sat Nov 4 21:50:37 EET 2006 Pekka Riikonen <priikone@silcnet.org
1145 * Added SILC_STR_FUNC to buffer format API. Affected files
1146 are lib/silcutil/silcbuffmt.[ch].
1148 * Added silc_buffer_[s]enlarge to lib/silcutil/silcbuffer.h.
1150 * No more memory allocation for message payload parsing.
1151 Pre-allocated buffer can be used with message payload encoding.
1152 Affected files lib/silccore/silcmessage.[ch].
1154 Fri Oct 27 21:01:26 EEST 2006 Pekka Riikonen <priikone@silcnet.org
1156 * Added silc_buffer_sunformat and silc_buffer_sunformat_vp
1157 to silcutil/silcbuffmt.[ch].
1159 Sun Oct 22 13:03:07 EEST 2006 Pekka Riikonen <priikone@silcnet.org
1161 * Added SILC_STR_BUFFER to format and unformat SilcBuffer.
1162 Affected file lib/silcutil/silcbuffmt.[ch].
1164 * Removed silc_schedule_signal_[un]register and
1165 silc_schedule_signal_call. Added silc_schedule_task_add_signal
1166 to add signal task. Only one callback per signal may be
1167 added. The signals are now automatically called back to
1168 caller. Affected files lib/silcutil/silcschedule.[ch] and
1169 silcutil/[unix/win32]/silc[unix/win32]schedule.c.
1171 * Added silc_time_msec and silc_time_usec to silcutil/silctime.[ch].
1173 * Added SilcSKEParams for SKE parameters and simplied even more
1174 the SKE interface. Affected files are lib/silcske/silcske.[ch].
1175 Added support for IV included and session port handling with
1178 * Added Secure ID (SID) support with IV Included flag (for UDP/IP)
1179 in lib/silccore/silcpacket.[ch]. Added silc_packet_set_sid
1180 which is called after every rekey when IV Included flag is used.
1181 See SILC specifications for details.
1183 Thu Oct 19 10:03:03 EEST 2006 Pekka Riikonen <priikone@silcnet.org
1185 * Added lib/silcapputil and moved SILC application specific
1186 utility routines from the generic util library lib/silcutil
1187 to the new library. Removed lib/silcidcache and moved that
1188 to lib/silcapputil as well.
1190 Tue Sep 19 00:14:11 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1192 * Added SILC_STR_ADVANCE. Affected file is
1193 lib/silcutil/silcbuffmt.[ch].
1195 * The silc_buffer_strformat preserves buffer locations now.
1197 * Added lib/silcutil/silcatomic.h for atomic operations.
1199 Sat Sep 16 11:23:06 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1201 * Added lib/silchttp, SILC HTTP server, a very simple HTTP
1204 * Fixed MIME deocing when data portion is not present.
1205 Affected file lib/silcutil/silcmime.c.
1207 Wed Jul 19 12:06:38 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1209 * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/.
1211 * Added IV Included support to packet routines, to allow
1212 packet sending and receiving on UDP/IP. Affected files are
1213 lib/silccore/silcpacket.[ch].
1215 * Added SILC_FSM_YIELD. Affected files lib/silcutil/silcfsm.[ch].
1217 Tue Jul 18 20:10:28 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1219 * Added UDP support to network and socket stream library.
1221 Sat Jun 24 22:33:18 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1223 * Added conditional variables. New files are
1224 lib/silcutil/silcondvar.h and platform specific implementations.
1226 Thu Jan 5 20:02:31 CET 2006 Patrik Weiskircher <pat@icore.at>
1228 * make sure session->hostname and session->port are valid before the
1229 application callback is done, since things will go wrong if the
1230 application immediately calls silc_client_file_receive. Affected
1231 file lib/silcclient/client_ftp.c.
1232 Patch received from Stefan Siegel <stesie@brokenpipe.de>, thanks!
1234 Fri Dec 30 22:54:21 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1236 * New SILC PKCS API enabling support for other public keys
1237 and certificates, lib/silccrypt/silcpkcs.[ch], silcpk.[ch].
1239 * Separated SILC Public Key Payload routines from the PKCS API
1240 to lib/silccore/silcpubkey.[ch].
1242 Wed Dec 28 13:55:22 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1244 * Added SILC Key Repository library, lib/silcskr.
1246 * Added SILC Server library, lib/silcserver.
1248 Mon Dec 19 18:04:24 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1250 * MIME objects in attributes now use SilcMime. Affected files
1251 are lib/silccore/silcattrs.[ch].
1253 Sat Dec 17 20:13:31 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1255 * Synchronize semaphore posting for real threads in FSM.
1256 Affected files are lib/silcutil/silcfsm.c, silcfsm_i.h.
1258 Mon Nov 28 17:06:54 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1260 * Added silc_file_set_nonblock. Affected file is
1261 lib/silcutil/silcfileutil.h.
1263 * Added silc_fd_stream_file to lib/silcutil/silcfdstream.[ch].
1265 Sat Nov 26 16:13:40 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1267 * FSM based implementation of SILC SKE. Simpler interface also.
1268 Affected files are in lib/silcske/.
1270 * Added SilcBool type. Affected file lib/silcutil/silctypes.h.
1272 Sat Nov 19 17:34:51 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1274 * Added SilcMime API to lib/silcutil/silcmime.[ch]. The old
1275 silc_mime_parse is available but deprecated.
1277 * Check that packet is valid when processing key exchange,
1278 authentication and rekey protocols. Fixes a crashbug.
1279 Affected files are apps/silcd/protocol.c and
1280 lib/silcclient/protocol.c.
1282 * Added SILC_HASH_MAXLEN to lib/silccrypt/silchash.h, and changed
1283 all hash buffers to use that instead of fixed values.
1285 Wed Nov 16 15:47:12 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1287 * Added SHA-256 to crypto library. The SHA-256 takes now
1288 precedence over SHA-1.
1290 Thu May 26 20:31:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1292 * Check for valid return value from regcomp. Affected file
1293 lib/silcutil/unix/silcunixutil.c.
1295 Tue May 10 23:11:17 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1297 * Fixed silc_hash_uint to work with integers. Affected
1298 file lib/silcutil/silcutil.c.
1300 Tue May 10 15:11:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1302 * Rewritten SILC Log API. Affected files lib/silcutil/silclog.[ch].
1304 Mon May 9 12:00:08 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1306 * Fixed channel public key list saving on JOIN command reply
1307 on backup router. Affected file apps/silcd/command_reply.c.
1309 Mon May 2 10:42:49 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1311 * Added default limit how many channels client can join,
1312 default is 50. Added 'channel_join_limit' configuration
1313 option to server too. Affected files are apps/silcd/command.c
1314 and serverconfig.[ch].
1316 Sun May 1 17:42:55 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1318 * --without-silc -> --with-silc, --without-irssi -> --with-irssi.
1319 On Toolkit the server and client are not compiled by default.
1320 Affected file configure.ad.
1322 Thu Apr 28 15:57:37 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1324 * Added lib/contrib/getopt.[ch] for platforms that don't
1325 have it (it is not GPL implementation).
1327 * Fixed compilation when pkg-config is used.
1329 Wed Apr 27 11:49:41 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1331 * A comma in invite/ban string is invalid, check for it.
1332 Affected file apps/silcd/server_util.c.
1334 * Added SERVICE command to the server. It parses the command
1335 request but SILC Server does not support services for the
1336 time being. Affected file apps/silcd/command.[ch].
1338 * Added SERVICE command and command reply to client library.
1339 It is however incomplete. Updated Toolkit documentation.
1340 Affected files are lib/silcclient/command[_reply].[ch].
1342 * Fixed IDENTIFY/WHOWAS command reply to send the username
1343 correctly (uninitialized buffer). Affected file is
1344 apps/silcd/server_query.c.
1346 Mon Apr 25 14:25:24 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1348 * Moved silcer/, silc/, silcd/ and irssi/ to apps/. This
1349 finalizes the major restructuring of the CVS tree.
1351 Mon Apr 25 00:39:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1353 * Send empty MOTD reply if MOTD file cannot be read.
1354 Affected file silcd/command.c.
1356 Sun Apr 24 12:01:37 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1358 * Optimized primer number generator to use simpler conversion
1359 routines. Also assure that the prime number will have the
1360 highest bit set after modifying it. Affected file is
1361 lib/silcmath/silcprimegen.c.
1363 * Added LibTomMath to SILC Math library (SILC_DIST_TMA).
1365 * Added FastTomMath to SILC Math Library (SILC_DIST_TFM),
1366 for now only for testing purposes, it will not be delivered
1367 in any distribution for now.
1369 * Removed NSS MPI from the source tree. Due to upcoming
1370 license change for the SILC Toolkit, we cannot deliver the
1371 NSS MPI anymore. I decided to replace it in all distributions
1372 with public domain library.
1374 * Removed GNU regex from lib/contrib and introduced free
1375 GNU compatible regex, lib/contrib/regexpr.[ch]. Added
1376 GNU regex compatible API to it (only partial).
1378 * Removed getopt routines from lib/contrib.
1380 Fri Apr 22 12:21:44 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1382 * Use silc_server_send_command_reply to send replies instead
1383 of encoding packet itself. Affected file silcd/command.c.
1385 * Added command sending and receiving statistics to server.
1386 Affected files in silcd/.
1388 * GCC 4 warning fixes. -Wno-pointer-sign option is now used
1389 with GCC, for it not to warn about pointer signedness.
1391 Tue Apr 19 11:57:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1393 * Added context to the SilcIDCache destructor. Affected
1394 files are lib/silccore/silcidcache.[ch],
1395 lib/silcclient/client.c and silcd/server.c.
1397 Mon Apr 18 09:53:28 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1399 * Added pkg-config check to configure.
1401 * The PublicKeyDir must not be used with Admin block in server
1402 config. Affected file silcd/serverconfig.c.
1404 Sat Apr 16 20:23:48 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1408 Thu Apr 14 20:25:08 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1410 * Handle empty LIST command reply correcttly in server. Affected
1411 file silcd/command_reply.c.
1413 * Handle empty LIST command reply correctly in client library.
1414 The application will now receive one LIST command reply with
1415 all arguments set to NULL if there are no channels. Updated
1416 Client Library documentation accordingly. Affected file
1417 lib/silcclient/command_reply.c.
1419 Tue Apr 12 00:02:09 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1421 * Added channel name string stringprep profile to the protocol
1422 and implementation to allow a little free'er channel name
1423 strings. Affected files are lib/silcutil/silcstringprep.[ch].
1425 * Added silc_channel_name_[check|verify] to check and verify
1426 channel name strings. Affected files are
1427 lib/silcutil/silcstrutil.[ch].
1429 * Added support for the new channel name preparation in client
1430 library and server. Affected files in lib/silcclient and
1433 Mon Apr 11 13:40:27 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1435 * Added the Autodist into the source tree. It replaces the
1436 old ./prepare. It can be used to create distributions as
1437 previously. See README.CVS and README.DIST. See
1438 distributions in distdir/.
1440 Sun Apr 10 11:30:56 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1442 * Make sure query sends at least an error back if nothing
1443 more is sent. Affected file silcd/server_query.c.
1445 Thu Apr 7 14:50:01 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1447 * During query, check if the original command caller goes
1448 away. If it does, stop the query. Affected file
1449 silcd/server_query.c.
1451 * Check for valid channel creation in JOIN command reply.
1452 Affected file lib/silcclient/command_reply.c.
1454 * Handle the resolver counter in silc_client_get_users_by_channel
1455 callback correctly. Fixed auto-join bug in Gaim. Affected
1456 file lib/silcclient/idlist.c.
1458 Wed Apr 6 16:56:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1460 * Added some better error messages. Affected file
1461 silcd/command_reply.c and packet_receive.c.
1463 * Handle error in WATCH command propely on backup router.
1464 Affected file silcd/command.c.
1466 * Fixed freeing of unfreeable variable in WHOIS command reply.
1467 Affected file silcd/command_reply.c.
1469 Wed Apr 6 09:10:31 CEST 2005 Pekka Riikonen <priikone@silcnet.org>
1471 * Added pkg-config .pc file creation for silc core library
1472 and silcclient library. A patch by c0ffee.
1474 * Removed the need for GNU Libidn. Added the simple stringprep
1475 from libidn into lib/contrib/. It is now used also on Windows
1478 Mon Apr 4 15:15:46 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1480 * Simplified the invite and ban string handling in the
1481 server. Check for valid invite and ban arguments also.
1482 Affected file silcd/server_util.c.
1484 Sun Apr 3 14:58:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1486 * Added WATCH list announcing in backup router protocol.
1487 Affected files are silcd/command.c, server.c, server_backup.c.
1489 * Do not change users mode to founder on normal server/backup
1490 if the founder mode is set, and user is first one to join.
1491 Affected file silcd/pcaket_receive.c.
1493 * Do not send CUMODE_CHANGE notify back to sender. Affected
1494 file silcd/packet_receive.c.
1496 * Added getrusage() to take noise in SILC RNG. A patch by
1497 Mika Boström. Affected files are configure.in.pre,
1498 includes/silcincludes.h.in, lib/silccrypt/silcrng.c.
1500 Sat Apr 2 18:09:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1502 * Splitted the SILC libraries configuration into a configure
1503 fragment into lib/configure.ad. It is now possible, once
1504 this feature is added, to specify whether to compile or not
1505 compile included SILC libraries. Affected files are
1506 configure.in.pre, lib/silcmath/mpi/configure.ad,
1507 lib/configure.ad, Makefile.defines.pre and
1508 Makefile.defines_int.pre.
1510 * Added --with-silc-includes and --with-silc-libs to configure.
1511 If specified the included libs are not compiled, but the
1512 specified libs are used. Pkg-config is not yet supported.
1513 Affected file configure.in.pre.
1515 * Fixed WATCH command handling on backup router. Router does not
1516 send the watch command any more to backup if it originates from
1517 backup. Affected file silcd/command.c.
1519 Fri Apr 1 18:52:47 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1521 * Changed announcing to not announce unregistered clients.
1522 Affected file silcd/server.c.
1524 * Fixed username handling in command reply. Affected file
1525 silcd/command_reply.c.
1527 * Log files are now 0600. Affected file lib/silcutil/silclog.c.
1529 Thu Mar 31 22:34:22 CEST 2005 Patrik Weiskircher <pat@icore.at>
1531 * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
1532 Affected file: includes/silcincludes.h.in
1534 * bool is defined as _Bool on Mac OS X now.
1535 Affected file: lib/silcutil/silctypes.h
1537 Thu Mar 31 08:52:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1539 * Added support for UTF-8 nicknames, channel names and
1540 server names in client library. Affected files in
1543 * Added __SILC_HAVE_PTHREAD, __SILC_HAVE_SIM, __SILC_HAVE_LIBIDN,
1544 and __SILC_ENABLE_DEBUG to include/silcclient.h for third-party
1545 software to check how Toolkit has been compiled.
1547 Wed Mar 30 22:16:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1549 * Added silc_utf8_str[n]casecmp into lib/silcutil/silcutf8.[ch].
1551 * Use silc_utf8_str[n]casecmp instead of strcmp routines
1552 in library and in SILC Client when dealing with nicknames
1553 and other identifier strings. Affected file in client lib
1556 * Convert nickname to UTF-8 in /msg and /smsg. Affected file
1557 irssi/src/silc/core/silc-servers.c.
1559 Wed Mar 30 10:50:02 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1561 * Fixed idcache to work with the new identifier strings.
1562 Affected file lib/silccore/silcidcache.c.
1564 * Added UTF-8 hash and compare function for SilcHashTable.
1565 Affected file lib/silcutil/silcutil.[ch].
1567 * Added casefolding stringprep, SILC_CASEFOLD_PREP.
1568 Affected file lib/silcutil/silcstringprep.[ch].
1570 * Changed the identifier string handling to include the original
1571 format in client, server, channel entries and normalized
1572 format in cache. Affected files in silcd/.
1574 Tue Mar 29 16:51:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1576 * Added support for the new identifier strings and their
1577 validity checking. Nicknames, channel names and usernames
1578 can now include practically any kind of letters and various
1579 other characters. Affected files in silcd/ and in libraries.
1581 NOTE: comparing these strings should now be done with memcmp()
1582 to check binary compatibility. All these strings are normalized
1583 and casing is irrelevant.
1585 * Added silc_identifier_check to lib/silcutil/silcstrutil.[ch]
1586 as easy function for applications to check whether identifier
1589 Tue Mar 29 00:45:11 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1591 * Fixed SILC_STRING_LDAP_DN encoding and decoding. Affected
1592 file lib/silcutil/silcutf8.c.
1594 * Added SILC_STRING_UTF8_ESCAPE to lib/silcutil/silcstrutil.h.
1596 Mon Mar 28 22:46:23 CEST 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1598 * Make public key in getkey reply mandatory. Affected file
1599 lib/silcclient/command_reply.c
1601 Sun Mar 27 19:03:31 CEST 2005 Patrik Weiskircher <pat@icore.at>
1603 * Added Parameter dont_register_crypto_library to
1604 SilcClientParam. If set to TRUE, silcclient library will
1605 not initalize the Crypto Libraries and application
1606 will need to do it. Affected file lib/silcclient/silcclient.h,
1607 lib/silcclient/client.c.
1609 Sun Mar 27 19:02:48 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1611 * Imported new silc_utf8_[encode|decode] routines from
1612 my internal SILC 1.1 source tree. New encodings added:
1613 SILC_STRING_LOCALE (SILC_STRING_LANGUAGE is deprecated),
1614 SILC_STRING_UTF8, SILC_STRING_PRINTABLE, SILC_STRING_VISIBLE,
1615 SILC_STRING_TELETEX, SILC_STRING_NUMERICAL and
1616 SILC_STRING_LDAP_DN.
1618 * Splitted UTF-8 routines into lib/silcutil/silcutf8.[ch].
1620 * Implemented stringprep (RFC 3454) API. Internally we use
1621 GNU Libidn's stringprep, for now, so it is required now to
1622 compile SILC sources. Added lib/silcutil/silcstringprep.[ch].
1624 * Added checking for GNU Libidn and --with-libidn to configure.
1626 Wed Mar 23 11:20:33 CET 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1628 * If the passphrases entered do not match while generating a new key,
1629 completly start over instead of going into an infinite loop asking
1630 the user to re-enter the passphrase correctly. Affected file
1631 lib/silcutil/silcapputil.c
1633 Sun Jan 9 14:28:51 CET 2005 Pekka Riikonen <priikone@silcnet.org>
1635 * Make sure server is removed from backup list when it is
1636 deleted. Affected files silcd/command.c, server.c,
1639 * Close socket when connecting to router fails. Affected
1640 file silcd/server.c.
1642 Tue Jan 4 13:06:26 CET 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1644 * Adopt configuration toolchain to current auto-tools.
1645 Affected files prepare, irssi/configure.in
1646 * Revert most of the UTF-8 fixes to SILC Client 1.0.1. Will
1647 redo that. Affected files irssi/src/silc/core/client_ops.c,
1648 irssi/src/fe-common/silc/fe-silc-channels.c
1649 * Take over command line options into silcclient data structure.
1650 Affected file irssi/src/silc/core/silc-core.c
1652 Wed Dec 8 16:15:11 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1654 * Do not try to initiate backup resuming protocol forever.
1655 Affected file silcd/server_backup.c.
1657 Wed Nov 24 18:24:05 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1659 * ID change in resuming has to be done before changing
1660 detached client's modes, since the ID change may fail and
1661 leave ghosts on the network. Affected file is
1662 silcd/packet_receive.c.
1664 Tue Nov 23 16:54:35 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1666 * Fixed Win32 scheduler to not stuck anymore. A patch from
1667 Juha Räsänen. Affected file is
1668 lib/silcutil/win32/silcwin32schedule.c.
1670 * Fixed QoS parsing for connection blocks in server. Affected
1671 file is silcd/serverconfig.c.
1673 * Fixed server statistics increasing in server. Affected file
1676 * The CLOSE command now marks backup router as self disconnected
1677 to avoid resuming problems. Affected file silcd/command.c.
1679 Wed Sep 22 19:46:32 CEST 2004 Patrik Weiskircher <pat@icore.at>
1681 * When using silc_net_create_connection[_async], and your system can
1682 create IPv6 sockets, it will try to connect to the IPv6 host.
1683 Now it tries to connect to an IPv4 host if IPv6 fails. Affected
1684 file lib/silcutil/unix/silcunixnet.c
1686 Fri Jun 18 19:26:58 CEST 2004 Pekka Riikonen <priikone@silcnet.org>
1688 * Check for valid route when receiving packet from router and
1689 when routing it to local server in the cell. A patch from
1690 Matt Miller. Affected files silcd/router.c and server.c.
1692 Sat May 1 13:55:54 CEST 2004 Patrik Weiskircher <pat@icore.at>
1694 * Couldn't detach and reattach twice, because of the previous
1695 commit. Affected file silcd/packet_receive.c
1697 Fri Apr 30 19:40:28 CEST 2004 Patrik Weiskircher <pat@icore.at>
1699 * Added check to ignore Port value if Initiator is FALSE.
1700 Remote router coudln't connect if Port was set. Affected file
1701 silcd/serverconfig.c
1703 * If some client tries to resume more than once at the same time,
1704 server crashed. Router didn't crash, but showed odd behaviour
1705 (didn't allow clients to join anymore, ..). Affected files
1706 silcd/packet_receive.c silcd/idlist.h
1708 Mon Mar 15 21:10:08 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1710 * Destroy the file transfer session in silc_client_file_close
1711 with timeout. Affected file lib/silcclient/client_ftp.c.
1713 * Call SFTP server monitor in READ and WRITE after the actual
1714 operations. Affected file lib/silcsftp/sftp_server.c.
1716 Wed Mar 10 21:30:02 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1718 * Create one configure script from configure fragments
1719 (configure.ad). This is a first step towards new distribution
1720 system. Affected files prepare, configure.in.pre,
1721 lib/silcmath/mpi/configure.ad.
1723 Wed Mar 10 18:35:24 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1725 * Removed expiring of client key pair. Affected file is
1726 irssi/src/silc/core/clientutil.c
1728 Tue Mar 9 17:11:58 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1730 * Check the number of connections from real number of
1731 connections instead of socket number, when deciding if
1732 server is full. Affected files are silcd/server.c,
1733 server_internal.h and silcd.c.
1735 * Clarified the connections_max meaning in General section
1736 in doc/example_silcd.conf.in.
1738 * The reconnect_keep_trying default value set to TRUE
1739 if it is not defined in the config file. Affected file
1740 silcd/serverconfig.c.
1742 Wed Mar 3 15:13:49 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1744 * Fixed crashbug in connection closing, after a protocol
1745 completion callback, which might have closed it already.
1746 Affected file silcd/server.c.
1748 * Fixed rekey with PFS in backup router. It did not allow
1749 rekeys with PFS, and when the rekey protocol timedout
1750 it crashed the backup router without the above fix. Affected
1751 file silcd/packet_send.c and server.c.
1753 Sat Feb 28 16:25:09 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1755 * The silc_client_add_channel_private_key now returns the
1756 private key context if pointer is given as argument.
1757 Affected files are lib/silcclient/silcclient.h and
1760 * Added support for using channel private keys in SILC
1761 Client Library even if the private key mode is not set
1762 on the channel. Affected file lib/silcclient/client_channel.c.
1764 * The channel private key used to decrypt message is now
1765 delivered to the application in the 'channel_messageÃ' client
1766 operation. Affected files are lib/silcclient/silcclient.h
1767 and client_channel.c.
1769 * Fixed wrong arg type for user limit in CMODE command reply.
1770 Affected file silcd/command.c.
1772 * The user limit is now taken and saved to SilcClientEntry in
1773 JOIN and CMODE command replies and in CMODE_CHANGE notify.
1774 Affected files lib/silcclient/silcclient.h, command_reply.c
1775 and client_notify.c.
1777 * Added support to the new private message key indicator
1778 packet. Added a new function to the client library:
1779 silc_client_send_private_message_key_request. The sender
1780 indicates to be initiator, and receiver is responder.
1781 Added the indicator to the SilcClientEntry as 'prv_resp'
1782 boolean. Affected files are lib/silcclient/silcclient.h
1783 client.[ch], and client_prvmsg.c.
1785 Fri Feb 27 11:25:26 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1787 * Fixed the JOIN command calling when called with both
1788 -auth and -founder. Affected file is lib/silcclien/command.c.
1790 Wed Feb 25 23:12:11 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1792 * Check watcher list for resumed clients as well. Affected
1793 file is silcd/packet_receive.c.
1795 Tue Feb 24 16:49:10 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1797 * Implemented the user limit to the CMODE_CHANGE notify,
1798 CMODE command reply and JOIN command reply in server.
1799 Affected files are silcd/server.c, command.c, command_reply.c,
1800 packet_send.c and packet_receive.c.
1802 Mon Feb 23 23:31:15 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1804 * Defined SILC_STRFMT_END that must be used now with
1805 silc_buffer_strformat, instead of SILC_STR_END. Fixes
1806 crashes on AMD64. Affected files are lib/silcutil/silcbuffmt.h,
1807 lib/silcclient/silcvcard.c, silcd/server_util.c.
1809 * Fixed the adding of public key to the WATCH list in server.
1810 Fixed the WATCH notify sending to client. Affected files
1811 are silcd/packet_send.[ch], command.c, server_util.c.
1813 * Implemented the watching by public key in the SILC Client
1814 Library and SILC Client. Affected files are
1815 lib/silcclient/command.c and client_notify.c.
1817 Mon Feb 23 09:30:30 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1819 * Added support for public key watching in server. Affected
1820 files are silcd/server.c, server_internal.h, command.c,
1823 Sun Feb 22 19:03:59 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1825 * Added public key to the SIlcClientEntry. Affected files
1826 are lib/silcclient/silcclient.h, command_reply.c, idlist.c
1828 * Fixed the get_clients_whois reply processing to return
1829 exactly same entries server returned. Makes it possible
1830 to search using attributes. Affected file is
1831 lib/silcclient/idlist.c.
1833 Sat Feb 21 19:21:57 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1835 * Save founder key to SilcChannelEntry. Affected files are
1836 lib/silcclient/silcclient.h, command_reply.c, idlist.c.
1838 Fri Feb 20 20:37:38 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1840 * Call the monitor callback with _CLOSED status from the
1841 silc_client_file_close. Affected files are
1842 lib/silcclient/client_fpt.c, silcclient.h
1844 * Added silc_client_get_clients_whois which resolves using
1845 WHOIS, and supports requested attributes as well.
1846 Affected files are lib/silcclient/silcclient.h, idlist.c.
1848 Fri Feb 19 21:09:22 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1850 * Added support for asking the destination filename where
1851 the downloaded file is saved in the file transfer. Affected
1852 files are lib/silccilent/silcclient.h, client_ftp.c.
1854 Wed Feb 18 02:46:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1856 * Fixed error handling in resuming data processing. Affected
1857 files are lib/silcclient/client_resume.c and client.c.
1859 Tue Feb 17 19:34:30 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1861 * Fixed silc_client_send_private_message to return TRUE correctly.
1862 Affected file lib/silcclient/client_prvmsg.c.
1864 * Added topic to the SilcChannelEntry. Affected files are
1865 lib/silcclient/silcclient.h, command_reply.c, client_notify.c.
1867 Fri Feb 13 14:19:14 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1869 * Use conn->cmd_ident for all silc_client_command_call()s. Affected
1870 file lib/silcclient/command.c
1872 Fri Feb 13 13:53:45 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1874 * Convert all commands to UTF-8 before passing them to the
1875 client library. Still need to convert replies from UTF-8 to
1876 the locale encoding. Affected file
1877 irssi/src/silc/core/silc-cmdqueue.c
1879 Fri Feb 13 13:13:07 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1881 * redirect all silc_client_command_calls through a queueing framework.
1882 This fixes /CYCLE and the annoying "nick change after auto-joining
1883 a channel". Furthermore it defines one central point where
1884 command parameters can be UTF-8-ified. Affected files
1885 irssi/src/silc/core/Makefile, client_ops.c, silc-channels.c,
1886 silc-servers.[ch], silc-core.c, silc-cmdqueue.[ch], silc-lag.c
1888 Fri Feb 13 12:04:41 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1890 * use asynchronous connect() to establish router connections.
1891 Fixes problem when the primary router goes down. Affected files
1892 silcd/server.c, silcd/server_backup.c
1894 Thu Feb 12 20:09:59 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1896 * Added SILC_[32|64]_TO_PTR and SILC_PTR_TO_[32|64] macros.
1897 Fixed various compilation warnings when type casting ints
1898 to pointers or vice versa, of different size. Updates around
1901 Tue Feb 3 23:25:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1903 * Surrogates not allowed in UTF-8 strings, updated decoder.
1904 Affected file lib/silcutil/silcstrutil.c. Added UTF-8
1905 testers in lib/silcutil/tests/ directory.
1907 Wed Jan 14 18:42:44 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1909 * Added SILC_CLIENT_CONN_ERROR_KE, ERROR_AUTH, ERROR_RESUME and
1910 ERROR_TIMEOUT SilcClientConnectionStatus errors. Affected
1911 files are lib/silcclient/silcclient.h, client.c.
1913 Mon Jan 12 13:01:10 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1915 * When resuming a session fails, notify the user that the session
1916 file needs to be removed eventually. Affected files
1917 irssi/src/fe-common/silc/module-formats.[ch],
1918 irssi/src/silc/core/client_ops.c.
1920 Tue Jan 04 12:16:04 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1922 * Added DIST_SUBDIRS symbols to include all subdirs in distributions.
1923 Affected files lib/silcutil/Makefile.am, lib/silcmath/Makefile.am
1925 * Typofix in Irssi::Silc module. Affected file
1926 irssi/src/perl/silc/Silc.xs.
1928 Tue Jan 04 02:43:44 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1930 * Changed the way NOTICE flagged messages are treated. Added support
1931 for notices in queries and signing notices. Affected files
1932 irssi/default.theme; irssi/docs/help/in/notice.in;
1933 irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c;
1934 irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.c
1936 * Fixed typo in /ACTION help. Affected file
1937 irssi/docs/help/in/action.in
1939 Mon Jan 03 23:26:38 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1941 * Fixed typo in perl module. Affected file
1942 irssi/src/perl/silc/Server.xs
1944 * Changed the way ACTION flagged messages are treated. Added support
1945 for actions in queries and signing actions. Affected files
1946 irssi/default.theme; irssi/docs/help/in/action.in;
1947 irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c,
1948 fe-silc-queries.c; irssi/src/silc/core/client_ops.c, silc-channels.c,
1951 Mon Jan 03 16:04:29 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1953 * Incorrectly reported error when client had to be resolved from
1954 server in /SMSG. Affected file irssi/src/silc/core/silc-servers.c
1956 Sat Jan 3 16:37:15 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1958 * Fixed whois public key hash table deleting and adding in
1959 detached client case. Affected file silcd/packet_receive.c.
1961 Sat Jan 03 12:15:38 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1963 * Changed filenames of silc/fe module not to collide with filenames
1964 from core/fe. Also seperated public messages printing from
1965 query messages printing. Affected files are all in
1966 irssi/src/fe-common/silc.
1968 Sat Jan 3 12:18:07 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1970 * Fixed the invite process handling during joining to use
1971 correct server name for the client that is matched against
1972 the invite string for the channel. Wrong server name caused
1973 inability to join the channel. Affected file is
1976 Fri Jan 2 23:34:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1978 * Fixed the CUMODE channel founder authentication on normal
1979 server to not remove the founder rights on existing founder
1980 before checking that router accepts the mode change. Affected
1981 files are silcd/command.c and silcd/packet_receive.c.
1983 * Remove the server entry correctly when rekey timeouts and
1984 remote router connection on normal server is closed. Fixes
1985 a crash where server uses the freed server entry. Affected
1986 file silcd/server.c.
1988 Fri Jan 02 10:28:15 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1990 * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
1991 networks. This is the first step in solving the bug about
1992 /SERVER ADD -silcnet <silcnet>. Affected files
1993 irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am,
1994 fe-silcnet.c, fe-common-silc.c, module-formats.[ch];
1995 irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am
1997 Thu Jan 01 20:11:32 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1999 * /SMSG and /MMSG now correctly create new queries. Affected files
2000 irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl
2002 * Add basic support for SILC protocol specific variables in perl.
2003 Affected files irssi/src/perl/silc/*, irssi/configure.in,
2004 irssi/src/perl/Makefile.am
2006 Wed Dec 31 17:06:55 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2008 * Don't use silc_get_input, it's obviously not reliable. Fixes
2009 issue when the current key expires. Affect file
2010 irssi/src/silc/core/clientutils.c
2012 * Make the session data filename configurable. This makes it
2013 possible to have different session files for different
2014 SILC networks. Affected files irssi/src/silc/core/silc-core.c,
2015 client_ops.[ch], silc-servers.c,
2016 irssi/src/silc/fe-common/silc/module-formats.[ch]
2018 * Use the same set of libtool files for the MPI lib as for the
2019 rest of the toolkit. Affected files lib/silcmath/mpi/config.guess,
2020 config.sub, configure.in, install-sh, missing, mkinstalldirs
2022 Sun Dec 28 21:57:39 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2024 * Fixed server statistics decrementing error to not go to
2025 negative. Affected file silcd/packet_receive.c.
2027 Sat Dec 20 14:42:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2029 * Use silc_server_query_add_error to add error in public key
2030 search error. Added support in send_reply to send errors
2031 without specific argument. Affected file silcd/server_query.c.
2033 * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
2034 Client for NO_SUCH_NICK. It was against the protocol specs.
2035 Affected file irssi/src/silc/core/client_ops.c.
2037 * Added backwards support for the wrong NO_SUCH_NICK error sending
2038 in server. To be removed in SILC Server 1.0. Both old clients
2039 and clients with fixed error handling now works. Affected file
2040 silcd/server_query.c.
2042 Sat Dec 20 00:44:47 CET 2003 Patrik Weiskircher <pat@icore.at>
2044 * fixed a bug in the whois using attributes function where no
2045 error was sent if no nickname and client id but the attributes were
2046 given to whois. Affected file silcd/server_query.c
2048 Tue Dec 16 21:34:59 CET 2003 Patrik Weiskircher <pat@icore.at>
2050 * remove public key from public key hashtable on detach. Affected
2051 file silcd/packet_receive.c
2053 * free public key hashtable before removing clients on server
2054 shutdown. Affected file silcd/server.c
2056 * remove public key prior deleting client-data on killing a client.
2057 Affected file silcd/server_util.c
2059 Sat Dec 06 21:35:14 CET 2003 Patrik Weiskircher <pat@icore.at>
2061 * Getting the MOTD from other servers works now. Affected
2062 files are silcd/command.c and silcd/command_reply.c
2064 Thu Dec 04 11:33:46 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2066 * Initialize the variable idletag, since it is tested in
2067 silc_core_deinit for its default value. Affected file
2068 irssi/src/silc/core/silc-core.c
2070 Sun Nov 30 19:47:02 CET 2003 Patrik Weiskircher <pat@icore.at>
2072 * Fixed signed channel messages across cells. Affected file
2075 Fri Nov 28 19:13:21 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2077 * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG
2078 is not defined. They can now be safely used in if-statements
2079 without braces. Affected file lib/silcutil/silclog.h.
2081 * Added the checks for backup closing connection due to error
2082 (local or remote) and thus not allow the resuming to occur
2083 in reconnect. Affected files are silcd/packet_send.c
2086 Tue Nov 25 15:20:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2088 * Help file updates. Affected files in irssi/src/docs/help/in/.
2090 Wed Nov 23 20:51:21 CET 2003 Patrik Weiskircher <pat@icore.at>
2092 * Fixed channel messages across cells. Affected file
2095 Wed Nov 12 11:34:56 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2097 * Fixed file transmission accepting in client library to not
2098 start the negotiation if user hasn't accepted the transfer,
2099 instead create new session for resent transfer. Affected
2100 file lib/silcclient/client_ftp.c.
2102 * Show the session ID in the file transmision list. Remove
2103 session from list that failed to transfer. Switch the current
2104 session automatically after transmission, and in errors, to new
2105 session if other sessions exists in the transfer list. Affected
2106 files are irssi/src/silc/core/silc-servers.c,
2107 irssi/src/fe-common/silc/modfule-formats.c.
2109 Mon Nov 10 14:41:40 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2111 * Fixed MIME header parsing for the hopefully last time. Affected
2112 file lib/silcutil/silcstrutil.c
2114 Mon Nov 10 13:03:46 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2116 * Rewrote the PKCS#1 routines. Added lib/silccrypt/silcpkcs1.[ch].
2118 * The SILC RNG is now gauranteed to return non-zero random
2119 values. Affected files are lib/silccrypt/silcrng.[ch].
2121 Sun Nov 9 20:44:56 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2123 * Fixed nickname formatting when changing only case of the
2124 nickname. Affected file lib/silcclient/idlist.c.
2126 Sun Nov 9 19:33:59 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2128 * Fixed a memory leak and incorrect printing of the "appears as"
2129 message. Affected file irssi/src/silc/core/client_ops.c
2131 Sun Nov 9 17:45:11 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2133 * Added CRT (Chinese Remainder Theorem) supported RSA
2134 private keys and private key operations. This significantly
2135 increases private key operation efficiency. No compatibility
2136 issues with new or old private keys. Affected files are
2137 lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c.
2139 Sat Nov 8 13:08:53 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2141 * Fixed GCC-3.3.2 related compilation warnings from the
2144 Fri Nov 7 23:01:47 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2146 * Removed RC6 from distributions.
2148 Fri Nov 7 19:38:42 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2150 * Added some better comments to lib/silccrypt/silcpkcs.h,
2151 optimized some routines in lib/silccrypt/silcpkcs.c.
2152 Added test_silcpkcs into lib/silccrypt/tests/.
2154 * Fixed silc_rng_global_init to actually init the global RNG
2155 if RNG wasn't provided for it. Affected file is
2156 lib/silccrypt/silrng.c.
2158 Thu Nov 6 21:08:28 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2160 * Added silc_hash_table_find_by_context_ext. Affected files
2161 lib/silcutil/silchashtable.[ch].
2163 * Save the public key on normal server in WHOIS command reply
2164 from attributes, if present, and add it to public key hash
2165 table. Fixes WHOIS resolving by public key on normal server.
2167 Optimized the attributes resolving on normal server to not
2168 resolve if we resolved them already from router.
2170 Affected files are silcd/server_query.c, command_reply.c.
2172 Wed Nov 5 19:36:30 CET 2003 Patrik Weiskircher <pat@icore.at>
2174 * Added support for whois using attributes.
2175 Affected files silcd/command_reply.c, silcd/packet_receive.c,
2176 silcd/server.c, silcd/server_internal.h, silcd/server_query.c,
2179 * Added support for whois using public key attribute to /WHOIS i
2180 client command. Affected files irssi/docs/help/in/whois.in,
2181 irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c
2183 Wed Nov 5 23:37:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2185 * Fixed UMODE setting in server when the client has anonymous
2186 mode set. The mode setting was not working. Affected file
2189 Mon Nov 2 11:36:08 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2191 * Fixed some bugs and typos related to sending split messages.
2192 Print notification when sending messages with /MMSG. Affected
2193 files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c
2195 Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2197 * Optimized the socket referencing in packet routines, client
2198 library and server. Affected files are lib/silccore/silcpacket.c,
2199 lib/silcclient/client.c and silcd/server.c.
2201 * If silc_socket_set_qos is given with NULL arguments the QoS is
2202 reset from the socket. Affected files are
2203 lib/silcutil/silcsockconn.[ch].
2205 Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2207 * Add a /LISTKEYS command which lists the locally cached
2208 client and server keys. Affected files
2209 irssi/src/fe-common/module-formats.[ch],
2210 irssi/src/silc/core/silc-{channels,servers}.c
2211 irssi/docs/help/in/listkeys.in
2213 Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2215 * Check that packet queue purging was successful. Affected
2216 files lib/silcclient/client.c and silcd/packet_send.c. Related
2217 to MAC failed errors.
2219 * Do not clear the inbuf even if it is empty if QoS was applied
2220 to it. Otherwise the QoS data is cleared and MAC failed error
2221 will occur. Affected file lib/silccore/silcpacket.c.
2223 * Use the rekey period time as rekey protocol timeout value.
2224 If the rekey does not succeed during the rekey period there's
2225 something very wrong, and we most likely end up with wrong keys,
2226 do graceful reconnect then. Affected file silcd/server.c.
2228 * Take reference of the socket in the parser context, as it's
2229 possible to have the parsers in queue after the socket is
2230 disconnected and this may cause crash. Affected files are
2231 lib/silccore/silcpacket.c, lib/silcclient/client.c and
2234 Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2236 * Fixed KICK command reply sending, it sent to replies.
2237 Affected file silcd/command.c.
2239 Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2241 * Finish the silc-mime.pl script. It now supports MIME type
2242 guessing using magic files, signing data messages, executing
2243 MIME handlers in background. Affected files
2244 irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in
2246 * Changed MIME signal handler to make things easier for the perl
2247 script. Affected files irssi/src/silc/core/client_ops.c,
2248 silc-servers.c, and irssi/docs/signals.txt
2250 * Cleaned up the silc_mime_parse function and fixed detection
2251 of wrapped header lines. Affected file lib/silcutil/silcstrutil.c
2253 Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2255 * Resolve the IP for file transfer listener from the connection
2256 socket. Affected file lib/silcclient/client_ftp.c.
2258 * Accept NULL hostname parameter in the functions
2259 silc_net_check_[local|remote]_by_socket. Do not reverse lookup
2260 if hostname is not wanted.
2262 Fri Oct 24 21:24:12 CEST 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2264 * Fixed race condition between silc_client_init and
2265 my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c
2267 Fri Oct 24 16:43:40 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2269 * Fixed file transfer connection closing when SIGNOFF for
2270 the client is received from server. Affected file is
2271 lib/silcclient/client_ftp.c.
2273 Tue Oct 21 13:35:57 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2275 * Check for disconnected socket in QUIT callback. Affected
2276 file silcd/command.c.
2278 Thu Oct 21 09:43:17 CEST 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2280 * Modified the MIME parsing to allow \n and \r\n as delimiters.
2281 Affected files lib/silcutil/silcstrutil.c
2283 * Cleaned up the escape/unescape functions for correctness and
2284 speed. Affected file irssi/src/silc/core/client_ops.c
2286 * Removed handling for data messages with Content-Type: text/*,
2287 moved parsing of MIME headers to the signal handler, added
2288 support for signing and verifying data messages. Affected
2289 files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c,
2290 irssi/src/silc/core/silc-{servers,channels}.c
2292 * Added a perl script for handling data messages based on
2293 information read from Mailcap files. New file
2294 irssi/scripts/silc-mime.pl
2296 Mon Oct 20 16:08:22 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2298 * Added new SILC_MESSAGE_FLAG_ACK that can be used to
2299 acknowledge recepetion of a message to the sender. Updated
2302 Sat Oct 18 11:55:33 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2304 * Unregister channel key saving callback when deleting channel.
2305 Affected file lib/silcclient/idlist.c.
2307 * Do not remove the client from channels in NOTIFY_TYPE_SIGNOFF
2308 before calling notify client operation. Affected file is
2309 lib/silcclient/client_notify.c.
2311 * Unregister QoS tasks when deleting the socket connection.
2312 Affected files lib/silcutil/silcsockconn.[ch],
2313 unix/silcunixsockconn.c.
2315 * Implemented latest presence-attrs draft changes. Affected
2316 files lib/silccore/silcattrs.h and
2317 irssi/src/silc/core/silc-queries.c.
2319 Tue Oct 14 18:24:53 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2321 * Save old channel keys in list to allow more rapid change
2322 of channel keys if server for some reason does that. This
2323 avoids loosing so many channel messages due to not having
2324 key to decrypt. Affected file lib/silcclient/silcclient.h,
2325 idlist.c and client_channel.c.
2327 Mon Oct 13 21:37:47 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2329 * Continued backup router tests and fixes. Affected files
2330 silcd/server_backup, server_util.c, server.c. See TODO.
2332 Sun Oct 12 19:58:18 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2334 * Fixed SERVER_SIGNOFF handling in servers. The client
2335 was removed from wrong list thus not removing the client
2336 at all. Affected file silcd/packet_receive.c.
2338 * Do not execute rekey protocol for disabled connections as
2339 it would never go through. Affected file silcd/server.c.
2341 * Added timeout for rekey protocol to catch if the protocol
2342 never executes successfully. Affected files silcd/server.c
2345 Sat Oct 11 15:39:22 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2347 * Abandon packet processing for disconnected sockets. Check
2348 this always after calling packet processing callback.
2349 Affected file lib/silccore/silcpacket.c.
2351 * Fixed double registration disconnection code in server.
2352 Closed wrong connection. Affected file silcd/packet_receive.c.
2354 Fri Oct 10 16:27:12 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2356 * On normal server reconnect to primary during resuming 4
2357 times, then give up. Affected file silcd/server_backup.c.
2359 * If during reconnecting to routers we notice we have router
2360 connection but no primary router set, the server is in desync.
2361 Reconnect to primary to restore network. Affected file
2364 * Assure that only one protocol is exeucting at the same time.
2365 Added checks for all protocols. Affected files are
2366 silcd/server.c and server_backup.c.
2368 Thu Oct 9 20:24:09 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2370 * Check that a string is not already part on invite/ban
2371 string when processing it. Affected file silcd/server_util.c.
2373 Thu Oct 9 12:06:40 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2375 * Fixed the CUMODE_CHANGE for founder mode changes to comply
2376 with 1.2 version of the protocol. Affected file is
2377 silcd/packet_receive.c.
2379 Wed Oct 8 19:41:15 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2381 * ERR_BAD_PASSWORD now returns the Channel ID of the channel
2382 where the passphrase was given. Affected file is
2385 Wed Oct 8 09:32:12 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2387 * INVITE and BAN notifys are now delivered from routers to
2388 servers (but not clients) on the channel. Updated specs and
2389 code. Affected files silcd/packet_[send|receive].[ch],
2390 command.c, server.c and server_util.c.
2392 * Implemented INVITE and BAN announcing. Affected files are
2393 silcd/server.[ch], server_util.c.
2395 * Implemented SilcStatus error type argument returning in
2396 command reply error in server. Affected file silcd/command.c.
2398 * Implemented SilcStatus argument returning in comand reply
2399 in client library. The command_reply client operation now
2400 returns error specific arguments as well. Affected files
2401 are lib/silcclient/command_reply.[ch], client_resume.c,
2402 lib/silccore/silcstatus.[ch].
2404 Sun Oct 5 20:22:08 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2406 * Backup router protocol version 1.2 implemented. Testing still
2407 required. Affected files in silcd/server_backup.[ch], server.c,
2408 packet_receive.c and server_internal.h.
2410 Sun Oct 5 12:36:37 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2412 * silc_client_send_[channel|private]_message now return TRUE
2413 or FALSE. Affected file lib/silcclien/client_channel.c and
2416 Thu Oct 2 17:03:09 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2418 * Check for explicit nickname in INVITE and BAN processing
2419 during join as well (and don't expect only wildcards in
2420 invite/ban strings). Affected file silcd/command.c.
2422 * Fixed the INVITE and BAN by public key. The public key saved
2423 is the PK payload (as specified) not the raw data. Affected
2424 file silcd/server_util.c.
2426 Wed Oct 1 20:29:06 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2428 * UTF-8 text message support for actions and notices in SILC
2429 Client. Affected file irssi/src/silc/core/client_ops.c.
2431 * silc_get_username and silc_get_real_name now returns sensible
2432 data on Win32. Patch by Toni Willberg. Affected file is
2433 lib/silcutil/win32/silcwin32util.c.
2435 Sun Aug 24 23:35:19 CEST 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2437 * Provide a signal handler to send MIME encoded messages and emit
2438 a signal when a MIME encoded message is received. Also document
2439 the signals for usage with the perl interface.
2441 A sample perl script will be supplied at a later point.
2443 Affected files are irssi/docs/signals.txt,
2444 irssi/src/silc/core/client_ops.[ch],
2445 irssi/src/silc/core/silc-{channels,servers}.c
2447 Sun Aug 24 12:58:30 CEST 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2449 * Use SILC_COMMAND_PING to estimate the round-trip time to the
2450 server. Use this time to display a lag and disconnect when it
2451 exceeds a specified limit.
2453 Affected files are irssi/src/silc/core/silc-{lag,core}.c.
2455 Mon Aug 11 17:14:17 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2457 * Remove the channel auth list in normal server if router
2458 encofrces its list during connecting. Send notify to channel
2459 to remove the mode to remove the list. Affected files are
2460 silcd/server_util.c and silcd/packet_receive.c.
2462 Wed Aug 6 14:52:04 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2464 * Added support for channel public keys. Updated protocol specs
2465 and implemented it. Affected files are
2466 silcd/command.c, command_reply.c, lib/silcclient/command.c,
2467 lib/silcclient/command_reply.c.
2469 Wed Jul 23 12:17:01 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2471 * Ignore SIGXFSZ and SIGXCPU signals in server. They can
2472 terminate the process on Linux. Affected file silcd/silcd.c.
2474 Mon Jun 2 19:13:27 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2476 * Check for NULL buffer in silc_buffer_clear. Affected file
2477 is lib/silcutil/silcbuffer.h.
2479 * Simplified the backup router protocol by removing the _GLOBAL
2480 types. Updated protocol specs and the code. Affected files
2481 are silcd/server_backup.[ch].
2483 Thu Apr 24 19:50:25 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2485 * Deny '@' and '!' from nicknames since they are reserved
2486 by the SILC_COMMAND_INVITE and SILC_COMMAND_BAN commands.
2487 Updated protocol specs and the code.
2489 Affected files are silcd/server_util.[ch].
2491 Wed Apr 9 18:51:59 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2493 * Fixed stack overflow in Irssi SILC client. Affected
2494 file irssi/src/silc/core/client_ops.c.
2496 * Check that Host is set in ServerConnection and RouterConnection
2497 in silcd.conf. Affected file silcd/serverconfig.c.
2499 * Fixed crash in server with protocol completion callbacks,
2500 namely rekey and backup resuming protocols. Affected files
2501 are silcd/server_backup.c and silcd/server.c.
2503 * Fixed rekey protocol to not restart if it is started already.
2504 Affected files are lib/silcclient/client.c and
2507 Mon Mar 17 18:35:24 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2509 * Rewrote SilcList, affected file lib/silcutil/silc*list.h.
2511 * Fixed EOF handling in SILC Config, affected file
2512 lib/silcutil/silcconfig.c.
2514 * Fixed buffer overflows in lib/silcutil/silcstrutil.c.
2516 * Fixed RESOLVING flag handling in JOIN notify and other
2517 notifys to handle the resolvings correctly in client library.
2518 Affected file lib/silcclient/client_notify.c.
2520 * Do not send full INVITE and BAN lists in INVITE and BAN
2521 notifys, only the changed information. Affected file
2524 * Fixed INVITE notify sending in INVITE command, send it
2525 only when needed. Affected file silcd/command.c.
2527 * Handle the founder key change properly in CMODE_CHANGE
2528 notify. Bug #122. Affected file silcd/packet_receive.c.
2530 Sun Mar 9 16:29:20 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2532 * Remove the mark for output (mark it only for input) after
2533 purging outgoing queue. Prevents the "Error in select()"
2534 floods. Affected file silcd/packet_send.c.
2536 * Fixed incorrect connection deletion from client library
2537 after calling "connect" client operation. Could cause
2538 crashes for example during reconnect timeouts. Affected
2539 files are lib/silcclient/client.c and
2540 irssi/src/silc/core/client_ops.c.
2542 * Check server private key file permissions before starting
2543 the server. Affected file silcd/serverconfig.c.
2545 Tue Feb 4 22:53:26 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2547 * NULL terminate allocated string in silc_buffer_strformat.
2548 Affected file lib/silcutil/silcbuffmt.c.
2550 * Rewrote the invite/ban list string handling in server to
2551 use SilcBuffer instead. Affected files are silcd/command.c
2552 and silcd/server_util.c.
2554 Mon Feb 3 14:43:52 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2556 * Fixed double free in CMODE command when setting new HMAC
2557 for channel. Affected file silcd/command.c.
2559 * Added couple of missing memset's to zero sensitive memory.
2560 Affected files silcd/command.c, lib/silcclient/command.c.
2562 Sun Jan 26 12:20:30 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2564 * Fixed a double free in INVITE command error handling in
2565 server. Affected file silcd/command.c.
2567 * Added macros SILC_SWAB_[16|32] to swab byte order of
2568 16-bit and 32-bit unsigned integers. Affected file
2569 lib/silcutil/silctypes.h.
2571 * Use the SILC_SWAB_16 instead of htons() in server when
2572 handling ports since the ports in structures are always
2573 in little-endian order (regardless of platform). Affected
2574 file silcd/serverid.c and silcd/server_backup.c.
2576 Tue Jan 21 17:18:04 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2578 * Send DISCONNECT in close admin command in server. Affected
2579 file silcd/command.c.
2581 * Check whether we are already connecting to a remote router
2582 (in addition of checking whether we are already connected)
2583 before creating new connection. Affected file silcd/server.c.
2585 Thu Jan 16 18:47:00 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2587 * Added better compiler and compiler flags checking in
2590 * Check that socket is valid after QoS is applied to data.
2591 Affected file lib/silcutil/unix/silcunixsockconn.c.
2593 * Make sure the socket connecetion is not closed to early
2594 when closing connection in server. Also make sure the
2595 connection is always closed after error in a protocol.
2596 Affected file silcd/server.c.
2598 Wed Jan 15 11:03:36 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2600 * Removed --session and --dummy options from Irssi SILC Client.
2601 -d option is available only if --enable-debug was given.
2602 Affected files are irssi/src/silc/core/silc-core,
2603 irssi/src/core/session.c and irssi/src/fe-text/silc.c.
2605 Tue Jan 14 12:25:09 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2607 * Added silc_buffer_steal to steal the data from the buffer.
2608 Affected file lib/silcutil/silcbuffer.h.
2610 Sat Jan 11 18:16:29 CET 2003 Giovanni Giacobbi <giovanni@giacobbi.net>
2612 * Fixed server crash with double Primary block in config file.
2614 Fixed also various memory leaks around the config file
2615 parser. Affected files lib/silcutil/silcconfig.c,
2616 silcd/serverconfig.c.
2618 * Changed my nickname (Johnny Mnemonic) to my real name, this
2619 means that bugs introduced by him were actually introduced
2622 Tue Jan 7 21:58:53 CET 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2624 * Don't display "foo appears as foo\nYou're now known as foo"
2625 messages. Affected file irssi/src/silc/core/client_ops.c
2627 Tue Jan 7 20:08:15 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2629 * Fixed error handling of invalid client entry when calling
2630 commands in server. Fixes a crash. Affected file
2633 Thu Dec 26 14:19:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2635 * Added some sanity checks in server for correctness of the
2636 server configuration. Affected file silcd/serverconfig.c.
2638 Fri Dec 20 10:47:59 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2640 * Prevent endless resolving of user informations in USERS
2641 command by checking the command reply status correctly.
2642 Affected file lib/silcclient/command_reply.c.
2644 Tue Dec 17 10:05:00 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2646 * Fixed file writing on WIN32 to use O_BINARY flag. Affected
2647 file is lib/silcutil/silcfileutil.c. A patch by Matthew
2648 Aldous <Matthew@Aldous.com>.
2650 * Added better implementation using CriticalSection of
2651 SilcMutex on WIN32. A patch by Mikko Lähteenmäki
2652 <mikko.lahteenmaki@pikabaana.net>.
2654 * Added some Winsock WIN32 compatiblity defines into
2655 includes/silcwin32.h.
2657 Mon Dec 16 19:33:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2659 * Fixed double free in async host lookup code. Affected file
2660 lib/silcutil/silcsockconn.c.
2662 * On backup router handle now the SERVER_SIGNOFF from router
2663 for local connected servers too, and close the connections.
2665 Do not process them as normally signing off servers when they
2666 really signoff by sending EOF fe, but always assume that
2667 router sends the SERVER_SIGNOFF.
2669 Affected files silcd/server.c and silcd/packet_receive.c.
2671 * Fixed socket unsetting when closing connections. Affected
2672 files silcd/server.c and silcd/packet_send.c.
2674 * Do not print the nickname in SERVER_SIGNOFF if we do not
2675 have it. Prevents asserts in Irssi core. It is possible we
2676 don't have the nick if it was just being resolved when server
2677 signoff. Affected file irssi/src/silc/core/client_ops.c.
2679 Thu Dec 12 23:22:50 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2681 * Fixed autonick crashbug in client library. Affected file
2682 lib/silcclient/client.c.
2684 * Fixed Unix implementation of SilcMutex to really assert if
2685 the mutex is locked/unlcoked already. Affected file
2686 lib/silcutil/unix/silcunixmutex.c.
2688 * Fixed locking in silc_schedule_uninit. It didn't lock
2689 when dispatching timeout tasks. Affected file is
2690 lib/silcutil/silcschedule.c.
2692 * Changed Win32 implementation of SilcThread to use modern
2693 Win32 interface. Affected file is
2694 lib/silcutil/win32/silcwin32thread.c A patch by Mikko L.
2696 Thu Dec 12 12:06:59 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2698 * Don't print signed messages when sending failed. Affected files
2699 irssi/src/silc/core/silc-[servers.c/commands.h]
2701 * Send adquate signal when founding a channel by joing it. Affect
2702 file irssi/src/silc/core/client_ops.c
2704 Wed Dec 11 21:46:19 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2706 * Fix theme abstracts parsing. Affected files irssi/default.theme,
2707 irssi/src/fe-common/core/themes.c
2709 Wed Dec 11 20:20:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2711 * Fixed close command to use the port correctly when closing
2712 server connections. Affected file silcd/idlist.c.
2714 * Check for NULL outbuf in silc_socket_write. It is possible
2715 that it is NULL is some odd case. Affected files are
2716 lib/silcutil/[unix/win32]/silc[unix/win32]sockconn.c.
2718 * Do not call final protocol callback for backup router
2719 resuming protocol when closing connection. It is closed
2720 by timeout in case of error. Affected file silcd/server.c.
2722 * Backup reconnect to router if backup resuming protocol
2723 failed. Affected file silcd/server_backup.c.
2725 Wed Dec 11 10:01:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2727 * Fixed double free in SKE library error hadling when signature
2728 error occurred. Affected file lib/silcske/silcske.c.
2730 * Save the fingerprint to new SilcClientEntry after changing
2731 nickname. Affected file lib/silcclient/client_notify.c.
2733 * Print SIGNOFF in Irssi SILC client only if the nickname is
2734 known. Prevents asserts in Irssi core. It is possible we
2735 don't have the nick if it was just being resolved when it
2736 quit. Affected file irssi/src/silc/core/client_ops.c.
2738 Tue Dec 10 21:47:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2740 * Fixed double free in invite list adding code when adding
2741 invite strings. Affected file silcd/server_util.c.
2743 Fri Dec 6 17:40:24 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2745 * More log printing during backup router protocol. Affected
2746 file silcd/server_backup.c.
2748 * Removed backwards support for old private key file format.
2749 Affected file lib/silccrypt/silcpkcs.c.
2751 * Removed backwards support for not-so-strict decryption length
2752 check, it's strict now. Affected lib/silccrypt/silccipher.c.
2754 * GETKEY to update the client entrys fingerprint too.
2755 Affected file lib/silcclient/command_reply.c.
2757 * Added --without-libtoolfix for package builders using weird
2758 wrappers around libtool (BSD at least).
2760 Thu Dec 5 22:29:46 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2762 * Fixed backup router bugs: When backup resumes router and
2763 receives a CHANNEL_MESSAGE packet the backup must not act
2764 as router since the packet header decryption would be
2765 different. Also, when relaying packets to channel, do
2766 not re-encrypt packets on backup that came from the primary
2767 since the connection isn't really router-router connection.
2768 Affected files silcd/server.c, silcd/packet_send.c.
2770 * Added checks in encryption/decryption that encryption/decryption
2771 length sent as argument really is multiple by block size. Helps
2772 catching really weird bugs like the above backup router bugs
2773 when packets are being decrypted in wrong way. Affected files
2774 lib/silccore/silcpacket.c, and lib/silccrypt/silccipher.c.
2776 * Fixed padding generation in private key file encryption.
2777 Affected file lib/silccrypt/silcpkcs.c.
2779 Thu Dec 5 16:35:23 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2781 * Added ignore_message_signatures setting which can be used
2782 to ignore signatures in messages. Affected files are
2783 irssi/src/silc/core/client_ops.c, silc-core.c.
2785 * Fixed the libtoolfix to use command line options instead of
2786 environment variables. They didn't work as expected. Now,
2787 the libtool is fully run-time configurable.
2789 Wed Dec 4 21:08:52 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2791 * Verify signature payload for signed messages. Affected files
2792 irssi/src/silc/core/client_ops.h, irssi/src/silc/core/silc-servers.c,
2793 irssi/src/silc/core/silc-core.h
2795 * Display signature verification result in public and private
2796 messages using theme abstracts. See irssi/default.theme for
2797 examples on their usage. Affected files
2798 irssi/default.theme, irssi/src/fe-common/silc/fe-messages.h,
2799 irssi/src/fe-common/silc/module-formats.[ch],
2800 irssi/src/fe-common/silc/fe-common-silc.c,
2801 irssi/src/fe-common/silc/Makefile.am
2802 irssi/src/fe-common/core/fe-messages.[ch]
2804 * Fixed bugs in Irssi's theme parsing. Affected files
2805 irssi/src/fe-common/core/themes.c
2807 Wed Dec 4 18:29:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2809 * Calculate the correct length for signed messages before
2810 encrypting, it must be multiple by block size. Affected
2811 file lib/silccore/silcmessage.c.
2813 * silc_message_signed_get_public_key returns now both
2814 decoded and encoded public key. Affected files are
2815 lib/silccore/silcmessage.[ch].
2817 * Added libtoolfix script that makes the libtool more generic
2818 and configurable in run-time. Now we can specify in run-time
2819 if what kind of libraries we want to create, regardless of
2820 configuration. SIMs are now creates even if --disable-shared
2821 was explicitly given.
2823 Tue Dec 3 23:26:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2825 * Fixed founder key sending in CMODE command in client.
2826 Affected file lib/silcclient/command.c.
2828 * Fixed CUMODE founder authentication in server to not check
2829 for client's public key since it's not supposed to do that.
2830 Affected file silcd/command.c.
2832 Tue Dec 3 12:02:41 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2834 * Set realname and hostname in NICK_REC records. Affected file
2835 irssi/src/silc/core/silc-nicklist.c
2837 Mon Dec 2 20:50:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2839 * Remove 1.0 protocol backwards compat code from client
2842 * Added more reliable check for whether nickname did change
2843 or not, or whether only Client ID changed in NICK_CHANGE
2844 notify. Affected file lib/silcclient/client_notify.c.
2845 Fixes bug in '@' character handling in a nickname.
2847 * Added support for automatically parsing signature from
2848 the message payload. Added new function
2849 silc_message_get_signature to return the payload to
2850 application. Affected files lib/silccore/silcmessage.[ch].
2852 * Changed the private_message and channel_message client
2853 operations to deliver the SilcMessagePayload to the
2854 application too. Application can use it fe. to get the
2855 signature from the message for verification. Affected
2856 file lib/silcclient/silcclient.h, client_channel.c and
2859 * Redefined the signed payload for message payloads.
2860 Updated protocol specs and implemented.
2862 Mon Dec 2 16:28:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2864 * Fixed wrong invite and ban list handling in server command
2865 reply. Affected files are silcd/command_reply.c,
2866 silcd/server_util.[ch].
2868 Sun Dec 1 20:48:17 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2870 * Fixed CMODE setting in server when founder mode was set.
2871 Affected file silcd/command.c. Bug #95.
2873 * Added support to setting specific public key in CMODE in
2874 Irssi SILC client. Affected file lib/silcclient/command.c.
2876 * Added support to use specific public key in CUMODE in
2877 Irssi SILC Client. Affected file lib/silcclient/command.c.
2879 * Added support for inviting and banning by public key in
2880 Irssi SILC client. Affected file lib/silcclient/command.c.
2882 * Fixed fingerprint/babbleprint showing in invite and ban
2883 list command replys. Affected file is
2884 irssi/src/silc/core/client_ops.c.
2886 Sun Dec 1 16:32:03 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2888 * Format CMODE +c and +h to display both the mode and the argument
2890 Sun Dec 1 18:17:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2892 * Added test vectors and test programs for SHA-1, MD5,
2893 HMAC-SHA1 and HMAC-MD5. New tests are located in
2894 lib/silccrypt/tests/. Fixed also argument decoding bug in
2895 MD5 implementation. Affected file lib/silccrypt/md5.c.
2897 * Changed the channel private key and private message key
2898 generation (with static keys) to use SHA1 instead of MD5,
2899 as SHA1 is the mandatory hash function in SILC. Affected
2900 file lib/silcclient/client_[channel/prvmsg].c.
2902 * Changed the private key file encryption to use SHA1 instead
2903 of MD5. Added support for the old generation and added
2904 automatic change of the key (to be removed later). Affected
2905 files lib/silccrypt/silcpkcs.c.
2907 Sat Nov 30 19:07:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2909 * Load only files with .pub suffix in PublicKeyDir. Affected
2910 file silcd/serverconfig.c.
2912 Sat Nov 30 14:29:34 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
2914 * Extended the SILC_SERVER_LOG_ERROR macro to all available logging
2915 channels. Affected files silcd/silcd.c, silcd/server.h.
2917 * Added the config directive PublicKeyDir for the client block.
2918 Affected files doc/exampe_silcd.conf.in, silcd/serverconfig.[ch].
2920 Sat Nov 30 09:30:55 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2922 * Merged Toni's irssi/silc.conf patch.
2924 * ROBODoc cleanup patch to lib/silccrypt/silcpkcs.h by johnny.
2926 * Max alloc tests in allocation routines. Affected file
2927 lib/silcutil/silcmemory.c.
2929 Fri Nov 29 23:44:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2931 * Fixed a typo in resuming code that fixed detach/resume code
2932 in server. Bug #93. Affected file silcd/packet_receive.c.
2934 Thu Nov 28 17:17:11 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2936 * Do reverse lookups for server when /connecting. Affected files
2937 irssi/silc.conf, irssi/src/core/servers.c, irssi/src/core/network.c,
2938 irssi/src/core/net-nonblock.*
2940 Thu Nov 28 16:19:18 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2942 * Added library versioning for shared libraries. Affected
2943 files configure.in.pre and lib/Makefile.am.pre.
2945 Wed Nov 27 21:51:52 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2947 * Display INVITE and BAN lists as specified by SILC 1.2
2949 Wed Nov 27 16:01:11 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2951 * Do not send invite list back unless asked (when sending
2952 no arguments) or when list was modified. Affected file
2955 * Remove client from invite list in KILLED notify and in
2956 KILL command. Affected file silcd/command.c and
2959 * Fixed bugs in invite list handling in INVITE command.
2960 Affected files silcd/command.c and silcd/server_util.c.
2962 * Merged with Irssi 0.8.6.
2964 * Fixed UTF-8 in Irssi SILC Client, setlocale was missing.
2965 Affected file irssi/src/fe-text/silc.c.
2967 Mon Nov 25 18:21:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2969 * The silc_argument_get_[first/next] now return the argument
2970 type to caller. Added silc_argument_payload_encode_one.
2972 Affected files are lib/silccore/silcargument.[ch].
2974 * Added support for the SILC 1.2 INVITE command and new
2975 invite lists to server. Affected files are silcd/command.c,
2976 silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2978 * Added support for the SILC 1.2 BAN command and new
2979 ban lists to server. Affected files are silcd/command.c,
2980 silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2982 * Added support to client sending new INVITE command. Affected
2983 file is lib/silcclient/command.c.
2985 * Added support to client sending new BAN command. Affected
2986 file is lib/silcclient/command.c.
2988 * Added support for removing client from invite list when kicked
2989 from channel, as SILC 1.2 dictates. Affected files are
2990 silcd/packet_receive.c and silcd/command.c.
2992 Sun Nov 24 18:26:42 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2994 * If iv argument to silc_cipher_[encrypt/decrypt] is NULL, use
2995 automatically the cipher's internal IV. Affected files
2996 lib/silccrypt/silccipher.[ch].
2998 * Assure the RESUME_CLIENT packet is not sent to twice to
2999 backup router if the detached client was originated from
3000 the backup. Affected file silcd/server.c. Bug #76.
3002 * Changed silc_sim_symname to not allocate memory. Affected
3003 file lib/silcsim/silcsimutil.c.
3005 * Fixed memory leaks with SIMs in server. Affected files
3006 silcd/serverconfig.c, silcd/server.c.
3008 * Fixed channel key distribution after resuming detached
3009 client. Affected files silcd/packet_receive.c.
3011 * Fixed channel's global_user boolean checking after detaching.
3012 Check it after changing the owner of the client not before.
3013 Affected file silcd/packet_receive.c.
3015 * Fixed few double frees from client library. Fixes at least
3016 Bug #81, possibly others too.
3018 * UTF-8 decode topics also in JOIN command reply and TOPIC_SET
3019 notifys in Irssi SILC Client. Affected file is
3020 irssi/src/silc/core/client_ops.c. Bug #82.
3022 * Applied Ville Räsänen's manual page and --mandir bugfix
3023 patch. Affected files are configure.in.pre and Makefile.am.pre.
3026 Fri Nov 22 18:34:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3028 * Added support to backup router protocol for backup to tell
3029 normal server that it cannot use the backup router as primary
3030 because the primary isn't really down. Updated protocol
3033 * Added support for primary router to tell backup router that
3034 resuming is not possible because the backup really isn't primary
3035 in the cell. For example if backup disconnected itself the
3036 resuming is not allowed since the primary really did not
3037 go down. Updated protocol specs.
3039 * Removed MARS from crypto library.
3041 * Defined the CTR mode and Randomized CBC mode in SILC. The
3042 CTR mode is RECOMMENDED now in specification. Defined also
3043 Serpent cipher as optional cipher. Updated the protocol specs.
3045 Thu Nov 21 12:43:28 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3047 * Added support for inviting/banning by IP/MASK, public key,
3048 and explicit Client ID. Redefined the command and notify
3049 types to allow easier forwards support for other methods
3050 of inviting/banning. Updated protocol specs.
3052 * Remove the client from channel's invite lists if the client
3053 is kicked or killed. Updated protocol specs.
3055 * Unified the Channel Message Payload and Private Message
3056 into one Message Payload. Updated protocol specs and
3059 Tue Nov 19 22:30:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3061 * Don't wait for EOF after socket error has occurred, but
3062 close the connection. Affected file is silcd/server.c.
3064 Mon Nov 18 18:58:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3066 * Added support for setting FOUNDER mode on channel with
3067 specific public key which can be set with CMODE command.
3068 Updated protocol specs and implemented in client and server.
3070 * Fixed the Irssi SILC client to correctly shutdown the client
3071 library to avoid memory leaks. Affected files are
3072 irssi/src/silc/core/silc-core.c and silc-servers.c.
3074 * Deprecated the No Reply flag in SKE protocol and introduced
3075 "IV Included" flag which can be used to indicate that the IV
3076 is included in the ciphertext. This makes it possible to use
3077 SILC on unreliable transport, such as UDP which may cause
3078 packet reordering and losses. Updated protocol specs, did
3081 Sun Nov 17 15:50:57 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3083 * Fixed the MPI implementation of silc_mp_sizeinbase to return
3084 < 32 bit values in correct size. Affected file is
3085 lib/silcmath/mp_mpi.c.
3087 Sat Nov 16 13:14:45 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3089 * Fixed the KE Start Payload parsing to check that mandatory
3090 fields are present. Affected file lib/silcske/payload.c.
3092 * Fixed compilation warnigs in Irssi SILC Client. Affected
3093 files are irssi/src/silc/core/silc-query.c. client_ops.c.
3095 Thu Nov 14 19:33:28 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
3097 * Print "nick now appears as newnick" and update Irssi's nicklist
3098 when you change your nick to "nick". Closes #62
3100 * Never format your own nick. Closes #63
3102 Thu Nov 14 09:44:54 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
3104 * SILC_UMODE_GONE changes are now propagated correctly to the
3105 Irssi client. Closes #54
3107 Tue Nov 12 19:42:18 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
3109 * Fixed example in /HELP KEY
3111 * Added expando $j which expands to current SILC Client version
3113 Tue Nov 12 19:46:39 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3115 * Fixed public key decoding in crypto library.
3117 * Added better error printing to SKE library.
3119 Tue Nov 12 08:50:12 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3121 * Fixed NICK command to not crash if nickname was not sent.
3123 Mon Nov 11 19:32:00 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3125 * Added Encrypt-Then-MAC order to SILC packet MAC generation.
3126 Deprecated the old Encrypt-And-MAC order. Updated protocol
3127 specs and implemented.
3129 * Added Encrypt-Then-MAC order to Channel Message Payload MAC
3130 generation. Updated specs and implemented.
3132 Sun Nov 10 12:20:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3134 * Added support for rekey before 2^32 sequence number wraps.
3135 Affected files in server and client library.
3137 * Padding must be at least 8 bytes now. Implemented and updated
3140 * Compute maximum padding for authentication packets to make
3141 passphrase approximation attacks impossible. Affected files
3142 in client library and in server.
3144 * Fixed PING command sending in client library and handling in
3145 server. The server ID must be ID Payload, not raw ID data.
3146 Affected files in server and client library.
3148 * Defined that all public keys sent in commands and notify
3149 payloads are actually Public Key Payloads not raw public key
3150 data. Updated protocol specs and implemented.
3152 * Updated protocol version to 1.2. Updated specs and code.
3154 * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED
3155 status types. Updated specs and the code.
3157 * Added support for normal client to kill its own entries from
3158 the network. Updated protocol specs and the code.
3160 * Defined the SILC_MESSAGE_FLAG_SIGNED. Updated protocol specs
3161 and added initial implementation.
3163 * Added MAC field to the Private Message Payload to protect
3164 against chosen ciphertext attacks. Updated the protocol specs
3167 * Added idle and signon fields to the ATTRIBUTE_SERVICE
3168 attribute to indicate the user's current idle and signon time
3169 of a service. Updated protocol specs and implemented.
3171 Thu Nov 7 19:21:10 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3173 * Added "do_not_bind" argument to silc_client_file_send what
3174 can be used to not bind locally but assume the file receiver
3175 provides the point of connect. Usefull when sender is behind
3176 NAT device. Affected file lib/silcclient/silcclient.h and
3179 * Added -no-listener option to FILE SEND command in Irssi SILC
3180 client. Affected file irssi/src/silc/core/silc-servers.c.
3181 Renamed FILE RECEIVE to FILE ACCEPT.
3183 * Confirm passphrase for private key encryption in
3184 silc_create_key_pair and silc_change_private_key_passphrase.
3185 Affected files are lib/silcutil/silcapputil.c.
3187 Thu Nov 7 10:05:28 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3189 * Move silc_client_packet_send back to internal, added
3190 silc_client_send_packet, a bit simpler function for application.
3191 Affected files lib/silcclient/silcclient.h, client.c and
3194 * Moved the SilcClientEntry, SilcChannelEntry and
3195 SilcServerEntry to silcclient.h to be public and documented
3196 them for application. Affected files are
3197 lib/silcclient/silcclient.h and idlist.h.
3199 Wed Nov 6 17:18:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3201 * Fixed manual page installation patch by Ville Räsänen.
3202 USERS help page fix patch by Ville Räsänen
3204 * Changed the silc_client_command_call interface to make
3205 the command call simpler for the application. The library
3206 now handles the command line parsing, command finding and
3207 execution. Application only needs to call the function
3208 with the command line. Affected files are
3209 lib/silcclient/silcclient.h, command.[ch].
3211 * Fixed silc_get_input to NULL-terminate the returned input.
3212 Affected file lib/silcutil/silcutil.c.
3214 * Resolve the client's public key in JOIN command if the
3215 founder auth data is being requested but we don't know the
3216 client's public key. Affected file silcd/command.c.
3219 Mon Nov 4 16:02:59 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3221 * Print notify for server opers when backup router comes
3222 online. Affected file silcd/server.c.
3224 * Fixed the INVITE command to send the invite list in
3225 command reply. Affected file silcd/command_reply.c.
3227 * Fixed MOTD command reply sending. Affected file
3230 * UTF-8 decode the topic in TOPIC command reply and LIST
3231 command reply in Irssi SILC client. Affected file is
3232 irssi/src/silc/core/client_ops.c.
3234 Sun Nov 3 17:59:15 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3236 * Fixed the INVITE command to not crash Irssi SILC client
3237 when given without nickname argument. AFfected file
3238 irssi/src/silc/core/client_ops.c.
3240 * Fixed double free in WHOIS query on normal server when
3241 forwarding query to router. Affected file is
3242 silcd/server_query.c.
3244 * Fixed WATCH command reply handling on normal server which
3245 was missing altogether. Affected file silcd/command_reply.c.
3248 Sun Nov 3 00:42:05 EET 2002 Mika Boström <bostik@lut.fi>
3250 * Added man-pages for silc(1), silcd(8) and silcd.conf(5).
3251 Included yodl sources for each of these. Also modified
3252 Makefile.am prototype to install these files to proper
3253 locations. Updated CREDITS. Affected file Makefile.am.pre,
3254 new files doc/*.yo, doc/silc.1, doc/silcd.conf.5,
3257 Sat Nov 2 21:26:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3259 * Added support for encrypted private key files. Now
3260 passphrase must be provided when new key pair is created
3261 (can be empty though), and prompted when loading the
3262 private key. Added support for loading the old-style
3263 non-encrypted private keys as well. Affected files
3264 lib/silccrypt/silcpkcs.[ch], Irssi SILC client and
3267 * Fixed silc_get_input to accept input on all terminals.
3268 Affected file lib/silcutil/silcutil.c.
3270 * Moved the Irssi SILC client key loading and other stuff
3271 to be called after the arguments and UI is initialized.
3272 Affected file irssi/src/silc/core/silc-core.c. Bug #31.
3274 * Added -P option to Irssi SILC client which can be used
3275 to change the passphrase of the private key. Affected
3276 file irssi/src/silc/core/silc-core.c.
3278 * Added silc_change_private_key_passphrase apputil routine
3279 to lib/silcutil/silcapputil.[ch].
3281 Sat Nov 2 12:53:09 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3283 * Fixed connection closing in client library to not crash.
3284 Moved the connection freeing totally to function
3285 silc_clinet_del_connection. Affected file
3286 lib/silcclinet/client.c.
3288 Fri Nov 1 18:57:02 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3290 * Changed includes/silcincludes.h to silcincludes.h.in to
3291 include configuration specific information. The silcdefs.h
3292 is not included in to installation anymore (it's only
3293 compilation time header).
3295 Fri Nov 1 10:30:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3297 * Moved the SilcClient and SilcClientConnection from client.h
3298 to the public lib/silcclient/silcclient.h. Changed the
3301 Thu Oct 31 22:44:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3303 * If version string in silc_clinet_alloc is NULL the library
3304 puts it automatically. Affected file lib/silcclient/client.c.
3306 * Changed the version strings from variables to #define's
3307 in includes/silcversion.h.
3309 Wed Oct 30 16:17:30 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3311 * Added shared library complation support.
3313 Tue Oct 29 21:48:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3315 * Added lib/silcutil/silcapputil.[ch] for application
3316 utility functions. It includes routines for applications'
3317 convenience. Added silc_create_key_pair, silc_show_public_key
3318 and silc_load_key_pair functions.
3320 Tue Oct 29 17:36:44 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3322 * Send RESUME_CLIENT packet from router to backup routers
3323 to in resuming. Affected file silcd/packet_receive.c.
3325 Mon Oct 28 21:23:39 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3327 * In IDENTIFY command parsing, send all other IDs except
3328 Client IDs explicitly to router for resolving on normal
3329 server. Also check that ID received in WHOIS command is
3330 always Client ID, others are not allowed. Affected file
3331 silcd/server_query.c.
3333 * Merged latest changes from irssi.org CVS.
3335 Sun Oct 27 11:44:32 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3337 * Merged c0ffee's /set heartbeat patch to Irssi SILC client.
3338 Affected files irssi/src/silc/core/silc-core, silc-server.c.
3340 * Fixed the heartbeat sending in Irssi SILC client. Moved
3341 the silc_client_packet_send to silcclient.h for application
3342 usage. Affected files lib/silcclient/client_internal.h
3343 lib/silcclient/silcclient.h.
3345 * Fixed a bug in query resolving in server. Used wrong
3346 variable in a for loop and crashed. Affected file is
3347 silcd/server_query.c.
3349 * Server constructs requested attributes only to locally
3350 connected clients. Affected file silcd/server_query.c.
3353 * Fixed a bug when sending resolving from router to server
3354 with requested attributes. The constructed WHOIS command
3355 was incorrect. Affected file silcd/server_query.c.
3358 * Fixed Requested Attributes saving in WHOIS command reply.
3359 The length of the data buffer must be saved too. Affected
3360 file silcd/command_reply.c.
3362 * Update the client entry's servername after detaching is
3363 over. Affected file silcd/packet_receive.c. Bug #37.
3365 * Resolve incomplete client entrys in CUMODE_CHANGE and
3366 CMODE_CHANGE notifys. Affected file is
3367 lib/silcclient/client_notify.c. Bug #42.
3369 Thu Oct 24 12:22:35 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3371 * Fixed channel key packet processing bug on backup router
3372 during backup resuming protocol. Affected file is
3373 silcd/packet_receive.c.
3375 * Fixed memory leaks in server. Affected files are
3376 silcd/server.c and silcd/packet_receive.c.
3378 * Fixed packet decryption problem when backup router encrypted
3379 channel message with wrong key during backup resuming
3380 protocol. Affected file silcd/packet_send.c.
3382 * ROBODoc documented lib/silccrypt/silccipher.h. A patch by
3383 Toni Willberg (toniw@iki.fi)
3385 * Changed the SilcCipher context to be private. Changed the
3386 silc_cipher_get_iv to just return pointer to the IV. Added
3387 silc_cipher_get_name to return the name of the cipher.
3388 Fixed code all around to support these changes. Affected
3389 files are lib/silccrypt/silccipher.[ch], client library and
3392 Wed Oct 23 19:01:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3394 * Fixed unaligned access in lib/silccore/silcattrs.c.
3396 * Fixed libtool linking in lib/silcsim/Makefile.am.
3398 * Fixed services attribute printing. Affected files is
3399 irssi/src/silc/core/silc-queries.c.
3401 Wed Oct 23 09:51:04 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3403 * Fixed a crashbug in incoming server accepting. Affected
3404 file silcd/server.c.
3406 Tue Oct 22 13:02:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3408 * Added automatically generated index to Toolkit Reference
3411 * Added support for Postscript Toolkit Reference Manual.
3413 Mon Oct 21 21:30:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3415 * Merged DISCONNECT fix, and autoconn port fix from Irssi
3418 Sun Oct 20 19:54:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3420 * Added 'send_events' boolean argument to the function
3421 silc_schedule_set_listen_fd which sends the set events to
3422 the application explicitly if set to TRUE. Default action
3423 should be FALSE. Affected file lib/silcutil/silcschedule.[ch],
3424 lib/silcclient/client_internal.h and silcd/server_internal.h.
3426 * Added silc_compare_timeval to determine which time values
3427 is smaller. Affected file lib/silcutil/silcutil.[ch].
3429 * Added sort-of "Quality of Service" (QoS) support to
3430 SilcSocketConnection. Data reception can be controlled with
3431 rate limit per second and/or read data length limit.
3432 Added silc_socket_set_qos. Affected files are
3433 lib/silcutil/silcsockconn.[ch] and unix/silcunixsockconn.c.
3435 * Added the QoS configuration to SILC Server configuration
3436 file. Affected files are silcd/serverconfig.[ch] and
3439 Sun Oct 20 14:12:24 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3441 * Merged with irssi.org CVS.
3443 * Failed OPER and SILCOPER authentications are now logged.
3444 Affected file silcd/command.c. Bugs #25.
3446 Sat Oct 19 13:32:15 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3448 * ROBODoc documented lib/silcutil/silcbuffer.h and
3449 lib/silcutil/silcdlist.h. Patch by Ville Räsänen
3450 <ville.rasanen@iki.fi>.
3452 Fri Oct 18 10:51:04 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3454 * Added support for auto-passphrase authentication from the
3455 config file during connecting which was not implemented
3456 yet. Affected file irssi/src/silc/core/client_ops.c.
3458 * Fixed a bug in authentication protocol failure handling which
3459 was processing wrong callback context. Affected files
3460 are lib/silcclient/client.c and protocol.c.
3462 * Fixed the /ATTR allow off to actually work. Affected file
3463 is irssi/src/silc/core/silc-queries.c.
3465 * Fixed the /ATTR -del to work. Affected file is
3466 irssi/src/silc/core/silc-queries.c.
3468 Thu Oct 17 23:45:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3470 * Fixed string formatting crashbug in lib/silccore/silcattrs.c.
3472 * Fixed mask attribute adding in Irssi SILC client. Affected
3473 file irssi/src/silc/core/silc-queries.c.
3475 Thu Oct 17 16:40:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3477 * Added support for saving the requested attributes in
3478 WHOIS to directory. Affected file is
3479 irssi/src/silc/core/silc-queries.c.
3481 Wed Oct 16 17:40:56 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3483 * Added support for parsing VCard fields that do not have
3484 the TYPE= for types. Affected file lib/silcutil/silcvcard.c.
3486 * Fixed a double free bug in hash table foreach function
3487 if the entry was deleted in the foreach callback. Affected
3488 file lib/silcutil/silchashtable.c.
3490 Tue Oct 15 18:05:24 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3492 * Added silc_attribute_get_verify_data to return the signature
3493 verification data for either user digital signature or
3494 server digital signature in Requested Attributes. Affected
3495 files are lib/silccore/silcattrs.[ch].
3497 * Added silc_vcard_alloc which is used to allocated dynamic
3498 SilcVCard context. The silc_vcard_free now checks whether
3499 the context is dynamically allocated or not. Affected files
3500 are lib/silcutil/silcvcard.[ch].
3502 Mon Oct 14 17:55:44 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3504 * Periodically remove the NOATTR status from client entry
3505 so that the client may take the attributes in use even after
3506 server has resolved them unsuccessfully earlier. Affected
3507 file silcd/server_query.c and idlist.h.
3509 * Moved sha1hash and md5hash from client->internal to
3510 SilcClient for application usage. Affected files are
3511 lib/silcclient/client.h and client_internal.h.
3513 * Fixed attribute encoding and decoding bugs. Affected
3514 files lib/silccore/silcattrs.[ch].
3516 * Added ATTR command to Irssi SILC Client which is used to
3517 manage user's Requested Attributes sending and values for
3518 WHOIS command. Affected files around Irssi SILC client.
3520 Mon Oct 14 14:33:54 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3522 * Added silc_buffer_strformat which can be used to format
3523 strings into a buffer which size is automatically increased.
3524 Affected file lib/silcutil/silcbuffmt.[ch].
3526 * Added implementation of VCard (RFC 2426) which can be used
3527 as part of Requested Attributes in WHOIS command. Affected
3528 file lib/silcutil/silcvcard.[ch].
3530 Fri Oct 11 23:52:17 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3532 * Some strncat -> silc_strncat changes our the core and
3535 * Added SILC_SKE_STATUS_SIGNATURE_ERROR and OUT_OF_MEMORY
3536 errors. Added better error printing to SKE library.
3537 Affected files lib/silcske/silcske.c, silcske_status.h and
3540 * Save the PKCS key length even if only private key is set to
3541 SilcPKCS. Affected file lib/silccrypt/silcpkcs.[ch] and rsa.c.
3543 * Fixed the usage of silc_pkcs_get_key_len since it returns the
3544 length in bits not in bytes. Affected files are
3545 lib/silcske/silcske.c, lib/silccore/silcauth.c and
3546 silcd/server_query.c.
3548 Wed Oct 9 17:22:57 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3550 * Added silc_attribute_payload_encode_data to directly encode
3551 the data into the attributes buffer. Renamed function
3552 silc_attribute_payload_parse_list to silc_attribute_payload_parse.
3553 Affected files are lib/silccore/silcattrs.[ch].
3555 * silc_hash_table_find_foreach calls the foreach function now
3556 once even if the nothing was found with context set to NULL.
3557 Affected file lib/silcutil/silchashtable.[ch].
3559 * Remove the RESOLVING flag from client entry after received
3560 the Requested Attributes from the client. Fixed memory leak
3561 in client entry freeing. Affected files silcd/server_query.c
3564 * Added Requested Attributes support into SILC Client Library.
3565 It is not able to send requested attributes in WHOIS command,
3566 and also receive and process requested attributes. Added
3567 silc_client_attribute_[add|del] and silc_client_attributes_get
3568 functions. Added also `ignore_requested_attributes' to the
3569 SilcClientParams to not use attributes in client. Affected
3570 files are lib/silcclient/command.c, client_attrs.[ch],
3571 silcclient.h, client_internal and client.[ch].
3573 * Changed the silc_client_get_client_by_id to support Requested
3574 Attributes, it takes them as argument now. Affected file
3575 is lib/silcclient/silcclient.h, and idlist.c.
3577 * Added -details option to WHOIS command in Irssi SILC Client
3578 to support the requested attributes. By default it requests
3579 all attributes. Affected file lib/silcclient/command.c and
3580 irssi/doc/help/in/whois.in.
3582 Tue Oct 8 17:58:28 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3584 * Add also SERVICE attribute for server-constructed attribute
3585 data. Also digitally sign the attributes and add
3586 SERVER_DIGITAL_SIGNATURE attribute. Affected file is
3587 silcd/server_query.c.
3589 Mon Oct 7 18:25:35 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3591 * Changed the silc_attribute_payload_encode to support list
3592 of attributes (function may be called several times to add
3593 a new attribute). Removed the silc_attribute_payload_encode_list
3594 function. The encoding function now also automatically encodes
3595 the data, so the caller does not need to do that. Affected
3596 files lib/silccore/silcattrs.[ch].
3598 * Added support for replying on behalf of the user to the
3599 Requested Attributes in WHOIS command in the server. Affected
3600 file silcd/server_query.c.
3602 * SILC_NOT_IMPLEMENTED macro use SILC_LOG_INFO now instead of
3603 SILC_LOG_DEBUG. Affected file lib/silcutil/silclog.h.
3605 Sun Oct 6 16:48:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3607 * Don't swtich to become primary router if we are backup if
3608 decryption error has occurred. Affected file silcd/server.c.
3610 * Fixed a bug in backup router IP address comparison in
3611 silc_server_backup_get.
3613 Save now also the port of the server/router and use that
3614 in comparison as well. Affected file silcd/server_backup.c.
3616 * Normal server now reconnects to backup router automatically
3617 if connection is lost to it. Affected file silcd/server.c.
3619 Thu Sep 26 13:51:02 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3621 * If packet processing fails (like integrity check fails)
3622 the connection is closed now. Affected files are
3623 lib/silccore/silcpacket.c and silcd/server.c.
3625 Mon Sep 23 10:59:39 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3627 * Fixed double free in RSA public key set function
3628 silc_rsa_set_public_key. Affected file lib/silccrypt/rsa.c.
3631 Sun Sep 22 14:54:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3633 * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server.
3634 Added server_query.[ch] which provides one interface for
3635 querying information using all three commands.
3637 * Changed all "typedef unsigned char" in core library to
3638 "typedef SilcUInt8".
3640 Sat Sep 21 21:36:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3642 * Added silc_strncat into lib/silcutil/silcstrutil.[ch].
3644 * Renamed silc_server_get_client_resolve to
3645 silc_server_query_resolve and moved to server_query.[ch].
3647 Wed Sep 18 18:28:04 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3649 * Resumed client packet handling from server put the resumed
3650 client on wrong list on router and caused the client not
3651 be present on the network anymore. Now fixed to put the
3652 client to correct list. Affected file silcd/packet_receive.c.
3654 Wed Sep 18 15:13:48 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3656 * Various cleanup in error message output in config parsing code
3657 and in server init code. Fixed error log files containing
3658 too many newlines ('\n') in some situations. Affected files are
3659 silcd/serverconfig.c, silcd/silcd.c, and silcd/server.c.
3661 Wed Sep 18 10:51:23 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3663 * Use the reverse lookupped hostname in client internals
3664 instead of one user provided us as remote server name.
3665 Affected file lib/silcclient/client.c.
3667 Mon Sep 16 12:02:54 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3669 * Added 'app_context' to silc_schedule_init. It is an
3670 application specific context that is delivered to application
3671 in task callback functions. Affected files are
3672 lib/silcutil/silcutil.[ch].
3674 * The hb_context in SilcSocketConnection is not freed
3675 automatically anymore (application must free it). Freeing
3676 it automatic is inconsistent. Affected files are
3677 lib/silcutil/silcsockconn.[ch].
3679 Sun Sep 15 22:16:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3681 * Added support for removing explicitly added client connections
3682 in rehash and closing the client connections if they were
3683 unconfigured in the rehash. Affected file silcd/server.c.
3685 * Added support for aborting automatically pending commands
3686 that never receives the reply (to avoid memory leaks).
3687 Added also silc_server_command_pending_timed to set the
3688 specific timeout for pending command. Affected files are
3689 silcd/command[_reply].[ch].
3691 * Added SILC_STATUS_ERR_TIMEDOUT status. Updated protocol
3692 specs and lib/silccore/silcstatus.h.
3694 Sun Sep 15 12:25:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3696 * Changed the silc_get_time to accept time value as argument
3697 or if zero is sent return current local time. Affected
3698 file lib/silcutil/silcutil.[ch].
3700 * Added STATS command to client library and Irssi SILC client.
3701 Patch provided by Ville Räsänen <ville.rasanen@iki.fi>.
3703 Wed Sep 11 09:22:00 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3705 * Assure that channel key is set before sending it. May
3706 crash server otherwise. Affected file silcd/packet_send.c.
3708 Tue Sep 10 09:50:08 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3710 * Assure that endless loop cannot happen with detached client
3711 resolving on normal server. Added idlist status
3712 SILC_IDLIST_STATUS_RESUME_RES. Affected files are
3713 silcd/idlist.h and silcd/packet_receive.c.
3715 Mon Sep 9 12:18:18 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3717 * Incoming file transfer request cannot use same session as
3718 the sending session. This can happen when sending file to
3719 yourself. Crashed the client on quit. Affected file
3720 lib/silcclient/client_ftp.c. Bug #24.
3722 Sun Sep 8 18:39:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3724 * Implemented the draft-riikonen-precense-attrs draft and
3725 the Attribute Payload into the lib/silccore/silcattrs.[ch].
3727 Sun Sep 8 13:13:44 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3729 * Distribute the SERVER_SIGNOFF notify also to local backup
3730 routers from the primary router. The backup router may not
3731 have the signing of local server directly connected and need
3732 to know about the signoff. Affected file silcd/server_util.c.
3734 * Use the primary router as the origin of the locally connected
3735 server when it is disconnecting from the backup router since
3736 that's where it really is coming from. Now the clients from
3737 the disconnecting server are removed correctly and "shadow"
3738 clients are not left to the backup router. Affected file
3741 Sat Sep 7 22:26:50 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3743 * If normal server is standalone and found existing but disabled
3744 channel, do not re-create the channel since it creates
3745 duplicate same channels. Affected file silcd/server.c.
3747 * Added anonymous client connections support to server. New
3748 "anonymous" configuration option to ConnectionParams section
3749 added. If set to true, the username and hostname information
3750 of the client will be scrambled and anonymous user mode is
3751 set automatically to the user. Affected files are
3752 silcd/serverconfig.[ch], silcd/packet_receive.c and server.c.
3754 Sat Sep 7 16:02:09 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3756 * In JOIN notify handling, mark that the cache entry of the
3757 client cannot be expired. Can cause crashes on normal
3758 server (asserts client->channels). Affected file is
3759 silcd/packet_receive.c.
3761 * From now on distribution versions are used as protocol versions
3762 instead of by default using the Toolkit base version as protocol
3763 version. Affected file prepare.
3765 * Do not set the locally resolved hostname for local client
3766 entry but take what server sends. This way the real hostname
3767 is showed in WHOIS for yourself. Affected file is
3768 lib/silcclient/idlist.c and lib/silcclient/client.c.
3770 * Resolve local info with IDENTIFY when connecting to server.y
3772 Sat Sep 7 14:22:43 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3774 * Rewritten check for POSIX threads. Use --with-pthreads[=DIR]
3775 for implied search (not needed on platforms which has native
3776 pthreads library). Use --without-pthreads to disable threads.
3777 Affected file is configure.in.pre
3779 * Fixed --with-iconv on platforms which need to bypass (broken)
3780 native iconv(). Affected file is configure.in.pre
3782 Sat Sep 7 15:08:13 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3784 * Moved -C option parsing in Irssi SILC client at same time
3785 as other options. The UI was initialized earlier and caused
3786 problems on command line. Bug #16. Affected file is
3787 irssi/src/silc/core/silc-core.c.
3789 Mon Sep 2 23:00:30 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3791 * Added global variable silc_log_timestamp that tells silclog
3792 wether to print or not the timestamp in the logging files.
3793 Affected file lib/silcutil/silclog.[ch].
3795 * Added silcd configuration option Timestamp in the Logging
3796 section. Affected file silcd/serverconfig.[ch],
3797 doc/example_silcd.conf.in.
3799 Fri Aug 30 08:57:33 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3801 * Fixed fingerprint checking to check for entirely empty
3802 fingerprint instead of two first bytes when determining
3803 if it is set. Bug #18. Affected file silcd/command.c.
3805 * Fixed duplicate PKCS name registering to not allow it.
3806 Bugs #17. Affected file lib/silccrypt/silcpkcs.c.
3808 Sun Aug 25 08:02:04 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3810 * Conditionalize non-gcc compiler optimizations for various
3811 platforms, enable those commented out. Cleanups.
3812 Affected file lib/silcmath/mpi/configure.in
3814 Sat Aug 24 15:11:32 EEST 2002 Timo Sirainen <tss@iki.fi>
3816 * silc_rng_exec_command() left zombie processes if command
3817 didn't generate any output. Affected file
3818 lib/silccrypt/silcrng.c
3820 Fri Aug 23 22:05:44 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3822 * Rewrote iconv checking, introduce --with-iconv for systems
3823 which rely on libiconv. Check if iconv() provided by libc
3824 is good enough, otherwise demand libiconv. Affected file
3827 Fri Aug 23 07:10:52 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3829 * Search for ldopen() also in libc. This enables SIM support
3830 on *BSD systems. Based on patch from Alex Zepeda. Affected
3831 file configure.in.pre
3833 Sun Aug 18 04:44:30 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3835 * Don't call AM_CONDITIONAL conditonally for SILC_THREADS.
3836 This fixes prepare on *BSD systems. Affected file
3839 Sun Aug 4 15:55:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3841 * More fixed for not having purge timeout for global clients
3842 that are on channel. Affected files silcd/command_reply.c
3845 * Fixed the rekey protocol to work with backup router connections.
3846 Rekey packets are now allowed on disabled connections as
3847 well. Affected files silcd/packet_send.c and server.c.
3849 * Do not switch to be as backup router when shutting down and
3850 closing the primary connection. Affected file silcd/server.c.
3852 * Fixed memory leaks in backup router deleting. Added
3853 silc_server_backup_free to free all data during shutdown of
3854 server. Affected files silcd/server_backup.[ch].
3856 Sun Jul 14 21:33:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3858 * Do not process commands if the sock->user_data is NULL.
3859 Affected file silcd/command.c.
3861 Tue Jul 9 19:03:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3863 * Fixed buffer overflow and security problems (loosing bits
3864 in CFB encryption) in SILC RNG. Problems reported by
3865 Markku-Juhani O. Saarinen <mjos@saturn.tcs.hut.fi>.
3867 Sun Jul 7 13:10:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3869 * Added yet more checks that client is not expired on global
3870 list if it is on channels. Affected file is
3871 silcd/command_reply.c.
3873 Sat Jul 6 11:45:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3875 * Merged c0ffee's MIME signal patch which adds support for
3876 sending also MIME messages in Irssi SILC Client, and handling
3877 received MIME messages in a signal (and perhaps doing something
3878 to non-textual MIME messages).
3880 Sun Jun 30 01:30:22 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3882 * Fixed pending command deletion in server and client library
3883 to check the whole list instead of breaking after first found.
3884 The affected files are silcd/command.[ch] and
3885 lib/silcclient/command.[ch].
3887 Sat Jun 29 17:40:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3889 * Return NO_SUCH_CHANNEL error in USERS for channel that is
3890 secret or private, otherwise it's possible to find out
3891 whether a secret channel exists or not. Affected file
3894 * If CMODE change fails during the mode setting, assure that
3895 the old mode mask is set for the channel back. Affected
3896 file silcd/command.c.
3898 * Fixed passphrase saving on +a channel on normal server
3899 after successful JOIN command. Affected file silcd/command.c.
3901 Fri Jun 28 11:53:25 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3903 * Remove server/router operator privileges in DETACH command,
3904 since it's possible to resume to server where these
3905 privileges would not be allowed for the client. Affected
3906 file silcd/command.c.
3908 * Do not set to wait for backup in rehash of the server.
3909 Affected file silcd/server.c.
3911 * Do not check listener sockets when counting how many
3912 socket connections we have. Affected file is
3913 silcd/server_util.c.
3915 * Do not announce disconnected clients that are remaining
3916 in history (for WHOWAS). This is because SIGNOFF notify
3917 for these has been sent earlier already. Affected file
3920 Thu Jun 27 20:07:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3922 * Buffer overflow with CUMODE command's mode->mode character
3923 conversion. Reported by Ville Räsänen. Affected file
3924 lib/silcutil/silcutil.c.
3926 Thu Jun 27 16:54:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3928 * Allow heartbeat packets to go disabled connections anyway.
3929 Affected files silcd/server.c and silcd/packet_send.c.
3931 * Do not broadcast New Channel packets with List flag set
3932 in the packet to backup routers. The router must check
3933 for the correctness of the packets before sending them.
3934 It is possible that router will have enforce Channel ID
3935 change and this would cause desync in the backup router.
3936 Affected file silcd/packet_receive.c.
3938 * Remove SILC_PACKET_FLAG_LIST from the temp packets that
3939 are handled in list parsing. They are not list packets
3940 anymore. Affected file silcd/packet_receive.c.
3942 Thu Jun 27 11:27:07 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3944 * Stop waiting for backup router through the timeout, not
3945 directly after backup router has arrived. Affected file
3948 * Do not re-create channel keys and send them when removing
3949 clients in server shutdown. Affected files are
3950 silcd/server_internal.h and silcd/server_util.c.
3952 * Notify distribution to backup routers was missing from
3953 the silc_server_send_notify_dest function which caused
3954 desyncing problems with backup router. Affected file is
3955 silcd/packet_send.c.
3957 * The client's channel removing was working wrong on
3958 backup router. It assumed that it doesn't know global
3959 information but backup router does know. For this reason
3960 it could remove channel when it wasn't supposed to do that.
3961 Affected file silcd/server.c and silcd/server_util.c.
3963 Wed Jun 26 15:14:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3965 * Stop for a couple seconds after badkup router has become
3966 primary router. Affected file silcd/server.c.
3968 * Added silc_server_remove_servers_by_server, which is used
3969 to remove servers originated from some other server. Also
3970 clients of those servers can be removed too. Affected file
3971 silcd/server_util.[ch].
3973 * When removing clients after a server has signed of remove
3974 also all servers behind that server (unless they are known
3975 to be available locally), and send SERVER_SIGNOFF for each
3976 of the server separately. Also the signed off clients are
3977 sent now separately per signed off server. The affected files
3978 are silcd/server.c and silcd/server_util.[ch].
3980 * All servers added with silc_idlist_add_server must always
3981 have both "router" and "connection" pointers set. Otherwise,
3982 bad server entries may be left around in the cache.
3983 Affected file silcd/command_reply.c.
3985 * Do not create the channel key in NEW_CHANNEL packet
3986 processing if the channel is empty. Affected file
3987 silcd/packet_receive.c.
3989 * Completed backup router support for standalone routers.
3990 Supports also servers in the cell that do not use the backup
3993 Wed Jun 26 10:38:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3995 * Fixed a bug in silc_string_regexify which did not add '^'
3996 at the start of each string, and thus the matching was
3997 not explicit. For example ban list iikone@*!*@* would
3998 match also "priikone", which is wrong, it would have to be
3999 *iikone@*!*@* to match also "priikone". Affected
4000 file lib/silcutil/unix/silcunixutil.c.
4002 Tue Jun 25 18:47:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4004 * Enable all local server connections before updating client
4005 caches when we've become backup router. Otherwise, signoff
4006 packets may not reach the clients. Affected files are
4007 silcd/server.c and silcd/server_util.[ch].
4009 * Fixed a bug in version string parsing which could crash
4010 the program with specially formatted version string.
4011 Bug reported and patch provided by Ville Räsänen. Affected
4012 file lib/silcutil/silcutil.c.
4014 * Handle the disconnection immediately when DISCONNECT
4015 packet is received in server. Affected file silcd/server.c.
4017 * Primary router now waits a short time (10 seconds) for
4018 backup router connection before accepting any other
4019 connection (except local). Affected file silcd/server.c,
4022 * Fixed a crash in client libary in NICK_CHANGE notify when
4023 NICK_CHANGE arrived for client entry we are resolving
4024 currently. Affected file lib/silcclient/client_notify.c.
4026 * Call the sconn->callback completion even if error had
4027 occurred. Start reconnecting always if connection to
4028 primary router fails during backup router protocol.
4029 Affected files silcd/server.c and server_backup.c.
4031 Mon Jun 24 17:47:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4033 * Added functions silc_server_send_opers and
4034 silc_server_send_opers_notify to send packets stricly
4035 to operators. Added macro SILC_SERVER_SEND_OPERS macro
4036 to send variable argument notify to operators.
4037 Affected files silcd/packet_send.[ch] and silcd/server.h.
4039 * Removed UMODE rights checking with UMODE_CHANGE notify.
4040 Affected file silcd/packet_receive.c.
4042 * Server/router operator now receives notify when network
4043 switches to backup router and when it resumes the use of
4044 primary router. Affected file silcd/server.c and
4045 silcd/server_backup.c.
4047 * Fixed the updating of client information after backup
4048 resuming protocol is over; update all except local clients
4049 to the new primary router. The affected file is
4050 silcd/server_util.c.
4052 * Added support for closing active connections in rehash
4053 that were unconfigured by the user. Supports currently
4054 closing server and router connections. Affected file
4057 * Rewrote some SILC_LOG_DEBUG's in silcd/server_backup.c.
4059 Sun Jun 23 17:32:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4061 * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer
4062 is NULL since seems that on some platforms NULL is allowed
4063 and on some it's not. Fallback encoding is used instead.
4064 Affected file lib/silcutil/silcstrutil.c.
4066 * Fixed statistics updating for incoming server connection
4067 which could cause problems when re-connecting. Affected
4068 file silcd/server.c.
4070 * Preliminary backup router support for standalone router
4071 added. Affected files in silcd/.
4073 * Mark server connections in backup router disabled before
4074 and after backup protocol. Affected file is
4075 silcd/server_backup.c.
4077 * Added support for reconnecting to remote server connection
4078 even if the protocol fails, and if the configuration wants
4079 us to keep trying to connect anyway.
4081 Server connection is not allowed to backup router if
4082 backup router does not have connection to primary router yet.
4084 Affected file is silcd/server.c.
4086 Sat Jun 22 21:34:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4088 * Added silc_client_udpate_server function to update changed
4089 server info. Affected file lib/silcclient/idlist.[ch].
4091 * Added check for server entries that are being resolved when
4092 notify is received. If being resolved, handle the received
4093 notify only after it's resolved so that all notifys are
4094 handled in same order as received from the server.
4096 Added similar resolver check to channel entries. Every
4097 notify that cause resolving of any information that affects
4098 channel entry marks the channel entry in waiting state.
4099 After whatever resolving is over the waiters are signalled
4100 and only then the notifys are handled in the same order
4101 as delivered from the server.
4103 Affected files are lib/silcclient/idlist.[ch], and
4106 * Fixed KILLED notify handling in normal server. Affected
4107 file silcd/packet_receive.c.
4109 * Added SILC_IDLIST_STATUS_LOCAL which indicates that entry
4110 is locally connected, or was locally connected (but may
4111 be detached and connection is not active). Added also
4112 SILC_IS_LOCAL for checking this status. Affected files
4113 silcd/idlist.h, silcd/packet_receive.c, silcd/server_util.c,
4114 silcd/server.c and silcd/server_internal.h.
4116 Sat Jun 22 17:06:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4118 * Don't send or handle TOPIC_SET if topic is already set and
4119 is same as being set. Affected files silcd/command.c and
4120 silcd/packet_receive.c.
4122 * Fixed CMODE change rights checking to work correctly when
4123 removing modes by operator. Affected file is
4124 silcd/server_util.c.
4126 * Fixed some handling with New Channel packet in router and
4127 fixed some CMODE_CHANGE notify handling in server and router.
4128 Affected file is silcd/packet_receive.c.
4130 * Changed "disconnect" client operation to include the
4131 reason of the disconnection and optional disconnection
4132 message. Affected file lib/silcclient/silcclient.h.
4134 * Made the compilation of lib/contrib/ stuff conditional.
4135 Affected files configure.in.pre, lib/contrib/Makefile.am.
4137 Sat Jun 22 12:49:21 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4139 * All CMODE_CHANGE and CUMODE_CHANGE notifys are now sent back
4140 to the sender of the notify too, to avoid situation where two
4141 notifys are in the network at the same time going to oppsite
4142 directions. Affected file silcd/packet_receice.c.
4144 Fri Jun 21 10:00:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4146 * Delete the client from channel even if the cilent->id is
4147 NULL. It was possible that client was deleted without
4148 removing from channels (theoretically at least). Affected
4149 file silcd/server.c and silcd/server_util.c.
4151 * Free the client data too when resuming is not successful.
4152 Affected file silcd/packet_receive.c.
4154 * Merged some code from c0ffee's silc-plugin. Affected files
4155 irssi/src/silc/core/silc-channels.c and silc-expandos.c.
4157 * Added SILC_PRIMARY_ROUTE and SILC_BROADXAST macros to
4158 silcd/server_internal.h. SILC_PRIMARY_ROUTE Returns pointer
4159 to the primary router connection, the other one returns
4160 TRUE if packet must be broadcasted to network.
4162 * All notifys that are destined to primary router (to network)
4163 are now automatically sent to backup routers even if the
4164 router is standalone (and has backup router). Affected files
4167 * Added --without-irssi and --without-silcd configuration
4168 options for disabling the compilation of these applications.
4169 Affected file configure.in.pre and prepare.
4171 Thu Jun 20 13:48:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4173 * Implemented SILC_STRING_BMP and SILC_STRING_UNIVERSAL for
4174 UTF-8 encoding and decoding. Added also new encodings
4175 SILC_STRING_BMP_LSB and SILC_STRING_UNIVERSAL_LSB.
4177 Added also SILC_STRING_LANGUAGE which is language and charset
4178 specific encoder and decoer for those platforms that support
4179 iconv(). It can convert the UTF-8 to and from the locale
4180 specific character set.
4182 Affected file lib/silcutil/silcstrutil.[ch].
4184 * Added macro SILC_NOT_IMPLEMENTED to lib/silcutil/silclog.h.
4186 * Added function silc_get_command_name to the file
4187 lib/silcutil/silcutil.[ch].
4189 * Improved the server debug output a bit. Affected files are
4192 Wed Jun 19 17:46:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4194 * Save the channel passphrase when received succesful JOIN
4195 command reply from router, on normal server. Otherwise
4196 joinig +a channels from normal server is not possible.
4197 Affected file silcd/command.c.
4199 * Fixed a bug in TOPIC_SET notify handling. The notifier
4200 may be other than client too, like server or channel.
4201 It expected it to always be only client and ignored the
4202 notify. Affected file silcd/packet_recieve.c.
4204 * Removed some (unnecessary) debug printing from
4205 lib/silccore/silcid.c and lib/silccore/silcargument.c.
4207 * Do not force CMODE_CHANGE when server is announcing new
4210 Router announces stuff only after server reannounces channel
4211 after CHANNEL_CHANGE notify.
4213 These fixes optimizes the announcing procedure, and perhaps
4214 fixes some problems too. Affected file silcd/packet_receive.c.
4216 * Fixed SERVER_SIGNOFF sending to local clients. It was
4217 totally broken and sent the notify to all local clients,
4218 instead of only to those that was on same channel as the
4219 signing off clients. Affected file silcd/server_util.c.
4221 * Added -D option to server. It can be used to give debug
4222 level. The levels are from 0 - 99, and are predefined for
4223 smooth server debugging. (see silcd.c for the predefined
4224 levels). Affected file silcd/server.c.
4226 Wed Jun 19 16:01:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4228 * Fixed a bug in Irssi SILC client to close the connection
4229 properly when disconnecting from server. Affected file
4230 irssi/src/silc/core/client_ops.c.
4232 Tue Jun 18 17:14:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4234 * When authenticating as founder during JOIN command, check
4235 that the one authenticating becomes the only founder on the
4236 channel. Affected file silcd/command.c.
4238 * Better checking for founder mode setting when CUMODE_CHANGE
4239 notify is received. Affected file silcd/packet_receive.c.
4241 * Close all connections when shutting down the server by sending
4242 DISCONNECT packet. Close all listeners too when shutting
4243 down the server. Affected file silcd/server.c.
4245 * Handle DISCONNECT packet correctly in client library by
4246 calling the "disconnect" client operation. Affected file
4247 lib/silcclient/client.c.
4249 * Handle local errors correctly during resuming. Affected
4250 file lib/silcclient/client.c.
4252 Tue Jun 18 10:26:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4254 * The log file is not dupped internally anymore in
4255 lib/silcutil/silclog.c. Fixed memory leaks too.
4257 * The scheduler now dispatches all pending timeout tasks
4258 when it is uninitialized with silc_schedule_uninit.
4259 Affected file lib/silcutil/silcschedule.c.
4261 Mon Jun 17 21:30:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4263 * Added --enable-stack-trace option to configure. Added
4264 memory allocation stack trace support. Added files
4265 lib/silcutil/stacktrace.[ch]. Affected files are
4266 lib/silcutil/silcmemory.[ch].
4268 * Fixed memory leaks from libraries and server. Affected
4269 files around the tree.
4271 * Reverted back a fix made to CUMODE which broke it.
4272 Affected file silcd/command.c.
4274 Sun Jun 16 11:49:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4276 * Added SILC_MESSAGE_FLAG_UTF8 to the protocol specs and the
4277 core library, and implemented it. All textual messages SHOULD
4278 use this flag and the message MUST be UTF-8 encoded.
4279 All text messages sent by Irssi SILC client are now UTF-8
4280 encoded (regardless whether the terminal supports UTF-8 or not).
4281 Affected files are lib/silccore/silcchannel.h,
4282 irssi/src/silc/core/silc-servers.c, silc-channels.c and
4285 Sat Jun 15 18:23:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4287 * Added lots of new statistics updating that was missing from
4288 the server and router code. Affected files in silcd/.
4290 * Sending SIGUSR1 signal to server now dumps the current
4291 server statistics into /tmp directory. Affected file is
4294 * ROBODoc documented the lib/silccrypt/silchash.h. Improved
4295 the SILC Hash Interface also. Added new functions
4296 silc_hash_get_name, silc_hash_init, silc_hash_update and
4297 silc_hash_final. Affected file lib/silccrypt/silchash.c.
4299 Sat Jun 15 12:09:14 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4301 * Added some better info printing for client during connecting.
4302 Affected file silcd/server_util.c.
4304 * Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
4305 to silence a user on a channel. Affected files are
4306 lib/silcclient/client_channel.c, irssi/src/silc/core/client_ops.c,
4307 irssi/src/fe-common/silc/module-formats.[ch], silcd/command.c
4308 and silcd/packet_receive.c.
4310 * Fixed a fatal bug in handling of malformed command payload.
4311 Affected file silcd/command.c.
4313 * Fixed a double free when announcing channel users to router.
4314 Affected file silcd/server.c.
4316 * After successful authentication to channel founder mode, check
4317 that there isn't anyone else with founder mode on the channel.
4318 The one that authenticated will become founder and anyone
4319 else is demoted. Affected file silcd/command.c.
4321 * Added error printing of any error that has occurred during
4322 any command in client library. Affected file is
4323 irssi/src/silc/core/client_ops.c.
4325 * Removed some error printing from the client library and left
4326 it for the application to worry (from the error status it
4327 receives in 'command' client operation. Affected file is
4328 lib/silcclient/command.c.
4330 Fri Jun 14 22:59:02 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4332 * Added new status types KEY_AGREEMENT_ALREADY_STARTED and
4333 KEY_AGREEMENT_SELF_DENIED to lib/silcclient/silcclient.h.
4334 Starting key agreement with itself is denied. Affected file
4335 is lib/silcclient/client_keyagr.c.
4337 * Fixed some error checkings from the SFTP library which caused
4338 misbehaviour. Affected files are lib/silcsftp/sftp_client.c
4339 and lib/silcsftp/sftp_util.c.
4341 * Added new "debug" and "debug_string" settings to Irssi SILC
4342 client which can be used to print runtime debugging on the
4343 Irssi's screen. Available when compiled with --enable-debug
4344 option. Affected file irssi/src/silc/core/silc-core.c.
4346 Tue Jun 11 16:36:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4348 * Fixed a missing variadic parameter in a function call that
4349 caused server crash when a non-allowed connection arrived.
4350 Reported by Richard Becker. Affected file silcd/server.c.
4352 Mon Jun 10 16:29:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4354 * Added WATCH list sending to backup routers from router.
4355 The WATCH command is sent by the router to the backup
4356 router. Affected file silcd/command.c.
4358 * Mark the backup_router flag for RouterConnection entry
4359 if the backup router stuff is defined in the config file.
4360 Affected file silcd/serverconfig.c.
4362 * Fixed some backup data sending around the code to work better
4363 if the router is standalone router. Not all places were fixed.
4364 Affected file silcd/packet_receive.c, silcd/packet_send.c,
4367 * Fixed the router connecting when connecting to multiple
4368 routers. It ignored every other router except the first
4369 one. Affected file silcd/server.c.
4371 Mon Jun 10 09:28:21 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4373 * Made the private key generation after expiration optional.
4374 If not created after expiration the old key will re-expire
4375 at a later time (and thus key pair is not necessary to
4376 change). Affected file irssi/src/silc/core/clientutil.c.
4378 Sun Jun 9 18:58:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4380 * The length arguments in bind() and connect() were wrong
4381 and fixed now to used SIZEOF_SOCKADDR in the
4382 lib/silcutil/unix/silcunixutil.c.
4384 Tue Jun 4 18:36:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4386 * Fixed detach timeout handling to use Client ID and not
4387 the actual client entry which may be freed in the callback.
4388 Affected file silcd/command.c.
4390 Thu May 30 15:53:45 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4392 * Merged c0ffee's multiple interface support patch.
4393 Affected files in silcd/.
4395 Wed May 29 18:08:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4397 * Cleanup keys properly. Affected file is
4398 irssi/src/silc/core/clientutil.c.
4400 Tue May 28 20:11:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4402 * Display the user mode on the status bar. Affected file
4403 irssi/src/silc/core/silc-expandos.c.
4405 Tue May 28 13:56:26 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4407 * If private message key is not set, but the flag is set in
4408 the packet, ignore the packet since it cannot be decrypted.
4409 Affected file lib/silcclient/client_prvmsg.c.
4411 Thu May 23 12:00:14 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4413 * When resuming client, remove the old client entry from
4414 the watcher list too. Affected file silcd/packet_receive.c.
4416 * Do not allow normal server to force founder mode away
4417 from router if the founder mode is already set. Affected
4418 file silcd/packet_receive.c.
4420 * Remove the client entry with watch notify types with short
4421 timeout, and not directly, so that other notifys can be
4422 retrieved too. Affected file lib/silcclient/client_notify.c.
4424 * Display notification about data messages that cannot be
4425 displayed. Affected files irssi/src/silc/core/client_ops.c,
4426 irssi/src/fe-common/silc/module-formats.[ch].
4428 Sun May 19 18:59:00 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4430 * Fixed the CHANNEL_CHANGE notify handling in client libary
4431 to not use freed memory. Affected file is
4432 lib/silcclient/client_notify.c.
4434 * Fixed CUMODE_CHANGE notify handling in server. Affected
4435 file silcd/packet_receive.c.
4437 * Fixed USERS command to support empty channels. Affected
4438 file silcd/command.c.
4440 Sat May 18 11:35:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4442 * Allow multiple identical pending commands to be registered
4443 in client library. Affected file is lib/silcclient/command.c.
4445 * Call the completion for resolving client information only
4446 after all resolvers has finished. This fixes a crash in
4447 the client. Added support for checking when the resolvers
4448 are finished. Affected file is lib/silcclient/idlist.c.
4450 * Wait by default 3 seconds before reconnecting to the server
4451 after being disconnected. Makes the /detach command a bit
4454 Fri May 17 17:23:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4456 * Check the watcher list before sending signoff notifys
4457 when closing client connection. Affected file is
4460 * Added better CMODE command rights checking. Affected file
4461 silcd/server_util.c.
4463 Fri May 17 08:33:41 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4465 * Fixed watcher list checking during server signoff. It
4466 crashed the server. Affected file silcd/server_util.c.
4468 * The JOIN command reply returns now the founder's public
4469 key. Affected file is silcd/command.c.
4471 * Announce the channel mode, and the mode properties with
4472 CMODE_CHANGE notify. Affected file silcd/server.c.
4474 * Mark new channels by default disabled, untill at least
4475 one user joins the channel. Affected file is
4476 silcd/packet_receive.c.
4478 Thu May 16 13:05:13 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4480 * The nickname argument to watch notify can be optional.
4481 Fixes a crash in server. Affected file silcd/packet_send.c.
4483 * Remove the client entry from cache if the WATCH notify type
4484 is KILLED, SERVER_SIGNOFF or SIGNOFF. Affected file is
4485 lib/silcclient/client_notify.c.
4487 * Check the watcher list before and after changing nickname
4488 when the NICK_CHANGE notify is received. Affected file is
4491 * Fixed a crash in OPER and SILCOPER command sending. Empty
4492 passphrase caused the crash. Affected file is
4493 lib/silcclient/command.c.
4495 Wed May 15 19:01:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4497 * Merged with Irssi CVS for Irssi SILC client.
4499 Tue May 14 19:37:48 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4501 * Completed the protocol specifications.
4503 Tue May 7 20:41:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4505 * Merged with Irssi CVS for Irssi SILC client.
4507 Tue May 7 11:07:16 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4509 * Added the founder's public key delivery to the
4510 CUMODE_CHANGE notify type as well. Updated the protocol
4511 specs and the code. Affected files are silcd/packet_send.[ch],
4512 silcd/packet_receive.c and silcd/command.c.
4514 Mon May 6 19:46:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4516 * Added silc_pkcs_public_key_copy function into the
4517 lib/silccrypt/silcpkcs.[ch].
4519 * Remove the `iv' from the SilcChannelEntry since we can
4520 live without it. Affected files are silcd/idlist.h and
4521 silcd/packet_receive.c.
4523 * Added support for sending the founder's public key in
4524 the CMODE_CHANGE notify packet in the server. Affected
4525 files are silcd/packet_send.[ch], silcd/packet_receive.c,
4526 silcd/command.c and silcd/server.c.
4528 * Changed the FOUNDER_AUTH authentication to use only
4529 public key authentication as defined by new protocol
4530 specs. Passphrase authentication with that mode cannot
4531 be used anymore. It is now possible to reclaim founder
4532 mode from any server in the network. Affected files are
4533 silcd/command.c, silcd/idlist.h and silcd/command_reply.c.
4535 * Added permanent channels support by making the channel
4536 permanent when FOUNDER_AUTH mode is set on the channel.
4537 The channel will not be destroyed even if channel is empty
4538 when that mode is set. Protocol TODO #17. Affected
4539 files are silcd/server.[ch], server_util.[ch],
4540 silcd/command.c, silcd/packet_receive.c and
4541 lib/silcclient/command.c.
4543 Fri May 3 18:36:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4545 * Added reference counter to the command reply context in
4546 the client library. Affected files are
4547 lib/silcclient/command_reply.[ch].
4549 Fri May 3 11:37:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4551 * Fixed rekey protocol with PFS in the client library.
4552 Affected file is lib/silcclient/protocol.c.
4554 * Added support for list of errors in client library
4555 command reply handling. Affected file is
4556 lib/silcclient/command_reply.c.
4558 * Defined that the WHOIS and IDENTIFY commands can send
4559 list of errors. Updated the protocol specs. Protocol
4562 * Added support for sending list of errors to WHOIS and
4563 IDENTIFY commands in server. Added support for receiving
4564 list of errors in server. Affected files are
4565 silcd/command.c and silcd/command_reply.c.
4567 * Fixed client info resolving on LEAVE command in client
4568 library to not crash. Affected file is
4569 lib/silcclient/client_notify.c.
4571 Thu May 2 08:45:11 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4573 * Defined that the NICK command replies with thew changed
4574 nickname too, to make the nickname changing simpler at
4575 the client's end. Updated protocol specs and the code
4576 in client and server. Affected files are
4577 silcd/command.c, lib/silcclient/command_reply.c and
4578 lib/silcclient/command.c.
4580 Mon Apr 29 20:10:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4582 * Added `Compressed' packet flag to indicate that the packet
4583 payload is compressed by the sender. Updated the protocol
4584 specs and the core library. The compression still is not
4585 implemented in the sources. Affected file is
4586 lib/silccore/silcpacket.h.
4588 Mon Apr 29 09:48:12 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4590 * Remove pending command callbacks also if the connection
4591 to the server is destroyed. Affected file is
4592 lib/silcclient/client.c.
4594 Sat Apr 27 19:52:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4596 * Added new QUIET channel user mode that can be used to
4597 quiet a user in a channel. Updated the protocol specs but
4598 it wasn't implemented yet. Protocol TODO #27. Affected
4599 file is lib/silccore/silcmode.h.
4601 Mon Apr 22 09:09:44 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4603 * Added BLOCK_INVITE user mode to be able to block incoming
4604 invite notifications. Protoocol TODO #26. Affected files
4605 are lib/silccore/silcmode.h, lib/silcclient/command.c and
4608 * SILC Publickey fields MUST be UTF-8 encoded now. Updated
4609 the protocol specs and the code. Affected file is
4610 lib/silccrypt/silcpkcs.c.
4612 Sun Apr 21 19:44:38 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4614 * Disconnect Payload includes now the status type. Updated
4615 the protocol specs and the code. Protocol TODO #25.
4616 Affected files are silcd/server.c, lib/silcclient/client.c.
4618 * Added NOT_AUTHENTICATED, BAD_SERVER_ID, INCOMPLETE_INFORMATION,
4619 KEY_EXCHANGE_FAILED and BAD_VERSION error status types.
4620 Moved the silc_client_command_status_messages table to the
4621 lib/silcutil/silcutil.c and added new funtion
4622 silc_get_status_message, which deprecates function
4623 silc_client_status_message. Affected files are
4624 lib/silccore/silcstatus.h, lib/silcclient/command_reply.[ch],
4625 lib/silcutil/silcutil.[ch].
4627 Fri Apr 19 17:35:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4629 * Defined that the nickname hash in Client ID MUST be from
4630 lowercase nickname. This effectively changes nicknames in
4631 SILC to case-insensitive. Updated the protocol specs and
4632 the code. Affected files are lib/silcutil/silcutil.[ch],
4633 silcd/serverid.c, and silcd/idlist.c.
4635 * Added new channel user modes BLOCK_MESSAGES_USERS and
4636 BLOCK_MESSAGES_ROBOTS. Updated the protocol specs and the
4637 code. Affected files are lib/silccore/silcmode.h,
4638 lib/silcclient/command.c, and silcd/packet_send.c.
4640 * Added new error status ERR_RESOURCE_LIMIT. Updated protocol
4641 specs and code. Affected file lib/silccore/silcstatus.h.
4643 * Added support for watch list. It is possible to add nicknames
4644 to be watched, and when they come to network, leave network
4645 or user mode changes the watcher will be notified of this
4646 change. Added SILC_COMMAND_WATCH command, added new
4647 notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch
4648 notifications. Updated the protocol specs and implemented
4649 this to library, client and server. Protocol TODO #21.
4650 Affected files are lib/silccore/silccomand.h,
4651 lib/silccore/silcnotify.h, lib/silcclient/command[_reply].[ch],
4652 silcd/command[_reply].[ch], lib/silcclient/client_notify.c,
4653 silcd/packet_send.[ch], silcd/packet_receive.c, and
4654 irssi/src/silc/core/client_ops.c.
4656 * Added user mode SILC_UMODE_REJECT_WATCHING to reject
4657 somebody watching you. Updated the protocol specs and the
4658 code. Affected files are lib/silccore/silcmode.h, and
4659 lib/silcclient/command.c.
4661 Fri Apr 19 09:02:20 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4663 * Added service support to SILC protocol. Added new command
4664 SILC_COMMAND_SERVICE. Updated the protocol specs and the
4665 core library. Services are not implemented in server or
4666 client for now. Protocol TODO #20. Affected files are
4667 lib/silccore/silcstatus.h, lib/silccore/silccommand.h.
4669 * Added SilcStatus argument to `command' client operation
4670 to return the error status when command sending fails
4671 locally. Changed all command in client library to return
4672 correct command status. Affected files are
4673 lib/silcclient/command.c, lib/silcclient/silcclient.h and
4674 irssi/src/silc/core/client_ops.c.
4676 Thu Apr 18 14:09:51 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4678 * Added silc_mime_parse function to parse MIME headers.
4679 Affected files are lib/silcutil/silcstruti.[ch].
4681 * Added MIME header parsing in Irssi SILC Client. It displays
4682 all textual MIME objects, others it ignores. Affected file
4683 is irssi/src/silc/core/clien_ops.c.
4685 Wed Apr 17 22:07:59 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4687 * Fixed a bug in the pid writing function, which couldn't be
4688 written in a root-owned directory.
4690 Tue Apr 16 09:34:40 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4692 * Defined that channel message to unknown Channel ID must
4693 cause SILC_NOTIFY_TYPE_ERROR notify message to the sender.
4694 Updated the protocol specs and the code in server. The
4695 affected file is silcd/packet_receive.c.
4697 Mon Apr 15 19:57:57 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4699 * Added new notify type SILC_NOTIFY_TYPE_ERROR and specified
4700 that it is used to send error notifys if error occurs during
4701 some SILC packet processing, except commands. The error
4702 types are same as for command reply types. Defined that
4703 if private message is sent to unknown Client ID the error
4704 is sent in SILC_NOTIFY_TYPE_ERROR instead of command reply.
4705 Updated the protocol specs and code. Affected files are
4706 lib/silccore/silcnotify.h, added lib/silccore/silcstatus.h,
4707 lib/silcclient/client_notify.c, silcd/packet_receive.c,
4708 and irssi/src/silc/core/client_ops.c. Renamed the
4709 SilcCommandStatus to SilcStatus.
4711 * Defined the use of extra WHOIS attributes in WHOIS command.
4712 The <Requested Attributes> (defined in a separate document)
4713 can be used to request additional information about user
4714 not returned by standard WHOIS command. Defined that server
4715 can send WHOIS command directly to client. Client provides
4716 the requested attributes to the server. Updated the protocol
4717 specs. Protocol TODO #4. Implementation is not done yet
4718 (Protocol TODO #24).
4720 * Renamed function silc_client_command_status_message to
4721 silc_client_status_message. Affected files are
4722 lib/silcclient/command_reply.[ch].
4724 Sun Apr 14 21:13:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4726 * Changed the WHOIS, IDENTIFY and WHOWAS count arguments to
4727 32 bit integers. Updated the protcol specs and the code.
4728 Affected files are silcd/command.c and
4729 lib/silcclient/command.c.
4731 Sun Apr 14 19:49:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4733 * Fixed a bug in library where sending a bogus authentication
4734 payload would lead to a crash. Affected file is
4735 lib/silccore/silcauth.c.
4737 Sat Apr 13 13:09:24 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4739 * Added detach_disabled and detach_timeout server config
4740 options to the server. Affected files silcd/serverconfig.[ch],
4741 silcd/command.c and silcd/packet_receive.c.
4743 Fri Apr 12 20:09:08 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4745 * Added resolve_cmd_ident field to the SilcClientEntry structure
4746 too so that if the entry is for example being resolved so
4747 another command may attach to the same pending command reply
4748 without requiring to resolve the same entry again. Added
4749 support for adding multiple pending commands for one
4750 command idenfier. Affected files lib/silcclient/command.[ch],
4751 lib/silcclient/command_reply.[ch], lib/silcclient/idlist.h.
4753 Fri Apr 12 10:17:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4755 * Defined that server receives WHOIS command reply for private
4756 and secret channels too. Updated protocol specs and the
4757 code in server. Affected file silcd/command.c.
4759 * Defined <channel user mode list> argument to WHOIS command
4760 reply for returning user modes on the channels. The
4761 channel list now doesn't include the user mode anymore but the
4762 actual channel mode. Updated protocol specs and the code in
4763 client and server. Affected files are silcd/command_reply.c,
4764 silcd/command.c, silcd/server.c, irssi/src/silc/core/client_ops.c,
4765 and lib/silcclient/command_reply.c.
4767 * Save the channels list in WHOIS command reply in normal server
4768 so that WHOIS always shows joined channels also in normal
4769 server and not just on router. Affected file is
4770 silcd/command_reply.c.
4772 Thu Apr 11 22:29:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4774 * Defined that server receives USERS command reply for private
4775 and secret channels too. Updated protocol specs and the
4776 code in server. Affected file silcd/command.c.
4778 Thu Apr 11 16:32:08 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4780 * Changed the UMODE's mode mask argument to be optional. If
4781 not provided then the command merely returns the current mode
4782 mask to the client. Updated protocol specs and the server.
4783 Affected file is silcd/command.c.
4785 * Added SILC session detachment/resuming support. It is possible
4786 to detach by closing the network connection and then re-connect
4787 and resume to the old client session. Added DETACHED user
4788 mode that server will set for detached client. Added new
4789 packet RESUME_CLIENT which is used to perform the resuming
4790 process. Added DETACH command. Updated the protocol specs,
4791 core library, client and server. Protocol TODO #22. Very
4792 many affected files around the tree.
4794 Wed Apr 10 16:32:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4796 * Changed the CMODE's mode mask argument to be optional. If
4797 not provided then the command merely returns the current mode
4798 mask to the client. Updated protocol specs and the server.
4799 Affected file is silcd/command.c.
4801 * Changed the Killer's Client ID in KILLED notify to be just
4802 any ID payload since router server is allowed to kill as well.
4803 Updated protocol specs, client libary and server. Affected
4804 files are lib/silcclient/client_notify.c, silcd/packet_receive.c,
4805 and irssi/src/silc/core/client_ops.c.
4807 Tue Apr 9 17:15:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4809 * Added new user modes ANONYMOUS for special anonymous servers
4810 that may set the mode for client, and BLOCK_PRIVMSG which
4811 client may set to block incoming private messages unless the
4812 Private Message Key flag is set (using private keys to protect
4813 private messages). Updated protocol specs and code in client
4814 and server and core library. Protocol TODO #23. Affected
4815 files are lib/silccore/silcmode.h, silcd/server.[ch],
4816 irssi/src/silc/core/client_ops.c, silcd/packet_receive.c,
4817 irssi/docs/help/in/umode.in, lib/silcclient/command.c.
4819 * Added new channel user mode BLOCK_MESSAGES which the client
4820 may set to itself to tell server not send channel messages.
4821 Other packets such as channel key packets are still sent.
4822 Protocol TODO #23. Updated the protocol specs, client and
4823 server. Affected files are lib/silccore/silcmode.h,
4824 irssi/docs/help/in/cumode.in, lib/silcclient/command.c,
4825 lib/silcutil/silcutil.c, silcd/command.c, and
4826 silcd/packet_send.c.
4828 Mon Apr 8 23:57:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4830 * Redefined the Status Payload to include now two 8 bit fields,
4831 instead of one 16 bit field. This now makes it possible to
4832 send list of errors. Updated the protocol specs and the code
4833 in core library, client library and server. Protocol TODO #1.
4834 Affected files are lib/silccore/silccommand.[ch],
4835 lib/silcclient/command_reply.[ch], silcd/command.c,
4836 silcd/command_reply.c and silcd/packet_receive.[ch].
4838 Mon Apr 8 19:57:40 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4840 * Added config parse status SILC_CONFIG_EPRINTLINE, this status
4841 must be handled by the application and should tell the application
4842 that an error message was already printed, and it should print the
4843 config coords (line, filename, ...). Affected files are
4844 silcd/serverconfig.c, lib/silcutil/silcconfig.[ch].
4846 * Added local macro SILC_SERVER_CONFIG_ALLOCTMP to make the
4847 server config parsing code more readable.
4849 Fixed a bug in the fetch_logging() config callback.
4851 Affected files is silcd/serverconfig.c.
4853 * Drop root privileges when started in foreground. Don't drop them
4854 if debugging also. Affected file is silcd/silcd.c.
4856 Mon Apr 8 17:00:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4858 * Added more IM-like features by introducing new user modes
4859 for setting various presence information. Added new modes:
4860 INDISPOSED, BUSY, PAGE, HYPER and ROBOT. Updated protocol
4861 specs and code. Protocol TODO #19. Affected files are
4862 lib/silccore/silcmode.h, irssi/src/silc/core/client_ops.c,
4863 irssi/docs/help/in/umode.in and lib/silcclient/command.c.
4865 Sun Apr 7 17:07:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4867 * Added STATS command to the protocol after all, to return
4868 various statistical information about the network. It can
4869 be used by clients to retrieve statistical information, and
4870 servers may use it to to fetch cell and network wide
4871 statistics from router. Updated the protocol specs and
4872 implemented it to the server. Protocol TODO #16.
4873 Affected files are lib/silccore/silccommand, silcd/command.[ch],
4874 silcd/command_reply.[ch].
4876 Sat Apr 6 17:08:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4878 * The LIST command reply in client libary now adds new channel
4879 entry if the returned channel doesn't exist yet in cache,
4880 and returns the channel entry to the application in the
4881 command_reply client operation. Affected file is
4882 lib/silcclient/command_reply.c.
4884 * Changed the channel message payload's MAC generation to
4885 include the IV in the MAC as well. This way all relevant
4886 parts of the channel message payload are authenticated also
4887 with the channel message MAC (and not only by packet MAC).
4888 Causes incompatibility with 1.0 protocol. Protocol TODO #7.
4889 Affected file is lib/silccore/silcchannel.c.
4891 * Fixed the SKE to save the remote version, since the
4892 silc_ske_parse_version mistakenly checked wrong version,
4893 after it replaced the start payload. Affected files are
4894 lib/silcske/silcske.[ch].
4896 Fri Apr 5 16:03:03 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4898 * Splitted lib/silcutil/silcutil.h into silcstrutil.h for
4899 string utility functions. Added there also new functions
4900 silc_utf8_[encode/decode/valid] for UTF-8 string encoding.
4901 Affected files lib/silcutil/silcstrutil.[ch].
4903 * Renamed silc_*_pem functions to silc_pem_* functions. Affected
4904 files are lib/silcutil/silcstrutil.[ch].
4906 * Defined that the security property fields in SKE SHOULD be
4907 UTF-8 encoded, defined that version string MUST be US-ASCII
4908 encoded, defined that passphrases sent in connection
4909 authentication protocol MUST be UTF-8 encoded. Implemented
4910 these to the client and server. Defined also that other
4911 passphrases sent in the protocol MUST be UTF-8 encoded.
4912 Affected files are lib/silcske/silcske.c,
4913 lib/silcclient/protocol.c, silcd/protocol.c,
4914 silcd/serverconfig.c, and lib/silccore/silcauth.c.
4916 * Changed the silc_client_close_connection interface to not
4917 need the SilcSocketConnection which should not be visible
4918 to application. Affected files are lib/silcclient/client.c
4919 and lib/silcclient/silcclient.h.
4921 * Rewrote the text for Private Message Key Payload in the
4922 protocol specification. Protocol TODO #11.
4924 Wed Apr 3 16:24:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4926 * Upgraded the protocol version to 1.1, updated protocol specs
4929 * Added the nickname as new argument to NICK_CHANGE notify and
4930 added it to protocol specs and implemented it to client and
4931 server. Protocol TODO #3. Affected files are silcd/idlist.[ch],
4932 silcd/command.c, silcd/packet_receive.c, packet_send.[ch], and
4933 lib/silcclient/client_notify.c.
4935 * Added the killer's client ID to the KILLED notify and added
4936 it to protocol specs and implemented it to client and server.
4937 Protocol TODO #13. Affected files are silcd/command.c,
4938 silcd/packet_receive.c, packet_send.[ch],
4939 lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4940 The killer's client entry is now returned to application in
4941 the `notify' client operation.
4943 * Fixed the Max Argument fields that had too large value set
4944 in the protocol specs. Protocol TODO #14.
4946 * Added the LEAVE command reply to return the ID of parted
4947 channel. Updated protocol specs and implemented it to the
4948 client and server. Protocol TODO #15. Affected files are
4949 silcd/command.c, lib/silcclient/command_reply.c. The channel
4950 entry is now returned to application in the `command_reply'
4953 * Rewrote the version SKE version checking in client libary
4954 and in server to use the silc_parse_version_string. Affected
4955 files are lib/silcclient/protocol.c, silcd/protocol.c.
4957 * Added SILC_STATUS_ERR_NO_CHANNEL_FOPRIV error status to few
4958 commands that was missing it, and updated protocol specs and
4959 the server implementation. Protocol TODO #10. The affected
4960 file is silcd/command.c.
4962 * Defined new message flags SILC_MESSAGE_FLAG_REPLY to be
4963 generic reply to a generic request (REQUEST flag), and
4964 SILC_MESSAGE_FLAG_DATA to send any kind of data in a generic
4965 way. A draft-riikonen-silc-flags-payloads-00.txt is written
4966 to define the payload for DATA flag. Added the flags to
4967 the implementation. Protocol TODO #9. Affected file is
4968 lib/silccore/silcchannel.h.
4970 Changed the client library to return the message length
4971 to application as well in the channel_message and private_message
4972 client operations. Affected files are
4973 lib/silcclient/client_prvmsg, lib/silcclient/client_channel.c,
4974 lib/silcclient/silcclient.h, irssi/src/silc/core/client_ops.c,
4975 and lib/silcclient/client_ops_example.c.
4977 * Added two new channel modes: SILC_CMODE_SILENCE_USERS
4978 and SILC_CMODE_SILENCE_OPERS which can be used to moderate
4979 the channel. Updated protocol specs and impelemented this
4980 to client and server. Protocol TODO #6. Affected files are
4981 silcd/packet_receive.c, server_util.c, lib/silcclient/command.c,
4982 lib/silcclient/client_channel.c, lib/silccore/silcmode.h.
4984 Added new options m and M to CMODE command in Irssi SILC
4985 client to set these modes.
4987 * Deprecated all administrative commands from SILC protocol
4988 since they are highly implementation specific commands.
4989 Updated protocol specs. Moved the old commands in
4990 implementations to private range of command types. Affected
4991 files are silcd/command.c, lib/silcclient/command.c and
4992 lib/silcclient/command_reply.c. Protocol TODO #8.
4994 * Fixed a bug in server where sending unknown command crashes
4995 the server. Affected file silcd/command.c.
4997 Wed Apr 3 09:57:47 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4999 * Added SILC_PROTOCOLVERSION macro to check protocol version
5000 of a socket connection. The affected file is
5001 lib/silcutil/silcsockconn.h.
5003 * Added better error logging in rekey protocol. Affected file
5006 * Do not check public key types in SKE during rekey. Affected
5007 file lib/silcske/payload.c.
5009 * Fixed the rekey protocol with PFS, which was totally broken.
5010 Affected file silcd/protocol.c.
5012 Tue Apr 2 14:55:06 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
5014 * Some client implementations quit network by doing first LEAVE
5015 and then immediately SIGNOFF (like Bombyx). We now do check
5016 after a short time after LEAVE notify and check whether the
5017 client is still valid after LEAVE, and if not we remove it from
5018 cache. Affected file is lib/silcclient/client_notify.c.
5020 Tue Apr 2 13:39:04 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
5022 * Merged version 1.1.4 of zlib. Even if it not currently in use,
5023 it's good not to have security holes here.
5025 * Fixed a negative refcount situtuation for the config context.
5026 Affected file is silcd/serverconfig.c.
5028 Mon Apr 1 20:15:10 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
5030 * ROBOdoc documented lib/silcutil/silcutil.h.
5032 Sat Mar 30 21:06:45 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5034 * Optimized even more the SilcPacketContext structure. Now
5035 totally saved 16 bytes of memory per context after optimization.
5036 Affected files are lib/silccore/silcpacket.[ch].
5038 * Made strict checks for valid SILC IDs. Affected file is
5039 lib/silccore/silcid.c.
5041 Sat Mar 30 18:15:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5043 * Changed the object argument for silc_cipher_register,
5044 silc_hash_register, silc_hmac_register and silc_pkcs_register
5045 to const. Affected files are lib/silccrypt/silccipher.[ch],
5046 silchash.[ch], silchmac.[ch] and silcpkcs.[ch].
5048 * Changed the silc_get_username and silc_get_real_name to
5049 never fail. Affected file lib/silcutil/unix/silcunixutil.c.
5051 * Fixed the Irssi SILC Client to use the silc_get_username and
5052 silc_get_real_name insted of glib routines since the glib
5053 routines only corrupt stack. Fixes the Irssi SILC to work in
5054 Cygwin. Affected file irssi/src/silc/core/silc-core.c.
5056 * Fixed the Irssi to not use g_get_home_dir since it crashes
5057 or returns garbage on cygwin and corrupts stack. Added function
5058 get_home_dir to Irssi routines. Affected files are
5059 irssi/src/core/misc.[ch] and irssi/src/core/core.c.
5061 Fri Mar 29 21:55:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5063 * Made some structure optimizations. SFTP memory FS MemFSEntry
5064 entry structure. Optimized SilcTask structure. Optimized
5065 SilcPacketContext structure.
5067 Affected files lib/silcsftp/sftp_fs_memory.c,
5068 lib/silcutil/silcschedule.c, lib/silccore/silcpacket.h.
5070 Fri Mar 29 10:41:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5072 * And yet again reverted back the config thing since Johnny
5073 screwed it up. Affected file silcd/serverconfig.[ch], server.c,
5076 * Fixed memory leaks from config object. Affected files are
5077 silcd/serverconfig.[ch].
5079 * Added support for adding new connections to the server in rehash.
5080 After rehash they take effect.
5082 Added support for changing the maximum allowed connections in
5083 rehash. The number can grow but going smaller is not supported.
5085 Added function silc_server_num_sockets_by_remote to the
5086 silcd/server_util.[ch].
5088 Affected files are silcd/server.c, and silcd/serverconfig.[ch].
5090 Fri Mar 29 03:26:12 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5092 * Added preliminary checking during config parsing for a valid
5093 public/private key and removed further checks in the code.
5094 Affected files are silcd/serverconfig.[ch], server.c.
5096 * Moved functions silc_server_drop() and silc_server_daemonise()
5097 from server.c to silcd.c since they are stricly related to
5098 the application activity.
5100 * Reverted a small part of the automatic ref/unref since
5101 it caused a double unref in some situations. Affected
5102 files are silcd/silcd.[ch], server.c, serverconfig.c.
5104 * Added some .cvsignore files in the lib directory.
5106 Thu Mar 28 22:51:15 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5108 * Fixed silc_net_gethostbyaddr to correctly resolve by
5109 address. Affected file lib/silcutil/silcnet.c.
5111 * Fixed the notify relaying to client. The HMAC to be used
5112 with relayed packets ws wrong and caused decryption failure
5113 at the client end. Affected file is silcd/packet_receive.c.
5115 Thu Mar 28 19:02:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5117 * Created new branch silc_protocol_1_0_branch.
5119 * Reverted the silc_log_quick change in lib/silcutil/silclog.c.
5121 * Changed the silc_server_config_* routines to be SilcServer
5122 independent. They are now officially application specific code
5123 and not part of generic server implementation. Affected files
5124 are silcd/serverconfig.[ch], silcd/silcd.c, silcd/server.c.
5126 Thu Mar 28 17:01:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5128 * Added automatic referencing of config context in the
5129 silc_server_config_alloc, and automatic unreferencing in the
5130 silc_server_config_destroy. Affected files are
5131 silcd/serverconfig.[ch], silcd/silcd.c.
5133 * Fixed the silc_log_quick handling in the logging routines.
5134 It didn't log quickly when it was TRUE. Affected file is
5135 lib/silcutil/silclog.c. Also the flush delay was set even
5136 if it was 0 in config file. Affected file is
5137 silcd/serverconfig.c.
5139 * Added support for changing key pair of the server in rehash.
5140 Affected file silcd/server.c.
5142 Thu Mar 28 12:17:21 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5144 * Fixed the TOPIC_SET notify to not cras. It changed the topic
5145 too early, before getting the channel entry. Affected file
5146 is silcd/packet_receive.c.
5148 Thu Mar 28 09:58:16 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5150 * Added functions silc_server_config_[ref/unref], these are used
5151 to prevent that the config object is destroyed.
5153 No longer directly affect global variables silc_log_quick and
5154 silc_log_delay, they are first cached inside the config object
5155 and then applied with silc_server_config_setlogfiles().
5157 silc_server_config_set_defaults() is now internal to
5158 serverconfig.c, there are no reasons to show this internal stuff
5161 Affected files are silcd/serverconfig.[ch].
5163 * Added macro SILC_SERVER_LOG_STDERR(), this should replace most
5164 fprintf's to stderr, since some code may be executed again after
5165 the server went into the background. Affected files are
5168 * Added rehash support. Added function silc_server_rehash() that
5169 will perform all the basic tasks of the rehashing procedure.
5171 * Added command line option `-x, --hexdump'. This will enable the
5172 SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'.
5173 The option `--hexdump' implies `--debug'.
5175 * Fixed a bad bug in the logging APIs (silcutil library) where
5176 the application would crash after calling silc_log_reset_all().
5178 Wed Mar 27 19:43:16 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5180 * Fixed the KICKED notify handling in client library to
5181 correctly remove the channel and all entries from the
5182 channel when I was kicked. This bug crashed the client.
5184 Fixed yet another but in KICKED notify handling to remove
5185 the kicked client correctly from the channel.
5187 Affected file is lib/silcclient/client_notify.c.
5189 * Fixed a minor bug in looking up correct client entry
5190 in KICKED notify in server. Affected file is
5191 silcd/packet_receive.c.
5193 * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP
5194 sources correctly to distribution. Fixes --with-gmp option.
5196 * Removed the manual rehashing from ID Cache, and changed it
5197 to use the SILC Hash Table's auto rehash feature. Affected
5198 file is lib/silccore/silcidcache.c.
5200 Wed Mar 27 00:07:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5202 * Fixed a bug in the silc_client_nickname_format function that
5203 handles the multiple same nickname formatting. Two clients
5204 with same nickname caused problems after the first one left
5205 and rejoined. It didn't format the nickname correctly.
5206 Affected file is lib/silcclient/idlist.c.
5208 Tue Mar 26 19:33:03 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5210 * Don't change the topic if olod topic is same as new one.
5211 Affected file is silcd/packet_receive.c.
5213 Mon Mar 25 21:11:35 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5215 * Added cross-reference support to the SILC Documentation
5216 generator. All types across all HTML files are now cross-
5217 referenced. Affected files util/robodoc/generator.c and
5218 scripts/silcdoc/silcdoc.
5220 * Added file lib/silcutil/silctypes.h to include all the
5221 arithmetic type definitions and some macros. Removed
5222 includes/bitmove.h and moved macros to silctypes.h.
5224 Mon Mar 25 17:19:46 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5226 * Merged bugfixes for Irssi SILC client from irssi.org CVS.
5228 Sun Mar 24 11:21:04 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5230 * Added `type' argument to silc_id_payload_parse_id function which
5231 now returns the type of the ID to the sent pointer. Affected
5232 file is lib/silccore/silcid.[ch].
5234 * Added check for CMODE_CHANGE notify type that mode change is
5235 allowed by the sender. Affected file silcd/packet_receive.c.
5237 * Added check for CUMODE_CHANGE notify type that mode change is
5238 allowed by the sender. Affected file silcd/packet_receive.c.
5239 Added the ID type as CUMODE_CHANGE notify type as argument
5240 to the `notify' client operation. Affected files are
5241 lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
5243 * Added function silc_client_add_server to the client library.
5244 Added support for resolving also channel and server info when
5245 received unknown entity in notify packet. Affected files are
5246 lib/silcclient/idlist.[ch], lib/silcclient/client_notify.c.
5248 * Added function silc_command_get_status to return the command
5249 status from the command reply's argument payload. Affected files
5250 are lib/silccore/silccommand.[ch].
5252 * Added check for KICKED notify type that the kicking is
5253 allowed by the client. Affected file silcd/packet_receive.c.
5255 * Created function silc_get_input which can be used to get input
5256 (echo on or off) from user on command line. Affected files are
5257 lib/silcutil/silcutil.[ch].
5259 Sat Mar 23 09:51:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5261 * Optimized silc_server_packet_relay_to_channel function.
5262 Added new function silc_channel_message_payload_encrypt which
5263 can be called directly if channel message payload needs to
5264 be encrypted and is already encoded (no need to call _encode
5265 function). Packet relaying is now done by router without any
5266 extra memory allocations. Affected files are
5267 lib/silccore/silcchanel.[ch], silcd/packet_receive.c and
5268 silcd/packet_send.c.
5270 * Fixed the INVITE notify handling. It took wrong arguments
5271 as invite list and invite delete. Affected file is
5272 silcd/packet_receive.c.
5274 * Added check for TOPIC_SET notify type that the topic change is
5275 allowed by the client. Affected file silcd/packet_receive.c.
5277 * Added check for INVITE notify type that inviting is allowed by
5278 the client. Affected file silcd/packet_receive.c.
5280 * Changed the silc_server_client_on_channel to return the
5281 SilcChannelClientEntry as well. Moved the function
5282 silc_server_check_cmode_rights to server_util.[ch].
5283 Affected files are silcd/server_util.[ch], silcd/command.c.
5285 * Added function silc_server_check_umode_rights to check whether
5286 changing client's user mode is allowed. Added check for
5287 UMODE_CHANGE notify type that the umode change is allowed
5288 by the client. Affected files are silcd/server_util.[ch],
5289 silcd/packet_receive.c and silcd/command.c.
5291 Fri Mar 22 12:25:58 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5293 * Fixed the SILC_PACKET_MAX_ID_LEN to actually be the max
5294 ID length. It ignored that ID can be IPv6 based as well.
5295 Affected file lib/silccore/silcpacket.h.
5297 * Fixed the silc_id_id2str and silc_id_str2id to take the
5298 IPv6 address offset's into consideration. Affecte file is
5299 lib/silccore/silcid.c.
5301 Thu Mar 21 20:44:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5303 * Fixed the internal Unix scheduler functions to check for
5304 NULL context they may receive. The affected file is
5305 lib/silcutil/unix/silcunixschedule.c.
5307 Thu Mar 21 19:12:22 EET 2002 Timo Sirainen <tss@iki.fi>
5309 * Changed hardcoded ~/.silc paths to use get_irssi_dir() so you
5310 can specify different directory with --home command line
5311 parameter. Affected files irssi/src/silc/core/client_ops.c,
5314 * SILC-specific commands aren't now executed if the active server
5315 isn't of SILC-type, so there won't be problems with having
5316 IRC and SILC protocol support in same client. Affected files
5317 irssi/src/silc/core/silc-channels.c, silc-servers.c,
5320 Wed Mar 20 11:06:57 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5322 * Improved the signal support in SILC Schedule. Added new
5323 function silc_schedule_signal_call which is used by application
5324 to mark a signal to be called. It is now safe to perform
5325 any kind of tasks in signal callbacks since it is guaranteed
5326 that the application specified signal callback is called
5327 after the signal is over. Affected files are
5328 lib/silcutil/silcschedule.[ch], lib/silcutil/*/silc*schedule.c.
5330 Tue Mar 19 20:42:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5332 * Added `name' field to SilcChannelPrivateKey to represent
5333 application given name for the key. Moved also the context from
5334 lib/silcclient/idlist.h into lib/silcclient/silcclient.h.
5335 Added the `name' argument also to the function
5336 silc_client_add_channel_private_key.
5338 Added function silc_client_current_channel_private_key to set the
5339 current channel private key in use.
5341 Added "change" command to KEY command which can be used to change
5342 the current channel private key. Bound the command also to
5343 alt+K (Alt+Shift+k).
5345 Also affected files lib/silcclient/client_channel.c,
5346 irssi/src/docs/help/in/key.in, irssi/src/silc/core/silc-channel.c.
5348 Tue Mar 19 16:32:43 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5350 * Added silc_rng_get_byte_fast function in to the
5351 lib/silccrypt/silcrng.[ch].
5353 * Changed the interface of silc_packet_assemble and the
5354 silc_packet_send_prepare. If silc_packet_assmble is now
5355 called the application does not call silc_packet_send_prepare
5356 because the library will call it automatically. These
5357 interfaces now also return a reference to the outgoing buffer
5358 which includes the assembled packet, which the application can
5359 use to encrypt the packet.
5361 Affected files are lib/silccore/silcpacket.[ch],
5362 lib/silcclient/client.c, client_channel.c client_prvmsg.c,
5363 silcd/packet_send.c, server_backup.c and packet_receive.c.
5365 * Fixed a packet sending bug on very high load, where outgoing
5366 packet queue wasn't handled correctly and packets got corrupted.
5367 Affected files are lib/silcutil/*/silc*sockconn.c,
5368 lib/silcclient/client.c and silcd/server.c.
5370 Mon Mar 18 21:00:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5372 * Added macro SILC_PACKET_DATALEN which can be used during
5373 packet assembling to check whether the data to be added to
5374 the packet will fit to SILC_PACKET_MAX_LEN. If not the data
5375 len is truncated until it fits it.
5377 Added checks for maximum length of channel message payload and
5378 private message payload also.
5380 Added checks for maximum packet length in server and in
5383 Affected files are lib/silccore/silcpacket.h, silcd/packet_send.c,
5384 lib/silcclient/client.c, lib/silccore/silcchannel.c and
5385 lib/silccore/silcprivate.c, lib/silcclient/client_channel.c and
5386 lib/silcclient/client_prvmsg.c.
5388 Mon Mar 18 14:54:42 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5390 * Added silc_server_packet_queue_purge call to the
5391 silc_server_disconnect_remote to assure that all data in the
5392 queue before disconnecting is sent to the network. Affected
5393 file silcd/server.c.
5395 Sun Mar 17 19:26:16 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5397 * Added the deleting of server's own ID cache entry to the
5398 silc_server_free function. Free also everything else that
5399 has been allocated in silc_server_init. The affected file
5402 Sun Mar 17 15:44:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5404 * Added functions silc_parse_version_string, silc_version_to_num,
5405 and silc_ske_parse_version to parse SILC protocol style version
5406 strings. Affected files lib/silcutil/silcutil.[ch] and
5407 lib/silcske/silcske.[ch].
5409 * Added new configuration params: version_protocol, version_software
5410 and version_software_vendor to specify what version the remote
5411 host must at least be to be able to connect to server. The vendor
5412 string can be regex matched too. Added new function
5413 silc_server_connection_allowed to check maximum number of allowed
5414 connections, and allowed versions for incoming connections.
5415 Affected files are silcd/server.c, server_util.[ch] and
5418 Sun Mar 17 10:24:50 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5420 * Added preliminary support for signals in scheduler. The
5421 signals we care about are now blocked always when the scheduler
5422 is locked. This way we can synchronise the use of signal with
5423 scheduler. It is guaranteed that when signal occurs the scheduler
5424 is not locked, and thus new tasks can be safely added to the
5427 Renamed silc_schedule_wakeup_init and silc_schedule_wakeup_uninit
5428 to silc_schedule_internal_init and silc_schedule_internal_uninit.
5429 Added new platform specific routines
5430 silc_schedule_internal_signals_[un]block and
5431 silc_schedule_internal_signal_[un]register.
5433 Added new functions to SILC Schedule API:
5434 silc_schedule_signal_[un]register. Each signal that application
5435 is going to use should be registered to the scheduler.
5437 Affected files are lib/silcutil/silcschedule.[ch],
5438 lib/silcutil/*/silc*schedule.c.
5440 Sat Mar 16 22:39:23 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5442 * Check for unauthenticated client and server in the
5443 silc_server_new_client and silc_server_new_server functions.
5444 Affected file silcd/packet_receive.c.
5446 * Added function silc_string_is_ascii to check whether given
5447 string is 7-bit ASCII string. Affected files are
5448 lib/silcutil/silcutil.[ch].
5450 * Added function silc_id_is_valid_server_id into the
5451 silcd/serverid.c and added checking for valid Server ID's in
5452 silc_server_new_server. The Server ID must always be based
5453 on the server's public IP address.
5455 * Added logging of DISCONNECT packet message in the server.
5456 Affected file silcd/server.c.
5458 Sat Mar 16 18:04:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5460 * Changed all library interfaces that use Global RNG to also
5461 accept SilcRng as argument. Affected files are
5462 lib/silcclient/command.c, lib/silccore/silcauth.[ch],
5463 lib/silccore/silcchanel.[ch], lib/silcclient/client_channel.c,
5464 silcd/packet_send.c, lib/silccore/silcprivate.[ch],
5465 lib/silcmath/silcprimegen.c, lib/silcmath/silcmath.h, and
5466 lib/silccrypt/rsa.c.
5468 * Added function silc_pkcs_generate_key to the
5469 lib/silccrypt/silcpkcs.[ch] for applications so that they
5470 don't need to do pkcs->pkcs->init calls anymore.
5472 * Remove SilcSocketConnection from the SFTP API since it really
5473 wasn't needed there. The application has the information
5474 saved in its contexts anyway and the SFTP layer doesn't need
5475 know about it. Affected files lib/silcsft/silcsftp.h and
5476 lib/silcsftp/sftp_[server/client].c.
5478 * Rewrote the SILC SIM (modules) interface in lib/silcsim.[ch].
5479 The SilcSimContext is not SilcSim.
5481 * Fixed possible buffer overflows in silc_id_render in the
5482 lib/silcutil/silcutil.c.
5484 * On EPOC the global crypto module lists are not used at all
5485 in the crypto library. Added support for using the constant
5486 algorithm list on EPOC. Affected files are
5487 lib/silccrypt/silccipher.c, silchash.c, silchmac.c and
5490 * Fixed the handling of third parameter of KICKED notify, since
5491 it was mistakenly updated to SILC Protocol 1.0 even though it
5492 is to be included in 1.1. Since it is not in 1.0 it is not
5493 mandatory, and this fix now handles it only if it is provided,
5494 and it is not error if it is not provided. Affected file
5495 lib/silcclient/client_notify.c.
5497 Sat Mar 16 09:07:27 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5499 * Handled CHANNEL_CHANGE notify (ignore it) in Irssi SILC
5500 client. Affected file irssi/src/silc/core/client_ops.c.
5502 * Merged with Irssi 0.8.4 from irssi.org CVS.
5504 Thu Mar 14 12:53:57 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5506 * Check for valid socket connection in client entries before
5507 sending any messages. Fixes a crash, but doesn't fix some
5508 other underlaying bug that is lurking there. Affected
5509 file silcd/packet_send.c.
5511 Thu Mar 14 13:38:12 EET 2002 Timo Sirainen <tss@iki.fi>
5513 * $usermode, $cumode and $cumode_space expandos shouldn't do
5514 anything with non-SILC server records. Affected file
5515 irssi/src/silc/core/silc-expandos.c
5517 Wed Mar 13 21:38:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5519 * Fixed the silc_net_check_[host/local]_by_sock to support
5520 IPv6 bound sockets as well. Now they can return IPv6 addresses
5521 as well. Affected file lib/silcutil/silcnet.c.
5523 * Fixed silc_net_addr2bin to correctly convert IPv6 addresses.
5524 Affected lib/silcutil/unix/silcunixnet.c.
5526 * Fixed ID rendering (at least on some platforms, not NetBSD)
5527 for IPv6 addresses. Affected file lib/silcutil/silcutil.c.
5529 Tue Mar 12 17:58:59 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5531 * Added silc_hash_public_key and silc_hash_public_key_compare
5532 functions to be used with SilcHashTable. They can be used to
5533 hash public keys and compare public keys in hash table. Affected
5534 file lib/silcutil/silcutil.[ch].
5536 * Added support for specifying multiple public keys for Client
5537 connection section in server configuration file. This makes it
5538 possible to accept multiple public keys from same host, or to
5539 make a section that accepts any incoming host, and have the
5540 accepted public keys listed in the section.
5542 Added functions silc_sever_[find/get]_public_key, added the
5543 support for this actually to all connection sections but only
5544 the Client section is currently allowed to specify multiple
5547 Affected files are silcd/server.c, server_internal.h,
5548 command.c, protocol.c, server_util.[ch], packet_receive.c.
5550 Mon Mar 11 23:37:38 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5552 * Merged Irssi 0.8.2 from irssi.org CVS.
5554 Sun Mar 10 23:34:48 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5556 * If silc_debug is TRUE, also output standard logging messages
5557 to stderr with the debug output.
5559 Made silc_log_reset_all() flushing all channels before returning.
5560 Also fixed some documentation typos.
5562 Affected files are lib/silcutil/silclog.[ch].
5564 Sun Mar 10 20:07:49 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5566 * Fixed the server to check correctly the amount of connections
5567 from single host, by checking also the type of the connection.
5568 Fixed also the comparison of number of connections and number
5569 of allowed connections. Affected files are silcd/server.c,
5572 Fri Mar 8 17:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5574 * Fixed the USERS command reply to save the user's mode on the
5575 channel as well. Fixed JOIN command reply to check whether a
5576 client is on channel already and not join it twice. Affected
5577 file lib/silcclient/command_reply.c.
5579 * Added new file silc-expandos.c into irssi/silc/core/ to return
5580 various stuff for various signal for the statusbar etc. updating.
5581 Now Irssi SILC client prints channel user modes etc. on the
5584 * The user mode (like server/router operator changes) is now shown
5585 on the Irssi SILC client's statusbar. The affected files are
5586 irssi/src/silc/core/client_ops.c, silc-expandos.c.
5588 Thu Mar 7 19:21:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5590 * Changed silc_mutex_[un]lock calls in lib/silcutil/silcschedule.c
5591 to SILC_SCHEDULE_[UN]LOCK macros.
5593 * Added more error printing to logs in server code. Affected
5594 files silcd/server.c and silcd/protocol.c.
5596 * Fixed -S option parsing in Irssi SILC Client. Affected file
5597 irssi/src/silc/core/silc-core.c.
5599 * Added silc_buffer_alloc_size function. Affected file is
5600 lib/silcutil/silcbuffer.h.
5602 Tue Mar 5 14:37:27 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5604 * Changed all silc_[hash|hmac|cipher|pkcs]_default tables to
5605 constants. Affected files in
5606 lib/silccrypt/silcpkcs.[ch], silchash.[ch], silchmac.[ch] and
5609 * Changed the internal SFTP Memory FS table to const. Affected
5610 file lib/silcsftp/sftp_fs_memory.c.
5612 Sun Mar 3 18:37:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5614 * Fixed the buffer formatting and unformatting routines to
5615 check the size of 64 bits types with sizeof(). Affected
5616 file is lib/silcutil/silcbuffmt.c.
5618 Mon Feb 25 17:19:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5620 * Removed 0.6.x backwards support.
5622 Sun Feb 24 12:53:25 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5624 * Changed all integer type names:
5625 [u]int[8/16/32/64] -> Silc[UInt/Int][8/16/32/64]. This is
5626 to avoid collisions with other libraries using same type names
5629 Sat Feb 23 20:31:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5631 * Added `prefer_ipv6' argument to the functions
5632 silc_net_gethostbyname[_async]. If it is TRUE it will return
5633 IPv6 address over IPv4. If FALSE IPv4 address is returned
5634 even if IPv6 address was found. Affected files
5635 lib/silcutil/silcnet.[ch].
5637 * Added support silc_net_create_connection[_async] to fallback
5638 to IPv4 address if IPv6 address could not be used (like if
5639 it doesn't work on a specific system). Affected file in
5640 lib/silcutil/unix/silcunixnet.c.
5642 Sat Feb 23 15:20:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5644 * Added silc_schedule_reinit function to do the enlarging
5645 of the max tasks handling capabilities of the scheduler.
5646 Affected files lib/silcutil/silcschedule.[ch].
5648 Wed Feb 20 20:41:01 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5650 * Added automatic extern "C" { ... } for C++ compilers so the
5651 application does not need to define them. Affected file
5652 includes/silcincludes.h.
5654 * Renamed lib/silcclient/silcapi.h to silcclient.h as the
5655 old name went against naming convention. Applications now
5656 include "silcclient.h" instead of "clientlibincludes.h".
5657 Removed includes/clientlibincludes.h, it is redundant now.
5659 * Renamed includes/version.h to silcversion.h.
5661 * Added really preliminary support for OS/2 into the util
5662 library. Only thread & mutex API is implemented, others
5663 are still to be implemented. Created the lib/silcutil/os2/
5664 directory. Created also file includes/silcos2.h.
5666 Wed Feb 20 18:48:49 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5668 * Added preliminary BeOS support into the util library.
5669 Created lib/silcutil/beos/, and implemented all the needed
5670 functions to support SILC on BeOS. Created also file
5671 includes/silcbeos.h.
5673 Mon Feb 18 15:49:22 EET 2002 Timo Sirainen <tss@iki.fi>
5675 * Added proper initializations to silc's irssi code, so it's
5676 now possible to load it as module. Affected files
5677 irssi/src/silc/core/silc-core.c,
5678 fe-common/silc/fe-common-silc-core.[ch] and fe-text/silc.c
5680 Sun Feb 17 19:02:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5682 * Merged latest Irssi (0.8.1) from the irssi.org's CVS into
5685 * Fixed the silcdoc document generator to correct generate
5686 docs from all kinds of filenames. Affected files are
5687 util/robodoc/Source/generator.c, scripts/silcdoc/silcdoc
5689 * ROBOdoc documented lib/silcutil/silcmemory.h.
5690 Added also new function silc_memdup.
5692 * Removed lib/silcutil/silcbufutil.h and moved those routines
5693 to the lib/silcutil/silcbuffer.h.
5695 Sun Feb 17 15:52:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5697 * Added `user_count' to the SilcChannelEntry which now tells the
5698 number of users on the channel. The user count is now saved
5699 in normal server of global channels as well. Affected files
5700 silcd/server.c, idlist.h, packet_receive.c and command.c.
5702 * Splitted lib/silcutil/silcutil.[ch] into silcfileutil.[ch] to
5703 include file utility functions.
5705 * Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines
5706 instead of calling directly OS routines.
5708 * Fixed NICK change printing in Irssi SILC Client. Fixed
5709 KICKED notify printing in Irssi SILC Client. Affected file
5710 irssi/src/silc/core/client_ops.c.
5712 * Fixed a NICK change bug in client library, to not recreate the
5713 client_entry->channels hash table everytime nick is changed.
5714 Affected file lib/silcclient/client.c.
5716 Sun Feb 17 10:10:14 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5718 * ROBOdoc documented the lib/silcske/silcske.h, and improved
5719 the SKE interface a bit.
5721 * Fixed padding problem in PKCS#1. The padding was not actually
5722 random since the random number generator was used incorrectly.
5723 This security bug affects only when encrypting with PKCS#1, and
5724 it is not currently used at all in SILC. SILC only use signing
5725 with PKCS#1. Affected file lib/silccrypt/pkcs1.c.
5727 Sat Feb 16 13:44:24 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5729 * Rewrote the notify handling in Irssi SILC client to not call
5730 the events as signals. Fixes problems with Perl support.
5731 Affected files irssi/src/silc/core/client_ops.c, silc-channels.c.
5733 * Send the auto-nicking NICK command in client library with
5734 little timeout after connecting. The affected file is
5735 lib/silcclient/client.c.
5737 * Added following new config file settings:
5738 channel_rekey_secs, key_exchange_rekey, key_exchange_pfs,
5739 key_exchange_timeout, conn_auth_timeout, connections_max,
5742 Implemented all the new config settings handling in the server.
5744 Optimized the use of SKE Mutual flag usage. Use it only
5745 if connection authentication protocol is not based in public
5748 Renamed all SilcServerConfigSection* to SilcServerConfig*
5749 to have a bit shorter names.
5751 Affected files silcd/serverconfig.[ch], server.[ch], and
5754 Sat Feb 16 02:46:43 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5756 * Cleaned up the listening sockets code, preparing for the rehash
5757 support. Affected file is silcd/server.c.
5759 * Fixed some output messages. Affected files are silcd/silcd.c,
5762 Fri Feb 15 19:10:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5764 * Create lib/doc/silcrng_intro.html document as introduction
5765 to SILC RNG. ROBOdoc documented lib/silccrypt/silcrng.h.
5767 Fri Feb 15 13:23:03 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5769 * Fixes to the silcd config template. Affected file is
5770 doc/example_silcd.conf.in.
5772 * Removed type casts from silc_calloc(), conforming to the
5773 CodingStyle. Affected file is lib/silcutil/silcconfig.c.
5775 * Removed param_name member from client, server, and router
5776 section structs, now identifying the param directly.
5778 Added CONFIG_FREE_AUTH macro in config file parsing.
5780 Affected files are silcd/serverconfig.[ch].
5782 Fri Feb 15 12:24:08 EET 2002 Timo Sirainen <tss@iki.fi>
5784 * Fixed command line parameter handling. All SILC initialization
5785 is now done in silc_core_init() which also fixes autoconnecting
5788 Affected files irssi/src/silc/core/silc-core.c,
5789 irssi/src/fe-text/silc.c.
5791 Thu Feb 14 22:03:58 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5793 * Added new configuration options and blocks:
5794 keepalive_secs, reconnect_count, reconnect_interval,
5795 reconnect_interval_max, reconnect_keep_trying and
5796 require_reverser_lookup. Added ConnectionParam block, and
5797 implemented the connection parameters when connecting as
5798 initiator and when accepting connections as responder.
5800 Added CONFIG_IS_DOUBLE macro in config file parsing, to check
5801 whether given configuration value has been given already.
5803 Affected files silcd/serverconfig.[c], server.[c].
5805 * Splitted the doc/example_silcd.conf.in. Separated the crypto
5806 algorithm parts and created new file silcalgs.conf, that
5807 is now included from the example_silcd.conf.in.
5809 * Optimized the silc_server_connect_to_router_second to take
5810 the connection configuration object from the SilcServerConnection
5811 object instead of finding it during the connecting phase.
5812 Added the configuration object to SilcServerConnection struct.
5813 Affected files silcd/server_internal.h, server.c.
5815 Thu Feb 14 16:02:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5817 * Add the client on channel after it was resolved at the
5818 channel message receiving, and it was not already on the
5819 channel. Affected file lib/silcclient/client_channel.c.
5821 Wed Feb 13 23:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5823 * Fixed the public key authentication to allocate always the
5824 destination signature buffer instead of using static buffer.
5825 Affected file silcd/protocol.c.
5827 Wed Feb 13 20:51:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5829 * Unified the serverconfig.[ch]'s helper function interface.
5830 Affected file silcd/serverconfig.[ch].
5832 * Removed doc/example_silc.conf.in since it is redundant.
5833 The make install will now install irssi/silc.conf file.
5835 * Added new Passphrase and Publickey authentication methods to
5836 config file, allowing both public key and passphrase based
5837 authentication to be set at the same time.
5839 Added `prefer_passphrase_auth' setting in config file which
5840 can be used to set to prefer passwd auth if both passwd and
5841 public key is set. If not set, public key is preferred.
5842 This has effect only when being initiator (responder will try
5845 Added support for authentication with passphrase and public key
5846 at the same time. The passphrase is tried first always since
5847 it is faster to check.
5849 Affected file silcd/serverconfig.[ch], server.c, protocol.[ch].
5851 Wed Feb 13 12:46:25 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5853 * Merged the new SILC Config library, with the server parsing
5854 support. Read the header file silcconfig.h or the toolkit
5855 documentation for the news. Affected files are
5856 doc/example_silcd.conf.in lib/silcutil/silcconfig.[ch]
5857 silcd/command.c silcd/packet_receive.c silcd/packet_send.c
5858 silcd/protocol.c silcd/server.c silcd/server_backup.c
5859 silcd/serverconfig.[ch] silcd/silcd.c.
5861 * Fixed some silclog documentation. Affected file is
5862 lib/silcutil/silclog.h.
5864 Sun Feb 10 18:11:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5866 * The silc_cipher_register, silc_hash_register and
5867 silc_hmac_register now checks if the object to be registered
5868 is registered already. Affected files are
5869 lib/silccrypt/silccipher.c, silchash.c and silchmac.c.
5871 Sun Feb 10 15:48:38 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5873 * Merged new irssi from irssi.org's CVS, the version 0.7.99.
5875 Sat Feb 9 14:54:33 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5877 * Allow zero length channel messages inside the Channel Message
5878 Payload. Affected file lib/silccore/silcchannel.c.
5880 * Fixed scripts/silcdoc/silcdoc to support all kinds of filenames
5881 as header filenames.
5883 * Removed lib/silcclient/README and created HTML file
5884 lib/silcclient/silcclient_using.html, which is now included
5885 as part of Toolkit documentation.
5887 Thu Feb 7 10:12:25 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5889 * Fixed CUMODE_CHANGE notify handling to change the mode of
5890 correct client. Affected file lib/silcclient/client_notify.c.
5892 * Make silc_rng_alloc fail if it cannot allocate the sha1
5893 hash algorithm. Affected file lib/silccrypt/silcrng.c.
5895 Sun Feb 3 17:20:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5897 * Fixed the file transfer's key agreement payload to include
5898 zero port also if the hostname is NULL because it could not
5901 Call file transfer monitor callback now also if error occurs
5902 during key agreement protocol.
5904 Changed the silc_client_file_send interface to return the
5905 SilcClientFileError instead of session id. The session ID
5906 is returned into pointer provided as argument.
5908 Check that the file exists locally before sending the
5909 file transfer request at all.
5911 Affected file lib/silcclient/client_ftp.c, silcapi.h.
5913 * Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer
5914 error than can occur while key agreement protocol. Affected
5915 file lib/silcclient/silcapi.h.
5917 * Fixed the event_mode CMODE handler to not crash when mode
5918 is changed and +k mode is set in the channel. Affected file
5919 irssi/src/silc/core/silc-channels.c.
5921 * Fixed SILC_LOG_ERROR to give out Error and not Warning, and
5922 SILC_LOG_WARNING to give out Warning and not Error. Affected
5923 file lib/silcutil/silclog.c.
5925 * Fixed the channel message payload decryption in the function
5926 silc_channel_message_payload_decrypt to not modify the original
5927 buffer before it is verified that the message decrypted
5928 correctly. Otherwise, next time it is called with correct
5929 channel key it won't encrypt since the payload is corrupted.
5930 Affected file lib/silccore/silcchannel.c.
5932 Sun Feb 3 11:46:12 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5934 * Do not constantly resize the window. A fix patch by cras.
5935 Affected file irssi/src/fe-text/screen.c.
5937 Sat Feb 2 16:54:18 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5939 * Applied IPv6 fix patch from Jun-ichiro itojun Hagino.
5940 Affected file lib/silcutil/silcnet.c.
5942 Fri Feb 1 22:33:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5944 * Fixed a bug in hash table internal routine for traversing
5945 the table with foreach callback. The current entry may
5946 become invalid in the callback but it was referenced after
5947 the callback returned.
5949 Do not allow auto rehashing of hash table during the
5950 silc_hash_table_foreach operation, for same reasons as it is
5951 not allowed for SilcHashTableList. Affected files are
5952 lib/silcutil/silchashtable.[ch].
5954 Fri Feb 1 14:55:00 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5956 * Defined DLLAPI into silcincludes.h and silcwin32.h for
5957 Win32 DLL. extern's in header files are now declared with
5960 Thu Jan 31 23:34:33 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5962 * Fixed private message handling. It used some old code that
5963 caused the client to crash. Affecte file is
5964 lib/silcclient/client_prvmsg.c.
5966 Thu Jan 31 19:06:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5968 * Added function silc_client_add_channel,
5969 silc_client_replace_channel_id, and removed functions
5970 silc_client_new_channel_id and silc_idlist_get_channel_by_id
5971 from client library.
5973 * Added cross reference of the joined channels to the
5974 SilcClientEntry, and changed the SilcChannelEntry's
5975 users list to SilcHashTable. The affected files are
5976 lib/silcclient/idlist.[ch].
5978 * Fixed a bug in hash table tarversing. While the hash table
5979 is traversed with SilcHashTableList the table must not be
5980 rehashed. It is now guaranteed that auto rehashable tables
5981 are not rehashed while tarversing the list. Also defined that
5982 silc_hash_table_rehash must not be called while tarversing
5983 the table. Added function silc_hash_table_list_reset that must
5984 be called after the tarversing is over. The affected files are
5985 lib/silcutil/silchashtable.[ch].
5987 * Changed all hash table traversing to call the new
5988 silc_hash_table_list_reset in server and in client library.
5990 * Added function silc_client_on_channel to return the
5991 SilcChannelUser entry if the specified client entry is joined
5992 on the specified channel. This is exported to application as
5993 well. Affected files lib/silcclient/client_channel.c, silcapi.h.
5995 Wed Jan 30 19:14:31 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5997 * Fixed founder regaining problem with JOIN command on normal
5998 server. The notify for mode change must be sent always and
5999 not only if !cmd->pending. Affected file silcd/command.c.
6001 * Fixed the WHOWAS command's reply sending to support the
6002 lists correctly. Affected file silcd/command.c.
6004 Wed Jan 30 11:11:47 CET 2002 Pekka Riikonen <priikone@silcnet.org>
6006 * When sending JOIN command to router for processing the
6007 sender's old command identifier was not saved back to the
6008 sender's command context, fixed now. The affected file is
6011 * Create the key in JOIN command of the router did not return
6012 the channel key, added check for this. Affected file is
6015 * Fixed a channel ID update bug in JOIN command reply. Do
6016 not directly upgrade the ID but call the function
6017 silc_idlist_replace_channel_id if the ID was changed.
6018 Affected file silcd/command_reply.c.
6020 * Fixed memory leaks from command calling if it would fail.
6021 Affected file silcd/command.c.
6023 Tue Jan 29 19:49:31 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6025 * Applied patches from cras:
6027 Memory leak fixes around libaries, irssi window resize fix,
6028 new silclist.h and silcdlist.h, all extern inline changed to
6031 * Removed dotconf from lib/dotconf, not needed anymore.
6033 * Removed TRQ from lib/trq, not needed anymore.
6035 * Do more frequent heartbeats (5 minutes instead of 10 minutes)
6036 with server connections. Later this will be configurable
6037 in config file after new config file is done. Affected file
6040 Tue Jan 29 10:35:03 CET 2002 Pekka Riikonen <priikone@silcnet.org>
6042 * Fixed a crash in server related to channel announcements.
6043 Affected file silcd/server.c.
6045 Mon Jan 28 17:49:42 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6047 * Fixed memory leaks in silc_server_create_new_channel*
6048 functions. Affected file silcd/server.c.
6050 * Fixed the CHANNEL_CHANGE notify to re-announce the channel
6051 which ID was changed. This way the router will send the
6052 user list for the channel again, and server won't be in
6053 desync in some rare circumstances. Affected file is
6054 silcd/packet_receive.c.
6056 Sun Jan 27 21:04:19 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6058 * Check for NULL socket pointer in the function
6059 silc_server_packet_send_to_channel_real. Affected file
6060 silcd/packet_send.c.
6062 * Fixed the BAN notify handling to correctly remove ban
6063 list. Affected file silcd/packet_receive.c.
6065 Sat Jan 26 23:01:03 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6067 * Fixed some header addition to Toolkit distribution in
6068 lib/silcutil/Makefile.am and lib/trq/Makefile.am.
6070 * Added lib/silcclient/client_ops_example.h as an template
6071 file for application programmers to quickly start using
6072 the SilcClientOperation functions in their application.
6073 Updated the lib/silcclient/README as well to tell about this
6074 nice file made available.
6076 Sat Jan 26 10:45:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6078 * Call silc_server_remove_from_channels when removing client
6079 entry when NO_SUCH_CLIENT_ID was received. Affected file
6080 is silcd/command_reply.c.
6082 Fri Jan 25 19:12:36 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6084 * Added server & router operator statistics updating. Affected
6085 file silcd/packet_receive.c and silcd/command.c.
6087 * Fixed the SERVER_SIGNOFF notify handling on normal server
6088 not to save the history information for clients. Same was
6089 fixed earlier in remove_clients_by_server function, but not
6090 here. Affected file silcd/packet_receive.c.
6092 * Raised the default connection-retry count from 4 to 7 in
6093 server. Affected file silcd/server.h.
6095 * Cancel any possible reconnect timeouts when we start the
6096 key exchange. Affected file silcd/server.c.
6098 * Do not reconnect on connection failure when SCONNECT was
6099 given. Affected files silcd/server.[ch].
6101 Tue Jan 22 18:19:36 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6103 * Removed assert()'s from the lib/silcclient/client_keyagr.c.
6105 * Fixed the NICK command to always give the unformatted
6106 nickname to the one giving the NICK command. If unformatted
6107 nickname is cached already it will be formatted and the
6108 local entry will always get the unformatted nickname.
6109 Affected file lib/silcclient/idlist.c.
6111 * Fixed some double frees from client library commands.
6112 Affected file is lib/silcclient/command.c.
6114 * Fixed CUMODE command in server to assure that no one can
6115 change founder's mode than the founder itself, there was a
6116 little bug. Affected file silcd/command.c.
6118 Mon Jan 21 19:07:53 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6120 * Removed the SilcClientCommandDestructor from the client
6121 libary, it is not needed anymore. Affected files are
6122 lib/silcclient/silcapi.h, command[_reply].[ch],
6123 client_notify, idlist.c.
6125 * Fixed GETKEY command to first resolve client, and then
6126 resolve the server only if the client was not found, instead
6127 of resolving both at the same time. Affected file is
6128 lib/silcclient/command.c.
6130 * Added silc_client_start_key_exchange_cb and lookup the
6131 remote hostname and IP address before starting the key
6132 exchange with server. The affected file is
6133 lib/silcclient/client.c.
6135 * The server's public key is now saved using the IP address
6136 of the server and not the servername for the filename.
6137 The hostname public key filename is checked as an fall back
6138 method if the IP address based filename is not found.
6140 Fixed the GETKEY command to save the fetched server key
6141 in correct filename.
6143 Print the remote server's hostname now when new key is
6144 received during connection process. Affected file is
6145 irssi/src/silc/core/client_ops.c.
6147 * Return always our own public key to the client if it asks
6148 for it with GETKEY command. Affected file silcd/command.c.
6150 * Removed the use_auto_addr variable from default config
6151 file since it was in wrong section. Affected file is
6154 * Fixed TOPIC_CHANGE notification to not route it when it
6155 was sent using silc_server_send_notify_to_channel function.
6156 Affected file silcd/command.c.
6158 * Fixed silc_server_send_notify_kicked to send the kicker's
6159 Client ID also, it was missing. Affected files are
6160 silcd/command.c, silcd/packet_send.[ch].
6162 Thu Jan 17 18:59:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6164 * Do not save client history information in SERVER_SIGNOFF.
6165 Fixes the bug in normal server that it does not detect
6166 the client becoming valid after the server becomes back
6167 online. Affected file silcd/server_util.c.
6169 * Added `sock_error' field into the SilcSocketConnection
6170 context. When error occurs during socket operation (read
6171 or write) the error is saved. Added also new function
6172 silc_socket_get_error to return human readable socket error
6173 message. Affected files are lib/silcutil/silcsockconn.[ch],
6174 lib/silcutil/unix/silcunixsockconn.c, and
6175 lib/silcutil/win32/silcwin32sockconn.c.
6177 * The server now prints the socket error message in the
6178 signoff for client. Affected file silcd/server.c.
6180 * Fixed the `created' channel information sending from router
6181 to server in JOIN command. Checks now whether the channel
6182 really was created or not and set it according that.
6184 Fixed the JOIN command to use the client entry's current
6185 ID during the joining procedure instead of the one it sent
6186 in the command (it is checked though), since it can change
6187 between the packet processing and command processing, and
6188 would just case unnecessary pain in the client end. Affected
6189 file silcd/command.c.
6191 * Fixed a channel key payload sending to use correct channel
6192 ID when the server was forced to change the channel's ID by
6193 router. Router sent the key payload with the old Channel ID.
6194 Affected file silcd/packet_receive.c.
6196 Wed Jan 16 22:26:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6198 * Call silc_server_save_channel_key only if the key payload
6199 was provided in the JOIN command's command reply. Affected
6200 file silcd/command_reply.c.
6202 Tue Jan 15 18:49:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6204 * Fixed silc_mp_sizeinbase to return the value correctly with
6205 MPI. Affected file lib/silcmath/mp_mpi.c.
6207 * Fixed the stop_server signal to correctly stop the scheduler
6208 and gracefully stop the server when SIGTERM or SIGINT signals
6209 are received. Affected file silcd/silcd.c.
6211 Mon Jan 7 23:38:19 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
6213 * Simple handling of TERM and HUP signals. Also added some log
6214 flushing call around. Affected file is
6217 * Fixed small bugs in silclog.c. Now buffering output will take
6218 effect after 10 seconds since startup: This will ensure that
6219 no important startup messages are lost. Also output redirection
6220 will preserve original format ([Date] [Type] message).
6221 Affected file is lib/silcutil/silclog.c.
6223 * Added two options to the config file, in the logging section:
6224 quicklogs:<yes/no>: and flushdelay:<seconds>:. Affected files
6225 lib/silcutil/silclog.[ch], silcd/serverconfig.[ch].
6227 Sun Jan 6 12:49:40 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6229 * Do not print the warning about log files not being initialized
6230 more than once to avoid excess logging. Affected file is
6231 lib/silcutil/silclog.c.
6233 * Fixed the SIM compilation in lib/silcsim/Makefile.am. Fixed
6234 the SIM copying in make install in Makefile.am.pre.
6236 Sun Jan 6 01:10:21 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6238 * Rewritten silclog APIs. Globally interesting changes follows:
6239 silc_log_set_files() changed to silc_log_set_file().
6240 silc_log_set_callbacks() changed to silc_log_set_callback().
6241 ROBOdoc documented silclog header file.
6242 SilcLogCb now returns bool to wether inihibit the default
6243 handler or not (to keep the old behaviour return always TRUE).
6244 The new APIs should also fix the problem of the
6245 silcd_error.log file that was written in the current directory.
6248 Log files streams will remain opened after silc_log_set_file()
6249 call, means less CPU usage notably on high traffic servers.
6250 File streams are now full buffered, and flushed to the disk
6251 every 5 minutes, lesses HD activity and CPU usage.
6252 Messages can be redirected, allowing admins to configure
6253 one single logfile for all server messages.
6254 the silc_log_quick global variable to activate fast-logging.
6255 Affected files lib/silcutil/silclog.[ch]
6257 * Changed some code to conform new silclog APIs. Affected
6258 files are doc/example_silcd.conf.in, silcd/server.c
6259 irssi/src/silc/core/silc-core.c, silcd/serverconfig.[ch],
6262 * Fixed a memory leak that could occur in some situations.
6263 Affected file silcd/serverconfig.c.
6265 Sat Jan 5 13:37:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6267 * Added the silc_client_del_client to remove the client from
6268 all channels as well. Affected file lib/silcclient/idlist.c.
6270 * Fixed the client library to correctly remove the client
6271 from all channels when the client entry is being destroyed.
6272 Affected file lib/silcclient/client_notify.c, command.c.
6274 * Added auto-nicking support to the client library. If the
6275 applicatio now sets client->nickname it will be sent to the
6276 server after connecting by the library. This way for example
6277 SILCNICK (or IRCNICK) environment variables will have effect
6278 and always change the nickname automatically to whatever
6279 it is wanted. Affected file lib/silcclient/client.[ch].
6281 * Renamed silc_server_command_bad_chars to the
6282 silc_server_name_bad_chars and moved it to the
6283 silcd/server_util.[ch]. Added also new function
6284 silc_server_name_modify_bad to return nickname that
6285 includes bad characters as new nickname without those
6286 bad characters. This check and modify is now used in
6287 silc_server_new_client when the username is initially set
6288 as nickname, so it must be checked to be valid nickname.
6289 Affected file silcd/packet_receive.c.
6291 * The nickname length is now taken from the packet for real
6292 and not trusted to strlen() since it clearly can return
6293 wrong length for nickname including bad characters. This
6294 also applies to channel names. Affected file silcd/command.c.
6296 * Removed the lib/silcsilm/modules directory. Modules are now
6297 compiled into the lib/silcsim. Fixed the copying of the
6298 modules to follow symbolic links in Makefile.am.pre.
6300 Wed Jan 2 18:56:21 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6302 * Fixed silc_string_regexify list creation. Fixes bugs with
6303 BAN and INVITE commands in server. The affected file is
6304 lib/silcutil/unix/silcunixutil.c.
6306 Sun Dec 30 13:41:34 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6308 * Removed the command destructor entirely from the server's
6309 command and command reply routines. It is not needed, and
6310 its usage was buggy and caused crashes. Affected files are
6311 silcd/command[_reply].[ch].
6313 Fri Dec 28 12:43:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6315 * Cancel protocol and NULL sock->protocol if timeout
6316 occurred during protocol. Affected file silcd/server.c.
6318 * Cancel protocol timeouts always before calling the final
6319 callback, to assure that after final callback is called
6320 no other state will be called for the protocol anymore.
6321 Affected file silcd/protocol.c.
6323 * Print error log if incoming connection configuration could
6324 not be found. Affected file silcd/server.c.
6326 * Fixed JOIN command to correctly save the founder mode
6327 to the client on normal SILC server, when the channel
6328 was created by the router. Affected file silcd/command.c.
6330 * Fixed LIST command (hopefully) to send correct reply
6331 packets. Affected file silcd/command.c.
6333 Thu Dec 20 16:14:52 CET 2001 Pekka Riikonen <priikone@silcnet.org>
6335 * The silc_packet_receive_process now returns FALSE if the
6336 read data was invalid packet, and TRUE if it was ok.
6338 The server now checks that if unauthenticated connection
6339 sends data and its processing fails the server will close
6340 the connection since it could be a malicious flooder.
6342 Affected files lib/silccore/silcpacket.[ch], silcd/server.c.
6344 Wed Dec 19 21:31:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6346 * Make sure the warning about error opening a log file is
6347 printed only once and not everytime it fails (produces
6348 too much useless log). Affected file lib/silcutil/silclog.c.
6350 Wed Dec 19 18:21:51 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6352 * Made the silc_server_daemonise() function more readable.
6353 Affected file silcd/server.c.
6355 * Pid file is now optional, the user may comment it out from
6356 the config file. Removed define SILC_SERVER_PID_FILE, we
6357 don't need a default any longer. Affected file
6358 configure.in.pre, lib/Makefile.am.pre.
6360 * Make some use of the pid file. The server now dies at startup
6361 if it detects a valid pid file on his path. The server would
6362 die anyway in this circumstance, because of the bind() failure.
6363 Affected file silcd/silcd.c.
6365 * No longer compiling lib/dotconf.
6367 Mon Dec 17 18:24:27 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6369 * Fixed JOIN command parsing not to crash. Affected file
6370 lib/silcclient/command.c.
6372 * Fied the NICK_CHANGE notify to add the new client entry
6373 even it is resolved. This removes an <[unknown]> nick
6374 thingy bug in the client. Affected file is
6375 lib/silcclient/client_notify.c.
6377 * Do not try to allocate 0 bytes (efence does not like it)
6378 in lib/silccore/silccomand.c when encoding payload.
6380 * Do not take IRCNICK as nickname in Irssi SILC client since
6381 it is not possible to set nickname before hand connecting
6382 the server (TODO has an entry about adding auto-nicking
6385 * Changed the silc_server_command_pending to check whether
6386 there already exists an pending entry with the specified
6387 command, command identifier and pending callback. This is
6388 to fix IDENTIFY and WHOIS related crashes that may register
6389 multiple pending commands with same identifier. Affected
6390 file silcd/command.c.
6392 * Fixed the server to reconnect to the router even if it
6393 was already reconnecting and EOF was received. This to
6394 fix a possibility that the server wouldn't ever try to
6395 auto-reconnect to the router. Affected file silcd/server.c.
6397 Sat Dec 15 20:31:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6399 * Fixed the server's password authentication to use the
6400 length of the locally saved password, and not the one
6401 sent in the packet. Affected file silcd/protocol.c.
6403 * Fixed same password authentication problem in the
6404 Authentication Payload handling routines in
6405 lib/silccore/silcauth.c.
6407 * Yet another password authentication problem fixed with
6408 channel password handling in silcd/command.c.
6410 Mon Dec 10 19:57:40 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6412 * If first character of string in silc_parse_userfqdn is '@'
6413 then do not parse it. Affected file is
6414 lib/silcutil/silcutil.c.
6416 Sun Dec 9 22:18:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6418 * Fixed minor bug in IDENTIFY command reply sending, which
6419 caused various weird problems during JOIN when it was
6420 resolving names for users. Affected file silcd/command.c.
6422 Sun Dec 9 19:18:41 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6424 * Fixed the IDENTIFY command reply sending to chech better valid
6425 clients. It was possible to send incomplete list of replies.
6426 Affected file silcd/command.c.
6428 Sat Dec 8 15:58:31 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6430 * Added silc_client_command[s]_[un]register functions now to
6431 dynamically register the commands in client library. Removed
6432 the static table of commands. This allows the client library
6433 to call commands without causing the application to know about
6434 what commands library has called.
6436 Removed the INFO command reply kludge to detect when the command
6437 was called by library. Now library use its own command reply
6438 function for INFO command.
6440 Added function silc_client_command_call to call a command.
6441 Application can use it to call command, not access the structure
6444 Now all commands that are sent by the client library (not
6445 explicitly sent by application) use own command reply functions.
6447 Affected files around lib/silcclient/ and in
6448 irssi/src/silc/core/.
6450 * Fixed the WHOIS command reply sending to chech better valid
6451 clients. It was possible to send incomplete list of replies.
6453 Fixed the WHOIS and IDENTIFY to send the request to router
6454 if normal server did not do it and did not find any results.
6456 Affected file silcd/command.c.
6458 Thu Dec 6 17:21:06 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6460 * Moved the internal data from SilcClient context into its
6461 own file, not accesible to application. Affected files
6462 lib/silcclient/client.h and lib/silcclient/client_internal.h,
6463 and other files in client library.
6465 Thu Dec 6 10:37:55 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6467 * Added doc/examples installation target in Makefile.am.pre.
6470 Tue Dec 4 17:43:19 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6472 * If NO_SUCH_CLIENT_ID notify is received for WHOIS or IDENTIFY
6473 commands the found client entry will be removed from the
6474 cache, after notifying application about the error. Affected
6475 file lib/silcclient/command_reply.c.
6477 * Changed the /MSG to check for exact nickname user gave, and
6478 not let `nick' match `nick@host' if it is only one found. Now,
6479 user must type the exact nickname (like nick@host2) even if
6480 there are no more than one same nicks found. This is to avoid
6481 a possibility of sending nickname to wrong nickname since
6482 `nick' could match `nick@host'. Affected file is
6483 irssi/src/core/silc-servers.c.
6485 Mon Dec 3 18:49:45 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6487 * Do not print "you are now server operator" or similar when
6488 giving /away command. Affected files are
6489 irssi/src/silc/core/client_ops.c, silc-servers.h.
6491 * Made the silc_server_command_pending_error_check to send
6492 the same command reply payload it received back to the
6493 original sender of the command. This way all arguments
6494 that was received by the server will be received by the
6495 client too. Affected file silcd/command.c.
6497 * Added the silc_idcache_add to return the created cache entry
6498 to a pointer. Affected file lib/silccore/silcidcache.[ch].
6500 * Add global clients to expire if they are not on any channel.
6501 This is because normal server will never know if they signoff
6502 if they are not on any channel. The cache expiry will take
6503 case of these entries. This is done by normal servers only.
6504 The affected files are silcd/command_reply.c,
6505 silcd/idlist.[ch], silcd/server and silcd/packet_receive.c.
6507 * If server receives invalid ID notification for WHOIS or
6508 IDENTIFY and the ID exists in the lists, it is removed.
6509 Affected file silcd/command_reply.c.
6511 * If NO_SUCH_CLIENT_ID is received for WHOIS or IDENTIFY command
6512 in client then client entry that it matches is searched and
6513 the nickname is printed on the screen for user. Affected
6514 file irssi/src/silc/core/client_ops.c.
6516 Mon Dec 3 11:56:59 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6518 * Use cache entry expire time in the LIST command reply to
6519 purge old entries from the cache after the LIST command
6520 reply has been received. This way we don't have non-existent
6521 entries in the cache for too long. Affected file is
6522 silcd/command_reply.c.
6524 Sun Dec 2 23:29:07 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6526 * If we are normal server, and we've not resolved client info
6527 in WHOIS or IDENTIFY from router, and it is global client,
6528 we'll check whether it is on some channel. If it is not
6529 then we cannot be sure about its validity and will resolve it
6530 from router. Fixes a bug in WHOIS and IDENTIFY. Affected
6531 file silcd/command.c.
6533 * Search channel by name (if possible) rather than by ID
6534 in IDENTIFY command's command reply. Affected file is
6535 silcd/command_reply.c.
6537 Sun Dec 2 13:48:46 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6539 * Distribute to the channel passphrase in CMODE_CHANGE notify.
6540 Updated specs and implemented it. Affected file silcd/command.c,
6541 silcd/packet_send.c and silcd/packet_receive.c.
6543 * Implemented the <founder auth> payload handling in the JOIN
6544 command. If provided all conditions for channel joining
6545 except requirement to provide correct passphrase can be
6546 overrided by the channel founder. Updated the protocol specs.
6547 Affected file silcd/command.c.
6549 Added support for founder auth in JOIN command in client
6550 library. Fixed the parsing of the JOIN command now to support
6551 all options as they should be. The affected file is
6552 lib/silcclient/command.c.
6554 * Optimized the WHOIS and IDENTIFY commands to send the request
6555 to router only if it includes nicknames or other names. If
6556 they include only IDs then check the local cache first before
6557 routing. Affected file is silcd/command.c.
6559 * Added channels topic announcements. Affected file is
6560 silcd/packet_receive.c and silcd/server.c.
6562 * Fixed the silc_server_send_notify_topic_set to really destine
6563 the packet to channel. Affected file silcd/packet_send.c.
6565 * Fixed a crash in CHANNEL_CHANGE notify handling in the client
6566 library. Affected file lib/silcclient/client_notify.c.
6568 * Added UMODE announcements. Affected file silcd/server.c.
6570 Sat Dec 1 12:52:39 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6572 * Memory leak fixes in:
6574 lib/silcutil/silcsockconn.c
6575 lib/silcske/silcske.c
6576 lib/silcske/groups.c
6578 lib/silccrypt/silcpkcs.c
6579 lib/silccore/silccommand.c
6580 lib/silccore/silcidcache.c
6585 * ROBOdoc documented the lib/silcske/groups.h file and a
6586 bit changed the interface for better.
6588 Thu Nov 29 22:12:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6590 * Update the client entry context in the ID cache after
6591 nick change. Affected file lib/silcclient/command.c.
6592 Fixes the CUMODE command when regaining founder privileges,
6593 and a little WHOIS problem.
6595 * Fixed silc_net_gethostbyname to correctly call the
6596 inet_ntop. Affected file lib/silcutil/silcnet.c.
6598 Thu Nov 29 19:31:23 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6600 * Added IPv6 support checking to the configure.in.pre, added
6601 also --enable-ipv6 option to override the check. Affected
6602 file configure.in.pre.
6604 * The silc_thread_create now calls the start function
6605 directly if threads support is not compiled in. Removes
6606 ugly #ifdef's from generic code. Affected files are
6607 lib/silcutil/unix/silcunixthread, win32/silcwin32thread.c.
6609 * Added silc_net_gethostby[name/addr]_async to asynchronously
6610 resolve. Affected files are lib/silcutil/silcnet.[ch].
6612 * Added support for rendering IPv6 based server, client and
6613 channel IDs. Affected file lib/silcutil/silcutil.c.
6615 * Added support for creating IPv6 based server IDs. Affected
6616 file is silcd/serverid.c.
6618 Wed Nov 28 23:46:09 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6620 * Added silc_net_gethostby[addr/name] into the
6621 lib/silcutil/silcnet.[ch]. Added IPv6 support to Unix network
6622 routines. Added silc_net_is_ip[4/6]. Affected file is
6623 lib/silcutil/unix/silcunixnet.c. All routines that take
6624 address as argument now supports both IPv4 and IPv6 addresses.
6626 Mon Nov 26 18:09:48 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6628 * Fixed LIST command reply sending in server. Affected file
6631 * Server now sends the kicker's client ID in the KICK notify
6632 to the kicked client. Affected file silcd/command.c.
6634 * The client library now parses the kickers client ID and
6635 UI displays it. Affected files lib/silcclient/client_notify.c
6636 and irssi/src/silc/core/silc-channels.c, module-formats.c.
6638 * Made all payload parsing function prototypes consistent.
6639 They all take now const unsigned char * and uint32 pair as
6640 the payload data instead of SilcBuffer. Changes all around
6641 the source tree. Other unsigned char* -> const unsigned char*
6642 changes around the tree as well.
6644 * Optimized SFTP client and server packet sending not to
6645 allocate new buffer for each packet but to recycle the
6646 first allocated buffer. Affected files are
6647 lib/silcsftp/sftp_client.c, sftp_server.c, sftp_util.[ch].
6649 * Optimized the SFTP client to use SilcList instead of
6650 SilcDList for requests, because it is faster. Affected file
6651 is lib/silcsftp/sftp_client.c.
6653 * Moved the ID Payload routines from lib/silccore/silcpayload.[ch]
6654 into lib/silccore/silcid.[ch].
6656 Renamed silcpayload.[ch] into silcargument.[ch].
6658 Mon Nov 26 15:01:53 CET 2001 Pekka Riikonen <priikone@silcnet.org>
6660 * If client entry is deleted with active key agreement
6661 session, abort the session.
6663 The silc_client_abort_key_agreement now calls the completion
6664 callback with new SILC_KEY_AGREEMENT_ABORTED status.
6666 Affected file lib/silcclient/silcapi.h, client_keyagr.c and
6669 Sun Nov 25 18:01:45 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6671 * Don't use __restrict in older GCC's. Affected file is
6672 lib/silcmath/mpi/mpi-priv.h. A patch by salo.
6674 * silc_net_localhost now attempts to reverse lookup the
6675 IP/hostname. Affected file lib/silcutil/silcnet.c.
6677 * Defined <founder auth> argument to the SILC_COMMAND_JOIN
6678 command. It can be used to gain founder privileges at
6679 the same time when joining the channel.
6681 Defined that the SILC_NOTIFY_TYPE_KICKED send the
6682 kicker's client ID as well. Updated protocol specs.
6684 Defined that the server must send SILC_COMMAND_IDENTIFY
6685 command reply with error status to client who sent
6686 private message with invalid client ID.
6688 Updated the protocol specification.
6690 * Added silc_server_send_command_reply to send any
6691 command reply. Affected file silcd/packet_send.[ch].
6693 * Added silc_id_payload_encode_data to encode ID payload
6694 from raw ID data. Affected file lib/silccore/silcpayload.[ch].
6696 * The server now send IDENTIFY command reply with error
6697 status if client ID in private message is invalid. Affected
6698 file silcd/packet_receive.c.
6700 * Save the server key file with server's IP address in
6701 the filename instead of hostname. The affected file is
6702 irssi/src/silc/core/client_ops.c.
6704 Sat Nov 24 20:08:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6706 * Typo fixes in irssi/src/fe-common/silc/module-formats.c.
6709 * Added libtool support for compiling shared objects in
6710 lib/silcsim. Affected file configure.in.pre and
6711 lib/silcsim/Makefile.am. Original patch by cras.
6713 Fri Nov 23 23:30:59 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6715 * Pid file configuration, and server's config file fixes
6716 patch by toma. Updated CREDITS file.
6718 Sun Nov 18 01:34:41 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6720 * Fixed silc_client_channel_message to not try to decrypt
6721 the message twice if it resolved the destination client
6722 information. This could cause of dropping one channel
6723 message. Affected file lib/silcclient/client_channel.c.
6725 Wed Nov 14 23:44:56 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6727 * Added silc_client_run_one into lib/silcclient/silcapi.h and
6728 lib/silcclient/client.c. This function is used when the SILC
6729 Client is run under some other scheduler, or event loop or
6730 main loop. On GUI applications, for example this may be
6731 desired to used to run the client under the GUI application's
6732 main loop. Typically the GUI application would register an
6733 idle task that calls this function multiple times in a second
6734 to quickly process the SILC specific data.
6736 Wed Nov 14 19:16:52 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6738 * Fixed silc_server_drop() for dropping the supplementary
6739 groups as well, this could cause a security hole on some
6742 Wed Nov 14 16:22:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6744 * __pid_t -> pid_t in lib/silccrypt/silcrng.c. A patch by
6747 * Write PID file after dropping privileges. Added -F option
6748 to run server on foreground. A patch by debolaz.
6749 Affected files silcd/server.c, silcd/silcd.c.
6751 * Fixed MOTD to return the MOTD file server name. Affected
6752 file silcd/command.c.
6754 * Added INFO command reply handling to the Irssi SILC Client.
6755 Affected file irssi/src/silc/core/client_ops.c.
6757 Wed Nov 14 00:18:08 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6759 * Fixed the silc_idcache_list_* routines to really support
6760 the dynamic list. Fixes a crash. Affected file is
6761 lib/silccore/silcidcache.c.
6763 * Fixed the LIST command reply to really call LIST command's
6764 pending callbacks. Affected file silcd/command_reply.c.
6766 Tue Nov 13 00:49:17 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6768 * Update conn->local_entry->nickname after giving NICK
6769 command. Affected file lib/silcclient/command.c.
6771 Sun Nov 11 23:43:02 PST 2001 Brian Costello <bc@wpfr.org>
6773 * Added the [pid] option to the silcd configuration file
6775 Affected files: serverconfig.[ch] and silcd.c
6777 Sun Nov 11 23:56:39 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6779 * Save fingerprint in WHOIS command reply in server.
6780 Affected file silcd/command_reply.c.
6782 * Fixed NICK commands pending callback registration.
6783 Affected file lib/silcclient/command.c.
6785 Sun Nov 11 10:49:10 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6787 * Use ++server->cmd_ident when sending commands in server,
6788 instead of random number. Affected file silcd/command.c.
6790 * Fixed GETKEY command reply to call actually GETKEY pending
6791 command callbacks. Affected file silcd/command_reply.c.
6793 * A bit stricter check for nicknames. Check for same nickname
6794 in NICK command also. Affected file silcd/command.c.
6796 * Do not call INFO command everytime client ID changes, only
6797 during first connecting. Affected file lib/silcclient/client.c.
6799 * Set the new nickname only after successful command reply for
6800 NICK command is returned by server. Affected file
6801 lib/silcclient/command.c.
6803 * Remove nicknames from nicklist during server_signoff notify.
6804 Should fix /NAMES bit more. The affected file is
6805 irssi/src/silc/core/silc-channels.c.
6807 * Added `fingerprint' field to the SilcIDListData in the
6808 silcd/idlist.h to hold the fingerprint of the client's
6811 Send the fingerprint of the client's public key in WHOIS
6814 Affected files silcd/command.c, and silcd/idlist.[ch].
6816 * Added silc_fingerprint into lib/silcutil/silcutil.[ch] to
6817 create fingerprint from given data.
6819 * Show the fingerprint of the client's public key in WHOIS.
6820 Affected files irssi/src/module-formats.[ch] and
6821 irssi/src/silc/core/client_ops.c.
6823 * Format the multiple same nicknames also during JOIN and
6824 NICK_CHANGE notifys. Affected file is
6825 lib/silcclient/client_notify.c.
6827 * Do not print error on screen for invalid private message
6828 payload since it can come if someone is sending private
6829 messages with wrong key. Affected file
6830 lib/silccore/silcprivate.c.
6832 * Fixed multiple concurrent /PING crash. Affected file
6833 lib/silcclient/command.c.
6835 * Changed the wrong ID encoding. All IP addresses must be
6836 in MSB first order in encoded format. They were encoded
6837 wrong and was in LSB format. Affected files are
6838 silcd/serverid.c, lib/silcutil/silcutil.c.
6840 * Remove silc_net_addr2bin_ne from lib/silcutil/silcnet.[ch].
6842 * Call the `connect' client operation through the scheduler
6843 in case of error. Affected file lib/silcclient/client.c.
6845 * Call the `failure' client operation even if the error
6846 occurred locally during a protocol. Affected file is
6847 lib/silcclient/protocol.c.
6849 * Added support of sending LIST command to router from normal
6850 server. This way normal server can get list of all channels
6851 in the network too. Fixed the channel list sending in the
6852 server too. Affected files are silcd/command.c, and
6853 silcd/command_reply.[ch].
6855 * Added silc_server_update_channels_by_server and
6856 silc_server_remove_channels_by_server. They are used during
6857 disconnection of primary router and in backup router protocol.
6858 Affected file silcd/server_util.[ch], silcd/server.c and
6859 silcd/server_backup.c.
6861 * Fixed channel adding to global list in IDENTIFY command
6862 reply in server. Affected file silcd/command_reply.c.
6864 Sat Nov 10 21:39:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6866 * If the incoming packet type is REKEY or REKEY_DONE process
6867 that packet always synchronously. Fixes yet another MAC
6868 failed error on slow (dialup) connections. Affected file
6869 lib/silcclient/client.c and silcd/server.c.
6871 Thu Nov 8 22:21:09 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6873 * Call check_version SKE callback for initiator too. Affected
6874 file lib/silcske/silcske.c.
6876 * Implemented fix for security hole found in the SKE that was
6877 fixed in the specification few days back; the initiator's
6878 public key is now added to the HASH value computation.
6879 Added backwards support for the old way of doing it too, for
6880 old clients and old servers. Affected file is
6881 lib/silcske/silcske.c.
6883 * Enabled mutual authentication by default in SKE. If initiator
6884 is not providing mutual authentication the responder will
6885 force it. This will provide the proof of posession of the
6886 private key for responder. The affected files are
6887 lib/silcclient/protocol.c and silcd/protocol.c.
6889 * Do not cache anymore the server's public key during SKE.
6890 We do mutual authentication so the proof of posession of
6891 private key is done, and if the server is authenticated in
6892 conn auth protocol with public key we must have the public
6893 key already. Affected file silcd/protocol.c.
6895 * Added new global debug variable: silc_debug_hexdump. If
6896 it is set to TRUE SILC_LOG_HEXDUMP will be printed. Affected
6897 file lib/silcutil/silclog.[ch].
6899 * Fixed compilation warning due to char * -> const char *.
6900 Affected files lib/silcutil/silcnet.h, and
6901 lib/silccore/silcauth.[ch].
6903 Wed Nov 7 20:43:03 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6905 * Fixed CMODE command when new channel key was created. If
6906 the creation failed the old key was removed. Next time giving
6907 same command would crash the server since the old key was
6908 freed already. Affected file silcd/command.c.
6910 * Fixed the silc_server_announce_get_channels to not crash
6911 on reconnect. Affected file silcd/server.c.
6913 Wed Nov 7 17:15:07 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6915 * Added silc_log_set_debug_string function to set a regex
6916 string to match for debug output. Only the function names,
6917 or filenames matching the given debug string is actually
6918 printed. This way it is possible to filter out those debug
6919 strings that user is not interested in.
6921 Fixed a bug in silc_string_regexify.
6923 Affected files lib/silcutil/silclog.[ch], and
6924 lib/silcutil/unix/silcunixutil.c.
6926 * Changed the -d options in both server and Irssi SILC client
6927 to take the debug string as argument. Affected files
6928 silcd/silcd.c and irssi/src/silc/core/silc-core.c.
6930 Tue Nov 6 21:31:54 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6932 * Added silc_hash_babbleprint to create a Bubble Babble
6933 Encoded fingerprint. The encoding is developed by Antti
6934 Huima (draft-huima-babble-01.txt), and it creates human
6935 readable strings out of binary data. Affected file
6936 lib/silccrypt/silchash.[ch].
6938 * Print the babble print now in addition of fingerprint as well
6939 in Irssi SILC client. Affected files are
6940 irssi/src/fe-common/silc/module-formats.[ch],
6941 irssi/src/fe-common/silc/core/client_ops.c.
6943 Sun Nov 4 23:37:28 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6945 * Fixed a security problem found in SKE. The initiator's
6946 public key too is now added to the HASH hash value creation
6947 which is signed by the responder to create the SIGN value.
6948 This will prevent anyone in the middle to lie to the responder
6949 about the initiator's public key. If this is done now, the
6950 man in the middle will get caught. Updated the protocol
6953 Sun Nov 4 11:43:53 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6955 * Better installation directory handling. Configure module
6956 paths and other paths automatically to example_silc* files
6957 in doc/. A patch by toma.
6959 * Fixed compiler warning from MPI library, and from SILC RNG.
6962 * Added SILC_SERVER_PID_FILE to define the pid file for server.
6963 It can be configured with ./configure. A patch by toma.
6965 Sat Nov 3 23:48:23 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6967 * Find correct make to use in prepare-clean. A patch by
6968 toma. Affected file prepare-clean.
6970 Sat Nov 3 22:04:00 PST 2001 Brian Costello <bc@mksecure.com>
6972 * Added irssi variables use_auto_addr, auto_bind_ip,
6973 auto_bind_port and auto_public_ip.
6975 * Changed the interface for silc_client_send_key_agreement
6976 in lib/silcclient/silcapi.h
6980 irssi/src/silc/core/silc-core.c
6982 lib/silcclient/silcapi.h
6983 irssi/src/silc/core/silc-channels.c
6984 lib/silcclient/client_keyagr.c
6987 Sat Nov 3 17:48:55 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6989 * Added silc_pkcs_public_key_compare to compare two
6990 public keys. Affected file lib/silccrypt/silcpkcs.[ch].
6992 * Check that the client who set the founder mode on the
6993 channel is the same client that is giving the founder
6994 mode to itself. It is done by comparing the saved public
6995 key (it is saved even in the authentication is passphrase).
6996 Affected file silcd/command.c.
6998 Fri Nov 2 18:52:08 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7000 * Do not process packet for disconnected socket connection.
7001 Affected file lib/silccore/silcpacket.c.
7003 * Process the DISCONNECT packet through scheduler in the
7004 client library. Affected file lib/silcclient/client.c.
7006 * Fixed the silc_client_packet_parse to not to increase
7007 the packet sequence number if the conn->sock and the
7008 current socket connection is not same. This can happen
7009 for example during key agreement when the conn includes
7010 multiple socket connections (listeners). Affected file
7011 lib/silcclient/client.c.
7013 * The sender of the file transfer request now provides also
7014 the pointer (listener) for the key exchange protocol. If
7015 the listener cannot be created then it sends empty key
7016 agreement and lets the receiver provide the listener.
7018 Added `local_ip' and `local_port' arguments to the
7019 silc_client_file_send. If they are provided they are used,
7020 if not then it will attempt to find local IP address, if
7021 not found or bind fails then the remote client will provide
7024 Affected files are lib/silcclient/client_ftp.c and
7025 lib/silcclient/silcapi.h.
7027 * Extended the FILE SEND command to support defining the
7028 local IP and port for key exchange listener. They are
7029 optional. Affected file irssi/src/silc/core/silc-servers.c.
7031 Thu Nov 1 22:10:07 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7033 * Defined to WHOIS command reply the sending of fingerprint
7034 of the client's public key (if the proof of posession of the
7035 corresponding private key is verified by the server).
7036 Updated to the protocol specification.
7038 * Added support of receiving the client's public key's
7039 fingerprint in command reply in client library. Affected
7040 file is lib/silcclient/command_reply.c, and
7041 lib/silcclient/idlist.[ch].
7043 Thu Nov 1 18:06:12 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7045 * Do not send over 128 chars long nickname to the server
7046 in NICK command. Affected file lib/silcclient/command.c.
7048 * Do not send over 256 chars long channel names to the server
7049 in JOIN command. Affected file lib/silcclient/command.c.
7051 Tue Oct 30 22:48:59 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7053 * Assure that silc_server_close_connection cannot be called
7054 twice for same socket context. Affected file is
7057 Tue Oct 30 16:58:14 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7059 * Send error message to application if opening file for
7060 writing during file transfer fails. Affected file is
7061 lib/silcclient/client_ftp.c.
7063 Remove all file transfer sessions for a client that we're
7064 removing from ID cache.
7066 Affected file is lib/silcclient/client_ftp.c.
7068 * Fixed silc_net_addr2bin to return correct address. Affected
7069 file lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
7071 * Fixed file transfer session removing on signoff notify.
7072 Affected file irssi/src/silc/core/silc-servers.c.
7074 * Added the SilcClientFileError to be returned in the monitor
7075 callback. Added NO_SUCH_FILE and PERMISSION_DENIED errors.
7076 Affected file lib/silcclient/silcapi.h.
7078 Mon Oct 29 17:43:04 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7080 * Fixed a crash in silc_client_ftp_free_sessions and
7081 silc_client_ftp_session_free_client. Affected file
7082 lib/silcclient/client_ftp.c.
7084 * Added `disabled' field in the SilcChannelEntry in the server
7085 to indicate if the server entry is disabled. Affected file
7086 silcd/idlist.h, silcd/command[_reply].c.
7088 * SILC server adds now /var/run/silcd.pid everytime it is
7089 started. Affected file silcd/silcd.c.
7091 * Added silc_server_packet_send_clients to send a packet to
7092 the provided table of client entries. Affected file
7093 silcd/packet_send.[ch].
7095 * Fixed a crash in client resolving in client_prvmsg.c in
7096 client library. Affected file lib/silcclient/client_prvmsg.c.
7098 * Do not actually remove the client directly from ID cache
7099 during SERVER_SIGNOFF, but invalidate it. This way we
7100 preserve the WHOWAS info for the client. Affected file
7101 silcd/server_util.c.
7103 * Fixed SERVER_SIGNOFF notify handling in the server. The
7104 server is now able to process incoming SERVER_SIGNOFF notify
7105 for a server that it doesn't even know about. It will remove
7106 the clients provided in the notify. Affected file
7107 silcd/packet_receive.c.
7109 * Check for partial packet in data queue after every packet that
7110 was found from the queue. Return and wait for more data if
7111 there is partial data in queue. Affected file is
7112 lib/silccore/silcpacket.c.
7114 Sun Oct 28 18:46:27 EST 2001 Pekka Riikonen <priikone@silcnet.org>
7116 * Added SilcClietFileError enum to indicate error in
7117 file transfer. Added SILC_CLIENT_FILE_MONITOR_KEY_AGREEMENT
7118 and SILC_CLIENT_FILE_MONITOR_ERROR new monitor statuses.
7119 Affected files lib/silcclient/silcapi.h and
7120 lib/silcclient/client_ftp.c.
7122 * Check that newsize in silc_buffer_realloc is larger than
7123 the old buffer's size. Affected file lib/silcutil/silcbufutil.h.
7125 * Added better monitor of file transfers. It now monitors
7126 key agreement protocol during the file transfer too. Added
7127 error reporting too. Affected files
7128 irssi/src/silc/core/silc-servers.c,
7129 irssi/src/fe-common/silc/module-formats.[ch].
7131 * Wrote a help file for FILE command.
7133 * Added silc_rng_global_get_byte_fast to get not-so-secure
7134 random data as fast as possible. Random data is read from
7135 /dev/urandom if available and from the SILC RNG if not
7136 available. It is used in padding generation. Affected file
7137 lib/silccrypt/silcrng.[ch].
7139 * All packets in client library are now processed synchronously.
7140 Optimized packet processing a lot. Affected file
7141 lib/silcclient/client.c.
7143 * All server connection packets are processing synchronously
7144 now in server, to optimize packet processing. Affected file
7147 * Include files are installed now only in Toolkit distribution
7148 if make install is given. Affected files: all Makefile.am's.
7150 Thu Oct 25 22:44:06 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7152 * Assure that silc_client_notify_by_server_resolve does not
7153 resolve the client information multiple times. If it cannot
7154 be found by the first it cannot be found at all. Affected
7155 file lib/silcclient/client_notify.c.
7157 * Fixed WHOWAS command reply calling. Affected file
7158 lib/silcclient/command_reply.c.
7160 * Removed all references to silc_idlist_get_client from the
7161 Irssi SILC client since that call is internal call used by
7162 the library. The Irssi SILC client will use now client
7163 retrieval functions found in silcapi.h.
7165 * Fixed a bug in resolving nickname info before sending
7166 private message. It used freed memory. Affected file
7167 irssi/src/silc/core/silc-servers.c.
7169 Thu Oct 25 19:04:49 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7171 * Assure my_channels statistics cannot go negative in server.
7172 Affected files silcd/server.c, silcd/server_util.c.
7174 Wed Oct 24 19:53:05 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7176 * Upgraded dotconf 1.0.2 to 1.0.6 in lib/dotconf.
7178 Tue Oct 23 13:51:19 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7180 * Win32 Toolkit changes. Affected files
7181 win32/silc.dsw, win32/libsilc/libsilc.def,
7182 win32/libsilcclient/libsilc.def,
7183 lib/silcutil/silcutil.c, and
7184 lib/sftp/sftp_fs_memory.c.
7186 Mon Oct 22 16:35:05 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7188 * Added silc_net_localip to return local host's IP address.
7189 Affected file lib/silcutil/silcnet.[ch].
7191 * If key exchange or rekey protocol is active for a connection
7192 parse all packets syncronously since there might be packets
7193 in packet queue that we are not able to process without first
7194 processing packets before them. Affected file silcd/server,
7195 lib/silcclient/client.c.
7197 * SilcPacketParserCallback now returns TRUE or FALSE to indicate
7198 whether library should continue processing the packet.
7199 Affected file lib/silccore/silcpacket.h.
7201 * Added SilcSFTPMonitor callback, SilcSFTPMonitors and
7202 SilcSFTPMonitorData to SFTP server to monitor various
7203 SFTP client requests. Affected file lib/silcsftp/silcsftp.h,
7204 lib/silcsftp/sftp_server.c.
7206 * Added silc_file_size to return file size. Affected file
7207 lib/silcutil/silcutil.[ch].
7209 * Implemented the file transfer support for the client library.
7210 Added preliminary support for simple client to client one-file
7211 transmission. Affected file lib/silcclient/client_ftp.c,
7212 lib/silccilent/client.[ch].
7214 * Added new local command FILE to the Irssi SILC Client.
7215 It is used to perform the file transfer. It has subcommands
7216 SEND, RECEIVE, SHOW and CLOSE. Affected files
7217 irssi/src/silc/core/client_ops.c,
7218 irssi/src/silc/core/silc-server.[ch].
7220 Mon Oct 22 12:50:08 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7222 * Relay the SILC_PACKET_FTP in the server. Affected files
7223 silcd/server.c and silcd/packet_receive.c.
7225 Sun Oct 21 20:21:02 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7227 * Renamed silc_file_read and silc_file_write to functions
7228 silc_file_readfile and silc_file_writefile. Added function
7229 silc_file_open and silc_file_close. Affected files
7230 lib/silcutil/silcutil.[ch].
7232 Thu Oct 18 20:58:13 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7234 * Resolve the client info when received private message or
7235 channel message for a client which nickname we don't know.
7236 Affected files lib/silcclient/client_prvmsg.c and
7237 lib/silcclient/client_channel.c.
7239 * Do not crash in /KEY if client is not connected. Affected
7240 file irssi/src/silc/core/silc-channels.c.
7242 * Added SilcClientStatus field to the SilcClientEntry in the
7243 lib/silcclient/idlist.h.
7245 Added SILC_CLIENT_STATUS_RESOLVING to mark that the entry
7246 is incomplete and is being resolved, it won't be resolved
7249 Make sure also that USERS command reply does not resolve
7250 twice information. Affected file is
7251 lib/silcclient/command_reply.c.
7253 Make sure that silc_client_get_clients_by_list does not
7254 resolve twice same information.
7256 * Check for valid client->id in the silc_server_free_client_data.
7257 Affected file silcd/server.c.
7259 * Fixed /GETKEY nick@server not to crash if the server entry
7260 is not found. Affected file lib/silcclient/command.c.
7262 * Fixed the silc_server_check_cmode_rights to check the
7263 requested modes correctly. Affected file silcd/command.c.
7265 Thu Oct 18 12:10:22 CEST 2001 Pekka Riikonen <priikone@silcnet.org>
7267 * Better checks for non-printable chars in nick added.
7268 Affected file silcd/command.c.
7270 Thu Oct 18 09:18:58 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7272 * Call the silc_server_udpate_servers_by_server in the
7273 primary router that comes back online in the backup resuming
7274 protocol. Otherwise it routes packets wrong. Affected file
7275 silcd/server_util.[ch], silcd/server_backup.c.
7277 Wed Oct 17 16:51:18 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7279 * Added SILC_STR_UI8_[N]STRING[_ALLOC] formats to the
7280 lib/silcutil/silcbuffmt.[ch].
7282 * Redefined the SILC packet header to include the padding
7283 length. Affected file lib/silccore/silcpacket.[ch].
7285 * Added SILC_PACKET_PADLEN_MAX macro to return the padding
7286 length for maximum padding up to 128 bytes). Affected
7287 file lib/silccore/silcpacket.h.
7289 * Removed all backwards support for old 0.5.x MAC thingies.
7290 The SILC packet header change makes it impossible to be
7291 backwards compatible.
7293 * Send the ENDING packet with timeout in the backup resuming
7294 protocol. This is to assure that all routers has connected
7295 to the primary router. Affected file silcd/server_backup.c.
7297 * Changed the RNG to take the first IV from random data. It
7298 used to take it from zero actually. Changed the RNG also
7299 to use /dev/urandom during session. /dev/random is used
7300 in initialization. Affected file lib/silccrypt/silcrng.[ch].
7302 Tue Oct 16 20:45:49 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7304 * Changed the SILC packet header to have the first two bytes
7305 (the packet length) encrypted. Affected files aroung the
7306 code tree, lib/silccore/silcpacket.[ch]. Removed the
7307 SilcPacketCheckDecrypt callback. It is not needed anymore
7308 since the silc_packet_receive_process will determine now
7309 whether the packet is normal or special.
7311 * Implemented the unidirectional MAC keys. Affected files
7312 lib/silcske/silcske.c, silcd/protocol.c and
7313 lib/silcclient/protocol.c.
7315 * Implemented the packet sequence number to the MAC computation.
7316 Affected files lib/silccore/silcpacket.c, silcd/protocol.c,
7317 silcd/packet_send.c, silcd/server.c, lib/silcclient/client.c,
7318 lib/silcclient/protocol.c.
7320 Mon Oct 15 17:42:55 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7322 * Allow backup router to announce servers. All servers
7323 announced by backup router are added to the global list
7324 automatically. Update hte server's socket to our primary
7325 router also when backup router announces a server.
7326 Affected file silcd/packet_receive.c.
7328 * Do not update the client->router in the function
7329 silc_server_udpate_clients_by_server if the client is on
7330 global list. We might fail to find any specific server
7331 for locally connected clients and local cell clients. They
7332 should still use the `from' and not `to' as client->router.
7333 This fixes backup router resuming protocol. Affected file
7334 silcd/server_util.c.
7336 * Decrease channel statistics count only if the channel
7337 deletion worked. Affected files are silcd/server.c and
7338 silcd/server_util.c.
7340 * Added silc_server_update_servers_by_server to update origin
7341 of all server entries. Used during backup router protocol.
7342 Affected files silcd/server_util.[ch], silcd/server.c. and
7343 silcd/backup_router.c.
7345 * ROBODoc documented the lib/silccrypt/silchmac.h. Added new
7346 function silc_hmac_init, silc_hmac_update, silc_hmac_final,
7347 silc_hmac_get_hash and silc_hmac_get_name. Affected file
7348 lib/silccrypt/silchmac.c.
7350 Sun Oct 14 18:28:22 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7352 * Assure that router cannot reroute the same channel message
7353 to the sender. Affected file silcd/packet_receive.c.
7355 Sat Oct 13 12:46:18 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7357 * Made better checks that the channel message is not sent
7358 to the router it came from. Affected file is
7359 silcd/packet_send.c. Fixed memory leak too.
7361 * Announce informations for incoming router connection, but
7362 only after checking if it is replaced by backup router.
7363 Affected file silcd/packet_receive.c.
7365 Fri Oct 12 18:37:24 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7367 * Fixed the backup resuming protocol to work in multiple
7368 router environment. Affected file silcd/server_backup.c.
7370 * Route packet only to one router in the function
7371 silc_server_packet_send_to_channel. Affected file is
7372 silcd/packet_send.c.
7374 * Fixed silc_server_send_notify_dest to set the broadcast
7375 flag. Fixed the silc_server_send_notify_topic to actually
7376 send the TOPIC_CHANGE notify and not SERVER_SIGNOFF notify.
7377 Affected file silcd/packet_send.c.
7379 * Changed the SFTP Filesystem interface. Changed the
7380 SilcSFTPFilesystemStruct to SilcSFTPFilesystemOps to include
7381 the filesystem operation function. The SilcSFTPFilesystem
7382 is now a context that is allocated by all filesystem allocation
7383 functions and it already includes the operations structure
7384 and filesystem specific context. It is given as argument
7385 now to the silc_sftp_server_start. This made the interface
7386 a bit cleaner. Affected file lib/silcsftp/silcsftp[_fs].h,
7387 lib/silcsftp/sftp_fs_memory.c and sftp_server.c.
7389 Thu Oct 11 22:19:26 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7391 * Changed the backup router adding and getting interfaces
7392 in the server. The router that will be replaced by the
7393 specified backup router is now sent as argument. Affected
7394 files silcd/serverconfig.[ch], silcd/backup_router.[ch], and
7397 * Added silc_net_addr2bin_ne to return the binary form of
7398 the IP address in network byte order. Affected files
7399 lib/silcutil/[unix/win32].silc[unix/win32]net.[ch].
7401 Thu Oct 11 12:14:19 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7403 * Check for existing server ID in silc_server_new_server
7404 and in silc_server_connect_to_router_final and remove the
7405 old entry if it exists. Affected file silcd/packet_receive.c,
7408 * Send the channel message always to only one router, either
7409 in upstream or downstream. Affected file is
7410 silcd/packet_send.c.
7412 Tue Oct 9 17:45:43 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7414 * Wrote the definition of the backup resuming protocol to the
7415 protocol specification.
7417 * Removed one redundant channel key generation from normal
7418 server during joining procedure. Removed one redundant
7419 channel key sending from server to router during joining
7420 procedure. Affected file silcd/command.c.
7422 * Made minor bugfixes to the backup router resuming protocol.
7423 Affected file silcd/server_backup.c, server.c.
7425 Mon Oct 8 16:47:42 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7427 * Added --disable-asm configuration option. Affected files
7428 configure.in.pre, lib/silcmath/mpi/configure.in. A patch
7431 * Implemented the backup resuming protocol that is used to
7432 resume the primary router position in the cell after the
7433 primary router comes back online. Affected files
7434 silcd/server_backup.[ch], silcd/server, silcd/packet_receive.c,
7435 and silcd/server_util.[ch].
7437 Sun Oct 7 12:29:25 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7439 * Sleep two (2) seconds after sending QUIT command to server.
7440 Affected file lib/silcclient/command.c.
7442 * Assure that if outgoing data buffer is pending do not force
7443 send any data. Affected file silcd/packet_send.c.
7445 * Assure that if outgoing data buffer is pending do not force
7446 send any data. Affected file lib/silcclient/client.c.
7448 * Implemented the backup router support when the primary router
7449 goes down. The servers and routers can now use the backup
7450 router as new primary router without loosing connectivity.
7452 Sat Oct 6 21:18:54 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7454 * Added new SILC_IDLIST_STATUS_DISABLED flag for entries
7455 in the server to indicate disabled entry. All data read
7456 from the connection will be ignored and no data is sent
7457 for entry that is disabled. Affected files are
7458 silcd/idlist.h, silcd/server.c.
7460 Fri Oct 5 00:03:29 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7462 * Created SFTP client and server test programs in the
7463 lib/silcsftp/tests directory.
7465 Wed Oct 3 23:31:42 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7467 * Implemented memory filesystem (virtual filesystem) for
7468 SFTP server. Affected file lib/silcsftp/silcsftp_fs.h,
7471 Sun Sep 30 22:10:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7473 * Implemented the SFTP (SSH File Transfer Protocol) to the
7474 lib/silcsftp. It includes SFTP client and SFTP server
7477 Sun Sep 30 10:35:44 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7479 * Moved lib/silccore/silcprotocol.[ch] to the
7480 lib/silcutil library.
7482 * Added silc_buffer_format_vp and silc_buffer_unformat_vp to
7483 take variable argument list pointer as argument. Affected
7484 file lib/silcutil/silcbuffmt.[ch].
7486 * Added silc_buffer_set function that is used to set data
7487 to a SilcBuffer that is not allocated at all (SilcBufferStruct).
7488 Affected file lib/silcutil/silcbuffer.h.
7490 * Changed various routines in the core library to use the new
7491 silc_buffer_set instead of allocating new buffer only for
7494 * Added 64-bit value formatting and unformatting support to the
7495 silc_buffer_[un]format routines. Affected file is
7496 lib/silcutil/silcbuffmt.[ch].
7498 Added also 64-bit macros: SILC_GET64_MSB and SILC_PUT64_MSB,
7499 to includes/bitmove.h.
7501 Fri Sep 28 21:30:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7503 * Fixed channel user mode saving in client library. Affected
7504 file lib/silcclient/command[_reply].c.
7506 Thu Sep 27 22:52:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7508 * Defined the file transfer to the SILC Protocol. Added
7509 new packet type SILC_PACKET_FTP and defined File Transfer
7510 Payload. The mandatory file transfer protocol is SFTP
7511 (SSH File Transfer Protocol). Affected file in addition
7512 of the internet draft is lib/silccore/silcpacket.h.
7514 * Deprecated the SILC_PACKET_CELL_ROUTERS and defined new
7515 packet SILC_PACKET_RESUME_ROUTER instead. The new packet
7516 is used as part of backup router protocol when the primary
7517 router of the cell is back online and wishes to resume
7518 the position as primary router.
7520 * Redefined the MAC generation keys in the protocol. The
7521 same key is not used anymore in both direction. Both
7522 direction will now use different keys for sending and
7523 receiving. This fixes a potential security flaw. This
7524 change causes incompatibilities in the protocol.
7526 * Redefined also the MAC computation from the packet.
7527 An packet sequence number is now added to the MAC
7528 computation. This prevents possible replay attacks against
7529 the protocol. This change too causes incompatibilities
7532 Added `sequence' field to the SilcPacketContext to hold
7533 the current sequence number for the packet.
7535 Wed Sep 26 20:15:22 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7537 * Added `created' field to the SilcIDListData in the file
7538 silcd/idlist.h to indicate the time when the entry was
7541 * Added `created' field to the SilcChannelEntry too. Affected
7542 file silcd/idlist.h.
7544 * Added `creation_time' aguments to all the announcement functions
7545 in the server. If it is provided then only the entries that
7546 was created after the provided time frame are actually
7547 announced. Affected file silcd/server.[ch].
7549 * The protocol says that the Channel ID's IP address must be
7550 based on the router's IP address. Added check for this in
7551 the silc_server_new_channel when processing incoming New Channel
7552 Payload. Affected file silcd/packet_receive.c.
7554 * Print out the correct version with --version in SILC client.
7555 Affected file irssi/src/silc/core/silc-core.c.
7557 Mon Sep 24 17:19:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7559 * Fixed WHOWAS command to check for completnes of the client
7560 entry always, not just when the command is coming from client.
7561 Affected file silcd/command.c.
7563 * Added new function silc_server_packet_queue_purge to purge the
7564 outgoing data queue to the network. After the function returns
7565 it is guaranteed that the outgoing packet queue is empty.
7566 Affected file silcd/packet_send.[ch].
7568 * Purge the outgoing packet queue in the rekey protocol's final
7569 callback to assure that all rekey packets go to the network
7570 before quitting the protocol. Affected file silcd/server.c.
7572 * Added silc_client_packet_queue_parse as similar function as
7573 in server to the client library. The affected file is
7574 lib/silcclient/client.c.
7576 Sun Sep 23 15:15:53 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7578 * Splitted silcd/server.c and created silcd/server_util.[ch]
7579 for utility functions.
7581 * Added new socket flag SILC_SF_DISABLED to indicate that the
7582 connection is open but nothing can be sent to or received from
7583 the connection. Affected file lib/silcutil/silsockconn.[ch].
7584 The checking for disabled socket is checked in the low level
7585 silc_socket_write and silc_socket_read functions.
7587 Thu Sep 20 23:11:28 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7589 * Allow only nicknames and channel names that fits into the
7590 7-bit unsigned char ASCII set. Affected file silcd/command.c.
7592 Thu Sep 20 18:04:12 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7594 * When processing JOIN command reply in server check that if
7595 the channel exists in our global list we'll move it the local
7596 list. Affected file silcd/command_reply.c.
7598 * Fixed the check whether client is joined on the channel already
7599 in JOIN command. Affected file lib/silcclient/command.c.
7601 * Fixed the JOIN command reply to check whether the channel
7602 already exists. Affected file lib/silcclient/command_reply.c.
7604 Wed Sep 19 22:58:32 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7606 * Added silc_ske_status_string to map the SKE error numbers
7607 to readable strings. The affected files are
7608 lib/silcske/silcske[_status].[ch].
7610 Tue Sep 18 22:50:41 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7612 * Do not show the private channels on the WHOIS channel list
7613 as it is not allowed by the protocol. The affected file is
7616 Sun Sep 16 12:32:58 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7618 * Assure that the packet length digged from the actual packet
7619 is something sensible in the silc_packet_decrypt_rest_special
7620 in lib/silccrypt/silcpacket.c.
7622 * Free and NULL the allocated pointer in silc_hmac_alloc if
7623 the HMAC allocation fails. The affected file is
7624 lib/silccrypt/silchmac.c.
7626 * Print the selected security properties to the log files in
7627 the server. Affected file silcd/protocol.c.
7629 * Add SKE's reference counter even if calling the completion
7630 callback manually. Otherwise it goes negative, although it
7631 does not cause any problems. The affected file is
7632 lib/silcske/silcske.c.
7634 * Remove the client entry with short timeout after giving the
7635 KILL command. Affected file lib/silcclient/command.c.
7637 * Fixed to send error reply in WHOIS and IDENTIFY commands in
7638 case all found clients are already disconnected (WHOWAS would
7639 found them) in the server. Affected file silcd/command.c.
7641 * Update the last_receive (time of last data received) to be
7642 updated only when received private or channel message so that
7643 the idle time showed in WHOIS makes more sense.
7645 * Added boolean field `valid' in to the SilcClientEntry in the
7646 client library to indicate whether the entry is valid or not.
7647 This fixes the nickname change bug on channel when changing
7648 the nickname to be same than the old (like nick to Nick) the
7649 nickname formatter doesn't set the new nick anymore to Nick@host.
7650 Affected file lib/silcclient/idlist.[ch].
7652 * Now actually fixed the nickname changing on disconnection.
7653 Added new function silc_change_nick to the Irssi SILC Client.
7654 Affected file irssi/src/silc/core/client_ops.c,
7655 irssi/src/silc/core/silc-nicklist.[ch].
7657 Sat Sep 15 13:29:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7659 * Check that the public key exists in the GETKEY command before
7660 trying to encode it. Affected file silcd/command.c.
7662 * Print some notifications on received public keys with GETKEY
7663 command in the Irssi SILC Client. Affected files are
7664 irssi/src/fe-common/silc/module-formats.[ch],
7665 irssi/src/silc/core/client_ops.c.
7667 * Use IDENTIFY command to resolve the server information in the
7668 GETKEY command instead of INFO command. Affected file
7669 lib/silcclient/command.c.
7671 * All command reply functions in the client library now calls
7672 the pending command reply callbacks even if an error has
7673 occurred. The server has done this a long time and now it was
7674 time to move the client library to this as well. Now all
7675 errors can be delivered back to the pending command reply
7676 callbacks if necessary. Affected files are
7677 lib/silcclient/command[_reply].[ch].
7679 * Change the nickname on disconnection back to the username
7680 because in reconnect the server will enforce it to it anyway.
7681 Affected file irssi/src/silc/core/silc-servers.c.
7683 * Fixed a config file parsing bug in the Irssi SILC client.
7684 Affected file irssi/src/silc/core/clientconfig.c.
7686 Thu Sep 13 23:11:18 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7688 * When printing the channel mode on JOIN, verify that the
7689 channel key and channel's HMAC are valid. Affected file
7690 irssi/src/silc/core/client_ops.c.
7692 Thu Sep 13 20:24:52 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7694 * Added defines SILC_DEFAULT_CIPHER, SILC_DEFAULT_HMAC,
7695 SILC_DEFAULT_HASH and SILC_DEFAULT_PKCS in the file
7696 lib/silccrypt/[silccipher.h|silchmac.h|silchash.h|silcpkcs.h].
7698 * Removed channel key rekey task deleting from the function
7699 silc_server_save_channel_key. Affected file silcd/server.c.
7700 Added explicit timeout task context instead that is used to
7701 delete the task if we are registering a new task before the
7702 new task has elapsed.
7704 * When channel key rekey occurs the client library now saves
7705 the old channel key for a short period of time (10 seconds) and
7706 is able to use it in case some is still sending channel
7707 messages encrypted with the old key after the rekey. Affected
7708 file lib/silcclient/[idlist.h|client_channel.c].
7710 Sun Sep 9 15:49:16 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7712 * Added check to the silc_server_new_id_real to not accept
7713 new ID if it is the sender's own ID. Affected file is
7714 silcd/packet_receive.c.
7716 * Assure that we do not announce ourself or the one we've
7717 sending our announcements when we're router and are announcing
7718 servers to our primary router. Affected file silcd/server.c.
7720 * Fixed silc_server_command_identify_check_client to assemble
7721 correct WHOIS packet. It send corrupted WHOIS packet and
7722 caused problem with router to router connections. Affected
7723 file silcd/command.c.
7725 Fixed also silc_server_command_whois_check the same way
7726 as for the IDENTIFY command.
7728 * Added new SilcIDListStatus to the server in the SilcIDListData
7729 structure. The status now includes the current status of
7730 the entry (like registered, resolved etc.). Affected file
7731 silcd/idlist.[ch]. Defined a bunch of different status types
7732 as well. This replaced the old boolean registered field as well.
7734 Added resolve_cmd_ident field to the SilcClientEntry structure
7735 too so that if the entry is for example being resolved so
7736 another command may attach to the same pending command reply
7737 without requiring to resolve the same entry again. This concept
7738 should optimize the WHOIS and the IDENTIFY resolving under
7739 heavy load by taking away unnecessary resolving for entries
7740 that are being resolved already.
7742 Added support for adding multiple pending commands for one
7743 command idenfier. Affected file silcd/command[_reply].[ch].
7745 * Fixed WHOIS and IDENTIFY save to remove the cache entry
7746 before deleting the data. Otherwise the hash table will have
7747 freed data in comparison functions. Affected file is
7748 silcd/command_reply.c.
7750 * Fixed silc_idlist_replace_client_id to add the new entry to
7751 the cache with NULL nickname. Otherwise there will be invalid
7752 memory as the nickname after the nickname is freed. Affected
7753 file silcd/packet_receive.c.
7755 * Fixed the silc_idlist_get_clients_by_hash. The entries was
7756 saved into wrong slots because the previous number of entries
7757 was not taken into account. Affected file silcd/idlist.c.
7758 Fixed same thing in silc_idlist_get_clients_by_nickname too.
7760 * If we are router and we receive JOIN notify to a channel that
7761 does not have any users then notified client is marked as the
7762 channel founder, as it is it. The affected file is
7763 silcd/packet_receive.c
7765 * Added to the extended hash table API's table_del_*ext functions
7766 the destructor as argument too, so that the caller can decide
7767 which destructor to use or whether to use destructor at all.
7768 Affected file lib/silcutil/silchashtable.[ch].
7770 * Fixed ID Cache purging. It actually deleted the entries from
7771 the hash table after the data was freed. The hash table ended
7772 up comparing freed memory. The affected file is
7773 lib/silccore/silcidcache.c.
7775 Sat Sep 8 10:22:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7777 * Fixed Irssi SILC client's KILL command's HELP syntax.
7779 * The USERS command now resolves the detailed user information
7780 if the userinfo field is missing. Affected file is
7781 lib/silcclient/command_reply.c.
7783 * Do not print error in silc_file_read if the read file does
7784 not exist. Just silently return NULL. Affected file is
7785 lib/silcutil/silcutil.c.
7787 * Fixed the silc_log_output to not wine about NULL filename
7788 and to not create some bogus " " filename. Affected file is
7789 lib/silcutil/silclog.c.
7791 Fri Sep 7 22:16:38 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7793 * Fixed various printing bugs on the user interface in the
7794 Irssi SILC Client. Minor changes that were forgotten from
7797 Fri Sep 7 17:28:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7799 * Fixed the configure.in.pre and the compilation and distribution
7800 environment to support the new autoconf 2.52. That version is
7801 now required to compile the CVS trunk.
7803 Thu Sep 6 12:47:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7805 * Renamed function silc_parse_nickname to silc_parse_userfqdn
7806 to generally parse user@fqdn format strings. Affected file
7807 lib/silcutil/silcutil.c.
7809 * Added nickname_format and nickname_force_format fields to the
7810 SilcClientParams structure. The first one defines the format
7811 for the nicknames that the library will enforce if the receives
7812 multiple same nicknames. The second one is boolean value and
7813 can be used to force the library to always enforce the format
7814 to the nicknames regardles whether there are multiple nicknames
7815 or not. This configurable formatting was employed to flexibly
7816 support accessing multiple nicknames from the user interface.
7817 The userinterface can now set the nicknames to what ever format
7818 they prefer. Affected file lib/silcclient/silcapi.h.
7820 Added function silc_client_nickname_format to the file
7821 lib/silcclient/idlist.c. It performs the nickname formatting.
7823 Added new field `hostname´ to the SilcClientEntry context.
7824 It holds the hostname of the client. Affected file is
7825 lib/silcclient/idlist.h.
7827 * Irssi SILC Client sets the nicknames in nick@hostn format.
7828 Fe. priikone@otaku, priikone@otaku2 etc. Affected file
7829 irssi/src/silc/core/silc-core.c.
7831 The WHOIS printing now also shows both the real nickname and
7832 the formatted nickname so that user knows how to access the
7833 user if there are multiple same nicknames cached. Affected
7834 file irssi/src/silc/core/client_ops.c. Changed the WHOIS
7835 printing formatting too to take the hostname now as a separate
7836 argument. The Affected file is
7837 irssi/src/fe-common/silc/modules-formats.[ch].
7839 * Changed the silc_client_get_clients_local to accept the formatted
7840 nickname as argument. It accepts the real nickname too but the
7841 formatted nickname can be used to find the true entry from
7842 multiple entries. Affected file lib/silcclient/silcapi.h and
7843 lib/silcclient/idlist.c.
7845 * Added nickname_format_parse field to the SilcClientParams.
7846 It is a callback function provided by the application to parse
7847 the nickname out of the formatted nickname string. The library
7848 calls it to get the nickname from the formatted string. Since
7849 the application generally knows better the format of the nickname
7850 string it parses it instead of the library, even though library
7851 encodes the formatted string. If the callback function is not
7852 provided then the library will use the string as is. The
7853 affected file is lib/silcclient/silcapi.h.
7855 * All the nickname strings passed to the client library in
7856 commands are now expected to be formatted nickname strings.
7857 If the command does not support the formatted nickname string
7858 it will assume that the sent string is the actual nickname.
7859 Affected file lib/silcclient/command.c.
7861 Tue Sep 4 22:31:28 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7863 * Added public key authentication support to OPER and SILCOPER
7864 commands in the client library. Affected file is
7865 lib/silcclient/command.c.
7867 Tue Sep 4 12:39:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7869 * Changed the get_auth_methdod client operation to be asynchronous.
7870 It can be async if the application resolves the authentication
7871 method from the server during the negotiation. Added new
7872 SilcGetAuthMeth completion callback that the application will
7873 call after resolving the authentication method.
7875 Added function silc_client_request_authentication_method that
7876 the application can use to resolve the authentication method
7877 from the server. Added also SilcConnectionAuthRequest callback
7878 that the library will call after the server has replied. The
7879 application can call this function if it does not know the
7880 current authentication method.
7882 Affected files are lib/silcclient/client.c and
7883 lib/silcclient/silcapi.h.
7885 * The Irssi SILC client now automatically resolves the authentication
7886 method incase any configuration information is not present (and
7887 currently there never is). The affected file is
7888 irssi/src/silc/core/client_ops.c.
7890 * Fixed public key authentication from the client library.
7891 Affected file lib/silcclient/protocol.c. Changed also the
7892 protocol specification about the public key authentication in
7893 the connection authentication protocol. The actual data to be
7894 signed is now computed with a hash function before signing.
7896 * Fixed the public key authentication from the server as well.
7897 Affected file silcd/protocol.c.
7899 * Removed the mlock()'s from the memory allocation routines.
7900 Affected file lib/silcutil/silcmemory.c. The ./configure does
7901 not check anymore for the mlock(). Affected file is
7904 * Fixed USERS command in server to allow the execution of the
7905 command for private and secret channels if the client sending
7906 the command is on the channel. Affected file silcd/command.c.
7908 * Fixed silc_client_get_clients_local to return the clients
7909 count correctly. It could return wrong value. Affected file
7910 lib/silcclient/idlist.c.
7912 Mon Sep 3 20:09:59 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7914 * Fixed the lib/silcmath/mpi/mpi.h to always use 32-bit data
7915 types. The assembler optimizations seemed not to like 64-bit
7916 data types. The assmebler optimizations thus are now enabled
7917 also for BSD systems as opposed to only enable them for Linux.
7919 * Do not check for threads at all on BSD systems. Affected
7920 file configure.in.pre.
7922 * Removed -n and -h options from the Irssi SILC Client since
7923 they are not used in silc.
7925 * Fixed the prime generation to assure that the first digit
7926 of the generated random number is not zero since our conversion
7927 routines does not like number strings that starts with zero
7928 digit. If zero digit is seen the random number is regenerated.
7929 This caused some corrupted RSA keys when the zero first digit
7930 was met. Affected file lib/silcmath/silcprimegen.c.
7932 Sun Sep 2 17:17:24 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7934 * Fixed WIN32 configuration in the ./configure script.
7935 Fixed to include xti.h on environments that has it.
7936 Patches by Carsten Ilchmann and andrew.
7938 Sat Sep 1 00:29:33 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7940 * Changed the silc_id_create_client_id to be collision
7941 resistant. It is now assured that there cannot be created
7942 two same client ID's. I suspect that some weird bugs in
7943 the server were actually caused by duplicate Client IDs.
7944 Affected file silcd/serverid.[ch]. A router receiving
7945 new ID now also assures and informs the sending server
7946 if the ID caused collision.
7948 * Changed the silc_id_create_channel_id to also assure that
7949 there are no collisions.
7951 Wed Aug 29 17:55:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7953 * Statement about ignoring the Mutual Authentication flag when
7954 performing rekey with PFS was a bit misleading. It is ignored
7955 if it was set in the initial negotiation, it cannot be even
7956 set in the rekey. Fixed in the ke-auth draft. Started the
7957 new versions of the protocol drafts in the doc/.
7959 Sun Aug 26 14:59:15 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7961 * Fixed a bug in silc_client_command_identify_save when saving
7962 new channel information. The channel name was no duplicated
7963 and caused crash on exit. Affected file is
7964 lib/silcclient/command_reply.c.
7966 Fri Aug 17 23:07:45 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7968 * Fixed the getkey command handling in the server. Send just
7969 empty OK reply to the sender if the key could not be fetched
7970 (but everything else was ok, like the key just was not available).
7971 Changed the public key parameter to optional in the protocol
7972 specs so that empty OK reply can be sent. Affected file
7975 Added a message to Irssi SILC client to tell to user if the
7976 server did not return a public key.
7978 Tue Aug 14 07:29:27 CEST 2001 Pekka Riikonen <priikone@silcnet.org>
7980 * Fixed a channel key regeneration bug. It registered new
7981 timeout tasks exponentially until all system resources were
7982 used. Affected file silcd/server.c.
7984 Sun Aug 12 20:48:14 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7986 * Added the SILC Document generator to the scripts/silcdoc.
7987 It can be used to generate the Toolkit Reference Manual out
7988 of the source tree. Internally it will also use the RoboDoc
7989 generator now imported in util/robodoc.
7991 Sun Aug 12 12:28:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7993 * Added couple of return's in rekey protocol if error orccurred
7994 during the protocol. The execution must be terminated.
7995 Affected file silcd/protocol.c. Also, terminate the protocol
7996 always with timeout.
7998 Sat Aug 11 12:36:02 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8000 * The client's Client ID was created initally from the wrong
8001 nickname (it could have been in format nick@host) in the
8002 silc_server_new_client. Affected file silcd/packet_receive.c
8004 Sat Aug 11 00:29:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8006 * Added some SILC_LOG_ERROR's to various error conditions
8007 if client could not be added to ID cache. Affected files
8008 silcd/packet_receive.c and silcd/server.c.
8010 * When client's sock->user_data is freed, NULL also the
8011 client->router and client->connection pointers. Added check
8012 for these pointers being NULL to various places around the
8013 code. Affected file silcd/server.c.
8015 * Added client->data.registered == TRUE checks to various
8016 places around the code to assure that unregistered client's
8017 are not handled when it is not allowed. Affected file
8020 * Added `bool registered' fields to all
8021 silc_idlist_[server|client]_get_* routines to indicate whether
8022 the fetched client needs to be registered or not. Affected
8023 file silcd/idlist.[ch].
8025 * Add your own entry as registered to the ID cache in the
8026 server. Affected file server.c.
8028 * Fixed a bug in silc_server_new_server. The SilcServer was
8029 set as the new server's context instead of SilcServerEntry.
8030 This naturally caused some weird bugs.
8032 * Added "updated" field the SilcChannelEntry which indicates
8033 the time since the channel entry was last accessed. This
8034 can be used to determine whether it is necessary to
8035 announce the channel after backup resuming protocol.
8036 Affected files silcd/idlist.[ch].
8038 Thu Aug 9 18:28:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8040 * Do not delete the channel rekey task when adding it
8041 for in silc_server_create_channel_key.
8043 * Changed the silc_server_create_channel_key to return
8044 TRUE or FALSE to indicate the success of the channel key
8047 Thu Jul 26 11:32:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8049 * Fixed MSVC++ project files and added missing files to
8050 Makefiles under win32/.
8052 Wed Jul 25 18:43:54 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8054 * Do not add TCP_NODELAY flag if the operating system
8055 does not have it defined. Affected files are
8056 lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
8058 * Fixed buffer overflow from Irssi SILC Client. Affected
8059 file irssi/src/fe-common/core/themes.c.
8061 * Fixed double free in client library in the file
8062 lib/silcclient/client.c when disconnecting from server.
8064 * Applied double free patch from cras to Irssi SILC client.
8065 Affected files irssi/src/core/[modules/expandos].c
8067 * Fixed the disconnection handling to Irssi SILC Client.
8068 The application must call silc_client_close_connection
8069 in ops->connect client operation in case of failure of
8070 the connection. Affected file is
8071 irssi/src/silc/core/client_ops.c.
8073 * Do not set sock->protocol to NULL in the function
8074 silc_client_close_connection after executing the protocol's
8075 final callback since the sock might not be valid anymore.
8076 Affected file lib/silcclient/client.c.
8078 Wed Jul 25 16:04:35 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8080 * Do not enable SILC_THREADS if the linking with libpthread
8081 did not happen. Affected file configure.in.pre.
8083 * Added notion to protocol specification that server must
8084 verify the sent authentication payload with CMODE when
8085 setting the channel founder key. Implemented it to the
8086 server. Affected file silcd/command.c.
8088 Mon Jul 23 18:31:43 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8090 * Added _EXTRA_DIST SILC distribution variable to the
8091 distributions file. It is used to conditionally add extra
8092 files or directories to the specific distribution. Affected
8093 files ./prepare, Makefile.am.pre and distributions.
8095 Removed the `_' from the start of the distribution names.
8098 * Added README.WIN32 for instructions to compile the Toolkit
8101 Mon Jul 23 10:12:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8103 * Fixed a double free in disconnection in the server. Affected
8104 file is silcd/server.c.
8106 * Fixed the lib/silcske/groups.c to work now also with GMP
8107 MP library. The string conversion did not work when using
8108 specific base and the base is indicated in the string as well.
8110 * Created win32/ directory which now includes MSVC++ specific
8111 stuff so that toolkit (DLLs) may be compiled with MSVC++.
8112 It will appear only in the toolkit distribution
8114 Sun Jul 22 19:40:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8116 * Changed the key material distribution function in case when
8117 the hash output is too short. The data is now concatenated
8118 a bit differently than it used to. Made the change to the
8119 SKE protocol specification.
8121 * Added better GMP detection to configure.in.pre. A patch
8124 Fri Jul 20 13:16:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8126 * Fixed a minor bug in SKE that might cause some problem on
8127 some platforms. Affected file lib/silcske/silcske.c.
8129 * Added the cookie checking for initiator in the SKE. It checks
8130 that the responder returns the sent cookie unmodified. The
8131 affected file is lib/silcske/silcske.c. Added new SKE
8132 error type INVALID_COOKIE that can be sent during the
8133 negotiation. Fixed some memory leaks as well.
8135 * Added the "invalid cookie" error message to Irssi SILC client's
8138 Thu Jul 19 21:44:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8140 * Added `task_max' field to the SilcClientParams to indicate
8141 the maximum tasks the scheduler can handle. If set to zero,
8142 default values are used. Affected file lib/silcclient/silcapi.h.
8144 * Fixed memory leaks in silc_client_close_connection. Affected
8145 file lib/silcclient/client.c.
8147 * Added silc_client_del_client_entry to client library to free
8148 all memory of given client entry. Affected file is
8149 lib/silcclient/idlist.[ch].
8151 * Added new functions silc_client_del_channel and
8152 silc_client_del_server to delete channel and server entries.
8153 Affected file lib/silcclient/[silcapi.h/idlist.c].
8155 * Removed silc_client_del_client_by_id from silcapi.h.
8157 * Fixed the INFO command to return the server's own info
8158 correctly when querying by Server ID. Affected file is
8161 Thu Jul 19 14:47:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8163 * Removed the non-blocking settings in WIN32 code in the
8164 silc_sock_[read/write] and added SleepEx instead. Affected
8165 file lib/silcutil/win32/silcwin32sockconn.c. The availability
8166 of input data is now checked with FIONREAD and ioctlsocket.
8168 Wed Jul 18 18:34:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8170 * Call silc_schedule_task_del_by_context in the
8171 silc_protocol_cancel instead of silc_schedule_task_del_by_callback.
8172 Affected file lib/silccore/silcprotocol.c.
8174 * Call silc_protocol_cancel for active protocols in the
8175 silc_server_close_connection if the funtion
8176 silc_server_free_sock_user_data has not been called.
8177 Affected file silcd/server.c.
8179 * Generic tasks cannot be deleted using the del_by_fd
8180 task deleting function since generic tasks does not match
8181 any specific fd. Affected file lib/silcutil/silcschedule.[ch].
8183 * Added a notion to SILCOPER help file that the SILCOPER works
8184 only on router server, not on normal server.
8186 Wed Jul 18 09:40:04 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8188 * Added for WIN32 support for the new scheduler as well.
8189 Affected file lib/silcutil/win32/silcwin32schedule.c.
8191 * Fixed the SHA1 implementation to work on various platforms.
8193 Tue Jul 17 23:04:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8195 * Rewrote the SILC Scheduler entirely. Removed the old SILC Task
8196 API. It is part of the scheduler now. Everything else is
8197 as previously but some functions has changed their names.
8198 Checkout the lib/silcutil/silcschedule.h for the interface.
8199 Updated all applications to use the new interface. Affected
8200 files are lib/silcutil/silcschedule.[ch].
8202 Tue Jul 17 16:53:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8204 * Found a bug in the SKE implementation. The HASH value,
8205 specified by the protocol, was not computed correctly. The
8206 public key of the responder was not added to the computation
8207 even though it is mandatory. Affected file lib/silcske/silcske.c.
8208 This unfortunately causes incompatibilities with older
8209 clients and servers.
8211 * Added WIN32 specific network init and uninit functions:
8212 silc_net_win32_init and silc_net_win32_uninit to init and uninit
8213 the Winsock2. Affected file lib/silcutil/silcnet.h and
8214 lib/silcutil/win32/silcwin32net.c.
8216 * Set the socket always to nonblocking mode on WIN32 after
8217 reading data or writing data. Affected file is
8218 lib/silcutil/win32/silcwin32sockconn.c.
8220 Mon Jul 16 22:55:26 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8222 * Fixed various compilation problems under WIN32. Affected
8223 files lib/silcutil/win32/silcwin32thread.c and
8224 lib/silcutil/win32/silcwin32schedule.c.
8226 * Removed all _internal.h #includes from public header
8227 files. Internal headers must never be included from
8230 Removed also the lib/silcske/payload_internal.h file.
8232 * All include files that may be needed (public and some others
8233 included by the public headers) by application developers are
8234 now copied to the ./includes directory. It does not copy any
8235 internal headers. Affected file Makefile.defines.pre and all
8236 Makefile.am's under lib/ and subdirs.
8238 Thu Jul 12 17:49:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8240 * Do not change the ~/.silc directory's permissions automatically.
8241 Affected file irssi/src/silc/core/clientutil.c.
8243 Thu Jul 12 10:18:40 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8245 * Do not cancel the protocol in silc_server_close_connection
8246 it might cause recursion. Now cancelled in the function
8247 silc_server_free_sock_user_data. Affected file silcd/server.c.
8249 * Fixed the silc_server_remove_clients_by_server to regenerate
8250 the channel keys correctly finally. Added also new function
8251 silc_server_remove_clients_channels to actually do it.
8252 Affected file silcd/server.c.
8254 * Fixed the silc_server_new_channel to not crash by giving
8255 wrong router to the new channel. Affected file is
8256 silcd/packet_receive.c.
8258 Wed Jul 11 18:31:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8260 * Added SilcClientParams structure to the lib/silcclient/silcapi.h
8261 which is given as argument to the silc_client_alloc now.
8262 It can be used to configure the client and set various parameters
8263 that affect the function of the client.
8265 * The USERS command in server did not check whether the channel
8266 is private or secret. Affected file silcd/command.c.
8268 * Added new argument to the USERS command in protocol specification.
8269 The USERS command now can take the channel name as argument
8270 as well. Added support for this in client and server and
8271 updated the protocol specs.
8273 * Completed the GETKEY command in client. It can be now used
8274 to fetch also servers public key not only some clients.
8275 Affected files lib/silcclient/command[_reply].c.
8277 * Added silc_client_get_server to return server entry by the
8278 server name. Affected files lib/silcclient/silcapi.h and
8281 * Redefined the IDENTIFY command in protocol specification to be
8282 more generic. It now can be used to query information about
8283 any entity in the SILC Network, including clients, servers and
8284 channels. The query may be based either the entity's name
8285 or the ID. Added support for this in both client and server.
8287 Affected files silcd/command.c and lib/silcclient/command.c
8288 and command_reply.c.
8290 * Optimized the WHOIS and WHOWAS commands in the server. Removed
8291 the _from_client and _from_server functions. Affected file
8294 * Added silc_client_get_channel_by_id_resolve to the file
8295 lib/silcclient/silcapi.h to resolve channel information by
8296 its ID. Added also silc_client_get_channel_by_id that
8297 does not resolve it from the server.
8299 Tue Jul 10 18:05:38 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8301 * Added SilcServerEntry context into the client library
8302 to represent one server. The INFO command now allocates
8303 these to save the resolved server info. For now on the
8304 client library will also keep information about servers,
8305 connected and resolved with INFO.
8307 The INFO command now allocates the SilcServerEntry context
8308 and saves the server info there. The COMMAND_REPLY in
8309 the INFO now returns the parameters to application in
8310 same order as defined in the protocol specification.
8312 The entries are cached in the client->server_cache.
8314 * The INFO command is now issued after received the Client ID
8315 from the server. Affected file lib/silcclient/client.c.
8317 * The CMODE_CHANGE notify may now return also an SilcServerEntry
8318 to the application as the mode changer might be server.
8319 It is guaranteed that NULL is not returned anymore to the
8320 application. Affected file lib/silcclient/client_notify.c.
8322 The ID Type is now also passed to the application so that
8323 it can check whether the returned entry is SilcClientEntry
8326 Added new function silc_client_get_server_by_id to return
8327 the server entry by ID. Affected files are the
8328 lib/silcclient/silcapi.h and lib/silcclient/idlist.c.
8330 * Do not create the channel in the Irssi SILC Client when issuing
8331 the JOIN command but when received the sucessful JOIN command
8332 reply. Otherwise the channel might get created even though we
8333 could not join it. The Affected file is
8334 irssi/src/silc/core/[silc-channels.c/client_ops.c].
8336 * Fixed a channel joining bug in router. The router must also
8337 check the channel modes, invite and ban lists etc. when serving
8338 the JOIN command sent by normal server. Affected file is
8339 silcd/command.c. The router now resolves the client's
8340 information from the server who sent the JOIN command if it
8341 does not know it, and processes the JOIN command only after
8344 * Changed the SilcCommandCb to take new argument; void *context2.
8345 Affected file lib/silccore/silccommand.h
8347 The second argument in the command callbacks in the server now
8348 includes the SilcServerCommandReplyContext if the command was
8349 called as pending command callback from the command reply.
8350 Otherwise it is NULL. When called as pending the status of the
8351 command reply will be checked and if it was erronous the
8352 error will be sent to the original sender of the command.
8353 This way the client always receives the error messages even
8354 though the server was actually the one who received the error
8355 when it resent the command to router, for example. Affected
8356 files silcd/command[_reply].[ch].
8358 * Fixed sending WHOWAS command's error message to client if
8359 the requested client could not be found. It was missing.
8362 * Changed the CMODE and CUMODE commands reply arguments in the
8363 protocol specification. The Channel ID is now sent in both
8364 of the commands to identify the channel. Implemented this
8365 new feature to the client and server. Affected files
8366 lib/silcclient/command_reply.c and silcd/command.c.
8368 * Made better checks for invite and ban lists in the JOIN
8369 command in server. Affected file silcd/command.c.
8371 Mon Jul 9 18:28:34 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8373 * The server now performs the incoming host IP/DNS lookup
8374 using the silc_socket_host_lookup and thus does not block
8375 the server anymore. Affected file silcd/server.c.
8377 * Completed the multi-thread support for SILC Scheduler in
8378 the lib/silcutil/silcschedule.c.
8380 * Fixed the configure.in.pre to detect the pthread correctly
8383 * Fixed a deadlock in silc_task_queue_wakeup in the file
8384 lib/silcutil/silctask.c.
8386 Mon Jul 9 13:40:03 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8388 * Added new function silc_schedule_wakeup that is used in
8389 multi-threaded environment to wakeup the main thread's
8390 schduler. It needs to be used when a thread adds a new task
8391 or removes a task from task queues. After waking up, the
8392 scheduler will detect the task queue changes. If threads
8393 support is not compiled in this function has no effect.
8394 Implemented the wakeup mechanism to both Unix and WIN32
8395 systems. Affected files are lib/silcutil/silcschedule.[ch],
8396 lib/silcutil/unix/silcunixschedule.c and the
8397 lib/silcutil/win32/silcwin32schedule.c.
8399 * Added new function silc_task_queue_wakeup to wakeup the
8400 scheduler by the specified task queue. Affected file
8401 lib/silcutil/silctask.[ch].
8403 * The silc_socket_host_lookup_start now wakes up the scheduler
8404 after adding the timeout task. Affected file is
8405 lib/silcutil/silcsockconn.c.
8407 * The silc_socket_host_lookup is synchronous now if the threads
8408 support is not compiled in. However, the callback is still
8409 called asyncronously through the scheduler, anyway. Affected
8410 file lib/silcutil/silcsockconn.c.
8412 Mon Jul 9 00:24:45 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8414 * Added new function silc_socket_host_lookup to perform
8415 asynchronous IP and FQDN lookups for the socket connection.
8416 Affected files lib/silcutil/silcsockconn.[ch].
8418 Sun Jul 8 18:44:53 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8420 * Added SILC_MUTEX_DEFINE to define the mutex on environments
8421 that may or may not compile the mutex support in.
8423 Changed the silc_mutex_alloc interface. It allocates the
8424 mutex now to the sent pointer and returns TRUE or FALSE.
8426 Affected file lib/silcutil/silcmutex.h.
8428 * Wrote the SILC Task Queue interface to support multi-threads.
8429 Affected file lib/silcutil/silctask.[ch].
8431 * Wrote the SILC Scheduler to support multi-threads. Affected
8432 file lib/silcutil/silcschedule.c.
8434 Sun Jul 8 11:16:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8436 * Implemented the SILC Mutex API and SILC Thread API for WIN32
8437 in lib/silcutil/win32/.
8439 Sun Jul 8 00:18:15 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8441 * Defined SILC Mutex API and SILC Thread API and implemented
8442 them for Unix. Affected files are
8443 lib/silcutil/silcmutex.h, lib/silcutil/silcthread.h,
8444 lib/silcutil/unix/silcunixmutex.c and
8445 lib/silcutil/unix/silcunixthread.c.
8447 Sat Jul 7 14:40:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8449 * Fixed the silc_server_remove_clients_by_server's channel
8450 key re-generation. The hash table handling was incorrect
8451 and would not work with many channels. Affected file is
8454 * Fixed some memory leaks around the server code.
8456 * Rewrote the silc_server_get_users_on_channel to support IPv6
8457 based Client ID's. Affected file silcd/server.c.
8459 * Defined the SILC_MESSAGE_FLAG_SIGNED to the protocol
8460 specification. However, a separate document must be written
8461 to define the detailed signing procedure and the payload
8462 associated with the flag. Defined the flag to the
8463 lib/silccore/silcchannel.h as well.
8465 Fri Jul 6 18:26:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8467 * Changed the dynamic tables to static size tables in the
8468 lib/silccrypt/silchmac.c.
8470 * Removed GCC dependencies from the code. A patch by cras.
8472 Fri Jul 6 09:39:35 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8474 * Do not show the error "Error receiving packet bla bla"
8475 in server if it really was not an error (-2 means that reading
8476 is pending). Affected file silcd/server.c.
8478 Thu Jul 5 21:22:32 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8480 * Fixed a possible crash in silc_server_remove_clients_by_server
8481 in silcd/server.c. Fixed there also some memory leaks.
8483 * Fixed the silc_idlist_replace_client_id. It could replace
8484 wrong key in the hash table. Affected file silcd/idlist.c.
8486 * Do not check whether there are global users on the channel
8487 if the channel->global_users is FALSE. Affected functions
8488 silc_server_remove_from_one_channel and
8489 silc_server_remove_from_channels in silcd/server.c. Also,
8490 do not check if the removed client is local as we can be
8491 sure that global client was not removed from the channel
8492 and checking for global users is not needed.
8494 * The silc_server_remove_clients_by_server now re-generates
8495 the channel keys correctly for those channels that had
8496 clients removed from them. Affected file silcd/server.c.
8498 Tue Jul 3 11:39:20 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8500 * Found the reason of random crashes in the server. We weren't
8501 ignoring the SIGPIPE signal (which can be sent in write())
8502 and it crashed the server. Affected file silcd/silcd.c.
8504 Fri Jun 29 20:05:25 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8506 * Assure that sock->user_data is not NULL in the function
8507 silc_server_packet_send in silcd/packet_send.c.
8509 * Disconnect the remote connection if it could not be added
8510 to any ID lists in the server. The affected file is
8513 * Check in silc_server_packet_send[_real/dest] that the
8514 socket is not disconnecting and ignore the data if it is.
8515 Affected file silcd/packet_send.c.
8517 * Define inline to __inline on native WIN32 compilation.
8518 Affected file includes/silcwin32.h.
8520 * Added some explicit type casts for inline code since MSVC
8521 require them. Affected files lib/silcutil/silcbuffer.h,
8522 lib/trq/silcdlist.h and lib/trq/silclist.h.
8524 * Print warning in log files from now on if the packet
8525 decryption fails. Affected file silcd/server.c.
8527 Thu Jun 28 21:30:39 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8529 * Changed the `say' client operation's interface to accept
8530 new `type' argument to indicate the type of the message sent
8531 by the library. The application may filter the library's
8532 messages according the type. The affected file is the
8533 lib/silcclient/silcapi.h.
8535 * Added two new functions to lib/silcclient/silcapi.h:
8536 silc_client_del_client and silc_client_del_client_by_id.
8537 Affected file lib/silcclient/idlist.c.
8539 * Moved the clientincludes.h from includes/ to silc/ and
8540 serverincludes.h from includes/ to silcd/.
8542 * The modes for the CMODE and CUMODE are now passed as
8543 uint32 for application with COMMAND_REPLY. The affected
8544 file is lib/silcclient/command_reply.c.
8546 Wed Jun 27 22:24:47 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8548 * /WHOIS without arguments shows client's own information.
8549 Affected file lib/silcclient/command.c.
8551 * Changed PING to not accept any arguments. The specs
8552 says that client can ping only the connected server so
8553 requiring an argument is not needed. Affected file is
8554 lib/silcclient/command.c.
8556 Wed Jun 27 00:10:33 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8558 * Fixed a fatal bug in private message sending and reception
8559 encryption and decryption when using private message keys.
8560 The implementation was incorrect and did not follow the
8561 specification. It causd that some of the message were
8562 lost since it did not use the sending and receiving keys
8563 as the protocol suggests. This has been fixed and will cause
8564 incompatibilities with older clients when sending private
8565 message encrypted with private message keys. Affected files
8566 lib/silcclient/client_prvmsg.c, lib/silcclient/client_keyagr.c
8567 and various other in Irssi SILC Client.
8569 Added `responder' boolean argument to the functions
8570 silc_client_add_private_message_key[_ske] to indicate when
8571 the key is added as responder or initiator of the key
8574 Tue Jun 26 19:23:07 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8576 * Removed the silc_ske_check_version function and created
8577 a SilcSKECheckVersion callback. Added also a function
8578 silc_ske_set_callbacks that is now used to set all SKE
8579 callbacks. The callback functions are not given to
8580 the SKE functions anymore, but this function is used to
8583 * Fixed the WIN32 DLL generation in lib/Makefile.am.pre.
8585 * Added `silc_version' argument to the silc_client_alloc
8586 to define the version of the application for the library.
8587 The library will use the version string to compare it
8588 against the remote host's (usually a server) version
8589 string. Affected file lib/silcclient/silcapi.h
8591 * Added the KE protocol context to Key Agreement context
8592 in client library so that we can abort the SKE if it
8593 is in process when we get timeout. Affected file is
8594 lib/silcclient/client_keyagr.c.
8596 * Do not resolve the client ID forever if it returns in the
8597 first time that such client does not exist. This was done
8598 for example with private message. Affected file is
8599 lib/silcclient/client_prvmsg.c.
8601 Mon Jun 25 21:42:51 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8603 * Do not add regex.h for WIN32. The affected file
8604 includes/silcincludes.h.
8606 * Added WIN32 DLL generation to lib/Makefile.am.pre. It might
8607 not work yet 100%. It generates the DLL's automatically
8608 when compiling with --with-win32 under cygwin.
8610 Sun Jun 24 19:49:23 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8612 * lib/contrib/regex.c is not compiled on WIN32.
8614 * Added silc_net_get_socket_opt function to the
8615 lib/silcutil/silcnet.h.
8617 * Added includes/silcwin32.h for WIN32 specific includes
8620 * Do not use ptime structure or any of the posix process
8621 functions on WIN32 in lib/silccrypt/silrng.c.
8623 * Added silc_gettimeofday to provide generic function
8624 for struct timeval on all platforms. Added the function
8625 to lib/silcutil/silcutil.h.
8627 Sun Jun 24 12:19:52 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8629 * Moved the lib/silccore/silcsockconn.[ch] to the utility
8630 library as they clearly belong there. As a plus side we
8631 can make the actual socket connection routines platform
8634 Added also new generic function silc_socket_read and
8635 silc_socket_write (that used to be silc_packet_[read/write].
8636 The implementation of these are platform specific.
8638 * Added WIN32 specific routines of silc_socket_[read/write]
8639 to lib/silcutil/win32/silcwin32sockconn.c.
8641 Sat Jun 23 16:01:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8643 * Added preliminary support for native WIN32 compilation under
8644 cygwin (using the -mno-cygwin option for GCC) to the
8645 ./configure.in.pre. The --with-win32 now prepares the
8646 compilation for native WIN32.
8648 * Rewrote the SILC Scheduler interface in the file
8649 lib/silcutil/silcschedule.h. The scheduler is now context
8650 based and does not have anymore any global static scheduler.
8651 Moved the Unix scheduler to the lib/silcutil/unix/ directory
8652 and created lib/silcutil/win32 directory for WIN32 based
8655 * Added Unix specific network routines to the
8656 lib/silcutil/unix/silcunixnet.c and the old
8657 lib/silcutil/silcnet.c includes now only generic routines.
8659 Added WIN32 specific network routines to the
8660 lib/silcutil/win32/silcwin32net.c.
8662 * Added Unix specific utility functions from the
8663 lib/silcutil/silcutil.c to lib/silcutil/unix/silcunixutil.c.
8665 * Added WIN32 SILC Scheduler to the file
8666 lib/silcutil/win32/silcwin32schedule.c. The code is of course
8669 Fri Jun 22 10:44:14 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8671 * Do not handle JOIN notify in the server if the target client
8672 is not registered (idata->registered == FALSE). The affected
8673 file is silcd/packet_receive.c.
8675 * Update the nickrec->founder in event_cumode in the Irssi SILC
8676 client. Affected file irssi/src/silc/core/silc-channels.c.
8678 * Fixed the CUMODE_CHANGE notify handling in the server when
8679 server and router are announcing their clients on channels.
8680 Now the mode changes are saved and notified correctly. The
8681 affected file is /silcd/packet_receive.c.
8683 * Fixed silc_idlit_replace_[server/client/channel]_id functions.
8684 They really did not replace the cache entry in the ID Cache.
8685 Now they do that. Affected file silcd/idlist.c.
8687 * Fixed the KICK notify handling in the Irssi SILC client to
8688 update the channel records so that the kicked client does not
8689 appear to be on the channel. The affected file is
8690 irssi/src/silc/core/silc-channels.c.
8692 * Always update the conn->current_channel when executing command
8693 on a channel. Affected file irssi/src/silc/core/silc-servers.c.
8695 * Fixed the KILL notify handling in Irssi SILC client to remove
8696 the killed client on all channels.
8698 Thu Jun 21 17:10:08 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8700 * Fixed the silc_parse_command_line to remove extra spaces
8701 from the start and end of the arguments. Affected file is
8702 lib/silcutil/silcutil.c.
8704 * Cancel and free any active protocol in the function
8705 silc_server_close_connection. Affected file silcd/server.c.
8707 * Cancel and free any active protocol in the function
8708 silc_client_close_connction. Affected file is
8709 lib/silcclient/client.c.
8711 * Do not execute the KILL command for clients that are in
8712 history (ie. they are not in the network). Affected file is
8715 * Fixed KILL notify handling, client does not crash anymore.
8716 Affected file irssi/src/silc/core/silc-channels.c.
8718 * Reduced the default packet buffer size from 2048 to 1024 in
8719 lib/silccore/silcpacket.c.
8721 * Added SILC_SKE_STATUS_FREED SKE status type and a reference
8722 counter to the SKE context that is incresed when the SKE library
8723 performs async operation outside the library. If the outside
8724 process frees the SKE context and FREED status will be set
8725 and the library will detect after the sync operation that the
8726 libary is freed. The affected files are
8727 lib/silcske/silcske[_status].[ch].
8729 * Resolve the client entry information in the function
8730 silc_client_channel_message to assure that NULL pointer is not
8731 passed as client entry to the application. */
8733 * Fixed the task timeout calculation to assure that there is
8734 never negative timeouts. The affected file is
8735 lib/silcutil/silcschedule.c.
8737 * Fixed the channel user mode notification sending in server.
8738 It was sent point-to-point to the router (or to server by router)
8739 but it needs to be destined to a channel. The routines now
8740 supports sending the channel user mode notifys to the channels
8741 when announcing clients and channels. Affected files are
8742 silcd/server.c and silcd/packet_receive.c.
8744 * Fixed the CHANNEL_CHANGE notify handling in the client libary.
8745 It did not actually replace the old channel entry in the cache.
8746 Affected file lib/silcclient/client_notify.c.
8748 Tue Jun 19 22:10:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8750 * Fixed a possible crash in silc_packet_send_prepare. It now
8751 assures always that there is enough space in the buffer and
8752 at the tail area of the buffer (for MAC).
8754 Fixed the inbound buffer reallocation in silc_packet_read.
8755 It was old code and did not handle the reallocation correctly.
8758 The affected file is lib/silccore/silcpacket.c.
8760 * Fixed buffer overflow in silc_parse_nickname in the file
8761 lib/silcutil/silcutil.c.
8763 Tue Jun 19 13:40:09 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8765 * make install generates new server keys only if there is not
8768 Mon Jun 18 18:49:07 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8770 * Set SILC_MESSAGE_FLAG_NOREPLY when sending the away message.
8771 Added check that if the NOREPLY is set then we will not send
8772 the away message. This avoids infinite loop of away messages
8773 if both clients are away. The affected file is
8774 lib/silcclient/client_prvmsg.c.
8776 * Fixed client crash if /NICK was given without arguments.
8777 Affected file lib/silcclient/command.c.
8779 * Server does not send the invite list in INVITE command back
8780 to the client if the list was not altered. Added this notion
8781 to the protocol spec as well. Affected file silcd/command.c.
8783 Fixed possible crash in INVITE command by checking the
8784 value of silc_server_get_client_route command.
8786 * Fixed the INVITE notify type handling. The arguments are now
8787 taken in correct order and client does not crash. The affected
8788 file is irssi/src/silc/core/silc-channels.c.
8790 Removed the "Inviting xxx to channel" message from the
8791 client library away and let the application handle it.
8792 Affected file lib/silcclient/command.c. Added that message
8793 to Irssi SILC client's message formats.
8795 * Fixed CMODE command crash in client. It now checks the
8796 amount of arguments correctly and does not crash. The affected
8797 file is lib/silcclient/command.c.
8799 * Do not create new channel automatically in silc_channels_join
8800 but check whether the channel by that name already exists.
8801 Affected file irssi/silc/core/silc-channels.c.
8803 * Do not send the SERVER_SIGNOFF to router if the disconnected
8804 entity was the router. Affected file silcd/server.c.
8806 * Added the handling of the SERVER_SIGNOFF notify to the Irssi
8807 SILC client as it was missing from there.
8809 Added the handling of the KICK notify to the Irssi SILC client
8810 as it was missing. Added "you have been kicked" message to
8811 Irssi SILC client's message modules formats.
8813 Added the handing of the KILL notify to the Irssi SILC client
8814 as it was missing. Added the kill message module formats
8817 The affected file is irssi/src/silc/core/silc-channels.c.
8819 * The router did not save the channel mode the server announced.
8820 Affected file silcd/packet_receive.c.
8822 * Fixed a possible crash in INFO command in server. If the
8823 server did not provide the server info it crashed. Affected
8824 file silcd/command.c.
8826 Sun Jun 17 15:26:05 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8828 * Fixed the GETKEY command in the server to check also the
8829 global list. Otherwise the GETKEY would not work correctly
8830 in normal SILC server. Affected file silcd/command.c.
8832 Sat Jun 16 18:00:00 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8834 * Fixed GETKEY crash, it crashed if the command did not succseed.
8836 Tue Jun 12 21:36:18 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8838 * Redefined the SILC MP API in lib/silcmath/silcmp.h. The API
8839 is now real and not just an macro interface to GMP.
8841 Removed the entire GMP from the source tree and imported new
8842 NSS MPI library instead. Reason for removing GMP is that it is
8843 extremely large and compiles extremely slow. The NSS MPI
8844 is only a few files and compiles in less than 10 seconds.
8845 The speed is also about the same as GMP. The MPI is imported
8846 to lib/silcmath/mpi.
8848 If the system has GMP installed we will still use the GMP.
8849 If it is not then the NSS MPI will be compiled.
8851 Mon Jun 11 18:07:24 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8853 * Merged a long nickname (127 characters long) crash bugfix from
8854 Irssi CVS tree. Affected file irssi/src/core/misc.c.
8856 * Merged a freed memory reference bugfix from Irssi CVS tree.
8857 Affected file irssi/src/core/commands.c.
8859 Sun Jun 10 16:08:35 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8861 * Added the server's public key sving and verification to the
8862 server when performing the SKE. This was missing and the
8863 remote server's (or router's) public key was accepted without
8864 checking whether we have it previously or trust it at all.
8865 Affected file silcd/protocol.c.
8867 Sat Jun 9 20:17:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8869 * Check in the silc_server_timeout_remote if protocol is active
8870 and make sure that the protocol's final callback is called so
8871 that all memory if freed. Affected file silcd/server.c.
8873 Sat Jun 9 12:51:27 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8875 * silc_server_whois_send_reply crashed the server if the nickname
8876 was 127 characters long. Affected file silcd/command.c.
8878 Thu Jun 7 16:29:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8880 * Added sanity check to the silc_server_new_client. If the hostname
8881 is provided inside username then check that the provided hostname
8882 really is the same as the resolved one. If the hostname was not
8883 resolved then check it from the public key. Affected file is
8884 silcd/packet_receive.c.
8886 * Fixed a fatal bug in Irssi SILC client. Do not send QUIT command
8887 if the server disconnected us and the connection is not valid
8888 anymore. Affected file irssi/src/silc/core/silc-channels.c.
8890 * Moved the silc_client_[chmode|chumode|chumode_char] away from
8891 the library to the lib/silcutil/silcutil.[ch].
8893 Thu Jun 7 08:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8895 * Close log file after open. Affected file
8896 lib/silcutil/silclog.c.
8898 * Check whether sock == NULL in silc_client_send_packet and return
8899 if it is. Affected file lib/silcclient/silcclient.c.
8901 * Check rec->entry == NULL in the Irssi SILC Client before
8902 sending the channel message. Affecte file is
8903 irssi/src/silc/core/silc-servers.c.
8905 Tue Jun 5 08:08:21 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8907 * Merged a splitted window bugfix from Irssi CVS tree. The
8908 affected file is irssi/src/fe-text/textbuffer-view.c.
8910 * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
8911 It did not print nickname.
8913 * Improved the distributions system a bit.
8915 Mon Jun 4 17:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8917 * Merged /WINDOW bugfix from irssi CVS tree. Affected file is
8918 irssi/src/fe-text/gui-window.c.
8920 * Fixed a fatal bug in Irssi SILC client. Crashed if sent message
8921 to in-active server. The affected file is
8922 irssi/src/silc/core/client_ops.c.
8924 * Resolve the client in USERS command reply if the entry does
8925 not have username resolved. The affected file is
8926 lib/silcclient/command_reply.c. Also, changed the IDENTIFY
8927 command to WHOIS command to really resolve stuff. The USERS
8928 is not used any more in any critical section so WHOIS can
8929 be used even though it might be slower than IDENTIFY.
8931 * Changed the lib/silcutil/silchashtable.h header to ROBODoc
8934 Sun Jun 3 14:21:32 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8936 * Changed the protocol API a bit more consistent in the
8937 lib/silccore/silcprotocol.[ch].
8939 * Changed the following headers to ROBODoc format:
8941 lib/silccore/silcpayload.h
8942 lib/silccore/silcprotocol.h
8943 lib/silccore/silcsockconn.h
8945 All core library headers are now formatted.
8947 Sat Jun 2 10:45:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8949 * Fixed a bug in Irssi SILC client; do not show that you are
8950 server/router operator if you really are not. Affected file is
8951 irssi/src/silc/core/client_ops.c.
8953 * Renamed silc_command_free_payload to silc_command_payload_free.
8954 Affected file lib/silccore/silccommand.h
8956 * Added silcmath.h to include the prototoypes of various routines
8957 in the lib/silcmath. Removed the old modinv.h, mpbin.h and
8960 * Changed the following headers to ROBODoc format:
8962 lib/silccore/silcchannel.h
8963 lib/silccore/silccommand.h
8964 lib/silccore/silcid.h
8965 lib/silccore/silcidcache.h
8966 lib/silccore/silcmode.h
8967 lib/silccore/silcnotify.h
8968 lib/silccore/silcpacket.h
8969 lib/silcmath/silcmath.h
8971 Fri Jun 1 22:19:37 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8973 * Added checking to the server code not to start the server if
8974 ciphers and stuff are not configured properly. Affected files
8975 silcd/serverconfig.[h] and silcd/server.c.
8977 * Changed the layout of the header files of the public interfaces
8978 in the SILC libraries. The new layout supports ROBODoc
8979 documentation tool (and some others) so that it is easy to create
8980 a library reference manual. All the other headers and source
8981 code must still follow the CodingStyle document. Also source
8982 code must not include these ROBODoc stuffs, only the headers.
8983 Furthermore, all public interface headers must now be named
8984 by using `silc' prefix, example: silcapi.h, silccipher.h.
8985 Some files were renamed due to this. All the other headers
8986 must not be used as public interfaces. I will update the
8987 CodingStyle document later. Changed following headers, so far:
8989 lib/silcclient/silcapi.h
8990 lib/silccore/silcauth.h
8991 lib/silccore/silcprivate.h
8992 lib/silccrypt/silcdh.h
8994 Fri Jun 1 10:28:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8998 * Removed silc_client_packet_send_flush from the client library
8999 as it is not needed. Affected file lib/silcclient/client.[ch].
9001 * Added printing of message of unresolved authentication method
9002 to the Irssi SILC client. Added it to the module formats.
9003 Removed the same message from the client library.
9005 Thu May 31 13:57:33 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9007 * Added new distribution feature, DISTLABEL. Every distribution
9008 can define own preprocessor label that can be used in the
9009 source code. For example: #ifdef SILC_DIST_CLIENT. Affected
9010 file distributions, acconfig.h.pre and prepare.
9012 Tue May 29 22:16:40 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9014 * Added Makefile.defines_int to include the actual definitions
9015 for Makefile.defines.in. Tested the new distribution system,
9016 created distributions and tested installation.
9018 * Added AWAY message printing to the Irssi SILC client. Added
9019 the messages to the irssi/src/fe-common/silc/module-formats.[ch].
9021 * Added SCONNECT command to call the SILC's CONNECT command.
9022 Cannot use CONNECT directly since Irssi uses that internally.
9023 Affected file irssi/src/silc/core/silc-servers.c.
9025 Added ACTION local command. It is same as ME command but takes
9026 the channel as mandatory argument.
9028 Rewrote some of the Irssi's help files to suite for SILC
9031 Mon May 28 19:05:22 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9033 * Added Makefile.defines[.in] that should for now on be included
9034 in all Makefile.am file in the source tree. That file includes
9035 all common compilation definitions for SILC source tree.
9037 Mon May 28 10:30:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9039 * Minor changes to the ./prepare script to change the package
9040 name according the distribution name to the configure.in.
9042 Sun May 27 22:24:57 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9044 * Created new distribution system. Added file `distributions'
9045 that defines all the distributions that can be created out of
9046 the SILC source tree. The ./prepare script now reads that
9047 file to determine how to prepare the distributions. The
9048 first argument to the ./prepare is the name of the distribution
9049 and second is the version of the distribution. If given
9050 without arguments it creates the default (toolkit) distribution
9051 with the default version (defined in ./prepare).
9053 All Makefile.am files that are subject to the distributions
9054 are now named as Makefile.am.pre. These are ./Makefile.am
9055 and lib/Makefile.am. Others may be changed later.
9057 Sun May 27 15:57:17 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9059 * Added invite list, ban list, some key management and connection
9060 error message printing to module formats in the Irssi SILC client.
9062 * Added new silc_client_set_away_message to set the away message
9063 that is back to the person who sent private message. The
9064 affected file lib/silcclient/silcapi.h and the
9065 lib/silcclient/client_prvmsg.c.
9067 Sun May 27 12:39:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9069 * Fixed the private message sending in the Irssi SILC client,
9070 added local command KEY to the Irssi SILC client.
9072 Added key management and key agreement message formats to the
9073 irssi/src/fe-common/silc/module-formats.[ch].
9075 Added USERS (alias WHO) printing, server/router operator
9076 indication and LIST command printing to the module formats.
9078 Sat May 26 17:43:42 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9080 * Fixed channel joining notify handling, cumode notify handling
9081 from Irssi SILC client.
9083 * Added SILC specific module-formats to the Irssi SILC client so
9084 that SILC specific message hilighting, colors etc is possible.
9085 Affected file irssi/src/fe-common/silc/module-formats.[ch].
9087 Added channel mode, channel user mode, actions, notices,
9088 whois and whowas printing to the the module-formats.c.
9090 * Fixed a bug in channel deletion in the server. The channel
9091 is not left to the cache even if the channel founder auth mode
9092 is set when there are no users anymore on the channel. Affected
9093 file silcd/server.c.
9095 * The silc_net_localhost now resolves the entire hostname including
9096 the domain name. Affected file lib/silcutil/silcnet.c.
9098 Sat May 26 12:13:37 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9100 * Changed the ask_passphrase client operation to be ascynchronous.
9101 It has now a completion callback and a context that the
9102 application must call after it has got the passphrase from
9103 the user. Affected files lib/silcclient/silcapi.h,
9104 lib/silcclient/protocol.c, lib/silcclient/command.c and
9107 Added SilcAskPassphrase callback that the application calls
9108 to deliver the passphrase to the library.
9110 * Changed the SKE protocol's SilcSKEVerifyCb to be asynchronous.
9111 The public key verification and especially a certificate
9112 verification is asynchronous procedure.
9114 Added new SILC_SKE_STATUS_PENDING status to indicate the
9115 request is pending and a callback will be called to finalize
9118 Added also SILC_SKE_STATUS_PUBLIC_KEY_NOT_PROVIDED status to
9119 indicate that remote end did not send its public key (or
9120 certificate), even though we require it. Added check for this
9121 condition in the SKE. This was a security bug, now fixed.
9123 Defined new SilcSKEVerifyCbCompletion callback that is called
9124 when the verification process is completed.
9126 The affected files lib/silcske/silcske_status.h and
9127 lib/silcske/silcske.[ch].
9129 * Changed the verify_public_key client operation to be async
9130 as well. Defined SilcVerifyPublicKey callback that is used to
9131 indicate the success of the public key verification process.
9133 Changed the server and client to use the new async client
9136 * Changed the Irssi SILC client's internal scheduler to be called
9137 twice as many times as it used to be. As a result the client
9138 should be a bit faster now. Affected file is
9139 irssi/src/silc/core/silc-core.c.
9141 * Added support to Irssi SILC client of asynchronous public key
9142 verification and passphrase inquiry. Affected file is
9143 irssi/src/silc/core/silc-core.c.
9145 Fri May 25 14:38:38 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9147 * Do not say "You have left channel %s" in client library.
9148 Moved it to the application. Affected files are
9149 lib/silcclient/command.c and silc/client_ops.c.
9151 * Fixed silc_client_get_clients. Command context was not
9152 duplicated and was freed memory in the callback. Affected
9153 file lib/silcclient/idlist.c.
9155 * Do not say "you are now talking..." on JOIN command in the
9156 client library. The appliation must handle it.
9158 * Do not say ".. changed topic to" in command reply in the
9159 client libary. The application must handle it.
9161 * Fixed TOPIC command sending in the client library.
9163 * Fixed a memory leak in silc_client_command_free in the file
9164 lib/silcclient/command.c.
9166 Thu May 24 19:08:55 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9168 * Imported a modified version of Irssi client to the source tree.
9169 The Irssi will be used to create a new client called
9170 Irssi SILC. Imported to irssi/.
9172 Added silc_core_init_finish function to the Irssi. Affected
9173 file irssi/configure.in.
9175 A lot changes in the Makefile.ams around the irssi tree.
9177 Tue May 22 22:23:49 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9179 * Do not rehash if the new size is same as the old size of the
9180 hash table, in the silc_hash_table_rehash*. The affected file
9181 lib/silcutil/silchashtable.c.
9183 * Replaced hash_table_del_by_context calls from the server
9184 (when channel->user_list and client->channels) to the
9185 hash_table_del as it is sufficient and faster.
9187 Tue May 22 17:27:16 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9189 * Added silc_hash_table_list, silc_hash_table_get and the
9190 SilcHashTableList structure to provide an alternative way to
9191 traverse the hash table. The affected files are
9192 lib/silcutil/silchashtable.[ch].
9194 * Changed the server's idlist routines to use the hash table
9195 routines to optimize the code.
9197 Mon May 21 21:46:20 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9199 * Replaced the client entry's `channel' list and channel entry's
9200 `user_list' list to hash tables for optimized lookup. Changed
9201 the code to use the hash table interface around the code.
9202 Affected file lib/silcd/idlist.[ch].
9204 * Added `auto_rehash' boolean argument to the function
9205 silc_hash_table_alloc to indicate whether the hash table should
9206 auto-rehash when it thinks is appropriate time. It will
9207 increase the hash table size if the there is twice as much
9208 entries in the table than the size of the table, and will
9209 decrease the size if there are twice as less entries than
9210 the size of the table.
9212 Mon May 21 09:51:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9214 * Fixed silc_xxx_get_supported to not crash at some circumstances.
9216 Sun May 20 13:45:58 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9218 * silc_idcache_purge_by_context deletes the entry now by context
9219 as it is supposed to do. Affected file lib/silccore/idcache.c.
9221 * Send the ERR_NO_SUCH_NICK in the WHOIS command reply if the
9222 client is not anymore valid (WHOWAS givens the info) and not
9223 the ERR_NO_SUCH_CLIENT_ID if the nickname still exists.
9225 Sat May 19 16:30:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9227 * Removed the `data' and `data_len' arguments from the ID Cache
9228 interfaces and added `name' argument. ID Cache does not handle
9229 anymore the binary data only a names associated with given ID.
9231 * When hashing a Client ID with silc_hash_id the entire ID is
9232 not hashed anymore, instead only the hash of the Client ID is
9233 hashed. This way we can access the Client ID from the cache
9234 with Client ID but with the hash of the ID (which is a hash of
9235 the nickname) as well without any difference in performance.
9237 Added also silc_idcache_find_by_id_one_ext to do one on one
9238 searching when we have the actual ID. Added also function
9239 silc_hash_client_id_compare. The affected files are
9240 lib/silccore/idcache.[ch] and lib/silcutil/silcutil.[ch].
9242 * When hashing the name associated with a ID it is always done
9243 in lowercase. This way we can access the cache without worrying
9244 about case-sensitivity, even though, for example nicknames are
9247 * Fixed a bug in server with channel message sending. It put
9248 wrong ID type as destination ID. The affected file
9249 silcd/packet_send.c.
9251 * silc_idcache_del_by_context now deletes from all hash tables
9252 by context. Affected file lib/silccore/idcache.c.
9254 Fri May 18 17:42:00 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9256 * Changed the client library to use the new ID Cache interface.
9257 Changes around the source tree.
9259 * Added silc_hash_table_rehash_ext to rehash with specific
9260 hash function. Affected file lib/silcutil/silchashtable.[ch].
9262 * Added silc_hash_string_compare to compare two strings in the
9263 hash table. Affected file lib/silcutil/silcutil.[ch].
9265 Fri May 18 11:18:45 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9267 * Added new function silc_idcache_del_by_context into the
9268 lib/silccore/idcache.[ch].
9270 * Changed the server's ID list routines to use the new ID Cache
9271 interface. Changes around the source tree.
9273 Fri May 18 08:35:31 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9275 * Added silc_hash_table_del[_by_context]_ext functions in to the
9276 lib/silcutil/silchashtable.[ch].
9278 Removed silc_hash_table_find_all* routines and added new
9279 silc_hash_table_find_foreach to replace them.
9281 Added silc_hash_table_replace_ext function as extended
9282 replacing function. Separated the simple hash table interface
9283 from the extended hash table interface in the file
9284 lib/silcutil/silchashtable.h.
9286 * Fixed minor bugs and changed it to use some of the new
9287 hash table functions in lib/silccore/idcache.c
9289 Thu May 17 18:15:12 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9291 * Added new function silc_hash_table_find_all to return all keys
9292 in the hash table by the specified key. As the hash table is
9293 collision resistant it also makes it possible to have several
9294 duplicate keys in the hash table. This function may be used to
9295 find all of the keys from the hash.
9297 Added user_context arguments to the SilcHashFunction,
9298 SilcHashCompare and SilcHashDestructor to deliver user specified
9301 Added new fuctions silc_hash_table_find[_all]_ext to do
9302 extended lookup with specified hash and compare functions and
9303 specified user contexts.
9305 Added new function silc_hash_table_add_ext to add the key
9306 with specified hash function and user context.
9308 Added new function silc_hash_table_foreach to traverse all
9309 entrys in the hash table. Added SilcHashForeach callback
9312 Added new function silc_hash_table_del_by_context to delete
9313 the entry only if the context associated with the key matches.
9315 Affected files are lib/silcutil/silchashtable.[ch].
9317 * Removed silc_hash_[server/client/channel]_id and added just
9318 silc_hash_id to the lib/silcutil/silcutil.[ch]. Added also
9319 silc_hash_id_compare to compare two ID's using as the hash table
9320 comparison function. Added also silc_hash_data to hash
9321 binary data and silc_hash_data_compare to compare it.
9323 * Removed silc_idlist_find_client_by_hash as it is not needed
9324 anymore. Affected file silcd/idlist.[ch].
9326 * Rewrote the entire ID Cache system (in lib/silccore/idcache.[ch])
9327 to use internally the SilcHashTable. The new ID Cache is a lot
9328 faster than the old one. Some of the ID Cache interface was also
9329 rewritten and obsolete and stupid functions were removed.
9331 Wed May 16 23:03:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9333 * Added entry_count field to the SilcHashTable to keep the number
9334 of the entries in the table. Implemented the function
9335 silc_hash_table_rehash. Added new function
9336 silc_hash_table_count. Affected file lib/silcutil/silchashtable.c.
9338 Fixed a minor bug in silc_hash_table_free.
9340 * Added silc_hash_string, silc_hash_uint, silc_hash_ptr,
9341 silc_hash_client_id, silc_hash_server_id and silc_hash_channel_id
9342 into the lib/silcutil/silcutil.[ch].
9344 Wed May 16 20:02:47 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9346 * Implemented a collision resistant hash table into the
9347 lib/silcutil/silchashtable[ch]. See the header and the source
9348 for the SilcHashTable API.
9350 Tue May 15 22:05:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9352 * Merged dotconf version 1.0.2 into lib/dotconf.
9354 Sun May 13 19:32:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9356 * Do not compile anything in lib/silcsim/* if the SIM support
9357 is not enabled. The tree should now compile without problems
9360 Thu May 10 22:49:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9362 * Compiled the SILC under cygwin. Compiled and tested briefly
9363 without problems. More tests needed. The SIMs didn't compile
9366 * Added various #ifdef HAVE_* stuff to lib/silccrypt/silrng.c.
9368 * Fixed possible crash in silc_get_username in the
9369 lib/silcutil/silcutil.c.
9371 Tue May 8 09:04:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9373 * Fixed a va_arg in silc/client_ops.c.
9375 * Oops, RC5 routines were named AES and caused some problems
9376 when not using SIM's. Affected file lib/silccrypt/rc5.c.
9378 Sun May 6 13:59:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9380 * Added new SilcIDIP structure into the lib/silccore/id.h and
9381 replaced the old `ip' fields from all SILC ID's to that type.
9382 This is a step towards IPv6 support.
9384 The silc_id_get_len takes now the ID as an extra argument.
9385 The silc_id_id2str, silc_id_str2id and silc_id_dup now supports
9386 both IPv4 and IPv6 based ID's.
9388 The affected files are lib/silccore/id.[ch] and other files
9389 around the tree using these routines.
9391 * Removed the ID length arguments in server from various
9392 silc_server_send_notify_* routines -> they are not needed
9395 Sat May 5 13:56:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9397 * Fixed memory leak in silc_encode_pem_file in the file
9398 lib/silcutil/silcutil.c.
9400 Thu May 3 21:23:50 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9402 * Check minor version as well in the SKE. Affected files are
9403 silcd/protocol.c and lib/silcclient/protocol.c.
9405 * Added --identifier option to the server so that an identifier
9406 can be when creating the public key for the server. Affected
9407 file is silcd/silcd.c.
9409 * Fixed minor decoding bug in silc_pkcs_decode_identifier in
9410 lib/silccrypt/silcpkcs.c.
9412 Wed May 2 20:50:49 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9414 * Register default ciphers and stuff when using -C option with
9415 the server. Affected file sildc/silcd.c.
9417 * Put back the servers public key filename format, it is better
9418 than the new one. For now, the client keys are saved with the
9419 new filename format. The affected file silc/client_ops.c.
9421 * Implemented the Cipher API for the rest of the ciphers that
9422 did not implement it or implemented it the wrong way.
9424 Wed May 2 13:31:26 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9426 * Register default ciphers and stuff when using the -S option
9427 in the client. Affected file silc/silc.c. Same also when
9428 creating new key pair with -C option.
9430 Tue May 1 14:18:13 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9432 * Fixed the silc_verify_public_key client operation function to
9433 save the public keys differently. The fingerprint is now
9434 used as filename and not the hostname. This way also the
9435 client keys are saved uniquely and not with hostnames. The
9436 affected file is silc/client_ops.c.
9438 * Trimmed the silc_hash_fingerprint function to remove extra
9439 whitespaces from the end of the fingerprint. The affected
9440 file is lib/silccrypt/silchash.c.
9444 * Added silc_cipher_register_default function to register all
9445 default ciphers. It can be used when configuration files
9446 does not exist and the application does not want any specific
9447 ciphers in any specific order.
9449 The SilcDList is now used as silc_cipher_list dynamically
9450 allocated cipher list. Removed the static list all together
9451 and now all ciphers must be allocated to the dynamic list.
9452 The silc_cipher_alloc routine was changed to check only the
9455 All silc_cipher_* routines that used to return int returns
9458 The affected files lib/silccrypt/silccrypt.[ch].
9460 * The same thing was done to silc_hash_* as for silc_cipher_*
9461 routines. Affected files lib/silccrypt/silchash.[ch].
9463 * The same thing was done to silc_pkcs_* as for silc_cipher_*
9464 routines. Affected files lib/silccrypt/silcpkcs.[ch].
9465 Added also silc_pkcs_[un]register[_default] functions.
9466 Removed the data_context from the PKCS API.
9468 * Added silc_hmac_register_default function to register default
9469 hmacs. Affected files lib/silccrypt/silchmac.[ch]. Added also
9470 SILC_ALL_HMACS macro that can be used with silc_hmac_unregister
9471 to unregister all hmacs at once.
9473 * Register the default ciphers, hash functions, PKCSs and HMACs
9474 if client's configuration file does not exist. The affected
9477 * The client did not load the hash functions from the SIM
9478 modules at all. Added support for this. Affected file is
9479 silc/clientconfig.c.
9481 * When decoding public key with silc_pkcs_public_key_decode, check
9482 the supported algorithm only if PKCS are registered. Affected
9483 file lib/silccrypt/silcpkcs.c. The same was done with the
9484 silc_pkcs_private_key_decode.
9486 * Fixed the SILC List routines to keep the list always in order.
9487 It used to change the list's order when traversing the list but
9488 not it preserves the order. Affected file lib/trq/silclist.h.
9490 Mon Apr 30 17:29:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9492 * Added the client library to use the SilcSocketConnection's
9493 reference counter (by silc_socket_dup) to prevent the bug that
9494 the socket object may be freed underneath async operation.
9496 * The name resolv library checking fixes in the configure.in.pre.
9499 * Created new version of the protocol drafts for future
9500 development. The -03 drafts are the ones that will be changed
9501 in the trunk now and the -02 will remain as they are.
9503 * Send list of CUMODE notifys to the router when announcing
9504 the channel users to the router. Affected file silcd/server.c.
9505 If the router receiving channel founder CUMODE for a channel
9506 that already has channel founder it will send CUMODE notify
9507 to the sender to remove the channel founder rights from the
9508 announced client. Affected file silcd/packet_receive.c.
9510 * The CUMODE notify may now use Server ID as well as the entity
9511 who changes the mode. Updated protocool specs.
9513 * Updated INSTALL and README files.
9515 Sun Apr 29 23:17:50 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9517 * New web pages in the http://silc.pspt.fi. The pages was
9522 Sun Apr 29 13:33:41 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9524 * Implemented the [DenyConnectin] config section in the server.
9525 Added silc_server_config_denied_conn to check whether incoming
9526 connection is denied. Affected file silcd/serverconfig.[ch].
9528 * Do not check the ports when checking the incoming configuration
9529 data if the port is 0, meaning any. Affected file is
9530 silcd/serverconfig.c.
9532 Fri Apr 20 18:58:43 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9534 * Fixed buffer overflow in silc_string_compare in the file
9535 lib/silcutil/silcutil.c.
9537 * Fixed double free in silc_server_command_leave in the file
9540 Fri Apr 20 14:00:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9542 * Fixed the version checking in the server. Affected file is
9545 Thu Apr 19 19:52:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9547 * Fixed the configuration data fetching when accepting new
9548 connections in the server. Affected file silcd/server.c.
9550 Thu Apr 19 11:40:20 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9552 * Added `sender_entry' argument to the function
9553 silc_server_packet_relay_to_channel so that we can check
9554 whether some destination actually belongs to the same route
9555 the sender belongs (ie, we must not resend the packet to the
9556 sender). Affected file silcd/packet_send.[ch].
9558 * Added `servername' field to the SilcClientEntry in the server
9559 to hold the name of the server where client is from. Affected
9560 file is silcd/idlist.h.
9562 Wed Apr 18 22:19:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9564 * Moved the channel message encrypting in the router betwen
9565 router connections from silc_server_channel_message to the
9566 silc_server_packet_relay_to_channel since we want to check
9567 whether we have anybody channel before encrypting anything.
9568 Affected files silcd/packet_[receive/send].c.
9570 Tue Apr 17 21:18:19 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9572 * Fixed the [AdminConnection] server config section to support
9573 multiple entries. Affected file silcd/serverconfig.c.
9575 * Added support into the server to check the validity of the
9576 incoming connection before executing any KE or authentication
9579 * The connection configuration is now saved to the KE and
9580 connection auth protocol contexts and not fetched anymore in
9581 the protocol. Affected files silcd/server.c, silcd/protocol.[ch].
9583 * The local hosts listenning address and port is also resolved
9584 now when starting the server. We want to have the socket object
9585 to include the real address and port for the listener. Added
9586 new function silc_net_check_local_by_sock into the files
9587 lib/silcutil/silcnet.[ch].
9589 * Fixed a broadcast bug in server -> do not broadcast if we
9592 * Fixed a routing bug. Do not route broadcast packets ever.
9593 Broadcast packets must be processed always and not routed since
9594 they may be destined to some other host than yourself and thus
9595 would get routed without no good reason. Affected file is
9598 * Added function silc_server_config_is_primary_route to check
9599 whether primary router connection has been configured (a router
9600 configuration that we are initiating). If there is not, we
9601 will assume that there is only two routers in the SILC network
9602 and we will use the incoming router connection as our primary
9603 route. Affected files silcd/serverconfig.[ch], silcd/server.c.
9605 * Changed the order of the broadcasting. Broadcast _after_ the
9606 packet has been processed not before. Affected file is
9609 * Fixed a [ClientConnection] parsing bug. The port was never
9610 parsed correctly thus resulting to port 0. Affected file
9611 silcd/serverconfig.c.
9613 * Fixed silc_server_send_notify_args -> it ignored the `broadcast'
9614 argument and did not set the broadcast packet flag. Affected
9615 file silcd/packet_send.c. Fixed same bug in the function
9616 silc_server_send_notify as well.
9618 * If we receive NEW_ID packet for our own ID in the server, ignore
9621 Mon Apr 16 12:10:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9625 * Removed the nickname from the Private Message Payload.
9626 Updated the code and the protocol specs.
9628 * Updated protocol specs for submitting to the IETF.
9630 * Tweaked the Random Number Generator a bit. Affected file
9631 lib/silccrypt/silcrng.c. Exported a new function
9632 silc_rng_[global]_add_noise which can be used to add more
9635 Sat Apr 14 16:21:32 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9637 * Do not parse packets with different timeout when protocol
9638 is active -> may cause problem with rekey. Affected file
9641 * When server receives signoff notify it must not create
9642 new channel key if the client is on any channels since the
9643 sender of the signoff notify will create it.
9645 Fri Apr 13 17:12:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9647 * Added printing of error messages during SKE protocol from the
9648 failure packet sent by server during SKE. Affected file
9651 * Removed the client's failure_callback handling with timeout
9652 and handle it immediately when received.
9654 * The SKE library returned wrong type in SUCCESS and FAILURE
9655 packets. They must be 32 bit MSB not 16 bit MSB.
9657 Fri Apr 13 00:09:08 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9659 * Ok, rewrote the logic of the re-key and now it seems to work.
9660 I tested it on high traffic with frequent re-keys without
9661 problems. Added hmac_receive (and renamed hmac to hmac_send)
9662 in SilcClientConnection in lib/silcclient/client.h and
9663 in SilcIDListData in silcd/idlist.h. Also, removed the
9664 SilcPacketParserContext's cipher and hmac fields as they are
9665 not needed anymore and actually caused some problems when
9666 the ciphers and hmac's changed underneath the packet parser.
9668 Thu Apr 12 14:42:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9670 * If re-key protocol is active then process the incoming packets
9671 synchronously since we must assure that icoming packets encrypted
9672 with the old key is processed before the new keys is set to
9673 use. This is true other packets than for REKEY packets.
9674 Affected file silcd/server.c. The same was done to client library
9675 as well, affected file lib/silcclient/client.c.
9677 Thu Apr 12 12:01:52 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9679 * Fixed bug in client and server to accept the force send if
9680 the packet is send from silc_[server/client]_packet_process
9681 function. Otherwise the packets are never delivered, oops.
9683 Wed Apr 11 22:10:15 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9685 * Disable force sending of packets when REKEY protocol is active.
9686 We must assure that no packet is sent directly when rekey is
9687 performed. All packets must be sent through packet queue.
9688 Added macro SILC_SERVER_IS_REKEY to silcd/server.h and
9689 SILC_CLIENT_IS_REKEY to lib/silcclient/client.h. Affected
9690 function is silc_[server/client]_packet_send_real to check
9693 * Replaced the SIM paths from example config files to
9694 /usr/local/modules. Also, make install creates now
9695 /usr/local/silc/logs directory to hold all the SILC server
9698 Wed Apr 11 16:59:59 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9700 * Made the configure.in.pre work on Solaris. Patch by salo.
9702 * Made all ciphers compatible with non-x86 machines. Defined
9703 CBC mode macros into lib/silccrypt/ciphers_def.h.
9705 Tue Apr 10 20:32:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9707 * Fixed the make install.
9709 Tue Apr 10 16:20:34 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9711 * When MAC computation fails the silc_packet_decrypt returned 0
9712 even though it was supposed to return -1. Fixed this. The
9713 affected file is lib/silccore/silcpacket.c.
9715 * Do not replace the config files in /etc/silc (in make install)
9716 if they already exist. Affected file ./Makefile.am.
9718 * Do not send re-key packets immediately but through packet queue.
9719 Affected file silcd/protocol.c and lib/silcclient/protocol.c.
9721 * Changed silc_net_check_host_by_sock to return FALSE if the
9722 IP/DNS could not be resolved. Though, it returns the IP address
9723 now even if it could not resolve it (but returns also FALSE).
9724 Affected file lib/silcutil/silcnet.[ch].
9726 Mon Apr 9 21:54:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9728 * Added silc_pkcs_decode_identifier to decode the public key's
9729 identifier. Affected file lib/silccrypt/silpkcs.[ch].
9730 Added also silc_pkcs_free_identifier. Added also new context
9731 SilcPublicKeyIdentifier.
9733 * Added -S option to the silc client. It is used to dump the
9734 contents of the specified public key file.
9736 * Changed the PKCS api to return the public key length when
9737 setting the public key.
9739 * Fixed a fatal bug in the public and private key file loading.
9740 Affected file lib/silccrypt/silcpkcs.c.
9742 * Execute the packet parsing for client with zero (0) timeout
9743 if the protocol is active. Affected file silcd/server.c.
9745 Sun Apr 8 19:30:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9747 * Made the key generation options to the silcd program. Added
9748 -C option, equivalent to client's option.
9750 * Added new [ServerKeys] config section to the server. It
9751 configures the server's public and private key.
9753 * Defined generic Public Key Payload into the protocol
9754 specification to send specific type of public keys and
9757 * Defined new command SILC_COMMAND_GETKEY to fetch a client's
9758 public key or certificate.
9760 * Implemented the GETKEY command to the server and to the
9761 client library and on user interface.
9763 Sun Apr 8 01:37:21 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9765 * Made preliminary `make install' work.
9767 Thu Apr 5 17:42:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9769 * Added SilcServerRekey context into silcd/idlist.h.
9771 * Added the PFS support as defined in the specification to the
9772 SKE protocol. Affected files lib/silcske/*.c.
9774 * Added `ske_group' field to the SilcServerRekey context to hold
9775 the number of the SKE group that is used with PFS in re-key.
9776 Affected file silcd/idlist.h.
9778 * Added PFS re-key support to the server. Affected file is
9781 * Added silc_protocol_cancel to cancel execution of the next
9782 state of the protocol. Affected file is
9783 lib/silccore/silcprotocol.[ch].
9785 * Added the re-key support with and without PFS to the client
9786 library. Re-key is performed once in an hour, by default.
9788 Added new protocol type SILC_PROTOCOL_CLIENT_REKEY.
9789 Added silc_client_rekey_callback and silc_client_rekey_final.
9790 Affected files are lib/silcclient/protocol.[ch] and
9791 lib/silcclient/client.[ch].
9793 * Removed the `hmac_key' and `hmac_key_len' fields from the
9794 SilcClientConnection structure; not needed. Affected file is
9795 lib/silcclient/client.h.
9799 Wed Apr 4 16:32:31 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9801 * Do not ask whether user wants to use the negotiated private key
9802 for private messages, just use it. Affected file is
9803 silc/local_command.c.
9805 * Added `send_enc_key' and `enc_key_len' fields to the
9806 SilcIDListData structure since they are needed in the re-key
9807 phase. Affected file is silcd/idlist.[ch].
9809 * Implemented the simple re-key protocol into the server.
9810 Affected files silcd/server.c and silcd/protocol.[ch]. The
9811 re-key will be performed once in an hour, by default.
9813 Added new protocol type SILC_PROTOCOL_SERVER_REKEY.
9814 Added silc_server_rekey, silc_server_rekey_callback and
9815 silc_server_rekey_final.
9817 * Removed Tunneled flag from the protocol. Updated the code
9818 and the specifications.
9820 * Adde `pfs' field to the SilcIDListData to indicate whether
9821 the PFS is to be performed in the re-key. Affected file is
9824 Tue Apr 3 21:52:42 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9826 * Defined uint8, int8, uint16, int16, uint32, int32, uint64 and
9827 int64 of at least the xintXX size. If void * is less that 4
9828 bytes uint32 * will be used. Defined bool as boolean.
9830 * Changed _ALL_ unsigned long and unsigned int to uint32,
9831 unsgined short to uint16 in the source tree.
9833 * Fixed a fatal bug in silc_server_remove_clients_by_server. Do
9834 not handle clients that has entry->data.registered == FALSE.
9835 They are not in the network anymore. Affected file is
9838 Tue Apr 3 16:39:19 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9840 * Implemented the sending of the SERVER_SIGNOFF notify in the
9841 server. Affected file is silcd/server.c.
9843 * Added silc_server_send_notify_args into silcd/packet_send.[ch].
9844 Added also silc_notify_payload_encode_args into the
9845 lib/silccore/silcnotify.[ch].
9847 * Implemented ther SERVER_SIGNOFF notify handling in the server.
9848 Affected file silcd/packet_receive.c.
9850 * Implemented the SERVER_SIGNOFF notify handling in the client
9851 library. Affected file lib/silcclient/client_notify.c. Also,
9852 implemnted the printing of the SERVER_SIGNOFF info to the
9853 application. Affected file silc/client_ops.c.
9855 * The silc_idlist_del_server now returns TRUE or FALSE to indicate
9856 if the deleting was successful. Affected file silcd/idlist.[ch].
9858 * Added support for public key authentication in the connection
9859 authentication protocol in the client library. Affected file
9860 lib/silcclient/protocol.c.
9862 * Changed the server's silc_idlist_get_clients_by_* interface
9863 to support already allocated array so that new entries may be
9864 added to pre-allocated array. Affected file silcd/idlist.[ch].
9865 This fixes some bugs with WHOIS, WHOWAS and IDENTIFY commands
9866 and command replies.
9868 * All command reply functions in the server now calls the
9869 pending command callback even if error occured. This way the
9870 error will be delivered to the client as well. Affected files
9871 silcd/command.c and silcd/command_reply.c.
9873 * Fixed INFO command to return local server's info if no server
9874 was provided. Affected file lib/silcclient/command.c.
9876 * Removed RESTART command for good. Updated the code and the
9879 * Rewrote parts of the task system. It is a bit simpler now.
9880 Removed unsued task priorities. The affected files are
9881 lib/silcutil/silctask.[ch].
9883 Mon Apr 2 20:02:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9885 * Moved the USERS printing from the library to the application.
9886 Affected files lib/silcclient/command.c and silc/client_ops.c.
9888 Mon Apr 2 13:13:23 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9892 * Added channel key re-key support. The re-key is perfomed
9893 only by the router and is done once in an hour. Added `rekey'
9894 field to the SilcChannelEntry in the server. Affected files
9895 silcd/server.c and silcd/idlist.h.
9897 * Added silc_task_unregister_by_context into the file
9898 lib/silcutil/silctask.[ch].
9900 Sun Apr 1 19:49:34 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9902 * Added SILC_UMODE_GONE mode to indicate when the client is not
9903 present in the SILC network. Added also support to the local
9904 command AWAY that will set this mode. Added support of showing
9905 "xxx is gone" in WHOIS command. The USERS command shows the
9906 gone status as well.
9908 * Fixed setting server and router operator privileges in the
9909 server's UMODE command. Affected file silcd/command.c.
9911 * Merged the SKE KE1 and KE2 payloads into one payload. The
9912 new KE payload is equivalent to the old KE2 payload.
9914 Cleaned up the SKE Start Payload parsing. It now uses the
9915 simple buffer unformatting to do the parsing. A lot faster
9918 Added new Mutual Authentication flag (SILC_SKE_SP_FLAG_MUTUAL)
9919 to the SKE that is used to indicate whether both of the SKE
9920 parties should perform authentication. By default only the
9921 responder performs authentication. By setting this flag also
9922 the initiator must do authentication. By default it is unset
9923 since in normal SKE case, client to server connection, only
9924 the responder should do authentication. When doing SKE between
9925 two clients both should perform authentication. Updated the
9926 code and the protocol specs.
9928 * A little fix to IDENTIFY command in the server. Search the
9929 client first by hash not nickname. Affected file is
9932 * Fixed the silc_client_close_connection to support closing
9933 the client to client connections wihtout deleting too much
9934 data. Affected file lib/silcclient/client.c.
9936 * Fixed a fatal bug in server and client; if KE1 or KE2 packets
9937 are received if protocol used to be active but is not anymore
9938 the application would crash due to NULL pointer dereference.
9939 Affected files silcd/server.c and lib/silcclient/client.c.
9941 * Added `hash' field to the SilcClientConnection to include
9942 the hash function negotiated in the SKE protocol.
9944 * Added new channel mode SILC_CMODE_FOUNDER_AUTH that is used
9945 to set the channel founder authentication data. A client can
9946 claim the founder rights later by providing the authentication
9947 data to the CUMODE command using SILC_CUMODE_FOUNDER mode.
9948 This way the channel founder can regain the channel founder
9949 privileges even it is left the channel. This works only on
9950 local server and the client must be connected to the same
9951 server to be able to regain the founder rights. Updated the
9952 protocol specs accordingly.
9954 Added support to the CMODE command in the client to set the
9955 founder auth data. Read the README to see how to set it.
9957 Added support to the CUMODE command to claim the founder
9958 rights. Read the README to see how to do it.
9960 Added support for the founder authentication to the Channel
9961 Entry in the server. Affected file silcd/idlist.h.
9963 Added support for the SILC_CMODE_FOUNDER_AUTH mode in the
9964 server's CMODE command. Affected file silcd/command.c.
9966 * Added the following new functions into lib/silccore/silcauth.[ch]:
9967 silc_auth_get_method and silc_auth_get_data.
9969 * The server now saves the remote hosts public key to the
9970 SilcIDListData pointer. Affected file silcd/protocol.c.
9972 * The normal server now does not remove the channel entry from
9973 the cache if the founder authentication data is set. It used
9974 to remove it if the founder was the last one on the channel on
9975 the server and left the channel. The auth data is saved and
9976 if the channel is re-joined later the old entry is used with
9977 the old auth data. Affected files silcd/command_reply.c and
9980 * Removed the `pkcs' field from the SilcIDListData structure
9981 in the server; it is not used. Affected file silcd/idlist.h.
9983 Sat Mar 31 15:38:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9985 * Fixed packet processing on slow links. Partial packets were
9986 never re-processed because the incoming data buffer was cleared
9987 by the application. Application must not directly clear the
9988 sock->inbuf, the packet processing routines handle it. Fixed
9989 this in client library and in server.
9991 Fri Mar 30 16:35:27 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9993 * Fixed the WHOIS and IDENTIFY send reply function to really
9994 check whether to send list or just one entry. Affected file
9997 * Cleaned up the LEAVE command's channel key distribution. The
9998 affected file silcd/command.c.
10000 * Changed CMODE_CHANGE's <Client ID> to <ID Payload> as server
10001 can enforce the channel mode as well. In that case the ID
10002 includes the ID of the server. The code now enforces the
10003 mode change if the router have different mode than the server.
10005 * The notify client operation with CMODE_CHANGE notify can now
10006 return NULL client_entry pointer if the CMODE was not changed
10007 by client. Application must check for this.
10009 * Added <Server ID> argument to INFO command to support server
10010 info fetching by Server ID.
10012 * Added silc_server_announce_get_channel_users to get assembled
10013 packets of channel users of the specified channel. Affected
10014 file silcd/server.[ch].
10016 * Fixed bug in CHANNEL_CHANGE notify in the server. The new ID
10017 was freed underneath the ID Cache.
10019 * Re-announce clients when the server received CHANNEL_CHANGE
10020 notify from the router. Affected file silcd/packet_send.c.
10022 Thu Mar 29 19:10:28 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10024 * Fixed a fatal bug when client does /join 1 2 3 4 5 6 the server
10025 crashed since it did not handle the fact that there is no cipher
10026 called "3" and didn't check the error condition. Now fixed.
10028 * Added SILC_MESSAGE_FLAG_REQUEST message flag as generic request
10029 flag. It can be used to send message requests.
10031 Thu Mar 29 12:26:25 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10033 * Implemented the RESTART command in the client.
10035 * Added SILC_MESSAGE_FLAG_NOTICE message flag for informational
10036 notice type messages. Added notice printing to the user
10039 * The channel keys are not re-generated if the channel's mode
10040 is PRIVKEY, ie private key on the channel exists. Affected
10041 files silcd/server.c and silcd/command.c.
10043 * Fixed a little bug in channel message delivery when channel
10044 private keys are set in the server. Affected file is
10045 silcd/packet_send.c.
10047 * Changed the setting on channel->on_channel = TRUE from the
10048 silc_client_save_channel_key to the JOIN command reply. The
10049 key payload is not received if the private channel key is set.
10050 Affected file lib/silcclient/command_reply.c and the
10051 lib/silcclient/client_channel.c.
10053 * When the CMODE_CHANGE notify is sent and the channel private
10054 key mode is removed the channel key must be re-generated in
10055 other cells as well. Added this support for the router in the
10056 silcd/packet_receive.c.
10058 * Added new local command NOTICE to send notice message on
10059 channel. Affected file silc/local_command.[ch].
10061 Wed Mar 28 23:55:54 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10063 * Added new local command ME to the client. It is used to send
10064 message to a channel with SILC_MESSAGE_FLAG_ACTION to indicate
10065 some action. Affected file silc/local_command.[ch].
10067 * Changed channel_message and private_message client operations
10068 to deliver the message flags to the application. Added also
10069 the `flags' arguments to the silc_client_send_channel_message
10070 and silc_client_send_private_message functions. Affected file
10073 Wed Mar 28 20:50:47 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10075 * Redefined the Private Message Payload to support private message
10076 keys and to support the new private message flags. Updated
10077 the protocol specs. Flags makes it possible to have for example
10078 CTCP style messages.
10080 * Added new type SilcPrivateMessagePayload and defined an API
10081 for it in the lib/silcclient/silcprivate.[ch].
10083 * Tested private message private keys successfully. Tested the
10084 private message key set, unset and list commands with the new
10087 * Redefined the Channel Message Payload to include the channel
10088 message flags (equal with private message flags) to support
10089 for example CTCP style messages.
10091 * Defined some of the message (for channel and private message)
10092 flags. Updated the protocol specs and added the flags to the
10093 lib/silccore/silcchannel.h. The type is SilcMessageFlags.
10095 Wed Mar 28 15:52:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10097 * Added SilcKeyAgreementStatus type to the key agreement routines
10098 to indicate the current status and error if one occured.
10099 The status types are defined in the lib/silcclient/silcapi.h.
10101 * Added new local command KEY that is used to set and unset private
10102 keys for channels, set and unset private keys for private messages
10103 with remote clients and to send key agreement requests and
10104 negotiate the key agreement protocol with remote client. The
10105 key agreement is supported only to negotiate private message keys,
10106 it currently cannot be used to negotiate private keys for channels,
10107 as it is not convenient for that purpose.
10109 * Fixed a minor pending callback setting bug in the function
10110 silc_client_get_client_by_id_resolve, now the function works.
10111 Affected file lib/silcclient/idlist.c.
10113 * Added function silc_net_get_local_port to get local bound
10114 port by socket. Added to lib/silcutil/silcnet.[ch].
10116 * Added `sockets' and `sockets_count' fields to the SilcClient
10117 object. They hold the sockets of the listenning sockets in
10118 the client. Listenning sockets may be for example the key
10119 agreement server. Affected file lib/silcclient/client.[ch].
10120 Added functions the silc_client_add_socket and the
10121 silc_client_del_socket. They are exported to the application
10124 * Added ~./silc/clientkeys to support other client's public keys.
10126 * Renamed verify_server_key client operation to verify_public_key
10127 and added one argument to indicate the type of the connection
10128 (server, client etc.).
10130 Tue Mar 27 22:22:38 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10132 * Added silc_server_connection_auth_request to handle the
10133 incoming CONNECTION_AUTH_REQUEST packet. Affected file is
10134 silcd/packet_receive.[ch].
10136 * Added silc_server_send_connection_auth_request into the
10137 silcd/packet_send.c to send the connection auth request packet.
10139 * Cleaned up the silcd/protocol.c a bit and fixed some memory
10142 * Fixed the public key authentication in responder side in the
10143 server. The `auth_data' pointer includes the SilcPublicKey
10144 not the path to the public key. Affected file silcd/protocol.c.
10146 * Implemented the public key authentication in the initiator side
10147 in the server. Affected file silcd/protocol.c.
10149 * Removed the [RedirectClient] config section from the server
10150 configuration. Is not needed and I don't want to implement it.
10152 Tue Mar 27 12:49:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10154 * Cleaned up the CMODE command in the server. It now works
10155 correctly and supports all the modes defined in the protocol.
10156 Affected file is silcd/command.c.
10158 * Added `hmac_name' field to the SilcChannelEntry in the server
10159 to hold the default HMAC of the channel. It can be set when
10160 creating the channel (with JOIN command). Affected files
10163 * Added <cipher> and <hmac> argument to the CMODE_CHANGE notify
10164 type to indicate the change of the current cipher and hmac
10165 on the channel. Client can safely ignore the <cipher> argument
10166 (if it chooses to do so) since the CHANNEL_KEY packet will
10167 force the channel key change anyway. The <hmac> argument is
10168 important since the client is responsible of setting the new
10169 HMAC and the hmac key into use.
10171 * Fixed the CMODE command in the client library as well.
10173 * Tested CMODE command in router environment successfully.
10175 Mon Mar 26 14:39:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10177 * Show the version of the remote client (or server) when connecting
10178 to the server. It is logged to the log file. Affected file
10179 is silcd/protocol.c.
10181 * Fixed the KILLED notify handling in the client library. The
10182 client must be removed from all channels when receiving the
10185 Also, do not remove the client entry when giving the KILL
10186 command but when the KILLED notify is received.
10188 * Removed silc_idlist_find_client_by_nickname from the server.
10189 Not needed anymore. Affected files silcd/idlist.[ch].
10191 * Implemented the CHANNEL_CHANGE notify type handling to the
10192 server. Affected file silcd/server.c.
10196 Mon Mar 26 12:11:14 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10198 * Added silc_server_send_notify_invite to send the INVITE
10199 notify between routers.
10201 * Implemented the INVITE command correctly to the server.
10203 * Implemented the INVITE notify type handling in the server.
10205 * Implemented the INVITE command to the client library and on the
10208 Sun Mar 25 20:27:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10210 * Added function silc_server_get_client_resolve to find the
10211 client entry by ID from all ID lists and then resolve it
10212 (using WHOIS) if it cannot be found. Affected file is
10215 Sun Mar 25 13:52:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10217 * Implemented the BAN command to the client library.
10219 * The JOIN command in the server now checks the invite list
10222 * Changed the silc_command_reply_payload_encode_va and the
10223 silc_command_payload_encode_va to support that if argument is
10224 NULL it ignores and checks the next argument. Affected file
10225 lib/silccore/silccommand.c.
10227 * Added silc_server_send_notify_ban to send the BAN notify
10228 type between routers.
10230 * Chaned the silc_notify_payload_encode to support that if
10231 argument is NULL it ignores and checks the next argument.
10232 Affected file lib/silccore/silcnotify.c.
10234 * Tested ban lists in router environment successfully.
10236 Sat Mar 24 14:47:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10238 * Implemented BAN command to the server, in silcd/command.[ch].
10240 * Removed the BAN and INVITE_LIST modes from the CMODE command
10241 in the server code.
10243 * Added function silc_string_match to regex match two strings.
10244 Affected files lib/silcutil/silcutil.[ch].
10246 Fri Mar 23 22:02:40 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10248 * Redefined parts of the SilcChannelEntry in the server to support
10249 the new ban and invite lists.
10251 Fri Mar 23 16:25:11 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10253 * Redefined the INVITE command. The same command can be used to
10254 invite individuals to the channel but also to manage the invite
10255 list of the channel (to add to and remove from the invite list).
10256 Updated the protocol specs.
10258 * Added new command SILC_COMMAND_BAN that can be used to manage
10259 the ban list of the channel. Updated the protocol specs.
10261 * Removed the channel modes: the SILC_CMODE_BAN and the
10262 SILC_CMODE_INVITE_LIST as they were a bit kludge to be included
10263 in the CMODE command. The equivalent features are now available
10264 using INVITE and BAN commands. Updated the protocol specs.
10266 * Added new SILC_NOTIFY_TYPE_BAN notify type to notify routers
10267 in the network about change in the current ban list. The notify
10268 type is not used by the client.
10270 * Redefined parts of the SILC_NOTIFY_TYPE_INVITE command to
10271 support the invite lists.
10273 Thu Mar 22 22:52:23 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10275 * Added new function silc_string_regexify that converts string
10276 including wildcard characters into regex string that can
10277 be used by the GNU regex library. Added into the file
10278 lib/silcutil/silcutil.[ch].
10280 Added silc_string_regex_combine to combine to regex strings
10281 into one so that they can be used as one regex string by
10282 the GNU regex library. Added into the file
10283 lib/silcutil/silcutil.[ch].
10285 Added silc_string_regex_match to match two strings. It returns
10286 TRUE if the strings match. Added into lib/silcutil/silcutil.[ch].
10288 Thu Mar 22 15:29:42 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10290 * Imported GNU regex to the soruce tree into lib/contrib.
10291 Fixed some compiler warning from the regex.c.
10293 Wed Mar 21 15:27:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10295 * Fixed MOTD command in the server to work in router environment.
10297 * Fixed the MOTD command in the client library to support
10298 the server argument in the command.
10300 * Added `nickname_len' argument to the silc_idlist_add_client
10301 in the server, as the `nickname' argument may be binary data
10304 * Added silc_idlist_get_channels to return all channels from
10307 * Implemented LIST command to the server. Affected file is
10310 * Implemented the LIST command to the client library and on the
10313 * Added [<user count>] argument to the LIST command reply.
10314 With private channels the user count is not shown.
10316 * Updated TODO and README.
10318 Tue Mar 20 21:05:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10320 * The client entry's data.registered must be TRUE even with
10321 global client entry on global client list. The data.registered
10322 is used to check whether the client is anymore in the network,
10323 for example with WHOWAS command so it must be valid.
10325 * Fixed the WHOWAS command in the server. It now actually works
10326 in router environment. Added function into silcd/command_reply.c
10327 silc_server_command_reply_whowas_save.
10329 * Added silc_idlist_purge function to the silcd/idlist.c
10330 to periodically purge the ID Cache.
10332 * Fixed INFO command in the server. It works now in router
10333 environment. Added <server name> argument to the INFO command
10334 reply. Updated the protocol specs.
10336 * Fixed minor bug in silc_idcache_purge to not purge if the
10337 expire value is zero.
10339 * Fixed various bugs in WHOIS and IDENTIFY command handling as
10340 they were buggy because of the WHOWAS information.
10342 * Fixed local command MSG to handle the async resolving of
10343 the remote client properly. It used to fail the first MSG.
10344 Affected file silc/local_command.c.
10346 * Added `data_len' field to SilcIDCache context.
10348 Tue Mar 20 16:29:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10350 * Update TODO. Todo in commands in the server.
10352 Tue Mar 20 15:45:14 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10354 * Added new notify type SILC_NOTIFY_TYPE_UMODE_CHANGE that is
10355 used by routers as broadcast packet to inform other routers
10356 about the changed user mode.
10358 Implemented the notify handling in the server. Affected file is
10359 silcd/packet_receive.c. Added the function
10360 silc_server_send_notify_umode to the silcd/packet_send.[ch].
10362 * Added new generic Channel Payload and deprecated the New Channel
10363 Payload. The New Channel Payload is now the generic Channel
10366 * Added new argument `mode' to the silc_server_send_new_channel
10367 as it is required in the Channel Payload now.
10369 * Renamed the SilcChannelPayload to SilcChannelMessagePayload
10370 and created a new and real SilChannelPayload to represent the
10371 new generic Channel Payload. Implemented the encode/decode
10372 for Channel Payload. Affected file lib/silccore/silcchannel.[ch].
10374 * Added silc_server_get_client_channel_list to return the list
10375 of channels the client has joined for WHOIS command reply.
10376 Affected file silcd/server.[ch].
10378 * Implemented the channel list sending in the WHOIS command reply
10379 in server and in the client.
10381 Implemented the channel list displaying on the user interface
10382 as well. Affected file silc/client_ops.c.
10384 * Added silc_channel_payload_parse_list to parse list of Channel
10385 Payloads. It returns SilcDList list of SilcChannelPayloads.
10386 Client for example can use this function to parse the list of
10387 channels it receives in the WHOIS command reply. The caller
10388 must free the list by calling silc_channel_payload_list_free.
10389 Affected files lib/silccore/silcchannel.[ch].
10391 Mon Mar 19 21:39:15 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10393 * Added one new argument <user mode> to the WHOIS command reply
10394 to return the mode of the user in SILC. Updated the protocol
10397 Implemented it to the server and client.
10399 Mon Mar 19 18:43:06 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10401 * Fixed the mode printing on the user interface on joining.
10402 Affected file silc/client_ops.c.
10404 * Implemented the UMODE command and user modes in general to the
10405 client library and to the user interface.
10407 * Implemented the UMODE command to the server.
10409 * The server now sends UNKNOWN_COMMAND error status if client sends
10410 unknown command. Affected file silcd/command.c.
10412 * All server commands now handle the command identifier the right
10413 way when sending the command reply to the client. The client can
10414 use to identify the command replies with the identifier.
10416 Mon Mar 19 16:13:07 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10418 * Added silc_server_get_client_route to resolve the route to
10419 the client indicated by the client ID. Affected file is
10422 * Added silc_server_relay_packet as general function to relay
10423 packet to arbitrary destination. This deprecates functions
10424 like _send_private_message_key, _relay_notify etc. Affected
10425 file is silcd/packet_send.[ch].
10427 Removed silc_server_send_key_agreement,
10428 silc_server_send_private_message_key and
10429 silc_server_packet_relay_notify functions from the file
10430 silcd/packet_send.[ch].
10434 * Implemented the SILC_NOTIFY_TYPE_KILLED notify handling in the
10435 server. Affected file silcd/packet_receive.[ch].
10437 * Implemented the KILL command to the client. Implemented the
10438 SILC_NOTIFY_TYPE_KILLED notify handling in the client library.
10439 Affected files lib/silcclient/command[_reply].c and
10440 lib/silcclient/client_notify.c. Implemented the KILL notify
10441 printing in the user inteface.
10443 * Fixed a lot silc_parse_nick memory leaks from the client
10444 library in the file lib/silcclient/command.c.
10446 * Changed the silc_server_send_notify_on_channels's `sender'
10447 argument from SilcSocketConnection to SilcClientEntry to
10448 check the sender as entry and not as connection object and not
10449 to send to the client provided as argument. The affected file
10450 is silcd/packet_send.[ch].
10452 * The notify packets that are destined directly to the client used
10453 to not to be processed by the server. Now changed that and the
10454 server processes all notify packets. After relaying the packet
10455 to the client the notify packet is processed in the server.
10457 * The silc_server_free_client_data now checks whether there is
10458 pending outgoing traffic for the client and purges the data to
10459 the network before removing the client entry.
10461 Sun Mar 18 21:02:47 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10463 * Added SILC_NOTIFY_TYPE_KILLED notify type. It is sent when
10464 an client is killed from the SILC Network. Updated the protocol
10467 Added new function silc_server_send_notify_killed to the
10468 silcd/packet_send.[ch].
10470 * Added function silc_server_packet_relay_notify to relay notify
10471 packets that are destined directly to a client. In this case
10472 the server does not process the notify packets but merely relays
10473 it to the client. Affected file silcd/packet_send.[ch].
10475 Added also silc_server_packet_process_relay_notify to check
10476 whereto relay the notify. Affected file is
10477 silcd/packet_receive.[ch].
10479 * Implemented the KILL command to the server.
10483 * Added the backup schema desgined last fall to the protocol
10484 specs for everyone to see. The specification is in the
10485 *-spec-xx.txt draft and the packet type definitions for the
10486 backup routers is in *-pp-xx.txt draft. Thusly, added also
10487 new packet type SILC_PACKET_CELL_ROUTERS.
10489 * A big security problem in the implementation discovered. The
10490 signoff of an client did not cause new channel key generation
10491 which it of course should've done. The channel keys must be
10492 always re-generated when client leaves (or signoffs) the channel.
10493 The silc_server_remove_from_channels funtion now handles
10494 the channel key re-generation.
10496 * Added `sender' argument to the silc_server_send_notify_on_channels
10497 to not to send the client provided as argument. Affected file
10498 silcd/packet_send.[ch].
10500 Fri Mar 16 15:52:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10502 * Implemented OPER and SILCOPER commands into the server and
10503 the client library.
10505 * Added silc_auth_verify and silc_auth_verify_data to verify
10506 the authentication directly from the authentication payload.
10507 It supports verifying both passphrase and public key based
10508 authentication. Affected file lib/silccore/silcauth.[ch].
10510 * Added `hash' field to the SilcIDListData structure. It is the
10511 hash negotiated in the SKE protocol. Affected file is
10514 * Slight redesigning of the SilcAuthPayload handling routines.
10515 Do not send SilcPKCS but SilcPublicKey as argument.
10517 * Implemented the public key authentication support to the
10518 serverconfig. The public key is loaded from the provided path
10519 and saved as authentication data to void * pointer. Thus,
10520 changed the unsigned char *auth_data to void *auth_data;
10522 * Fixed SHUTDOWN command to send the reply before the server
10523 is shutdown. :) Affected file silcd/command.c.
10525 * Fixed fatal bug in CONNECT command. The hostname was invalid
10526 memory and server crashed. Affected file silcd/command.c.
10528 * Fixed fatal bug in CLOSE command. The server_entry became
10529 invalid but was referenced later in the command. Affected file
10532 Thu Mar 15 12:46:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10534 * Fixed fatal bug in failure packet handling. Server ignored
10535 the failure and thus crashed when it came.
10539 Wed Mar 14 20:37:35 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10541 * Added new SILC_CF_LAG_STRICT command flag that strictly forces
10542 that the command may be executed only once in (about) 2 seconds.
10543 The old SILC_CF_LAG flag is same but allows command bursts up
10544 to five before limiting.
10546 Added the support for CF_LAG and CF_LAG_STRICT flags to the
10547 server code. Various commands now includes the CF_LAG_STRICT
10548 flag to disallow any kind of miss-use of the command.
10550 * Fixed the silc_buffer_unformat to not to allocate any data
10551 if the length of the data is zero. It used to allocate the
10552 length + 1. Affected file lib/silcutil/silcbuffmt.c.
10554 Wed Mar 14 16:10:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10556 * Changed the format of AdminConnection configuration section
10557 in the server. Added username of the admin to the format.
10558 Affected files silcd/serverconfig.[ch].
10560 Added silc_server_config_find_admin into silcd/serverconfig.[ch]
10561 to return admin configuration data by host, username and/or
10564 Wed Mar 14 13:18:16 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10566 * Implemented WHOWAS command to the server. Added the functions:
10568 silc_server_command_whowas_parse,
10569 silc_server_command_whowas_send_reply,
10570 silc_server_command_whowas_from_client and
10571 silc_server_command_whowas_from_server
10573 * Added <Client ID> argument to the WHOWAS command reply. Updated
10574 the protocol specs accordingly.
10576 * Implemented WHOWAS command and command_reply to the client
10579 Implemented the WHOWAS printing on the user interface.
10581 Tue Mar 13 22:17:34 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10583 * Added new argument to the WHOWAS command reply, the real name.
10584 It is an optional argument. Updated the protocol specs.
10586 * Added SilcIDCacheDestructor callback that is registered when
10587 the SilcIDCache is allocated. The callback is called when
10588 an cache entry in the ID Cache expires, or is purged from the
10589 cache. Added into lib/silccore/idcache.[ch].
10591 Added silc_idlist_client_destructor to the silcd/idlist.[ch]
10592 to destruct the client entries when the cache entry expires.
10593 Other ID Cache's in server and in the client library ignores
10596 * If the ID Cache entry's `expire' field is zero then the entry
10597 never expires. Added boolean `expire' argument to the
10598 silc_idcache_add function in the lib/silccore/idcache.[ch].
10599 If it is TRUE the default expiry value is used.
10601 * Added silc_server_free_client_data_timeout that is registered
10602 when client disconnects. By default for 5 minutes we preserve
10603 the client entry for history - for WHOWAS command.
10605 Tue Mar 13 13:26:18 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10607 * Added support to the server to enforce that commands are not
10608 executed more than once in 2 seconds. If server receives
10609 commands from client more frequently, timeout is registered
10610 to process the commands. Affected file silcd/command.c.
10611 Added new function silc_server_command_process_timeout.
10613 * Changed NICK_NOTIFY handling in client library to check that
10614 if the client's nickname was changed, so there is no need to
10615 resolve anything from the server.
10617 * Removed error printing from the WHOIS and IDENTIFY commands.
10618 If error occurs then it is ignored silently in the client library.
10619 The application, however, may map the received error to
10620 human readable error string. The application currently maps
10621 the NO_SUCH_NICKNAME error to string.
10623 * Made the command status message public to the application. Moved
10624 them from lib/silcclient/command_reply.c to
10625 lib/silcclient/command_reply.h. The application can map the
10626 received command status to the string with the
10627 silc_client_command_status_message function.
10629 * Added check to the server to check that client's ID is same
10630 as the Source ID in the packet the client sent. They must
10633 Tue Mar 13 12:49:21 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10635 * Added dist-bzip hook to the Makefile.am to make bzip2
10636 compressed distributions.
10638 Mon Mar 12 18:43:38 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10640 * Server now enforces the maximum length for the nickname and
10641 the channel as protocol specification dictates. 128 bytes for
10642 nickname and 256 bytes for channel name.
10644 * Moved the WHOIS printing to the application. The client libary
10645 does not print out the WHOIS information anymore, the application
10646 must do it. Renamed silc_client_command_reply_whois_print to
10647 the silc_client_command_reply_whois_save.
10649 The client's idle time is also sent to the application now, and
10650 the idle is shown on screen.
10652 * Added silc_client_command_reply_identify_save to save the
10653 received IDENTIFY entries.
10655 * Do not check for channel private keys in message sending and
10656 reception if the channel does not have the PRIVKEY mode set.
10657 Affected file lib/silclient/client_channel.c.
10659 Sun Mar 11 20:25:06 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10661 * Fixed a minor bug if WHOIS and IDENTIFY command parsing that
10662 just surfaced after chaning the JOIN procedure.
10664 Sun Mar 11 14:59:05 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10666 * Added silc_client_get_clients_by_list to get client entries
10667 from Client ID list, that is returned for example by JOIN
10668 and USERS command replies. The application should use this
10669 function for example when JOIN command reply is received to
10670 resolve the clients already on the channel (library does not
10671 do that anymore as USERS command reply is not used in the JOIN
10672 procedure anymore). Affected files lib/silcclient/silcapi.h and
10673 lib/silcclient/idlist.c.
10675 * JOIN command reply and USERS command reply returns now SilcBuffer
10676 pointers instead of unsigned char pointers when returning
10677 the client list and mode list.
10679 * Added <Client ID> argument to the JOIN command reply, mainly
10680 for the server to identify for which client the command was
10681 originally sent. Updated protocol specs accordingly.
10683 * Added SilcDlist private_key pointer to the SilcChannelEntry
10684 in the client to support the channel private keys. Affected
10685 file is lib/silcclient/idlist.h.
10687 * Added SilcChannelPrivateKey argument to the function
10688 silc_client_send_channel_message so that application can choose
10689 to use specific private ke if it wants to. If it is not provided,
10690 the normal channel key is used, unless private keys are set.
10691 In this case the first (key that was added first) is used
10692 as the encryption key.
10694 * Implemented the support for channel private key handling.
10695 Implemented the following functions:
10697 silc_client_add_channel_private_key,
10698 silc_client_del_channel_private_keys,
10699 silc_client_del_channel_private_key,
10700 silc_client_list_channel_private_keys and
10701 silc_client_free_channel_private_keys
10703 Affected file lib/silcclient/client_channel.c.
10705 * Added the support for the private keys in the channel message
10706 sending and encryption and in the message reception and
10707 decryption. Affected funtions are
10708 silc_client_send_channel_message and silc_client_channel_message.
10710 Sat Mar 10 21:36:22 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10712 * Added SKE's key verify callback to the client library's
10713 KE protocol context. Affected files lib/silcclient/protocol.[ch].
10715 * Removed the statement that server (or router) must send USERS
10716 command reply when joining to the channel so that the client
10717 knows who are on the channel. Instead, the client list and
10718 client's mode list is now sent in the JOIN command reply to the
10719 client who joined channel. This is better solution.
10721 * Added function silc_server_get_users_on_channel and function
10722 silc_server_save_users_on_channel to the silcd/server.[ch].
10724 * Removed function silc_server_command_send_users from the
10727 * Do not show topic on the client library anymore. The topic is
10728 sent in the command reply notify to the application and the
10729 application must show the topic now.
10731 Sat Mar 10 00:07:37 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10733 * Added client searching by nickname hash into the IDENTIFY and
10734 WHOIS commands in the server as they were clearly missing from
10735 them. Affected file is silcd/command.c.
10737 * Fixed a bug in private message receiving in the client library.
10738 The remote ID was freed and it wasn't supposed, now it is
10741 Fri Mar 9 12:40:42 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10743 * Minor fix to the channel payload; allocate the data area, as it
10744 needs to be of specific length.
10746 * If the key agreement port is zero then the operating
10747 system will define the bound port. Affected files are
10748 lib/silcclient/silcapi.h and lib/silcclient/client_keyagr.c.
10750 * Added new function silc_channel_payload_decrypt into the file
10751 lib/silccore/silcchannel.[ch].
10753 * Moved the channel message etc, check from silc_packet_decrypt
10754 to applications. The library calls now a generic
10755 SilcPacketCheckDecrypt callback which is to return TRUE or FALSE
10756 when the packet is either normal or special. This was done to
10757 allow more wide range of checking that was not allowed when
10758 the code was in library. Now applications can do virtually any
10759 checks to the packet and return to the library the decision how
10760 the packet should be processed. Affected files are
10761 lib/silccore/silcpacket.[ch].
10763 Added silc_server_packet_decrypt_check to the server and
10764 silc_client_packet_decrypt_check to the client library.
10766 * Added silc_server_packet_send_srcdest into silcd/packet_send.[ch]
10767 to send with specified source and destination information.
10769 * Channel message delivery between routers was broken after the
10770 channel key distribution was fixed earlier. The channel key
10771 was used be to distributed to other routers as well which is not
10772 allowed by the protocol. Now this is fixed and channel keys
10773 really are cell specific and the channel message delivery between
10774 routers comply with the protocol specification.
10776 * Fixed various commands in server to check also the global list
10777 for the channel entry and not just the local list. The affected
10778 file silcd/command.c.
10780 Thu Mar 8 21:39:03 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10782 * Added assert()s to buffer formatting and unformatting routines
10783 to assert (if --enable-debug) when error occurs. Affected
10784 file: lib/silcutil/silcbuffmt.c.
10786 * Changed to auto-reconnect to check whether the remote host is
10787 router and register the re-connect timeout if it is. It used
10788 to check that whether we are normal server, but router must do
10789 auto-reconnect with another router as well. Affected file
10792 * Removed the [<key len>] option from CMODE command as the cipher
10793 name decides the key length, nowadays. See the defined ciphers
10794 from the protocol specification.
10796 * Added [<hmac>] option to the CMODE command to define the HMAC
10797 for the channel. Added SILC_CMODE_HMAC channel mode.
10799 * Added [<hmac>] option for the JOIN command so that user can
10800 select which HMAC is used to compute the MACs of the channel
10803 * Added Hmac field to the Channel Message Payload. The integrity
10804 of plaintext channel messages are now protected by computing
10805 MAC of the message and attaching the MAC to the payload. The
10806 MAC is encrypted. Now, it is clear that this causes some
10807 overhead to the size of the packet but rationale for this is that
10808 now the receiver can verify whether the channel message decrypted
10809 correctly and also when private keys are set for the channel the
10810 receiver can decrypt the packet with several keys and check from
10811 the MAC which key decrypted the message correctly.
10813 * Added silc_cipher_encrypt and silc_cipher_decrypt into the
10814 lib/silccrypt/silccipher.[ch].
10816 * Added silc_hash_len to return the digest length into the
10817 lib/silcrypt/silchash.[ch].
10819 * Rewrote parts of Silc Channel Payload interface in the
10820 lib/silccore/silcchannel.[ch]. The encode function now also
10821 encrypts the packet and parse function decrypts it.
10823 Wed Mar 7 20:58:50 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10825 * Fixed a minor formatting bug in the SKE's key material processing.
10826 It actually might have processed the keys wrong way resulting
10829 * Redefined the mandatory HMAC algorithms and added new algorithms.
10830 Added hmac-sha1-96 and hmac-md5-96 which are normal hmac-sha1
10831 and hmac-md5 truncated to 96 bits. The mandatory is now
10832 hmac-sha1-96. Rest are optional (including the one that used
10833 to be mandatory). Rationale for this is that the truncated HMAC
10834 length is sufficient from security point of view and can actually
10835 make the attack against the HMAC harder. Also, the truncated
10836 HMAC causes less overhead to the packets. See the RFC2104 for
10839 * Added new [hmac] configuration section. The SKE used to use
10840 the hash names (md5 and sha1) in the SKE proposal as HMCAS which
10841 is of course wrong. The official names that must be proposed in
10842 the SKE are the ones defined in the protocol specification
10843 (hmac-sha1-96 for example). The user can configure any hmac
10844 using any hash function configured in the [hash] section. At
10845 least, the mandatory must be configured.
10847 Rewrote the HMAC interface in lib/silccrypt/silchmac.[ch].
10849 * Added HMAC list to the SKE proposal list. It has now both
10850 hash algorithm list and HMAC list. This makes the protocol
10851 incompatible with previous versions. The SKE now seems to work
10852 the way it is supposed to work, for the first time actually.
10854 * Defined plain Hash algorithms to the protocol specification.
10855 Added sha1 and md5.
10857 Tue Mar 6 15:36:11 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10859 * Implemented support for key agreement packets into the server.
10860 Added functions silc_server_key_agreement and
10861 silc_server_send_key_agreement. Other than these functions,
10862 server has nothing to do with this packet.
10864 * Added support for private message key packets into the server.
10865 Added functions silc_server_private_message_key and
10866 silc_server_send_private_message_key.
10870 * Changed the silc_[client|server]_protocol_ke_set_keys to be
10871 called in the protocol's final callback instead in the END
10872 protocol state. This makes a little more sense and in the same
10873 time in client we can use the same protocol routines for normal
10874 key exchange and to key agreement packet handling as well.
10876 * Added to both client's and server's KE protocol context the
10877 SilcSKEKeyMaterial pointer to save the key material. We will
10878 bring the key material to the protocol's final callback by doing
10879 this. The final callback must free the key material.
10881 * Added SKE's packet_send callback into client's KE protocol
10882 context so that the caller can choose what packet sending function
10883 is used. This way we can use different packet sending when
10884 doing normal SKE when doing key agreement packet handling (in
10885 the key agreement packet handling we do not want to encrypt
10888 * Implemented the responder side of the key agreement routines
10889 in the client. The client can now bind to specified port and
10890 accept incoming key negotiation. The key material is passed
10891 to the application after the protocol is over.
10893 * Implemented the processing of incoming Key Agreement packet
10894 in the client. Added function silc_client_key_agreement to
10895 process the packet.
10897 * Implemented the intiator side of the key agreement routines
10898 in the client. The client can now initiate key agreement with
10899 another remote client. The key material is passed to the
10900 application after the protocol is over.
10902 * Created client_keyagr.c to include all the key agreement
10905 * Added macro SILC_TASK_CALLBACK_GLOBAL which is equal to the
10906 SILC_TASK_CALLBACK except that it is not static.
10908 * Created client_notify.c and moved the Notify packet handling
10909 from the client.[ch] into that file.
10911 * Created client_prvmsg.c and moved all private message and
10912 private message key routines from the client.[ch] into that file.
10914 * Create client_channel.c and moved all channel message and
10915 channel private key routines from the client.[ch] into that file.
10917 * Changed silc_client_get_client_by_id_resolve to resolve with
10918 WHOIS command instead of IDENTIFY command, in the file
10919 lib/silclient/idlist.c.
10921 Mon Mar 5 18:39:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10923 * Implemented the SKE's responder side to the Client library.
10925 * When FAILURE is received to the protocol do not trust it
10926 blindly. Register a timeout to wait whether the remote closes
10927 the connection as it should do it, only after that process the
10928 actual failure. This was changed to both client and server.
10930 * Added client_internal.h to include some of the structures
10931 there instead of client.h in lib/silcclient/.
10933 * Added function silc_task_unregister_by_callback to unregister
10934 timeouts by the callback function.
10936 Sat Mar 3 19:15:43 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10938 * Some "Incomplete WHOIS info" errors has been appearing on the
10939 log files. Took away the entry->userinfo check from WHOIS
10940 reply sending. The entry->userinfo is now " " if client did not
10941 provide one. I thought this was fixed earlier but something
10942 is wrong still. Let's see if the error still appears.
10944 Wed Feb 28 20:56:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10946 * Fixed a minor bug in the login when the channel key is
10947 re-generated in the server. It used to generate the key in
10948 wrong order and thus caused problems in the channel traffic.
10950 * Fixed a minor bug in channel key distsribution after
10951 KICK command. The key was not sent to the router even though
10954 Tue Feb 27 20:24:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10956 * Added silc_ske_process_key_material_data as generic routine
10957 to process any key material as the SILC protocol dictates. The
10958 function is used by the actual SKE library but can be used by
10959 applications as well. This relates to the private message keys
10960 and the channel private keys since they must be processed the
10961 same way the normal SILC session keys. The protocol dictates
10962 this. Affected files: lib/silcske/silcske.[ch].
10964 Added also silc_ske_free_key_material to free the
10965 SilcSKEKeyMaterial structure.
10967 * Defined silc_cipher_set_key function to set the key for
10968 cipher without using the object's method function. The affected
10969 files: lib/silccrypt/silccipher.[ch].
10971 * Implemented silc silc_client_add_private_message_key,
10972 silc_client_add_private_message_key_ske,
10973 silc_client_del_private_message_key,
10974 silc_client_list_private_message_keys and
10975 silc_client_free_private_message_keys functions in the
10978 Added functions silc_client_send_private_message_key to send
10979 the Private Message Key payload and silc_client_private_message_key
10980 to handle incoming Private Message Key payload.
10982 * Added Cipher field to the Private Message Key payload to set
10983 the cipher to be used. If ignored, the default cipher defined
10984 in the SILC protocol (aes-256-cbc) is used.
10986 Tue Feb 27 13:30:52 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10988 * Removed lib/silcclient/ops.h file.
10990 Redefined parts of the SILC Client Library API. Created new
10991 file silcapi.h that deprecates the ops.h file and defines the
10992 published Client Library API. Defined also private message key
10993 API and channel private key API into the file.
10995 This is the file that the application must include from the
10996 SILC Client Library. Other files need not be included by
10997 the application anymore.
10999 * Added new key_agreement client operation callback and also
11000 defined the Key Agreement library API for the application.
11002 Tue Feb 27 11:28:31 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11004 * Added new packet type: SILC_PACKET_KEY_AGREEMENT. This packet
11005 is used by clients to request key negotiation between another
11006 client in the SILC network. If the negotiation is started it
11007 is performed using the SKE protocol. The result of the
11008 negotiation, the secret key material, can be used for example
11009 as private message key.
11011 Implemented the Key Agreement payload into the files
11012 lib/silccore/silauth.[ch].
11014 Mon Feb 26 12:13:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11016 * Redefined ciphers for the SILC protocol. Added some new ciphers
11017 and defined the key lengths for the algorithms. Changed the
11018 code accordingly. The default key length is now 256 bits.
11020 * Fixed SKE key distribution function silc_ske_process_key_material
11021 when the key length is more than 128 bits. The default key
11022 length in SILC is now 256 bits.
11024 * Added new command status type: SILC_STATUS_ERR_UNKOWN_ALGORITHM
11025 to indicate unsupported algorithm.
11027 * Renamed rijndael.c to aes.c and all functions as well.
11029 * Fixed a long standing channel key setting bug in client library.
11030 Weird that it has never surfaced before.
11032 * Fixed bug in channel deletion. If the entire channel is removed
11033 then it must also delete the references of the channel entry
11034 from the client's channel list as the client's channel entry and
11035 the channel's client entry share same memory.
11037 Sun Feb 25 20:47:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11039 * Implemented CONNECT and SHUTDOWN commands in the client.
11041 * Implemented CLOSE command to the client.
11043 * Added the function silc_idlist_find_server_by_name into the
11044 files silcd/idlist.[ch].
11046 Added the function silc_idlist_find_server_by_conn into the
11047 files silcd/idlist.[ch].
11049 Sat Feb 24 23:45:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11051 * DIE command was renamed to SHUTDOWN. Updated the both code
11052 and protocol specs.
11054 * Defined SILC_UMODE_NONE, SILC_UMODE_SERVER_OPERATOR and
11055 SILC_UMODE_ROUTER_OPERATOR modes into lib/silccore/silcmode.h.
11057 * Implemented CONNECT, CLOSE and SHUTDOWN commands to the server
11060 * Added function silc_server_create_connection function to create
11061 connection to remote router. My server implementation actually
11062 does not allow router to connect to normal server (it expects
11063 that normal server always initiates the connection to the router)
11064 so the CONNECT command is only good for connecting to another
11067 Sat Feb 24 16:03:45 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11069 * Added SILC_NOTIFY_TYPE_KICKED to indicate that the client
11070 or some other client was kicked from the channel.
11072 Implemented the handling of the notify type to both client
11075 Implemented silc_server_send_notify_kicked to send the KICKED
11076 notify. It is used to send it to the server's primary router.
11078 * Implemented the KICK command into server and client.
11080 * Added `query' argument to the silc_idlist_get_client function
11081 to indicate whether to query the client from server or not if
11084 * Added new command status type SILC_STATUS_ERR_NO_CHANNEL_FOPRIV
11085 to indicate that the client is not channel founder.
11089 Sat Feb 24 00:00:55 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11091 * Removed the rng context from SilcPacketContext structure and
11092 changed that the packet routine uses the Global RNG API.
11094 Fri Feb 23 11:22:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11096 * Added support for quit message that client can "leave" on the
11097 channel when it quits the SILC. It is ditributed inside the
11098 SILC_NOTIFY_TYPE_SIGNOFF notify type.
11100 Added silc_server_free_client_data that will take the
11101 signoff message as argument.
11103 * Changed SKE routines to use the silc_pkcs_sign/verify routines.
11105 Thu Feb 22 23:05:36 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11107 * Updated parts of the protocol specification to keep it up
11110 Thu Feb 22 15:08:20 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11112 * Added List flag (SILC_PACKET_FLAG_LIST) to indicate list of
11113 payloads in one packet.
11115 * Deprecated following packet types: NEW_ID_LIST, NEW_CHANNEL_LIST,
11116 NEW_CHANNEL_USER_LIST, SET_MODE and SET_MODE_LIST. List packets
11117 use now the new List flag.
11119 * Also deprecated the following packet types: REPLACE_ID,
11120 NEW_CHANNEL_USER and REMOVE_CHANNEL_USER packet types.
11122 * Added list support for Notify packet in server.
11124 * Added silc_server_send_notify_channel_change to send the
11125 CHANNEL_CHANGE notify type to replace channel ID's. Deprecates
11126 the silc_server_send_replace_id.
11128 * Added silc_server_send_notify_nick_change to send the
11129 NICK_CHANGE notify type. Deprecates the function
11130 silc_server_send_replace_id.
11132 * Added silc_server_send_notify_join to send the JOIN notify type.
11133 Deprecates the function silc_server_send_new_channel_user.
11135 * Added silc_server_send_notify_leave to send LEAVE notify type.
11136 Deprecates the function silc_server_send_remove_channel_user.
11138 * Added silc_server_send_notify_cmode and
11139 silc_server_send_notify_cumode to send CMODE and CUMODE notify
11140 types. Deprecates the silc_server_send_set_mode function.
11142 * Added SERVER_SIGNOFF notify type to indicate that server has
11143 quit. This means that all clients on the channel from that
11144 server will drop. This can be also used when netsplit happens.
11146 Deprecated REMOVE_ID packet type since it is not needed anymore
11149 Added silc_server_send_notify_server_signoff to send the
11150 SERVER_SIGNOFF notify type. Deprecates the function
11151 silc_server_send_remove_id.
11153 Added also silc_server_send_notify_signoff to send the
11154 SIGNOFF notify type.
11156 * Employed the PKCS #1. It is the mandatory way to do RSA in the
11157 SILC protocol from this day on. Changed the protocol
11158 specification as well.
11160 * Added silc_server_send_notify_topic_set to send TOPIC_SET
11161 notify type. It is used between routers to notify about
11162 topic changes on a channel.
11164 * Added silc_id_dup into lib/silccore/id.[ch] to duplicate
11167 * Partly updated the protocol specification to comply with the
11168 changes now made. It is still though a bit outdated.
11170 * The JOIN notify type now takes one extra argument <Channel ID>.
11171 The packet used to be destined to the channel but now the
11172 JOIN type may be sent as list thus it is impossible to
11173 destine it to any specific channel. By adding this argument
11174 it is again possible.
11176 Wed Feb 21 22:39:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11178 * Added CREDITS file. The CHANGES and CREDITS file will appear
11179 in the distribution as well.
11181 Wed Feb 21 14:17:04 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11183 * Implemented CMODE_CHANGE, CUMODE_CHANGE and TOPIC_SET notify
11184 types in the server's silcd/packet_receive.c.
11186 * Implemented CMODE and CUMODE to work in router environment.
11188 * Fixed minor encoding and decoding buglet from the
11189 lib/silccore/silcmode.c.
11191 * Fixed buffer overflow from lib/silcclient/command.c in USERS
11194 Wed Feb 21 12:44:00 EET 2001 Mika Boström <bostik@lut.fi>
11196 * Changed all SilcConfigServer* and silc_config_server* to
11197 SilcServerConfig* and silc_server_config*, respectively.
11200 Wed Feb 21 00:10:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11202 * Associated the ID (client or server ID) to the Authentication
11203 Payload to avoid any possibility of forging. Updated the
11204 protocol specification and the code accordingly.
11206 Tue Feb 20 14:14:14 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11208 * The RSA key length is now save to the RsaKey context in the
11209 key generation process in lib/silccrypt/rsa.c. The key length
11210 is now used to figure out the maximum size of the block allowed
11211 to be encrypted/signed.
11213 * Added silc_mp_mp2bin_noalloc into lib/silcmath/mpbin.[ch]. It
11214 is equivalent to the silc_mp_mp2bin but does not allocate any
11217 * Changed silc_mp_mp2bin API to take length argument. If it is
11218 non-zero then the buffer is allocated that large. If zero, then
11219 the size is approximated using silc_mp_sizeinbase, which however
11222 * Created Global RNG API which is global RNG that application can
11223 initialize. After initializing, any routine anywhere in the
11224 code (including library) can use RNG without allocating a new
11225 RNG object. This was done to allow this sort of use of the
11226 RNG in code that has no chance to allocate RNG object. All
11227 applications currently allocate this and many routines in the
11228 library use this. Affected file lib/silccrypt/silcrng.[ch].
11230 * Removed the RNG kludge from lib/silcmath/primegen.c and changed
11231 it to use the Global RNG API.
11233 * Defined Authentication Payload into protocol specification that
11234 is used during SILC session to authenticate entities. It is
11235 used for example by client to authenticate itself to the server
11236 to obtain server operator privileges.
11238 Implemented this payload into the lib/silccore/silcauth.[ch].
11239 Implemented also routines for public key based authentication
11240 as the new protocol specification dictates.
11242 Moved definitions of different authentication methods from
11243 lib/silccore/silcprotocol.h into lib/silccore/silcauth.h.
11245 * Added silc_pkcs_encrypt, silc_pkcs_decrypt, silc_pkcs_sign,
11246 silc_pkcs_verify and silc_pkcs_sign_with_hash and
11247 silc_pkcs_verify_with_hash functions into the file
11248 lib/silccrypt/silcpkcs.[ch].
11250 Mon Feb 19 19:59:28 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11252 * The client entry's userinfo pointer must be always valid.
11253 Otherwise the [<unknown>] bug will surface beacuse the WHOIS
11254 will fail since it requires the userinfo. Now, the userinfo
11255 is allocated as "" if actual userinfo does not exist. Actually,
11256 it must exist and it is totally Ok to drop client connections
11257 that does not announce the userinfo. However, we will make
11258 this workaround for now.
11260 * Added silc_net_get_remote_port into lib/silcutil/silcnet.[ch]
11261 to return the remote port by socket.
11263 Mon Feb 19 14:26:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11265 * Changed SILC_SERVER_COMMAND_EXEC_PENDING macro to the name
11266 SILC_SERVER_PENDING_EXEC and added an new macro
11267 SILC_SERVER_PENDING_DESTRUCTOR which is called to free the
11268 data or when error occurs while processing the pending command.
11270 Added new argument `destructor' into silc_server_command_pending
11271 and to the SilcServerCommandPending object. This destructor is
11272 now called after calling the pending callback or if error occurs
11273 immediately. If error occurs the actual pending callback won't
11274 be called at all - only the destructor. The destructor may be
11275 NULL if destructor is not needed.
11277 All this applies for client library code as well. Similar
11278 changes were made there as well for the pending commands.
11280 In the client, the application must now allocate the
11281 SilcClientCommandContext with the silc_client_command_alloc
11284 * Added reference counter to the SilcServerCommandContext. Added
11285 function silc_server_command_alloc and silc_server_command_dup
11288 Same type of functions added to the client library for the same
11291 * Removed the cmd_ident from IDListData away since it is now
11292 global for all connections. It is the command identifier used
11293 in command sending and with pending commands. The affected file
11296 * Added reference counter to the SilcSocketConnection objecet to
11297 indicate the usage count of the object. The object won't be
11298 freed untill the reference counter hits zero. Currently only
11299 server uses this, and client ignores it. The client must be
11300 set to use this too later. The affected files are
11301 lib/silccore/silcsockconn.[ch]. Added also the function
11302 silc_socket_dup to increase the reference counter.
11304 This was mainly added because it is possible that the socket
11305 is removed underneath of pending command or other async
11306 operation. Now it won't be free'd and proper DISCONNECTING
11307 flags, etc. can be set to avoid sending data to connection that
11308 is not valid anymore.
11310 * Added SILC_SET_DISCONNECTING to server.c when EOF is read from
11311 the connection. After that it sets SILC_SET_DISCONNECTED.
11312 It is, however, possible that the socket data is not still freed.
11313 The silc_server_packet_process now checks that data is not
11314 read or written to connection that is DISCONNECTED. The socket
11315 get's freed when the reference counter hits zero.
11317 Mon Feb 19 00:50:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11319 * Changed the client operation API: channel_message operation's
11320 `sender' is now the client entry of the sender, not the nickname
11321 and the `channel' is the channel entry, not the channel name.
11323 In the private_message operation the `sender' is now also the
11324 client entry of the sender not the nickname.
11326 Affected file is lib/silcclient/ops.h and all applications
11327 using the client operations.
11329 Sat Feb 17 22:11:50 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11331 * Moved the calling of ops->connect() from connect_to_server_final
11332 into receive_new_id functin since that is the point when the
11333 client is actually allowed to send traffic to network. The
11334 affected file is lib/silcclient/client.c.
11336 Sat Feb 17 13:15:35 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11338 * When receiving NEW_CHANNEL_LIST, NEW_CHANNEL_USER_LIST,
11339 NEW_ID_LIST and SET_MODE_LIST packets, broadcast the list packet
11340 (if needs broadcasting) instead of broadcasting the packets one
11341 by one which would make a burst in the network traffic.
11343 * Added `broadcast' argument to the functions in silcd/server.[ch]
11344 silc_server_create_new_channel[_with_id] to indicate whether
11345 to send New Channel packet to primary router.
11347 Sat Feb 17 01:06:44 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11349 * Added new function into the silcd/server.[ch] files:
11350 silc_server_create_new_channel_with_id to create new channel with
11351 already existing Channel ID.
11353 * Added new packet type SILC_PACKET_SET_MODE_LIST into the file
11354 lib/silccore/silcpacket.h. This packet is used t send list of
11355 Set Mode payloads inside one packet. Server uses this to set
11356 the modes for the channels and clients on those channels, that it
11357 announced to the router when it connected to it. The protocol
11358 specification has been updated accordingly.
11360 * The silc_server_new_channel did not handle the packet coming
11361 from normal server as it normally does not send that. However,
11362 when it announces its channels it does send it. Implemented
11363 the support for that.
11365 * Added SILC_ID_CHANNEL_COMPARE macro to compare to Channel ID's
11366 into the file lib/silccore/id.h.
11368 Fri Feb 16 23:57:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11370 * Fixed memory leaks in the functions silc_idlist_del_client,
11371 silc_idlist_del_channel and silc_idlist_del_server in the file
11372 silcd/idlist.c. All of those leaked like a sieve.
11374 * Fixed some small memory leaks in the client's function
11375 silc_client_notify_by_server.
11377 * Added functions into silcd/server.c: silc_server_announce_clients,
11378 silc_server_announce_channels and silc_server_announce_server.
11379 These functions are used by normal and router server to announce
11380 to its primary router about clients, channels and servers (when
11381 router) that we own. This is done after we've connected to the
11384 These functions effectively implements the following packet types:
11385 SILC_PACKET_NEW_CHANNEL_LIST, SILC_PACKET_NEW_CHANNEL_USER_LIST
11386 and SILC_PACKET_NEW_ID_LIST.
11388 * Added new functions into the silcd/packet_receive.[ch]:
11389 silc_server_new_id_list, silc_server_new_channel_list and
11390 silc_server_new_channel_user_list to handle the incoming
11391 NEW_ID_LIST, NEW_CHANNEL_LIST and NEW_CHANNEL_USER_LIST packets.
11393 * Added support of changing Channel ID in the function
11394 silc_server_replace_id. If the server that announces a channel
11395 to the router already exists in the router (with same name but
11396 with different Channel ID), router is responsible to send
11397 Replace ID packet to the server and force the server to change
11398 the Channel ID to the one router has.
11400 * Added new notify type SILC_NOTIFY_TYPE_CHANNEL_CHANGE to notify
11401 client that the Channel ID has been changed by the router. The
11402 normal server sends this to the client. Client must start using
11403 the new Channel ID as the channel's ID.
11405 Implemented handling of this new type into lib/silcclient/client.c
11406 into the function silc_client_notify_by_server.
11408 * Added new function silc_idlist_replace_channel_id into the files
11409 silcd/idlist.[ch] to replace the Channel ID.
11411 Fri Feb 16 14:14:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11413 * Call silc_server_command_identify_check always when processing
11414 the IDENTIFY command in silcd/command.c
11416 Thu Feb 15 20:07:37 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11418 * Added new packet type SILC_PACKET_HEARTBEAT that is used to
11419 send keepalive packets. The packet can be sent by clients,
11420 servers and routers.
11422 Added function silc_socket_set_heartbeat into the file
11423 lib/silccore/silcsockconn.[ch] to set the heartbeat timeout.
11424 If not set, the heartbeat is not performed. The actual
11425 heartbeat is implemented in the low level socket connection
11426 library. However, application is responsible of actually
11427 sending the packet.
11429 Added silc_server_send_heartbeat to send the actual heartbeat
11430 packet into silcd/packet_send.[ch]. Server now performs
11431 keepalive with all connections.
11433 * Added silc_task_get_first function into lib/silcutil/silctask.c
11434 to return the timeout task with shortest timeout. There was a bug
11435 in task unregistration that caused problems. TODO has been
11436 updated to include that task system must be rewritten.
11438 * The client library will now resolve the client information when
11439 receiving JOIN notify from server for client that we know but
11440 have incomplete information.
11442 * Rewrote parts of silc_server_remove_from_channels and
11443 silc_server_remove_from_one_channel as they did not remove the
11444 channel in some circumstances even though they should've.
11446 * Encryption problem encountered in server:
11448 The LEAVE command used to send the Channel Key packet to the
11449 router immediately after generating it. However, the code
11450 had earlier sent Remove Channel user packet but not immediately,
11451 ie. it was put to queue. The order of packets in the router
11452 was that Channel Key packet was first and Remove Channel User
11453 packet was second, even though they were encrypted in the
11454 reverse order. For this reason, MAC check failed. Now, this
11455 is fixed by not sending the Channel Key packet immediately but
11456 putting it to queue. However, this is more fundamental problem:
11457 packets that are in queue should actually not be encrypted
11458 because packets that are sent immediately gets encrypted
11459 actually with wrong IV (and thus MAC check fails). So, packets
11460 that are in queue should be encrypted when they are sent to
11461 the wire and not when they put to the queue.
11463 However, the problem is that the current system has not been
11464 designed to work that way. Instead, the packet is encrypted
11465 as soon as possible and left to the queue. The queue is then
11466 just purged into wire. There won't be any fixes for this
11467 any time soon. So, the current semantic for packet sending
11470 o If you send packet to remote host and do not force the send
11471 (the packet will be in queue) then all subsequent packets to the
11472 same remote host must also be put to the queue. Only after the
11473 queue has been purged is it safe again to force the packet
11476 o If you send all packets immediately then it safe to send
11477 any of subsequent packets through the queue, however, after
11478 the first packet is put to queue then any subsequent packets
11479 must also be put to the queue.
11481 Follow these rules and everything works fine.
11483 Thu Feb 15 14:24:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11485 * Added new function silc_server_remove_clients_by_server to
11486 remove all client entries from ID list when the server connection
11487 is lost. In this case it is also important to invalidate all
11488 client entires as they hold the invalid server entry. This
11489 fixes fatal bug when server has lost connection and will reconnect
11492 Wed Feb 14 16:03:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11494 * Made some sanity checks to silc_server_daemonise like to check
11495 whether the requested user and group actually exists.
11497 * Added sanity check to SKE's silc_ske_responder_finish to check
11498 that the public and private key actually is valid.
11500 * Invalidate the client's nickname when receiving Replace ID
11501 packet and the Client ID is being replaced. This means that the
11502 server will query the nickname if someone needs it (client)
11505 * Sort the ID Cache in client library when the ID Cache data
11506 has changed (needs sorting).
11508 * Do not allow for SILC client to create several connections to
11509 several servers. The client does not support windows right now
11510 and generating multiple connections causes weird behaviour.
11512 Irssi-silc client does support windows and can handle several
11513 connections without problems, see: www.irssi.org and SILC plugin.
11515 * Fixed some places where client was added to the IDList. The
11516 rule of thumb is following (in order to get everything right):
11517 If the client is directly connected local client then the
11518 `connection' argument must be set and `router' argument must be
11519 NULL to silc_idlist_add_client function. If the client is not
11520 directly connected client then the `router' argument must
11521 bet set and the `connection' argument must be NULL to the
11522 silc_idlist_add_client function.
11524 * The funtion silc_server_packet_send_local_channel actually did
11525 not check whether the client was locally connected or not. It
11526 does that now. Fixed a bug related to LEAVE command.
11528 * Fixed Remove Channel User payload parsing bug in server's
11529 silcd/packet_receive.c. Fixed a bug related to LEAVE command.
11531 * The server's silc_server_save_channel_key now checks also the
11532 global ID list for the channel as it might not be in the local
11533 list. Fixed a bug related to LEAVE command.
11535 * Is this the end of the [<unknown>] buglet that has been lurking
11536 around for a long time? A little for loop fix in server's
11537 silc_server_command_whois_parse that is used by both IDENTIFY
11538 and WHOIS command. At least, this was a clear bug and a cause
11539 of one type of [<unknown>] buglet.
11541 * WHOIS and IDENTIFY commands call the function
11542 silc_server_command_[whois/identify]_check function even if
11543 we are not router server.
11545 Tue Feb 13 19:55:59 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11547 * Added --with-gmp configuration option. If set the GMP
11548 is always compiled in the SILC source tree. If not set then
11549 it is checked whether the system has the GMP3 installed. If
11550 it has then the GMP won't be compiled (the system's headers
11551 and library is used), if it doesn't have it then the GMP is
11552 compiled in the SILC source tree.
11554 Mon Feb 12 11:20:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11556 * Changed RSA private exponent generation to what PKCS #1
11557 suggests. We try to find the smallest possible d by doing
11558 modinv(e, lcm(phi)) instead of modinv(e, phi). Note: this is
11559 not security fix but optimization.
11561 Sun Feb 11 18:19:51 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11563 * Added new config entry [Identity] to fork the server and run
11564 it as specific user and group. A patch from Bostik.
11566 * Imported Dotconf configuration library into lib/dotconf.
11567 This will be used to create the SILC configuration files later.
11568 It will appear in the distsribution after this commit.
11570 Sat Feb 10 21:13:45 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11572 * A big code auditing weekend happening. Auditing code for
11573 obvious mistakes, bugs and errors. Also, removing any code
11576 Removed files for being obsolete:
11578 o lib/silcutil/silcbuffer.c (the buffer interface is entirely in
11579 inline in the file lib/silcutil/silcbuffer.h)
11581 o lib/silcutil/silcbufutil.c (the header has inline versions)
11583 Changed code to fix possible error conditions:
11585 o The buffer formatting routines now check that the destination
11586 buffer really has enough space to add the data. This applies for
11587 both buffer formatting and unformatting
11588 (lib/silcutil/silcbuffmt.[ch]). Also, the entire buffer
11589 unformatting was changed to accomodate following rules:
11590 XXX_*STRING_ALLOC will allocate space for the data into the pointer
11591 sent to the function while XXX_*STRING will not allocate or copy
11592 the data into the buffer. Instead it sets the pointer from the
11593 buffer into the pointer sent as argument (XXX_*STRING used to
11594 require that the pointer must be allocated already). This change
11595 makes this whole thing a bit more consistent and more optimized
11596 (note that the data returned in the unformatting with XXX_*STRING
11597 must not be freed now). The routines return now -1 on error.
11599 o Tried to find all code that use buffer_format and buffer_unformat
11600 and added return value checking to prevent formatting and
11601 especially unformatting errors and possible subsequent fatal
11604 o Changed ske->x and ske->KEY to mallocated pointers in
11605 lib/silcske/silcske.h. Fixed possible data and memory leak.
11607 o Added return value checking to all *_parse* functions. Fixed
11608 many memory leaks as well.
11610 o Added length argument to silc_id_str2id in lib/silccore/id.[ch]
11611 so that buffer overflows would not happen. All code now also
11612 checks the return value as it can fail.
11614 Mon Feb 5 20:08:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11616 * Added reconnection support to server if the normal server looses
11617 its connection to the router (for example if router is rebooted).
11618 The server performs normal reconnection strategy implemented
11619 to the server. Affected file silcd/server.c.
11621 Sun Feb 4 13:18:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11623 * Added new packet type SILC_PACKET_SET_MODE that is used to
11624 distribute the information about changed modes (for clients,
11625 channels and clients channel modes) to all routers in the
11626 network. Updated the protocol specification accordingly.
11628 Added functions into silcd/packet_send.c and
11629 silcd/packet_receive.c: silc_server_send_set_mode,
11630 silc_server_set_mode.
11632 Added new files silcmode.[ch] into lib/silccore that implements
11633 the encoding and decoding of Set Mode Payload. Added new type
11634 SilcSetModePayload. Moved the definitions of different modes
11635 from lib/silccore/silcchannel.h into lib/silccore/silcmode.h.
11637 Sat Feb 3 15:44:54 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11639 * Oops, a little mistake in server's connection authentication
11640 protocol. The protocol is not ended with FAILURE but with
11641 SUCCESS if the authentication is Ok. :) Affected file is
11644 * Implemented NICK_CHANGE notify handling in server in the file
11645 silcd/packet_receive.c The NICK_CHANGE notify is distributed to
11646 the local clients on the channel. After the changing nickname
11647 in router environment snhould work and the [<unknown>] nickname
11648 should appear no more.
11650 The silc_server_replace_id function that receives the Replace ID
11651 payload now sends the NICK_CHANGE notify type also in the file
11652 silcd/packet_receive.c
11654 * Changed WHOIS and IDENTIFY command to support the maximum amount
11655 of arguments defined in protocol specs (3328 arguments). This
11656 fixed a bug that caused problems when there were more than three
11657 users on a channel.
11659 Fri Feb 2 11:42:56 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11661 * Added extra parameter, command identifier, to the
11662 silc_client_send_command so that explicit command identifier
11665 Changed that ID list routines uses specific command identifier
11666 when sending WHOIS/IDENTIFY requests to the server so that they
11667 can be identified when the reply comes back.
11669 Affected files lib/silcclient/command.[ch],
11670 lib/silcclient/client.c and lib/silcclient/idlist.[ch].
11672 * Added `sender' argument to silc_server_packet_send_to_channel
11673 to indicaet the sender who originally sent the packet to us
11674 that we are now re-sending. Ignored if NULL. Affected file
11675 silcd/packet_send.[ch].
11677 * Added some server statistics support in silcd/server_internal.h
11678 SilcServerStatistics structure and around the server code. Also
11679 send some nice statistics information when client is connecting
11682 Thu Feb 1 23:31:21 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11684 * Fixed channel ID decoding in server's JOIN command reply in
11685 silcd/command_reply.c
11687 * Fixed braodcasting of replace ID payload to not to send it if
11688 we are standalone server in silcd/packet_receive.c.
11690 * Fixed all channel message sending routines to not to send
11691 packets to clients that has router set, since they are routed
11692 separately in the same function earlier. Affects file
11693 silcd/packet_send.c and all channel packet sending functions.
11695 * In USERS reply, res_argv[i] are not allocated, the table
11696 is allocated. Thus changed that free the table, not its
11699 * In server's whois_check and identify_check if the client is
11700 locally connected do not send any WHOIS commands - they are not
11703 Thu Feb 1 21:32:27 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11705 * Fixed some minor bugs in client when sending WHOIS command. The
11706 arguments was in wrong order.
11708 * Removed statis function add_to_channel from server in
11709 silcd/command.c that was previously used with the joining but
11712 * Tested USERS command in router environment successfully with two
11713 routers, two servers and two clients.
11715 Thu Feb 1 00:54:26 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11717 * Reorganized the USERS command and command reply in client library
11718 in lib/silcclient/command.c and lib/silcclient/command_reply.c.
11719 When the command is given by user we register a pending command
11720 callback that will reprocess the command after the reply has been
11721 received from the server. When reprocessing the packet we then
11722 display the information. Thus, the USERS information is displayed
11723 now in the command callback instead of in the command reply
11724 callback. The processing of the command is same as previously
11725 when server has sent the command reply in the JOINing process.
11727 * Added to USERS command in silcd/command_reply.c to join the client,
11728 we didn't use to know about, to the channel after we've created
11729 a client entry for it. Also, for clienet we did know already still
11730 check whether it is on the channel or not and add it if not.
11732 * Removed silc_server_command_join_notify as the function and its
11735 Tue Jan 30 22:39:15 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11737 * Changed the client's pending command handling to the same as the
11738 server's pending command handling. It is also now possible to
11739 execute command reply functions from other command reply
11740 function as the function callbacks for commands and command
11741 replies are one and same. The pending commands are not static
11742 list anymore, it is mallocated SilcDList in lib/silcclient/client.h
11743 in client connection context. Thus, pending commands are server
11744 connection specific as it is convenient.
11746 Changed the function silc_client_command_pending and
11747 silc_client_command_pending_del and added new function
11748 silc_client_command_pending_check. Removed the
11749 SILC_CLIENT_CMD_REPLY_EXEC, and SILC_CLIENT_PENDING_COMMAND_CHECK
11752 * Added cmd_ident, current command identifier, to the client
11753 connection context in lib/silcclient/client.h to keep track on
11754 command identifiers used in command sending. Client's command reply
11755 function handling now supports the mandatory command identifiers.
11757 * Added SILC_CLIENT_COMMAND_EXEC_PENDING macros to all command reply
11758 funtions in client to fully support pending command callbacks.
11760 * NOTE: the name_list in USERS (old NAMES) command is NOT sent anymore
11761 as one of the arguments to the application in the command reply
11764 * NOTE: The FORWARDED flag is depracated. It used to be depracated
11765 before first releasing SILC but came back. Now it is removed again
11766 and should come back nomore. The FORWARDED flag was used only
11767 by the JOINing procedure by forwarding the command packet to router.
11768 Now, the JOINing procedure has been changed to more generic (due
11769 to various router environment issues) and FORWARDED is not needed
11770 anymore for anything. The protocol specification is yet to be
11773 Now, removed silc_server_packet_forward from server and the flag
11774 SILC_PACKET_FORWARDED from lib/silccore/silcpacket.h.
11776 Tue Jan 30 00:05:05 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11778 * Renamed NAMES command to USERS command. The NAMES was named that
11779 due to historical reasons. Now it is renamed. Also, rewrote
11780 parts of the USERS command. The nickname list is not sent anymore
11781 by the server. Only Client ID and mode lists are sent in the USERS
11782 command. Changed this also to the protocol specification.
11784 The client now resolves the names and stuff after it receives
11785 the USERS list from the server when joining to the channel.
11787 * WHOIS and IDENTIFY commands has been changed to support multiple
11788 Client ID's per command. One can now search for multiple users
11789 in the network by sending only one WHOIS or IDENTIFY command.
11790 Changed the code and the protocol specifications.
11792 * Removed silc_server_command_identify_parse and changed that IDENTIFY
11793 uses silc_server_command_whois_parse to parse the request. */
11795 * If normal server, do not parse the WHOIS and IDENTIFY requests
11796 before sending it to the router. Saves some time.
11798 Sun Jan 28 16:19:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11800 * Fixed JOIN command on client library. Wrong number of arguments
11801 used to crash the client.
11803 * Added silc_server_channel_has_global function to check whether
11804 channel has global users or not.
11806 * Added silc_server_channel_has_local function to check whether channel
11807 has locally connected clients on the channel.
11809 * The silc_server_remove_from_one_channel now checks whether the
11810 channel has global users or not after given client was removed from
11811 the channel. It also checks whether the channel has local clients
11812 on the channel anymore. If it does not have then the channel entry
11813 is removed as it is not needed anymore.
11815 * The silc_server_notify now checks on JOIN notify whether the joining
11816 client is one of locally connected or global. If it is global then
11817 the channel has now global users on the channel and that is marked
11818 to the channel entry. Also, it now saves the global client to
11819 global list who is joining and JOINs it to the channel. This is
11820 for normal server, that is.
11822 Changed silc_server_send_notify_on_channel,
11823 silc_server_packet_relay_to_channel and
11824 silc_server_packet_send_to_channel check if we are normal server
11825 and client has router set (ie. global client) do not send the
11826 message to that client, as it is already routed to our router.
11828 * Implemented LEAVE notify type handling in silc_server_notify
11831 * Tested LEAVE command in router environment successfully. Tested
11832 with two routers, two servers and two clients.
11836 * idlist_find_xxx_by_id routines now dumps the ID on the debug mode.
11838 * Implemented SIGNOFF notify type handling in silc_server_notify
11841 * silc_server_remove_id now removes the client entry from all channels
11842 it has joined and thusly sends SIGNOFF notify type.
11844 * Rewrote the NAMES list generation in server by removing two excess
11845 loops. The lists are created now inside one loop.
11847 Sat Jan 27 22:34:56 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11849 * silc_server_remove_channel_user checks now also global list
11850 for channel and client.
11852 * silc_server_new_channel_user checks now both local and global
11853 list for channel and client. Fixed a bug in client id decoding.
11854 Used to decode wrong buffer.
11856 * silc_server_channel_message checks now both local and global
11857 list for channel entry.
11859 * Tested channel joining (hence JOIN) in router environment
11860 successfully. Tested with two routers, two servers and two
11863 * Tested channel message sending in router environment successfully.
11865 Thu Jan 11 03:22:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11867 * Added silc_server_save_channel_key into server.[ch] to save the
11868 received channel key in Channel Key payload processing. It is
11869 also used in JOIN command reply handling.
11871 Equivalent function silc_client_save_channel_key added into
11872 client.[ch] into client library.
11874 * Changed JOIN command reply to send information whether the channel
11875 was created or not (is existing already) and the channel key
11876 payload. Changed protocol specs accordingly.
11878 * Fixed bugs in WHOIS and IDENTIFY command reply sending when
11879 the request was sent by ID and not by nickname. Crashed on
11882 Sat Dec 23 21:55:07 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11884 * Fixed a bug in Client library. IDENTIFY and WHOIS reply functions
11885 now correctly save the received data.
11887 * silc_server_free_sock_user_data now notifies routers in the
11888 network about entities leaving the network.
11890 At the same time implemented functions silc_server_remove_id
11891 and silc_server_send_remove_id to receive and send REMOVE_ID
11892 packets. The packet is used to notify routers in the network
11893 about leaving entities. The ID removed will become invalid in
11896 * Added function silc_idlist_del_server into server. Removes and
11897 free's server entry from ID list.
11899 * silc_server_private_message function now checks, if we are router,
11900 that the destination ID really is valid ID, naturally.
11902 * In router when NEW_ID packet is received (for new client) the
11903 hash of the Client ID is saved in the ID Cache but the
11904 client->nickname is set to NULL, instead of putting the hash
11907 IDENTIFY command now also checks that client->nickname must be
11908 valid. If it is not if will request the data from the server who
11909 owns the client. Added new function
11910 silc_server_command_identify_check.
11912 * Added silc_command_set_command into lib/silccore/silcommand.[ch]
11913 to set the command to already allocated Command Payload.
11915 * Tested private message sending in router environment with two
11916 routers, two servers and two clients. Fixed minor bugs and now
11919 * Fixed segfault from client's NAMES command. Used to crash if
11920 not on any channel.
11922 * Forwarded packets must not be routed even if it is not destined
11923 to the receiver. Changed server code comply with this.
11925 Sun Dec 17 14:40:08 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11927 * Added `require_reverse_mapping' boolean value to ServerParams
11928 structure. If TRUE (not default) the server will require that
11929 the connecting host has fully qualified domain name.
11931 If the reverse mapping is not required and hostname could not be
11932 found the IP address is used as hostname.
11934 Sat Dec 16 17:39:54 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11936 * Implemented version string checking to both client and server.
11937 The check is incomplete currently due to the abnormal version
11938 strings used in development version of SILC.
11940 * Changed all command functions in server to use the new
11943 Fri Dec 15 15:55:12 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11945 * Changed char *data to unsigned char *data in ID Cache system to
11946 support binary data as ID Cache data. Changed code to support
11947 binary data in lib/silccore/idcache.c.
11949 * Renamed silc_server_packet_relay_command_reply to
11950 silc_server_command_reply as it is normal packet receiving
11951 function. Rewrote the function to accept command replys for
11952 servers and not only for clients.
11954 * Mark remote router always as registered server if we are connecting
11955 to it. Otherwise, commands sent by the router to us are ignored.
11957 * All ID List find routines now returns the ID Cache Entry pointer
11958 as well if requested.
11960 * WHOIS command works now in router environment, tested with two
11961 routers, two servers and two clients.
11963 * Cleaned up and rewrote IDENTIFY command. IDENTIFY should work now
11964 in router environment (as it is almost equivalent to WHOIS) but
11965 hasn't been tested thoroughly. Added new functions:
11967 silc_server_command_identify_parse
11968 silc_server_command_identify_send_reply
11969 silc_server_command_identify_from_client
11970 silc_server_command_identify_from_server
11972 * Disabled route cache adding because adding two different ID's with
11973 same IP replaces the old cache entry thus giving wrong route.
11974 The entry->router->connection is always the fastest route anyway
11975 so route cache may not be needed. Of course, new routes maybe
11976 established after receiving the ID when the entry->router->connection
11977 might not be anymore the most optimal.
11979 Thu Dec 14 15:55:35 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11981 * Add route cache for received ID for fast routing.
11983 * Added silc_server_packet_route to route received packet on router
11984 that is not destined to us.
11986 * Renamed silc_server_get_route to silc_server_route_get.
11988 * Added id_string and id_string_len fields into SilcServer to
11989 include encoded ServerID for fast comparing without excess
11990 encoding of the ID's.
11992 * Cleaned up WHOIS command on server side. Added following static
11995 silc_server_command_whois_parse
11996 silc_server_command_whois_check
11997 silc_server_command_whois_send_reply
11998 silc_server_command_whois_from_client
11999 silc_server_command_whois_from_server
12001 * Added macro SILC_SERVER_COMMAND_CHECK_ARGC to check mandatory
12002 arguments in command replies. All command functions should be
12003 updated to use this macro.
12005 Sun Dec 10 23:52:00 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12007 * Minor typo fixes on command reply handling on server.
12009 Tue Nov 28 11:05:39 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12011 * Added silc_server_command_add_to_channel internal routine to add
12012 the client to the channel after router has created the channel and
12013 sent command reply to the server.
12015 * Added generic silc_server_send_command to send any command from
12018 * Use static buffer with ID rendering instead of duplicating data.
12020 Mon Nov 27 21:39:40 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12022 * Fixed a channel user mode bug when joining to a channel server gave
12023 everybody channel founder rights, oops.
12025 * We mark ourselves as the router of the incoming server connection
12026 if we are router ourselves. This way we can check in some packet
12027 sending functions whether it is locally connected server. For
12028 incoming router connections we put NULL.
12030 * For router sending packets locally means now always sending the
12031 packet cell wide; to local clients and local servers. For normal
12032 server sending packet locally means sending it to only local
12035 * Fixed the JOIN command to really work in router environment. If the
12036 channel is created it is always created by the router. Router is
12037 also responsible of making the initial joining to the channel,
12038 sending JOIN notify to the sending server and distributing
12039 NEW_CHANNEL and NEW_CHANNEL_USER packets. Hence, if the channel
12040 does not exist server doesn't do anything else but forward the
12041 command to the router which performs everything.
12043 * Added silc_server_send_channel_key function to send the Channel Key
12046 * Added silc_server_create_channel_key to create new channel key. The
12047 channel key is now re-generated everytime someone joins or leaves
12048 a channel, as protocol dictates. Note: channel->key_len is the
12049 key length in bits.
12051 Wed Nov 22 22:14:19 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12053 * Splitted server.[ch] finally. Created now packet_send.[ch] and
12054 packet_receive.[ch] to separate packet sending and receiving
12055 routines. The server.[ch] now includes everything else including
12056 actual packet processing (writing and reading data) and other
12059 Renamed silc_server_private_message_send_internal to
12060 silc_server_send_private_message. The routine is still though
12061 used only to relay private messages as server does not send
12062 private messages itself.
12064 Renamed silc_server_new_channel to silc_server_create_new_channel
12065 and added new function sicl_server_new_channel that handles the
12066 incoming New Channel packet. Added also new sending function
12067 silc_server_send_new_channel to send New Channel Payload.
12069 * Added new function silc_server_notify to process incoming notify
12070 packet to the server/router. Server may then relay the notify
12071 to clients if needed.
12073 * Added new function silc_server_new_channel_user to process incoming
12074 New Channel User packet. Router will redistribute the packet and
12075 send JOIN notify to its local clients and locally connected servers
12076 if needed. Normal server will send JOIN notify to its local client
12077 on same channel when received this packet. Added also corresponding
12078 sending function silc_server_send_new_channel_user to sent the
12081 * Added boolean route argument to send_notif_to_channel and
12082 packet_send_to_channel functions to attempt to route the packet
12083 if it is TRUE and send only locally if it is FALSE.
12085 Tue Nov 21 19:49:31 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12087 * silc_server_replace_id now broadcasts the received replace ID
12088 packet if it is not broadcast packet already. The router must
12089 broadcast to inform other routers about changed ID.
12091 * Added backpointer to server's router into SilcServer context in
12092 silcd/server_internal.h.
12094 * Fixed silc_server_packet_broadcast to send correct broadcast
12097 * The channel key is now distributed to the local client as soon
12098 as it is received from the router (in router environment) so that
12099 no other packet may be sent for the channel until client has
12102 * silc_server_remove_channel_user now broadcasts the received
12103 Remove Channel User packet if it is not broadcast packet already.
12104 The router must broadcast to inform other routers about removed
12107 * Added users field into SilcPacketContext that is a reference count
12108 of the context. One can increase the reference count by calling
12109 silc_packet_context_dup which is now changed to just increase the
12110 reference count instead of duplicating the data. The reference
12111 count is decresed by calling silc_packet_context_free that will
12112 free the data after the reference count hits zero.
12114 For now on the packet context and everything allocated into it
12115 (including the raw packet from network) must be freed by calling
12116 the new silc_packet_context_free function. Added also new function
12117 silc_packet_context_alloc that must be used now to allocate the
12118 context. This also means that if a routine is asynchronous from
12119 silc_[client/server]_packet_parse_type the packet context must
12120 be duplicated by calling silc_packet_context_dup. Otherwise it
12121 gets free'd after silc_[client/server]_packet_parse_type returns.
12122 Also, one must remember that if packet is duplicated then its
12123 reference count must be decresed by calling the free function as
12124 many times as it was duplicated.
12126 * Changed SilcBuffer field from protocol contexts to SilcPacketContext
12127 from both client and server.
12129 Mon Nov 20 23:47:03 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12131 * Made joining to a channel working in router environment.
12133 * Cleaned up JOIN command on server side and create function
12134 silc_server_command_join_channel internal routine to make the
12137 Thu Nov 9 21:12:39 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12139 * Changed silc_command_pending list to SilcDList. Also, added
12140 `ident' field to SilcServerCommandPending structure to identify
12141 the reply and to call correct callback.
12143 Added silc_server_command_pending_check function to replace the
12144 corresnponding macro. The silc_command_pending list is not
12147 * Added silc_command_set_ident into lib/silccore/silccommand.[ch]
12148 to set identifier to previously allocated Command Payload. It
12149 is used to set identifier for command when resending Command
12152 * Added silc_command_payload_encode_payload to encode Command
12153 Payload buffer from SilcCommandPayload structure.
12155 * Added silc_argument_payload_encode_payload to encode Argument
12156 payload buffer from SilcArgumentPayload structure.
12158 Wed Nov 8 21:03:28 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12160 * Changed WHOIS command to support router connection on server side.
12161 The whois request is always sent to router unless the server is
12162 standalone server. After server has received the reply from the
12163 router will it send the reply to the client.
12165 * Added silc_server_packet_broadcast into silcd/server.[ch] to
12166 broadcast received broadcast packet. The function is used only
12167 by router. The broadcast packet is always sent to the router's
12170 * Added silc_id_render function in lib/silcutil/silcutil.[ch] to
12171 render given ID to printable string, for log files for example.
12173 Tue Nov 7 22:14:19 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12175 * Made basic router to router connections working. At least they
12176 can now connect to each other but nothing really works the way
12177 they are supposed - yet.
12179 * Added new initiator token to RouterConnection configuration
12180 file in silcd/serverconfig.[ch]. It is used to tell whether we
12181 are the initiator to the remote router or whether we'll expect
12182 the other end to connect.
12184 * Moved registering of listener task to silc_server_init, hence
12185 the server starts listenning as soon as it is run, even if it
12186 does not have connections to other routers. Let's see how well
12189 * Changed default connection retry timeouts for more suitable in
12192 * Removed cipher and such arguments from silc_idlist_add_client
12193 and silc_idlist_add_server prototypes from silcd/idlist.[ch].
12194 Added new function silc_idlist_add_data to add the keys and stuff
12197 * Added SilcIDListData structure and added it to SilcClientEntry
12198 and SilcServerEntry as their first field in the structure. This
12199 way we can explicitly cast the ID entries to the SilcIDListData
12200 structure and get common data for the entries. In past, we had
12201 to first check what type of connection it is and then cast it to
12202 correct ID entry type. Now, we can directly cast the opaque
12203 pointer to the SilcIDListData (no matter what ID entry it actually
12204 is) and get the data needed.
12206 Mon Nov 6 21:56:12 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12208 * Wow, found a bug in scheduler. The scheduler uninitialized itself
12209 in some circumstances even if threre were timeout tasks, though not
12210 IO tasks, but tasks anyway. Now fixed.
12212 * Defined SilcServerConnection structure to hold connection specific
12213 stuff about directly connected servers and routers. The definition
12214 is currently in silcd/server_internal.h. I thought about having
12215 a bit more important role fro this struct but for now it is used
12216 only when connecting to other server (or router actually).
12218 * Added connecting retry support in server when connecting to
12219 router(s). The retry feature implement exponential backoff
12220 algorithm. Also, added SilcServerParams structure to hold default
12221 parameters for server. For now, it include these retry settings
12222 and are hard coded. After server is moded to be as Silc Server
12223 Library this structure will be more important.
12225 Sun Nov 5 22:28:44 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12227 * Changed client librarys channel->clients table to SilcList and
12228 changed code accordingly.
12230 Thu Nov 2 16:28:01 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12232 * Changed client's channel table to SilcList and changed code
12233 accordingly. Also changed SilcChannelClientEntry to include back-
12234 pointer to the channel so that client entry can use that structure
12235 as list as well and we have fast cross-reference to the channel.
12236 This change dramatically decreased the complexity of channel
12237 handling with client entry and vice versa (removed one extra
12238 loop when searching for channel entry from many functions).
12240 * Changed server->sim from table to SilcDList and changed code
12243 * NAMES command can now be used from user interface. It will show
12244 the user list on the channel, neatly.
12246 * Added realname pointer to SilcClientEntry in lib/silcclient/idlist.h.
12247 Code now saves realname of the user if it becomes available.
12249 * Renamed configure.in to configure.in.pre and made ./prepare
12250 script to automatically add correct version string to
12251 configure.in which it creates from configure.in.pre.
12253 Wed Nov 1 17:21:26 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12255 * NAMES command reply now shows users mode with the nickname when
12256 joining to channel.
12258 * Moved silc_client_ch[u]mode[_char] functions from
12259 silc/clientutil.[ch] to lib/silcclient/client.[ch]. Though, that
12260 place sucks, they are utility functions and should be in some
12263 * Fixed some unsigned int's to unsigned short's. Patch by cras.
12265 * Fixed contrib/getopt*.[ch] to not require config.h. Patch by
12268 Tue Oct 31 20:10:37 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12272 * Added TRQ (efficient deque and list library) into lib/trq. This is
12273 a very good list library that is currently used in the SILC. Defined
12274 SilcList API over the library because I didn't like the API very
12275 much. See lib/trq/silclist.h for the API and examples of how to
12276 use the API. Fixed various places in the code to use the new
12277 SilcList API. The SilcList is meant for lists that has a structure
12278 already defined as a list. It is not suitable to add just some
12279 context to the list (in TRQ, the context is the list actually).
12281 So, I defined SilcDList that can be used for the purpose where
12282 predefined list structure does not exit. This can be used as
12283 such list. Now some context just can be added to the SilcDList.
12284 Currently this list is not used in the SILC just yet, though there
12285 are a lot places where this can replace dynamically allocated
12286 tables and I will fix these places, later, to use SilcDList.
12287 See lib/trq/silcdlist.h for SilcDList (they are all inline functions,
12288 and use TRQ internally).
12290 Also fixed some annoying warning messages that the original TRQ
12291 code generated. Also minor changes to TRQ's Makefile.in.
12293 * Added support for querying by Client ID to both WHOIS and
12294 IDENTIFY commands into server, as required by the protocol.
12296 * Removed method function pointers from SilcBuffer structure. They
12297 weren't used to anything and just increased the context size for
12298 no good reason. This change also made silc_buffer_alloc and
12299 silc_buffer_free functions inline functions.
12301 * Disabled command flooding detection support until it's fixed so
12302 that it accepts commands in but does not execute them more than once
12305 * Added silc_net_localhost(), to return local hostname, into
12306 lib/silcutil/silcnet.[ch]. Also added client->hostname pointer
12307 that must be initialized before calling silc_client_init.
12309 * Added new function: silc_server_send_notify_on_channels to send
12310 notify messages to all channels client has joined. It is assured
12311 that the message is sent only once per client.
12313 * Moved silc_log_format (from lib/silcutil/silclog.[ch] into
12314 lib/silcutil/silcutil.[ch] as silc_format function. The new
12315 function is generic and is used by server as well, not only by
12316 the logging routines.
12318 * Added new SKE status type: SILC_SKE_STATUS_BAD_VERSION to indicate
12319 the provided version string was not acceptable. Added new function:
12320 silc_ske_check_version into lib/silcske/silcske.h. The function
12321 must be implemented by the application (client or server) and it
12322 does not reside in the SKE library. The function checks the version
12323 string remote end sent.
12325 * Added back pointers (to opaque context and to SilcSocketConnection)
12326 into SilcPacketContext structure into lib/silccore/silcpacket.h.
12328 * Added silc_packet_context_dup into lib/silccore/silcpacket.[ch] to
12329 duplicate packet context structure.
12331 * Changed `notify' client operation to send same arguments as client
12332 receives from server except for ID's. ID's are mapped to correct
12333 ID entry and that is returned. Also, if channel entry is not sent
12334 by server but the notify is for channel the channel entry is sent
12335 to application (otherwise application doesn't know that it is for
12336 channel (library gets it from packet's Destination ID)).
12338 * Added silc_client_remove_from_channels into client library to
12339 remove a client from all channels it has joined to. Used when
12340 received SIGNOFF notify from server. Added also new function
12341 silc_client_replace_from_channels to replace old ID entry with
12342 new ID entry on all channels. Used when received NICK_CHANGE
12343 notify from server.
12345 * Fixed ID Cache list handling in silc_idlist_get_client in
12346 lib/silcclient/idlist.c. Also, added silc_idlist_get_client_by_id
12347 to get (or query) client by ID.
12349 * Updated TODO list.
12351 * Added connection authentication status message defined by the
12352 protocol: SILC_CONN_AUTH_OK and SILC_CONN_AUTH_FAILED and added the
12353 support for these into the code in client and server side.
12355 * Added generic function silc_client_send_command to send any command
12356 with variable argument list. Application should use this function
12357 to send commands if the command functions provided by the library
12358 does not suite for the application's user interface needs.
12360 * Added new `failure' client operation. Application is notified about
12361 received failure packet if client is executing a protocol. In this
12362 case the protocol's execution has failed.
12364 * Added SKE's end notify to send the SKE_SUCCESS notify message that
12365 is required by the protocol.
12367 * Added SILC_PROTOCOL_STATE_FAILURE to indicate received failure
12368 packet from remote. SILC_PROTOCOL_STATE_ERROR indicates local
12371 * Added status flag to SilcSKE object to indicate realtime status
12372 of the SKE protocol.
12374 * Application receives now exactly same command reply arguments as
12375 the library receives from server. However, if ID is received the
12376 corresponding ID entry is returned to the application (eg. Client
12377 ID is mapped to correct SilcClientEntry entry and that is returned).
12378 Changed command_reply client operation due to this change.
12380 * Changed all ID's in commands and in command replys as ID Payloads.
12381 Change affected both client and server side codes.
12383 All ID's sent in SILC network (with execption of ID's in SILC
12384 Packet header) are sent in ID Payload to support variable length
12387 * Server now notifies nick changes and notifies all clients on
12388 the channels about the new nickname (about the new Client ID,
12391 * Implemented CMODE command to change channel modes. Supports all
12392 channel modes defined by the protocol specs except ban and invite
12393 lists. (Also, private channel key mode is supported but support for
12394 setting private channel key in client is missing, thus, this mode
12395 has no effect on client side (except that server requires that the
12396 client uses private channel key and normal channel traffic does not
12399 Also, invite mode works per se, but INVITE command does not work
12400 yet correctly, so you can set channel as invite only channel but
12401 inviting clients to the channel does not work (it is yet to be
12402 thought what's the best way to do it).
12404 * Added new command SILC_COMMAND_CUMODE to change user mode on the
12405 channel. Defined user modes: CHANNEL_FOUNDER and CHANNEL_OPERATOR.
12406 Implemented CUMODE command to change user's mode on the channel.
12407 Supports all modes defined by the protocol specs.
12409 * Added NAMES command reply to return users modes on the channel.
12411 * Removed unnecessary and slow ciphers from lib/silccrypt.
12413 * Set SO_KEEPALIVE option to connection sockets by default.
12415 * Added new command reply status: SILC_STATUS_USER_NOT_ON_CHANNEL.
12417 * Added notify types: MOTD, CMODE_CHANGE and CUMODE_CHANGE. Also,
12418 redefined the Notify Payload into protocol specs.
12420 * Added silc_id_payload_parse_id to get ID directly from raw
12423 Mon Oct 9 20:57:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12425 * Changed SILC_COMMAND_IDENTIFY in protocol specification to
12426 accept searching by Client ID as well.
12428 * Added support for LEAVE and SIGNOFF notify types in client library.
12430 * Added silc_id_payload_parse_data into lib/silccore/silcpayload.[ch]
12431 to parse ID Payload from raw data.
12433 Sun Oct 8 19:33:08 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12435 * Added flags parameter into silc_ske_assemble_security_properties
12436 function in lib/silcske/silcske.[ch].
12438 * Changed notify client operation to fit better for notify messages
12439 sent by server. The notify payload received from server is now
12440 passed to the application (after parsing it to SilcNotifyPayload).
12441 It is application's responsibility to retrieve the arguments
12442 from the payload and show the message the way it wants. The message
12443 sent by server is implementation specific.
12445 * Changed public keys to comply with the protocol specification.
12446 Old public keys are not supported anymore and are not compatible.
12448 * Removed nickname from Channel Payload as the latest draft removed
12449 it. The client must resolve the nickname from the NAMES command
12450 reply received when it joined the channel.
12452 Also, changed all channel_xxxx_payload to channel_payload_xxxx.
12454 Sat Oct 7 21:55:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12456 * Fixed some errors in protocol specification drafts.
12458 * Created lib/silccore/silcnotify.c to implement Notify Payload
12459 encoding and decoding, lib/silccore/silcpayload.[ch] to implement
12460 generic payloads described by protocol specifications. The file
12461 includes implementations for ID Payload and Argument Payload.
12463 * Changed Command Payload implementation to use the new Argument
12464 Payload. Changed command_xxxx_payload to command_payload_xxxx
12465 to comply with SILC coding conventions.
12467 * Added suppport for Argument Payload handling in Notify Payload
12468 implementation as protocol requires it. Added the new support
12469 into server and client lib as well.
12471 Thu Oct 5 21:16:28 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12473 * Added support for multiple nicknames on same channel. [n] is
12474 added locally to the nickname if there are more than one same
12475 nicknames on the channel.
12477 * Server now sends all nicknames that matched WHOIS request.
12478 Client also shows the list received from server.
12480 * Added TOPIC command to client side. User can now set and show
12481 current topic on channel.
12483 * Added MOTD command to client and server. Also, server sends the
12484 motd when client connects to the server.
12486 * Changed version strings to comply ISO 8601.
12488 Wed Oct 4 23:29:06 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12490 * Fixed protocol error handling in client library. It should now
12491 cope even if the SKE fails for some reason.
12493 * Made new protocol specification drafts for submitting to IETF.
12495 * Implemented TOPIC command to server in silcd/command.c.
12497 * Added two new notify types into lib/silccore/silcnotify.h:
12498 SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_TOPIC_SET to
12499 notify nickname change and topic setting/change on a channel.
12501 * API change of command_reply operation in client library. The
12502 application gets now the status type received from server as well.
12504 Sat Sep 30 16:57:42 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12506 * Removed the function just added to lib/silcutil/silcschedule.[ch].
12508 * Cras fixed and optimized the packet handling even further and
12509 it should work now. Minor change to the prototype of function
12510 silc_packet_receive_process in lib/silccore/silcpacket.[ch].
12512 Sat Sep 30 08:48:47 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12514 * Added new function into lib/silcutil/silcschedule.[ch]:
12515 silc_schedule_with_fd to select() a specified fd. The function
12516 returns after timeout expires or data arrives or goes. The
12517 function is used by packet routines to wait that all data is
12518 received from network.
12520 * Fixed data reading from network in lib/silccore/silcpacket.c.
12521 The code now assures that all data is read from the fd and then
12522 continues packet processing. This was a bug fix since the code
12523 used to drop some data in some circumstances.
12525 * Added new function into lib/silcclient/client.[ch]:
12526 silc_client_start_key_exchange to start key exchange after
12527 connection has been established to server. The code internally
12528 now uses this funtion but its main purpose was to provide it
12529 for applications that perform their own connecting. After
12530 application has created a connection it merely calls this
12531 function to start the key exchange between client and server.
12532 The library takes care of everything else after that.
12534 Updated also lib/silcclient/README to explain the usage of
12537 * Do not send to application information that connection has
12538 been established. Application gets notified it by connect
12541 Thu Sep 28 23:40:19 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12543 * Applied cras's patch to add silc_schedule_one function. The
12544 function runs scheduler once and returns.
12546 * Fixed the scheduler after cras messed it up. The timeout
12547 handling works now as it's supposed to work.
12549 * Added into lib/silccore/ silcnotify.h to include notify
12550 message types support. Changed silc_server_send_notify*
12551 functions, in server.[ch], to support those new notify types.
12552 Added the support for the notify types into client library,
12553 as well. Added new notify client operation into ops.h in
12556 * Changed silc_server_packet_send_to_channel to send normal
12557 packets instead of just channel message packets. The function
12558 is now used to send the notify packets to channels. It is not
12559 used to send channel message packets anymore, as server never
12560 sends them anymore.
12562 * Added explicit casting into lib/silcutil/silcbuffmt.c to few
12563 va_arg()s as it seems to require it nowadays. I guess, if SILC
12564 is compiled with older va_arg() the new code should work anyway.
12566 Wed Sep 13 18:10:14 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12568 * Splitted core library. Core library (lib/silccore) includes
12569 now only SILC protocol specific core (and common) components.
12570 Created new utility library (lib/silcutil) that includes more
12571 generic purpose stuff. The stuff for util library was taken
12572 from the old core library. This was minor and easy split.
12574 * Created SILC Client Library (lib/silcclient) that includes
12575 implementation of the SILC client without user interface. This
12576 was major move from silc/ directory. The code has been changed
12577 so that it is transparent towards the user interface. The
12578 silc/ directory includes now the same user interface as before
12579 and it uses the new client library. Read lib/silcclient/README.
12580 Basicly, the client library performs everything else related
12581 to SILC except user interface handling. Also, configuration
12582 files are considered to be part of user interface and library
12583 does not handle them.
12585 This change also changed a lot of structures, function naming etc.
12586 Most important change was that SilcClientWindow object was
12587 renamed to SilcClientConnection in the client library. Created
12588 also new file lib/silcclient/ops.h. Also added new files
12589 silc/local_command.[ch] and silc/client_ops.[ch].
12591 All these changes were made to make it easier for user interface
12592 designers to create what ever user interface for the SILC client
12595 It is also expected that the server will be moved to lib
12596 directory as well and SILC Server Library will be created;
12597 sometimes in the future.
12599 * Removed Local commands from lib/silccore/silccommand.h as
12600 they are application specific and new client library does not
12601 handle any of those anymore.
12603 * Several functions moved to lib/silcutil/silcutilc.[ch] from
12604 old client implementation in silc/.
12606 * Added support for callback functions in SILC_LOG_* macros.
12607 Application can now set its own callbacks that will be called
12608 instead of using the default functions that will always print
12609 the debug messages to stderr (or stdout). Also, debugging can
12610 now be disabled by setting silc_debug to FALSE and re-enabled by
12611 setting it to TRUE. Note, that logging will still work even
12612 if debugging is disabled.
12614 New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
12615 silc_log_reset_callbacks, silc_log_set_debug_callbacks and
12616 silc_log_reset_debug_callbacks.
12618 * To enable debugging in silc client one must give now -d
12619 option on command line.
12621 * Changed silc_schedule_init to automatically allocate task queues
12622 if they are not allocated before calling it.
12624 Thu Sep 7 10:49:33 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12626 * Added GMP 3.1 into math library.
12628 Sun Aug 20 21:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12630 * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
12631 a channel in SILC network. The packet is used by servers and
12632 routers to notify other routers that user has left a channel.
12633 This little feature was missing until now. Added the feature
12634 to protocol specification as well.
12636 Added functions: silc_server_send_remove_channel_user and
12637 silc_server_remove_channel_user into server.[ch].
12639 * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
12640 lib/silccore/silcpacket.h. However, they are not implemented
12643 Sat Aug 19 23:04:16 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12645 * Fixed joining to a channel and sending channel messages
12646 between server and router. The channel message sending should
12647 now work inside a cell.
12649 Tue Jul 25 20:46:13 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12651 * Fixed the private message sending between server and router.
12652 The private message sending should now work inside a cell.
12654 * Added silc_server_replace_id into server.[ch] to replace
12655 existing ID in the SILC network.
12657 * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
12658 and silc_idlist_replace_server_id into idlist.[ch] in server.
12660 Mon Jul 24 18:33:31 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12662 * Fixed the server to server connections. Server can again now
12663 connect to router. Router to router connections probably does
12666 Thu Jul 20 13:15:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12668 * Added dynamic protocol registering support. Now protocols can
12669 registered and unregistered on the fly. Patch by cras.
12671 Wed Jul 19 19:08:46 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12673 * Added lib/contrib directory to hold routines that some platforms
12674 don't have but are needed by SILC.
12676 * Added getopt.c, getopt1.c and getopt.h from GNU C library
12677 into lin/contrib to provide getopt() and getopt_long() for
12678 those who don't have it.
12680 Tue Jul 18 20:41:20 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12682 * Added AWAY command to client. When away message is set and
12683 client receives a private message packet the client automatically
12684 replies to the sender with the away message.
12686 * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin. This
12687 bug seemed to be the cause of recent problems when compiling
12690 * Added version detection support to SKE protocol specification
12691 and added the new changes to the SKE implementation as well.
12692 There were other minor changes in the SKE protocol as well.
12694 Many changes in lib/silcske/silcske.[ch] and in
12695 lib/silcske/payload.[ch].
12697 * Added ^U functionality, clear input line. Patch from cras.
12699 Mon Jul 17 23:33:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12701 * Mainly small bugfixes on core library. Fixed some debugging
12702 logging and buffer overflow in silclog.c.
12704 * Updated config.sub and config.guess on the distribution tree.
12706 Sat Jul 15 15:33:48 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12708 * Added command lagging support in server. Client may execute
12709 commands now only once in two seconds.
12711 Thu Jul 13 22:10:21 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12713 * Optimized packet reception. MAC computation and checking is now
12714 also more optimized. A lot previously duplicated code is now
12715 used as generic by both client and server.
12717 * Fixed key pair generation in clientutil.c
12719 Wed Jul 12 18:28:07 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12721 * Added into lib/silccore/silcbufutil.[ch] new function;
12722 silc_buffer_realloc.
12724 * Moved generic packet sending/encryption functions to
12725 lib/silccore/silcpacket.[ch] from client and server. Some
12726 rewriting of the functions.
12728 * Moved all generic packet reception/decryption functions to
12729 lib/silccore/silcpacket.[ch] from client and server. The
12730 packet processing is now much cleaner in both client and server.
12731 These were major changes in both client and server.
12733 * Created many common functions in server to do packet sending.
12734 Previously code were duplicated a lot, this has been removed
12735 with these changes.
12737 Tue Jul 11 20:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12739 * Rewrote major parts of the ID cache system. Don't know
12740 whether it is better now or not but at least the API is more
12743 * Major rewrite on ID cache stuff on client because of the ID
12744 cache API changes. Added idlist.c to client.
12746 * Also major rewrite on ID cache stuff on server as well.
12747 Major rewrite of idlist.[ch]. SilcXXXList's are now named
12748 SilcXXXEntry's. We won't keep anymore idlist specific pointers
12749 in hand, instead they are all put into the ID cache system now.
12750 All server_idlist_* routines uses ID cache now instead of
12751 traversing its own lists (those lists does not exist anymore).
12752 SilcIDList though still exists. Also, SilcXXXEntry's are
12755 Sun Jul 9 15:19:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12757 * Finally made the SKE implementation compliant to the protocol
12758 specification. All mp integers are now binary encoded as
12759 opposed being HEX encoded.
12761 * Added lib/silcmath/mpbin.[ch]. Encoding mp intergers to and
12764 * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
12765 functions: silc_[encode/decode]_pem. Also added function
12766 silc_encode_pem_file to PEM encode with newlines ('\n') for
12767 saving into a file.
12769 * SILC public keys are now encoded either PEM or binary. Same
12770 option is for private keys as well. By default private keys
12771 are binary encoded and public keys PEM encoded. Silly HEX
12772 encoding were removed.
12774 * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
12775 function to create fingerprints.
12777 * Fixed a bug in SHA1; does not change the original data anymore.
12779 * Partly implemented INFO command on client and server side.
12780 Fixed CLEAR command. Changes to SERVER command; show current
12781 server(s) when giving command without arguments. Added
12782 VERSION command to client.
12784 * Added check to server that unregistered connections cannot
12785 execute commands (unless it is specificly allowed).
12787 Thu Jul 6 18:12:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12789 * Fixed screen refresh.
12791 * Fixed channel joining bug from client. On some circumstances
12792 client tried to join to a channel it had already joined.
12794 * Added public key verification process into client's protocol.c.
12795 The client now verifies the public key from user and saves
12796 it into ~./silc/serverkeys/ directory.
12798 Added into: clientutil.[ch]: silc_client_verify_server_key.
12800 * Changed SKE protocol's silc_ske_initiator_finish function
12801 to accept callback function that verifies the received public
12802 key. Removed old silc_ske_verify_public_key function.
12804 Wed Jul 5 19:19:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12806 * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
12807 silc_pkcs_private_key[_data]_set.
12809 * Made the password and public authentication more cleaner in
12810 server's protocol.c.
12812 * Removed historic and obsolete protocol `channel_auth' from
12813 both client and server.
12815 * Removed wrong way of sending command status messages from
12816 server to client in server's command.c. The old way violated
12817 protocol specification.
12819 Changes to silccore/silccommand.[ch]: removed
12820 silc_command_encode_status_payload -> not needed anymore,
12821 changed silc_command_encode_payload_va to accept extra
12822 argument on variable argument list. The argument type must
12823 now be provided to the function. Also, added new function:
12824 silc_command_encode_reply_payload_va which is same as
12825 normal command_encode_payload_va except command status type
12826 is provided as extra argument.
12828 Tue Jul 4 18:26:39 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12830 * Added ~./silc directory handling. The directory includes the
12831 public and private keys for the client.
12833 Added silc_client_check_silc_dir, silc_client_create_identifier
12834 and silc_client_load_keys.
12836 * Implemented SILC protocol compliant public key. Added public
12837 and private key saving to and loading from files.
12839 Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
12840 silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
12841 silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
12842 silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
12843 silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
12845 Implemented: silc_pkcs_save_[public/private]_key[_data] and
12846 silc_pkcs_load_[public/private]_key.
12848 Mon Jul 3 18:51:27 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12850 * Added silc_server_get_route (route.[ch]) to get connection
12851 data for the fastest route for given ID.
12853 * Implemented INVITE command on client and server. The command
12854 were re-defined in the SILC Protocol Specification and the
12855 implementation now complies with the specification.
12857 * Implemented PING command on client and server.
12859 * Implemented NAMES command on client and server. The server side
12860 supports currently only normal server not router server yet.
12861 Some changes to NAMES definition in SILC protocol specification.
12863 Sun Jul 2 18:23:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12865 * Implemented LEAVE command on client and server.
12867 * Previously deprecated SILC_PACKET_FORWARDED flag is now in use
12868 again. This change was made to the protocol as well. Server
12869 should not violate the protocol specification anymore.
12871 Fri Jun 30 14:03:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12873 * Added SOCKS4 and SOCKS5 support to SILC client. SOCKS5
12874 was tested. SOCKS4 was not but should work anyway.