1 Sun Jun 24 18:47:55 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
5 * Compile sources with _GNU_SOURCE on Linux systems. Affected
8 Sun Jun 24 16:33:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
10 * Fixed Unix signal task dispatching to not lock the signals
11 when dispatching the callback to avoid deadlocks. Affected
12 file is lib/silcutil/unix/silcunixschedule.c.
14 Sun Jun 24 14:43:21 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
16 * Fix configure output for with-plugin. Affected file is
17 apps/irssi/configure.ad
19 Tue Jun 19 17:05:48 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
21 * Added SILC_VERSION macro for checking package versions at
22 compile time. Affected files are configure.ad,
23 includes/silc.h.in and includes/silcversion.h.in.
25 Mon Jun 18 23:47:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
27 * Use SILC_VERIFY to assert that silc_rwlock_wrlock can be
28 called only once per thread on Unix. Affected file is
29 lib/silcutil/unix/silcunixthread.c. Added same for mutex
30 as well. Documented same on the API in
31 lib/silcutil/silcmutex.h.
33 * Fixed USERS command reply write-lock unlocking. Affected file
34 is lib/silcclient/command_reply.c.
36 Mon Jun 18 08:14:26 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
38 * Fixed silc_create_key_pair to check for valid identifier.
39 Affected file is lib/silcapputil/silcapputil.c.
41 Sun Jun 17 20:08:26 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
43 * Rewrite signed public message handling, adopting the new
44 hilight interface. Affected file is
45 apps/irssi/src/fe-common/silc/fe-silc-messages.c
47 Thu Jun 14 21:15:31 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
49 * Fix off by one error when loading modules. Affected file is
50 apps/irssi/src/core/modules-load.c
52 * Don't delete hilight entry (because it's just a pointer, not a
53 copy). Affected file is
54 apps/irssi/src/fe-common/silc/fe-silc-messages.c
56 Mon Jun 11 22:10:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
58 * Added __SILC_TOOLKIT_x_x_x macro to all Toolkit distribution
59 which can be used to check for Toolkit version in third-party
60 software. Affected file is configure.ad, includes/silc.h.in.
62 Sun Jun 10 17:32:15 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
64 * Added support for channel@server channel name strings to
65 client library (SILC protocol version 1.3 change). Affected
66 files are lib/silcclient/silcclient_entry.h, client_entry.c.
68 * Added full_nicknames and full_channel_names settings to
69 SilcClientParams that can be used to specify whether client
70 library returns full nickname and channel name strings.
71 Full strings are nick@server and channel@server. Affected
72 file is lib/silcclient/client_entry.c and command.c.
74 Sat Jun 9 19:43:25 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
76 * Fixed unix connecting failure to return error code correctly.
77 Affected file is lib/silcutil/unix/silcunixnet.c.
79 Fri Jun 8 23:32:33 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
81 * Fixed SKE timeout double free crash. Affected file is
82 lib/silcske/silcske.c.
84 * Fixed MIME multipart decoding buffer overflow. Affected file
85 is lib/silcutil/silcmime.c. Thanks to Matt Miller for patch.
87 Fri Jun 8 18:39:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
89 * Fixed connection auth protocol timeout crash. Affected
90 file is lib/silcske/silconnauth.c.
92 * Fixed FSM machine finishing to check for existing threads
93 at the final free callback to allow time for the threads to
94 finish. Affected file lib/silcutil/silcfsm.c.
96 Thu Jun 7 21:25:31 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
98 * Fixed silc_client_get_clients_local to check the nick's
99 server also if nick@server nickname string is given to the
100 function. Affected file is lib/silcclient/client_entry.c.
102 Wed Jun 6 18:33:05 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
104 * Added notify callback to silc_schedule_init which can be used to
105 set a notify callback for scheduler which is called when task is
106 added to scheduler or deleted from scheduler. Affected file
107 is lib/silcutil/silcschedule.[ch].
109 * Dispatch timeout tasks after dispatching FD tasks if the timeout
110 was very short. Affected file is lib/silcutil/silcschedule.c.
112 * Rewrote the SILC scheduler handling in SILC Client to not poll
113 every few msecs but to use the new notify callback. Affected
114 file is apps/irssi/src/silc/core/silc-core.c.
116 * Fixed SFTP client library read buffer size which was too small.
117 Affected file is lib/silcsftp/sftp_client.c.
119 * Fixed file transfer crash bug in /QUIT in SILC Client. Close
120 the FTP sessions before quitting the client. Affected file
121 is apps/irssi/src/silc/core/silc-servers.c.
123 Tue Jun 5 20:48:40 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
125 * Fixed silc_packet_get_ids to decode the IDs correctly.
126 Affected file is lib/silccore/silcpacket.c.
128 * Fixed silc_client_get_clients_local to parse correctly nickname
129 string that may have server name in it (nick@server) regardless
130 whether it was formatted nickname or not. Affected file is
131 lib/silcclient/client_entry.c.
133 Mon Jun 4 22:02:53 CEST 2007 Jochen Eisinger <jochen@penguin-breeder.org>
135 * Only destroy sendbuffers, if they still exist (they cease to
136 exist during /upgrade). Affected file is
137 apps/irssi/src/silc/core/silc-servers.c
139 Mon Jun 4 21:24:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
141 * Removed --enable-silc-plugin. Added --with-silc-plugin.
142 Affected files are configure.ad, lib/configure.ad,
143 apps/irssi/configure.ad, apps/irssi/configure.in,
144 apps/irssi/scripts/Makefile.am,
145 apps/irssi/scripts/examples/Makefile.am,
146 apps/irssi/src/silc/core/silc/Makefile.am,
147 apps/irssi/src/fe-common/silc/Makefile.am.
149 Mon Jun 4 08:35:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
153 Sun Jun 3 14:00:09 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
155 * Fixed DESTDIR handling in make install.
157 Sat Jun 2 21:04:32 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
159 * SIM modules are not delivered to SILC CLient distribution
162 * Changed default installation path from /usr/local/silc to
163 /usr/local for all distributions.
165 * Removed --with-etcdir and --with-docdir. The etcdir is now
166 the system's default. The Docdir is system's default.
168 Sat Jun 2 00:51:57 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
170 * If public key/private key loading fails set the return
171 pointer to NULL. Affected file is lib/silccrypt/silcpkcs.c.
173 * If private key loading fails in silc_load_key_pair free the
174 loaded public key. Affected file is
175 lib/silcapputil/silcapputil.c.
177 * Fixed key pair loading crash with SILC Plugin if key pair
178 loading fails. Affected file is
179 apps/irssi/src/silc/core/silc-core.c.
181 * Fixed SILC Client help and script file installation path
182 to go to prefix/share/silc. Affected files are
183 apps/irssi/src/scripts/Makefile.am and
184 apps/irssi/docs/help/Makefile.am.gen.
186 Thu May 31 16:49:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
188 * Fixed UTC offset minutes to be actually minutes. Affected
189 file is lib/silcutil/silctime.c.
191 Thu May 31 09:40:56 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
195 * Added support for checking for timezone and tm_gmtoff.
196 Affected files are configure.ad and lib/silcutil/silctime.c.
198 Wed May 30 18:46:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
200 * Added silc-toolkit.spec.in RPM spec file.
202 Mon May 28 23:21:39 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
204 * Fixed nickname formatting crash when updating existing
205 client entry. Affected file is lib/silcclient/client_entry.c.
207 * Fixed MIME object encoding in attribute payload encoding.
208 Affected file is lib/silccore/silcattrs.c.
210 Mon May 28 09:02:26 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
212 * SILC Client 1.1 Beta6
214 Sun May 27 20:38:30 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
216 * Copy SILC Plugin's libfe_common_silc.so to libfe_silc.so so
217 that user's don't have to do it manually. Affected file
218 is apps/irssi/src/fe-common/silc/core/Makefile.am.
220 Thu May 24 15:30:31 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
222 * SILC Toolkit 1.1 Beta4.
224 * Fixed channel and server entry freeing in client library.
225 Affected file is lib/silcclient/client_entry.c.
227 * Do not allow stopping client before it has been started.
228 Affected file is lib/silcclient/client.c.
230 Wed May 23 23:21:03 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
232 * Fixed formatted nickname renaming to rename also irssi's
233 nicklist (/NAMES etc). Affected file is
234 apps/irssi/src/silc/core/client_ops.c.
236 * Fixed SILC Plugin crash when stopping client library before
237 it has been started. Affected file is
238 apps/irssi/src/silc/core/silc-core.c.
240 Tue May 22 17:18:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
242 * For SILC Client and SILC Server check for 1.1 Toolkit
243 in configure. Affected file is configure.ad.
245 * Added better library linking flags and orders for SILC Client.
246 Affected file is configure.ad, Makefile.defines_int.in and
247 apps/irssi/src/fe-text/Makefile.am
249 Mon May 21 08:26:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
251 * SILC Client 1.1 Beta5.
253 Sun May 20 18:34:22 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
255 * Add hooks for Irssi 0.8.11 module functions. Affected file
256 is apps/irssi/src/fe-common/silc/fe-common-silc.c
258 Sat May 19 14:46:36 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
260 * Fixed passphrase authentication with server. Affected file
261 is lib/silcclient/client_connect.c.
263 * Fixed passphrase authentication as responder. Affected file is
264 lib/silcske/silcconnauth.c.
266 * Changed SilcAskPassphrase and SilcGetAuthMeth callbacks to
267 return data as const. Affected file is
268 lib/silcclient/silcclient.h.
270 * Fixed timeout calculation in Symbian scheduler. Affected
271 file is lib/silcutil/symbian/silcsymbianscheduler.c.
273 Fri May 18 21:10:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
275 * Do not uninitialize u.m.threads atomic int in finish but in
276 free. Fixes crash on any platform using atomic operations
277 using mutexes (like Symbian). Affected file is
278 lib/silcutil/silcfsm.c.
280 * Fixes Symbian scheduler wakeup synchronization. Affected file
281 is lib/silcutil/symbian/silcsymbianscheduler.c.
283 Fri May 18 18:10:36 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
285 * Fixed nickname formatting to handle already formatted nicknames
286 better. Affected file is lib/silccilent/client_entry.c.
288 * Added "foo#2 appears as foo" support to SILC Client when user
289 leaves or quits and one formatted nickname remain. Affected file
290 is apps/irssi/src/silc/core/client_ops.c.
292 * Send SilcChannelEntry to application in SILC_NOTIFY_TYPE_SIGNOFF.
293 Affected file is lib/silcclient/client_notify.c.
295 Thu May 17 18:05:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
297 * Fixed silc_show_public_key to not free public key in case of
298 failure. Affected file is lib/silcapputil/silcapputil.c.
300 Thu May 17 17:09:50 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
302 * SILC Toolkit 1.1 Beta3.
304 * Porting Toolkit to Symbian. It should work while some sporadic
305 odd crashes remain. However I was able to run mybot on SILCNet.
306 Basically tested scheduler, net routines, socket routines,
307 threads and some other utility routines. Affected files are
308 in lib/silcutil/symbian/.
310 Thu May 17 11:57:40 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
312 * Show realname and email address from public key when verifying
313 cached public keys with GETKEY. Affected files are
314 apps/irssi/src/fe-common/module-formats.[ch] and
315 apps/irssi/src/silc/core/client_ops.c.
317 Wed May 16 20:41:04 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
319 * Include SILC Plugin theme. Affected file is apps/irssi/plugin.theme
321 * Include SILC Plugin /silc command help. Affected file is
322 apps/irssi/docs/help/silc
324 * Create channels before joining them. Affected file is
325 apps/irssi/src/silc/core/client_ops.c
327 Wed May 16 18:59:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
329 * Fixed channel private key listing with /key. Affected file
330 is apps/irssi/src/silc/core/silc-channels.c.
332 * Fixed the public headers from anonymous structures. Affected
335 * Changed silc_buffer_*len macros to inline functions. Affected
336 file is lib/silcutil/silcbuffer.h.
338 Wed May 16 10:21:45 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
340 * Fixed nickname format parsing in JOIN notify handling and
341 in WHOIS command reply. Affected file is
342 apps/irssi/src/silc/core/client_ops.c.
344 Wed May 16 09:34:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
346 * SILC Client 1.1 Beta4.
348 Tue May 15 23:55:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
350 * Added SILC_VERIFY macro which is equivalent to SILC_ASSERT
351 but is compiled always in. Affected file is
352 lib/silcutil/silclog.h.
354 * Use SILC_VERIFY in FSM macros instead of SILC_ASSERT which is
355 not there in release builds. Affected file is
356 lib/silcutil/silcfsm.h.
358 Tue May 15 21:19:09 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
360 * SILC Client 1.1-beta3
362 Mon May 14 23:20:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
364 * Added silc_utf8_c2w and silc_utf8_w2c to do UTF-8 to widechar
365 and widechar to UTF-8 conversions. Affected files are
366 lib/silcutil/silcutf8.[ch].
368 Mon May 14 19:45:14 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
370 * Include a README for the SILC Plugin
372 Sun May 13 22:08:59 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
374 * Adopt perl Makefiles for SILC Plugin.
376 Sun May 13 18:27:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
378 * Fixed client library initialization when the running callback
379 is not given to silc_client_init. Affected file is
380 lib/silcclient/client.c.
382 * Fixed Symbian compilation problems around the tree. Added
383 new Carbide.c++ project files to symbian/ directory.
385 * Fixed SilcLog API to work on Symbian. On Symbian it doesn't
386 use any globals. Affected files are lib/silcutil/silclog.c
389 Sun May 13 16:54:35 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
391 * Fix several warnings in Irssi's Makefiles.
393 Sun May 13 12:16:30 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
395 * Disable ASM if --with-pic was given. Affected file is
396 lib/silccrypt/configure.ad
398 Fri May 11 19:10:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
400 * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later
401 in case they are called from a thread. Affected file is
402 lib/silcutil/silcfsm.c.
404 * Fixed WIN32 thread creation to handle the Tls correctly.
405 Affected file is lib/silcutil/win32/silcwin32thread.c.
407 Thu May 10 18:29:18 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
409 * SILC Toolkit 1.1-beta2.
411 Thu May 10 18:21:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
413 * Fixed silc_net_tcp_connect crash on Unix and Win32. Handle
414 the socket async operation correctly. Changed that DNS lookup
415 is now done during connecting. Affected files are
416 lib/silcutil/[unix|win32]/silc[unix|win32]net.c.
418 * Changed also silc_net_tcp_connect on Symbian to do DNS lookup.
419 Affected file is lib/silcutil/symbian/silcsymbiannet.c.
421 * Optimize silc_net_gethostbyname to check if the name is already
422 IP address. Affected file is lib/silcutil/silcnet.c.
424 Wed May 9 19:51:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
426 * Print filename instead of empty function name in debug output
427 on WIN32. Affected files are lib/silcutil/silclog_i.h and
430 * Rewrote WIN32 SILC Scheduler. It now handles non-blocking file
431 descriptors and sockets better. Though, room for optimization
432 remains. Affected file is lib/silcutil/win32/silcwin32schedule.c.
434 * Removed silc_net_win32_[init|uninit]. They are called now
435 automatically when SILC Scheduler is allocated. Wrote IPv4
436 address parser because inet_addr seemed not to work on my WIN32.
437 Affected file is lib/silcutil/win32/silcwin32net.c.
439 * Improved socketstream.h and stream.h documentation.
441 Tue May 8 18:13:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
443 * Changed private message waiting API in client library to make
444 it work better with multiple waiting threads. The waiting is
445 not always per client entry instead of per connection. Affected
446 files are lib/silcclient/client_prvmsg.c, client.h and
449 * Changed silc_packet_wait_init function to accept the the expected
450 Source ID of the packet as argument. If specified only packets
451 with the specified types and Source ID are delivered. Affected
452 files are lib/silccore/silcpacket.[ch].
454 * Fixed file transfer disconnection crash when closing the session
455 directly in the monitor callback after disconnection. Affected
456 file is lib/silcclient/client_ftp.c.
458 * Make Toolkit compile on WIN32. Affected files in win32/
459 and in lib/silcutil/win32/.
461 * Changed silc_compare_timeval to return negative, zero or
462 positive instead of just TRUE or FALSE. This fixes 0 timeout
463 task dispatching on Windows. Affected files are
464 lib/silcutil/silctime.[ch] and silcschedule.c.
466 Mon May 7 18:18:48 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
468 * Fixed CMODE channel auth public key retrieval. Affected
469 file is lib/silcclient/command.c.
471 * Fixed CMODE command reply to return channel public keys
472 correctly. Affected files are lib/silcclient/command_reply.c
473 and client_channel.c.
475 Sun May 6 12:43:19 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
477 * Added current channel key cipher name and HMAC name to
478 SilcChannelEntry. Fixed channel private key creation.
479 Affected files are lib/silcclient/client_channel.c,
480 client_entry and silcclient_entry.h.
482 * Allow formatted nicknames as input to silc_client_get_clients
483 and silc_client_get_clients_whois. Affected file is
484 lib/silcclient/client_entry.c.
486 * Fixed silc_message_payload_free crash. Affected file is
487 lib/silccore/silcmessage.c.
489 * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to
490 lib/silccore/silcstatus.h.
492 Thu May 3 18:07:50 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
494 * Imported libtommath 0.41. Renamed all mp_* functions to
495 tma_mp_* functions to avoid rare linking problems on systems
496 with mp_* functions. Affected files are in lib/silcmath/.
498 Wed May 2 17:46:25 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
500 * SILC Toolkit 1.1 Beta1.
502 Wed May 2 11:38:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
504 * Set the server and router operator modes to local entry after
505 successful OPER or SILCOPER commands. Affected file is
506 lib/silcclient/command_reply.c.
508 Tue May 1 14:17:06 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
510 * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API,
511 and other smaller APIs to WIN32. Affected files are in
514 * Changed the various regex APIs as generic code in util library.
515 Affected files are lib/silcutil/silcstrutil.[ch].
517 Sat Apr 28 13:47:47 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
519 * Ported SILC Server to the new Toolkit API, working towards
520 SILC Server 1.1. Affected files are in apps/silcd/.
522 * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key
523 to lib/silcskr/silcskr.[ch].
525 * Fixed SILC public key copying to copy the identifier also.
526 Affected file is lib/silccrypt/silcpk.c.
528 * Added silc_packet_error_string to lib/silccore/silcpacket.[ch].
530 * Fixed OPER and SILCOPER passphrase asking in Client library.
531 Affected file is lib/silcclient/command.c.
533 Tue Apr 24 17:55:24 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
535 * Fixed command queue enabling after connecting to server.
536 The comparisons was from after changing to silc_utf8_strcasecmp.
537 Affected file is apps/irssi/src/silc/core/silc-servers.c.
539 * Fixed nickname setting with own client entry with 1.3 protocol
540 version server. Affected file lib/silcclient/client_register.c.
542 * Ignore error notify for local client entry. Affected file is
543 lib/silcclient/client_notify.c.
545 * Implemented responder rekey to SKE library. Affected files are
546 lib/silcske/silcske.[ch].
548 * Fixed connection auth protocol completion sending. Affected
549 file lib/silcske/silcconnauth.c.
551 Mon Apr 23 17:20:01 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
553 * Do not call TCP network listener callback with any error
554 status, as documented. Affected file is
555 lib/silcutil/unix/silcunixnet.c.
557 Sun Apr 22 21:13:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
559 * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
561 * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type.
562 Changed silc_skr_find to have SilcSchedule argument and removed
563 it from silc_skr_[alloc|init]. Affected files are
564 lib/silcskr/silcskr.[ch].
566 * Allow NULL id for silc_idcache_add. Affected file is
567 lib/silcapputil/silcidcache.c.
569 * Added silc_packet_stream_is_valid, silc_packet_get_ids and
570 silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch].
571 Fixed also channel message encryption with router-to-router
574 * Added silc_id_str2id2 to lib/silccore/silcid.[ch].
576 * Added silc_net_get_error_string, silc_net_listener_get_ip and
577 silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
579 Tue Apr 10 15:55:42 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
581 * Add option --enable-silc-plugin. Affected files are
582 apps/irssi/configure.{ad,in}
584 * Only compile the SILC Plugin if required. Affected files are
585 apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am
587 * Conditionally build the SILC Plugin. Affected files are
588 apps/irssi/src/silc/core/Makefile.am,
589 apps/irssi/src/fe-common/silc/Makefile.am
591 * Backout delayed protocol exit and replace with a lame busy
592 wait. Affected files are apps/irssi/src/fe-text/silc.c,
593 apps/irssi/src/silc/core/silc-core.c
595 * Fix key generation for SILC Plugin. Affected file
596 apps/irssi/src/silc/core/clientutil.c
598 Tue Apr 10 12:40:19 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
600 * Only pass -rpath to libtool when building shared libraries.
601 Affected file lib/Makefile.ad
603 * Removing the stray "s" in configure.ad
605 Sat Mar 24 19:13:58 CET 2007 Jochen Eisinger <coffee@silcnet.org>
607 * Redraw the screen after creating a new key. Affected file
608 apps/irssi/src/silc/core/clientutil.c
610 Sun Mar 18 15:54:10 EET 2007 Pekka Riikonen <priikone@silcnet.org>
612 * Added SILC Client setting /set nickname_format that specifies
613 the nickname format string. Changed default nickname format
614 string to "%n#%a". Affected file is
615 apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf.
617 * Fixed nickname parsing with WHOIS command to accept formatted
618 nicknames. Changed the silc_client_get_clients_local to allow
619 the searched nickname to be formatted nickname. Removed %s and
620 %S nickname formatters. Affected files are in lib/silcclient/.
622 * Added silc_client_nickname_parse to Client library API. Affected
623 file is lib/silcclient/silcclient.h.
625 * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY
626 commands. Affected file are
627 apps/irssi/src/silc/core/silc-servers.c and silc-channels.c.
629 Sat Mar 17 19:07:15 CET 2007 Jochen Eisinger <coffee@silcnet.org>
631 * Incorporate SILC Plugin patches. Affected files are
632 apps/irssi/src/fe-common/silc/module-formats.{c,h},
633 apps/irssi/src/silc/core/clientutil.{c,h},
634 apps/irssi/src/silc/core/silc-core.c,
635 apps/irssi/src/silc/core/silc-chatnets.{c,h},
636 apps/irssi/src/fe-common/silc/fe-silcnet.c, and
637 apps/irssi/src/fe-common/silc/module.h
639 Wed Mar 14 17:31:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
641 * In notify handling resolve user entries many times if the
642 resolving timedout. Affected file lib/silcclient/client_notify.c.
644 * silc_client_get_clients_local do not return any invalid entries.
645 Affected file is lib/silcclient/client_entry.c.
647 * Do not print "there are now xx user on this channel" for users
648 that actually aren't anymore on the channel. Affected file
649 is apps/irssi/src/client_ops.c.
651 Sun Mar 11 17:43:18 CET 2007 Jochen Eisinger <coffee@silcnet.org>
653 * When joining channels with a password given in the config file,
654 use it. Also use it when cycling (it would be better to get
655 the password from the server, but this isn't possible in SILC).
656 Affected files apps/irssi/src/silc/core/silc-servers.c,
657 apps/irssi/src/silc/core/silc-channels.c
659 Sun Mar 11 15:22:42 CET 2007 Jochen Eisinger <coffee@silcnet.org>
661 * Import perl script for sign_messages from silc-plugin. Affected
662 file apps/irssi/scripts/silc.pl
664 Sun Mar 11 15:19:10 CET 2007 Jochen Eisinger <coffee@silcnet.org>
666 * Only wait for a nick on connecting, when it differs
667 (not counting case) from the username. Affected file
668 is apps/irssi/src/silc/core/silc-servers.c
670 Sun Mar 11 13:50:53 CET 2007 Jochen Eisinger <coffee@silcnet.org>
672 * Use time settings for lag settings. Affected file is
673 apps/irssi/src/silc/core/silc-lag.c
675 Tue Feb 27 17:07:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
677 * Added silc_thread_yield. Affected file is
678 lib/silcutil/silcmutex.h.
680 Wed Feb 21 17:01:01 EET 2007 Pekka Riikonen <priikone@silcnet.org>
682 * Fixed WHOIS command and requested attributes handling in
683 client library. Affected files are lib/silcclient/command.c
684 and lib/silcclient/client_attrs.c.
686 * Fixed silc_time_value to actually work. Added new function
687 silc_timezone. Affected files are lib/silcutil/silctime.[ch].
689 Tue Feb 20 08:31:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
691 * SILC Client 1.1 beta2.
693 Mon Feb 19 16:06:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
695 * Fixed client to properly abort TCP stream creation when
696 giving /QUIT. Affected file
697 apps/irssi/src/silc/core/silc-servers.c.
699 * Fixed several connecting aborting crashes from the client
700 library, packet engine and socket stream. Affected files
701 are in lib/silclient/, lib/silccore/silcpacket.c and
702 lib/silcutil/unix/silcunixsocketstream.c.
704 * Fixed private key export double free crash in key generation.
705 Affected file is lib/silccrypt/silcpk.c.
707 * Fixed FSM event waiting when there are multiple signallers
708 and the waiter goes away after the first signal. Affected
709 file in lib/silcutil/silcfsm.c.
711 Sun Feb 18 22:02:22 EET 2007 Pekka Riikonen <priikone@silcnet.org>
713 * Fixed FSM event signalling to check if the waiter has gone
714 away already. Affected file is lib/silcutil/silcfsm.c.
716 * Fixed counter mode encryption/decryption to handle non-padded
717 SILC packets correctly. The silc_cipher_set_iv now
718 in counter mode resets for a new block. Affected files are
719 in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
721 Sun Feb 18 12:15:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
723 * SILC Client 1.1 beta1.
725 * Memory leak fixes around the libraries.
727 Fri Feb 16 16:53:16 EET 2007 Pekka Riikonen <priikone@silcnet.org>
729 * Added better check for epoll() in configure. Affected file
732 Thu Feb 15 16:50:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
734 * Fixed per scheduler data input buffer in packet engine. Use
735 list of inbufs instead of just one so that multiple streams
736 can do partial reads to different buffers. Affected file is
737 lib/silccore/silcpacket.c.
739 * Fixed WATCH notify handling in client library. Affected file
740 is lib/silcclient/client_notify.c.
742 Wed Feb 14 17:05:38 EET 2007 Pekka Riikonen <priikone@silcnet.org>
744 * Fixed packet wrapper stream API to support encoder/decoder
745 for packets, and to handle partial reading correctly. Fixed
746 also inbuf size checking in reading to have enough space before
747 reading. Affected files are lib/silccore/silcpacket.[ch].
749 * Rewrote file transfer in client library. Affected files are
752 * Added TCP/UDP listener (internal) API to client library to have
753 generic way of dealing with listeners. Fixed Key Agreement and
754 file transfer to use it. Affected files are in lib/silcclient/.
756 * Fixed SKE to process SUCCESS packets synchronously and to call
757 completion synchronously. Affected file is lib/silcske/silske.c.
759 * Fixed pthread rwlock detection. Affected file includes/silc.h.in.
761 * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER. Affected files are
762 lib/silccore/silcattrs.[ch]. SILC Protocol version 1.3 change.
764 Fri Feb 2 22:24:11 EET 2007 Pekka Riikonen <priikone@silcnet.org>
766 * Added support for SILC protocol version 1.3 NEW_CLIENT packet
767 to client library. Affected file is
768 lib/silcclient/client_register.c.
770 * Serialize NICK and JOIN commands to avoid problems locally
771 with changing ID while joining to channel. Affected file is
772 lib/silcclient/command.c.
774 * Fixed entry resolving while handling incoming JOIN notify.
775 Handle properly cases, in re-processing of notify packets, where
776 the IDs may become invalid while resolving the entry (like nick
777 change). Entry is invalid if it doesn't have nickname, and such
778 entries are not delivered to application anymore. These fixes
779 problems of not seeing JOINs when remote user changes nickname
780 at the same time. Affected files are in lib/silcclient/.
782 Thu Feb 1 18:35:58 EET 2007 Pekka Riikonen <priikone@silcnet.org>
784 * Added support for computing message payload MAC in new way
785 (SILC Protocol version 1.3). Bakcwards support for old way
786 remains. Affected files are lib/silccore/silcmessage.[ch].
788 Sat Jan 27 22:37:30 EET 2007 Pekka Riikonen <priikone@silcnet.org>
790 * Added SilcRwLock API, a read/write lock. Affected files are
791 lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
793 Wed Jan 24 18:55:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
795 * Merged Irssi SVN (irssi 0.8.11). Affected files in apps/irssi/.
797 Tue Jan 23 16:05:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
799 * The silc_schedule_set_listen_fd now returns boolean value.
800 Fixed FD task adding to check correctly for already added
801 FD tasks. Added stricter error checking for FD scheduling
802 with epoll(). Affected files are lib/silcutil/silcschedule.[ch]
803 and lib/silcutil/unix/silcunixschedule.c.
805 * The silc_stream_set_notifier now returns boolean value. Changed
806 all streams to support and check for the error condition.
807 Affected files are in lib/silcutil/.
809 * Fixed SKE library session aborting and deletion. Affected
810 file are lib/silcske/silcske.c.
812 Tue Jan 16 18:22:08 EET 2007 Pekka Riikonen <priikone@silcnet.org>
814 * Implemented PKCS #1 with appendix with hash OID in the
815 signature. Affected files are lib/silccrypt/silcpkcs1.[ch],
816 lib/silccrypt/silchash.[ch] and
817 lib/silcasn1/silcasn1[_encode|decode].[ch].
819 Sun Jan 14 23:12:41 EET 2007 Pekka Riikonen <priikone@silcnet.org>
821 * Added support for Version (V) SILC public key identifier.
822 Affected files are lib/silccrypt/silcpk.[ch].
824 Tue Jan 9 19:37:51 EET 2007 Pekka Riikonen <priikone@silcnet.org>
826 * Rewrote connection auth request in client library. It is now
827 done automatically by the library and the resolved method given
828 as a hint to get_auth_method client operation. Affected files
831 Wed Jan 3 18:06:33 EET 2007 Pekka Riikonen <priikone@silcnet.org>
833 * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch].
834 It can be used to wrap SilcPacketStream into SilcStream.
836 * Fixed %p formatting from silc_snprintf. Affected file is
837 lib/silcutil/silcsnprintf.c.
839 * Ported SFTP library to new utility library. Ported also
840 the SFTP testers. Affected files in lib/silcsftp/.
842 Tue Jan 2 17:18:46 EET 2007 Pekka Riikonen <priikone@silcnet.org>
844 * Added lib/silcutil/silcsnprintf.[ch]. Added in addition
845 of silc_snprintf, silc_vsnprintf, silc_asprintf and
848 Sat Dec 30 23:23:17 EET 2006 Pekka Riikonen <priikone@silcnet.org>
850 * Added preliminary Symbian support. Changes around the source
851 tree. The symbian/ directory now includes Carbide.c++ project
852 files to compile the sources.
854 * Added silc_snprintf. Affected files are
855 lib/silcutil/silcstrutil.[ch].
857 Thu Dec 21 18:01:51 EET 2006 Pekka Riikonen <priikone@silcnet.org>
859 * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to
860 macros. SILC_FSM_CONTINUE macro now immediately calls the
861 next state instead of first returning back to FSM. Helps
862 in debugging crashes etc.
864 Removed FSM Semaphores. Introduced FSM Event which is
865 asynchronous event. Affected files are in lib/.
867 * Added epoll(7) support to SILC Scheduler. It is used by default
868 if it is available. Affected files are
869 lib/silcutil/silcschedule.[ch],
870 lib/silcutil/unix/silcunixschedule.c.
872 Tue Dec 19 20:39:35 EET 2006 Pekka Riikonen <priikone@silcnet.org>
874 * Added CTR mode to AES. Simplified cipher implementation API
875 more. Affected files are in lib/silccrypt/.
877 Sun Dec 17 16:46:55 EET 2006 Pekka Riikonen <priikone@silcnet.org>
879 * Removed `detach' client operation. The detachment data is
880 now delivered in SILC_COMMAND_DETACH command reply to
881 application. Affected file in lib/silcclient/.
883 * Rewrote resuming/detaching in client library.
885 * Added boolean encryption indicator for silc_cipher_set_key.
886 Affected files lib/silccrypt/silccipher.[ch].
888 Wed Dec 13 18:05:50 EET 2006 Pekka Riikonen <priikone@silcnet.org>
890 * Added silc_likely and silc_unlikely macros for GCC branch
891 prediction optimizations. Affected file lib/silcutil/silctypes.h.
893 * Added assembler AES optimization. Cleaned up the SILC Cipher
894 implementation API. Affected files are in lib/silccrypt/.
896 Tue Dec 12 18:56:14 EET 2006 Pekka Riikonen <priikone@silcnet.org>
898 * Changed back the SILC_FSM_THREAD_WAIT operation to not
899 continue to next state if thread is finished already. That
900 check is not done anymore. Affected files are
901 lib/silcutil/silcfsm.[ch].
903 Sun Dec 10 13:54:52 EET 2006 Pekka Riikonen <priikone@silcnet.org>
905 * Removed silc_packet_[get|set]_ciphers and
906 silc_packet_[get|set]_hmacs. Added silc_packet_set_keys that
907 handle REKEY_DONE packet sending in rekey. Affected files
908 are lib/silccore/silcpacket.[ch].
910 * Added silc_fsm_is_started. Affected files are
911 lib/silcutil/silcfsm.[ch].
913 * Added settings sign_channel_message, sign_private_message
914 and key_exchange_rekey_pfs to SILC Client. Added UDP transport
915 support for key agreement in /KEY command. Affected files
916 in apps/irssi/src/silc/core/.
918 * During SILC Client initialization forward log messages to
919 stderr. Affected files in apps/irssi/src/silc/core/.
921 Thu Dec 7 19:07:21 EET 2006 Pekka Riikonen <priikone@silcnet.org>
923 * Added silc_ske_get_key_material. Affected files are
924 lib/silcske/silcske.[ch].
926 * Added silc_packet_stream_is_udp. Affected files are
927 lib/silccore/silcpacket.[ch].
929 * Added SKE packet retransmission support with UDP transport.
930 Affected file is lib/silcske/silcske.c.
932 Sun Dec 3 22:00:12 EET 2006 Pekka Riikonen <priikone@silcnet.org>
934 * Added silc_socket_stream_is_udp. Affected file is
935 lib/silcutil/silcsocketstream.[ch].
937 * Added UDP transport support to packet engine. Affected file
938 is lib/silccore/silcpacket.c.
940 * Added silc_socket_stream_is_udp. Affected file is
941 lib/silcutil/silcsocketstream.[ch].
943 Sat Nov 18 11:33:03 EET 2006 Pekka Riikonen <priikone@silcnet.org>
945 * Added silc_packet_send_va[_ext] to send variable argument
946 formatted buffers. Affected files lib/silcore/silcpacket.[ch].
948 * Timeout freelist garbage collection added to scheduler.
949 Affected file lib/silcutil/silcschedule.c.
951 Thu Nov 9 18:12:15 EET 2006 Pekka Riikonen <priikone@silcnet.org>
953 * Added silc_show_public_key_file to
954 lib/silcapputil/silcapputil.[ch].
956 * Added SILC_STR_ADVANCE support for buffer unformatting.
957 Affected file lib/silcutil/silcbuffmt.c.
959 Tue Nov 7 18:04:36 EET 2006 Pekka Riikonen <priikone@silcnet.org
961 * Added silc_string_split to lib/silcutil/silcstrutil.[ch].
963 * Added silc_mutex_assert_locked to lib/silcutil/silcmutex.h.
965 * silc_fsm_continue[_sync] now cancels erlier timeout set with
966 silc_fsm_next_later. Affected file lib/silcutil/silcfsm.c.
968 Sat Nov 4 21:50:37 EET 2006 Pekka Riikonen <priikone@silcnet.org
970 * Added SILC_STR_FUNC to buffer format API. Affected files
971 are lib/silcutil/silcbuffmt.[ch].
973 * Added silc_buffer_[s]enlarge to lib/silcutil/silcbuffer.h.
975 * No more memory allocation for message payload parsing.
976 Pre-allocated buffer can be used with message payload encoding.
977 Affected files lib/silccore/silcmessage.[ch].
979 Fri Oct 27 21:01:26 EEST 2006 Pekka Riikonen <priikone@silcnet.org
981 * Added silc_buffer_sunformat and silc_buffer_sunformat_vp
982 to silcutil/silcbuffmt.[ch].
984 Sun Oct 22 13:03:07 EEST 2006 Pekka Riikonen <priikone@silcnet.org
986 * Added SILC_STR_BUFFER to format and unformat SilcBuffer.
987 Affected file lib/silcutil/silcbuffmt.[ch].
989 * Removed silc_schedule_signal_[un]register and
990 silc_schedule_signal_call. Added silc_schedule_task_add_signal
991 to add signal task. Only one callback per signal may be
992 added. The signals are now automatically called back to
993 caller. Affected files lib/silcutil/silcschedule.[ch] and
994 silcutil/[unix/win32]/silc[unix/win32]schedule.c.
996 * Added silc_time_msec and silc_time_usec to silcutil/silctime.[ch].
998 * Added SilcSKEParams for SKE parameters and simplied even more
999 the SKE interface. Affected files are lib/silcske/silcske.[ch].
1000 Added support for IV included and session port handling with
1003 * Added Secure ID (SID) support with IV Included flag (for UDP/IP)
1004 in lib/silccore/silcpacket.[ch]. Added silc_packet_set_sid
1005 which is called after every rekey when IV Included flag is used.
1006 See SILC specifications for details.
1008 Thu Oct 19 10:03:03 EEST 2006 Pekka Riikonen <priikone@silcnet.org
1010 * Added lib/silcapputil and moved SILC application specific
1011 utility routines from the generic util library lib/silcutil
1012 to the new library. Removed lib/silcidcache and moved that
1013 to lib/silcapputil as well.
1015 Tue Sep 19 00:14:11 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1017 * Added SILC_STR_ADVANCE. Affected file is
1018 lib/silcutil/silcbuffmt.[ch].
1020 * The silc_buffer_strformat preserves buffer locations now.
1022 * Added lib/silcutil/silcatomic.h for atomic operations.
1024 Sat Sep 16 11:23:06 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1026 * Added lib/silchttp, SILC HTTP server, a very simple HTTP
1029 * Fixed MIME deocing when data portion is not present.
1030 Affected file lib/silcutil/silcmime.c.
1032 Wed Jul 19 12:06:38 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1034 * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/.
1036 * Added IV Included support to packet routines, to allow
1037 packet sending and receiving on UDP/IP. Affected files are
1038 lib/silccore/silcpacket.[ch].
1040 * Added SILC_FSM_YIELD. Affected files lib/silcutil/silcfsm.[ch].
1042 Tue Jul 18 20:10:28 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1044 * Added UDP support to network and socket stream library.
1046 Sat Jun 24 22:33:18 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1048 * Added conditional variables. New files are
1049 lib/silcutil/silcondvar.h and platform specific implementations.
1051 Thu Jan 5 20:02:31 CET 2006 Patrik Weiskircher <pat@icore.at>
1053 * make sure session->hostname and session->port are valid before the
1054 application callback is done, since things will go wrong if the
1055 application immediately calls silc_client_file_receive. Affected
1056 file lib/silcclient/client_ftp.c.
1057 Patch received from Stefan Siegel <stesie@brokenpipe.de>, thanks!
1059 Fri Dec 30 22:54:21 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1061 * New SILC PKCS API enabling support for other public keys
1062 and certificates, lib/silccrypt/silcpkcs.[ch], silcpk.[ch].
1064 * Separated SILC Public Key Payload routines from the PKCS API
1065 to lib/silccore/silcpubkey.[ch].
1067 Wed Dec 28 13:55:22 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1069 * Added SILC Key Repository library, lib/silcskr.
1071 * Added SILC Server library, lib/silcserver.
1073 Mon Dec 19 18:04:24 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1075 * MIME objects in attributes now use SilcMime. Affected files
1076 are lib/silccore/silcattrs.[ch].
1078 Sat Dec 17 20:13:31 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1080 * Synchronize semaphore posting for real threads in FSM.
1081 Affected files are lib/silcutil/silcfsm.c, silcfsm_i.h.
1083 Mon Nov 28 17:06:54 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1085 * Added silc_file_set_nonblock. Affected file is
1086 lib/silcutil/silcfileutil.h.
1088 * Added silc_fd_stream_file to lib/silcutil/silcfdstream.[ch].
1090 Sat Nov 26 16:13:40 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1092 * FSM based implementation of SILC SKE. Simpler interface also.
1093 Affected files are in lib/silcske/.
1095 * Added SilcBool type. Affected file lib/silcutil/silctypes.h.
1097 Sat Nov 19 17:34:51 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1099 * Added SilcMime API to lib/silcutil/silcmime.[ch]. The old
1100 silc_mime_parse is available but deprecated.
1102 * Check that packet is valid when processing key exchange,
1103 authentication and rekey protocols. Fixes a crashbug.
1104 Affected files are apps/silcd/protocol.c and
1105 lib/silcclient/protocol.c.
1107 * Added SILC_HASH_MAXLEN to lib/silccrypt/silchash.h, and changed
1108 all hash buffers to use that instead of fixed values.
1110 Wed Nov 16 15:47:12 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1112 * Added SHA-256 to crypto library. The SHA-256 takes now
1113 precedence over SHA-1.
1115 Thu May 26 20:31:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1117 * Check for valid return value from regcomp. Affected file
1118 lib/silcutil/unix/silcunixutil.c.
1120 Tue May 10 23:11:17 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1122 * Fixed silc_hash_uint to work with integers. Affected
1123 file lib/silcutil/silcutil.c.
1125 Tue May 10 15:11:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1127 * Rewritten SILC Log API. Affected files lib/silcutil/silclog.[ch].
1129 Mon May 9 12:00:08 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1131 * Fixed channel public key list saving on JOIN command reply
1132 on backup router. Affected file apps/silcd/command_reply.c.
1134 Mon May 2 10:42:49 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1136 * Added default limit how many channels client can join,
1137 default is 50. Added 'channel_join_limit' configuration
1138 option to server too. Affected files are apps/silcd/command.c
1139 and serverconfig.[ch].
1141 Sun May 1 17:42:55 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1143 * --without-silc -> --with-silc, --without-irssi -> --with-irssi.
1144 On Toolkit the server and client are not compiled by default.
1145 Affected file configure.ad.
1147 Thu Apr 28 15:57:37 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1149 * Added lib/contrib/getopt.[ch] for platforms that don't
1150 have it (it is not GPL implementation).
1152 * Fixed compilation when pkg-config is used.
1154 Wed Apr 27 11:49:41 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1156 * A comma in invite/ban string is invalid, check for it.
1157 Affected file apps/silcd/server_util.c.
1159 * Added SERVICE command to the server. It parses the command
1160 request but SILC Server does not support services for the
1161 time being. Affected file apps/silcd/command.[ch].
1163 * Added SERVICE command and command reply to client library.
1164 It is however incomplete. Updated Toolkit documentation.
1165 Affected files are lib/silcclient/command[_reply].[ch].
1167 * Fixed IDENTIFY/WHOWAS command reply to send the username
1168 correctly (uninitialized buffer). Affected file is
1169 apps/silcd/server_query.c.
1171 Mon Apr 25 14:25:24 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1173 * Moved silcer/, silc/, silcd/ and irssi/ to apps/. This
1174 finalizes the major restructuring of the CVS tree.
1176 Mon Apr 25 00:39:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1178 * Send empty MOTD reply if MOTD file cannot be read.
1179 Affected file silcd/command.c.
1181 Sun Apr 24 12:01:37 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1183 * Optimized primer number generator to use simpler conversion
1184 routines. Also assure that the prime number will have the
1185 highest bit set after modifying it. Affected file is
1186 lib/silcmath/silcprimegen.c.
1188 * Added LibTomMath to SILC Math library (SILC_DIST_TMA).
1190 * Added FastTomMath to SILC Math Library (SILC_DIST_TFM),
1191 for now only for testing purposes, it will not be delivered
1192 in any distribution for now.
1194 * Removed NSS MPI from the source tree. Due to upcoming
1195 license change for the SILC Toolkit, we cannot deliver the
1196 NSS MPI anymore. I decided to replace it in all distributions
1197 with public domain library.
1199 * Removed GNU regex from lib/contrib and introduced free
1200 GNU compatible regex, lib/contrib/regexpr.[ch]. Added
1201 GNU regex compatible API to it (only partial).
1203 * Removed getopt routines from lib/contrib.
1205 Fri Apr 22 12:21:44 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1207 * Use silc_server_send_command_reply to send replies instead
1208 of encoding packet itself. Affected file silcd/command.c.
1210 * Added command sending and receiving statistics to server.
1211 Affected files in silcd/.
1213 * GCC 4 warning fixes. -Wno-pointer-sign option is now used
1214 with GCC, for it not to warn about pointer signedness.
1216 Tue Apr 19 11:57:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1218 * Added context to the SilcIDCache destructor. Affected
1219 files are lib/silccore/silcidcache.[ch],
1220 lib/silcclient/client.c and silcd/server.c.
1222 Mon Apr 18 09:53:28 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1224 * Added pkg-config check to configure.
1226 * The PublicKeyDir must not be used with Admin block in server
1227 config. Affected file silcd/serverconfig.c.
1229 Sat Apr 16 20:23:48 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1233 Thu Apr 14 20:25:08 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1235 * Handle empty LIST command reply correcttly in server. Affected
1236 file silcd/command_reply.c.
1238 * Handle empty LIST command reply correctly in client library.
1239 The application will now receive one LIST command reply with
1240 all arguments set to NULL if there are no channels. Updated
1241 Client Library documentation accordingly. Affected file
1242 lib/silcclient/command_reply.c.
1244 Tue Apr 12 00:02:09 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1246 * Added channel name string stringprep profile to the protocol
1247 and implementation to allow a little free'er channel name
1248 strings. Affected files are lib/silcutil/silcstringprep.[ch].
1250 * Added silc_channel_name_[check|verify] to check and verify
1251 channel name strings. Affected files are
1252 lib/silcutil/silcstrutil.[ch].
1254 * Added support for the new channel name preparation in client
1255 library and server. Affected files in lib/silcclient and
1258 Mon Apr 11 13:40:27 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1260 * Added the Autodist into the source tree. It replaces the
1261 old ./prepare. It can be used to create distributions as
1262 previously. See README.CVS and README.DIST. See
1263 distributions in distdir/.
1265 Sun Apr 10 11:30:56 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1267 * Make sure query sends at least an error back if nothing
1268 more is sent. Affected file silcd/server_query.c.
1270 Thu Apr 7 14:50:01 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1272 * During query, check if the original command caller goes
1273 away. If it does, stop the query. Affected file
1274 silcd/server_query.c.
1276 * Check for valid channel creation in JOIN command reply.
1277 Affected file lib/silcclient/command_reply.c.
1279 * Handle the resolver counter in silc_client_get_users_by_channel
1280 callback correctly. Fixed auto-join bug in Gaim. Affected
1281 file lib/silcclient/idlist.c.
1283 Wed Apr 6 16:56:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1285 * Added some better error messages. Affected file
1286 silcd/command_reply.c and packet_receive.c.
1288 * Handle error in WATCH command propely on backup router.
1289 Affected file silcd/command.c.
1291 * Fixed freeing of unfreeable variable in WHOIS command reply.
1292 Affected file silcd/command_reply.c.
1294 Wed Apr 6 09:10:31 CEST 2005 Pekka Riikonen <priikone@silcnet.org>
1296 * Added pkg-config .pc file creation for silc core library
1297 and silcclient library. A patch by c0ffee.
1299 * Removed the need for GNU Libidn. Added the simple stringprep
1300 from libidn into lib/contrib/. It is now used also on Windows
1303 Mon Apr 4 15:15:46 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1305 * Simplified the invite and ban string handling in the
1306 server. Check for valid invite and ban arguments also.
1307 Affected file silcd/server_util.c.
1309 Sun Apr 3 14:58:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1311 * Added WATCH list announcing in backup router protocol.
1312 Affected files are silcd/command.c, server.c, server_backup.c.
1314 * Do not change users mode to founder on normal server/backup
1315 if the founder mode is set, and user is first one to join.
1316 Affected file silcd/pcaket_receive.c.
1318 * Do not send CUMODE_CHANGE notify back to sender. Affected
1319 file silcd/packet_receive.c.
1321 * Added getrusage() to take noise in SILC RNG. A patch by
1322 Mika Boström. Affected files are configure.in.pre,
1323 includes/silcincludes.h.in, lib/silccrypt/silcrng.c.
1325 Sat Apr 2 18:09:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1327 * Splitted the SILC libraries configuration into a configure
1328 fragment into lib/configure.ad. It is now possible, once
1329 this feature is added, to specify whether to compile or not
1330 compile included SILC libraries. Affected files are
1331 configure.in.pre, lib/silcmath/mpi/configure.ad,
1332 lib/configure.ad, Makefile.defines.pre and
1333 Makefile.defines_int.pre.
1335 * Added --with-silc-includes and --with-silc-libs to configure.
1336 If specified the included libs are not compiled, but the
1337 specified libs are used. Pkg-config is not yet supported.
1338 Affected file configure.in.pre.
1340 * Fixed WATCH command handling on backup router. Router does not
1341 send the watch command any more to backup if it originates from
1342 backup. Affected file silcd/command.c.
1344 Fri Apr 1 18:52:47 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1346 * Changed announcing to not announce unregistered clients.
1347 Affected file silcd/server.c.
1349 * Fixed username handling in command reply. Affected file
1350 silcd/command_reply.c.
1352 * Log files are now 0600. Affected file lib/silcutil/silclog.c.
1354 Thu Mar 31 22:34:22 CEST 2005 Patrik Weiskircher <pat@icore.at>
1356 * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
1357 Affected file: includes/silcincludes.h.in
1359 * bool is defined as _Bool on Mac OS X now.
1360 Affected file: lib/silcutil/silctypes.h
1362 Thu Mar 31 08:52:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1364 * Added support for UTF-8 nicknames, channel names and
1365 server names in client library. Affected files in
1368 * Added __SILC_HAVE_PTHREAD, __SILC_HAVE_SIM, __SILC_HAVE_LIBIDN,
1369 and __SILC_ENABLE_DEBUG to include/silcclient.h for third-party
1370 software to check how Toolkit has been compiled.
1372 Wed Mar 30 22:16:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1374 * Added silc_utf8_str[n]casecmp into lib/silcutil/silcutf8.[ch].
1376 * Use silc_utf8_str[n]casecmp instead of strcmp routines
1377 in library and in SILC Client when dealing with nicknames
1378 and other identifier strings. Affected file in client lib
1381 * Convert nickname to UTF-8 in /msg and /smsg. Affected file
1382 irssi/src/silc/core/silc-servers.c.
1384 Wed Mar 30 10:50:02 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1386 * Fixed idcache to work with the new identifier strings.
1387 Affected file lib/silccore/silcidcache.c.
1389 * Added UTF-8 hash and compare function for SilcHashTable.
1390 Affected file lib/silcutil/silcutil.[ch].
1392 * Added casefolding stringprep, SILC_CASEFOLD_PREP.
1393 Affected file lib/silcutil/silcstringprep.[ch].
1395 * Changed the identifier string handling to include the original
1396 format in client, server, channel entries and normalized
1397 format in cache. Affected files in silcd/.
1399 Tue Mar 29 16:51:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1401 * Added support for the new identifier strings and their
1402 validity checking. Nicknames, channel names and usernames
1403 can now include practically any kind of letters and various
1404 other characters. Affected files in silcd/ and in libraries.
1406 NOTE: comparing these strings should now be done with memcmp()
1407 to check binary compatibility. All these strings are normalized
1408 and casing is irrelevant.
1410 * Added silc_identifier_check to lib/silcutil/silcstrutil.[ch]
1411 as easy function for applications to check whether identifier
1414 Tue Mar 29 00:45:11 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1416 * Fixed SILC_STRING_LDAP_DN encoding and decoding. Affected
1417 file lib/silcutil/silcutf8.c.
1419 * Added SILC_STRING_UTF8_ESCAPE to lib/silcutil/silcstrutil.h.
1421 Mon Mar 28 22:46:23 CEST 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1423 * Make public key in getkey reply mandatory. Affected file
1424 lib/silcclient/command_reply.c
1426 Sun Mar 27 19:03:31 CEST 2005 Patrik Weiskircher <pat@icore.at>
1428 * Added Parameter dont_register_crypto_library to
1429 SilcClientParam. If set to TRUE, silcclient library will
1430 not initalize the Crypto Libraries and application
1431 will need to do it. Affected file lib/silcclient/silcclient.h,
1432 lib/silcclient/client.c.
1434 Sun Mar 27 19:02:48 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1436 * Imported new silc_utf8_[encode|decode] routines from
1437 my internal SILC 1.1 source tree. New encodings added:
1438 SILC_STRING_LOCALE (SILC_STRING_LANGUAGE is deprecated),
1439 SILC_STRING_UTF8, SILC_STRING_PRINTABLE, SILC_STRING_VISIBLE,
1440 SILC_STRING_TELETEX, SILC_STRING_NUMERICAL and
1441 SILC_STRING_LDAP_DN.
1443 * Splitted UTF-8 routines into lib/silcutil/silcutf8.[ch].
1445 * Implemented stringprep (RFC 3454) API. Internally we use
1446 GNU Libidn's stringprep, for now, so it is required now to
1447 compile SILC sources. Added lib/silcutil/silcstringprep.[ch].
1449 * Added checking for GNU Libidn and --with-libidn to configure.
1451 Wed Mar 23 11:20:33 CET 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1453 * If the passphrases entered do not match while generating a new key,
1454 completly start over instead of going into an infinite loop asking
1455 the user to re-enter the passphrase correctly. Affected file
1456 lib/silcutil/silcapputil.c
1458 Sun Jan 9 14:28:51 CET 2005 Pekka Riikonen <priikone@silcnet.org>
1460 * Make sure server is removed from backup list when it is
1461 deleted. Affected files silcd/command.c, server.c,
1464 * Close socket when connecting to router fails. Affected
1465 file silcd/server.c.
1467 Tue Jan 4 13:06:26 CET 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1469 * Adopt configuration toolchain to current auto-tools.
1470 Affected files prepare, irssi/configure.in
1471 * Revert most of the UTF-8 fixes to SILC Client 1.0.1. Will
1472 redo that. Affected files irssi/src/silc/core/client_ops.c,
1473 irssi/src/fe-common/silc/fe-silc-channels.c
1474 * Take over command line options into silcclient data structure.
1475 Affected file irssi/src/silc/core/silc-core.c
1477 Wed Dec 8 16:15:11 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1479 * Do not try to initiate backup resuming protocol forever.
1480 Affected file silcd/server_backup.c.
1482 Wed Nov 24 18:24:05 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1484 * ID change in resuming has to be done before changing
1485 detached client's modes, since the ID change may fail and
1486 leave ghosts on the network. Affected file is
1487 silcd/packet_receive.c.
1489 Tue Nov 23 16:54:35 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1491 * Fixed Win32 scheduler to not stuck anymore. A patch from
1492 Juha Räsänen. Affected file is
1493 lib/silcutil/win32/silcwin32schedule.c.
1495 * Fixed QoS parsing for connection blocks in server. Affected
1496 file is silcd/serverconfig.c.
1498 * Fixed server statistics increasing in server. Affected file
1501 * The CLOSE command now marks backup router as self disconnected
1502 to avoid resuming problems. Affected file silcd/command.c.
1504 Wed Sep 22 19:46:32 CEST 2004 Patrik Weiskircher <pat@icore.at>
1506 * When using silc_net_create_connection[_async], and your system can
1507 create IPv6 sockets, it will try to connect to the IPv6 host.
1508 Now it tries to connect to an IPv4 host if IPv6 fails. Affected
1509 file lib/silcutil/unix/silcunixnet.c
1511 Fri Jun 18 19:26:58 CEST 2004 Pekka Riikonen <priikone@silcnet.org>
1513 * Check for valid route when receiving packet from router and
1514 when routing it to local server in the cell. A patch from
1515 Matt Miller. Affected files silcd/router.c and server.c.
1517 Sat May 1 13:55:54 CEST 2004 Patrik Weiskircher <pat@icore.at>
1519 * Couldn't detach and reattach twice, because of the previous
1520 commit. Affected file silcd/packet_receive.c
1522 Fri Apr 30 19:40:28 CEST 2004 Patrik Weiskircher <pat@icore.at>
1524 * Added check to ignore Port value if Initiator is FALSE.
1525 Remote router coudln't connect if Port was set. Affected file
1526 silcd/serverconfig.c
1528 * If some client tries to resume more than once at the same time,
1529 server crashed. Router didn't crash, but showed odd behaviour
1530 (didn't allow clients to join anymore, ..). Affected files
1531 silcd/packet_receive.c silcd/idlist.h
1533 Mon Mar 15 21:10:08 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1535 * Destroy the file transfer session in silc_client_file_close
1536 with timeout. Affected file lib/silcclient/client_ftp.c.
1538 * Call SFTP server monitor in READ and WRITE after the actual
1539 operations. Affected file lib/silcsftp/sftp_server.c.
1541 Wed Mar 10 21:30:02 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1543 * Create one configure script from configure fragments
1544 (configure.ad). This is a first step towards new distribution
1545 system. Affected files prepare, configure.in.pre,
1546 lib/silcmath/mpi/configure.ad.
1548 Wed Mar 10 18:35:24 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1550 * Removed expiring of client key pair. Affected file is
1551 irssi/src/silc/core/clientutil.c
1553 Tue Mar 9 17:11:58 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1555 * Check the number of connections from real number of
1556 connections instead of socket number, when deciding if
1557 server is full. Affected files are silcd/server.c,
1558 server_internal.h and silcd.c.
1560 * Clarified the connections_max meaning in General section
1561 in doc/example_silcd.conf.in.
1563 * The reconnect_keep_trying default value set to TRUE
1564 if it is not defined in the config file. Affected file
1565 silcd/serverconfig.c.
1567 Wed Mar 3 15:13:49 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1569 * Fixed crashbug in connection closing, after a protocol
1570 completion callback, which might have closed it already.
1571 Affected file silcd/server.c.
1573 * Fixed rekey with PFS in backup router. It did not allow
1574 rekeys with PFS, and when the rekey protocol timedout
1575 it crashed the backup router without the above fix. Affected
1576 file silcd/packet_send.c and server.c.
1578 Sat Feb 28 16:25:09 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1580 * The silc_client_add_channel_private_key now returns the
1581 private key context if pointer is given as argument.
1582 Affected files are lib/silcclient/silcclient.h and
1585 * Added support for using channel private keys in SILC
1586 Client Library even if the private key mode is not set
1587 on the channel. Affected file lib/silcclient/client_channel.c.
1589 * The channel private key used to decrypt message is now
1590 delivered to the application in the 'channel_messageÃ' client
1591 operation. Affected files are lib/silcclient/silcclient.h
1592 and client_channel.c.
1594 * Fixed wrong arg type for user limit in CMODE command reply.
1595 Affected file silcd/command.c.
1597 * The user limit is now taken and saved to SilcClientEntry in
1598 JOIN and CMODE command replies and in CMODE_CHANGE notify.
1599 Affected files lib/silcclient/silcclient.h, command_reply.c
1600 and client_notify.c.
1602 * Added support to the new private message key indicator
1603 packet. Added a new function to the client library:
1604 silc_client_send_private_message_key_request. The sender
1605 indicates to be initiator, and receiver is responder.
1606 Added the indicator to the SilcClientEntry as 'prv_resp'
1607 boolean. Affected files are lib/silcclient/silcclient.h
1608 client.[ch], and client_prvmsg.c.
1610 Fri Feb 27 11:25:26 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1612 * Fixed the JOIN command calling when called with both
1613 -auth and -founder. Affected file is lib/silcclien/command.c.
1615 Wed Feb 25 23:12:11 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1617 * Check watcher list for resumed clients as well. Affected
1618 file is silcd/packet_receive.c.
1620 Tue Feb 24 16:49:10 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1622 * Implemented the user limit to the CMODE_CHANGE notify,
1623 CMODE command reply and JOIN command reply in server.
1624 Affected files are silcd/server.c, command.c, command_reply.c,
1625 packet_send.c and packet_receive.c.
1627 Mon Feb 23 23:31:15 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1629 * Defined SILC_STRFMT_END that must be used now with
1630 silc_buffer_strformat, instead of SILC_STR_END. Fixes
1631 crashes on AMD64. Affected files are lib/silcutil/silcbuffmt.h,
1632 lib/silcclient/silcvcard.c, silcd/server_util.c.
1634 * Fixed the adding of public key to the WATCH list in server.
1635 Fixed the WATCH notify sending to client. Affected files
1636 are silcd/packet_send.[ch], command.c, server_util.c.
1638 * Implemented the watching by public key in the SILC Client
1639 Library and SILC Client. Affected files are
1640 lib/silcclient/command.c and client_notify.c.
1642 Mon Feb 23 09:30:30 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1644 * Added support for public key watching in server. Affected
1645 files are silcd/server.c, server_internal.h, command.c,
1648 Sun Feb 22 19:03:59 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1650 * Added public key to the SIlcClientEntry. Affected files
1651 are lib/silcclient/silcclient.h, command_reply.c, idlist.c
1653 * Fixed the get_clients_whois reply processing to return
1654 exactly same entries server returned. Makes it possible
1655 to search using attributes. Affected file is
1656 lib/silcclient/idlist.c.
1658 Sat Feb 21 19:21:57 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1660 * Save founder key to SilcChannelEntry. Affected files are
1661 lib/silcclient/silcclient.h, command_reply.c, idlist.c.
1663 Fri Feb 20 20:37:38 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1665 * Call the monitor callback with _CLOSED status from the
1666 silc_client_file_close. Affected files are
1667 lib/silcclient/client_fpt.c, silcclient.h
1669 * Added silc_client_get_clients_whois which resolves using
1670 WHOIS, and supports requested attributes as well.
1671 Affected files are lib/silcclient/silcclient.h, idlist.c.
1673 Fri Feb 19 21:09:22 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1675 * Added support for asking the destination filename where
1676 the downloaded file is saved in the file transfer. Affected
1677 files are lib/silccilent/silcclient.h, client_ftp.c.
1679 Wed Feb 18 02:46:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1681 * Fixed error handling in resuming data processing. Affected
1682 files are lib/silcclient/client_resume.c and client.c.
1684 Tue Feb 17 19:34:30 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1686 * Fixed silc_client_send_private_message to return TRUE correctly.
1687 Affected file lib/silcclient/client_prvmsg.c.
1689 * Added topic to the SilcChannelEntry. Affected files are
1690 lib/silcclient/silcclient.h, command_reply.c, client_notify.c.
1692 Fri Feb 13 14:19:14 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1694 * Use conn->cmd_ident for all silc_client_command_call()s. Affected
1695 file lib/silcclient/command.c
1697 Fri Feb 13 13:53:45 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1699 * Convert all commands to UTF-8 before passing them to the
1700 client library. Still need to convert replies from UTF-8 to
1701 the locale encoding. Affected file
1702 irssi/src/silc/core/silc-cmdqueue.c
1704 Fri Feb 13 13:13:07 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1706 * redirect all silc_client_command_calls through a queueing framework.
1707 This fixes /CYCLE and the annoying "nick change after auto-joining
1708 a channel". Furthermore it defines one central point where
1709 command parameters can be UTF-8-ified. Affected files
1710 irssi/src/silc/core/Makefile, client_ops.c, silc-channels.c,
1711 silc-servers.[ch], silc-core.c, silc-cmdqueue.[ch], silc-lag.c
1713 Fri Feb 13 12:04:41 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1715 * use asynchronous connect() to establish router connections.
1716 Fixes problem when the primary router goes down. Affected files
1717 silcd/server.c, silcd/server_backup.c
1719 Thu Feb 12 20:09:59 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1721 * Added SILC_[32|64]_TO_PTR and SILC_PTR_TO_[32|64] macros.
1722 Fixed various compilation warnings when type casting ints
1723 to pointers or vice versa, of different size. Updates around
1726 Tue Feb 3 23:25:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1728 * Surrogates not allowed in UTF-8 strings, updated decoder.
1729 Affected file lib/silcutil/silcstrutil.c. Added UTF-8
1730 testers in lib/silcutil/tests/ directory.
1732 Wed Jan 14 18:42:44 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1734 * Added SILC_CLIENT_CONN_ERROR_KE, ERROR_AUTH, ERROR_RESUME and
1735 ERROR_TIMEOUT SilcClientConnectionStatus errors. Affected
1736 files are lib/silcclient/silcclient.h, client.c.
1738 Mon Jan 12 13:01:10 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1740 * When resuming a session fails, notify the user that the session
1741 file needs to be removed eventually. Affected files
1742 irssi/src/fe-common/silc/module-formats.[ch],
1743 irssi/src/silc/core/client_ops.c.
1745 Tue Jan 04 12:16:04 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1747 * Added DIST_SUBDIRS symbols to include all subdirs in distributions.
1748 Affected files lib/silcutil/Makefile.am, lib/silcmath/Makefile.am
1750 * Typofix in Irssi::Silc module. Affected file
1751 irssi/src/perl/silc/Silc.xs.
1753 Tue Jan 04 02:43:44 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1755 * Changed the way NOTICE flagged messages are treated. Added support
1756 for notices in queries and signing notices. Affected files
1757 irssi/default.theme; irssi/docs/help/in/notice.in;
1758 irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c;
1759 irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.c
1761 * Fixed typo in /ACTION help. Affected file
1762 irssi/docs/help/in/action.in
1764 Mon Jan 03 23:26:38 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1766 * Fixed typo in perl module. Affected file
1767 irssi/src/perl/silc/Server.xs
1769 * Changed the way ACTION flagged messages are treated. Added support
1770 for actions in queries and signing actions. Affected files
1771 irssi/default.theme; irssi/docs/help/in/action.in;
1772 irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c,
1773 fe-silc-queries.c; irssi/src/silc/core/client_ops.c, silc-channels.c,
1776 Mon Jan 03 16:04:29 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1778 * Incorrectly reported error when client had to be resolved from
1779 server in /SMSG. Affected file irssi/src/silc/core/silc-servers.c
1781 Sat Jan 3 16:37:15 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1783 * Fixed whois public key hash table deleting and adding in
1784 detached client case. Affected file silcd/packet_receive.c.
1786 Sat Jan 03 12:15:38 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1788 * Changed filenames of silc/fe module not to collide with filenames
1789 from core/fe. Also seperated public messages printing from
1790 query messages printing. Affected files are all in
1791 irssi/src/fe-common/silc.
1793 Sat Jan 3 12:18:07 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1795 * Fixed the invite process handling during joining to use
1796 correct server name for the client that is matched against
1797 the invite string for the channel. Wrong server name caused
1798 inability to join the channel. Affected file is
1801 Fri Jan 2 23:34:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1803 * Fixed the CUMODE channel founder authentication on normal
1804 server to not remove the founder rights on existing founder
1805 before checking that router accepts the mode change. Affected
1806 files are silcd/command.c and silcd/packet_receive.c.
1808 * Remove the server entry correctly when rekey timeouts and
1809 remote router connection on normal server is closed. Fixes
1810 a crash where server uses the freed server entry. Affected
1811 file silcd/server.c.
1813 Fri Jan 02 10:28:15 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1815 * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
1816 networks. This is the first step in solving the bug about
1817 /SERVER ADD -silcnet <silcnet>. Affected files
1818 irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am,
1819 fe-silcnet.c, fe-common-silc.c, module-formats.[ch];
1820 irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am
1822 Thu Jan 01 20:11:32 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1824 * /SMSG and /MMSG now correctly create new queries. Affected files
1825 irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl
1827 * Add basic support for SILC protocol specific variables in perl.
1828 Affected files irssi/src/perl/silc/*, irssi/configure.in,
1829 irssi/src/perl/Makefile.am
1831 Wed Dec 31 17:06:55 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1833 * Don't use silc_get_input, it's obviously not reliable. Fixes
1834 issue when the current key expires. Affect file
1835 irssi/src/silc/core/clientutils.c
1837 * Make the session data filename configurable. This makes it
1838 possible to have different session files for different
1839 SILC networks. Affected files irssi/src/silc/core/silc-core.c,
1840 client_ops.[ch], silc-servers.c,
1841 irssi/src/silc/fe-common/silc/module-formats.[ch]
1843 * Use the same set of libtool files for the MPI lib as for the
1844 rest of the toolkit. Affected files lib/silcmath/mpi/config.guess,
1845 config.sub, configure.in, install-sh, missing, mkinstalldirs
1847 Sun Dec 28 21:57:39 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1849 * Fixed server statistics decrementing error to not go to
1850 negative. Affected file silcd/packet_receive.c.
1852 Sat Dec 20 14:42:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1854 * Use silc_server_query_add_error to add error in public key
1855 search error. Added support in send_reply to send errors
1856 without specific argument. Affected file silcd/server_query.c.
1858 * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
1859 Client for NO_SUCH_NICK. It was against the protocol specs.
1860 Affected file irssi/src/silc/core/client_ops.c.
1862 * Added backwards support for the wrong NO_SUCH_NICK error sending
1863 in server. To be removed in SILC Server 1.0. Both old clients
1864 and clients with fixed error handling now works. Affected file
1865 silcd/server_query.c.
1867 Sat Dec 20 00:44:47 CET 2003 Patrik Weiskircher <pat@icore.at>
1869 * fixed a bug in the whois using attributes function where no
1870 error was sent if no nickname and client id but the attributes were
1871 given to whois. Affected file silcd/server_query.c
1873 Tue Dec 16 21:34:59 CET 2003 Patrik Weiskircher <pat@icore.at>
1875 * remove public key from public key hashtable on detach. Affected
1876 file silcd/packet_receive.c
1878 * free public key hashtable before removing clients on server
1879 shutdown. Affected file silcd/server.c
1881 * remove public key prior deleting client-data on killing a client.
1882 Affected file silcd/server_util.c
1884 Sat Dec 06 21:35:14 CET 2003 Patrik Weiskircher <pat@icore.at>
1886 * Getting the MOTD from other servers works now. Affected
1887 files are silcd/command.c and silcd/command_reply.c
1889 Thu Dec 04 11:33:46 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1891 * Initialize the variable idletag, since it is tested in
1892 silc_core_deinit for its default value. Affected file
1893 irssi/src/silc/core/silc-core.c
1895 Sun Nov 30 19:47:02 CET 2003 Patrik Weiskircher <pat@icore.at>
1897 * Fixed signed channel messages across cells. Affected file
1900 Fri Nov 28 19:13:21 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1902 * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG
1903 is not defined. They can now be safely used in if-statements
1904 without braces. Affected file lib/silcutil/silclog.h.
1906 * Added the checks for backup closing connection due to error
1907 (local or remote) and thus not allow the resuming to occur
1908 in reconnect. Affected files are silcd/packet_send.c
1911 Tue Nov 25 15:20:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1913 * Help file updates. Affected files in irssi/src/docs/help/in/.
1915 Wed Nov 23 20:51:21 CET 2003 Patrik Weiskircher <pat@icore.at>
1917 * Fixed channel messages across cells. Affected file
1920 Wed Nov 12 11:34:56 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1922 * Fixed file transmission accepting in client library to not
1923 start the negotiation if user hasn't accepted the transfer,
1924 instead create new session for resent transfer. Affected
1925 file lib/silcclient/client_ftp.c.
1927 * Show the session ID in the file transmision list. Remove
1928 session from list that failed to transfer. Switch the current
1929 session automatically after transmission, and in errors, to new
1930 session if other sessions exists in the transfer list. Affected
1931 files are irssi/src/silc/core/silc-servers.c,
1932 irssi/src/fe-common/silc/modfule-formats.c.
1934 Mon Nov 10 14:41:40 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1936 * Fixed MIME header parsing for the hopefully last time. Affected
1937 file lib/silcutil/silcstrutil.c
1939 Mon Nov 10 13:03:46 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1941 * Rewrote the PKCS#1 routines. Added lib/silccrypt/silcpkcs1.[ch].
1943 * The SILC RNG is now gauranteed to return non-zero random
1944 values. Affected files are lib/silccrypt/silcrng.[ch].
1946 Sun Nov 9 20:44:56 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1948 * Fixed nickname formatting when changing only case of the
1949 nickname. Affected file lib/silcclient/idlist.c.
1951 Sun Nov 9 19:33:59 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1953 * Fixed a memory leak and incorrect printing of the "appears as"
1954 message. Affected file irssi/src/silc/core/client_ops.c
1956 Sun Nov 9 17:45:11 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1958 * Added CRT (Chinese Remainder Theorem) supported RSA
1959 private keys and private key operations. This significantly
1960 increases private key operation efficiency. No compatibility
1961 issues with new or old private keys. Affected files are
1962 lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c.
1964 Sat Nov 8 13:08:53 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1966 * Fixed GCC-3.3.2 related compilation warnings from the
1969 Fri Nov 7 23:01:47 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1971 * Removed RC6 from distributions.
1973 Fri Nov 7 19:38:42 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1975 * Added some better comments to lib/silccrypt/silcpkcs.h,
1976 optimized some routines in lib/silccrypt/silcpkcs.c.
1977 Added test_silcpkcs into lib/silccrypt/tests/.
1979 * Fixed silc_rng_global_init to actually init the global RNG
1980 if RNG wasn't provided for it. Affected file is
1981 lib/silccrypt/silrng.c.
1983 Thu Nov 6 21:08:28 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1985 * Added silc_hash_table_find_by_context_ext. Affected files
1986 lib/silcutil/silchashtable.[ch].
1988 * Save the public key on normal server in WHOIS command reply
1989 from attributes, if present, and add it to public key hash
1990 table. Fixes WHOIS resolving by public key on normal server.
1992 Optimized the attributes resolving on normal server to not
1993 resolve if we resolved them already from router.
1995 Affected files are silcd/server_query.c, command_reply.c.
1997 Wed Nov 5 19:36:30 CET 2003 Patrik Weiskircher <pat@icore.at>
1999 * Added support for whois using attributes.
2000 Affected files silcd/command_reply.c, silcd/packet_receive.c,
2001 silcd/server.c, silcd/server_internal.h, silcd/server_query.c,
2004 * Added support for whois using public key attribute to /WHOIS i
2005 client command. Affected files irssi/docs/help/in/whois.in,
2006 irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c
2008 Wed Nov 5 23:37:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2010 * Fixed UMODE setting in server when the client has anonymous
2011 mode set. The mode setting was not working. Affected file
2014 Mon Nov 2 11:36:08 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2016 * Fixed some bugs and typos related to sending split messages.
2017 Print notification when sending messages with /MMSG. Affected
2018 files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c
2020 Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2022 * Optimized the socket referencing in packet routines, client
2023 library and server. Affected files are lib/silccore/silcpacket.c,
2024 lib/silcclient/client.c and silcd/server.c.
2026 * If silc_socket_set_qos is given with NULL arguments the QoS is
2027 reset from the socket. Affected files are
2028 lib/silcutil/silcsockconn.[ch].
2030 Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2032 * Add a /LISTKEYS command which lists the locally cached
2033 client and server keys. Affected files
2034 irssi/src/fe-common/module-formats.[ch],
2035 irssi/src/silc/core/silc-{channels,servers}.c
2036 irssi/docs/help/in/listkeys.in
2038 Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2040 * Check that packet queue purging was successful. Affected
2041 files lib/silcclient/client.c and silcd/packet_send.c. Related
2042 to MAC failed errors.
2044 * Do not clear the inbuf even if it is empty if QoS was applied
2045 to it. Otherwise the QoS data is cleared and MAC failed error
2046 will occur. Affected file lib/silccore/silcpacket.c.
2048 * Use the rekey period time as rekey protocol timeout value.
2049 If the rekey does not succeed during the rekey period there's
2050 something very wrong, and we most likely end up with wrong keys,
2051 do graceful reconnect then. Affected file silcd/server.c.
2053 * Take reference of the socket in the parser context, as it's
2054 possible to have the parsers in queue after the socket is
2055 disconnected and this may cause crash. Affected files are
2056 lib/silccore/silcpacket.c, lib/silcclient/client.c and
2059 Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2061 * Fixed KICK command reply sending, it sent to replies.
2062 Affected file silcd/command.c.
2064 Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2066 * Finish the silc-mime.pl script. It now supports MIME type
2067 guessing using magic files, signing data messages, executing
2068 MIME handlers in background. Affected files
2069 irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in
2071 * Changed MIME signal handler to make things easier for the perl
2072 script. Affected files irssi/src/silc/core/client_ops.c,
2073 silc-servers.c, and irssi/docs/signals.txt
2075 * Cleaned up the silc_mime_parse function and fixed detection
2076 of wrapped header lines. Affected file lib/silcutil/silcstrutil.c
2078 Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2080 * Resolve the IP for file transfer listener from the connection
2081 socket. Affected file lib/silcclient/client_ftp.c.
2083 * Accept NULL hostname parameter in the functions
2084 silc_net_check_[local|remote]_by_socket. Do not reverse lookup
2085 if hostname is not wanted.
2087 Fri Oct 24 21:24:12 CEST 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2089 * Fixed race condition between silc_client_init and
2090 my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c
2092 Fri Oct 24 16:43:40 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2094 * Fixed file transfer connection closing when SIGNOFF for
2095 the client is received from server. Affected file is
2096 lib/silcclient/client_ftp.c.
2098 Tue Oct 21 13:35:57 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2100 * Check for disconnected socket in QUIT callback. Affected
2101 file silcd/command.c.
2103 Thu Oct 21 09:43:17 CEST 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2105 * Modified the MIME parsing to allow \n and \r\n as delimiters.
2106 Affected files lib/silcutil/silcstrutil.c
2108 * Cleaned up the escape/unescape functions for correctness and
2109 speed. Affected file irssi/src/silc/core/client_ops.c
2111 * Removed handling for data messages with Content-Type: text/*,
2112 moved parsing of MIME headers to the signal handler, added
2113 support for signing and verifying data messages. Affected
2114 files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c,
2115 irssi/src/silc/core/silc-{servers,channels}.c
2117 * Added a perl script for handling data messages based on
2118 information read from Mailcap files. New file
2119 irssi/scripts/silc-mime.pl
2121 Mon Oct 20 16:08:22 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2123 * Added new SILC_MESSAGE_FLAG_ACK that can be used to
2124 acknowledge recepetion of a message to the sender. Updated
2127 Sat Oct 18 11:55:33 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2129 * Unregister channel key saving callback when deleting channel.
2130 Affected file lib/silcclient/idlist.c.
2132 * Do not remove the client from channels in NOTIFY_TYPE_SIGNOFF
2133 before calling notify client operation. Affected file is
2134 lib/silcclient/client_notify.c.
2136 * Unregister QoS tasks when deleting the socket connection.
2137 Affected files lib/silcutil/silcsockconn.[ch],
2138 unix/silcunixsockconn.c.
2140 * Implemented latest presence-attrs draft changes. Affected
2141 files lib/silccore/silcattrs.h and
2142 irssi/src/silc/core/silc-queries.c.
2144 Tue Oct 14 18:24:53 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2146 * Save old channel keys in list to allow more rapid change
2147 of channel keys if server for some reason does that. This
2148 avoids loosing so many channel messages due to not having
2149 key to decrypt. Affected file lib/silcclient/silcclient.h,
2150 idlist.c and client_channel.c.
2152 Mon Oct 13 21:37:47 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2154 * Continued backup router tests and fixes. Affected files
2155 silcd/server_backup, server_util.c, server.c. See TODO.
2157 Sun Oct 12 19:58:18 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2159 * Fixed SERVER_SIGNOFF handling in servers. The client
2160 was removed from wrong list thus not removing the client
2161 at all. Affected file silcd/packet_receive.c.
2163 * Do not execute rekey protocol for disabled connections as
2164 it would never go through. Affected file silcd/server.c.
2166 * Added timeout for rekey protocol to catch if the protocol
2167 never executes successfully. Affected files silcd/server.c
2170 Sat Oct 11 15:39:22 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2172 * Abandon packet processing for disconnected sockets. Check
2173 this always after calling packet processing callback.
2174 Affected file lib/silccore/silcpacket.c.
2176 * Fixed double registration disconnection code in server.
2177 Closed wrong connection. Affected file silcd/packet_receive.c.
2179 Fri Oct 10 16:27:12 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2181 * On normal server reconnect to primary during resuming 4
2182 times, then give up. Affected file silcd/server_backup.c.
2184 * If during reconnecting to routers we notice we have router
2185 connection but no primary router set, the server is in desync.
2186 Reconnect to primary to restore network. Affected file
2189 * Assure that only one protocol is exeucting at the same time.
2190 Added checks for all protocols. Affected files are
2191 silcd/server.c and server_backup.c.
2193 Thu Oct 9 20:24:09 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2195 * Check that a string is not already part on invite/ban
2196 string when processing it. Affected file silcd/server_util.c.
2198 Thu Oct 9 12:06:40 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2200 * Fixed the CUMODE_CHANGE for founder mode changes to comply
2201 with 1.2 version of the protocol. Affected file is
2202 silcd/packet_receive.c.
2204 Wed Oct 8 19:41:15 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2206 * ERR_BAD_PASSWORD now returns the Channel ID of the channel
2207 where the passphrase was given. Affected file is
2210 Wed Oct 8 09:32:12 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2212 * INVITE and BAN notifys are now delivered from routers to
2213 servers (but not clients) on the channel. Updated specs and
2214 code. Affected files silcd/packet_[send|receive].[ch],
2215 command.c, server.c and server_util.c.
2217 * Implemented INVITE and BAN announcing. Affected files are
2218 silcd/server.[ch], server_util.c.
2220 * Implemented SilcStatus error type argument returning in
2221 command reply error in server. Affected file silcd/command.c.
2223 * Implemented SilcStatus argument returning in comand reply
2224 in client library. The command_reply client operation now
2225 returns error specific arguments as well. Affected files
2226 are lib/silcclient/command_reply.[ch], client_resume.c,
2227 lib/silccore/silcstatus.[ch].
2229 Sun Oct 5 20:22:08 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2231 * Backup router protocol version 1.2 implemented. Testing still
2232 required. Affected files in silcd/server_backup.[ch], server.c,
2233 packet_receive.c and server_internal.h.
2235 Sun Oct 5 12:36:37 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2237 * silc_client_send_[channel|private]_message now return TRUE
2238 or FALSE. Affected file lib/silcclien/client_channel.c and
2241 Thu Oct 2 17:03:09 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2243 * Check for explicit nickname in INVITE and BAN processing
2244 during join as well (and don't expect only wildcards in
2245 invite/ban strings). Affected file silcd/command.c.
2247 * Fixed the INVITE and BAN by public key. The public key saved
2248 is the PK payload (as specified) not the raw data. Affected
2249 file silcd/server_util.c.
2251 Wed Oct 1 20:29:06 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2253 * UTF-8 text message support for actions and notices in SILC
2254 Client. Affected file irssi/src/silc/core/client_ops.c.
2256 * silc_get_username and silc_get_real_name now returns sensible
2257 data on Win32. Patch by Toni Willberg. Affected file is
2258 lib/silcutil/win32/silcwin32util.c.
2260 Sun Aug 24 23:35:19 CEST 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2262 * Provide a signal handler to send MIME encoded messages and emit
2263 a signal when a MIME encoded message is received. Also document
2264 the signals for usage with the perl interface.
2266 A sample perl script will be supplied at a later point.
2268 Affected files are irssi/docs/signals.txt,
2269 irssi/src/silc/core/client_ops.[ch],
2270 irssi/src/silc/core/silc-{channels,servers}.c
2272 Sun Aug 24 12:58:30 CEST 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2274 * Use SILC_COMMAND_PING to estimate the round-trip time to the
2275 server. Use this time to display a lag and disconnect when it
2276 exceeds a specified limit.
2278 Affected files are irssi/src/silc/core/silc-{lag,core}.c.
2280 Mon Aug 11 17:14:17 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2282 * Remove the channel auth list in normal server if router
2283 encofrces its list during connecting. Send notify to channel
2284 to remove the mode to remove the list. Affected files are
2285 silcd/server_util.c and silcd/packet_receive.c.
2287 Wed Aug 6 14:52:04 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2289 * Added support for channel public keys. Updated protocol specs
2290 and implemented it. Affected files are
2291 silcd/command.c, command_reply.c, lib/silcclient/command.c,
2292 lib/silcclient/command_reply.c.
2294 Wed Jul 23 12:17:01 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2296 * Ignore SIGXFSZ and SIGXCPU signals in server. They can
2297 terminate the process on Linux. Affected file silcd/silcd.c.
2299 Mon Jun 2 19:13:27 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2301 * Check for NULL buffer in silc_buffer_clear. Affected file
2302 is lib/silcutil/silcbuffer.h.
2304 * Simplified the backup router protocol by removing the _GLOBAL
2305 types. Updated protocol specs and the code. Affected files
2306 are silcd/server_backup.[ch].
2308 Thu Apr 24 19:50:25 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2310 * Deny '@' and '!' from nicknames since they are reserved
2311 by the SILC_COMMAND_INVITE and SILC_COMMAND_BAN commands.
2312 Updated protocol specs and the code.
2314 Affected files are silcd/server_util.[ch].
2316 Wed Apr 9 18:51:59 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2318 * Fixed stack overflow in Irssi SILC client. Affected
2319 file irssi/src/silc/core/client_ops.c.
2321 * Check that Host is set in ServerConnection and RouterConnection
2322 in silcd.conf. Affected file silcd/serverconfig.c.
2324 * Fixed crash in server with protocol completion callbacks,
2325 namely rekey and backup resuming protocols. Affected files
2326 are silcd/server_backup.c and silcd/server.c.
2328 * Fixed rekey protocol to not restart if it is started already.
2329 Affected files are lib/silcclient/client.c and
2332 Mon Mar 17 18:35:24 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2334 * Rewrote SilcList, affected file lib/silcutil/silc*list.h.
2336 * Fixed EOF handling in SILC Config, affected file
2337 lib/silcutil/silcconfig.c.
2339 * Fixed buffer overflows in lib/silcutil/silcstrutil.c.
2341 * Fixed RESOLVING flag handling in JOIN notify and other
2342 notifys to handle the resolvings correctly in client library.
2343 Affected file lib/silcclient/client_notify.c.
2345 * Do not send full INVITE and BAN lists in INVITE and BAN
2346 notifys, only the changed information. Affected file
2349 * Fixed INVITE notify sending in INVITE command, send it
2350 only when needed. Affected file silcd/command.c.
2352 * Handle the founder key change properly in CMODE_CHANGE
2353 notify. Bug #122. Affected file silcd/packet_receive.c.
2355 Sun Mar 9 16:29:20 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2357 * Remove the mark for output (mark it only for input) after
2358 purging outgoing queue. Prevents the "Error in select()"
2359 floods. Affected file silcd/packet_send.c.
2361 * Fixed incorrect connection deletion from client library
2362 after calling "connect" client operation. Could cause
2363 crashes for example during reconnect timeouts. Affected
2364 files are lib/silcclient/client.c and
2365 irssi/src/silc/core/client_ops.c.
2367 * Check server private key file permissions before starting
2368 the server. Affected file silcd/serverconfig.c.
2370 Tue Feb 4 22:53:26 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2372 * NULL terminate allocated string in silc_buffer_strformat.
2373 Affected file lib/silcutil/silcbuffmt.c.
2375 * Rewrote the invite/ban list string handling in server to
2376 use SilcBuffer instead. Affected files are silcd/command.c
2377 and silcd/server_util.c.
2379 Mon Feb 3 14:43:52 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2381 * Fixed double free in CMODE command when setting new HMAC
2382 for channel. Affected file silcd/command.c.
2384 * Added couple of missing memset's to zero sensitive memory.
2385 Affected files silcd/command.c, lib/silcclient/command.c.
2387 Sun Jan 26 12:20:30 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2389 * Fixed a double free in INVITE command error handling in
2390 server. Affected file silcd/command.c.
2392 * Added macros SILC_SWAB_[16|32] to swab byte order of
2393 16-bit and 32-bit unsigned integers. Affected file
2394 lib/silcutil/silctypes.h.
2396 * Use the SILC_SWAB_16 instead of htons() in server when
2397 handling ports since the ports in structures are always
2398 in little-endian order (regardless of platform). Affected
2399 file silcd/serverid.c and silcd/server_backup.c.
2401 Tue Jan 21 17:18:04 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2403 * Send DISCONNECT in close admin command in server. Affected
2404 file silcd/command.c.
2406 * Check whether we are already connecting to a remote router
2407 (in addition of checking whether we are already connected)
2408 before creating new connection. Affected file silcd/server.c.
2410 Thu Jan 16 18:47:00 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2412 * Added better compiler and compiler flags checking in
2415 * Check that socket is valid after QoS is applied to data.
2416 Affected file lib/silcutil/unix/silcunixsockconn.c.
2418 * Make sure the socket connecetion is not closed to early
2419 when closing connection in server. Also make sure the
2420 connection is always closed after error in a protocol.
2421 Affected file silcd/server.c.
2423 Wed Jan 15 11:03:36 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2425 * Removed --session and --dummy options from Irssi SILC Client.
2426 -d option is available only if --enable-debug was given.
2427 Affected files are irssi/src/silc/core/silc-core,
2428 irssi/src/core/session.c and irssi/src/fe-text/silc.c.
2430 Tue Jan 14 12:25:09 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2432 * Added silc_buffer_steal to steal the data from the buffer.
2433 Affected file lib/silcutil/silcbuffer.h.
2435 Sat Jan 11 18:16:29 CET 2003 Giovanni Giacobbi <giovanni@giacobbi.net>
2437 * Fixed server crash with double Primary block in config file.
2439 Fixed also various memory leaks around the config file
2440 parser. Affected files lib/silcutil/silcconfig.c,
2441 silcd/serverconfig.c.
2443 * Changed my nickname (Johnny Mnemonic) to my real name, this
2444 means that bugs introduced by him were actually introduced
2447 Tue Jan 7 21:58:53 CET 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2449 * Don't display "foo appears as foo\nYou're now known as foo"
2450 messages. Affected file irssi/src/silc/core/client_ops.c
2452 Tue Jan 7 20:08:15 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2454 * Fixed error handling of invalid client entry when calling
2455 commands in server. Fixes a crash. Affected file
2458 Thu Dec 26 14:19:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2460 * Added some sanity checks in server for correctness of the
2461 server configuration. Affected file silcd/serverconfig.c.
2463 Fri Dec 20 10:47:59 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2465 * Prevent endless resolving of user informations in USERS
2466 command by checking the command reply status correctly.
2467 Affected file lib/silcclient/command_reply.c.
2469 Tue Dec 17 10:05:00 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2471 * Fixed file writing on WIN32 to use O_BINARY flag. Affected
2472 file is lib/silcutil/silcfileutil.c. A patch by Matthew
2473 Aldous <Matthew@Aldous.com>.
2475 * Added better implementation using CriticalSection of
2476 SilcMutex on WIN32. A patch by Mikko Lähteenmäki
2477 <mikko.lahteenmaki@pikabaana.net>.
2479 * Added some Winsock WIN32 compatiblity defines into
2480 includes/silcwin32.h.
2482 Mon Dec 16 19:33:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2484 * Fixed double free in async host lookup code. Affected file
2485 lib/silcutil/silcsockconn.c.
2487 * On backup router handle now the SERVER_SIGNOFF from router
2488 for local connected servers too, and close the connections.
2490 Do not process them as normally signing off servers when they
2491 really signoff by sending EOF fe, but always assume that
2492 router sends the SERVER_SIGNOFF.
2494 Affected files silcd/server.c and silcd/packet_receive.c.
2496 * Fixed socket unsetting when closing connections. Affected
2497 files silcd/server.c and silcd/packet_send.c.
2499 * Do not print the nickname in SERVER_SIGNOFF if we do not
2500 have it. Prevents asserts in Irssi core. It is possible we
2501 don't have the nick if it was just being resolved when server
2502 signoff. Affected file irssi/src/silc/core/client_ops.c.
2504 Thu Dec 12 23:22:50 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2506 * Fixed autonick crashbug in client library. Affected file
2507 lib/silcclient/client.c.
2509 * Fixed Unix implementation of SilcMutex to really assert if
2510 the mutex is locked/unlcoked already. Affected file
2511 lib/silcutil/unix/silcunixmutex.c.
2513 * Fixed locking in silc_schedule_uninit. It didn't lock
2514 when dispatching timeout tasks. Affected file is
2515 lib/silcutil/silcschedule.c.
2517 * Changed Win32 implementation of SilcThread to use modern
2518 Win32 interface. Affected file is
2519 lib/silcutil/win32/silcwin32thread.c A patch by Mikko L.
2521 Thu Dec 12 12:06:59 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2523 * Don't print signed messages when sending failed. Affected files
2524 irssi/src/silc/core/silc-[servers.c/commands.h]
2526 * Send adquate signal when founding a channel by joing it. Affect
2527 file irssi/src/silc/core/client_ops.c
2529 Wed Dec 11 21:46:19 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2531 * Fix theme abstracts parsing. Affected files irssi/default.theme,
2532 irssi/src/fe-common/core/themes.c
2534 Wed Dec 11 20:20:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2536 * Fixed close command to use the port correctly when closing
2537 server connections. Affected file silcd/idlist.c.
2539 * Check for NULL outbuf in silc_socket_write. It is possible
2540 that it is NULL is some odd case. Affected files are
2541 lib/silcutil/[unix/win32]/silc[unix/win32]sockconn.c.
2543 * Do not call final protocol callback for backup router
2544 resuming protocol when closing connection. It is closed
2545 by timeout in case of error. Affected file silcd/server.c.
2547 * Backup reconnect to router if backup resuming protocol
2548 failed. Affected file silcd/server_backup.c.
2550 Wed Dec 11 10:01:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2552 * Fixed double free in SKE library error hadling when signature
2553 error occurred. Affected file lib/silcske/silcske.c.
2555 * Save the fingerprint to new SilcClientEntry after changing
2556 nickname. Affected file lib/silcclient/client_notify.c.
2558 * Print SIGNOFF in Irssi SILC client only if the nickname is
2559 known. Prevents asserts in Irssi core. It is possible we
2560 don't have the nick if it was just being resolved when it
2561 quit. Affected file irssi/src/silc/core/client_ops.c.
2563 Tue Dec 10 21:47:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2565 * Fixed double free in invite list adding code when adding
2566 invite strings. Affected file silcd/server_util.c.
2568 Fri Dec 6 17:40:24 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2570 * More log printing during backup router protocol. Affected
2571 file silcd/server_backup.c.
2573 * Removed backwards support for old private key file format.
2574 Affected file lib/silccrypt/silcpkcs.c.
2576 * Removed backwards support for not-so-strict decryption length
2577 check, it's strict now. Affected lib/silccrypt/silccipher.c.
2579 * GETKEY to update the client entrys fingerprint too.
2580 Affected file lib/silcclient/command_reply.c.
2582 * Added --without-libtoolfix for package builders using weird
2583 wrappers around libtool (BSD at least).
2585 Thu Dec 5 22:29:46 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2587 * Fixed backup router bugs: When backup resumes router and
2588 receives a CHANNEL_MESSAGE packet the backup must not act
2589 as router since the packet header decryption would be
2590 different. Also, when relaying packets to channel, do
2591 not re-encrypt packets on backup that came from the primary
2592 since the connection isn't really router-router connection.
2593 Affected files silcd/server.c, silcd/packet_send.c.
2595 * Added checks in encryption/decryption that encryption/decryption
2596 length sent as argument really is multiple by block size. Helps
2597 catching really weird bugs like the above backup router bugs
2598 when packets are being decrypted in wrong way. Affected files
2599 lib/silccore/silcpacket.c, and lib/silccrypt/silccipher.c.
2601 * Fixed padding generation in private key file encryption.
2602 Affected file lib/silccrypt/silcpkcs.c.
2604 Thu Dec 5 16:35:23 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2606 * Added ignore_message_signatures setting which can be used
2607 to ignore signatures in messages. Affected files are
2608 irssi/src/silc/core/client_ops.c, silc-core.c.
2610 * Fixed the libtoolfix to use command line options instead of
2611 environment variables. They didn't work as expected. Now,
2612 the libtool is fully run-time configurable.
2614 Wed Dec 4 21:08:52 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2616 * Verify signature payload for signed messages. Affected files
2617 irssi/src/silc/core/client_ops.h, irssi/src/silc/core/silc-servers.c,
2618 irssi/src/silc/core/silc-core.h
2620 * Display signature verification result in public and private
2621 messages using theme abstracts. See irssi/default.theme for
2622 examples on their usage. Affected files
2623 irssi/default.theme, irssi/src/fe-common/silc/fe-messages.h,
2624 irssi/src/fe-common/silc/module-formats.[ch],
2625 irssi/src/fe-common/silc/fe-common-silc.c,
2626 irssi/src/fe-common/silc/Makefile.am
2627 irssi/src/fe-common/core/fe-messages.[ch]
2629 * Fixed bugs in Irssi's theme parsing. Affected files
2630 irssi/src/fe-common/core/themes.c
2632 Wed Dec 4 18:29:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2634 * Calculate the correct length for signed messages before
2635 encrypting, it must be multiple by block size. Affected
2636 file lib/silccore/silcmessage.c.
2638 * silc_message_signed_get_public_key returns now both
2639 decoded and encoded public key. Affected files are
2640 lib/silccore/silcmessage.[ch].
2642 * Added libtoolfix script that makes the libtool more generic
2643 and configurable in run-time. Now we can specify in run-time
2644 if what kind of libraries we want to create, regardless of
2645 configuration. SIMs are now creates even if --disable-shared
2646 was explicitly given.
2648 Tue Dec 3 23:26:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2650 * Fixed founder key sending in CMODE command in client.
2651 Affected file lib/silcclient/command.c.
2653 * Fixed CUMODE founder authentication in server to not check
2654 for client's public key since it's not supposed to do that.
2655 Affected file silcd/command.c.
2657 Tue Dec 3 12:02:41 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2659 * Set realname and hostname in NICK_REC records. Affected file
2660 irssi/src/silc/core/silc-nicklist.c
2662 Mon Dec 2 20:50:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2664 * Remove 1.0 protocol backwards compat code from client
2667 * Added more reliable check for whether nickname did change
2668 or not, or whether only Client ID changed in NICK_CHANGE
2669 notify. Affected file lib/silcclient/client_notify.c.
2670 Fixes bug in '@' character handling in a nickname.
2672 * Added support for automatically parsing signature from
2673 the message payload. Added new function
2674 silc_message_get_signature to return the payload to
2675 application. Affected files lib/silccore/silcmessage.[ch].
2677 * Changed the private_message and channel_message client
2678 operations to deliver the SilcMessagePayload to the
2679 application too. Application can use it fe. to get the
2680 signature from the message for verification. Affected
2681 file lib/silcclient/silcclient.h, client_channel.c and
2684 * Redefined the signed payload for message payloads.
2685 Updated protocol specs and implemented.
2687 Mon Dec 2 16:28:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2689 * Fixed wrong invite and ban list handling in server command
2690 reply. Affected files are silcd/command_reply.c,
2691 silcd/server_util.[ch].
2693 Sun Dec 1 20:48:17 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2695 * Fixed CMODE setting in server when founder mode was set.
2696 Affected file silcd/command.c. Bug #95.
2698 * Added support to setting specific public key in CMODE in
2699 Irssi SILC client. Affected file lib/silcclient/command.c.
2701 * Added support to use specific public key in CUMODE in
2702 Irssi SILC Client. Affected file lib/silcclient/command.c.
2704 * Added support for inviting and banning by public key in
2705 Irssi SILC client. Affected file lib/silcclient/command.c.
2707 * Fixed fingerprint/babbleprint showing in invite and ban
2708 list command replys. Affected file is
2709 irssi/src/silc/core/client_ops.c.
2711 Sun Dec 1 16:32:03 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2713 * Format CMODE +c and +h to display both the mode and the argument
2715 Sun Dec 1 18:17:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2717 * Added test vectors and test programs for SHA-1, MD5,
2718 HMAC-SHA1 and HMAC-MD5. New tests are located in
2719 lib/silccrypt/tests/. Fixed also argument decoding bug in
2720 MD5 implementation. Affected file lib/silccrypt/md5.c.
2722 * Changed the channel private key and private message key
2723 generation (with static keys) to use SHA1 instead of MD5,
2724 as SHA1 is the mandatory hash function in SILC. Affected
2725 file lib/silcclient/client_[channel/prvmsg].c.
2727 * Changed the private key file encryption to use SHA1 instead
2728 of MD5. Added support for the old generation and added
2729 automatic change of the key (to be removed later). Affected
2730 files lib/silccrypt/silcpkcs.c.
2732 Sat Nov 30 19:07:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2734 * Load only files with .pub suffix in PublicKeyDir. Affected
2735 file silcd/serverconfig.c.
2737 Sat Nov 30 14:29:34 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
2739 * Extended the SILC_SERVER_LOG_ERROR macro to all available logging
2740 channels. Affected files silcd/silcd.c, silcd/server.h.
2742 * Added the config directive PublicKeyDir for the client block.
2743 Affected files doc/exampe_silcd.conf.in, silcd/serverconfig.[ch].
2745 Sat Nov 30 09:30:55 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2747 * Merged Toni's irssi/silc.conf patch.
2749 * ROBODoc cleanup patch to lib/silccrypt/silcpkcs.h by johnny.
2751 * Max alloc tests in allocation routines. Affected file
2752 lib/silcutil/silcmemory.c.
2754 Fri Nov 29 23:44:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2756 * Fixed a typo in resuming code that fixed detach/resume code
2757 in server. Bug #93. Affected file silcd/packet_receive.c.
2759 Thu Nov 28 17:17:11 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2761 * Do reverse lookups for server when /connecting. Affected files
2762 irssi/silc.conf, irssi/src/core/servers.c, irssi/src/core/network.c,
2763 irssi/src/core/net-nonblock.*
2765 Thu Nov 28 16:19:18 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2767 * Added library versioning for shared libraries. Affected
2768 files configure.in.pre and lib/Makefile.am.pre.
2770 Wed Nov 27 21:51:52 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2772 * Display INVITE and BAN lists as specified by SILC 1.2
2774 Wed Nov 27 16:01:11 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2776 * Do not send invite list back unless asked (when sending
2777 no arguments) or when list was modified. Affected file
2780 * Remove client from invite list in KILLED notify and in
2781 KILL command. Affected file silcd/command.c and
2784 * Fixed bugs in invite list handling in INVITE command.
2785 Affected files silcd/command.c and silcd/server_util.c.
2787 * Merged with Irssi 0.8.6.
2789 * Fixed UTF-8 in Irssi SILC Client, setlocale was missing.
2790 Affected file irssi/src/fe-text/silc.c.
2792 Mon Nov 25 18:21:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2794 * The silc_argument_get_[first/next] now return the argument
2795 type to caller. Added silc_argument_payload_encode_one.
2797 Affected files are lib/silccore/silcargument.[ch].
2799 * Added support for the SILC 1.2 INVITE command and new
2800 invite lists to server. Affected files are silcd/command.c,
2801 silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2803 * Added support for the SILC 1.2 BAN command and new
2804 ban lists to server. Affected files are silcd/command.c,
2805 silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2807 * Added support to client sending new INVITE command. Affected
2808 file is lib/silcclient/command.c.
2810 * Added support to client sending new BAN command. Affected
2811 file is lib/silcclient/command.c.
2813 * Added support for removing client from invite list when kicked
2814 from channel, as SILC 1.2 dictates. Affected files are
2815 silcd/packet_receive.c and silcd/command.c.
2817 Sun Nov 24 18:26:42 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2819 * If iv argument to silc_cipher_[encrypt/decrypt] is NULL, use
2820 automatically the cipher's internal IV. Affected files
2821 lib/silccrypt/silccipher.[ch].
2823 * Assure the RESUME_CLIENT packet is not sent to twice to
2824 backup router if the detached client was originated from
2825 the backup. Affected file silcd/server.c. Bug #76.
2827 * Changed silc_sim_symname to not allocate memory. Affected
2828 file lib/silcsim/silcsimutil.c.
2830 * Fixed memory leaks with SIMs in server. Affected files
2831 silcd/serverconfig.c, silcd/server.c.
2833 * Fixed channel key distribution after resuming detached
2834 client. Affected files silcd/packet_receive.c.
2836 * Fixed channel's global_user boolean checking after detaching.
2837 Check it after changing the owner of the client not before.
2838 Affected file silcd/packet_receive.c.
2840 * Fixed few double frees from client library. Fixes at least
2841 Bug #81, possibly others too.
2843 * UTF-8 decode topics also in JOIN command reply and TOPIC_SET
2844 notifys in Irssi SILC Client. Affected file is
2845 irssi/src/silc/core/client_ops.c. Bug #82.
2847 * Applied Ville Räsänen's manual page and --mandir bugfix
2848 patch. Affected files are configure.in.pre and Makefile.am.pre.
2851 Fri Nov 22 18:34:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2853 * Added support to backup router protocol for backup to tell
2854 normal server that it cannot use the backup router as primary
2855 because the primary isn't really down. Updated protocol
2858 * Added support for primary router to tell backup router that
2859 resuming is not possible because the backup really isn't primary
2860 in the cell. For example if backup disconnected itself the
2861 resuming is not allowed since the primary really did not
2862 go down. Updated protocol specs.
2864 * Removed MARS from crypto library.
2866 * Defined the CTR mode and Randomized CBC mode in SILC. The
2867 CTR mode is RECOMMENDED now in specification. Defined also
2868 Serpent cipher as optional cipher. Updated the protocol specs.
2870 Thu Nov 21 12:43:28 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2872 * Added support for inviting/banning by IP/MASK, public key,
2873 and explicit Client ID. Redefined the command and notify
2874 types to allow easier forwards support for other methods
2875 of inviting/banning. Updated protocol specs.
2877 * Remove the client from channel's invite lists if the client
2878 is kicked or killed. Updated protocol specs.
2880 * Unified the Channel Message Payload and Private Message
2881 into one Message Payload. Updated protocol specs and
2884 Tue Nov 19 22:30:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2886 * Don't wait for EOF after socket error has occurred, but
2887 close the connection. Affected file is silcd/server.c.
2889 Mon Nov 18 18:58:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2891 * Added support for setting FOUNDER mode on channel with
2892 specific public key which can be set with CMODE command.
2893 Updated protocol specs and implemented in client and server.
2895 * Fixed the Irssi SILC client to correctly shutdown the client
2896 library to avoid memory leaks. Affected files are
2897 irssi/src/silc/core/silc-core.c and silc-servers.c.
2899 * Deprecated the No Reply flag in SKE protocol and introduced
2900 "IV Included" flag which can be used to indicate that the IV
2901 is included in the ciphertext. This makes it possible to use
2902 SILC on unreliable transport, such as UDP which may cause
2903 packet reordering and losses. Updated protocol specs, did
2906 Sun Nov 17 15:50:57 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2908 * Fixed the MPI implementation of silc_mp_sizeinbase to return
2909 < 32 bit values in correct size. Affected file is
2910 lib/silcmath/mp_mpi.c.
2912 Sat Nov 16 13:14:45 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2914 * Fixed the KE Start Payload parsing to check that mandatory
2915 fields are present. Affected file lib/silcske/payload.c.
2917 * Fixed compilation warnigs in Irssi SILC Client. Affected
2918 files are irssi/src/silc/core/silc-query.c. client_ops.c.
2920 Thu Nov 14 19:33:28 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2922 * Print "nick now appears as newnick" and update Irssi's nicklist
2923 when you change your nick to "nick". Closes #62
2925 * Never format your own nick. Closes #63
2927 Thu Nov 14 09:44:54 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2929 * SILC_UMODE_GONE changes are now propagated correctly to the
2930 Irssi client. Closes #54
2932 Tue Nov 12 19:42:18 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2934 * Fixed example in /HELP KEY
2936 * Added expando $j which expands to current SILC Client version
2938 Tue Nov 12 19:46:39 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2940 * Fixed public key decoding in crypto library.
2942 * Added better error printing to SKE library.
2944 Tue Nov 12 08:50:12 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2946 * Fixed NICK command to not crash if nickname was not sent.
2948 Mon Nov 11 19:32:00 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2950 * Added Encrypt-Then-MAC order to SILC packet MAC generation.
2951 Deprecated the old Encrypt-And-MAC order. Updated protocol
2952 specs and implemented.
2954 * Added Encrypt-Then-MAC order to Channel Message Payload MAC
2955 generation. Updated specs and implemented.
2957 Sun Nov 10 12:20:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2959 * Added support for rekey before 2^32 sequence number wraps.
2960 Affected files in server and client library.
2962 * Padding must be at least 8 bytes now. Implemented and updated
2965 * Compute maximum padding for authentication packets to make
2966 passphrase approximation attacks impossible. Affected files
2967 in client library and in server.
2969 * Fixed PING command sending in client library and handling in
2970 server. The server ID must be ID Payload, not raw ID data.
2971 Affected files in server and client library.
2973 * Defined that all public keys sent in commands and notify
2974 payloads are actually Public Key Payloads not raw public key
2975 data. Updated protocol specs and implemented.
2977 * Updated protocol version to 1.2. Updated specs and code.
2979 * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED
2980 status types. Updated specs and the code.
2982 * Added support for normal client to kill its own entries from
2983 the network. Updated protocol specs and the code.
2985 * Defined the SILC_MESSAGE_FLAG_SIGNED. Updated protocol specs
2986 and added initial implementation.
2988 * Added MAC field to the Private Message Payload to protect
2989 against chosen ciphertext attacks. Updated the protocol specs
2992 * Added idle and signon fields to the ATTRIBUTE_SERVICE
2993 attribute to indicate the user's current idle and signon time
2994 of a service. Updated protocol specs and implemented.
2996 Thu Nov 7 19:21:10 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2998 * Added "do_not_bind" argument to silc_client_file_send what
2999 can be used to not bind locally but assume the file receiver
3000 provides the point of connect. Usefull when sender is behind
3001 NAT device. Affected file lib/silcclient/silcclient.h and
3004 * Added -no-listener option to FILE SEND command in Irssi SILC
3005 client. Affected file irssi/src/silc/core/silc-servers.c.
3006 Renamed FILE RECEIVE to FILE ACCEPT.
3008 * Confirm passphrase for private key encryption in
3009 silc_create_key_pair and silc_change_private_key_passphrase.
3010 Affected files are lib/silcutil/silcapputil.c.
3012 Thu Nov 7 10:05:28 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3014 * Move silc_client_packet_send back to internal, added
3015 silc_client_send_packet, a bit simpler function for application.
3016 Affected files lib/silcclient/silcclient.h, client.c and
3019 * Moved the SilcClientEntry, SilcChannelEntry and
3020 SilcServerEntry to silcclient.h to be public and documented
3021 them for application. Affected files are
3022 lib/silcclient/silcclient.h and idlist.h.
3024 Wed Nov 6 17:18:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3026 * Fixed manual page installation patch by Ville Räsänen.
3027 USERS help page fix patch by Ville Räsänen
3029 * Changed the silc_client_command_call interface to make
3030 the command call simpler for the application. The library
3031 now handles the command line parsing, command finding and
3032 execution. Application only needs to call the function
3033 with the command line. Affected files are
3034 lib/silcclient/silcclient.h, command.[ch].
3036 * Fixed silc_get_input to NULL-terminate the returned input.
3037 Affected file lib/silcutil/silcutil.c.
3039 * Resolve the client's public key in JOIN command if the
3040 founder auth data is being requested but we don't know the
3041 client's public key. Affected file silcd/command.c.
3044 Mon Nov 4 16:02:59 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3046 * Print notify for server opers when backup router comes
3047 online. Affected file silcd/server.c.
3049 * Fixed the INVITE command to send the invite list in
3050 command reply. Affected file silcd/command_reply.c.
3052 * Fixed MOTD command reply sending. Affected file
3055 * UTF-8 decode the topic in TOPIC command reply and LIST
3056 command reply in Irssi SILC client. Affected file is
3057 irssi/src/silc/core/client_ops.c.
3059 Sun Nov 3 17:59:15 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3061 * Fixed the INVITE command to not crash Irssi SILC client
3062 when given without nickname argument. AFfected file
3063 irssi/src/silc/core/client_ops.c.
3065 * Fixed double free in WHOIS query on normal server when
3066 forwarding query to router. Affected file is
3067 silcd/server_query.c.
3069 * Fixed WATCH command reply handling on normal server which
3070 was missing altogether. Affected file silcd/command_reply.c.
3073 Sun Nov 3 00:42:05 EET 2002 Mika Boström <bostik@lut.fi>
3075 * Added man-pages for silc(1), silcd(8) and silcd.conf(5).
3076 Included yodl sources for each of these. Also modified
3077 Makefile.am prototype to install these files to proper
3078 locations. Updated CREDITS. Affected file Makefile.am.pre,
3079 new files doc/*.yo, doc/silc.1, doc/silcd.conf.5,
3082 Sat Nov 2 21:26:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3084 * Added support for encrypted private key files. Now
3085 passphrase must be provided when new key pair is created
3086 (can be empty though), and prompted when loading the
3087 private key. Added support for loading the old-style
3088 non-encrypted private keys as well. Affected files
3089 lib/silccrypt/silcpkcs.[ch], Irssi SILC client and
3092 * Fixed silc_get_input to accept input on all terminals.
3093 Affected file lib/silcutil/silcutil.c.
3095 * Moved the Irssi SILC client key loading and other stuff
3096 to be called after the arguments and UI is initialized.
3097 Affected file irssi/src/silc/core/silc-core.c. Bug #31.
3099 * Added -P option to Irssi SILC client which can be used
3100 to change the passphrase of the private key. Affected
3101 file irssi/src/silc/core/silc-core.c.
3103 * Added silc_change_private_key_passphrase apputil routine
3104 to lib/silcutil/silcapputil.[ch].
3106 Sat Nov 2 12:53:09 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3108 * Fixed connection closing in client library to not crash.
3109 Moved the connection freeing totally to function
3110 silc_clinet_del_connection. Affected file
3111 lib/silcclinet/client.c.
3113 Fri Nov 1 18:57:02 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3115 * Changed includes/silcincludes.h to silcincludes.h.in to
3116 include configuration specific information. The silcdefs.h
3117 is not included in to installation anymore (it's only
3118 compilation time header).
3120 Fri Nov 1 10:30:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3122 * Moved the SilcClient and SilcClientConnection from client.h
3123 to the public lib/silcclient/silcclient.h. Changed the
3126 Thu Oct 31 22:44:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3128 * If version string in silc_clinet_alloc is NULL the library
3129 puts it automatically. Affected file lib/silcclient/client.c.
3131 * Changed the version strings from variables to #define's
3132 in includes/silcversion.h.
3134 Wed Oct 30 16:17:30 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3136 * Added shared library complation support.
3138 Tue Oct 29 21:48:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3140 * Added lib/silcutil/silcapputil.[ch] for application
3141 utility functions. It includes routines for applications'
3142 convenience. Added silc_create_key_pair, silc_show_public_key
3143 and silc_load_key_pair functions.
3145 Tue Oct 29 17:36:44 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3147 * Send RESUME_CLIENT packet from router to backup routers
3148 to in resuming. Affected file silcd/packet_receive.c.
3150 Mon Oct 28 21:23:39 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3152 * In IDENTIFY command parsing, send all other IDs except
3153 Client IDs explicitly to router for resolving on normal
3154 server. Also check that ID received in WHOIS command is
3155 always Client ID, others are not allowed. Affected file
3156 silcd/server_query.c.
3158 * Merged latest changes from irssi.org CVS.
3160 Sun Oct 27 11:44:32 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3162 * Merged c0ffee's /set heartbeat patch to Irssi SILC client.
3163 Affected files irssi/src/silc/core/silc-core, silc-server.c.
3165 * Fixed the heartbeat sending in Irssi SILC client. Moved
3166 the silc_client_packet_send to silcclient.h for application
3167 usage. Affected files lib/silcclient/client_internal.h
3168 lib/silcclient/silcclient.h.
3170 * Fixed a bug in query resolving in server. Used wrong
3171 variable in a for loop and crashed. Affected file is
3172 silcd/server_query.c.
3174 * Server constructs requested attributes only to locally
3175 connected clients. Affected file silcd/server_query.c.
3178 * Fixed a bug when sending resolving from router to server
3179 with requested attributes. The constructed WHOIS command
3180 was incorrect. Affected file silcd/server_query.c.
3183 * Fixed Requested Attributes saving in WHOIS command reply.
3184 The length of the data buffer must be saved too. Affected
3185 file silcd/command_reply.c.
3187 * Update the client entry's servername after detaching is
3188 over. Affected file silcd/packet_receive.c. Bug #37.
3190 * Resolve incomplete client entrys in CUMODE_CHANGE and
3191 CMODE_CHANGE notifys. Affected file is
3192 lib/silcclient/client_notify.c. Bug #42.
3194 Thu Oct 24 12:22:35 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3196 * Fixed channel key packet processing bug on backup router
3197 during backup resuming protocol. Affected file is
3198 silcd/packet_receive.c.
3200 * Fixed memory leaks in server. Affected files are
3201 silcd/server.c and silcd/packet_receive.c.
3203 * Fixed packet decryption problem when backup router encrypted
3204 channel message with wrong key during backup resuming
3205 protocol. Affected file silcd/packet_send.c.
3207 * ROBODoc documented lib/silccrypt/silccipher.h. A patch by
3208 Toni Willberg (toniw@iki.fi)
3210 * Changed the SilcCipher context to be private. Changed the
3211 silc_cipher_get_iv to just return pointer to the IV. Added
3212 silc_cipher_get_name to return the name of the cipher.
3213 Fixed code all around to support these changes. Affected
3214 files are lib/silccrypt/silccipher.[ch], client library and
3217 Wed Oct 23 19:01:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3219 * Fixed unaligned access in lib/silccore/silcattrs.c.
3221 * Fixed libtool linking in lib/silcsim/Makefile.am.
3223 * Fixed services attribute printing. Affected files is
3224 irssi/src/silc/core/silc-queries.c.
3226 Wed Oct 23 09:51:04 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3228 * Fixed a crashbug in incoming server accepting. Affected
3229 file silcd/server.c.
3231 Tue Oct 22 13:02:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3233 * Added automatically generated index to Toolkit Reference
3236 * Added support for Postscript Toolkit Reference Manual.
3238 Mon Oct 21 21:30:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3240 * Merged DISCONNECT fix, and autoconn port fix from Irssi
3243 Sun Oct 20 19:54:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3245 * Added 'send_events' boolean argument to the function
3246 silc_schedule_set_listen_fd which sends the set events to
3247 the application explicitly if set to TRUE. Default action
3248 should be FALSE. Affected file lib/silcutil/silcschedule.[ch],
3249 lib/silcclient/client_internal.h and silcd/server_internal.h.
3251 * Added silc_compare_timeval to determine which time values
3252 is smaller. Affected file lib/silcutil/silcutil.[ch].
3254 * Added sort-of "Quality of Service" (QoS) support to
3255 SilcSocketConnection. Data reception can be controlled with
3256 rate limit per second and/or read data length limit.
3257 Added silc_socket_set_qos. Affected files are
3258 lib/silcutil/silcsockconn.[ch] and unix/silcunixsockconn.c.
3260 * Added the QoS configuration to SILC Server configuration
3261 file. Affected files are silcd/serverconfig.[ch] and
3264 Sun Oct 20 14:12:24 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3266 * Merged with irssi.org CVS.
3268 * Failed OPER and SILCOPER authentications are now logged.
3269 Affected file silcd/command.c. Bugs #25.
3271 Sat Oct 19 13:32:15 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3273 * ROBODoc documented lib/silcutil/silcbuffer.h and
3274 lib/silcutil/silcdlist.h. Patch by Ville Räsänen
3275 <ville.rasanen@iki.fi>.
3277 Fri Oct 18 10:51:04 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3279 * Added support for auto-passphrase authentication from the
3280 config file during connecting which was not implemented
3281 yet. Affected file irssi/src/silc/core/client_ops.c.
3283 * Fixed a bug in authentication protocol failure handling which
3284 was processing wrong callback context. Affected files
3285 are lib/silcclient/client.c and protocol.c.
3287 * Fixed the /ATTR allow off to actually work. Affected file
3288 is irssi/src/silc/core/silc-queries.c.
3290 * Fixed the /ATTR -del to work. Affected file is
3291 irssi/src/silc/core/silc-queries.c.
3293 Thu Oct 17 23:45:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3295 * Fixed string formatting crashbug in lib/silccore/silcattrs.c.
3297 * Fixed mask attribute adding in Irssi SILC client. Affected
3298 file irssi/src/silc/core/silc-queries.c.
3300 Thu Oct 17 16:40:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3302 * Added support for saving the requested attributes in
3303 WHOIS to directory. Affected file is
3304 irssi/src/silc/core/silc-queries.c.
3306 Wed Oct 16 17:40:56 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3308 * Added support for parsing VCard fields that do not have
3309 the TYPE= for types. Affected file lib/silcutil/silcvcard.c.
3311 * Fixed a double free bug in hash table foreach function
3312 if the entry was deleted in the foreach callback. Affected
3313 file lib/silcutil/silchashtable.c.
3315 Tue Oct 15 18:05:24 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3317 * Added silc_attribute_get_verify_data to return the signature
3318 verification data for either user digital signature or
3319 server digital signature in Requested Attributes. Affected
3320 files are lib/silccore/silcattrs.[ch].
3322 * Added silc_vcard_alloc which is used to allocated dynamic
3323 SilcVCard context. The silc_vcard_free now checks whether
3324 the context is dynamically allocated or not. Affected files
3325 are lib/silcutil/silcvcard.[ch].
3327 Mon Oct 14 17:55:44 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3329 * Periodically remove the NOATTR status from client entry
3330 so that the client may take the attributes in use even after
3331 server has resolved them unsuccessfully earlier. Affected
3332 file silcd/server_query.c and idlist.h.
3334 * Moved sha1hash and md5hash from client->internal to
3335 SilcClient for application usage. Affected files are
3336 lib/silcclient/client.h and client_internal.h.
3338 * Fixed attribute encoding and decoding bugs. Affected
3339 files lib/silccore/silcattrs.[ch].
3341 * Added ATTR command to Irssi SILC Client which is used to
3342 manage user's Requested Attributes sending and values for
3343 WHOIS command. Affected files around Irssi SILC client.
3345 Mon Oct 14 14:33:54 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3347 * Added silc_buffer_strformat which can be used to format
3348 strings into a buffer which size is automatically increased.
3349 Affected file lib/silcutil/silcbuffmt.[ch].
3351 * Added implementation of VCard (RFC 2426) which can be used
3352 as part of Requested Attributes in WHOIS command. Affected
3353 file lib/silcutil/silcvcard.[ch].
3355 Fri Oct 11 23:52:17 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3357 * Some strncat -> silc_strncat changes our the core and
3360 * Added SILC_SKE_STATUS_SIGNATURE_ERROR and OUT_OF_MEMORY
3361 errors. Added better error printing to SKE library.
3362 Affected files lib/silcske/silcske.c, silcske_status.h and
3365 * Save the PKCS key length even if only private key is set to
3366 SilcPKCS. Affected file lib/silccrypt/silcpkcs.[ch] and rsa.c.
3368 * Fixed the usage of silc_pkcs_get_key_len since it returns the
3369 length in bits not in bytes. Affected files are
3370 lib/silcske/silcske.c, lib/silccore/silcauth.c and
3371 silcd/server_query.c.
3373 Wed Oct 9 17:22:57 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3375 * Added silc_attribute_payload_encode_data to directly encode
3376 the data into the attributes buffer. Renamed function
3377 silc_attribute_payload_parse_list to silc_attribute_payload_parse.
3378 Affected files are lib/silccore/silcattrs.[ch].
3380 * silc_hash_table_find_foreach calls the foreach function now
3381 once even if the nothing was found with context set to NULL.
3382 Affected file lib/silcutil/silchashtable.[ch].
3384 * Remove the RESOLVING flag from client entry after received
3385 the Requested Attributes from the client. Fixed memory leak
3386 in client entry freeing. Affected files silcd/server_query.c
3389 * Added Requested Attributes support into SILC Client Library.
3390 It is not able to send requested attributes in WHOIS command,
3391 and also receive and process requested attributes. Added
3392 silc_client_attribute_[add|del] and silc_client_attributes_get
3393 functions. Added also `ignore_requested_attributes' to the
3394 SilcClientParams to not use attributes in client. Affected
3395 files are lib/silcclient/command.c, client_attrs.[ch],
3396 silcclient.h, client_internal and client.[ch].
3398 * Changed the silc_client_get_client_by_id to support Requested
3399 Attributes, it takes them as argument now. Affected file
3400 is lib/silcclient/silcclient.h, and idlist.c.
3402 * Added -details option to WHOIS command in Irssi SILC Client
3403 to support the requested attributes. By default it requests
3404 all attributes. Affected file lib/silcclient/command.c and
3405 irssi/doc/help/in/whois.in.
3407 Tue Oct 8 17:58:28 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3409 * Add also SERVICE attribute for server-constructed attribute
3410 data. Also digitally sign the attributes and add
3411 SERVER_DIGITAL_SIGNATURE attribute. Affected file is
3412 silcd/server_query.c.
3414 Mon Oct 7 18:25:35 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3416 * Changed the silc_attribute_payload_encode to support list
3417 of attributes (function may be called several times to add
3418 a new attribute). Removed the silc_attribute_payload_encode_list
3419 function. The encoding function now also automatically encodes
3420 the data, so the caller does not need to do that. Affected
3421 files lib/silccore/silcattrs.[ch].
3423 * Added support for replying on behalf of the user to the
3424 Requested Attributes in WHOIS command in the server. Affected
3425 file silcd/server_query.c.
3427 * SILC_NOT_IMPLEMENTED macro use SILC_LOG_INFO now instead of
3428 SILC_LOG_DEBUG. Affected file lib/silcutil/silclog.h.
3430 Sun Oct 6 16:48:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3432 * Don't swtich to become primary router if we are backup if
3433 decryption error has occurred. Affected file silcd/server.c.
3435 * Fixed a bug in backup router IP address comparison in
3436 silc_server_backup_get.
3438 Save now also the port of the server/router and use that
3439 in comparison as well. Affected file silcd/server_backup.c.
3441 * Normal server now reconnects to backup router automatically
3442 if connection is lost to it. Affected file silcd/server.c.
3444 Thu Sep 26 13:51:02 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3446 * If packet processing fails (like integrity check fails)
3447 the connection is closed now. Affected files are
3448 lib/silccore/silcpacket.c and silcd/server.c.
3450 Mon Sep 23 10:59:39 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3452 * Fixed double free in RSA public key set function
3453 silc_rsa_set_public_key. Affected file lib/silccrypt/rsa.c.
3456 Sun Sep 22 14:54:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3458 * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server.
3459 Added server_query.[ch] which provides one interface for
3460 querying information using all three commands.
3462 * Changed all "typedef unsigned char" in core library to
3463 "typedef SilcUInt8".
3465 Sat Sep 21 21:36:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3467 * Added silc_strncat into lib/silcutil/silcstrutil.[ch].
3469 * Renamed silc_server_get_client_resolve to
3470 silc_server_query_resolve and moved to server_query.[ch].
3472 Wed Sep 18 18:28:04 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3474 * Resumed client packet handling from server put the resumed
3475 client on wrong list on router and caused the client not
3476 be present on the network anymore. Now fixed to put the
3477 client to correct list. Affected file silcd/packet_receive.c.
3479 Wed Sep 18 15:13:48 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3481 * Various cleanup in error message output in config parsing code
3482 and in server init code. Fixed error log files containing
3483 too many newlines ('\n') in some situations. Affected files are
3484 silcd/serverconfig.c, silcd/silcd.c, and silcd/server.c.
3486 Wed Sep 18 10:51:23 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3488 * Use the reverse lookupped hostname in client internals
3489 instead of one user provided us as remote server name.
3490 Affected file lib/silcclient/client.c.
3492 Mon Sep 16 12:02:54 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3494 * Added 'app_context' to silc_schedule_init. It is an
3495 application specific context that is delivered to application
3496 in task callback functions. Affected files are
3497 lib/silcutil/silcutil.[ch].
3499 * The hb_context in SilcSocketConnection is not freed
3500 automatically anymore (application must free it). Freeing
3501 it automatic is inconsistent. Affected files are
3502 lib/silcutil/silcsockconn.[ch].
3504 Sun Sep 15 22:16:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3506 * Added support for removing explicitly added client connections
3507 in rehash and closing the client connections if they were
3508 unconfigured in the rehash. Affected file silcd/server.c.
3510 * Added support for aborting automatically pending commands
3511 that never receives the reply (to avoid memory leaks).
3512 Added also silc_server_command_pending_timed to set the
3513 specific timeout for pending command. Affected files are
3514 silcd/command[_reply].[ch].
3516 * Added SILC_STATUS_ERR_TIMEDOUT status. Updated protocol
3517 specs and lib/silccore/silcstatus.h.
3519 Sun Sep 15 12:25:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3521 * Changed the silc_get_time to accept time value as argument
3522 or if zero is sent return current local time. Affected
3523 file lib/silcutil/silcutil.[ch].
3525 * Added STATS command to client library and Irssi SILC client.
3526 Patch provided by Ville Räsänen <ville.rasanen@iki.fi>.
3528 Wed Sep 11 09:22:00 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3530 * Assure that channel key is set before sending it. May
3531 crash server otherwise. Affected file silcd/packet_send.c.
3533 Tue Sep 10 09:50:08 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3535 * Assure that endless loop cannot happen with detached client
3536 resolving on normal server. Added idlist status
3537 SILC_IDLIST_STATUS_RESUME_RES. Affected files are
3538 silcd/idlist.h and silcd/packet_receive.c.
3540 Mon Sep 9 12:18:18 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3542 * Incoming file transfer request cannot use same session as
3543 the sending session. This can happen when sending file to
3544 yourself. Crashed the client on quit. Affected file
3545 lib/silcclient/client_ftp.c. Bug #24.
3547 Sun Sep 8 18:39:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3549 * Implemented the draft-riikonen-precense-attrs draft and
3550 the Attribute Payload into the lib/silccore/silcattrs.[ch].
3552 Sun Sep 8 13:13:44 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3554 * Distribute the SERVER_SIGNOFF notify also to local backup
3555 routers from the primary router. The backup router may not
3556 have the signing of local server directly connected and need
3557 to know about the signoff. Affected file silcd/server_util.c.
3559 * Use the primary router as the origin of the locally connected
3560 server when it is disconnecting from the backup router since
3561 that's where it really is coming from. Now the clients from
3562 the disconnecting server are removed correctly and "shadow"
3563 clients are not left to the backup router. Affected file
3566 Sat Sep 7 22:26:50 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3568 * If normal server is standalone and found existing but disabled
3569 channel, do not re-create the channel since it creates
3570 duplicate same channels. Affected file silcd/server.c.
3572 * Added anonymous client connections support to server. New
3573 "anonymous" configuration option to ConnectionParams section
3574 added. If set to true, the username and hostname information
3575 of the client will be scrambled and anonymous user mode is
3576 set automatically to the user. Affected files are
3577 silcd/serverconfig.[ch], silcd/packet_receive.c and server.c.
3579 Sat Sep 7 16:02:09 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3581 * In JOIN notify handling, mark that the cache entry of the
3582 client cannot be expired. Can cause crashes on normal
3583 server (asserts client->channels). Affected file is
3584 silcd/packet_receive.c.
3586 * From now on distribution versions are used as protocol versions
3587 instead of by default using the Toolkit base version as protocol
3588 version. Affected file prepare.
3590 * Do not set the locally resolved hostname for local client
3591 entry but take what server sends. This way the real hostname
3592 is showed in WHOIS for yourself. Affected file is
3593 lib/silcclient/idlist.c and lib/silcclient/client.c.
3595 * Resolve local info with IDENTIFY when connecting to server.y
3597 Sat Sep 7 14:22:43 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3599 * Rewritten check for POSIX threads. Use --with-pthreads[=DIR]
3600 for implied search (not needed on platforms which has native
3601 pthreads library). Use --without-pthreads to disable threads.
3602 Affected file is configure.in.pre
3604 * Fixed --with-iconv on platforms which need to bypass (broken)
3605 native iconv(). Affected file is configure.in.pre
3607 Sat Sep 7 15:08:13 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3609 * Moved -C option parsing in Irssi SILC client at same time
3610 as other options. The UI was initialized earlier and caused
3611 problems on command line. Bug #16. Affected file is
3612 irssi/src/silc/core/silc-core.c.
3614 Mon Sep 2 23:00:30 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3616 * Added global variable silc_log_timestamp that tells silclog
3617 wether to print or not the timestamp in the logging files.
3618 Affected file lib/silcutil/silclog.[ch].
3620 * Added silcd configuration option Timestamp in the Logging
3621 section. Affected file silcd/serverconfig.[ch],
3622 doc/example_silcd.conf.in.
3624 Fri Aug 30 08:57:33 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3626 * Fixed fingerprint checking to check for entirely empty
3627 fingerprint instead of two first bytes when determining
3628 if it is set. Bug #18. Affected file silcd/command.c.
3630 * Fixed duplicate PKCS name registering to not allow it.
3631 Bugs #17. Affected file lib/silccrypt/silcpkcs.c.
3633 Sun Aug 25 08:02:04 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3635 * Conditionalize non-gcc compiler optimizations for various
3636 platforms, enable those commented out. Cleanups.
3637 Affected file lib/silcmath/mpi/configure.in
3639 Sat Aug 24 15:11:32 EEST 2002 Timo Sirainen <tss@iki.fi>
3641 * silc_rng_exec_command() left zombie processes if command
3642 didn't generate any output. Affected file
3643 lib/silccrypt/silcrng.c
3645 Fri Aug 23 22:05:44 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3647 * Rewrote iconv checking, introduce --with-iconv for systems
3648 which rely on libiconv. Check if iconv() provided by libc
3649 is good enough, otherwise demand libiconv. Affected file
3652 Fri Aug 23 07:10:52 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3654 * Search for ldopen() also in libc. This enables SIM support
3655 on *BSD systems. Based on patch from Alex Zepeda. Affected
3656 file configure.in.pre
3658 Sun Aug 18 04:44:30 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3660 * Don't call AM_CONDITIONAL conditonally for SILC_THREADS.
3661 This fixes prepare on *BSD systems. Affected file
3664 Sun Aug 4 15:55:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3666 * More fixed for not having purge timeout for global clients
3667 that are on channel. Affected files silcd/command_reply.c
3670 * Fixed the rekey protocol to work with backup router connections.
3671 Rekey packets are now allowed on disabled connections as
3672 well. Affected files silcd/packet_send.c and server.c.
3674 * Do not switch to be as backup router when shutting down and
3675 closing the primary connection. Affected file silcd/server.c.
3677 * Fixed memory leaks in backup router deleting. Added
3678 silc_server_backup_free to free all data during shutdown of
3679 server. Affected files silcd/server_backup.[ch].
3681 Sun Jul 14 21:33:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3683 * Do not process commands if the sock->user_data is NULL.
3684 Affected file silcd/command.c.
3686 Tue Jul 9 19:03:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3688 * Fixed buffer overflow and security problems (loosing bits
3689 in CFB encryption) in SILC RNG. Problems reported by
3690 Markku-Juhani O. Saarinen <mjos@saturn.tcs.hut.fi>.
3692 Sun Jul 7 13:10:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3694 * Added yet more checks that client is not expired on global
3695 list if it is on channels. Affected file is
3696 silcd/command_reply.c.
3698 Sat Jul 6 11:45:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3700 * Merged c0ffee's MIME signal patch which adds support for
3701 sending also MIME messages in Irssi SILC Client, and handling
3702 received MIME messages in a signal (and perhaps doing something
3703 to non-textual MIME messages).
3705 Sun Jun 30 01:30:22 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3707 * Fixed pending command deletion in server and client library
3708 to check the whole list instead of breaking after first found.
3709 The affected files are silcd/command.[ch] and
3710 lib/silcclient/command.[ch].
3712 Sat Jun 29 17:40:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3714 * Return NO_SUCH_CHANNEL error in USERS for channel that is
3715 secret or private, otherwise it's possible to find out
3716 whether a secret channel exists or not. Affected file
3719 * If CMODE change fails during the mode setting, assure that
3720 the old mode mask is set for the channel back. Affected
3721 file silcd/command.c.
3723 * Fixed passphrase saving on +a channel on normal server
3724 after successful JOIN command. Affected file silcd/command.c.
3726 Fri Jun 28 11:53:25 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3728 * Remove server/router operator privileges in DETACH command,
3729 since it's possible to resume to server where these
3730 privileges would not be allowed for the client. Affected
3731 file silcd/command.c.
3733 * Do not set to wait for backup in rehash of the server.
3734 Affected file silcd/server.c.
3736 * Do not check listener sockets when counting how many
3737 socket connections we have. Affected file is
3738 silcd/server_util.c.
3740 * Do not announce disconnected clients that are remaining
3741 in history (for WHOWAS). This is because SIGNOFF notify
3742 for these has been sent earlier already. Affected file
3745 Thu Jun 27 20:07:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3747 * Buffer overflow with CUMODE command's mode->mode character
3748 conversion. Reported by Ville Räsänen. Affected file
3749 lib/silcutil/silcutil.c.
3751 Thu Jun 27 16:54:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3753 * Allow heartbeat packets to go disabled connections anyway.
3754 Affected files silcd/server.c and silcd/packet_send.c.
3756 * Do not broadcast New Channel packets with List flag set
3757 in the packet to backup routers. The router must check
3758 for the correctness of the packets before sending them.
3759 It is possible that router will have enforce Channel ID
3760 change and this would cause desync in the backup router.
3761 Affected file silcd/packet_receive.c.
3763 * Remove SILC_PACKET_FLAG_LIST from the temp packets that
3764 are handled in list parsing. They are not list packets
3765 anymore. Affected file silcd/packet_receive.c.
3767 Thu Jun 27 11:27:07 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3769 * Stop waiting for backup router through the timeout, not
3770 directly after backup router has arrived. Affected file
3773 * Do not re-create channel keys and send them when removing
3774 clients in server shutdown. Affected files are
3775 silcd/server_internal.h and silcd/server_util.c.
3777 * Notify distribution to backup routers was missing from
3778 the silc_server_send_notify_dest function which caused
3779 desyncing problems with backup router. Affected file is
3780 silcd/packet_send.c.
3782 * The client's channel removing was working wrong on
3783 backup router. It assumed that it doesn't know global
3784 information but backup router does know. For this reason
3785 it could remove channel when it wasn't supposed to do that.
3786 Affected file silcd/server.c and silcd/server_util.c.
3788 Wed Jun 26 15:14:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3790 * Stop for a couple seconds after badkup router has become
3791 primary router. Affected file silcd/server.c.
3793 * Added silc_server_remove_servers_by_server, which is used
3794 to remove servers originated from some other server. Also
3795 clients of those servers can be removed too. Affected file
3796 silcd/server_util.[ch].
3798 * When removing clients after a server has signed of remove
3799 also all servers behind that server (unless they are known
3800 to be available locally), and send SERVER_SIGNOFF for each
3801 of the server separately. Also the signed off clients are
3802 sent now separately per signed off server. The affected files
3803 are silcd/server.c and silcd/server_util.[ch].
3805 * All servers added with silc_idlist_add_server must always
3806 have both "router" and "connection" pointers set. Otherwise,
3807 bad server entries may be left around in the cache.
3808 Affected file silcd/command_reply.c.
3810 * Do not create the channel key in NEW_CHANNEL packet
3811 processing if the channel is empty. Affected file
3812 silcd/packet_receive.c.
3814 * Completed backup router support for standalone routers.
3815 Supports also servers in the cell that do not use the backup
3818 Wed Jun 26 10:38:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3820 * Fixed a bug in silc_string_regexify which did not add '^'
3821 at the start of each string, and thus the matching was
3822 not explicit. For example ban list iikone@*!*@* would
3823 match also "priikone", which is wrong, it would have to be
3824 *iikone@*!*@* to match also "priikone". Affected
3825 file lib/silcutil/unix/silcunixutil.c.
3827 Tue Jun 25 18:47:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3829 * Enable all local server connections before updating client
3830 caches when we've become backup router. Otherwise, signoff
3831 packets may not reach the clients. Affected files are
3832 silcd/server.c and silcd/server_util.[ch].
3834 * Fixed a bug in version string parsing which could crash
3835 the program with specially formatted version string.
3836 Bug reported and patch provided by Ville Räsänen. Affected
3837 file lib/silcutil/silcutil.c.
3839 * Handle the disconnection immediately when DISCONNECT
3840 packet is received in server. Affected file silcd/server.c.
3842 * Primary router now waits a short time (10 seconds) for
3843 backup router connection before accepting any other
3844 connection (except local). Affected file silcd/server.c,
3847 * Fixed a crash in client libary in NICK_CHANGE notify when
3848 NICK_CHANGE arrived for client entry we are resolving
3849 currently. Affected file lib/silcclient/client_notify.c.
3851 * Call the sconn->callback completion even if error had
3852 occurred. Start reconnecting always if connection to
3853 primary router fails during backup router protocol.
3854 Affected files silcd/server.c and server_backup.c.
3856 Mon Jun 24 17:47:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3858 * Added functions silc_server_send_opers and
3859 silc_server_send_opers_notify to send packets stricly
3860 to operators. Added macro SILC_SERVER_SEND_OPERS macro
3861 to send variable argument notify to operators.
3862 Affected files silcd/packet_send.[ch] and silcd/server.h.
3864 * Removed UMODE rights checking with UMODE_CHANGE notify.
3865 Affected file silcd/packet_receive.c.
3867 * Server/router operator now receives notify when network
3868 switches to backup router and when it resumes the use of
3869 primary router. Affected file silcd/server.c and
3870 silcd/server_backup.c.
3872 * Fixed the updating of client information after backup
3873 resuming protocol is over; update all except local clients
3874 to the new primary router. The affected file is
3875 silcd/server_util.c.
3877 * Added support for closing active connections in rehash
3878 that were unconfigured by the user. Supports currently
3879 closing server and router connections. Affected file
3882 * Rewrote some SILC_LOG_DEBUG's in silcd/server_backup.c.
3884 Sun Jun 23 17:32:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3886 * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer
3887 is NULL since seems that on some platforms NULL is allowed
3888 and on some it's not. Fallback encoding is used instead.
3889 Affected file lib/silcutil/silcstrutil.c.
3891 * Fixed statistics updating for incoming server connection
3892 which could cause problems when re-connecting. Affected
3893 file silcd/server.c.
3895 * Preliminary backup router support for standalone router
3896 added. Affected files in silcd/.
3898 * Mark server connections in backup router disabled before
3899 and after backup protocol. Affected file is
3900 silcd/server_backup.c.
3902 * Added support for reconnecting to remote server connection
3903 even if the protocol fails, and if the configuration wants
3904 us to keep trying to connect anyway.
3906 Server connection is not allowed to backup router if
3907 backup router does not have connection to primary router yet.
3909 Affected file is silcd/server.c.
3911 Sat Jun 22 21:34:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3913 * Added silc_client_udpate_server function to update changed
3914 server info. Affected file lib/silcclient/idlist.[ch].
3916 * Added check for server entries that are being resolved when
3917 notify is received. If being resolved, handle the received
3918 notify only after it's resolved so that all notifys are
3919 handled in same order as received from the server.
3921 Added similar resolver check to channel entries. Every
3922 notify that cause resolving of any information that affects
3923 channel entry marks the channel entry in waiting state.
3924 After whatever resolving is over the waiters are signalled
3925 and only then the notifys are handled in the same order
3926 as delivered from the server.
3928 Affected files are lib/silcclient/idlist.[ch], and
3931 * Fixed KILLED notify handling in normal server. Affected
3932 file silcd/packet_receive.c.
3934 * Added SILC_IDLIST_STATUS_LOCAL which indicates that entry
3935 is locally connected, or was locally connected (but may
3936 be detached and connection is not active). Added also
3937 SILC_IS_LOCAL for checking this status. Affected files
3938 silcd/idlist.h, silcd/packet_receive.c, silcd/server_util.c,
3939 silcd/server.c and silcd/server_internal.h.
3941 Sat Jun 22 17:06:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3943 * Don't send or handle TOPIC_SET if topic is already set and
3944 is same as being set. Affected files silcd/command.c and
3945 silcd/packet_receive.c.
3947 * Fixed CMODE change rights checking to work correctly when
3948 removing modes by operator. Affected file is
3949 silcd/server_util.c.
3951 * Fixed some handling with New Channel packet in router and
3952 fixed some CMODE_CHANGE notify handling in server and router.
3953 Affected file is silcd/packet_receive.c.
3955 * Changed "disconnect" client operation to include the
3956 reason of the disconnection and optional disconnection
3957 message. Affected file lib/silcclient/silcclient.h.
3959 * Made the compilation of lib/contrib/ stuff conditional.
3960 Affected files configure.in.pre, lib/contrib/Makefile.am.
3962 Sat Jun 22 12:49:21 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3964 * All CMODE_CHANGE and CUMODE_CHANGE notifys are now sent back
3965 to the sender of the notify too, to avoid situation where two
3966 notifys are in the network at the same time going to oppsite
3967 directions. Affected file silcd/packet_receice.c.
3969 Fri Jun 21 10:00:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3971 * Delete the client from channel even if the cilent->id is
3972 NULL. It was possible that client was deleted without
3973 removing from channels (theoretically at least). Affected
3974 file silcd/server.c and silcd/server_util.c.
3976 * Free the client data too when resuming is not successful.
3977 Affected file silcd/packet_receive.c.
3979 * Merged some code from c0ffee's silc-plugin. Affected files
3980 irssi/src/silc/core/silc-channels.c and silc-expandos.c.
3982 * Added SILC_PRIMARY_ROUTE and SILC_BROADXAST macros to
3983 silcd/server_internal.h. SILC_PRIMARY_ROUTE Returns pointer
3984 to the primary router connection, the other one returns
3985 TRUE if packet must be broadcasted to network.
3987 * All notifys that are destined to primary router (to network)
3988 are now automatically sent to backup routers even if the
3989 router is standalone (and has backup router). Affected files
3992 * Added --without-irssi and --without-silcd configuration
3993 options for disabling the compilation of these applications.
3994 Affected file configure.in.pre and prepare.
3996 Thu Jun 20 13:48:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3998 * Implemented SILC_STRING_BMP and SILC_STRING_UNIVERSAL for
3999 UTF-8 encoding and decoding. Added also new encodings
4000 SILC_STRING_BMP_LSB and SILC_STRING_UNIVERSAL_LSB.
4002 Added also SILC_STRING_LANGUAGE which is language and charset
4003 specific encoder and decoer for those platforms that support
4004 iconv(). It can convert the UTF-8 to and from the locale
4005 specific character set.
4007 Affected file lib/silcutil/silcstrutil.[ch].
4009 * Added macro SILC_NOT_IMPLEMENTED to lib/silcutil/silclog.h.
4011 * Added function silc_get_command_name to the file
4012 lib/silcutil/silcutil.[ch].
4014 * Improved the server debug output a bit. Affected files are
4017 Wed Jun 19 17:46:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4019 * Save the channel passphrase when received succesful JOIN
4020 command reply from router, on normal server. Otherwise
4021 joinig +a channels from normal server is not possible.
4022 Affected file silcd/command.c.
4024 * Fixed a bug in TOPIC_SET notify handling. The notifier
4025 may be other than client too, like server or channel.
4026 It expected it to always be only client and ignored the
4027 notify. Affected file silcd/packet_recieve.c.
4029 * Removed some (unnecessary) debug printing from
4030 lib/silccore/silcid.c and lib/silccore/silcargument.c.
4032 * Do not force CMODE_CHANGE when server is announcing new
4035 Router announces stuff only after server reannounces channel
4036 after CHANNEL_CHANGE notify.
4038 These fixes optimizes the announcing procedure, and perhaps
4039 fixes some problems too. Affected file silcd/packet_receive.c.
4041 * Fixed SERVER_SIGNOFF sending to local clients. It was
4042 totally broken and sent the notify to all local clients,
4043 instead of only to those that was on same channel as the
4044 signing off clients. Affected file silcd/server_util.c.
4046 * Added -D option to server. It can be used to give debug
4047 level. The levels are from 0 - 99, and are predefined for
4048 smooth server debugging. (see silcd.c for the predefined
4049 levels). Affected file silcd/server.c.
4051 Wed Jun 19 16:01:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4053 * Fixed a bug in Irssi SILC client to close the connection
4054 properly when disconnecting from server. Affected file
4055 irssi/src/silc/core/client_ops.c.
4057 Tue Jun 18 17:14:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4059 * When authenticating as founder during JOIN command, check
4060 that the one authenticating becomes the only founder on the
4061 channel. Affected file silcd/command.c.
4063 * Better checking for founder mode setting when CUMODE_CHANGE
4064 notify is received. Affected file silcd/packet_receive.c.
4066 * Close all connections when shutting down the server by sending
4067 DISCONNECT packet. Close all listeners too when shutting
4068 down the server. Affected file silcd/server.c.
4070 * Handle DISCONNECT packet correctly in client library by
4071 calling the "disconnect" client operation. Affected file
4072 lib/silcclient/client.c.
4074 * Handle local errors correctly during resuming. Affected
4075 file lib/silcclient/client.c.
4077 Tue Jun 18 10:26:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4079 * The log file is not dupped internally anymore in
4080 lib/silcutil/silclog.c. Fixed memory leaks too.
4082 * The scheduler now dispatches all pending timeout tasks
4083 when it is uninitialized with silc_schedule_uninit.
4084 Affected file lib/silcutil/silcschedule.c.
4086 Mon Jun 17 21:30:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4088 * Added --enable-stack-trace option to configure. Added
4089 memory allocation stack trace support. Added files
4090 lib/silcutil/stacktrace.[ch]. Affected files are
4091 lib/silcutil/silcmemory.[ch].
4093 * Fixed memory leaks from libraries and server. Affected
4094 files around the tree.
4096 * Reverted back a fix made to CUMODE which broke it.
4097 Affected file silcd/command.c.
4099 Sun Jun 16 11:49:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4101 * Added SILC_MESSAGE_FLAG_UTF8 to the protocol specs and the
4102 core library, and implemented it. All textual messages SHOULD
4103 use this flag and the message MUST be UTF-8 encoded.
4104 All text messages sent by Irssi SILC client are now UTF-8
4105 encoded (regardless whether the terminal supports UTF-8 or not).
4106 Affected files are lib/silccore/silcchannel.h,
4107 irssi/src/silc/core/silc-servers.c, silc-channels.c and
4110 Sat Jun 15 18:23:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4112 * Added lots of new statistics updating that was missing from
4113 the server and router code. Affected files in silcd/.
4115 * Sending SIGUSR1 signal to server now dumps the current
4116 server statistics into /tmp directory. Affected file is
4119 * ROBODoc documented the lib/silccrypt/silchash.h. Improved
4120 the SILC Hash Interface also. Added new functions
4121 silc_hash_get_name, silc_hash_init, silc_hash_update and
4122 silc_hash_final. Affected file lib/silccrypt/silchash.c.
4124 Sat Jun 15 12:09:14 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4126 * Added some better info printing for client during connecting.
4127 Affected file silcd/server_util.c.
4129 * Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
4130 to silence a user on a channel. Affected files are
4131 lib/silcclient/client_channel.c, irssi/src/silc/core/client_ops.c,
4132 irssi/src/fe-common/silc/module-formats.[ch], silcd/command.c
4133 and silcd/packet_receive.c.
4135 * Fixed a fatal bug in handling of malformed command payload.
4136 Affected file silcd/command.c.
4138 * Fixed a double free when announcing channel users to router.
4139 Affected file silcd/server.c.
4141 * After successful authentication to channel founder mode, check
4142 that there isn't anyone else with founder mode on the channel.
4143 The one that authenticated will become founder and anyone
4144 else is demoted. Affected file silcd/command.c.
4146 * Added error printing of any error that has occurred during
4147 any command in client library. Affected file is
4148 irssi/src/silc/core/client_ops.c.
4150 * Removed some error printing from the client library and left
4151 it for the application to worry (from the error status it
4152 receives in 'command' client operation. Affected file is
4153 lib/silcclient/command.c.
4155 Fri Jun 14 22:59:02 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4157 * Added new status types KEY_AGREEMENT_ALREADY_STARTED and
4158 KEY_AGREEMENT_SELF_DENIED to lib/silcclient/silcclient.h.
4159 Starting key agreement with itself is denied. Affected file
4160 is lib/silcclient/client_keyagr.c.
4162 * Fixed some error checkings from the SFTP library which caused
4163 misbehaviour. Affected files are lib/silcsftp/sftp_client.c
4164 and lib/silcsftp/sftp_util.c.
4166 * Added new "debug" and "debug_string" settings to Irssi SILC
4167 client which can be used to print runtime debugging on the
4168 Irssi's screen. Available when compiled with --enable-debug
4169 option. Affected file irssi/src/silc/core/silc-core.c.
4171 Tue Jun 11 16:36:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4173 * Fixed a missing variadic parameter in a function call that
4174 caused server crash when a non-allowed connection arrived.
4175 Reported by Richard Becker. Affected file silcd/server.c.
4177 Mon Jun 10 16:29:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4179 * Added WATCH list sending to backup routers from router.
4180 The WATCH command is sent by the router to the backup
4181 router. Affected file silcd/command.c.
4183 * Mark the backup_router flag for RouterConnection entry
4184 if the backup router stuff is defined in the config file.
4185 Affected file silcd/serverconfig.c.
4187 * Fixed some backup data sending around the code to work better
4188 if the router is standalone router. Not all places were fixed.
4189 Affected file silcd/packet_receive.c, silcd/packet_send.c,
4192 * Fixed the router connecting when connecting to multiple
4193 routers. It ignored every other router except the first
4194 one. Affected file silcd/server.c.
4196 Mon Jun 10 09:28:21 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4198 * Made the private key generation after expiration optional.
4199 If not created after expiration the old key will re-expire
4200 at a later time (and thus key pair is not necessary to
4201 change). Affected file irssi/src/silc/core/clientutil.c.
4203 Sun Jun 9 18:58:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4205 * The length arguments in bind() and connect() were wrong
4206 and fixed now to used SIZEOF_SOCKADDR in the
4207 lib/silcutil/unix/silcunixutil.c.
4209 Tue Jun 4 18:36:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4211 * Fixed detach timeout handling to use Client ID and not
4212 the actual client entry which may be freed in the callback.
4213 Affected file silcd/command.c.
4215 Thu May 30 15:53:45 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4217 * Merged c0ffee's multiple interface support patch.
4218 Affected files in silcd/.
4220 Wed May 29 18:08:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4222 * Cleanup keys properly. Affected file is
4223 irssi/src/silc/core/clientutil.c.
4225 Tue May 28 20:11:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4227 * Display the user mode on the status bar. Affected file
4228 irssi/src/silc/core/silc-expandos.c.
4230 Tue May 28 13:56:26 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4232 * If private message key is not set, but the flag is set in
4233 the packet, ignore the packet since it cannot be decrypted.
4234 Affected file lib/silcclient/client_prvmsg.c.
4236 Thu May 23 12:00:14 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4238 * When resuming client, remove the old client entry from
4239 the watcher list too. Affected file silcd/packet_receive.c.
4241 * Do not allow normal server to force founder mode away
4242 from router if the founder mode is already set. Affected
4243 file silcd/packet_receive.c.
4245 * Remove the client entry with watch notify types with short
4246 timeout, and not directly, so that other notifys can be
4247 retrieved too. Affected file lib/silcclient/client_notify.c.
4249 * Display notification about data messages that cannot be
4250 displayed. Affected files irssi/src/silc/core/client_ops.c,
4251 irssi/src/fe-common/silc/module-formats.[ch].
4253 Sun May 19 18:59:00 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4255 * Fixed the CHANNEL_CHANGE notify handling in client libary
4256 to not use freed memory. Affected file is
4257 lib/silcclient/client_notify.c.
4259 * Fixed CUMODE_CHANGE notify handling in server. Affected
4260 file silcd/packet_receive.c.
4262 * Fixed USERS command to support empty channels. Affected
4263 file silcd/command.c.
4265 Sat May 18 11:35:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4267 * Allow multiple identical pending commands to be registered
4268 in client library. Affected file is lib/silcclient/command.c.
4270 * Call the completion for resolving client information only
4271 after all resolvers has finished. This fixes a crash in
4272 the client. Added support for checking when the resolvers
4273 are finished. Affected file is lib/silcclient/idlist.c.
4275 * Wait by default 3 seconds before reconnecting to the server
4276 after being disconnected. Makes the /detach command a bit
4279 Fri May 17 17:23:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4281 * Check the watcher list before sending signoff notifys
4282 when closing client connection. Affected file is
4285 * Added better CMODE command rights checking. Affected file
4286 silcd/server_util.c.
4288 Fri May 17 08:33:41 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4290 * Fixed watcher list checking during server signoff. It
4291 crashed the server. Affected file silcd/server_util.c.
4293 * The JOIN command reply returns now the founder's public
4294 key. Affected file is silcd/command.c.
4296 * Announce the channel mode, and the mode properties with
4297 CMODE_CHANGE notify. Affected file silcd/server.c.
4299 * Mark new channels by default disabled, untill at least
4300 one user joins the channel. Affected file is
4301 silcd/packet_receive.c.
4303 Thu May 16 13:05:13 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4305 * The nickname argument to watch notify can be optional.
4306 Fixes a crash in server. Affected file silcd/packet_send.c.
4308 * Remove the client entry from cache if the WATCH notify type
4309 is KILLED, SERVER_SIGNOFF or SIGNOFF. Affected file is
4310 lib/silcclient/client_notify.c.
4312 * Check the watcher list before and after changing nickname
4313 when the NICK_CHANGE notify is received. Affected file is
4316 * Fixed a crash in OPER and SILCOPER command sending. Empty
4317 passphrase caused the crash. Affected file is
4318 lib/silcclient/command.c.
4320 Wed May 15 19:01:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4322 * Merged with Irssi CVS for Irssi SILC client.
4324 Tue May 14 19:37:48 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4326 * Completed the protocol specifications.
4328 Tue May 7 20:41:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4330 * Merged with Irssi CVS for Irssi SILC client.
4332 Tue May 7 11:07:16 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4334 * Added the founder's public key delivery to the
4335 CUMODE_CHANGE notify type as well. Updated the protocol
4336 specs and the code. Affected files are silcd/packet_send.[ch],
4337 silcd/packet_receive.c and silcd/command.c.
4339 Mon May 6 19:46:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4341 * Added silc_pkcs_public_key_copy function into the
4342 lib/silccrypt/silcpkcs.[ch].
4344 * Remove the `iv' from the SilcChannelEntry since we can
4345 live without it. Affected files are silcd/idlist.h and
4346 silcd/packet_receive.c.
4348 * Added support for sending the founder's public key in
4349 the CMODE_CHANGE notify packet in the server. Affected
4350 files are silcd/packet_send.[ch], silcd/packet_receive.c,
4351 silcd/command.c and silcd/server.c.
4353 * Changed the FOUNDER_AUTH authentication to use only
4354 public key authentication as defined by new protocol
4355 specs. Passphrase authentication with that mode cannot
4356 be used anymore. It is now possible to reclaim founder
4357 mode from any server in the network. Affected files are
4358 silcd/command.c, silcd/idlist.h and silcd/command_reply.c.
4360 * Added permanent channels support by making the channel
4361 permanent when FOUNDER_AUTH mode is set on the channel.
4362 The channel will not be destroyed even if channel is empty
4363 when that mode is set. Protocol TODO #17. Affected
4364 files are silcd/server.[ch], server_util.[ch],
4365 silcd/command.c, silcd/packet_receive.c and
4366 lib/silcclient/command.c.
4368 Fri May 3 18:36:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4370 * Added reference counter to the command reply context in
4371 the client library. Affected files are
4372 lib/silcclient/command_reply.[ch].
4374 Fri May 3 11:37:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4376 * Fixed rekey protocol with PFS in the client library.
4377 Affected file is lib/silcclient/protocol.c.
4379 * Added support for list of errors in client library
4380 command reply handling. Affected file is
4381 lib/silcclient/command_reply.c.
4383 * Defined that the WHOIS and IDENTIFY commands can send
4384 list of errors. Updated the protocol specs. Protocol
4387 * Added support for sending list of errors to WHOIS and
4388 IDENTIFY commands in server. Added support for receiving
4389 list of errors in server. Affected files are
4390 silcd/command.c and silcd/command_reply.c.
4392 * Fixed client info resolving on LEAVE command in client
4393 library to not crash. Affected file is
4394 lib/silcclient/client_notify.c.
4396 Thu May 2 08:45:11 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4398 * Defined that the NICK command replies with thew changed
4399 nickname too, to make the nickname changing simpler at
4400 the client's end. Updated protocol specs and the code
4401 in client and server. Affected files are
4402 silcd/command.c, lib/silcclient/command_reply.c and
4403 lib/silcclient/command.c.
4405 Mon Apr 29 20:10:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4407 * Added `Compressed' packet flag to indicate that the packet
4408 payload is compressed by the sender. Updated the protocol
4409 specs and the core library. The compression still is not
4410 implemented in the sources. Affected file is
4411 lib/silccore/silcpacket.h.
4413 Mon Apr 29 09:48:12 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4415 * Remove pending command callbacks also if the connection
4416 to the server is destroyed. Affected file is
4417 lib/silcclient/client.c.
4419 Sat Apr 27 19:52:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4421 * Added new QUIET channel user mode that can be used to
4422 quiet a user in a channel. Updated the protocol specs but
4423 it wasn't implemented yet. Protocol TODO #27. Affected
4424 file is lib/silccore/silcmode.h.
4426 Mon Apr 22 09:09:44 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4428 * Added BLOCK_INVITE user mode to be able to block incoming
4429 invite notifications. Protoocol TODO #26. Affected files
4430 are lib/silccore/silcmode.h, lib/silcclient/command.c and
4433 * SILC Publickey fields MUST be UTF-8 encoded now. Updated
4434 the protocol specs and the code. Affected file is
4435 lib/silccrypt/silcpkcs.c.
4437 Sun Apr 21 19:44:38 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4439 * Disconnect Payload includes now the status type. Updated
4440 the protocol specs and the code. Protocol TODO #25.
4441 Affected files are silcd/server.c, lib/silcclient/client.c.
4443 * Added NOT_AUTHENTICATED, BAD_SERVER_ID, INCOMPLETE_INFORMATION,
4444 KEY_EXCHANGE_FAILED and BAD_VERSION error status types.
4445 Moved the silc_client_command_status_messages table to the
4446 lib/silcutil/silcutil.c and added new funtion
4447 silc_get_status_message, which deprecates function
4448 silc_client_status_message. Affected files are
4449 lib/silccore/silcstatus.h, lib/silcclient/command_reply.[ch],
4450 lib/silcutil/silcutil.[ch].
4452 Fri Apr 19 17:35:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4454 * Defined that the nickname hash in Client ID MUST be from
4455 lowercase nickname. This effectively changes nicknames in
4456 SILC to case-insensitive. Updated the protocol specs and
4457 the code. Affected files are lib/silcutil/silcutil.[ch],
4458 silcd/serverid.c, and silcd/idlist.c.
4460 * Added new channel user modes BLOCK_MESSAGES_USERS and
4461 BLOCK_MESSAGES_ROBOTS. Updated the protocol specs and the
4462 code. Affected files are lib/silccore/silcmode.h,
4463 lib/silcclient/command.c, and silcd/packet_send.c.
4465 * Added new error status ERR_RESOURCE_LIMIT. Updated protocol
4466 specs and code. Affected file lib/silccore/silcstatus.h.
4468 * Added support for watch list. It is possible to add nicknames
4469 to be watched, and when they come to network, leave network
4470 or user mode changes the watcher will be notified of this
4471 change. Added SILC_COMMAND_WATCH command, added new
4472 notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch
4473 notifications. Updated the protocol specs and implemented
4474 this to library, client and server. Protocol TODO #21.
4475 Affected files are lib/silccore/silccomand.h,
4476 lib/silccore/silcnotify.h, lib/silcclient/command[_reply].[ch],
4477 silcd/command[_reply].[ch], lib/silcclient/client_notify.c,
4478 silcd/packet_send.[ch], silcd/packet_receive.c, and
4479 irssi/src/silc/core/client_ops.c.
4481 * Added user mode SILC_UMODE_REJECT_WATCHING to reject
4482 somebody watching you. Updated the protocol specs and the
4483 code. Affected files are lib/silccore/silcmode.h, and
4484 lib/silcclient/command.c.
4486 Fri Apr 19 09:02:20 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4488 * Added service support to SILC protocol. Added new command
4489 SILC_COMMAND_SERVICE. Updated the protocol specs and the
4490 core library. Services are not implemented in server or
4491 client for now. Protocol TODO #20. Affected files are
4492 lib/silccore/silcstatus.h, lib/silccore/silccommand.h.
4494 * Added SilcStatus argument to `command' client operation
4495 to return the error status when command sending fails
4496 locally. Changed all command in client library to return
4497 correct command status. Affected files are
4498 lib/silcclient/command.c, lib/silcclient/silcclient.h and
4499 irssi/src/silc/core/client_ops.c.
4501 Thu Apr 18 14:09:51 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4503 * Added silc_mime_parse function to parse MIME headers.
4504 Affected files are lib/silcutil/silcstruti.[ch].
4506 * Added MIME header parsing in Irssi SILC Client. It displays
4507 all textual MIME objects, others it ignores. Affected file
4508 is irssi/src/silc/core/clien_ops.c.
4510 Wed Apr 17 22:07:59 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4512 * Fixed a bug in the pid writing function, which couldn't be
4513 written in a root-owned directory.
4515 Tue Apr 16 09:34:40 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4517 * Defined that channel message to unknown Channel ID must
4518 cause SILC_NOTIFY_TYPE_ERROR notify message to the sender.
4519 Updated the protocol specs and the code in server. The
4520 affected file is silcd/packet_receive.c.
4522 Mon Apr 15 19:57:57 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4524 * Added new notify type SILC_NOTIFY_TYPE_ERROR and specified
4525 that it is used to send error notifys if error occurs during
4526 some SILC packet processing, except commands. The error
4527 types are same as for command reply types. Defined that
4528 if private message is sent to unknown Client ID the error
4529 is sent in SILC_NOTIFY_TYPE_ERROR instead of command reply.
4530 Updated the protocol specs and code. Affected files are
4531 lib/silccore/silcnotify.h, added lib/silccore/silcstatus.h,
4532 lib/silcclient/client_notify.c, silcd/packet_receive.c,
4533 and irssi/src/silc/core/client_ops.c. Renamed the
4534 SilcCommandStatus to SilcStatus.
4536 * Defined the use of extra WHOIS attributes in WHOIS command.
4537 The <Requested Attributes> (defined in a separate document)
4538 can be used to request additional information about user
4539 not returned by standard WHOIS command. Defined that server
4540 can send WHOIS command directly to client. Client provides
4541 the requested attributes to the server. Updated the protocol
4542 specs. Protocol TODO #4. Implementation is not done yet
4543 (Protocol TODO #24).
4545 * Renamed function silc_client_command_status_message to
4546 silc_client_status_message. Affected files are
4547 lib/silcclient/command_reply.[ch].
4549 Sun Apr 14 21:13:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4551 * Changed the WHOIS, IDENTIFY and WHOWAS count arguments to
4552 32 bit integers. Updated the protcol specs and the code.
4553 Affected files are silcd/command.c and
4554 lib/silcclient/command.c.
4556 Sun Apr 14 19:49:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4558 * Fixed a bug in library where sending a bogus authentication
4559 payload would lead to a crash. Affected file is
4560 lib/silccore/silcauth.c.
4562 Sat Apr 13 13:09:24 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4564 * Added detach_disabled and detach_timeout server config
4565 options to the server. Affected files silcd/serverconfig.[ch],
4566 silcd/command.c and silcd/packet_receive.c.
4568 Fri Apr 12 20:09:08 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4570 * Added resolve_cmd_ident field to the SilcClientEntry structure
4571 too so that if the entry is for example being resolved so
4572 another command may attach to the same pending command reply
4573 without requiring to resolve the same entry again. Added
4574 support for adding multiple pending commands for one
4575 command idenfier. Affected files lib/silcclient/command.[ch],
4576 lib/silcclient/command_reply.[ch], lib/silcclient/idlist.h.
4578 Fri Apr 12 10:17:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4580 * Defined that server receives WHOIS command reply for private
4581 and secret channels too. Updated protocol specs and the
4582 code in server. Affected file silcd/command.c.
4584 * Defined <channel user mode list> argument to WHOIS command
4585 reply for returning user modes on the channels. The
4586 channel list now doesn't include the user mode anymore but the
4587 actual channel mode. Updated protocol specs and the code in
4588 client and server. Affected files are silcd/command_reply.c,
4589 silcd/command.c, silcd/server.c, irssi/src/silc/core/client_ops.c,
4590 and lib/silcclient/command_reply.c.
4592 * Save the channels list in WHOIS command reply in normal server
4593 so that WHOIS always shows joined channels also in normal
4594 server and not just on router. Affected file is
4595 silcd/command_reply.c.
4597 Thu Apr 11 22:29:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4599 * Defined that server receives USERS command reply for private
4600 and secret channels too. Updated protocol specs and the
4601 code in server. Affected file silcd/command.c.
4603 Thu Apr 11 16:32:08 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4605 * Changed the UMODE's mode mask argument to be optional. If
4606 not provided then the command merely returns the current mode
4607 mask to the client. Updated protocol specs and the server.
4608 Affected file is silcd/command.c.
4610 * Added SILC session detachment/resuming support. It is possible
4611 to detach by closing the network connection and then re-connect
4612 and resume to the old client session. Added DETACHED user
4613 mode that server will set for detached client. Added new
4614 packet RESUME_CLIENT which is used to perform the resuming
4615 process. Added DETACH command. Updated the protocol specs,
4616 core library, client and server. Protocol TODO #22. Very
4617 many affected files around the tree.
4619 Wed Apr 10 16:32:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4621 * Changed the CMODE's mode mask argument to be optional. If
4622 not provided then the command merely returns the current mode
4623 mask to the client. Updated protocol specs and the server.
4624 Affected file is silcd/command.c.
4626 * Changed the Killer's Client ID in KILLED notify to be just
4627 any ID payload since router server is allowed to kill as well.
4628 Updated protocol specs, client libary and server. Affected
4629 files are lib/silcclient/client_notify.c, silcd/packet_receive.c,
4630 and irssi/src/silc/core/client_ops.c.
4632 Tue Apr 9 17:15:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4634 * Added new user modes ANONYMOUS for special anonymous servers
4635 that may set the mode for client, and BLOCK_PRIVMSG which
4636 client may set to block incoming private messages unless the
4637 Private Message Key flag is set (using private keys to protect
4638 private messages). Updated protocol specs and code in client
4639 and server and core library. Protocol TODO #23. Affected
4640 files are lib/silccore/silcmode.h, silcd/server.[ch],
4641 irssi/src/silc/core/client_ops.c, silcd/packet_receive.c,
4642 irssi/docs/help/in/umode.in, lib/silcclient/command.c.
4644 * Added new channel user mode BLOCK_MESSAGES which the client
4645 may set to itself to tell server not send channel messages.
4646 Other packets such as channel key packets are still sent.
4647 Protocol TODO #23. Updated the protocol specs, client and
4648 server. Affected files are lib/silccore/silcmode.h,
4649 irssi/docs/help/in/cumode.in, lib/silcclient/command.c,
4650 lib/silcutil/silcutil.c, silcd/command.c, and
4651 silcd/packet_send.c.
4653 Mon Apr 8 23:57:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4655 * Redefined the Status Payload to include now two 8 bit fields,
4656 instead of one 16 bit field. This now makes it possible to
4657 send list of errors. Updated the protocol specs and the code
4658 in core library, client library and server. Protocol TODO #1.
4659 Affected files are lib/silccore/silccommand.[ch],
4660 lib/silcclient/command_reply.[ch], silcd/command.c,
4661 silcd/command_reply.c and silcd/packet_receive.[ch].
4663 Mon Apr 8 19:57:40 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4665 * Added config parse status SILC_CONFIG_EPRINTLINE, this status
4666 must be handled by the application and should tell the application
4667 that an error message was already printed, and it should print the
4668 config coords (line, filename, ...). Affected files are
4669 silcd/serverconfig.c, lib/silcutil/silcconfig.[ch].
4671 * Added local macro SILC_SERVER_CONFIG_ALLOCTMP to make the
4672 server config parsing code more readable.
4674 Fixed a bug in the fetch_logging() config callback.
4676 Affected files is silcd/serverconfig.c.
4678 * Drop root privileges when started in foreground. Don't drop them
4679 if debugging also. Affected file is silcd/silcd.c.
4681 Mon Apr 8 17:00:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4683 * Added more IM-like features by introducing new user modes
4684 for setting various presence information. Added new modes:
4685 INDISPOSED, BUSY, PAGE, HYPER and ROBOT. Updated protocol
4686 specs and code. Protocol TODO #19. Affected files are
4687 lib/silccore/silcmode.h, irssi/src/silc/core/client_ops.c,
4688 irssi/docs/help/in/umode.in and lib/silcclient/command.c.
4690 Sun Apr 7 17:07:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4692 * Added STATS command to the protocol after all, to return
4693 various statistical information about the network. It can
4694 be used by clients to retrieve statistical information, and
4695 servers may use it to to fetch cell and network wide
4696 statistics from router. Updated the protocol specs and
4697 implemented it to the server. Protocol TODO #16.
4698 Affected files are lib/silccore/silccommand, silcd/command.[ch],
4699 silcd/command_reply.[ch].
4701 Sat Apr 6 17:08:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4703 * The LIST command reply in client libary now adds new channel
4704 entry if the returned channel doesn't exist yet in cache,
4705 and returns the channel entry to the application in the
4706 command_reply client operation. Affected file is
4707 lib/silcclient/command_reply.c.
4709 * Changed the channel message payload's MAC generation to
4710 include the IV in the MAC as well. This way all relevant
4711 parts of the channel message payload are authenticated also
4712 with the channel message MAC (and not only by packet MAC).
4713 Causes incompatibility with 1.0 protocol. Protocol TODO #7.
4714 Affected file is lib/silccore/silcchannel.c.
4716 * Fixed the SKE to save the remote version, since the
4717 silc_ske_parse_version mistakenly checked wrong version,
4718 after it replaced the start payload. Affected files are
4719 lib/silcske/silcske.[ch].
4721 Fri Apr 5 16:03:03 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4723 * Splitted lib/silcutil/silcutil.h into silcstrutil.h for
4724 string utility functions. Added there also new functions
4725 silc_utf8_[encode/decode/valid] for UTF-8 string encoding.
4726 Affected files lib/silcutil/silcstrutil.[ch].
4728 * Renamed silc_*_pem functions to silc_pem_* functions. Affected
4729 files are lib/silcutil/silcstrutil.[ch].
4731 * Defined that the security property fields in SKE SHOULD be
4732 UTF-8 encoded, defined that version string MUST be US-ASCII
4733 encoded, defined that passphrases sent in connection
4734 authentication protocol MUST be UTF-8 encoded. Implemented
4735 these to the client and server. Defined also that other
4736 passphrases sent in the protocol MUST be UTF-8 encoded.
4737 Affected files are lib/silcske/silcske.c,
4738 lib/silcclient/protocol.c, silcd/protocol.c,
4739 silcd/serverconfig.c, and lib/silccore/silcauth.c.
4741 * Changed the silc_client_close_connection interface to not
4742 need the SilcSocketConnection which should not be visible
4743 to application. Affected files are lib/silcclient/client.c
4744 and lib/silcclient/silcclient.h.
4746 * Rewrote the text for Private Message Key Payload in the
4747 protocol specification. Protocol TODO #11.
4749 Wed Apr 3 16:24:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4751 * Upgraded the protocol version to 1.1, updated protocol specs
4754 * Added the nickname as new argument to NICK_CHANGE notify and
4755 added it to protocol specs and implemented it to client and
4756 server. Protocol TODO #3. Affected files are silcd/idlist.[ch],
4757 silcd/command.c, silcd/packet_receive.c, packet_send.[ch], and
4758 lib/silcclient/client_notify.c.
4760 * Added the killer's client ID to the KILLED notify and added
4761 it to protocol specs and implemented it to client and server.
4762 Protocol TODO #13. Affected files are silcd/command.c,
4763 silcd/packet_receive.c, packet_send.[ch],
4764 lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4765 The killer's client entry is now returned to application in
4766 the `notify' client operation.
4768 * Fixed the Max Argument fields that had too large value set
4769 in the protocol specs. Protocol TODO #14.
4771 * Added the LEAVE command reply to return the ID of parted
4772 channel. Updated protocol specs and implemented it to the
4773 client and server. Protocol TODO #15. Affected files are
4774 silcd/command.c, lib/silcclient/command_reply.c. The channel
4775 entry is now returned to application in the `command_reply'
4778 * Rewrote the version SKE version checking in client libary
4779 and in server to use the silc_parse_version_string. Affected
4780 files are lib/silcclient/protocol.c, silcd/protocol.c.
4782 * Added SILC_STATUS_ERR_NO_CHANNEL_FOPRIV error status to few
4783 commands that was missing it, and updated protocol specs and
4784 the server implementation. Protocol TODO #10. The affected
4785 file is silcd/command.c.
4787 * Defined new message flags SILC_MESSAGE_FLAG_REPLY to be
4788 generic reply to a generic request (REQUEST flag), and
4789 SILC_MESSAGE_FLAG_DATA to send any kind of data in a generic
4790 way. A draft-riikonen-silc-flags-payloads-00.txt is written
4791 to define the payload for DATA flag. Added the flags to
4792 the implementation. Protocol TODO #9. Affected file is
4793 lib/silccore/silcchannel.h.
4795 Changed the client library to return the message length
4796 to application as well in the channel_message and private_message
4797 client operations. Affected files are
4798 lib/silcclient/client_prvmsg, lib/silcclient/client_channel.c,
4799 lib/silcclient/silcclient.h, irssi/src/silc/core/client_ops.c,
4800 and lib/silcclient/client_ops_example.c.
4802 * Added two new channel modes: SILC_CMODE_SILENCE_USERS
4803 and SILC_CMODE_SILENCE_OPERS which can be used to moderate
4804 the channel. Updated protocol specs and impelemented this
4805 to client and server. Protocol TODO #6. Affected files are
4806 silcd/packet_receive.c, server_util.c, lib/silcclient/command.c,
4807 lib/silcclient/client_channel.c, lib/silccore/silcmode.h.
4809 Added new options m and M to CMODE command in Irssi SILC
4810 client to set these modes.
4812 * Deprecated all administrative commands from SILC protocol
4813 since they are highly implementation specific commands.
4814 Updated protocol specs. Moved the old commands in
4815 implementations to private range of command types. Affected
4816 files are silcd/command.c, lib/silcclient/command.c and
4817 lib/silcclient/command_reply.c. Protocol TODO #8.
4819 * Fixed a bug in server where sending unknown command crashes
4820 the server. Affected file silcd/command.c.
4822 Wed Apr 3 09:57:47 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4824 * Added SILC_PROTOCOLVERSION macro to check protocol version
4825 of a socket connection. The affected file is
4826 lib/silcutil/silcsockconn.h.
4828 * Added better error logging in rekey protocol. Affected file
4831 * Do not check public key types in SKE during rekey. Affected
4832 file lib/silcske/payload.c.
4834 * Fixed the rekey protocol with PFS, which was totally broken.
4835 Affected file silcd/protocol.c.
4837 Tue Apr 2 14:55:06 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4839 * Some client implementations quit network by doing first LEAVE
4840 and then immediately SIGNOFF (like Bombyx). We now do check
4841 after a short time after LEAVE notify and check whether the
4842 client is still valid after LEAVE, and if not we remove it from
4843 cache. Affected file is lib/silcclient/client_notify.c.
4845 Tue Apr 2 13:39:04 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4847 * Merged version 1.1.4 of zlib. Even if it not currently in use,
4848 it's good not to have security holes here.
4850 * Fixed a negative refcount situtuation for the config context.
4851 Affected file is silcd/serverconfig.c.
4853 Mon Apr 1 20:15:10 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4855 * ROBOdoc documented lib/silcutil/silcutil.h.
4857 Sat Mar 30 21:06:45 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4859 * Optimized even more the SilcPacketContext structure. Now
4860 totally saved 16 bytes of memory per context after optimization.
4861 Affected files are lib/silccore/silcpacket.[ch].
4863 * Made strict checks for valid SILC IDs. Affected file is
4864 lib/silccore/silcid.c.
4866 Sat Mar 30 18:15:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4868 * Changed the object argument for silc_cipher_register,
4869 silc_hash_register, silc_hmac_register and silc_pkcs_register
4870 to const. Affected files are lib/silccrypt/silccipher.[ch],
4871 silchash.[ch], silchmac.[ch] and silcpkcs.[ch].
4873 * Changed the silc_get_username and silc_get_real_name to
4874 never fail. Affected file lib/silcutil/unix/silcunixutil.c.
4876 * Fixed the Irssi SILC Client to use the silc_get_username and
4877 silc_get_real_name insted of glib routines since the glib
4878 routines only corrupt stack. Fixes the Irssi SILC to work in
4879 Cygwin. Affected file irssi/src/silc/core/silc-core.c.
4881 * Fixed the Irssi to not use g_get_home_dir since it crashes
4882 or returns garbage on cygwin and corrupts stack. Added function
4883 get_home_dir to Irssi routines. Affected files are
4884 irssi/src/core/misc.[ch] and irssi/src/core/core.c.
4886 Fri Mar 29 21:55:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4888 * Made some structure optimizations. SFTP memory FS MemFSEntry
4889 entry structure. Optimized SilcTask structure. Optimized
4890 SilcPacketContext structure.
4892 Affected files lib/silcsftp/sftp_fs_memory.c,
4893 lib/silcutil/silcschedule.c, lib/silccore/silcpacket.h.
4895 Fri Mar 29 10:41:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4897 * And yet again reverted back the config thing since Johnny
4898 screwed it up. Affected file silcd/serverconfig.[ch], server.c,
4901 * Fixed memory leaks from config object. Affected files are
4902 silcd/serverconfig.[ch].
4904 * Added support for adding new connections to the server in rehash.
4905 After rehash they take effect.
4907 Added support for changing the maximum allowed connections in
4908 rehash. The number can grow but going smaller is not supported.
4910 Added function silc_server_num_sockets_by_remote to the
4911 silcd/server_util.[ch].
4913 Affected files are silcd/server.c, and silcd/serverconfig.[ch].
4915 Fri Mar 29 03:26:12 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
4917 * Added preliminary checking during config parsing for a valid
4918 public/private key and removed further checks in the code.
4919 Affected files are silcd/serverconfig.[ch], server.c.
4921 * Moved functions silc_server_drop() and silc_server_daemonise()
4922 from server.c to silcd.c since they are stricly related to
4923 the application activity.
4925 * Reverted a small part of the automatic ref/unref since
4926 it caused a double unref in some situations. Affected
4927 files are silcd/silcd.[ch], server.c, serverconfig.c.
4929 * Added some .cvsignore files in the lib directory.
4931 Thu Mar 28 22:51:15 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4933 * Fixed silc_net_gethostbyaddr to correctly resolve by
4934 address. Affected file lib/silcutil/silcnet.c.
4936 * Fixed the notify relaying to client. The HMAC to be used
4937 with relayed packets ws wrong and caused decryption failure
4938 at the client end. Affected file is silcd/packet_receive.c.
4940 Thu Mar 28 19:02:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4942 * Created new branch silc_protocol_1_0_branch.
4944 * Reverted the silc_log_quick change in lib/silcutil/silclog.c.
4946 * Changed the silc_server_config_* routines to be SilcServer
4947 independent. They are now officially application specific code
4948 and not part of generic server implementation. Affected files
4949 are silcd/serverconfig.[ch], silcd/silcd.c, silcd/server.c.
4951 Thu Mar 28 17:01:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4953 * Added automatic referencing of config context in the
4954 silc_server_config_alloc, and automatic unreferencing in the
4955 silc_server_config_destroy. Affected files are
4956 silcd/serverconfig.[ch], silcd/silcd.c.
4958 * Fixed the silc_log_quick handling in the logging routines.
4959 It didn't log quickly when it was TRUE. Affected file is
4960 lib/silcutil/silclog.c. Also the flush delay was set even
4961 if it was 0 in config file. Affected file is
4962 silcd/serverconfig.c.
4964 * Added support for changing key pair of the server in rehash.
4965 Affected file silcd/server.c.
4967 Thu Mar 28 12:17:21 CET 2002 Pekka Riikonen <priikone@silcnet.org>
4969 * Fixed the TOPIC_SET notify to not cras. It changed the topic
4970 too early, before getting the channel entry. Affected file
4971 is silcd/packet_receive.c.
4973 Thu Mar 28 09:58:16 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
4975 * Added functions silc_server_config_[ref/unref], these are used
4976 to prevent that the config object is destroyed.
4978 No longer directly affect global variables silc_log_quick and
4979 silc_log_delay, they are first cached inside the config object
4980 and then applied with silc_server_config_setlogfiles().
4982 silc_server_config_set_defaults() is now internal to
4983 serverconfig.c, there are no reasons to show this internal stuff
4986 Affected files are silcd/serverconfig.[ch].
4988 * Added macro SILC_SERVER_LOG_STDERR(), this should replace most
4989 fprintf's to stderr, since some code may be executed again after
4990 the server went into the background. Affected files are
4993 * Added rehash support. Added function silc_server_rehash() that
4994 will perform all the basic tasks of the rehashing procedure.
4996 * Added command line option `-x, --hexdump'. This will enable the
4997 SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'.
4998 The option `--hexdump' implies `--debug'.
5000 * Fixed a bad bug in the logging APIs (silcutil library) where
5001 the application would crash after calling silc_log_reset_all().
5003 Wed Mar 27 19:43:16 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5005 * Fixed the KICKED notify handling in client library to
5006 correctly remove the channel and all entries from the
5007 channel when I was kicked. This bug crashed the client.
5009 Fixed yet another but in KICKED notify handling to remove
5010 the kicked client correctly from the channel.
5012 Affected file is lib/silcclient/client_notify.c.
5014 * Fixed a minor bug in looking up correct client entry
5015 in KICKED notify in server. Affected file is
5016 silcd/packet_receive.c.
5018 * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP
5019 sources correctly to distribution. Fixes --with-gmp option.
5021 * Removed the manual rehashing from ID Cache, and changed it
5022 to use the SILC Hash Table's auto rehash feature. Affected
5023 file is lib/silccore/silcidcache.c.
5025 Wed Mar 27 00:07:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5027 * Fixed a bug in the silc_client_nickname_format function that
5028 handles the multiple same nickname formatting. Two clients
5029 with same nickname caused problems after the first one left
5030 and rejoined. It didn't format the nickname correctly.
5031 Affected file is lib/silcclient/idlist.c.
5033 Tue Mar 26 19:33:03 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5035 * Don't change the topic if olod topic is same as new one.
5036 Affected file is silcd/packet_receive.c.
5038 Mon Mar 25 21:11:35 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5040 * Added cross-reference support to the SILC Documentation
5041 generator. All types across all HTML files are now cross-
5042 referenced. Affected files util/robodoc/generator.c and
5043 scripts/silcdoc/silcdoc.
5045 * Added file lib/silcutil/silctypes.h to include all the
5046 arithmetic type definitions and some macros. Removed
5047 includes/bitmove.h and moved macros to silctypes.h.
5049 Mon Mar 25 17:19:46 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5051 * Merged bugfixes for Irssi SILC client from irssi.org CVS.
5053 Sun Mar 24 11:21:04 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5055 * Added `type' argument to silc_id_payload_parse_id function which
5056 now returns the type of the ID to the sent pointer. Affected
5057 file is lib/silccore/silcid.[ch].
5059 * Added check for CMODE_CHANGE notify type that mode change is
5060 allowed by the sender. Affected file silcd/packet_receive.c.
5062 * Added check for CUMODE_CHANGE notify type that mode change is
5063 allowed by the sender. Affected file silcd/packet_receive.c.
5064 Added the ID type as CUMODE_CHANGE notify type as argument
5065 to the `notify' client operation. Affected files are
5066 lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
5068 * Added function silc_client_add_server to the client library.
5069 Added support for resolving also channel and server info when
5070 received unknown entity in notify packet. Affected files are
5071 lib/silcclient/idlist.[ch], lib/silcclient/client_notify.c.
5073 * Added function silc_command_get_status to return the command
5074 status from the command reply's argument payload. Affected files
5075 are lib/silccore/silccommand.[ch].
5077 * Added check for KICKED notify type that the kicking is
5078 allowed by the client. Affected file silcd/packet_receive.c.
5080 * Created function silc_get_input which can be used to get input
5081 (echo on or off) from user on command line. Affected files are
5082 lib/silcutil/silcutil.[ch].
5084 Sat Mar 23 09:51:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5086 * Optimized silc_server_packet_relay_to_channel function.
5087 Added new function silc_channel_message_payload_encrypt which
5088 can be called directly if channel message payload needs to
5089 be encrypted and is already encoded (no need to call _encode
5090 function). Packet relaying is now done by router without any
5091 extra memory allocations. Affected files are
5092 lib/silccore/silcchanel.[ch], silcd/packet_receive.c and
5093 silcd/packet_send.c.
5095 * Fixed the INVITE notify handling. It took wrong arguments
5096 as invite list and invite delete. Affected file is
5097 silcd/packet_receive.c.
5099 * Added check for TOPIC_SET notify type that the topic change is
5100 allowed by the client. Affected file silcd/packet_receive.c.
5102 * Added check for INVITE notify type that inviting is allowed by
5103 the client. Affected file silcd/packet_receive.c.
5105 * Changed the silc_server_client_on_channel to return the
5106 SilcChannelClientEntry as well. Moved the function
5107 silc_server_check_cmode_rights to server_util.[ch].
5108 Affected files are silcd/server_util.[ch], silcd/command.c.
5110 * Added function silc_server_check_umode_rights to check whether
5111 changing client's user mode is allowed. Added check for
5112 UMODE_CHANGE notify type that the umode change is allowed
5113 by the client. Affected files are silcd/server_util.[ch],
5114 silcd/packet_receive.c and silcd/command.c.
5116 Fri Mar 22 12:25:58 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5118 * Fixed the SILC_PACKET_MAX_ID_LEN to actually be the max
5119 ID length. It ignored that ID can be IPv6 based as well.
5120 Affected file lib/silccore/silcpacket.h.
5122 * Fixed the silc_id_id2str and silc_id_str2id to take the
5123 IPv6 address offset's into consideration. Affecte file is
5124 lib/silccore/silcid.c.
5126 Thu Mar 21 20:44:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5128 * Fixed the internal Unix scheduler functions to check for
5129 NULL context they may receive. The affected file is
5130 lib/silcutil/unix/silcunixschedule.c.
5132 Thu Mar 21 19:12:22 EET 2002 Timo Sirainen <tss@iki.fi>
5134 * Changed hardcoded ~/.silc paths to use get_irssi_dir() so you
5135 can specify different directory with --home command line
5136 parameter. Affected files irssi/src/silc/core/client_ops.c,
5139 * SILC-specific commands aren't now executed if the active server
5140 isn't of SILC-type, so there won't be problems with having
5141 IRC and SILC protocol support in same client. Affected files
5142 irssi/src/silc/core/silc-channels.c, silc-servers.c,
5145 Wed Mar 20 11:06:57 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5147 * Improved the signal support in SILC Schedule. Added new
5148 function silc_schedule_signal_call which is used by application
5149 to mark a signal to be called. It is now safe to perform
5150 any kind of tasks in signal callbacks since it is guaranteed
5151 that the application specified signal callback is called
5152 after the signal is over. Affected files are
5153 lib/silcutil/silcschedule.[ch], lib/silcutil/*/silc*schedule.c.
5155 Tue Mar 19 20:42:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5157 * Added `name' field to SilcChannelPrivateKey to represent
5158 application given name for the key. Moved also the context from
5159 lib/silcclient/idlist.h into lib/silcclient/silcclient.h.
5160 Added the `name' argument also to the function
5161 silc_client_add_channel_private_key.
5163 Added function silc_client_current_channel_private_key to set the
5164 current channel private key in use.
5166 Added "change" command to KEY command which can be used to change
5167 the current channel private key. Bound the command also to
5168 alt+K (Alt+Shift+k).
5170 Also affected files lib/silcclient/client_channel.c,
5171 irssi/src/docs/help/in/key.in, irssi/src/silc/core/silc-channel.c.
5173 Tue Mar 19 16:32:43 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5175 * Added silc_rng_get_byte_fast function in to the
5176 lib/silccrypt/silcrng.[ch].
5178 * Changed the interface of silc_packet_assemble and the
5179 silc_packet_send_prepare. If silc_packet_assmble is now
5180 called the application does not call silc_packet_send_prepare
5181 because the library will call it automatically. These
5182 interfaces now also return a reference to the outgoing buffer
5183 which includes the assembled packet, which the application can
5184 use to encrypt the packet.
5186 Affected files are lib/silccore/silcpacket.[ch],
5187 lib/silcclient/client.c, client_channel.c client_prvmsg.c,
5188 silcd/packet_send.c, server_backup.c and packet_receive.c.
5190 * Fixed a packet sending bug on very high load, where outgoing
5191 packet queue wasn't handled correctly and packets got corrupted.
5192 Affected files are lib/silcutil/*/silc*sockconn.c,
5193 lib/silcclient/client.c and silcd/server.c.
5195 Mon Mar 18 21:00:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5197 * Added macro SILC_PACKET_DATALEN which can be used during
5198 packet assembling to check whether the data to be added to
5199 the packet will fit to SILC_PACKET_MAX_LEN. If not the data
5200 len is truncated until it fits it.
5202 Added checks for maximum length of channel message payload and
5203 private message payload also.
5205 Added checks for maximum packet length in server and in
5208 Affected files are lib/silccore/silcpacket.h, silcd/packet_send.c,
5209 lib/silcclient/client.c, lib/silccore/silcchannel.c and
5210 lib/silccore/silcprivate.c, lib/silcclient/client_channel.c and
5211 lib/silcclient/client_prvmsg.c.
5213 Mon Mar 18 14:54:42 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5215 * Added silc_server_packet_queue_purge call to the
5216 silc_server_disconnect_remote to assure that all data in the
5217 queue before disconnecting is sent to the network. Affected
5218 file silcd/server.c.
5220 Sun Mar 17 19:26:16 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5222 * Added the deleting of server's own ID cache entry to the
5223 silc_server_free function. Free also everything else that
5224 has been allocated in silc_server_init. The affected file
5227 Sun Mar 17 15:44:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5229 * Added functions silc_parse_version_string, silc_version_to_num,
5230 and silc_ske_parse_version to parse SILC protocol style version
5231 strings. Affected files lib/silcutil/silcutil.[ch] and
5232 lib/silcske/silcske.[ch].
5234 * Added new configuration params: version_protocol, version_software
5235 and version_software_vendor to specify what version the remote
5236 host must at least be to be able to connect to server. The vendor
5237 string can be regex matched too. Added new function
5238 silc_server_connection_allowed to check maximum number of allowed
5239 connections, and allowed versions for incoming connections.
5240 Affected files are silcd/server.c, server_util.[ch] and
5243 Sun Mar 17 10:24:50 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5245 * Added preliminary support for signals in scheduler. The
5246 signals we care about are now blocked always when the scheduler
5247 is locked. This way we can synchronise the use of signal with
5248 scheduler. It is guaranteed that when signal occurs the scheduler
5249 is not locked, and thus new tasks can be safely added to the
5252 Renamed silc_schedule_wakeup_init and silc_schedule_wakeup_uninit
5253 to silc_schedule_internal_init and silc_schedule_internal_uninit.
5254 Added new platform specific routines
5255 silc_schedule_internal_signals_[un]block and
5256 silc_schedule_internal_signal_[un]register.
5258 Added new functions to SILC Schedule API:
5259 silc_schedule_signal_[un]register. Each signal that application
5260 is going to use should be registered to the scheduler.
5262 Affected files are lib/silcutil/silcschedule.[ch],
5263 lib/silcutil/*/silc*schedule.c.
5265 Sat Mar 16 22:39:23 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5267 * Check for unauthenticated client and server in the
5268 silc_server_new_client and silc_server_new_server functions.
5269 Affected file silcd/packet_receive.c.
5271 * Added function silc_string_is_ascii to check whether given
5272 string is 7-bit ASCII string. Affected files are
5273 lib/silcutil/silcutil.[ch].
5275 * Added function silc_id_is_valid_server_id into the
5276 silcd/serverid.c and added checking for valid Server ID's in
5277 silc_server_new_server. The Server ID must always be based
5278 on the server's public IP address.
5280 * Added logging of DISCONNECT packet message in the server.
5281 Affected file silcd/server.c.
5283 Sat Mar 16 18:04:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5285 * Changed all library interfaces that use Global RNG to also
5286 accept SilcRng as argument. Affected files are
5287 lib/silcclient/command.c, lib/silccore/silcauth.[ch],
5288 lib/silccore/silcchanel.[ch], lib/silcclient/client_channel.c,
5289 silcd/packet_send.c, lib/silccore/silcprivate.[ch],
5290 lib/silcmath/silcprimegen.c, lib/silcmath/silcmath.h, and
5291 lib/silccrypt/rsa.c.
5293 * Added function silc_pkcs_generate_key to the
5294 lib/silccrypt/silcpkcs.[ch] for applications so that they
5295 don't need to do pkcs->pkcs->init calls anymore.
5297 * Remove SilcSocketConnection from the SFTP API since it really
5298 wasn't needed there. The application has the information
5299 saved in its contexts anyway and the SFTP layer doesn't need
5300 know about it. Affected files lib/silcsft/silcsftp.h and
5301 lib/silcsftp/sftp_[server/client].c.
5303 * Rewrote the SILC SIM (modules) interface in lib/silcsim.[ch].
5304 The SilcSimContext is not SilcSim.
5306 * Fixed possible buffer overflows in silc_id_render in the
5307 lib/silcutil/silcutil.c.
5309 * On EPOC the global crypto module lists are not used at all
5310 in the crypto library. Added support for using the constant
5311 algorithm list on EPOC. Affected files are
5312 lib/silccrypt/silccipher.c, silchash.c, silchmac.c and
5315 * Fixed the handling of third parameter of KICKED notify, since
5316 it was mistakenly updated to SILC Protocol 1.0 even though it
5317 is to be included in 1.1. Since it is not in 1.0 it is not
5318 mandatory, and this fix now handles it only if it is provided,
5319 and it is not error if it is not provided. Affected file
5320 lib/silcclient/client_notify.c.
5322 Sat Mar 16 09:07:27 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5324 * Handled CHANNEL_CHANGE notify (ignore it) in Irssi SILC
5325 client. Affected file irssi/src/silc/core/client_ops.c.
5327 * Merged with Irssi 0.8.4 from irssi.org CVS.
5329 Thu Mar 14 12:53:57 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5331 * Check for valid socket connection in client entries before
5332 sending any messages. Fixes a crash, but doesn't fix some
5333 other underlaying bug that is lurking there. Affected
5334 file silcd/packet_send.c.
5336 Thu Mar 14 13:38:12 EET 2002 Timo Sirainen <tss@iki.fi>
5338 * $usermode, $cumode and $cumode_space expandos shouldn't do
5339 anything with non-SILC server records. Affected file
5340 irssi/src/silc/core/silc-expandos.c
5342 Wed Mar 13 21:38:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5344 * Fixed the silc_net_check_[host/local]_by_sock to support
5345 IPv6 bound sockets as well. Now they can return IPv6 addresses
5346 as well. Affected file lib/silcutil/silcnet.c.
5348 * Fixed silc_net_addr2bin to correctly convert IPv6 addresses.
5349 Affected lib/silcutil/unix/silcunixnet.c.
5351 * Fixed ID rendering (at least on some platforms, not NetBSD)
5352 for IPv6 addresses. Affected file lib/silcutil/silcutil.c.
5354 Tue Mar 12 17:58:59 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5356 * Added silc_hash_public_key and silc_hash_public_key_compare
5357 functions to be used with SilcHashTable. They can be used to
5358 hash public keys and compare public keys in hash table. Affected
5359 file lib/silcutil/silcutil.[ch].
5361 * Added support for specifying multiple public keys for Client
5362 connection section in server configuration file. This makes it
5363 possible to accept multiple public keys from same host, or to
5364 make a section that accepts any incoming host, and have the
5365 accepted public keys listed in the section.
5367 Added functions silc_sever_[find/get]_public_key, added the
5368 support for this actually to all connection sections but only
5369 the Client section is currently allowed to specify multiple
5372 Affected files are silcd/server.c, server_internal.h,
5373 command.c, protocol.c, server_util.[ch], packet_receive.c.
5375 Mon Mar 11 23:37:38 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5377 * Merged Irssi 0.8.2 from irssi.org CVS.
5379 Sun Mar 10 23:34:48 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5381 * If silc_debug is TRUE, also output standard logging messages
5382 to stderr with the debug output.
5384 Made silc_log_reset_all() flushing all channels before returning.
5385 Also fixed some documentation typos.
5387 Affected files are lib/silcutil/silclog.[ch].
5389 Sun Mar 10 20:07:49 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5391 * Fixed the server to check correctly the amount of connections
5392 from single host, by checking also the type of the connection.
5393 Fixed also the comparison of number of connections and number
5394 of allowed connections. Affected files are silcd/server.c,
5397 Fri Mar 8 17:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5399 * Fixed the USERS command reply to save the user's mode on the
5400 channel as well. Fixed JOIN command reply to check whether a
5401 client is on channel already and not join it twice. Affected
5402 file lib/silcclient/command_reply.c.
5404 * Added new file silc-expandos.c into irssi/silc/core/ to return
5405 various stuff for various signal for the statusbar etc. updating.
5406 Now Irssi SILC client prints channel user modes etc. on the
5409 * The user mode (like server/router operator changes) is now shown
5410 on the Irssi SILC client's statusbar. The affected files are
5411 irssi/src/silc/core/client_ops.c, silc-expandos.c.
5413 Thu Mar 7 19:21:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5415 * Changed silc_mutex_[un]lock calls in lib/silcutil/silcschedule.c
5416 to SILC_SCHEDULE_[UN]LOCK macros.
5418 * Added more error printing to logs in server code. Affected
5419 files silcd/server.c and silcd/protocol.c.
5421 * Fixed -S option parsing in Irssi SILC Client. Affected file
5422 irssi/src/silc/core/silc-core.c.
5424 * Added silc_buffer_alloc_size function. Affected file is
5425 lib/silcutil/silcbuffer.h.
5427 Tue Mar 5 14:37:27 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5429 * Changed all silc_[hash|hmac|cipher|pkcs]_default tables to
5430 constants. Affected files in
5431 lib/silccrypt/silcpkcs.[ch], silchash.[ch], silchmac.[ch] and
5434 * Changed the internal SFTP Memory FS table to const. Affected
5435 file lib/silcsftp/sftp_fs_memory.c.
5437 Sun Mar 3 18:37:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5439 * Fixed the buffer formatting and unformatting routines to
5440 check the size of 64 bits types with sizeof(). Affected
5441 file is lib/silcutil/silcbuffmt.c.
5443 Mon Feb 25 17:19:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5445 * Removed 0.6.x backwards support.
5447 Sun Feb 24 12:53:25 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5449 * Changed all integer type names:
5450 [u]int[8/16/32/64] -> Silc[UInt/Int][8/16/32/64]. This is
5451 to avoid collisions with other libraries using same type names
5454 Sat Feb 23 20:31:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5456 * Added `prefer_ipv6' argument to the functions
5457 silc_net_gethostbyname[_async]. If it is TRUE it will return
5458 IPv6 address over IPv4. If FALSE IPv4 address is returned
5459 even if IPv6 address was found. Affected files
5460 lib/silcutil/silcnet.[ch].
5462 * Added support silc_net_create_connection[_async] to fallback
5463 to IPv4 address if IPv6 address could not be used (like if
5464 it doesn't work on a specific system). Affected file in
5465 lib/silcutil/unix/silcunixnet.c.
5467 Sat Feb 23 15:20:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5469 * Added silc_schedule_reinit function to do the enlarging
5470 of the max tasks handling capabilities of the scheduler.
5471 Affected files lib/silcutil/silcschedule.[ch].
5473 Wed Feb 20 20:41:01 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5475 * Added automatic extern "C" { ... } for C++ compilers so the
5476 application does not need to define them. Affected file
5477 includes/silcincludes.h.
5479 * Renamed lib/silcclient/silcapi.h to silcclient.h as the
5480 old name went against naming convention. Applications now
5481 include "silcclient.h" instead of "clientlibincludes.h".
5482 Removed includes/clientlibincludes.h, it is redundant now.
5484 * Renamed includes/version.h to silcversion.h.
5486 * Added really preliminary support for OS/2 into the util
5487 library. Only thread & mutex API is implemented, others
5488 are still to be implemented. Created the lib/silcutil/os2/
5489 directory. Created also file includes/silcos2.h.
5491 Wed Feb 20 18:48:49 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5493 * Added preliminary BeOS support into the util library.
5494 Created lib/silcutil/beos/, and implemented all the needed
5495 functions to support SILC on BeOS. Created also file
5496 includes/silcbeos.h.
5498 Mon Feb 18 15:49:22 EET 2002 Timo Sirainen <tss@iki.fi>
5500 * Added proper initializations to silc's irssi code, so it's
5501 now possible to load it as module. Affected files
5502 irssi/src/silc/core/silc-core.c,
5503 fe-common/silc/fe-common-silc-core.[ch] and fe-text/silc.c
5505 Sun Feb 17 19:02:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5507 * Merged latest Irssi (0.8.1) from the irssi.org's CVS into
5510 * Fixed the silcdoc document generator to correct generate
5511 docs from all kinds of filenames. Affected files are
5512 util/robodoc/Source/generator.c, scripts/silcdoc/silcdoc
5514 * ROBOdoc documented lib/silcutil/silcmemory.h.
5515 Added also new function silc_memdup.
5517 * Removed lib/silcutil/silcbufutil.h and moved those routines
5518 to the lib/silcutil/silcbuffer.h.
5520 Sun Feb 17 15:52:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5522 * Added `user_count' to the SilcChannelEntry which now tells the
5523 number of users on the channel. The user count is now saved
5524 in normal server of global channels as well. Affected files
5525 silcd/server.c, idlist.h, packet_receive.c and command.c.
5527 * Splitted lib/silcutil/silcutil.[ch] into silcfileutil.[ch] to
5528 include file utility functions.
5530 * Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines
5531 instead of calling directly OS routines.
5533 * Fixed NICK change printing in Irssi SILC Client. Fixed
5534 KICKED notify printing in Irssi SILC Client. Affected file
5535 irssi/src/silc/core/client_ops.c.
5537 * Fixed a NICK change bug in client library, to not recreate the
5538 client_entry->channels hash table everytime nick is changed.
5539 Affected file lib/silcclient/client.c.
5541 Sun Feb 17 10:10:14 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5543 * ROBOdoc documented the lib/silcske/silcske.h, and improved
5544 the SKE interface a bit.
5546 * Fixed padding problem in PKCS#1. The padding was not actually
5547 random since the random number generator was used incorrectly.
5548 This security bug affects only when encrypting with PKCS#1, and
5549 it is not currently used at all in SILC. SILC only use signing
5550 with PKCS#1. Affected file lib/silccrypt/pkcs1.c.
5552 Sat Feb 16 13:44:24 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5554 * Rewrote the notify handling in Irssi SILC client to not call
5555 the events as signals. Fixes problems with Perl support.
5556 Affected files irssi/src/silc/core/client_ops.c, silc-channels.c.
5558 * Send the auto-nicking NICK command in client library with
5559 little timeout after connecting. The affected file is
5560 lib/silcclient/client.c.
5562 * Added following new config file settings:
5563 channel_rekey_secs, key_exchange_rekey, key_exchange_pfs,
5564 key_exchange_timeout, conn_auth_timeout, connections_max,
5567 Implemented all the new config settings handling in the server.
5569 Optimized the use of SKE Mutual flag usage. Use it only
5570 if connection authentication protocol is not based in public
5573 Renamed all SilcServerConfigSection* to SilcServerConfig*
5574 to have a bit shorter names.
5576 Affected files silcd/serverconfig.[ch], server.[ch], and
5579 Sat Feb 16 02:46:43 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5581 * Cleaned up the listening sockets code, preparing for the rehash
5582 support. Affected file is silcd/server.c.
5584 * Fixed some output messages. Affected files are silcd/silcd.c,
5587 Fri Feb 15 19:10:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5589 * Create lib/doc/silcrng_intro.html document as introduction
5590 to SILC RNG. ROBOdoc documented lib/silccrypt/silcrng.h.
5592 Fri Feb 15 13:23:03 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5594 * Fixes to the silcd config template. Affected file is
5595 doc/example_silcd.conf.in.
5597 * Removed type casts from silc_calloc(), conforming to the
5598 CodingStyle. Affected file is lib/silcutil/silcconfig.c.
5600 * Removed param_name member from client, server, and router
5601 section structs, now identifying the param directly.
5603 Added CONFIG_FREE_AUTH macro in config file parsing.
5605 Affected files are silcd/serverconfig.[ch].
5607 Fri Feb 15 12:24:08 EET 2002 Timo Sirainen <tss@iki.fi>
5609 * Fixed command line parameter handling. All SILC initialization
5610 is now done in silc_core_init() which also fixes autoconnecting
5613 Affected files irssi/src/silc/core/silc-core.c,
5614 irssi/src/fe-text/silc.c.
5616 Thu Feb 14 22:03:58 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5618 * Added new configuration options and blocks:
5619 keepalive_secs, reconnect_count, reconnect_interval,
5620 reconnect_interval_max, reconnect_keep_trying and
5621 require_reverser_lookup. Added ConnectionParam block, and
5622 implemented the connection parameters when connecting as
5623 initiator and when accepting connections as responder.
5625 Added CONFIG_IS_DOUBLE macro in config file parsing, to check
5626 whether given configuration value has been given already.
5628 Affected files silcd/serverconfig.[c], server.[c].
5630 * Splitted the doc/example_silcd.conf.in. Separated the crypto
5631 algorithm parts and created new file silcalgs.conf, that
5632 is now included from the example_silcd.conf.in.
5634 * Optimized the silc_server_connect_to_router_second to take
5635 the connection configuration object from the SilcServerConnection
5636 object instead of finding it during the connecting phase.
5637 Added the configuration object to SilcServerConnection struct.
5638 Affected files silcd/server_internal.h, server.c.
5640 Thu Feb 14 16:02:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5642 * Add the client on channel after it was resolved at the
5643 channel message receiving, and it was not already on the
5644 channel. Affected file lib/silcclient/client_channel.c.
5646 Wed Feb 13 23:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5648 * Fixed the public key authentication to allocate always the
5649 destination signature buffer instead of using static buffer.
5650 Affected file silcd/protocol.c.
5652 Wed Feb 13 20:51:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5654 * Unified the serverconfig.[ch]'s helper function interface.
5655 Affected file silcd/serverconfig.[ch].
5657 * Removed doc/example_silc.conf.in since it is redundant.
5658 The make install will now install irssi/silc.conf file.
5660 * Added new Passphrase and Publickey authentication methods to
5661 config file, allowing both public key and passphrase based
5662 authentication to be set at the same time.
5664 Added `prefer_passphrase_auth' setting in config file which
5665 can be used to set to prefer passwd auth if both passwd and
5666 public key is set. If not set, public key is preferred.
5667 This has effect only when being initiator (responder will try
5670 Added support for authentication with passphrase and public key
5671 at the same time. The passphrase is tried first always since
5672 it is faster to check.
5674 Affected file silcd/serverconfig.[ch], server.c, protocol.[ch].
5676 Wed Feb 13 12:46:25 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5678 * Merged the new SILC Config library, with the server parsing
5679 support. Read the header file silcconfig.h or the toolkit
5680 documentation for the news. Affected files are
5681 doc/example_silcd.conf.in lib/silcutil/silcconfig.[ch]
5682 silcd/command.c silcd/packet_receive.c silcd/packet_send.c
5683 silcd/protocol.c silcd/server.c silcd/server_backup.c
5684 silcd/serverconfig.[ch] silcd/silcd.c.
5686 * Fixed some silclog documentation. Affected file is
5687 lib/silcutil/silclog.h.
5689 Sun Feb 10 18:11:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5691 * The silc_cipher_register, silc_hash_register and
5692 silc_hmac_register now checks if the object to be registered
5693 is registered already. Affected files are
5694 lib/silccrypt/silccipher.c, silchash.c and silchmac.c.
5696 Sun Feb 10 15:48:38 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5698 * Merged new irssi from irssi.org's CVS, the version 0.7.99.
5700 Sat Feb 9 14:54:33 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5702 * Allow zero length channel messages inside the Channel Message
5703 Payload. Affected file lib/silccore/silcchannel.c.
5705 * Fixed scripts/silcdoc/silcdoc to support all kinds of filenames
5706 as header filenames.
5708 * Removed lib/silcclient/README and created HTML file
5709 lib/silcclient/silcclient_using.html, which is now included
5710 as part of Toolkit documentation.
5712 Thu Feb 7 10:12:25 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5714 * Fixed CUMODE_CHANGE notify handling to change the mode of
5715 correct client. Affected file lib/silcclient/client_notify.c.
5717 * Make silc_rng_alloc fail if it cannot allocate the sha1
5718 hash algorithm. Affected file lib/silccrypt/silcrng.c.
5720 Sun Feb 3 17:20:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5722 * Fixed the file transfer's key agreement payload to include
5723 zero port also if the hostname is NULL because it could not
5726 Call file transfer monitor callback now also if error occurs
5727 during key agreement protocol.
5729 Changed the silc_client_file_send interface to return the
5730 SilcClientFileError instead of session id. The session ID
5731 is returned into pointer provided as argument.
5733 Check that the file exists locally before sending the
5734 file transfer request at all.
5736 Affected file lib/silcclient/client_ftp.c, silcapi.h.
5738 * Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer
5739 error than can occur while key agreement protocol. Affected
5740 file lib/silcclient/silcapi.h.
5742 * Fixed the event_mode CMODE handler to not crash when mode
5743 is changed and +k mode is set in the channel. Affected file
5744 irssi/src/silc/core/silc-channels.c.
5746 * Fixed SILC_LOG_ERROR to give out Error and not Warning, and
5747 SILC_LOG_WARNING to give out Warning and not Error. Affected
5748 file lib/silcutil/silclog.c.
5750 * Fixed the channel message payload decryption in the function
5751 silc_channel_message_payload_decrypt to not modify the original
5752 buffer before it is verified that the message decrypted
5753 correctly. Otherwise, next time it is called with correct
5754 channel key it won't encrypt since the payload is corrupted.
5755 Affected file lib/silccore/silcchannel.c.
5757 Sun Feb 3 11:46:12 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5759 * Do not constantly resize the window. A fix patch by cras.
5760 Affected file irssi/src/fe-text/screen.c.
5762 Sat Feb 2 16:54:18 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5764 * Applied IPv6 fix patch from Jun-ichiro itojun Hagino.
5765 Affected file lib/silcutil/silcnet.c.
5767 Fri Feb 1 22:33:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5769 * Fixed a bug in hash table internal routine for traversing
5770 the table with foreach callback. The current entry may
5771 become invalid in the callback but it was referenced after
5772 the callback returned.
5774 Do not allow auto rehashing of hash table during the
5775 silc_hash_table_foreach operation, for same reasons as it is
5776 not allowed for SilcHashTableList. Affected files are
5777 lib/silcutil/silchashtable.[ch].
5779 Fri Feb 1 14:55:00 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5781 * Defined DLLAPI into silcincludes.h and silcwin32.h for
5782 Win32 DLL. extern's in header files are now declared with
5785 Thu Jan 31 23:34:33 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5787 * Fixed private message handling. It used some old code that
5788 caused the client to crash. Affecte file is
5789 lib/silcclient/client_prvmsg.c.
5791 Thu Jan 31 19:06:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5793 * Added function silc_client_add_channel,
5794 silc_client_replace_channel_id, and removed functions
5795 silc_client_new_channel_id and silc_idlist_get_channel_by_id
5796 from client library.
5798 * Added cross reference of the joined channels to the
5799 SilcClientEntry, and changed the SilcChannelEntry's
5800 users list to SilcHashTable. The affected files are
5801 lib/silcclient/idlist.[ch].
5803 * Fixed a bug in hash table tarversing. While the hash table
5804 is traversed with SilcHashTableList the table must not be
5805 rehashed. It is now guaranteed that auto rehashable tables
5806 are not rehashed while tarversing the list. Also defined that
5807 silc_hash_table_rehash must not be called while tarversing
5808 the table. Added function silc_hash_table_list_reset that must
5809 be called after the tarversing is over. The affected files are
5810 lib/silcutil/silchashtable.[ch].
5812 * Changed all hash table traversing to call the new
5813 silc_hash_table_list_reset in server and in client library.
5815 * Added function silc_client_on_channel to return the
5816 SilcChannelUser entry if the specified client entry is joined
5817 on the specified channel. This is exported to application as
5818 well. Affected files lib/silcclient/client_channel.c, silcapi.h.
5820 Wed Jan 30 19:14:31 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5822 * Fixed founder regaining problem with JOIN command on normal
5823 server. The notify for mode change must be sent always and
5824 not only if !cmd->pending. Affected file silcd/command.c.
5826 * Fixed the WHOWAS command's reply sending to support the
5827 lists correctly. Affected file silcd/command.c.
5829 Wed Jan 30 11:11:47 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5831 * When sending JOIN command to router for processing the
5832 sender's old command identifier was not saved back to the
5833 sender's command context, fixed now. The affected file is
5836 * Create the key in JOIN command of the router did not return
5837 the channel key, added check for this. Affected file is
5840 * Fixed a channel ID update bug in JOIN command reply. Do
5841 not directly upgrade the ID but call the function
5842 silc_idlist_replace_channel_id if the ID was changed.
5843 Affected file silcd/command_reply.c.
5845 * Fixed memory leaks from command calling if it would fail.
5846 Affected file silcd/command.c.
5848 Tue Jan 29 19:49:31 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5850 * Applied patches from cras:
5852 Memory leak fixes around libaries, irssi window resize fix,
5853 new silclist.h and silcdlist.h, all extern inline changed to
5856 * Removed dotconf from lib/dotconf, not needed anymore.
5858 * Removed TRQ from lib/trq, not needed anymore.
5860 * Do more frequent heartbeats (5 minutes instead of 10 minutes)
5861 with server connections. Later this will be configurable
5862 in config file after new config file is done. Affected file
5865 Tue Jan 29 10:35:03 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5867 * Fixed a crash in server related to channel announcements.
5868 Affected file silcd/server.c.
5870 Mon Jan 28 17:49:42 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5872 * Fixed memory leaks in silc_server_create_new_channel*
5873 functions. Affected file silcd/server.c.
5875 * Fixed the CHANNEL_CHANGE notify to re-announce the channel
5876 which ID was changed. This way the router will send the
5877 user list for the channel again, and server won't be in
5878 desync in some rare circumstances. Affected file is
5879 silcd/packet_receive.c.
5881 Sun Jan 27 21:04:19 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5883 * Check for NULL socket pointer in the function
5884 silc_server_packet_send_to_channel_real. Affected file
5885 silcd/packet_send.c.
5887 * Fixed the BAN notify handling to correctly remove ban
5888 list. Affected file silcd/packet_receive.c.
5890 Sat Jan 26 23:01:03 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5892 * Fixed some header addition to Toolkit distribution in
5893 lib/silcutil/Makefile.am and lib/trq/Makefile.am.
5895 * Added lib/silcclient/client_ops_example.h as an template
5896 file for application programmers to quickly start using
5897 the SilcClientOperation functions in their application.
5898 Updated the lib/silcclient/README as well to tell about this
5899 nice file made available.
5901 Sat Jan 26 10:45:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5903 * Call silc_server_remove_from_channels when removing client
5904 entry when NO_SUCH_CLIENT_ID was received. Affected file
5905 is silcd/command_reply.c.
5907 Fri Jan 25 19:12:36 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5909 * Added server & router operator statistics updating. Affected
5910 file silcd/packet_receive.c and silcd/command.c.
5912 * Fixed the SERVER_SIGNOFF notify handling on normal server
5913 not to save the history information for clients. Same was
5914 fixed earlier in remove_clients_by_server function, but not
5915 here. Affected file silcd/packet_receive.c.
5917 * Raised the default connection-retry count from 4 to 7 in
5918 server. Affected file silcd/server.h.
5920 * Cancel any possible reconnect timeouts when we start the
5921 key exchange. Affected file silcd/server.c.
5923 * Do not reconnect on connection failure when SCONNECT was
5924 given. Affected files silcd/server.[ch].
5926 Tue Jan 22 18:19:36 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5928 * Removed assert()'s from the lib/silcclient/client_keyagr.c.
5930 * Fixed the NICK command to always give the unformatted
5931 nickname to the one giving the NICK command. If unformatted
5932 nickname is cached already it will be formatted and the
5933 local entry will always get the unformatted nickname.
5934 Affected file lib/silcclient/idlist.c.
5936 * Fixed some double frees from client library commands.
5937 Affected file is lib/silcclient/command.c.
5939 * Fixed CUMODE command in server to assure that no one can
5940 change founder's mode than the founder itself, there was a
5941 little bug. Affected file silcd/command.c.
5943 Mon Jan 21 19:07:53 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5945 * Removed the SilcClientCommandDestructor from the client
5946 libary, it is not needed anymore. Affected files are
5947 lib/silcclient/silcapi.h, command[_reply].[ch],
5948 client_notify, idlist.c.
5950 * Fixed GETKEY command to first resolve client, and then
5951 resolve the server only if the client was not found, instead
5952 of resolving both at the same time. Affected file is
5953 lib/silcclient/command.c.
5955 * Added silc_client_start_key_exchange_cb and lookup the
5956 remote hostname and IP address before starting the key
5957 exchange with server. The affected file is
5958 lib/silcclient/client.c.
5960 * The server's public key is now saved using the IP address
5961 of the server and not the servername for the filename.
5962 The hostname public key filename is checked as an fall back
5963 method if the IP address based filename is not found.
5965 Fixed the GETKEY command to save the fetched server key
5966 in correct filename.
5968 Print the remote server's hostname now when new key is
5969 received during connection process. Affected file is
5970 irssi/src/silc/core/client_ops.c.
5972 * Return always our own public key to the client if it asks
5973 for it with GETKEY command. Affected file silcd/command.c.
5975 * Removed the use_auto_addr variable from default config
5976 file since it was in wrong section. Affected file is
5979 * Fixed TOPIC_CHANGE notification to not route it when it
5980 was sent using silc_server_send_notify_to_channel function.
5981 Affected file silcd/command.c.
5983 * Fixed silc_server_send_notify_kicked to send the kicker's
5984 Client ID also, it was missing. Affected files are
5985 silcd/command.c, silcd/packet_send.[ch].
5987 Thu Jan 17 18:59:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5989 * Do not save client history information in SERVER_SIGNOFF.
5990 Fixes the bug in normal server that it does not detect
5991 the client becoming valid after the server becomes back
5992 online. Affected file silcd/server_util.c.
5994 * Added `sock_error' field into the SilcSocketConnection
5995 context. When error occurs during socket operation (read
5996 or write) the error is saved. Added also new function
5997 silc_socket_get_error to return human readable socket error
5998 message. Affected files are lib/silcutil/silcsockconn.[ch],
5999 lib/silcutil/unix/silcunixsockconn.c, and
6000 lib/silcutil/win32/silcwin32sockconn.c.
6002 * The server now prints the socket error message in the
6003 signoff for client. Affected file silcd/server.c.
6005 * Fixed the `created' channel information sending from router
6006 to server in JOIN command. Checks now whether the channel
6007 really was created or not and set it according that.
6009 Fixed the JOIN command to use the client entry's current
6010 ID during the joining procedure instead of the one it sent
6011 in the command (it is checked though), since it can change
6012 between the packet processing and command processing, and
6013 would just case unnecessary pain in the client end. Affected
6014 file silcd/command.c.
6016 * Fixed a channel key payload sending to use correct channel
6017 ID when the server was forced to change the channel's ID by
6018 router. Router sent the key payload with the old Channel ID.
6019 Affected file silcd/packet_receive.c.
6021 Wed Jan 16 22:26:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6023 * Call silc_server_save_channel_key only if the key payload
6024 was provided in the JOIN command's command reply. Affected
6025 file silcd/command_reply.c.
6027 Tue Jan 15 18:49:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6029 * Fixed silc_mp_sizeinbase to return the value correctly with
6030 MPI. Affected file lib/silcmath/mp_mpi.c.
6032 * Fixed the stop_server signal to correctly stop the scheduler
6033 and gracefully stop the server when SIGTERM or SIGINT signals
6034 are received. Affected file silcd/silcd.c.
6036 Mon Jan 7 23:38:19 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
6038 * Simple handling of TERM and HUP signals. Also added some log
6039 flushing call around. Affected file is
6042 * Fixed small bugs in silclog.c. Now buffering output will take
6043 effect after 10 seconds since startup: This will ensure that
6044 no important startup messages are lost. Also output redirection
6045 will preserve original format ([Date] [Type] message).
6046 Affected file is lib/silcutil/silclog.c.
6048 * Added two options to the config file, in the logging section:
6049 quicklogs:<yes/no>: and flushdelay:<seconds>:. Affected files
6050 lib/silcutil/silclog.[ch], silcd/serverconfig.[ch].
6052 Sun Jan 6 12:49:40 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6054 * Do not print the warning about log files not being initialized
6055 more than once to avoid excess logging. Affected file is
6056 lib/silcutil/silclog.c.
6058 * Fixed the SIM compilation in lib/silcsim/Makefile.am. Fixed
6059 the SIM copying in make install in Makefile.am.pre.
6061 Sun Jan 6 01:10:21 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6063 * Rewritten silclog APIs. Globally interesting changes follows:
6064 silc_log_set_files() changed to silc_log_set_file().
6065 silc_log_set_callbacks() changed to silc_log_set_callback().
6066 ROBOdoc documented silclog header file.
6067 SilcLogCb now returns bool to wether inihibit the default
6068 handler or not (to keep the old behaviour return always TRUE).
6069 The new APIs should also fix the problem of the
6070 silcd_error.log file that was written in the current directory.
6073 Log files streams will remain opened after silc_log_set_file()
6074 call, means less CPU usage notably on high traffic servers.
6075 File streams are now full buffered, and flushed to the disk
6076 every 5 minutes, lesses HD activity and CPU usage.
6077 Messages can be redirected, allowing admins to configure
6078 one single logfile for all server messages.
6079 the silc_log_quick global variable to activate fast-logging.
6080 Affected files lib/silcutil/silclog.[ch]
6082 * Changed some code to conform new silclog APIs. Affected
6083 files are doc/example_silcd.conf.in, silcd/server.c
6084 irssi/src/silc/core/silc-core.c, silcd/serverconfig.[ch],
6087 * Fixed a memory leak that could occur in some situations.
6088 Affected file silcd/serverconfig.c.
6090 Sat Jan 5 13:37:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6092 * Added the silc_client_del_client to remove the client from
6093 all channels as well. Affected file lib/silcclient/idlist.c.
6095 * Fixed the client library to correctly remove the client
6096 from all channels when the client entry is being destroyed.
6097 Affected file lib/silcclient/client_notify.c, command.c.
6099 * Added auto-nicking support to the client library. If the
6100 applicatio now sets client->nickname it will be sent to the
6101 server after connecting by the library. This way for example
6102 SILCNICK (or IRCNICK) environment variables will have effect
6103 and always change the nickname automatically to whatever
6104 it is wanted. Affected file lib/silcclient/client.[ch].
6106 * Renamed silc_server_command_bad_chars to the
6107 silc_server_name_bad_chars and moved it to the
6108 silcd/server_util.[ch]. Added also new function
6109 silc_server_name_modify_bad to return nickname that
6110 includes bad characters as new nickname without those
6111 bad characters. This check and modify is now used in
6112 silc_server_new_client when the username is initially set
6113 as nickname, so it must be checked to be valid nickname.
6114 Affected file silcd/packet_receive.c.
6116 * The nickname length is now taken from the packet for real
6117 and not trusted to strlen() since it clearly can return
6118 wrong length for nickname including bad characters. This
6119 also applies to channel names. Affected file silcd/command.c.
6121 * Removed the lib/silcsilm/modules directory. Modules are now
6122 compiled into the lib/silcsim. Fixed the copying of the
6123 modules to follow symbolic links in Makefile.am.pre.
6125 Wed Jan 2 18:56:21 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6127 * Fixed silc_string_regexify list creation. Fixes bugs with
6128 BAN and INVITE commands in server. The affected file is
6129 lib/silcutil/unix/silcunixutil.c.
6131 Sun Dec 30 13:41:34 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6133 * Removed the command destructor entirely from the server's
6134 command and command reply routines. It is not needed, and
6135 its usage was buggy and caused crashes. Affected files are
6136 silcd/command[_reply].[ch].
6138 Fri Dec 28 12:43:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6140 * Cancel protocol and NULL sock->protocol if timeout
6141 occurred during protocol. Affected file silcd/server.c.
6143 * Cancel protocol timeouts always before calling the final
6144 callback, to assure that after final callback is called
6145 no other state will be called for the protocol anymore.
6146 Affected file silcd/protocol.c.
6148 * Print error log if incoming connection configuration could
6149 not be found. Affected file silcd/server.c.
6151 * Fixed JOIN command to correctly save the founder mode
6152 to the client on normal SILC server, when the channel
6153 was created by the router. Affected file silcd/command.c.
6155 * Fixed LIST command (hopefully) to send correct reply
6156 packets. Affected file silcd/command.c.
6158 Thu Dec 20 16:14:52 CET 2001 Pekka Riikonen <priikone@silcnet.org>
6160 * The silc_packet_receive_process now returns FALSE if the
6161 read data was invalid packet, and TRUE if it was ok.
6163 The server now checks that if unauthenticated connection
6164 sends data and its processing fails the server will close
6165 the connection since it could be a malicious flooder.
6167 Affected files lib/silccore/silcpacket.[ch], silcd/server.c.
6169 Wed Dec 19 21:31:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6171 * Make sure the warning about error opening a log file is
6172 printed only once and not everytime it fails (produces
6173 too much useless log). Affected file lib/silcutil/silclog.c.
6175 Wed Dec 19 18:21:51 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6177 * Made the silc_server_daemonise() function more readable.
6178 Affected file silcd/server.c.
6180 * Pid file is now optional, the user may comment it out from
6181 the config file. Removed define SILC_SERVER_PID_FILE, we
6182 don't need a default any longer. Affected file
6183 configure.in.pre, lib/Makefile.am.pre.
6185 * Make some use of the pid file. The server now dies at startup
6186 if it detects a valid pid file on his path. The server would
6187 die anyway in this circumstance, because of the bind() failure.
6188 Affected file silcd/silcd.c.
6190 * No longer compiling lib/dotconf.
6192 Mon Dec 17 18:24:27 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6194 * Fixed JOIN command parsing not to crash. Affected file
6195 lib/silcclient/command.c.
6197 * Fied the NICK_CHANGE notify to add the new client entry
6198 even it is resolved. This removes an <[unknown]> nick
6199 thingy bug in the client. Affected file is
6200 lib/silcclient/client_notify.c.
6202 * Do not try to allocate 0 bytes (efence does not like it)
6203 in lib/silccore/silccomand.c when encoding payload.
6205 * Do not take IRCNICK as nickname in Irssi SILC client since
6206 it is not possible to set nickname before hand connecting
6207 the server (TODO has an entry about adding auto-nicking
6210 * Changed the silc_server_command_pending to check whether
6211 there already exists an pending entry with the specified
6212 command, command identifier and pending callback. This is
6213 to fix IDENTIFY and WHOIS related crashes that may register
6214 multiple pending commands with same identifier. Affected
6215 file silcd/command.c.
6217 * Fixed the server to reconnect to the router even if it
6218 was already reconnecting and EOF was received. This to
6219 fix a possibility that the server wouldn't ever try to
6220 auto-reconnect to the router. Affected file silcd/server.c.
6222 Sat Dec 15 20:31:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6224 * Fixed the server's password authentication to use the
6225 length of the locally saved password, and not the one
6226 sent in the packet. Affected file silcd/protocol.c.
6228 * Fixed same password authentication problem in the
6229 Authentication Payload handling routines in
6230 lib/silccore/silcauth.c.
6232 * Yet another password authentication problem fixed with
6233 channel password handling in silcd/command.c.
6235 Mon Dec 10 19:57:40 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6237 * If first character of string in silc_parse_userfqdn is '@'
6238 then do not parse it. Affected file is
6239 lib/silcutil/silcutil.c.
6241 Sun Dec 9 22:18:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6243 * Fixed minor bug in IDENTIFY command reply sending, which
6244 caused various weird problems during JOIN when it was
6245 resolving names for users. Affected file silcd/command.c.
6247 Sun Dec 9 19:18:41 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6249 * Fixed the IDENTIFY command reply sending to chech better valid
6250 clients. It was possible to send incomplete list of replies.
6251 Affected file silcd/command.c.
6253 Sat Dec 8 15:58:31 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6255 * Added silc_client_command[s]_[un]register functions now to
6256 dynamically register the commands in client library. Removed
6257 the static table of commands. This allows the client library
6258 to call commands without causing the application to know about
6259 what commands library has called.
6261 Removed the INFO command reply kludge to detect when the command
6262 was called by library. Now library use its own command reply
6263 function for INFO command.
6265 Added function silc_client_command_call to call a command.
6266 Application can use it to call command, not access the structure
6269 Now all commands that are sent by the client library (not
6270 explicitly sent by application) use own command reply functions.
6272 Affected files around lib/silcclient/ and in
6273 irssi/src/silc/core/.
6275 * Fixed the WHOIS command reply sending to chech better valid
6276 clients. It was possible to send incomplete list of replies.
6278 Fixed the WHOIS and IDENTIFY to send the request to router
6279 if normal server did not do it and did not find any results.
6281 Affected file silcd/command.c.
6283 Thu Dec 6 17:21:06 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6285 * Moved the internal data from SilcClient context into its
6286 own file, not accesible to application. Affected files
6287 lib/silcclient/client.h and lib/silcclient/client_internal.h,
6288 and other files in client library.
6290 Thu Dec 6 10:37:55 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6292 * Added doc/examples installation target in Makefile.am.pre.
6295 Tue Dec 4 17:43:19 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6297 * If NO_SUCH_CLIENT_ID notify is received for WHOIS or IDENTIFY
6298 commands the found client entry will be removed from the
6299 cache, after notifying application about the error. Affected
6300 file lib/silcclient/command_reply.c.
6302 * Changed the /MSG to check for exact nickname user gave, and
6303 not let `nick' match `nick@host' if it is only one found. Now,
6304 user must type the exact nickname (like nick@host2) even if
6305 there are no more than one same nicks found. This is to avoid
6306 a possibility of sending nickname to wrong nickname since
6307 `nick' could match `nick@host'. Affected file is
6308 irssi/src/core/silc-servers.c.
6310 Mon Dec 3 18:49:45 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6312 * Do not print "you are now server operator" or similar when
6313 giving /away command. Affected files are
6314 irssi/src/silc/core/client_ops.c, silc-servers.h.
6316 * Made the silc_server_command_pending_error_check to send
6317 the same command reply payload it received back to the
6318 original sender of the command. This way all arguments
6319 that was received by the server will be received by the
6320 client too. Affected file silcd/command.c.
6322 * Added the silc_idcache_add to return the created cache entry
6323 to a pointer. Affected file lib/silccore/silcidcache.[ch].
6325 * Add global clients to expire if they are not on any channel.
6326 This is because normal server will never know if they signoff
6327 if they are not on any channel. The cache expiry will take
6328 case of these entries. This is done by normal servers only.
6329 The affected files are silcd/command_reply.c,
6330 silcd/idlist.[ch], silcd/server and silcd/packet_receive.c.
6332 * If server receives invalid ID notification for WHOIS or
6333 IDENTIFY and the ID exists in the lists, it is removed.
6334 Affected file silcd/command_reply.c.
6336 * If NO_SUCH_CLIENT_ID is received for WHOIS or IDENTIFY command
6337 in client then client entry that it matches is searched and
6338 the nickname is printed on the screen for user. Affected
6339 file irssi/src/silc/core/client_ops.c.
6341 Mon Dec 3 11:56:59 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6343 * Use cache entry expire time in the LIST command reply to
6344 purge old entries from the cache after the LIST command
6345 reply has been received. This way we don't have non-existent
6346 entries in the cache for too long. Affected file is
6347 silcd/command_reply.c.
6349 Sun Dec 2 23:29:07 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6351 * If we are normal server, and we've not resolved client info
6352 in WHOIS or IDENTIFY from router, and it is global client,
6353 we'll check whether it is on some channel. If it is not
6354 then we cannot be sure about its validity and will resolve it
6355 from router. Fixes a bug in WHOIS and IDENTIFY. Affected
6356 file silcd/command.c.
6358 * Search channel by name (if possible) rather than by ID
6359 in IDENTIFY command's command reply. Affected file is
6360 silcd/command_reply.c.
6362 Sun Dec 2 13:48:46 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6364 * Distribute to the channel passphrase in CMODE_CHANGE notify.
6365 Updated specs and implemented it. Affected file silcd/command.c,
6366 silcd/packet_send.c and silcd/packet_receive.c.
6368 * Implemented the <founder auth> payload handling in the JOIN
6369 command. If provided all conditions for channel joining
6370 except requirement to provide correct passphrase can be
6371 overrided by the channel founder. Updated the protocol specs.
6372 Affected file silcd/command.c.
6374 Added support for founder auth in JOIN command in client
6375 library. Fixed the parsing of the JOIN command now to support
6376 all options as they should be. The affected file is
6377 lib/silcclient/command.c.
6379 * Optimized the WHOIS and IDENTIFY commands to send the request
6380 to router only if it includes nicknames or other names. If
6381 they include only IDs then check the local cache first before
6382 routing. Affected file is silcd/command.c.
6384 * Added channels topic announcements. Affected file is
6385 silcd/packet_receive.c and silcd/server.c.
6387 * Fixed the silc_server_send_notify_topic_set to really destine
6388 the packet to channel. Affected file silcd/packet_send.c.
6390 * Fixed a crash in CHANNEL_CHANGE notify handling in the client
6391 library. Affected file lib/silcclient/client_notify.c.
6393 * Added UMODE announcements. Affected file silcd/server.c.
6395 Sat Dec 1 12:52:39 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6397 * Memory leak fixes in:
6399 lib/silcutil/silcsockconn.c
6400 lib/silcske/silcske.c
6401 lib/silcske/groups.c
6403 lib/silccrypt/silcpkcs.c
6404 lib/silccore/silccommand.c
6405 lib/silccore/silcidcache.c
6410 * ROBOdoc documented the lib/silcske/groups.h file and a
6411 bit changed the interface for better.
6413 Thu Nov 29 22:12:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6415 * Update the client entry context in the ID cache after
6416 nick change. Affected file lib/silcclient/command.c.
6417 Fixes the CUMODE command when regaining founder privileges,
6418 and a little WHOIS problem.
6420 * Fixed silc_net_gethostbyname to correctly call the
6421 inet_ntop. Affected file lib/silcutil/silcnet.c.
6423 Thu Nov 29 19:31:23 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6425 * Added IPv6 support checking to the configure.in.pre, added
6426 also --enable-ipv6 option to override the check. Affected
6427 file configure.in.pre.
6429 * The silc_thread_create now calls the start function
6430 directly if threads support is not compiled in. Removes
6431 ugly #ifdef's from generic code. Affected files are
6432 lib/silcutil/unix/silcunixthread, win32/silcwin32thread.c.
6434 * Added silc_net_gethostby[name/addr]_async to asynchronously
6435 resolve. Affected files are lib/silcutil/silcnet.[ch].
6437 * Added support for rendering IPv6 based server, client and
6438 channel IDs. Affected file lib/silcutil/silcutil.c.
6440 * Added support for creating IPv6 based server IDs. Affected
6441 file is silcd/serverid.c.
6443 Wed Nov 28 23:46:09 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6445 * Added silc_net_gethostby[addr/name] into the
6446 lib/silcutil/silcnet.[ch]. Added IPv6 support to Unix network
6447 routines. Added silc_net_is_ip[4/6]. Affected file is
6448 lib/silcutil/unix/silcunixnet.c. All routines that take
6449 address as argument now supports both IPv4 and IPv6 addresses.
6451 Mon Nov 26 18:09:48 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6453 * Fixed LIST command reply sending in server. Affected file
6456 * Server now sends the kicker's client ID in the KICK notify
6457 to the kicked client. Affected file silcd/command.c.
6459 * The client library now parses the kickers client ID and
6460 UI displays it. Affected files lib/silcclient/client_notify.c
6461 and irssi/src/silc/core/silc-channels.c, module-formats.c.
6463 * Made all payload parsing function prototypes consistent.
6464 They all take now const unsigned char * and uint32 pair as
6465 the payload data instead of SilcBuffer. Changes all around
6466 the source tree. Other unsigned char* -> const unsigned char*
6467 changes around the tree as well.
6469 * Optimized SFTP client and server packet sending not to
6470 allocate new buffer for each packet but to recycle the
6471 first allocated buffer. Affected files are
6472 lib/silcsftp/sftp_client.c, sftp_server.c, sftp_util.[ch].
6474 * Optimized the SFTP client to use SilcList instead of
6475 SilcDList for requests, because it is faster. Affected file
6476 is lib/silcsftp/sftp_client.c.
6478 * Moved the ID Payload routines from lib/silccore/silcpayload.[ch]
6479 into lib/silccore/silcid.[ch].
6481 Renamed silcpayload.[ch] into silcargument.[ch].
6483 Mon Nov 26 15:01:53 CET 2001 Pekka Riikonen <priikone@silcnet.org>
6485 * If client entry is deleted with active key agreement
6486 session, abort the session.
6488 The silc_client_abort_key_agreement now calls the completion
6489 callback with new SILC_KEY_AGREEMENT_ABORTED status.
6491 Affected file lib/silcclient/silcapi.h, client_keyagr.c and
6494 Sun Nov 25 18:01:45 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6496 * Don't use __restrict in older GCC's. Affected file is
6497 lib/silcmath/mpi/mpi-priv.h. A patch by salo.
6499 * silc_net_localhost now attempts to reverse lookup the
6500 IP/hostname. Affected file lib/silcutil/silcnet.c.
6502 * Defined <founder auth> argument to the SILC_COMMAND_JOIN
6503 command. It can be used to gain founder privileges at
6504 the same time when joining the channel.
6506 Defined that the SILC_NOTIFY_TYPE_KICKED send the
6507 kicker's client ID as well. Updated protocol specs.
6509 Defined that the server must send SILC_COMMAND_IDENTIFY
6510 command reply with error status to client who sent
6511 private message with invalid client ID.
6513 Updated the protocol specification.
6515 * Added silc_server_send_command_reply to send any
6516 command reply. Affected file silcd/packet_send.[ch].
6518 * Added silc_id_payload_encode_data to encode ID payload
6519 from raw ID data. Affected file lib/silccore/silcpayload.[ch].
6521 * The server now send IDENTIFY command reply with error
6522 status if client ID in private message is invalid. Affected
6523 file silcd/packet_receive.c.
6525 * Save the server key file with server's IP address in
6526 the filename instead of hostname. The affected file is
6527 irssi/src/silc/core/client_ops.c.
6529 Sat Nov 24 20:08:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6531 * Typo fixes in irssi/src/fe-common/silc/module-formats.c.
6534 * Added libtool support for compiling shared objects in
6535 lib/silcsim. Affected file configure.in.pre and
6536 lib/silcsim/Makefile.am. Original patch by cras.
6538 Fri Nov 23 23:30:59 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6540 * Pid file configuration, and server's config file fixes
6541 patch by toma. Updated CREDITS file.
6543 Sun Nov 18 01:34:41 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6545 * Fixed silc_client_channel_message to not try to decrypt
6546 the message twice if it resolved the destination client
6547 information. This could cause of dropping one channel
6548 message. Affected file lib/silcclient/client_channel.c.
6550 Wed Nov 14 23:44:56 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6552 * Added silc_client_run_one into lib/silcclient/silcapi.h and
6553 lib/silcclient/client.c. This function is used when the SILC
6554 Client is run under some other scheduler, or event loop or
6555 main loop. On GUI applications, for example this may be
6556 desired to used to run the client under the GUI application's
6557 main loop. Typically the GUI application would register an
6558 idle task that calls this function multiple times in a second
6559 to quickly process the SILC specific data.
6561 Wed Nov 14 19:16:52 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6563 * Fixed silc_server_drop() for dropping the supplementary
6564 groups as well, this could cause a security hole on some
6567 Wed Nov 14 16:22:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6569 * __pid_t -> pid_t in lib/silccrypt/silcrng.c. A patch by
6572 * Write PID file after dropping privileges. Added -F option
6573 to run server on foreground. A patch by debolaz.
6574 Affected files silcd/server.c, silcd/silcd.c.
6576 * Fixed MOTD to return the MOTD file server name. Affected
6577 file silcd/command.c.
6579 * Added INFO command reply handling to the Irssi SILC Client.
6580 Affected file irssi/src/silc/core/client_ops.c.
6582 Wed Nov 14 00:18:08 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6584 * Fixed the silc_idcache_list_* routines to really support
6585 the dynamic list. Fixes a crash. Affected file is
6586 lib/silccore/silcidcache.c.
6588 * Fixed the LIST command reply to really call LIST command's
6589 pending callbacks. Affected file silcd/command_reply.c.
6591 Tue Nov 13 00:49:17 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6593 * Update conn->local_entry->nickname after giving NICK
6594 command. Affected file lib/silcclient/command.c.
6596 Sun Nov 11 23:43:02 PST 2001 Brian Costello <bc@wpfr.org>
6598 * Added the [pid] option to the silcd configuration file
6600 Affected files: serverconfig.[ch] and silcd.c
6602 Sun Nov 11 23:56:39 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6604 * Save fingerprint in WHOIS command reply in server.
6605 Affected file silcd/command_reply.c.
6607 * Fixed NICK commands pending callback registration.
6608 Affected file lib/silcclient/command.c.
6610 Sun Nov 11 10:49:10 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6612 * Use ++server->cmd_ident when sending commands in server,
6613 instead of random number. Affected file silcd/command.c.
6615 * Fixed GETKEY command reply to call actually GETKEY pending
6616 command callbacks. Affected file silcd/command_reply.c.
6618 * A bit stricter check for nicknames. Check for same nickname
6619 in NICK command also. Affected file silcd/command.c.
6621 * Do not call INFO command everytime client ID changes, only
6622 during first connecting. Affected file lib/silcclient/client.c.
6624 * Set the new nickname only after successful command reply for
6625 NICK command is returned by server. Affected file
6626 lib/silcclient/command.c.
6628 * Remove nicknames from nicklist during server_signoff notify.
6629 Should fix /NAMES bit more. The affected file is
6630 irssi/src/silc/core/silc-channels.c.
6632 * Added `fingerprint' field to the SilcIDListData in the
6633 silcd/idlist.h to hold the fingerprint of the client's
6636 Send the fingerprint of the client's public key in WHOIS
6639 Affected files silcd/command.c, and silcd/idlist.[ch].
6641 * Added silc_fingerprint into lib/silcutil/silcutil.[ch] to
6642 create fingerprint from given data.
6644 * Show the fingerprint of the client's public key in WHOIS.
6645 Affected files irssi/src/module-formats.[ch] and
6646 irssi/src/silc/core/client_ops.c.
6648 * Format the multiple same nicknames also during JOIN and
6649 NICK_CHANGE notifys. Affected file is
6650 lib/silcclient/client_notify.c.
6652 * Do not print error on screen for invalid private message
6653 payload since it can come if someone is sending private
6654 messages with wrong key. Affected file
6655 lib/silccore/silcprivate.c.
6657 * Fixed multiple concurrent /PING crash. Affected file
6658 lib/silcclient/command.c.
6660 * Changed the wrong ID encoding. All IP addresses must be
6661 in MSB first order in encoded format. They were encoded
6662 wrong and was in LSB format. Affected files are
6663 silcd/serverid.c, lib/silcutil/silcutil.c.
6665 * Remove silc_net_addr2bin_ne from lib/silcutil/silcnet.[ch].
6667 * Call the `connect' client operation through the scheduler
6668 in case of error. Affected file lib/silcclient/client.c.
6670 * Call the `failure' client operation even if the error
6671 occurred locally during a protocol. Affected file is
6672 lib/silcclient/protocol.c.
6674 * Added support of sending LIST command to router from normal
6675 server. This way normal server can get list of all channels
6676 in the network too. Fixed the channel list sending in the
6677 server too. Affected files are silcd/command.c, and
6678 silcd/command_reply.[ch].
6680 * Added silc_server_update_channels_by_server and
6681 silc_server_remove_channels_by_server. They are used during
6682 disconnection of primary router and in backup router protocol.
6683 Affected file silcd/server_util.[ch], silcd/server.c and
6684 silcd/server_backup.c.
6686 * Fixed channel adding to global list in IDENTIFY command
6687 reply in server. Affected file silcd/command_reply.c.
6689 Sat Nov 10 21:39:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6691 * If the incoming packet type is REKEY or REKEY_DONE process
6692 that packet always synchronously. Fixes yet another MAC
6693 failed error on slow (dialup) connections. Affected file
6694 lib/silcclient/client.c and silcd/server.c.
6696 Thu Nov 8 22:21:09 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6698 * Call check_version SKE callback for initiator too. Affected
6699 file lib/silcske/silcske.c.
6701 * Implemented fix for security hole found in the SKE that was
6702 fixed in the specification few days back; the initiator's
6703 public key is now added to the HASH value computation.
6704 Added backwards support for the old way of doing it too, for
6705 old clients and old servers. Affected file is
6706 lib/silcske/silcske.c.
6708 * Enabled mutual authentication by default in SKE. If initiator
6709 is not providing mutual authentication the responder will
6710 force it. This will provide the proof of posession of the
6711 private key for responder. The affected files are
6712 lib/silcclient/protocol.c and silcd/protocol.c.
6714 * Do not cache anymore the server's public key during SKE.
6715 We do mutual authentication so the proof of posession of
6716 private key is done, and if the server is authenticated in
6717 conn auth protocol with public key we must have the public
6718 key already. Affected file silcd/protocol.c.
6720 * Added new global debug variable: silc_debug_hexdump. If
6721 it is set to TRUE SILC_LOG_HEXDUMP will be printed. Affected
6722 file lib/silcutil/silclog.[ch].
6724 * Fixed compilation warning due to char * -> const char *.
6725 Affected files lib/silcutil/silcnet.h, and
6726 lib/silccore/silcauth.[ch].
6728 Wed Nov 7 20:43:03 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6730 * Fixed CMODE command when new channel key was created. If
6731 the creation failed the old key was removed. Next time giving
6732 same command would crash the server since the old key was
6733 freed already. Affected file silcd/command.c.
6735 * Fixed the silc_server_announce_get_channels to not crash
6736 on reconnect. Affected file silcd/server.c.
6738 Wed Nov 7 17:15:07 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6740 * Added silc_log_set_debug_string function to set a regex
6741 string to match for debug output. Only the function names,
6742 or filenames matching the given debug string is actually
6743 printed. This way it is possible to filter out those debug
6744 strings that user is not interested in.
6746 Fixed a bug in silc_string_regexify.
6748 Affected files lib/silcutil/silclog.[ch], and
6749 lib/silcutil/unix/silcunixutil.c.
6751 * Changed the -d options in both server and Irssi SILC client
6752 to take the debug string as argument. Affected files
6753 silcd/silcd.c and irssi/src/silc/core/silc-core.c.
6755 Tue Nov 6 21:31:54 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6757 * Added silc_hash_babbleprint to create a Bubble Babble
6758 Encoded fingerprint. The encoding is developed by Antti
6759 Huima (draft-huima-babble-01.txt), and it creates human
6760 readable strings out of binary data. Affected file
6761 lib/silccrypt/silchash.[ch].
6763 * Print the babble print now in addition of fingerprint as well
6764 in Irssi SILC client. Affected files are
6765 irssi/src/fe-common/silc/module-formats.[ch],
6766 irssi/src/fe-common/silc/core/client_ops.c.
6768 Sun Nov 4 23:37:28 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6770 * Fixed a security problem found in SKE. The initiator's
6771 public key too is now added to the HASH hash value creation
6772 which is signed by the responder to create the SIGN value.
6773 This will prevent anyone in the middle to lie to the responder
6774 about the initiator's public key. If this is done now, the
6775 man in the middle will get caught. Updated the protocol
6778 Sun Nov 4 11:43:53 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6780 * Better installation directory handling. Configure module
6781 paths and other paths automatically to example_silc* files
6782 in doc/. A patch by toma.
6784 * Fixed compiler warning from MPI library, and from SILC RNG.
6787 * Added SILC_SERVER_PID_FILE to define the pid file for server.
6788 It can be configured with ./configure. A patch by toma.
6790 Sat Nov 3 23:48:23 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6792 * Find correct make to use in prepare-clean. A patch by
6793 toma. Affected file prepare-clean.
6795 Sat Nov 3 22:04:00 PST 2001 Brian Costello <bc@mksecure.com>
6797 * Added irssi variables use_auto_addr, auto_bind_ip,
6798 auto_bind_port and auto_public_ip.
6800 * Changed the interface for silc_client_send_key_agreement
6801 in lib/silcclient/silcapi.h
6805 irssi/src/silc/core/silc-core.c
6807 lib/silcclient/silcapi.h
6808 irssi/src/silc/core/silc-channels.c
6809 lib/silcclient/client_keyagr.c
6812 Sat Nov 3 17:48:55 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6814 * Added silc_pkcs_public_key_compare to compare two
6815 public keys. Affected file lib/silccrypt/silcpkcs.[ch].
6817 * Check that the client who set the founder mode on the
6818 channel is the same client that is giving the founder
6819 mode to itself. It is done by comparing the saved public
6820 key (it is saved even in the authentication is passphrase).
6821 Affected file silcd/command.c.
6823 Fri Nov 2 18:52:08 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6825 * Do not process packet for disconnected socket connection.
6826 Affected file lib/silccore/silcpacket.c.
6828 * Process the DISCONNECT packet through scheduler in the
6829 client library. Affected file lib/silcclient/client.c.
6831 * Fixed the silc_client_packet_parse to not to increase
6832 the packet sequence number if the conn->sock and the
6833 current socket connection is not same. This can happen
6834 for example during key agreement when the conn includes
6835 multiple socket connections (listeners). Affected file
6836 lib/silcclient/client.c.
6838 * The sender of the file transfer request now provides also
6839 the pointer (listener) for the key exchange protocol. If
6840 the listener cannot be created then it sends empty key
6841 agreement and lets the receiver provide the listener.
6843 Added `local_ip' and `local_port' arguments to the
6844 silc_client_file_send. If they are provided they are used,
6845 if not then it will attempt to find local IP address, if
6846 not found or bind fails then the remote client will provide
6849 Affected files are lib/silcclient/client_ftp.c and
6850 lib/silcclient/silcapi.h.
6852 * Extended the FILE SEND command to support defining the
6853 local IP and port for key exchange listener. They are
6854 optional. Affected file irssi/src/silc/core/silc-servers.c.
6856 Thu Nov 1 22:10:07 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6858 * Defined to WHOIS command reply the sending of fingerprint
6859 of the client's public key (if the proof of posession of the
6860 corresponding private key is verified by the server).
6861 Updated to the protocol specification.
6863 * Added support of receiving the client's public key's
6864 fingerprint in command reply in client library. Affected
6865 file is lib/silcclient/command_reply.c, and
6866 lib/silcclient/idlist.[ch].
6868 Thu Nov 1 18:06:12 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6870 * Do not send over 128 chars long nickname to the server
6871 in NICK command. Affected file lib/silcclient/command.c.
6873 * Do not send over 256 chars long channel names to the server
6874 in JOIN command. Affected file lib/silcclient/command.c.
6876 Tue Oct 30 22:48:59 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6878 * Assure that silc_server_close_connection cannot be called
6879 twice for same socket context. Affected file is
6882 Tue Oct 30 16:58:14 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6884 * Send error message to application if opening file for
6885 writing during file transfer fails. Affected file is
6886 lib/silcclient/client_ftp.c.
6888 Remove all file transfer sessions for a client that we're
6889 removing from ID cache.
6891 Affected file is lib/silcclient/client_ftp.c.
6893 * Fixed silc_net_addr2bin to return correct address. Affected
6894 file lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
6896 * Fixed file transfer session removing on signoff notify.
6897 Affected file irssi/src/silc/core/silc-servers.c.
6899 * Added the SilcClientFileError to be returned in the monitor
6900 callback. Added NO_SUCH_FILE and PERMISSION_DENIED errors.
6901 Affected file lib/silcclient/silcapi.h.
6903 Mon Oct 29 17:43:04 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6905 * Fixed a crash in silc_client_ftp_free_sessions and
6906 silc_client_ftp_session_free_client. Affected file
6907 lib/silcclient/client_ftp.c.
6909 * Added `disabled' field in the SilcChannelEntry in the server
6910 to indicate if the server entry is disabled. Affected file
6911 silcd/idlist.h, silcd/command[_reply].c.
6913 * SILC server adds now /var/run/silcd.pid everytime it is
6914 started. Affected file silcd/silcd.c.
6916 * Added silc_server_packet_send_clients to send a packet to
6917 the provided table of client entries. Affected file
6918 silcd/packet_send.[ch].
6920 * Fixed a crash in client resolving in client_prvmsg.c in
6921 client library. Affected file lib/silcclient/client_prvmsg.c.
6923 * Do not actually remove the client directly from ID cache
6924 during SERVER_SIGNOFF, but invalidate it. This way we
6925 preserve the WHOWAS info for the client. Affected file
6926 silcd/server_util.c.
6928 * Fixed SERVER_SIGNOFF notify handling in the server. The
6929 server is now able to process incoming SERVER_SIGNOFF notify
6930 for a server that it doesn't even know about. It will remove
6931 the clients provided in the notify. Affected file
6932 silcd/packet_receive.c.
6934 * Check for partial packet in data queue after every packet that
6935 was found from the queue. Return and wait for more data if
6936 there is partial data in queue. Affected file is
6937 lib/silccore/silcpacket.c.
6939 Sun Oct 28 18:46:27 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6941 * Added SilcClietFileError enum to indicate error in
6942 file transfer. Added SILC_CLIENT_FILE_MONITOR_KEY_AGREEMENT
6943 and SILC_CLIENT_FILE_MONITOR_ERROR new monitor statuses.
6944 Affected files lib/silcclient/silcapi.h and
6945 lib/silcclient/client_ftp.c.
6947 * Check that newsize in silc_buffer_realloc is larger than
6948 the old buffer's size. Affected file lib/silcutil/silcbufutil.h.
6950 * Added better monitor of file transfers. It now monitors
6951 key agreement protocol during the file transfer too. Added
6952 error reporting too. Affected files
6953 irssi/src/silc/core/silc-servers.c,
6954 irssi/src/fe-common/silc/module-formats.[ch].
6956 * Wrote a help file for FILE command.
6958 * Added silc_rng_global_get_byte_fast to get not-so-secure
6959 random data as fast as possible. Random data is read from
6960 /dev/urandom if available and from the SILC RNG if not
6961 available. It is used in padding generation. Affected file
6962 lib/silccrypt/silcrng.[ch].
6964 * All packets in client library are now processed synchronously.
6965 Optimized packet processing a lot. Affected file
6966 lib/silcclient/client.c.
6968 * All server connection packets are processing synchronously
6969 now in server, to optimize packet processing. Affected file
6972 * Include files are installed now only in Toolkit distribution
6973 if make install is given. Affected files: all Makefile.am's.
6975 Thu Oct 25 22:44:06 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6977 * Assure that silc_client_notify_by_server_resolve does not
6978 resolve the client information multiple times. If it cannot
6979 be found by the first it cannot be found at all. Affected
6980 file lib/silcclient/client_notify.c.
6982 * Fixed WHOWAS command reply calling. Affected file
6983 lib/silcclient/command_reply.c.
6985 * Removed all references to silc_idlist_get_client from the
6986 Irssi SILC client since that call is internal call used by
6987 the library. The Irssi SILC client will use now client
6988 retrieval functions found in silcapi.h.
6990 * Fixed a bug in resolving nickname info before sending
6991 private message. It used freed memory. Affected file
6992 irssi/src/silc/core/silc-servers.c.
6994 Thu Oct 25 19:04:49 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6996 * Assure my_channels statistics cannot go negative in server.
6997 Affected files silcd/server.c, silcd/server_util.c.
6999 Wed Oct 24 19:53:05 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7001 * Upgraded dotconf 1.0.2 to 1.0.6 in lib/dotconf.
7003 Tue Oct 23 13:51:19 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7005 * Win32 Toolkit changes. Affected files
7006 win32/silc.dsw, win32/libsilc/libsilc.def,
7007 win32/libsilcclient/libsilc.def,
7008 lib/silcutil/silcutil.c, and
7009 lib/sftp/sftp_fs_memory.c.
7011 Mon Oct 22 16:35:05 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7013 * Added silc_net_localip to return local host's IP address.
7014 Affected file lib/silcutil/silcnet.[ch].
7016 * If key exchange or rekey protocol is active for a connection
7017 parse all packets syncronously since there might be packets
7018 in packet queue that we are not able to process without first
7019 processing packets before them. Affected file silcd/server,
7020 lib/silcclient/client.c.
7022 * SilcPacketParserCallback now returns TRUE or FALSE to indicate
7023 whether library should continue processing the packet.
7024 Affected file lib/silccore/silcpacket.h.
7026 * Added SilcSFTPMonitor callback, SilcSFTPMonitors and
7027 SilcSFTPMonitorData to SFTP server to monitor various
7028 SFTP client requests. Affected file lib/silcsftp/silcsftp.h,
7029 lib/silcsftp/sftp_server.c.
7031 * Added silc_file_size to return file size. Affected file
7032 lib/silcutil/silcutil.[ch].
7034 * Implemented the file transfer support for the client library.
7035 Added preliminary support for simple client to client one-file
7036 transmission. Affected file lib/silcclient/client_ftp.c,
7037 lib/silccilent/client.[ch].
7039 * Added new local command FILE to the Irssi SILC Client.
7040 It is used to perform the file transfer. It has subcommands
7041 SEND, RECEIVE, SHOW and CLOSE. Affected files
7042 irssi/src/silc/core/client_ops.c,
7043 irssi/src/silc/core/silc-server.[ch].
7045 Mon Oct 22 12:50:08 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7047 * Relay the SILC_PACKET_FTP in the server. Affected files
7048 silcd/server.c and silcd/packet_receive.c.
7050 Sun Oct 21 20:21:02 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7052 * Renamed silc_file_read and silc_file_write to functions
7053 silc_file_readfile and silc_file_writefile. Added function
7054 silc_file_open and silc_file_close. Affected files
7055 lib/silcutil/silcutil.[ch].
7057 Thu Oct 18 20:58:13 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7059 * Resolve the client info when received private message or
7060 channel message for a client which nickname we don't know.
7061 Affected files lib/silcclient/client_prvmsg.c and
7062 lib/silcclient/client_channel.c.
7064 * Do not crash in /KEY if client is not connected. Affected
7065 file irssi/src/silc/core/silc-channels.c.
7067 * Added SilcClientStatus field to the SilcClientEntry in the
7068 lib/silcclient/idlist.h.
7070 Added SILC_CLIENT_STATUS_RESOLVING to mark that the entry
7071 is incomplete and is being resolved, it won't be resolved
7074 Make sure also that USERS command reply does not resolve
7075 twice information. Affected file is
7076 lib/silcclient/command_reply.c.
7078 Make sure that silc_client_get_clients_by_list does not
7079 resolve twice same information.
7081 * Check for valid client->id in the silc_server_free_client_data.
7082 Affected file silcd/server.c.
7084 * Fixed /GETKEY nick@server not to crash if the server entry
7085 is not found. Affected file lib/silcclient/command.c.
7087 * Fixed the silc_server_check_cmode_rights to check the
7088 requested modes correctly. Affected file silcd/command.c.
7090 Thu Oct 18 12:10:22 CEST 2001 Pekka Riikonen <priikone@silcnet.org>
7092 * Better checks for non-printable chars in nick added.
7093 Affected file silcd/command.c.
7095 Thu Oct 18 09:18:58 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7097 * Call the silc_server_udpate_servers_by_server in the
7098 primary router that comes back online in the backup resuming
7099 protocol. Otherwise it routes packets wrong. Affected file
7100 silcd/server_util.[ch], silcd/server_backup.c.
7102 Wed Oct 17 16:51:18 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7104 * Added SILC_STR_UI8_[N]STRING[_ALLOC] formats to the
7105 lib/silcutil/silcbuffmt.[ch].
7107 * Redefined the SILC packet header to include the padding
7108 length. Affected file lib/silccore/silcpacket.[ch].
7110 * Added SILC_PACKET_PADLEN_MAX macro to return the padding
7111 length for maximum padding up to 128 bytes). Affected
7112 file lib/silccore/silcpacket.h.
7114 * Removed all backwards support for old 0.5.x MAC thingies.
7115 The SILC packet header change makes it impossible to be
7116 backwards compatible.
7118 * Send the ENDING packet with timeout in the backup resuming
7119 protocol. This is to assure that all routers has connected
7120 to the primary router. Affected file silcd/server_backup.c.
7122 * Changed the RNG to take the first IV from random data. It
7123 used to take it from zero actually. Changed the RNG also
7124 to use /dev/urandom during session. /dev/random is used
7125 in initialization. Affected file lib/silccrypt/silcrng.[ch].
7127 Tue Oct 16 20:45:49 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7129 * Changed the SILC packet header to have the first two bytes
7130 (the packet length) encrypted. Affected files aroung the
7131 code tree, lib/silccore/silcpacket.[ch]. Removed the
7132 SilcPacketCheckDecrypt callback. It is not needed anymore
7133 since the silc_packet_receive_process will determine now
7134 whether the packet is normal or special.
7136 * Implemented the unidirectional MAC keys. Affected files
7137 lib/silcske/silcske.c, silcd/protocol.c and
7138 lib/silcclient/protocol.c.
7140 * Implemented the packet sequence number to the MAC computation.
7141 Affected files lib/silccore/silcpacket.c, silcd/protocol.c,
7142 silcd/packet_send.c, silcd/server.c, lib/silcclient/client.c,
7143 lib/silcclient/protocol.c.
7145 Mon Oct 15 17:42:55 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7147 * Allow backup router to announce servers. All servers
7148 announced by backup router are added to the global list
7149 automatically. Update hte server's socket to our primary
7150 router also when backup router announces a server.
7151 Affected file silcd/packet_receive.c.
7153 * Do not update the client->router in the function
7154 silc_server_udpate_clients_by_server if the client is on
7155 global list. We might fail to find any specific server
7156 for locally connected clients and local cell clients. They
7157 should still use the `from' and not `to' as client->router.
7158 This fixes backup router resuming protocol. Affected file
7159 silcd/server_util.c.
7161 * Decrease channel statistics count only if the channel
7162 deletion worked. Affected files are silcd/server.c and
7163 silcd/server_util.c.
7165 * Added silc_server_update_servers_by_server to update origin
7166 of all server entries. Used during backup router protocol.
7167 Affected files silcd/server_util.[ch], silcd/server.c. and
7168 silcd/backup_router.c.
7170 * ROBODoc documented the lib/silccrypt/silchmac.h. Added new
7171 function silc_hmac_init, silc_hmac_update, silc_hmac_final,
7172 silc_hmac_get_hash and silc_hmac_get_name. Affected file
7173 lib/silccrypt/silchmac.c.
7175 Sun Oct 14 18:28:22 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7177 * Assure that router cannot reroute the same channel message
7178 to the sender. Affected file silcd/packet_receive.c.
7180 Sat Oct 13 12:46:18 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7182 * Made better checks that the channel message is not sent
7183 to the router it came from. Affected file is
7184 silcd/packet_send.c. Fixed memory leak too.
7186 * Announce informations for incoming router connection, but
7187 only after checking if it is replaced by backup router.
7188 Affected file silcd/packet_receive.c.
7190 Fri Oct 12 18:37:24 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7192 * Fixed the backup resuming protocol to work in multiple
7193 router environment. Affected file silcd/server_backup.c.
7195 * Route packet only to one router in the function
7196 silc_server_packet_send_to_channel. Affected file is
7197 silcd/packet_send.c.
7199 * Fixed silc_server_send_notify_dest to set the broadcast
7200 flag. Fixed the silc_server_send_notify_topic to actually
7201 send the TOPIC_CHANGE notify and not SERVER_SIGNOFF notify.
7202 Affected file silcd/packet_send.c.
7204 * Changed the SFTP Filesystem interface. Changed the
7205 SilcSFTPFilesystemStruct to SilcSFTPFilesystemOps to include
7206 the filesystem operation function. The SilcSFTPFilesystem
7207 is now a context that is allocated by all filesystem allocation
7208 functions and it already includes the operations structure
7209 and filesystem specific context. It is given as argument
7210 now to the silc_sftp_server_start. This made the interface
7211 a bit cleaner. Affected file lib/silcsftp/silcsftp[_fs].h,
7212 lib/silcsftp/sftp_fs_memory.c and sftp_server.c.
7214 Thu Oct 11 22:19:26 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7216 * Changed the backup router adding and getting interfaces
7217 in the server. The router that will be replaced by the
7218 specified backup router is now sent as argument. Affected
7219 files silcd/serverconfig.[ch], silcd/backup_router.[ch], and
7222 * Added silc_net_addr2bin_ne to return the binary form of
7223 the IP address in network byte order. Affected files
7224 lib/silcutil/[unix/win32].silc[unix/win32]net.[ch].
7226 Thu Oct 11 12:14:19 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7228 * Check for existing server ID in silc_server_new_server
7229 and in silc_server_connect_to_router_final and remove the
7230 old entry if it exists. Affected file silcd/packet_receive.c,
7233 * Send the channel message always to only one router, either
7234 in upstream or downstream. Affected file is
7235 silcd/packet_send.c.
7237 Tue Oct 9 17:45:43 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7239 * Wrote the definition of the backup resuming protocol to the
7240 protocol specification.
7242 * Removed one redundant channel key generation from normal
7243 server during joining procedure. Removed one redundant
7244 channel key sending from server to router during joining
7245 procedure. Affected file silcd/command.c.
7247 * Made minor bugfixes to the backup router resuming protocol.
7248 Affected file silcd/server_backup.c, server.c.
7250 Mon Oct 8 16:47:42 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7252 * Added --disable-asm configuration option. Affected files
7253 configure.in.pre, lib/silcmath/mpi/configure.in. A patch
7256 * Implemented the backup resuming protocol that is used to
7257 resume the primary router position in the cell after the
7258 primary router comes back online. Affected files
7259 silcd/server_backup.[ch], silcd/server, silcd/packet_receive.c,
7260 and silcd/server_util.[ch].
7262 Sun Oct 7 12:29:25 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7264 * Sleep two (2) seconds after sending QUIT command to server.
7265 Affected file lib/silcclient/command.c.
7267 * Assure that if outgoing data buffer is pending do not force
7268 send any data. Affected file silcd/packet_send.c.
7270 * Assure that if outgoing data buffer is pending do not force
7271 send any data. Affected file lib/silcclient/client.c.
7273 * Implemented the backup router support when the primary router
7274 goes down. The servers and routers can now use the backup
7275 router as new primary router without loosing connectivity.
7277 Sat Oct 6 21:18:54 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7279 * Added new SILC_IDLIST_STATUS_DISABLED flag for entries
7280 in the server to indicate disabled entry. All data read
7281 from the connection will be ignored and no data is sent
7282 for entry that is disabled. Affected files are
7283 silcd/idlist.h, silcd/server.c.
7285 Fri Oct 5 00:03:29 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7287 * Created SFTP client and server test programs in the
7288 lib/silcsftp/tests directory.
7290 Wed Oct 3 23:31:42 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7292 * Implemented memory filesystem (virtual filesystem) for
7293 SFTP server. Affected file lib/silcsftp/silcsftp_fs.h,
7296 Sun Sep 30 22:10:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7298 * Implemented the SFTP (SSH File Transfer Protocol) to the
7299 lib/silcsftp. It includes SFTP client and SFTP server
7302 Sun Sep 30 10:35:44 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7304 * Moved lib/silccore/silcprotocol.[ch] to the
7305 lib/silcutil library.
7307 * Added silc_buffer_format_vp and silc_buffer_unformat_vp to
7308 take variable argument list pointer as argument. Affected
7309 file lib/silcutil/silcbuffmt.[ch].
7311 * Added silc_buffer_set function that is used to set data
7312 to a SilcBuffer that is not allocated at all (SilcBufferStruct).
7313 Affected file lib/silcutil/silcbuffer.h.
7315 * Changed various routines in the core library to use the new
7316 silc_buffer_set instead of allocating new buffer only for
7319 * Added 64-bit value formatting and unformatting support to the
7320 silc_buffer_[un]format routines. Affected file is
7321 lib/silcutil/silcbuffmt.[ch].
7323 Added also 64-bit macros: SILC_GET64_MSB and SILC_PUT64_MSB,
7324 to includes/bitmove.h.
7326 Fri Sep 28 21:30:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7328 * Fixed channel user mode saving in client library. Affected
7329 file lib/silcclient/command[_reply].c.
7331 Thu Sep 27 22:52:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7333 * Defined the file transfer to the SILC Protocol. Added
7334 new packet type SILC_PACKET_FTP and defined File Transfer
7335 Payload. The mandatory file transfer protocol is SFTP
7336 (SSH File Transfer Protocol). Affected file in addition
7337 of the internet draft is lib/silccore/silcpacket.h.
7339 * Deprecated the SILC_PACKET_CELL_ROUTERS and defined new
7340 packet SILC_PACKET_RESUME_ROUTER instead. The new packet
7341 is used as part of backup router protocol when the primary
7342 router of the cell is back online and wishes to resume
7343 the position as primary router.
7345 * Redefined the MAC generation keys in the protocol. The
7346 same key is not used anymore in both direction. Both
7347 direction will now use different keys for sending and
7348 receiving. This fixes a potential security flaw. This
7349 change causes incompatibilities in the protocol.
7351 * Redefined also the MAC computation from the packet.
7352 An packet sequence number is now added to the MAC
7353 computation. This prevents possible replay attacks against
7354 the protocol. This change too causes incompatibilities
7357 Added `sequence' field to the SilcPacketContext to hold
7358 the current sequence number for the packet.
7360 Wed Sep 26 20:15:22 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7362 * Added `created' field to the SilcIDListData in the file
7363 silcd/idlist.h to indicate the time when the entry was
7366 * Added `created' field to the SilcChannelEntry too. Affected
7367 file silcd/idlist.h.
7369 * Added `creation_time' aguments to all the announcement functions
7370 in the server. If it is provided then only the entries that
7371 was created after the provided time frame are actually
7372 announced. Affected file silcd/server.[ch].
7374 * The protocol says that the Channel ID's IP address must be
7375 based on the router's IP address. Added check for this in
7376 the silc_server_new_channel when processing incoming New Channel
7377 Payload. Affected file silcd/packet_receive.c.
7379 * Print out the correct version with --version in SILC client.
7380 Affected file irssi/src/silc/core/silc-core.c.
7382 Mon Sep 24 17:19:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7384 * Fixed WHOWAS command to check for completnes of the client
7385 entry always, not just when the command is coming from client.
7386 Affected file silcd/command.c.
7388 * Added new function silc_server_packet_queue_purge to purge the
7389 outgoing data queue to the network. After the function returns
7390 it is guaranteed that the outgoing packet queue is empty.
7391 Affected file silcd/packet_send.[ch].
7393 * Purge the outgoing packet queue in the rekey protocol's final
7394 callback to assure that all rekey packets go to the network
7395 before quitting the protocol. Affected file silcd/server.c.
7397 * Added silc_client_packet_queue_parse as similar function as
7398 in server to the client library. The affected file is
7399 lib/silcclient/client.c.
7401 Sun Sep 23 15:15:53 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7403 * Splitted silcd/server.c and created silcd/server_util.[ch]
7404 for utility functions.
7406 * Added new socket flag SILC_SF_DISABLED to indicate that the
7407 connection is open but nothing can be sent to or received from
7408 the connection. Affected file lib/silcutil/silsockconn.[ch].
7409 The checking for disabled socket is checked in the low level
7410 silc_socket_write and silc_socket_read functions.
7412 Thu Sep 20 23:11:28 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7414 * Allow only nicknames and channel names that fits into the
7415 7-bit unsigned char ASCII set. Affected file silcd/command.c.
7417 Thu Sep 20 18:04:12 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7419 * When processing JOIN command reply in server check that if
7420 the channel exists in our global list we'll move it the local
7421 list. Affected file silcd/command_reply.c.
7423 * Fixed the check whether client is joined on the channel already
7424 in JOIN command. Affected file lib/silcclient/command.c.
7426 * Fixed the JOIN command reply to check whether the channel
7427 already exists. Affected file lib/silcclient/command_reply.c.
7429 Wed Sep 19 22:58:32 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7431 * Added silc_ske_status_string to map the SKE error numbers
7432 to readable strings. The affected files are
7433 lib/silcske/silcske[_status].[ch].
7435 Tue Sep 18 22:50:41 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7437 * Do not show the private channels on the WHOIS channel list
7438 as it is not allowed by the protocol. The affected file is
7441 Sun Sep 16 12:32:58 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7443 * Assure that the packet length digged from the actual packet
7444 is something sensible in the silc_packet_decrypt_rest_special
7445 in lib/silccrypt/silcpacket.c.
7447 * Free and NULL the allocated pointer in silc_hmac_alloc if
7448 the HMAC allocation fails. The affected file is
7449 lib/silccrypt/silchmac.c.
7451 * Print the selected security properties to the log files in
7452 the server. Affected file silcd/protocol.c.
7454 * Add SKE's reference counter even if calling the completion
7455 callback manually. Otherwise it goes negative, although it
7456 does not cause any problems. The affected file is
7457 lib/silcske/silcske.c.
7459 * Remove the client entry with short timeout after giving the
7460 KILL command. Affected file lib/silcclient/command.c.
7462 * Fixed to send error reply in WHOIS and IDENTIFY commands in
7463 case all found clients are already disconnected (WHOWAS would
7464 found them) in the server. Affected file silcd/command.c.
7466 * Update the last_receive (time of last data received) to be
7467 updated only when received private or channel message so that
7468 the idle time showed in WHOIS makes more sense.
7470 * Added boolean field `valid' in to the SilcClientEntry in the
7471 client library to indicate whether the entry is valid or not.
7472 This fixes the nickname change bug on channel when changing
7473 the nickname to be same than the old (like nick to Nick) the
7474 nickname formatter doesn't set the new nick anymore to Nick@host.
7475 Affected file lib/silcclient/idlist.[ch].
7477 * Now actually fixed the nickname changing on disconnection.
7478 Added new function silc_change_nick to the Irssi SILC Client.
7479 Affected file irssi/src/silc/core/client_ops.c,
7480 irssi/src/silc/core/silc-nicklist.[ch].
7482 Sat Sep 15 13:29:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7484 * Check that the public key exists in the GETKEY command before
7485 trying to encode it. Affected file silcd/command.c.
7487 * Print some notifications on received public keys with GETKEY
7488 command in the Irssi SILC Client. Affected files are
7489 irssi/src/fe-common/silc/module-formats.[ch],
7490 irssi/src/silc/core/client_ops.c.
7492 * Use IDENTIFY command to resolve the server information in the
7493 GETKEY command instead of INFO command. Affected file
7494 lib/silcclient/command.c.
7496 * All command reply functions in the client library now calls
7497 the pending command reply callbacks even if an error has
7498 occurred. The server has done this a long time and now it was
7499 time to move the client library to this as well. Now all
7500 errors can be delivered back to the pending command reply
7501 callbacks if necessary. Affected files are
7502 lib/silcclient/command[_reply].[ch].
7504 * Change the nickname on disconnection back to the username
7505 because in reconnect the server will enforce it to it anyway.
7506 Affected file irssi/src/silc/core/silc-servers.c.
7508 * Fixed a config file parsing bug in the Irssi SILC client.
7509 Affected file irssi/src/silc/core/clientconfig.c.
7511 Thu Sep 13 23:11:18 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7513 * When printing the channel mode on JOIN, verify that the
7514 channel key and channel's HMAC are valid. Affected file
7515 irssi/src/silc/core/client_ops.c.
7517 Thu Sep 13 20:24:52 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7519 * Added defines SILC_DEFAULT_CIPHER, SILC_DEFAULT_HMAC,
7520 SILC_DEFAULT_HASH and SILC_DEFAULT_PKCS in the file
7521 lib/silccrypt/[silccipher.h|silchmac.h|silchash.h|silcpkcs.h].
7523 * Removed channel key rekey task deleting from the function
7524 silc_server_save_channel_key. Affected file silcd/server.c.
7525 Added explicit timeout task context instead that is used to
7526 delete the task if we are registering a new task before the
7527 new task has elapsed.
7529 * When channel key rekey occurs the client library now saves
7530 the old channel key for a short period of time (10 seconds) and
7531 is able to use it in case some is still sending channel
7532 messages encrypted with the old key after the rekey. Affected
7533 file lib/silcclient/[idlist.h|client_channel.c].
7535 Sun Sep 9 15:49:16 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7537 * Added check to the silc_server_new_id_real to not accept
7538 new ID if it is the sender's own ID. Affected file is
7539 silcd/packet_receive.c.
7541 * Assure that we do not announce ourself or the one we've
7542 sending our announcements when we're router and are announcing
7543 servers to our primary router. Affected file silcd/server.c.
7545 * Fixed silc_server_command_identify_check_client to assemble
7546 correct WHOIS packet. It send corrupted WHOIS packet and
7547 caused problem with router to router connections. Affected
7548 file silcd/command.c.
7550 Fixed also silc_server_command_whois_check the same way
7551 as for the IDENTIFY command.
7553 * Added new SilcIDListStatus to the server in the SilcIDListData
7554 structure. The status now includes the current status of
7555 the entry (like registered, resolved etc.). Affected file
7556 silcd/idlist.[ch]. Defined a bunch of different status types
7557 as well. This replaced the old boolean registered field as well.
7559 Added resolve_cmd_ident field to the SilcClientEntry structure
7560 too so that if the entry is for example being resolved so
7561 another command may attach to the same pending command reply
7562 without requiring to resolve the same entry again. This concept
7563 should optimize the WHOIS and the IDENTIFY resolving under
7564 heavy load by taking away unnecessary resolving for entries
7565 that are being resolved already.
7567 Added support for adding multiple pending commands for one
7568 command idenfier. Affected file silcd/command[_reply].[ch].
7570 * Fixed WHOIS and IDENTIFY save to remove the cache entry
7571 before deleting the data. Otherwise the hash table will have
7572 freed data in comparison functions. Affected file is
7573 silcd/command_reply.c.
7575 * Fixed silc_idlist_replace_client_id to add the new entry to
7576 the cache with NULL nickname. Otherwise there will be invalid
7577 memory as the nickname after the nickname is freed. Affected
7578 file silcd/packet_receive.c.
7580 * Fixed the silc_idlist_get_clients_by_hash. The entries was
7581 saved into wrong slots because the previous number of entries
7582 was not taken into account. Affected file silcd/idlist.c.
7583 Fixed same thing in silc_idlist_get_clients_by_nickname too.
7585 * If we are router and we receive JOIN notify to a channel that
7586 does not have any users then notified client is marked as the
7587 channel founder, as it is it. The affected file is
7588 silcd/packet_receive.c
7590 * Added to the extended hash table API's table_del_*ext functions
7591 the destructor as argument too, so that the caller can decide
7592 which destructor to use or whether to use destructor at all.
7593 Affected file lib/silcutil/silchashtable.[ch].
7595 * Fixed ID Cache purging. It actually deleted the entries from
7596 the hash table after the data was freed. The hash table ended
7597 up comparing freed memory. The affected file is
7598 lib/silccore/silcidcache.c.
7600 Sat Sep 8 10:22:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7602 * Fixed Irssi SILC client's KILL command's HELP syntax.
7604 * The USERS command now resolves the detailed user information
7605 if the userinfo field is missing. Affected file is
7606 lib/silcclient/command_reply.c.
7608 * Do not print error in silc_file_read if the read file does
7609 not exist. Just silently return NULL. Affected file is
7610 lib/silcutil/silcutil.c.
7612 * Fixed the silc_log_output to not wine about NULL filename
7613 and to not create some bogus " " filename. Affected file is
7614 lib/silcutil/silclog.c.
7616 Fri Sep 7 22:16:38 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7618 * Fixed various printing bugs on the user interface in the
7619 Irssi SILC Client. Minor changes that were forgotten from
7622 Fri Sep 7 17:28:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7624 * Fixed the configure.in.pre and the compilation and distribution
7625 environment to support the new autoconf 2.52. That version is
7626 now required to compile the CVS trunk.
7628 Thu Sep 6 12:47:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7630 * Renamed function silc_parse_nickname to silc_parse_userfqdn
7631 to generally parse user@fqdn format strings. Affected file
7632 lib/silcutil/silcutil.c.
7634 * Added nickname_format and nickname_force_format fields to the
7635 SilcClientParams structure. The first one defines the format
7636 for the nicknames that the library will enforce if the receives
7637 multiple same nicknames. The second one is boolean value and
7638 can be used to force the library to always enforce the format
7639 to the nicknames regardles whether there are multiple nicknames
7640 or not. This configurable formatting was employed to flexibly
7641 support accessing multiple nicknames from the user interface.
7642 The userinterface can now set the nicknames to what ever format
7643 they prefer. Affected file lib/silcclient/silcapi.h.
7645 Added function silc_client_nickname_format to the file
7646 lib/silcclient/idlist.c. It performs the nickname formatting.
7648 Added new field `hostname´ to the SilcClientEntry context.
7649 It holds the hostname of the client. Affected file is
7650 lib/silcclient/idlist.h.
7652 * Irssi SILC Client sets the nicknames in nick@hostn format.
7653 Fe. priikone@otaku, priikone@otaku2 etc. Affected file
7654 irssi/src/silc/core/silc-core.c.
7656 The WHOIS printing now also shows both the real nickname and
7657 the formatted nickname so that user knows how to access the
7658 user if there are multiple same nicknames cached. Affected
7659 file irssi/src/silc/core/client_ops.c. Changed the WHOIS
7660 printing formatting too to take the hostname now as a separate
7661 argument. The Affected file is
7662 irssi/src/fe-common/silc/modules-formats.[ch].
7664 * Changed the silc_client_get_clients_local to accept the formatted
7665 nickname as argument. It accepts the real nickname too but the
7666 formatted nickname can be used to find the true entry from
7667 multiple entries. Affected file lib/silcclient/silcapi.h and
7668 lib/silcclient/idlist.c.
7670 * Added nickname_format_parse field to the SilcClientParams.
7671 It is a callback function provided by the application to parse
7672 the nickname out of the formatted nickname string. The library
7673 calls it to get the nickname from the formatted string. Since
7674 the application generally knows better the format of the nickname
7675 string it parses it instead of the library, even though library
7676 encodes the formatted string. If the callback function is not
7677 provided then the library will use the string as is. The
7678 affected file is lib/silcclient/silcapi.h.
7680 * All the nickname strings passed to the client library in
7681 commands are now expected to be formatted nickname strings.
7682 If the command does not support the formatted nickname string
7683 it will assume that the sent string is the actual nickname.
7684 Affected file lib/silcclient/command.c.
7686 Tue Sep 4 22:31:28 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7688 * Added public key authentication support to OPER and SILCOPER
7689 commands in the client library. Affected file is
7690 lib/silcclient/command.c.
7692 Tue Sep 4 12:39:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7694 * Changed the get_auth_methdod client operation to be asynchronous.
7695 It can be async if the application resolves the authentication
7696 method from the server during the negotiation. Added new
7697 SilcGetAuthMeth completion callback that the application will
7698 call after resolving the authentication method.
7700 Added function silc_client_request_authentication_method that
7701 the application can use to resolve the authentication method
7702 from the server. Added also SilcConnectionAuthRequest callback
7703 that the library will call after the server has replied. The
7704 application can call this function if it does not know the
7705 current authentication method.
7707 Affected files are lib/silcclient/client.c and
7708 lib/silcclient/silcapi.h.
7710 * The Irssi SILC client now automatically resolves the authentication
7711 method incase any configuration information is not present (and
7712 currently there never is). The affected file is
7713 irssi/src/silc/core/client_ops.c.
7715 * Fixed public key authentication from the client library.
7716 Affected file lib/silcclient/protocol.c. Changed also the
7717 protocol specification about the public key authentication in
7718 the connection authentication protocol. The actual data to be
7719 signed is now computed with a hash function before signing.
7721 * Fixed the public key authentication from the server as well.
7722 Affected file silcd/protocol.c.
7724 * Removed the mlock()'s from the memory allocation routines.
7725 Affected file lib/silcutil/silcmemory.c. The ./configure does
7726 not check anymore for the mlock(). Affected file is
7729 * Fixed USERS command in server to allow the execution of the
7730 command for private and secret channels if the client sending
7731 the command is on the channel. Affected file silcd/command.c.
7733 * Fixed silc_client_get_clients_local to return the clients
7734 count correctly. It could return wrong value. Affected file
7735 lib/silcclient/idlist.c.
7737 Mon Sep 3 20:09:59 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7739 * Fixed the lib/silcmath/mpi/mpi.h to always use 32-bit data
7740 types. The assembler optimizations seemed not to like 64-bit
7741 data types. The assmebler optimizations thus are now enabled
7742 also for BSD systems as opposed to only enable them for Linux.
7744 * Do not check for threads at all on BSD systems. Affected
7745 file configure.in.pre.
7747 * Removed -n and -h options from the Irssi SILC Client since
7748 they are not used in silc.
7750 * Fixed the prime generation to assure that the first digit
7751 of the generated random number is not zero since our conversion
7752 routines does not like number strings that starts with zero
7753 digit. If zero digit is seen the random number is regenerated.
7754 This caused some corrupted RSA keys when the zero first digit
7755 was met. Affected file lib/silcmath/silcprimegen.c.
7757 Sun Sep 2 17:17:24 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7759 * Fixed WIN32 configuration in the ./configure script.
7760 Fixed to include xti.h on environments that has it.
7761 Patches by Carsten Ilchmann and andrew.
7763 Sat Sep 1 00:29:33 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7765 * Changed the silc_id_create_client_id to be collision
7766 resistant. It is now assured that there cannot be created
7767 two same client ID's. I suspect that some weird bugs in
7768 the server were actually caused by duplicate Client IDs.
7769 Affected file silcd/serverid.[ch]. A router receiving
7770 new ID now also assures and informs the sending server
7771 if the ID caused collision.
7773 * Changed the silc_id_create_channel_id to also assure that
7774 there are no collisions.
7776 Wed Aug 29 17:55:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7778 * Statement about ignoring the Mutual Authentication flag when
7779 performing rekey with PFS was a bit misleading. It is ignored
7780 if it was set in the initial negotiation, it cannot be even
7781 set in the rekey. Fixed in the ke-auth draft. Started the
7782 new versions of the protocol drafts in the doc/.
7784 Sun Aug 26 14:59:15 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7786 * Fixed a bug in silc_client_command_identify_save when saving
7787 new channel information. The channel name was no duplicated
7788 and caused crash on exit. Affected file is
7789 lib/silcclient/command_reply.c.
7791 Fri Aug 17 23:07:45 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7793 * Fixed the getkey command handling in the server. Send just
7794 empty OK reply to the sender if the key could not be fetched
7795 (but everything else was ok, like the key just was not available).
7796 Changed the public key parameter to optional in the protocol
7797 specs so that empty OK reply can be sent. Affected file
7800 Added a message to Irssi SILC client to tell to user if the
7801 server did not return a public key.
7803 Tue Aug 14 07:29:27 CEST 2001 Pekka Riikonen <priikone@silcnet.org>
7805 * Fixed a channel key regeneration bug. It registered new
7806 timeout tasks exponentially until all system resources were
7807 used. Affected file silcd/server.c.
7809 Sun Aug 12 20:48:14 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7811 * Added the SILC Document generator to the scripts/silcdoc.
7812 It can be used to generate the Toolkit Reference Manual out
7813 of the source tree. Internally it will also use the RoboDoc
7814 generator now imported in util/robodoc.
7816 Sun Aug 12 12:28:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7818 * Added couple of return's in rekey protocol if error orccurred
7819 during the protocol. The execution must be terminated.
7820 Affected file silcd/protocol.c. Also, terminate the protocol
7821 always with timeout.
7823 Sat Aug 11 12:36:02 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7825 * The client's Client ID was created initally from the wrong
7826 nickname (it could have been in format nick@host) in the
7827 silc_server_new_client. Affected file silcd/packet_receive.c
7829 Sat Aug 11 00:29:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7831 * Added some SILC_LOG_ERROR's to various error conditions
7832 if client could not be added to ID cache. Affected files
7833 silcd/packet_receive.c and silcd/server.c.
7835 * When client's sock->user_data is freed, NULL also the
7836 client->router and client->connection pointers. Added check
7837 for these pointers being NULL to various places around the
7838 code. Affected file silcd/server.c.
7840 * Added client->data.registered == TRUE checks to various
7841 places around the code to assure that unregistered client's
7842 are not handled when it is not allowed. Affected file
7845 * Added `bool registered' fields to all
7846 silc_idlist_[server|client]_get_* routines to indicate whether
7847 the fetched client needs to be registered or not. Affected
7848 file silcd/idlist.[ch].
7850 * Add your own entry as registered to the ID cache in the
7851 server. Affected file server.c.
7853 * Fixed a bug in silc_server_new_server. The SilcServer was
7854 set as the new server's context instead of SilcServerEntry.
7855 This naturally caused some weird bugs.
7857 * Added "updated" field the SilcChannelEntry which indicates
7858 the time since the channel entry was last accessed. This
7859 can be used to determine whether it is necessary to
7860 announce the channel after backup resuming protocol.
7861 Affected files silcd/idlist.[ch].
7863 Thu Aug 9 18:28:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7865 * Do not delete the channel rekey task when adding it
7866 for in silc_server_create_channel_key.
7868 * Changed the silc_server_create_channel_key to return
7869 TRUE or FALSE to indicate the success of the channel key
7872 Thu Jul 26 11:32:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7874 * Fixed MSVC++ project files and added missing files to
7875 Makefiles under win32/.
7877 Wed Jul 25 18:43:54 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7879 * Do not add TCP_NODELAY flag if the operating system
7880 does not have it defined. Affected files are
7881 lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
7883 * Fixed buffer overflow from Irssi SILC Client. Affected
7884 file irssi/src/fe-common/core/themes.c.
7886 * Fixed double free in client library in the file
7887 lib/silcclient/client.c when disconnecting from server.
7889 * Applied double free patch from cras to Irssi SILC client.
7890 Affected files irssi/src/core/[modules/expandos].c
7892 * Fixed the disconnection handling to Irssi SILC Client.
7893 The application must call silc_client_close_connection
7894 in ops->connect client operation in case of failure of
7895 the connection. Affected file is
7896 irssi/src/silc/core/client_ops.c.
7898 * Do not set sock->protocol to NULL in the function
7899 silc_client_close_connection after executing the protocol's
7900 final callback since the sock might not be valid anymore.
7901 Affected file lib/silcclient/client.c.
7903 Wed Jul 25 16:04:35 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7905 * Do not enable SILC_THREADS if the linking with libpthread
7906 did not happen. Affected file configure.in.pre.
7908 * Added notion to protocol specification that server must
7909 verify the sent authentication payload with CMODE when
7910 setting the channel founder key. Implemented it to the
7911 server. Affected file silcd/command.c.
7913 Mon Jul 23 18:31:43 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7915 * Added _EXTRA_DIST SILC distribution variable to the
7916 distributions file. It is used to conditionally add extra
7917 files or directories to the specific distribution. Affected
7918 files ./prepare, Makefile.am.pre and distributions.
7920 Removed the `_' from the start of the distribution names.
7923 * Added README.WIN32 for instructions to compile the Toolkit
7926 Mon Jul 23 10:12:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7928 * Fixed a double free in disconnection in the server. Affected
7929 file is silcd/server.c.
7931 * Fixed the lib/silcske/groups.c to work now also with GMP
7932 MP library. The string conversion did not work when using
7933 specific base and the base is indicated in the string as well.
7935 * Created win32/ directory which now includes MSVC++ specific
7936 stuff so that toolkit (DLLs) may be compiled with MSVC++.
7937 It will appear only in the toolkit distribution
7939 Sun Jul 22 19:40:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7941 * Changed the key material distribution function in case when
7942 the hash output is too short. The data is now concatenated
7943 a bit differently than it used to. Made the change to the
7944 SKE protocol specification.
7946 * Added better GMP detection to configure.in.pre. A patch
7949 Fri Jul 20 13:16:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7951 * Fixed a minor bug in SKE that might cause some problem on
7952 some platforms. Affected file lib/silcske/silcske.c.
7954 * Added the cookie checking for initiator in the SKE. It checks
7955 that the responder returns the sent cookie unmodified. The
7956 affected file is lib/silcske/silcske.c. Added new SKE
7957 error type INVALID_COOKIE that can be sent during the
7958 negotiation. Fixed some memory leaks as well.
7960 * Added the "invalid cookie" error message to Irssi SILC client's
7963 Thu Jul 19 21:44:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7965 * Added `task_max' field to the SilcClientParams to indicate
7966 the maximum tasks the scheduler can handle. If set to zero,
7967 default values are used. Affected file lib/silcclient/silcapi.h.
7969 * Fixed memory leaks in silc_client_close_connection. Affected
7970 file lib/silcclient/client.c.
7972 * Added silc_client_del_client_entry to client library to free
7973 all memory of given client entry. Affected file is
7974 lib/silcclient/idlist.[ch].
7976 * Added new functions silc_client_del_channel and
7977 silc_client_del_server to delete channel and server entries.
7978 Affected file lib/silcclient/[silcapi.h/idlist.c].
7980 * Removed silc_client_del_client_by_id from silcapi.h.
7982 * Fixed the INFO command to return the server's own info
7983 correctly when querying by Server ID. Affected file is
7986 Thu Jul 19 14:47:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7988 * Removed the non-blocking settings in WIN32 code in the
7989 silc_sock_[read/write] and added SleepEx instead. Affected
7990 file lib/silcutil/win32/silcwin32sockconn.c. The availability
7991 of input data is now checked with FIONREAD and ioctlsocket.
7993 Wed Jul 18 18:34:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7995 * Call silc_schedule_task_del_by_context in the
7996 silc_protocol_cancel instead of silc_schedule_task_del_by_callback.
7997 Affected file lib/silccore/silcprotocol.c.
7999 * Call silc_protocol_cancel for active protocols in the
8000 silc_server_close_connection if the funtion
8001 silc_server_free_sock_user_data has not been called.
8002 Affected file silcd/server.c.
8004 * Generic tasks cannot be deleted using the del_by_fd
8005 task deleting function since generic tasks does not match
8006 any specific fd. Affected file lib/silcutil/silcschedule.[ch].
8008 * Added a notion to SILCOPER help file that the SILCOPER works
8009 only on router server, not on normal server.
8011 Wed Jul 18 09:40:04 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8013 * Added for WIN32 support for the new scheduler as well.
8014 Affected file lib/silcutil/win32/silcwin32schedule.c.
8016 * Fixed the SHA1 implementation to work on various platforms.
8018 Tue Jul 17 23:04:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8020 * Rewrote the SILC Scheduler entirely. Removed the old SILC Task
8021 API. It is part of the scheduler now. Everything else is
8022 as previously but some functions has changed their names.
8023 Checkout the lib/silcutil/silcschedule.h for the interface.
8024 Updated all applications to use the new interface. Affected
8025 files are lib/silcutil/silcschedule.[ch].
8027 Tue Jul 17 16:53:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8029 * Found a bug in the SKE implementation. The HASH value,
8030 specified by the protocol, was not computed correctly. The
8031 public key of the responder was not added to the computation
8032 even though it is mandatory. Affected file lib/silcske/silcske.c.
8033 This unfortunately causes incompatibilities with older
8034 clients and servers.
8036 * Added WIN32 specific network init and uninit functions:
8037 silc_net_win32_init and silc_net_win32_uninit to init and uninit
8038 the Winsock2. Affected file lib/silcutil/silcnet.h and
8039 lib/silcutil/win32/silcwin32net.c.
8041 * Set the socket always to nonblocking mode on WIN32 after
8042 reading data or writing data. Affected file is
8043 lib/silcutil/win32/silcwin32sockconn.c.
8045 Mon Jul 16 22:55:26 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8047 * Fixed various compilation problems under WIN32. Affected
8048 files lib/silcutil/win32/silcwin32thread.c and
8049 lib/silcutil/win32/silcwin32schedule.c.
8051 * Removed all _internal.h #includes from public header
8052 files. Internal headers must never be included from
8055 Removed also the lib/silcske/payload_internal.h file.
8057 * All include files that may be needed (public and some others
8058 included by the public headers) by application developers are
8059 now copied to the ./includes directory. It does not copy any
8060 internal headers. Affected file Makefile.defines.pre and all
8061 Makefile.am's under lib/ and subdirs.
8063 Thu Jul 12 17:49:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8065 * Do not change the ~/.silc directory's permissions automatically.
8066 Affected file irssi/src/silc/core/clientutil.c.
8068 Thu Jul 12 10:18:40 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8070 * Do not cancel the protocol in silc_server_close_connection
8071 it might cause recursion. Now cancelled in the function
8072 silc_server_free_sock_user_data. Affected file silcd/server.c.
8074 * Fixed the silc_server_remove_clients_by_server to regenerate
8075 the channel keys correctly finally. Added also new function
8076 silc_server_remove_clients_channels to actually do it.
8077 Affected file silcd/server.c.
8079 * Fixed the silc_server_new_channel to not crash by giving
8080 wrong router to the new channel. Affected file is
8081 silcd/packet_receive.c.
8083 Wed Jul 11 18:31:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8085 * Added SilcClientParams structure to the lib/silcclient/silcapi.h
8086 which is given as argument to the silc_client_alloc now.
8087 It can be used to configure the client and set various parameters
8088 that affect the function of the client.
8090 * The USERS command in server did not check whether the channel
8091 is private or secret. Affected file silcd/command.c.
8093 * Added new argument to the USERS command in protocol specification.
8094 The USERS command now can take the channel name as argument
8095 as well. Added support for this in client and server and
8096 updated the protocol specs.
8098 * Completed the GETKEY command in client. It can be now used
8099 to fetch also servers public key not only some clients.
8100 Affected files lib/silcclient/command[_reply].c.
8102 * Added silc_client_get_server to return server entry by the
8103 server name. Affected files lib/silcclient/silcapi.h and
8106 * Redefined the IDENTIFY command in protocol specification to be
8107 more generic. It now can be used to query information about
8108 any entity in the SILC Network, including clients, servers and
8109 channels. The query may be based either the entity's name
8110 or the ID. Added support for this in both client and server.
8112 Affected files silcd/command.c and lib/silcclient/command.c
8113 and command_reply.c.
8115 * Optimized the WHOIS and WHOWAS commands in the server. Removed
8116 the _from_client and _from_server functions. Affected file
8119 * Added silc_client_get_channel_by_id_resolve to the file
8120 lib/silcclient/silcapi.h to resolve channel information by
8121 its ID. Added also silc_client_get_channel_by_id that
8122 does not resolve it from the server.
8124 Tue Jul 10 18:05:38 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8126 * Added SilcServerEntry context into the client library
8127 to represent one server. The INFO command now allocates
8128 these to save the resolved server info. For now on the
8129 client library will also keep information about servers,
8130 connected and resolved with INFO.
8132 The INFO command now allocates the SilcServerEntry context
8133 and saves the server info there. The COMMAND_REPLY in
8134 the INFO now returns the parameters to application in
8135 same order as defined in the protocol specification.
8137 The entries are cached in the client->server_cache.
8139 * The INFO command is now issued after received the Client ID
8140 from the server. Affected file lib/silcclient/client.c.
8142 * The CMODE_CHANGE notify may now return also an SilcServerEntry
8143 to the application as the mode changer might be server.
8144 It is guaranteed that NULL is not returned anymore to the
8145 application. Affected file lib/silcclient/client_notify.c.
8147 The ID Type is now also passed to the application so that
8148 it can check whether the returned entry is SilcClientEntry
8151 Added new function silc_client_get_server_by_id to return
8152 the server entry by ID. Affected files are the
8153 lib/silcclient/silcapi.h and lib/silcclient/idlist.c.
8155 * Do not create the channel in the Irssi SILC Client when issuing
8156 the JOIN command but when received the sucessful JOIN command
8157 reply. Otherwise the channel might get created even though we
8158 could not join it. The Affected file is
8159 irssi/src/silc/core/[silc-channels.c/client_ops.c].
8161 * Fixed a channel joining bug in router. The router must also
8162 check the channel modes, invite and ban lists etc. when serving
8163 the JOIN command sent by normal server. Affected file is
8164 silcd/command.c. The router now resolves the client's
8165 information from the server who sent the JOIN command if it
8166 does not know it, and processes the JOIN command only after
8169 * Changed the SilcCommandCb to take new argument; void *context2.
8170 Affected file lib/silccore/silccommand.h
8172 The second argument in the command callbacks in the server now
8173 includes the SilcServerCommandReplyContext if the command was
8174 called as pending command callback from the command reply.
8175 Otherwise it is NULL. When called as pending the status of the
8176 command reply will be checked and if it was erronous the
8177 error will be sent to the original sender of the command.
8178 This way the client always receives the error messages even
8179 though the server was actually the one who received the error
8180 when it resent the command to router, for example. Affected
8181 files silcd/command[_reply].[ch].
8183 * Fixed sending WHOWAS command's error message to client if
8184 the requested client could not be found. It was missing.
8187 * Changed the CMODE and CUMODE commands reply arguments in the
8188 protocol specification. The Channel ID is now sent in both
8189 of the commands to identify the channel. Implemented this
8190 new feature to the client and server. Affected files
8191 lib/silcclient/command_reply.c and silcd/command.c.
8193 * Made better checks for invite and ban lists in the JOIN
8194 command in server. Affected file silcd/command.c.
8196 Mon Jul 9 18:28:34 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8198 * The server now performs the incoming host IP/DNS lookup
8199 using the silc_socket_host_lookup and thus does not block
8200 the server anymore. Affected file silcd/server.c.
8202 * Completed the multi-thread support for SILC Scheduler in
8203 the lib/silcutil/silcschedule.c.
8205 * Fixed the configure.in.pre to detect the pthread correctly
8208 * Fixed a deadlock in silc_task_queue_wakeup in the file
8209 lib/silcutil/silctask.c.
8211 Mon Jul 9 13:40:03 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8213 * Added new function silc_schedule_wakeup that is used in
8214 multi-threaded environment to wakeup the main thread's
8215 schduler. It needs to be used when a thread adds a new task
8216 or removes a task from task queues. After waking up, the
8217 scheduler will detect the task queue changes. If threads
8218 support is not compiled in this function has no effect.
8219 Implemented the wakeup mechanism to both Unix and WIN32
8220 systems. Affected files are lib/silcutil/silcschedule.[ch],
8221 lib/silcutil/unix/silcunixschedule.c and the
8222 lib/silcutil/win32/silcwin32schedule.c.
8224 * Added new function silc_task_queue_wakeup to wakeup the
8225 scheduler by the specified task queue. Affected file
8226 lib/silcutil/silctask.[ch].
8228 * The silc_socket_host_lookup_start now wakes up the scheduler
8229 after adding the timeout task. Affected file is
8230 lib/silcutil/silcsockconn.c.
8232 * The silc_socket_host_lookup is synchronous now if the threads
8233 support is not compiled in. However, the callback is still
8234 called asyncronously through the scheduler, anyway. Affected
8235 file lib/silcutil/silcsockconn.c.
8237 Mon Jul 9 00:24:45 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8239 * Added new function silc_socket_host_lookup to perform
8240 asynchronous IP and FQDN lookups for the socket connection.
8241 Affected files lib/silcutil/silcsockconn.[ch].
8243 Sun Jul 8 18:44:53 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8245 * Added SILC_MUTEX_DEFINE to define the mutex on environments
8246 that may or may not compile the mutex support in.
8248 Changed the silc_mutex_alloc interface. It allocates the
8249 mutex now to the sent pointer and returns TRUE or FALSE.
8251 Affected file lib/silcutil/silcmutex.h.
8253 * Wrote the SILC Task Queue interface to support multi-threads.
8254 Affected file lib/silcutil/silctask.[ch].
8256 * Wrote the SILC Scheduler to support multi-threads. Affected
8257 file lib/silcutil/silcschedule.c.
8259 Sun Jul 8 11:16:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8261 * Implemented the SILC Mutex API and SILC Thread API for WIN32
8262 in lib/silcutil/win32/.
8264 Sun Jul 8 00:18:15 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8266 * Defined SILC Mutex API and SILC Thread API and implemented
8267 them for Unix. Affected files are
8268 lib/silcutil/silcmutex.h, lib/silcutil/silcthread.h,
8269 lib/silcutil/unix/silcunixmutex.c and
8270 lib/silcutil/unix/silcunixthread.c.
8272 Sat Jul 7 14:40:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8274 * Fixed the silc_server_remove_clients_by_server's channel
8275 key re-generation. The hash table handling was incorrect
8276 and would not work with many channels. Affected file is
8279 * Fixed some memory leaks around the server code.
8281 * Rewrote the silc_server_get_users_on_channel to support IPv6
8282 based Client ID's. Affected file silcd/server.c.
8284 * Defined the SILC_MESSAGE_FLAG_SIGNED to the protocol
8285 specification. However, a separate document must be written
8286 to define the detailed signing procedure and the payload
8287 associated with the flag. Defined the flag to the
8288 lib/silccore/silcchannel.h as well.
8290 Fri Jul 6 18:26:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8292 * Changed the dynamic tables to static size tables in the
8293 lib/silccrypt/silchmac.c.
8295 * Removed GCC dependencies from the code. A patch by cras.
8297 Fri Jul 6 09:39:35 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8299 * Do not show the error "Error receiving packet bla bla"
8300 in server if it really was not an error (-2 means that reading
8301 is pending). Affected file silcd/server.c.
8303 Thu Jul 5 21:22:32 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8305 * Fixed a possible crash in silc_server_remove_clients_by_server
8306 in silcd/server.c. Fixed there also some memory leaks.
8308 * Fixed the silc_idlist_replace_client_id. It could replace
8309 wrong key in the hash table. Affected file silcd/idlist.c.
8311 * Do not check whether there are global users on the channel
8312 if the channel->global_users is FALSE. Affected functions
8313 silc_server_remove_from_one_channel and
8314 silc_server_remove_from_channels in silcd/server.c. Also,
8315 do not check if the removed client is local as we can be
8316 sure that global client was not removed from the channel
8317 and checking for global users is not needed.
8319 * The silc_server_remove_clients_by_server now re-generates
8320 the channel keys correctly for those channels that had
8321 clients removed from them. Affected file silcd/server.c.
8323 Tue Jul 3 11:39:20 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8325 * Found the reason of random crashes in the server. We weren't
8326 ignoring the SIGPIPE signal (which can be sent in write())
8327 and it crashed the server. Affected file silcd/silcd.c.
8329 Fri Jun 29 20:05:25 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8331 * Assure that sock->user_data is not NULL in the function
8332 silc_server_packet_send in silcd/packet_send.c.
8334 * Disconnect the remote connection if it could not be added
8335 to any ID lists in the server. The affected file is
8338 * Check in silc_server_packet_send[_real/dest] that the
8339 socket is not disconnecting and ignore the data if it is.
8340 Affected file silcd/packet_send.c.
8342 * Define inline to __inline on native WIN32 compilation.
8343 Affected file includes/silcwin32.h.
8345 * Added some explicit type casts for inline code since MSVC
8346 require them. Affected files lib/silcutil/silcbuffer.h,
8347 lib/trq/silcdlist.h and lib/trq/silclist.h.
8349 * Print warning in log files from now on if the packet
8350 decryption fails. Affected file silcd/server.c.
8352 Thu Jun 28 21:30:39 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8354 * Changed the `say' client operation's interface to accept
8355 new `type' argument to indicate the type of the message sent
8356 by the library. The application may filter the library's
8357 messages according the type. The affected file is the
8358 lib/silcclient/silcapi.h.
8360 * Added two new functions to lib/silcclient/silcapi.h:
8361 silc_client_del_client and silc_client_del_client_by_id.
8362 Affected file lib/silcclient/idlist.c.
8364 * Moved the clientincludes.h from includes/ to silc/ and
8365 serverincludes.h from includes/ to silcd/.
8367 * The modes for the CMODE and CUMODE are now passed as
8368 uint32 for application with COMMAND_REPLY. The affected
8369 file is lib/silcclient/command_reply.c.
8371 Wed Jun 27 22:24:47 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8373 * /WHOIS without arguments shows client's own information.
8374 Affected file lib/silcclient/command.c.
8376 * Changed PING to not accept any arguments. The specs
8377 says that client can ping only the connected server so
8378 requiring an argument is not needed. Affected file is
8379 lib/silcclient/command.c.
8381 Wed Jun 27 00:10:33 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8383 * Fixed a fatal bug in private message sending and reception
8384 encryption and decryption when using private message keys.
8385 The implementation was incorrect and did not follow the
8386 specification. It causd that some of the message were
8387 lost since it did not use the sending and receiving keys
8388 as the protocol suggests. This has been fixed and will cause
8389 incompatibilities with older clients when sending private
8390 message encrypted with private message keys. Affected files
8391 lib/silcclient/client_prvmsg.c, lib/silcclient/client_keyagr.c
8392 and various other in Irssi SILC Client.
8394 Added `responder' boolean argument to the functions
8395 silc_client_add_private_message_key[_ske] to indicate when
8396 the key is added as responder or initiator of the key
8399 Tue Jun 26 19:23:07 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8401 * Removed the silc_ske_check_version function and created
8402 a SilcSKECheckVersion callback. Added also a function
8403 silc_ske_set_callbacks that is now used to set all SKE
8404 callbacks. The callback functions are not given to
8405 the SKE functions anymore, but this function is used to
8408 * Fixed the WIN32 DLL generation in lib/Makefile.am.pre.
8410 * Added `silc_version' argument to the silc_client_alloc
8411 to define the version of the application for the library.
8412 The library will use the version string to compare it
8413 against the remote host's (usually a server) version
8414 string. Affected file lib/silcclient/silcapi.h
8416 * Added the KE protocol context to Key Agreement context
8417 in client library so that we can abort the SKE if it
8418 is in process when we get timeout. Affected file is
8419 lib/silcclient/client_keyagr.c.
8421 * Do not resolve the client ID forever if it returns in the
8422 first time that such client does not exist. This was done
8423 for example with private message. Affected file is
8424 lib/silcclient/client_prvmsg.c.
8426 Mon Jun 25 21:42:51 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8428 * Do not add regex.h for WIN32. The affected file
8429 includes/silcincludes.h.
8431 * Added WIN32 DLL generation to lib/Makefile.am.pre. It might
8432 not work yet 100%. It generates the DLL's automatically
8433 when compiling with --with-win32 under cygwin.
8435 Sun Jun 24 19:49:23 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8437 * lib/contrib/regex.c is not compiled on WIN32.
8439 * Added silc_net_get_socket_opt function to the
8440 lib/silcutil/silcnet.h.
8442 * Added includes/silcwin32.h for WIN32 specific includes
8445 * Do not use ptime structure or any of the posix process
8446 functions on WIN32 in lib/silccrypt/silrng.c.
8448 * Added silc_gettimeofday to provide generic function
8449 for struct timeval on all platforms. Added the function
8450 to lib/silcutil/silcutil.h.
8452 Sun Jun 24 12:19:52 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8454 * Moved the lib/silccore/silcsockconn.[ch] to the utility
8455 library as they clearly belong there. As a plus side we
8456 can make the actual socket connection routines platform
8459 Added also new generic function silc_socket_read and
8460 silc_socket_write (that used to be silc_packet_[read/write].
8461 The implementation of these are platform specific.
8463 * Added WIN32 specific routines of silc_socket_[read/write]
8464 to lib/silcutil/win32/silcwin32sockconn.c.
8466 Sat Jun 23 16:01:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8468 * Added preliminary support for native WIN32 compilation under
8469 cygwin (using the -mno-cygwin option for GCC) to the
8470 ./configure.in.pre. The --with-win32 now prepares the
8471 compilation for native WIN32.
8473 * Rewrote the SILC Scheduler interface in the file
8474 lib/silcutil/silcschedule.h. The scheduler is now context
8475 based and does not have anymore any global static scheduler.
8476 Moved the Unix scheduler to the lib/silcutil/unix/ directory
8477 and created lib/silcutil/win32 directory for WIN32 based
8480 * Added Unix specific network routines to the
8481 lib/silcutil/unix/silcunixnet.c and the old
8482 lib/silcutil/silcnet.c includes now only generic routines.
8484 Added WIN32 specific network routines to the
8485 lib/silcutil/win32/silcwin32net.c.
8487 * Added Unix specific utility functions from the
8488 lib/silcutil/silcutil.c to lib/silcutil/unix/silcunixutil.c.
8490 * Added WIN32 SILC Scheduler to the file
8491 lib/silcutil/win32/silcwin32schedule.c. The code is of course
8494 Fri Jun 22 10:44:14 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8496 * Do not handle JOIN notify in the server if the target client
8497 is not registered (idata->registered == FALSE). The affected
8498 file is silcd/packet_receive.c.
8500 * Update the nickrec->founder in event_cumode in the Irssi SILC
8501 client. Affected file irssi/src/silc/core/silc-channels.c.
8503 * Fixed the CUMODE_CHANGE notify handling in the server when
8504 server and router are announcing their clients on channels.
8505 Now the mode changes are saved and notified correctly. The
8506 affected file is /silcd/packet_receive.c.
8508 * Fixed silc_idlit_replace_[server/client/channel]_id functions.
8509 They really did not replace the cache entry in the ID Cache.
8510 Now they do that. Affected file silcd/idlist.c.
8512 * Fixed the KICK notify handling in the Irssi SILC client to
8513 update the channel records so that the kicked client does not
8514 appear to be on the channel. The affected file is
8515 irssi/src/silc/core/silc-channels.c.
8517 * Always update the conn->current_channel when executing command
8518 on a channel. Affected file irssi/src/silc/core/silc-servers.c.
8520 * Fixed the KILL notify handling in Irssi SILC client to remove
8521 the killed client on all channels.
8523 Thu Jun 21 17:10:08 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8525 * Fixed the silc_parse_command_line to remove extra spaces
8526 from the start and end of the arguments. Affected file is
8527 lib/silcutil/silcutil.c.
8529 * Cancel and free any active protocol in the function
8530 silc_server_close_connection. Affected file silcd/server.c.
8532 * Cancel and free any active protocol in the function
8533 silc_client_close_connction. Affected file is
8534 lib/silcclient/client.c.
8536 * Do not execute the KILL command for clients that are in
8537 history (ie. they are not in the network). Affected file is
8540 * Fixed KILL notify handling, client does not crash anymore.
8541 Affected file irssi/src/silc/core/silc-channels.c.
8543 * Reduced the default packet buffer size from 2048 to 1024 in
8544 lib/silccore/silcpacket.c.
8546 * Added SILC_SKE_STATUS_FREED SKE status type and a reference
8547 counter to the SKE context that is incresed when the SKE library
8548 performs async operation outside the library. If the outside
8549 process frees the SKE context and FREED status will be set
8550 and the library will detect after the sync operation that the
8551 libary is freed. The affected files are
8552 lib/silcske/silcske[_status].[ch].
8554 * Resolve the client entry information in the function
8555 silc_client_channel_message to assure that NULL pointer is not
8556 passed as client entry to the application. */
8558 * Fixed the task timeout calculation to assure that there is
8559 never negative timeouts. The affected file is
8560 lib/silcutil/silcschedule.c.
8562 * Fixed the channel user mode notification sending in server.
8563 It was sent point-to-point to the router (or to server by router)
8564 but it needs to be destined to a channel. The routines now
8565 supports sending the channel user mode notifys to the channels
8566 when announcing clients and channels. Affected files are
8567 silcd/server.c and silcd/packet_receive.c.
8569 * Fixed the CHANNEL_CHANGE notify handling in the client libary.
8570 It did not actually replace the old channel entry in the cache.
8571 Affected file lib/silcclient/client_notify.c.
8573 Tue Jun 19 22:10:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8575 * Fixed a possible crash in silc_packet_send_prepare. It now
8576 assures always that there is enough space in the buffer and
8577 at the tail area of the buffer (for MAC).
8579 Fixed the inbound buffer reallocation in silc_packet_read.
8580 It was old code and did not handle the reallocation correctly.
8583 The affected file is lib/silccore/silcpacket.c.
8585 * Fixed buffer overflow in silc_parse_nickname in the file
8586 lib/silcutil/silcutil.c.
8588 Tue Jun 19 13:40:09 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8590 * make install generates new server keys only if there is not
8593 Mon Jun 18 18:49:07 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8595 * Set SILC_MESSAGE_FLAG_NOREPLY when sending the away message.
8596 Added check that if the NOREPLY is set then we will not send
8597 the away message. This avoids infinite loop of away messages
8598 if both clients are away. The affected file is
8599 lib/silcclient/client_prvmsg.c.
8601 * Fixed client crash if /NICK was given without arguments.
8602 Affected file lib/silcclient/command.c.
8604 * Server does not send the invite list in INVITE command back
8605 to the client if the list was not altered. Added this notion
8606 to the protocol spec as well. Affected file silcd/command.c.
8608 Fixed possible crash in INVITE command by checking the
8609 value of silc_server_get_client_route command.
8611 * Fixed the INVITE notify type handling. The arguments are now
8612 taken in correct order and client does not crash. The affected
8613 file is irssi/src/silc/core/silc-channels.c.
8615 Removed the "Inviting xxx to channel" message from the
8616 client library away and let the application handle it.
8617 Affected file lib/silcclient/command.c. Added that message
8618 to Irssi SILC client's message formats.
8620 * Fixed CMODE command crash in client. It now checks the
8621 amount of arguments correctly and does not crash. The affected
8622 file is lib/silcclient/command.c.
8624 * Do not create new channel automatically in silc_channels_join
8625 but check whether the channel by that name already exists.
8626 Affected file irssi/silc/core/silc-channels.c.
8628 * Do not send the SERVER_SIGNOFF to router if the disconnected
8629 entity was the router. Affected file silcd/server.c.
8631 * Added the handling of the SERVER_SIGNOFF notify to the Irssi
8632 SILC client as it was missing from there.
8634 Added the handling of the KICK notify to the Irssi SILC client
8635 as it was missing. Added "you have been kicked" message to
8636 Irssi SILC client's message modules formats.
8638 Added the handing of the KILL notify to the Irssi SILC client
8639 as it was missing. Added the kill message module formats
8642 The affected file is irssi/src/silc/core/silc-channels.c.
8644 * The router did not save the channel mode the server announced.
8645 Affected file silcd/packet_receive.c.
8647 * Fixed a possible crash in INFO command in server. If the
8648 server did not provide the server info it crashed. Affected
8649 file silcd/command.c.
8651 Sun Jun 17 15:26:05 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8653 * Fixed the GETKEY command in the server to check also the
8654 global list. Otherwise the GETKEY would not work correctly
8655 in normal SILC server. Affected file silcd/command.c.
8657 Sat Jun 16 18:00:00 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8659 * Fixed GETKEY crash, it crashed if the command did not succseed.
8661 Tue Jun 12 21:36:18 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8663 * Redefined the SILC MP API in lib/silcmath/silcmp.h. The API
8664 is now real and not just an macro interface to GMP.
8666 Removed the entire GMP from the source tree and imported new
8667 NSS MPI library instead. Reason for removing GMP is that it is
8668 extremely large and compiles extremely slow. The NSS MPI
8669 is only a few files and compiles in less than 10 seconds.
8670 The speed is also about the same as GMP. The MPI is imported
8671 to lib/silcmath/mpi.
8673 If the system has GMP installed we will still use the GMP.
8674 If it is not then the NSS MPI will be compiled.
8676 Mon Jun 11 18:07:24 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8678 * Merged a long nickname (127 characters long) crash bugfix from
8679 Irssi CVS tree. Affected file irssi/src/core/misc.c.
8681 * Merged a freed memory reference bugfix from Irssi CVS tree.
8682 Affected file irssi/src/core/commands.c.
8684 Sun Jun 10 16:08:35 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8686 * Added the server's public key sving and verification to the
8687 server when performing the SKE. This was missing and the
8688 remote server's (or router's) public key was accepted without
8689 checking whether we have it previously or trust it at all.
8690 Affected file silcd/protocol.c.
8692 Sat Jun 9 20:17:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8694 * Check in the silc_server_timeout_remote if protocol is active
8695 and make sure that the protocol's final callback is called so
8696 that all memory if freed. Affected file silcd/server.c.
8698 Sat Jun 9 12:51:27 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8700 * silc_server_whois_send_reply crashed the server if the nickname
8701 was 127 characters long. Affected file silcd/command.c.
8703 Thu Jun 7 16:29:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8705 * Added sanity check to the silc_server_new_client. If the hostname
8706 is provided inside username then check that the provided hostname
8707 really is the same as the resolved one. If the hostname was not
8708 resolved then check it from the public key. Affected file is
8709 silcd/packet_receive.c.
8711 * Fixed a fatal bug in Irssi SILC client. Do not send QUIT command
8712 if the server disconnected us and the connection is not valid
8713 anymore. Affected file irssi/src/silc/core/silc-channels.c.
8715 * Moved the silc_client_[chmode|chumode|chumode_char] away from
8716 the library to the lib/silcutil/silcutil.[ch].
8718 Thu Jun 7 08:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8720 * Close log file after open. Affected file
8721 lib/silcutil/silclog.c.
8723 * Check whether sock == NULL in silc_client_send_packet and return
8724 if it is. Affected file lib/silcclient/silcclient.c.
8726 * Check rec->entry == NULL in the Irssi SILC Client before
8727 sending the channel message. Affecte file is
8728 irssi/src/silc/core/silc-servers.c.
8730 Tue Jun 5 08:08:21 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8732 * Merged a splitted window bugfix from Irssi CVS tree. The
8733 affected file is irssi/src/fe-text/textbuffer-view.c.
8735 * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
8736 It did not print nickname.
8738 * Improved the distributions system a bit.
8740 Mon Jun 4 17:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8742 * Merged /WINDOW bugfix from irssi CVS tree. Affected file is
8743 irssi/src/fe-text/gui-window.c.
8745 * Fixed a fatal bug in Irssi SILC client. Crashed if sent message
8746 to in-active server. The affected file is
8747 irssi/src/silc/core/client_ops.c.
8749 * Resolve the client in USERS command reply if the entry does
8750 not have username resolved. The affected file is
8751 lib/silcclient/command_reply.c. Also, changed the IDENTIFY
8752 command to WHOIS command to really resolve stuff. The USERS
8753 is not used any more in any critical section so WHOIS can
8754 be used even though it might be slower than IDENTIFY.
8756 * Changed the lib/silcutil/silchashtable.h header to ROBODoc
8759 Sun Jun 3 14:21:32 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8761 * Changed the protocol API a bit more consistent in the
8762 lib/silccore/silcprotocol.[ch].
8764 * Changed the following headers to ROBODoc format:
8766 lib/silccore/silcpayload.h
8767 lib/silccore/silcprotocol.h
8768 lib/silccore/silcsockconn.h
8770 All core library headers are now formatted.
8772 Sat Jun 2 10:45:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8774 * Fixed a bug in Irssi SILC client; do not show that you are
8775 server/router operator if you really are not. Affected file is
8776 irssi/src/silc/core/client_ops.c.
8778 * Renamed silc_command_free_payload to silc_command_payload_free.
8779 Affected file lib/silccore/silccommand.h
8781 * Added silcmath.h to include the prototoypes of various routines
8782 in the lib/silcmath. Removed the old modinv.h, mpbin.h and
8785 * Changed the following headers to ROBODoc format:
8787 lib/silccore/silcchannel.h
8788 lib/silccore/silccommand.h
8789 lib/silccore/silcid.h
8790 lib/silccore/silcidcache.h
8791 lib/silccore/silcmode.h
8792 lib/silccore/silcnotify.h
8793 lib/silccore/silcpacket.h
8794 lib/silcmath/silcmath.h
8796 Fri Jun 1 22:19:37 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8798 * Added checking to the server code not to start the server if
8799 ciphers and stuff are not configured properly. Affected files
8800 silcd/serverconfig.[h] and silcd/server.c.
8802 * Changed the layout of the header files of the public interfaces
8803 in the SILC libraries. The new layout supports ROBODoc
8804 documentation tool (and some others) so that it is easy to create
8805 a library reference manual. All the other headers and source
8806 code must still follow the CodingStyle document. Also source
8807 code must not include these ROBODoc stuffs, only the headers.
8808 Furthermore, all public interface headers must now be named
8809 by using `silc' prefix, example: silcapi.h, silccipher.h.
8810 Some files were renamed due to this. All the other headers
8811 must not be used as public interfaces. I will update the
8812 CodingStyle document later. Changed following headers, so far:
8814 lib/silcclient/silcapi.h
8815 lib/silccore/silcauth.h
8816 lib/silccore/silcprivate.h
8817 lib/silccrypt/silcdh.h
8819 Fri Jun 1 10:28:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8823 * Removed silc_client_packet_send_flush from the client library
8824 as it is not needed. Affected file lib/silcclient/client.[ch].
8826 * Added printing of message of unresolved authentication method
8827 to the Irssi SILC client. Added it to the module formats.
8828 Removed the same message from the client library.
8830 Thu May 31 13:57:33 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8832 * Added new distribution feature, DISTLABEL. Every distribution
8833 can define own preprocessor label that can be used in the
8834 source code. For example: #ifdef SILC_DIST_CLIENT. Affected
8835 file distributions, acconfig.h.pre and prepare.
8837 Tue May 29 22:16:40 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8839 * Added Makefile.defines_int to include the actual definitions
8840 for Makefile.defines.in. Tested the new distribution system,
8841 created distributions and tested installation.
8843 * Added AWAY message printing to the Irssi SILC client. Added
8844 the messages to the irssi/src/fe-common/silc/module-formats.[ch].
8846 * Added SCONNECT command to call the SILC's CONNECT command.
8847 Cannot use CONNECT directly since Irssi uses that internally.
8848 Affected file irssi/src/silc/core/silc-servers.c.
8850 Added ACTION local command. It is same as ME command but takes
8851 the channel as mandatory argument.
8853 Rewrote some of the Irssi's help files to suite for SILC
8856 Mon May 28 19:05:22 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8858 * Added Makefile.defines[.in] that should for now on be included
8859 in all Makefile.am file in the source tree. That file includes
8860 all common compilation definitions for SILC source tree.
8862 Mon May 28 10:30:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8864 * Minor changes to the ./prepare script to change the package
8865 name according the distribution name to the configure.in.
8867 Sun May 27 22:24:57 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8869 * Created new distribution system. Added file `distributions'
8870 that defines all the distributions that can be created out of
8871 the SILC source tree. The ./prepare script now reads that
8872 file to determine how to prepare the distributions. The
8873 first argument to the ./prepare is the name of the distribution
8874 and second is the version of the distribution. If given
8875 without arguments it creates the default (toolkit) distribution
8876 with the default version (defined in ./prepare).
8878 All Makefile.am files that are subject to the distributions
8879 are now named as Makefile.am.pre. These are ./Makefile.am
8880 and lib/Makefile.am. Others may be changed later.
8882 Sun May 27 15:57:17 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8884 * Added invite list, ban list, some key management and connection
8885 error message printing to module formats in the Irssi SILC client.
8887 * Added new silc_client_set_away_message to set the away message
8888 that is back to the person who sent private message. The
8889 affected file lib/silcclient/silcapi.h and the
8890 lib/silcclient/client_prvmsg.c.
8892 Sun May 27 12:39:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8894 * Fixed the private message sending in the Irssi SILC client,
8895 added local command KEY to the Irssi SILC client.
8897 Added key management and key agreement message formats to the
8898 irssi/src/fe-common/silc/module-formats.[ch].
8900 Added USERS (alias WHO) printing, server/router operator
8901 indication and LIST command printing to the module formats.
8903 Sat May 26 17:43:42 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8905 * Fixed channel joining notify handling, cumode notify handling
8906 from Irssi SILC client.
8908 * Added SILC specific module-formats to the Irssi SILC client so
8909 that SILC specific message hilighting, colors etc is possible.
8910 Affected file irssi/src/fe-common/silc/module-formats.[ch].
8912 Added channel mode, channel user mode, actions, notices,
8913 whois and whowas printing to the the module-formats.c.
8915 * Fixed a bug in channel deletion in the server. The channel
8916 is not left to the cache even if the channel founder auth mode
8917 is set when there are no users anymore on the channel. Affected
8918 file silcd/server.c.
8920 * The silc_net_localhost now resolves the entire hostname including
8921 the domain name. Affected file lib/silcutil/silcnet.c.
8923 Sat May 26 12:13:37 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8925 * Changed the ask_passphrase client operation to be ascynchronous.
8926 It has now a completion callback and a context that the
8927 application must call after it has got the passphrase from
8928 the user. Affected files lib/silcclient/silcapi.h,
8929 lib/silcclient/protocol.c, lib/silcclient/command.c and
8932 Added SilcAskPassphrase callback that the application calls
8933 to deliver the passphrase to the library.
8935 * Changed the SKE protocol's SilcSKEVerifyCb to be asynchronous.
8936 The public key verification and especially a certificate
8937 verification is asynchronous procedure.
8939 Added new SILC_SKE_STATUS_PENDING status to indicate the
8940 request is pending and a callback will be called to finalize
8943 Added also SILC_SKE_STATUS_PUBLIC_KEY_NOT_PROVIDED status to
8944 indicate that remote end did not send its public key (or
8945 certificate), even though we require it. Added check for this
8946 condition in the SKE. This was a security bug, now fixed.
8948 Defined new SilcSKEVerifyCbCompletion callback that is called
8949 when the verification process is completed.
8951 The affected files lib/silcske/silcske_status.h and
8952 lib/silcske/silcske.[ch].
8954 * Changed the verify_public_key client operation to be async
8955 as well. Defined SilcVerifyPublicKey callback that is used to
8956 indicate the success of the public key verification process.
8958 Changed the server and client to use the new async client
8961 * Changed the Irssi SILC client's internal scheduler to be called
8962 twice as many times as it used to be. As a result the client
8963 should be a bit faster now. Affected file is
8964 irssi/src/silc/core/silc-core.c.
8966 * Added support to Irssi SILC client of asynchronous public key
8967 verification and passphrase inquiry. Affected file is
8968 irssi/src/silc/core/silc-core.c.
8970 Fri May 25 14:38:38 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8972 * Do not say "You have left channel %s" in client library.
8973 Moved it to the application. Affected files are
8974 lib/silcclient/command.c and silc/client_ops.c.
8976 * Fixed silc_client_get_clients. Command context was not
8977 duplicated and was freed memory in the callback. Affected
8978 file lib/silcclient/idlist.c.
8980 * Do not say "you are now talking..." on JOIN command in the
8981 client library. The appliation must handle it.
8983 * Do not say ".. changed topic to" in command reply in the
8984 client libary. The application must handle it.
8986 * Fixed TOPIC command sending in the client library.
8988 * Fixed a memory leak in silc_client_command_free in the file
8989 lib/silcclient/command.c.
8991 Thu May 24 19:08:55 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8993 * Imported a modified version of Irssi client to the source tree.
8994 The Irssi will be used to create a new client called
8995 Irssi SILC. Imported to irssi/.
8997 Added silc_core_init_finish function to the Irssi. Affected
8998 file irssi/configure.in.
9000 A lot changes in the Makefile.ams around the irssi tree.
9002 Tue May 22 22:23:49 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9004 * Do not rehash if the new size is same as the old size of the
9005 hash table, in the silc_hash_table_rehash*. The affected file
9006 lib/silcutil/silchashtable.c.
9008 * Replaced hash_table_del_by_context calls from the server
9009 (when channel->user_list and client->channels) to the
9010 hash_table_del as it is sufficient and faster.
9012 Tue May 22 17:27:16 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9014 * Added silc_hash_table_list, silc_hash_table_get and the
9015 SilcHashTableList structure to provide an alternative way to
9016 traverse the hash table. The affected files are
9017 lib/silcutil/silchashtable.[ch].
9019 * Changed the server's idlist routines to use the hash table
9020 routines to optimize the code.
9022 Mon May 21 21:46:20 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9024 * Replaced the client entry's `channel' list and channel entry's
9025 `user_list' list to hash tables for optimized lookup. Changed
9026 the code to use the hash table interface around the code.
9027 Affected file lib/silcd/idlist.[ch].
9029 * Added `auto_rehash' boolean argument to the function
9030 silc_hash_table_alloc to indicate whether the hash table should
9031 auto-rehash when it thinks is appropriate time. It will
9032 increase the hash table size if the there is twice as much
9033 entries in the table than the size of the table, and will
9034 decrease the size if there are twice as less entries than
9035 the size of the table.
9037 Mon May 21 09:51:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9039 * Fixed silc_xxx_get_supported to not crash at some circumstances.
9041 Sun May 20 13:45:58 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9043 * silc_idcache_purge_by_context deletes the entry now by context
9044 as it is supposed to do. Affected file lib/silccore/idcache.c.
9046 * Send the ERR_NO_SUCH_NICK in the WHOIS command reply if the
9047 client is not anymore valid (WHOWAS givens the info) and not
9048 the ERR_NO_SUCH_CLIENT_ID if the nickname still exists.
9050 Sat May 19 16:30:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9052 * Removed the `data' and `data_len' arguments from the ID Cache
9053 interfaces and added `name' argument. ID Cache does not handle
9054 anymore the binary data only a names associated with given ID.
9056 * When hashing a Client ID with silc_hash_id the entire ID is
9057 not hashed anymore, instead only the hash of the Client ID is
9058 hashed. This way we can access the Client ID from the cache
9059 with Client ID but with the hash of the ID (which is a hash of
9060 the nickname) as well without any difference in performance.
9062 Added also silc_idcache_find_by_id_one_ext to do one on one
9063 searching when we have the actual ID. Added also function
9064 silc_hash_client_id_compare. The affected files are
9065 lib/silccore/idcache.[ch] and lib/silcutil/silcutil.[ch].
9067 * When hashing the name associated with a ID it is always done
9068 in lowercase. This way we can access the cache without worrying
9069 about case-sensitivity, even though, for example nicknames are
9072 * Fixed a bug in server with channel message sending. It put
9073 wrong ID type as destination ID. The affected file
9074 silcd/packet_send.c.
9076 * silc_idcache_del_by_context now deletes from all hash tables
9077 by context. Affected file lib/silccore/idcache.c.
9079 Fri May 18 17:42:00 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9081 * Changed the client library to use the new ID Cache interface.
9082 Changes around the source tree.
9084 * Added silc_hash_table_rehash_ext to rehash with specific
9085 hash function. Affected file lib/silcutil/silchashtable.[ch].
9087 * Added silc_hash_string_compare to compare two strings in the
9088 hash table. Affected file lib/silcutil/silcutil.[ch].
9090 Fri May 18 11:18:45 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9092 * Added new function silc_idcache_del_by_context into the
9093 lib/silccore/idcache.[ch].
9095 * Changed the server's ID list routines to use the new ID Cache
9096 interface. Changes around the source tree.
9098 Fri May 18 08:35:31 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9100 * Added silc_hash_table_del[_by_context]_ext functions in to the
9101 lib/silcutil/silchashtable.[ch].
9103 Removed silc_hash_table_find_all* routines and added new
9104 silc_hash_table_find_foreach to replace them.
9106 Added silc_hash_table_replace_ext function as extended
9107 replacing function. Separated the simple hash table interface
9108 from the extended hash table interface in the file
9109 lib/silcutil/silchashtable.h.
9111 * Fixed minor bugs and changed it to use some of the new
9112 hash table functions in lib/silccore/idcache.c
9114 Thu May 17 18:15:12 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9116 * Added new function silc_hash_table_find_all to return all keys
9117 in the hash table by the specified key. As the hash table is
9118 collision resistant it also makes it possible to have several
9119 duplicate keys in the hash table. This function may be used to
9120 find all of the keys from the hash.
9122 Added user_context arguments to the SilcHashFunction,
9123 SilcHashCompare and SilcHashDestructor to deliver user specified
9126 Added new fuctions silc_hash_table_find[_all]_ext to do
9127 extended lookup with specified hash and compare functions and
9128 specified user contexts.
9130 Added new function silc_hash_table_add_ext to add the key
9131 with specified hash function and user context.
9133 Added new function silc_hash_table_foreach to traverse all
9134 entrys in the hash table. Added SilcHashForeach callback
9137 Added new function silc_hash_table_del_by_context to delete
9138 the entry only if the context associated with the key matches.
9140 Affected files are lib/silcutil/silchashtable.[ch].
9142 * Removed silc_hash_[server/client/channel]_id and added just
9143 silc_hash_id to the lib/silcutil/silcutil.[ch]. Added also
9144 silc_hash_id_compare to compare two ID's using as the hash table
9145 comparison function. Added also silc_hash_data to hash
9146 binary data and silc_hash_data_compare to compare it.
9148 * Removed silc_idlist_find_client_by_hash as it is not needed
9149 anymore. Affected file silcd/idlist.[ch].
9151 * Rewrote the entire ID Cache system (in lib/silccore/idcache.[ch])
9152 to use internally the SilcHashTable. The new ID Cache is a lot
9153 faster than the old one. Some of the ID Cache interface was also
9154 rewritten and obsolete and stupid functions were removed.
9156 Wed May 16 23:03:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9158 * Added entry_count field to the SilcHashTable to keep the number
9159 of the entries in the table. Implemented the function
9160 silc_hash_table_rehash. Added new function
9161 silc_hash_table_count. Affected file lib/silcutil/silchashtable.c.
9163 Fixed a minor bug in silc_hash_table_free.
9165 * Added silc_hash_string, silc_hash_uint, silc_hash_ptr,
9166 silc_hash_client_id, silc_hash_server_id and silc_hash_channel_id
9167 into the lib/silcutil/silcutil.[ch].
9169 Wed May 16 20:02:47 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9171 * Implemented a collision resistant hash table into the
9172 lib/silcutil/silchashtable[ch]. See the header and the source
9173 for the SilcHashTable API.
9175 Tue May 15 22:05:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9177 * Merged dotconf version 1.0.2 into lib/dotconf.
9179 Sun May 13 19:32:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9181 * Do not compile anything in lib/silcsim/* if the SIM support
9182 is not enabled. The tree should now compile without problems
9185 Thu May 10 22:49:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9187 * Compiled the SILC under cygwin. Compiled and tested briefly
9188 without problems. More tests needed. The SIMs didn't compile
9191 * Added various #ifdef HAVE_* stuff to lib/silccrypt/silrng.c.
9193 * Fixed possible crash in silc_get_username in the
9194 lib/silcutil/silcutil.c.
9196 Tue May 8 09:04:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9198 * Fixed a va_arg in silc/client_ops.c.
9200 * Oops, RC5 routines were named AES and caused some problems
9201 when not using SIM's. Affected file lib/silccrypt/rc5.c.
9203 Sun May 6 13:59:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9205 * Added new SilcIDIP structure into the lib/silccore/id.h and
9206 replaced the old `ip' fields from all SILC ID's to that type.
9207 This is a step towards IPv6 support.
9209 The silc_id_get_len takes now the ID as an extra argument.
9210 The silc_id_id2str, silc_id_str2id and silc_id_dup now supports
9211 both IPv4 and IPv6 based ID's.
9213 The affected files are lib/silccore/id.[ch] and other files
9214 around the tree using these routines.
9216 * Removed the ID length arguments in server from various
9217 silc_server_send_notify_* routines -> they are not needed
9220 Sat May 5 13:56:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9222 * Fixed memory leak in silc_encode_pem_file in the file
9223 lib/silcutil/silcutil.c.
9225 Thu May 3 21:23:50 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9227 * Check minor version as well in the SKE. Affected files are
9228 silcd/protocol.c and lib/silcclient/protocol.c.
9230 * Added --identifier option to the server so that an identifier
9231 can be when creating the public key for the server. Affected
9232 file is silcd/silcd.c.
9234 * Fixed minor decoding bug in silc_pkcs_decode_identifier in
9235 lib/silccrypt/silcpkcs.c.
9237 Wed May 2 20:50:49 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9239 * Register default ciphers and stuff when using -C option with
9240 the server. Affected file sildc/silcd.c.
9242 * Put back the servers public key filename format, it is better
9243 than the new one. For now, the client keys are saved with the
9244 new filename format. The affected file silc/client_ops.c.
9246 * Implemented the Cipher API for the rest of the ciphers that
9247 did not implement it or implemented it the wrong way.
9249 Wed May 2 13:31:26 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9251 * Register default ciphers and stuff when using the -S option
9252 in the client. Affected file silc/silc.c. Same also when
9253 creating new key pair with -C option.
9255 Tue May 1 14:18:13 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9257 * Fixed the silc_verify_public_key client operation function to
9258 save the public keys differently. The fingerprint is now
9259 used as filename and not the hostname. This way also the
9260 client keys are saved uniquely and not with hostnames. The
9261 affected file is silc/client_ops.c.
9263 * Trimmed the silc_hash_fingerprint function to remove extra
9264 whitespaces from the end of the fingerprint. The affected
9265 file is lib/silccrypt/silchash.c.
9269 * Added silc_cipher_register_default function to register all
9270 default ciphers. It can be used when configuration files
9271 does not exist and the application does not want any specific
9272 ciphers in any specific order.
9274 The SilcDList is now used as silc_cipher_list dynamically
9275 allocated cipher list. Removed the static list all together
9276 and now all ciphers must be allocated to the dynamic list.
9277 The silc_cipher_alloc routine was changed to check only the
9280 All silc_cipher_* routines that used to return int returns
9283 The affected files lib/silccrypt/silccrypt.[ch].
9285 * The same thing was done to silc_hash_* as for silc_cipher_*
9286 routines. Affected files lib/silccrypt/silchash.[ch].
9288 * The same thing was done to silc_pkcs_* as for silc_cipher_*
9289 routines. Affected files lib/silccrypt/silcpkcs.[ch].
9290 Added also silc_pkcs_[un]register[_default] functions.
9291 Removed the data_context from the PKCS API.
9293 * Added silc_hmac_register_default function to register default
9294 hmacs. Affected files lib/silccrypt/silchmac.[ch]. Added also
9295 SILC_ALL_HMACS macro that can be used with silc_hmac_unregister
9296 to unregister all hmacs at once.
9298 * Register the default ciphers, hash functions, PKCSs and HMACs
9299 if client's configuration file does not exist. The affected
9302 * The client did not load the hash functions from the SIM
9303 modules at all. Added support for this. Affected file is
9304 silc/clientconfig.c.
9306 * When decoding public key with silc_pkcs_public_key_decode, check
9307 the supported algorithm only if PKCS are registered. Affected
9308 file lib/silccrypt/silcpkcs.c. The same was done with the
9309 silc_pkcs_private_key_decode.
9311 * Fixed the SILC List routines to keep the list always in order.
9312 It used to change the list's order when traversing the list but
9313 not it preserves the order. Affected file lib/trq/silclist.h.
9315 Mon Apr 30 17:29:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9317 * Added the client library to use the SilcSocketConnection's
9318 reference counter (by silc_socket_dup) to prevent the bug that
9319 the socket object may be freed underneath async operation.
9321 * The name resolv library checking fixes in the configure.in.pre.
9324 * Created new version of the protocol drafts for future
9325 development. The -03 drafts are the ones that will be changed
9326 in the trunk now and the -02 will remain as they are.
9328 * Send list of CUMODE notifys to the router when announcing
9329 the channel users to the router. Affected file silcd/server.c.
9330 If the router receiving channel founder CUMODE for a channel
9331 that already has channel founder it will send CUMODE notify
9332 to the sender to remove the channel founder rights from the
9333 announced client. Affected file silcd/packet_receive.c.
9335 * The CUMODE notify may now use Server ID as well as the entity
9336 who changes the mode. Updated protocool specs.
9338 * Updated INSTALL and README files.
9340 Sun Apr 29 23:17:50 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9342 * New web pages in the http://silc.pspt.fi. The pages was
9347 Sun Apr 29 13:33:41 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9349 * Implemented the [DenyConnectin] config section in the server.
9350 Added silc_server_config_denied_conn to check whether incoming
9351 connection is denied. Affected file silcd/serverconfig.[ch].
9353 * Do not check the ports when checking the incoming configuration
9354 data if the port is 0, meaning any. Affected file is
9355 silcd/serverconfig.c.
9357 Fri Apr 20 18:58:43 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9359 * Fixed buffer overflow in silc_string_compare in the file
9360 lib/silcutil/silcutil.c.
9362 * Fixed double free in silc_server_command_leave in the file
9365 Fri Apr 20 14:00:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9367 * Fixed the version checking in the server. Affected file is
9370 Thu Apr 19 19:52:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9372 * Fixed the configuration data fetching when accepting new
9373 connections in the server. Affected file silcd/server.c.
9375 Thu Apr 19 11:40:20 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9377 * Added `sender_entry' argument to the function
9378 silc_server_packet_relay_to_channel so that we can check
9379 whether some destination actually belongs to the same route
9380 the sender belongs (ie, we must not resend the packet to the
9381 sender). Affected file silcd/packet_send.[ch].
9383 * Added `servername' field to the SilcClientEntry in the server
9384 to hold the name of the server where client is from. Affected
9385 file is silcd/idlist.h.
9387 Wed Apr 18 22:19:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9389 * Moved the channel message encrypting in the router betwen
9390 router connections from silc_server_channel_message to the
9391 silc_server_packet_relay_to_channel since we want to check
9392 whether we have anybody channel before encrypting anything.
9393 Affected files silcd/packet_[receive/send].c.
9395 Tue Apr 17 21:18:19 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9397 * Fixed the [AdminConnection] server config section to support
9398 multiple entries. Affected file silcd/serverconfig.c.
9400 * Added support into the server to check the validity of the
9401 incoming connection before executing any KE or authentication
9404 * The connection configuration is now saved to the KE and
9405 connection auth protocol contexts and not fetched anymore in
9406 the protocol. Affected files silcd/server.c, silcd/protocol.[ch].
9408 * The local hosts listenning address and port is also resolved
9409 now when starting the server. We want to have the socket object
9410 to include the real address and port for the listener. Added
9411 new function silc_net_check_local_by_sock into the files
9412 lib/silcutil/silcnet.[ch].
9414 * Fixed a broadcast bug in server -> do not broadcast if we
9417 * Fixed a routing bug. Do not route broadcast packets ever.
9418 Broadcast packets must be processed always and not routed since
9419 they may be destined to some other host than yourself and thus
9420 would get routed without no good reason. Affected file is
9423 * Added function silc_server_config_is_primary_route to check
9424 whether primary router connection has been configured (a router
9425 configuration that we are initiating). If there is not, we
9426 will assume that there is only two routers in the SILC network
9427 and we will use the incoming router connection as our primary
9428 route. Affected files silcd/serverconfig.[ch], silcd/server.c.
9430 * Changed the order of the broadcasting. Broadcast _after_ the
9431 packet has been processed not before. Affected file is
9434 * Fixed a [ClientConnection] parsing bug. The port was never
9435 parsed correctly thus resulting to port 0. Affected file
9436 silcd/serverconfig.c.
9438 * Fixed silc_server_send_notify_args -> it ignored the `broadcast'
9439 argument and did not set the broadcast packet flag. Affected
9440 file silcd/packet_send.c. Fixed same bug in the function
9441 silc_server_send_notify as well.
9443 * If we receive NEW_ID packet for our own ID in the server, ignore
9446 Mon Apr 16 12:10:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9450 * Removed the nickname from the Private Message Payload.
9451 Updated the code and the protocol specs.
9453 * Updated protocol specs for submitting to the IETF.
9455 * Tweaked the Random Number Generator a bit. Affected file
9456 lib/silccrypt/silcrng.c. Exported a new function
9457 silc_rng_[global]_add_noise which can be used to add more
9460 Sat Apr 14 16:21:32 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9462 * Do not parse packets with different timeout when protocol
9463 is active -> may cause problem with rekey. Affected file
9466 * When server receives signoff notify it must not create
9467 new channel key if the client is on any channels since the
9468 sender of the signoff notify will create it.
9470 Fri Apr 13 17:12:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9472 * Added printing of error messages during SKE protocol from the
9473 failure packet sent by server during SKE. Affected file
9476 * Removed the client's failure_callback handling with timeout
9477 and handle it immediately when received.
9479 * The SKE library returned wrong type in SUCCESS and FAILURE
9480 packets. They must be 32 bit MSB not 16 bit MSB.
9482 Fri Apr 13 00:09:08 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9484 * Ok, rewrote the logic of the re-key and now it seems to work.
9485 I tested it on high traffic with frequent re-keys without
9486 problems. Added hmac_receive (and renamed hmac to hmac_send)
9487 in SilcClientConnection in lib/silcclient/client.h and
9488 in SilcIDListData in silcd/idlist.h. Also, removed the
9489 SilcPacketParserContext's cipher and hmac fields as they are
9490 not needed anymore and actually caused some problems when
9491 the ciphers and hmac's changed underneath the packet parser.
9493 Thu Apr 12 14:42:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9495 * If re-key protocol is active then process the incoming packets
9496 synchronously since we must assure that icoming packets encrypted
9497 with the old key is processed before the new keys is set to
9498 use. This is true other packets than for REKEY packets.
9499 Affected file silcd/server.c. The same was done to client library
9500 as well, affected file lib/silcclient/client.c.
9502 Thu Apr 12 12:01:52 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9504 * Fixed bug in client and server to accept the force send if
9505 the packet is send from silc_[server/client]_packet_process
9506 function. Otherwise the packets are never delivered, oops.
9508 Wed Apr 11 22:10:15 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9510 * Disable force sending of packets when REKEY protocol is active.
9511 We must assure that no packet is sent directly when rekey is
9512 performed. All packets must be sent through packet queue.
9513 Added macro SILC_SERVER_IS_REKEY to silcd/server.h and
9514 SILC_CLIENT_IS_REKEY to lib/silcclient/client.h. Affected
9515 function is silc_[server/client]_packet_send_real to check
9518 * Replaced the SIM paths from example config files to
9519 /usr/local/modules. Also, make install creates now
9520 /usr/local/silc/logs directory to hold all the SILC server
9523 Wed Apr 11 16:59:59 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9525 * Made the configure.in.pre work on Solaris. Patch by salo.
9527 * Made all ciphers compatible with non-x86 machines. Defined
9528 CBC mode macros into lib/silccrypt/ciphers_def.h.
9530 Tue Apr 10 20:32:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9532 * Fixed the make install.
9534 Tue Apr 10 16:20:34 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9536 * When MAC computation fails the silc_packet_decrypt returned 0
9537 even though it was supposed to return -1. Fixed this. The
9538 affected file is lib/silccore/silcpacket.c.
9540 * Do not replace the config files in /etc/silc (in make install)
9541 if they already exist. Affected file ./Makefile.am.
9543 * Do not send re-key packets immediately but through packet queue.
9544 Affected file silcd/protocol.c and lib/silcclient/protocol.c.
9546 * Changed silc_net_check_host_by_sock to return FALSE if the
9547 IP/DNS could not be resolved. Though, it returns the IP address
9548 now even if it could not resolve it (but returns also FALSE).
9549 Affected file lib/silcutil/silcnet.[ch].
9551 Mon Apr 9 21:54:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9553 * Added silc_pkcs_decode_identifier to decode the public key's
9554 identifier. Affected file lib/silccrypt/silpkcs.[ch].
9555 Added also silc_pkcs_free_identifier. Added also new context
9556 SilcPublicKeyIdentifier.
9558 * Added -S option to the silc client. It is used to dump the
9559 contents of the specified public key file.
9561 * Changed the PKCS api to return the public key length when
9562 setting the public key.
9564 * Fixed a fatal bug in the public and private key file loading.
9565 Affected file lib/silccrypt/silcpkcs.c.
9567 * Execute the packet parsing for client with zero (0) timeout
9568 if the protocol is active. Affected file silcd/server.c.
9570 Sun Apr 8 19:30:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9572 * Made the key generation options to the silcd program. Added
9573 -C option, equivalent to client's option.
9575 * Added new [ServerKeys] config section to the server. It
9576 configures the server's public and private key.
9578 * Defined generic Public Key Payload into the protocol
9579 specification to send specific type of public keys and
9582 * Defined new command SILC_COMMAND_GETKEY to fetch a client's
9583 public key or certificate.
9585 * Implemented the GETKEY command to the server and to the
9586 client library and on user interface.
9588 Sun Apr 8 01:37:21 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9590 * Made preliminary `make install' work.
9592 Thu Apr 5 17:42:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9594 * Added SilcServerRekey context into silcd/idlist.h.
9596 * Added the PFS support as defined in the specification to the
9597 SKE protocol. Affected files lib/silcske/*.c.
9599 * Added `ske_group' field to the SilcServerRekey context to hold
9600 the number of the SKE group that is used with PFS in re-key.
9601 Affected file silcd/idlist.h.
9603 * Added PFS re-key support to the server. Affected file is
9606 * Added silc_protocol_cancel to cancel execution of the next
9607 state of the protocol. Affected file is
9608 lib/silccore/silcprotocol.[ch].
9610 * Added the re-key support with and without PFS to the client
9611 library. Re-key is performed once in an hour, by default.
9613 Added new protocol type SILC_PROTOCOL_CLIENT_REKEY.
9614 Added silc_client_rekey_callback and silc_client_rekey_final.
9615 Affected files are lib/silcclient/protocol.[ch] and
9616 lib/silcclient/client.[ch].
9618 * Removed the `hmac_key' and `hmac_key_len' fields from the
9619 SilcClientConnection structure; not needed. Affected file is
9620 lib/silcclient/client.h.
9624 Wed Apr 4 16:32:31 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9626 * Do not ask whether user wants to use the negotiated private key
9627 for private messages, just use it. Affected file is
9628 silc/local_command.c.
9630 * Added `send_enc_key' and `enc_key_len' fields to the
9631 SilcIDListData structure since they are needed in the re-key
9632 phase. Affected file is silcd/idlist.[ch].
9634 * Implemented the simple re-key protocol into the server.
9635 Affected files silcd/server.c and silcd/protocol.[ch]. The
9636 re-key will be performed once in an hour, by default.
9638 Added new protocol type SILC_PROTOCOL_SERVER_REKEY.
9639 Added silc_server_rekey, silc_server_rekey_callback and
9640 silc_server_rekey_final.
9642 * Removed Tunneled flag from the protocol. Updated the code
9643 and the specifications.
9645 * Adde `pfs' field to the SilcIDListData to indicate whether
9646 the PFS is to be performed in the re-key. Affected file is
9649 Tue Apr 3 21:52:42 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9651 * Defined uint8, int8, uint16, int16, uint32, int32, uint64 and
9652 int64 of at least the xintXX size. If void * is less that 4
9653 bytes uint32 * will be used. Defined bool as boolean.
9655 * Changed _ALL_ unsigned long and unsigned int to uint32,
9656 unsgined short to uint16 in the source tree.
9658 * Fixed a fatal bug in silc_server_remove_clients_by_server. Do
9659 not handle clients that has entry->data.registered == FALSE.
9660 They are not in the network anymore. Affected file is
9663 Tue Apr 3 16:39:19 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9665 * Implemented the sending of the SERVER_SIGNOFF notify in the
9666 server. Affected file is silcd/server.c.
9668 * Added silc_server_send_notify_args into silcd/packet_send.[ch].
9669 Added also silc_notify_payload_encode_args into the
9670 lib/silccore/silcnotify.[ch].
9672 * Implemented ther SERVER_SIGNOFF notify handling in the server.
9673 Affected file silcd/packet_receive.c.
9675 * Implemented the SERVER_SIGNOFF notify handling in the client
9676 library. Affected file lib/silcclient/client_notify.c. Also,
9677 implemnted the printing of the SERVER_SIGNOFF info to the
9678 application. Affected file silc/client_ops.c.
9680 * The silc_idlist_del_server now returns TRUE or FALSE to indicate
9681 if the deleting was successful. Affected file silcd/idlist.[ch].
9683 * Added support for public key authentication in the connection
9684 authentication protocol in the client library. Affected file
9685 lib/silcclient/protocol.c.
9687 * Changed the server's silc_idlist_get_clients_by_* interface
9688 to support already allocated array so that new entries may be
9689 added to pre-allocated array. Affected file silcd/idlist.[ch].
9690 This fixes some bugs with WHOIS, WHOWAS and IDENTIFY commands
9691 and command replies.
9693 * All command reply functions in the server now calls the
9694 pending command callback even if error occured. This way the
9695 error will be delivered to the client as well. Affected files
9696 silcd/command.c and silcd/command_reply.c.
9698 * Fixed INFO command to return local server's info if no server
9699 was provided. Affected file lib/silcclient/command.c.
9701 * Removed RESTART command for good. Updated the code and the
9704 * Rewrote parts of the task system. It is a bit simpler now.
9705 Removed unsued task priorities. The affected files are
9706 lib/silcutil/silctask.[ch].
9708 Mon Apr 2 20:02:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9710 * Moved the USERS printing from the library to the application.
9711 Affected files lib/silcclient/command.c and silc/client_ops.c.
9713 Mon Apr 2 13:13:23 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9717 * Added channel key re-key support. The re-key is perfomed
9718 only by the router and is done once in an hour. Added `rekey'
9719 field to the SilcChannelEntry in the server. Affected files
9720 silcd/server.c and silcd/idlist.h.
9722 * Added silc_task_unregister_by_context into the file
9723 lib/silcutil/silctask.[ch].
9725 Sun Apr 1 19:49:34 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9727 * Added SILC_UMODE_GONE mode to indicate when the client is not
9728 present in the SILC network. Added also support to the local
9729 command AWAY that will set this mode. Added support of showing
9730 "xxx is gone" in WHOIS command. The USERS command shows the
9731 gone status as well.
9733 * Fixed setting server and router operator privileges in the
9734 server's UMODE command. Affected file silcd/command.c.
9736 * Merged the SKE KE1 and KE2 payloads into one payload. The
9737 new KE payload is equivalent to the old KE2 payload.
9739 Cleaned up the SKE Start Payload parsing. It now uses the
9740 simple buffer unformatting to do the parsing. A lot faster
9743 Added new Mutual Authentication flag (SILC_SKE_SP_FLAG_MUTUAL)
9744 to the SKE that is used to indicate whether both of the SKE
9745 parties should perform authentication. By default only the
9746 responder performs authentication. By setting this flag also
9747 the initiator must do authentication. By default it is unset
9748 since in normal SKE case, client to server connection, only
9749 the responder should do authentication. When doing SKE between
9750 two clients both should perform authentication. Updated the
9751 code and the protocol specs.
9753 * A little fix to IDENTIFY command in the server. Search the
9754 client first by hash not nickname. Affected file is
9757 * Fixed the silc_client_close_connection to support closing
9758 the client to client connections wihtout deleting too much
9759 data. Affected file lib/silcclient/client.c.
9761 * Fixed a fatal bug in server and client; if KE1 or KE2 packets
9762 are received if protocol used to be active but is not anymore
9763 the application would crash due to NULL pointer dereference.
9764 Affected files silcd/server.c and lib/silcclient/client.c.
9766 * Added `hash' field to the SilcClientConnection to include
9767 the hash function negotiated in the SKE protocol.
9769 * Added new channel mode SILC_CMODE_FOUNDER_AUTH that is used
9770 to set the channel founder authentication data. A client can
9771 claim the founder rights later by providing the authentication
9772 data to the CUMODE command using SILC_CUMODE_FOUNDER mode.
9773 This way the channel founder can regain the channel founder
9774 privileges even it is left the channel. This works only on
9775 local server and the client must be connected to the same
9776 server to be able to regain the founder rights. Updated the
9777 protocol specs accordingly.
9779 Added support to the CMODE command in the client to set the
9780 founder auth data. Read the README to see how to set it.
9782 Added support to the CUMODE command to claim the founder
9783 rights. Read the README to see how to do it.
9785 Added support for the founder authentication to the Channel
9786 Entry in the server. Affected file silcd/idlist.h.
9788 Added support for the SILC_CMODE_FOUNDER_AUTH mode in the
9789 server's CMODE command. Affected file silcd/command.c.
9791 * Added the following new functions into lib/silccore/silcauth.[ch]:
9792 silc_auth_get_method and silc_auth_get_data.
9794 * The server now saves the remote hosts public key to the
9795 SilcIDListData pointer. Affected file silcd/protocol.c.
9797 * The normal server now does not remove the channel entry from
9798 the cache if the founder authentication data is set. It used
9799 to remove it if the founder was the last one on the channel on
9800 the server and left the channel. The auth data is saved and
9801 if the channel is re-joined later the old entry is used with
9802 the old auth data. Affected files silcd/command_reply.c and
9805 * Removed the `pkcs' field from the SilcIDListData structure
9806 in the server; it is not used. Affected file silcd/idlist.h.
9808 Sat Mar 31 15:38:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9810 * Fixed packet processing on slow links. Partial packets were
9811 never re-processed because the incoming data buffer was cleared
9812 by the application. Application must not directly clear the
9813 sock->inbuf, the packet processing routines handle it. Fixed
9814 this in client library and in server.
9816 Fri Mar 30 16:35:27 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9818 * Fixed the WHOIS and IDENTIFY send reply function to really
9819 check whether to send list or just one entry. Affected file
9822 * Cleaned up the LEAVE command's channel key distribution. The
9823 affected file silcd/command.c.
9825 * Changed CMODE_CHANGE's <Client ID> to <ID Payload> as server
9826 can enforce the channel mode as well. In that case the ID
9827 includes the ID of the server. The code now enforces the
9828 mode change if the router have different mode than the server.
9830 * The notify client operation with CMODE_CHANGE notify can now
9831 return NULL client_entry pointer if the CMODE was not changed
9832 by client. Application must check for this.
9834 * Added <Server ID> argument to INFO command to support server
9835 info fetching by Server ID.
9837 * Added silc_server_announce_get_channel_users to get assembled
9838 packets of channel users of the specified channel. Affected
9839 file silcd/server.[ch].
9841 * Fixed bug in CHANNEL_CHANGE notify in the server. The new ID
9842 was freed underneath the ID Cache.
9844 * Re-announce clients when the server received CHANNEL_CHANGE
9845 notify from the router. Affected file silcd/packet_send.c.
9847 Thu Mar 29 19:10:28 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9849 * Fixed a fatal bug when client does /join 1 2 3 4 5 6 the server
9850 crashed since it did not handle the fact that there is no cipher
9851 called "3" and didn't check the error condition. Now fixed.
9853 * Added SILC_MESSAGE_FLAG_REQUEST message flag as generic request
9854 flag. It can be used to send message requests.
9856 Thu Mar 29 12:26:25 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9858 * Implemented the RESTART command in the client.
9860 * Added SILC_MESSAGE_FLAG_NOTICE message flag for informational
9861 notice type messages. Added notice printing to the user
9864 * The channel keys are not re-generated if the channel's mode
9865 is PRIVKEY, ie private key on the channel exists. Affected
9866 files silcd/server.c and silcd/command.c.
9868 * Fixed a little bug in channel message delivery when channel
9869 private keys are set in the server. Affected file is
9870 silcd/packet_send.c.
9872 * Changed the setting on channel->on_channel = TRUE from the
9873 silc_client_save_channel_key to the JOIN command reply. The
9874 key payload is not received if the private channel key is set.
9875 Affected file lib/silcclient/command_reply.c and the
9876 lib/silcclient/client_channel.c.
9878 * When the CMODE_CHANGE notify is sent and the channel private
9879 key mode is removed the channel key must be re-generated in
9880 other cells as well. Added this support for the router in the
9881 silcd/packet_receive.c.
9883 * Added new local command NOTICE to send notice message on
9884 channel. Affected file silc/local_command.[ch].
9886 Wed Mar 28 23:55:54 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9888 * Added new local command ME to the client. It is used to send
9889 message to a channel with SILC_MESSAGE_FLAG_ACTION to indicate
9890 some action. Affected file silc/local_command.[ch].
9892 * Changed channel_message and private_message client operations
9893 to deliver the message flags to the application. Added also
9894 the `flags' arguments to the silc_client_send_channel_message
9895 and silc_client_send_private_message functions. Affected file
9898 Wed Mar 28 20:50:47 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9900 * Redefined the Private Message Payload to support private message
9901 keys and to support the new private message flags. Updated
9902 the protocol specs. Flags makes it possible to have for example
9903 CTCP style messages.
9905 * Added new type SilcPrivateMessagePayload and defined an API
9906 for it in the lib/silcclient/silcprivate.[ch].
9908 * Tested private message private keys successfully. Tested the
9909 private message key set, unset and list commands with the new
9912 * Redefined the Channel Message Payload to include the channel
9913 message flags (equal with private message flags) to support
9914 for example CTCP style messages.
9916 * Defined some of the message (for channel and private message)
9917 flags. Updated the protocol specs and added the flags to the
9918 lib/silccore/silcchannel.h. The type is SilcMessageFlags.
9920 Wed Mar 28 15:52:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9922 * Added SilcKeyAgreementStatus type to the key agreement routines
9923 to indicate the current status and error if one occured.
9924 The status types are defined in the lib/silcclient/silcapi.h.
9926 * Added new local command KEY that is used to set and unset private
9927 keys for channels, set and unset private keys for private messages
9928 with remote clients and to send key agreement requests and
9929 negotiate the key agreement protocol with remote client. The
9930 key agreement is supported only to negotiate private message keys,
9931 it currently cannot be used to negotiate private keys for channels,
9932 as it is not convenient for that purpose.
9934 * Fixed a minor pending callback setting bug in the function
9935 silc_client_get_client_by_id_resolve, now the function works.
9936 Affected file lib/silcclient/idlist.c.
9938 * Added function silc_net_get_local_port to get local bound
9939 port by socket. Added to lib/silcutil/silcnet.[ch].
9941 * Added `sockets' and `sockets_count' fields to the SilcClient
9942 object. They hold the sockets of the listenning sockets in
9943 the client. Listenning sockets may be for example the key
9944 agreement server. Affected file lib/silcclient/client.[ch].
9945 Added functions the silc_client_add_socket and the
9946 silc_client_del_socket. They are exported to the application
9949 * Added ~./silc/clientkeys to support other client's public keys.
9951 * Renamed verify_server_key client operation to verify_public_key
9952 and added one argument to indicate the type of the connection
9953 (server, client etc.).
9955 Tue Mar 27 22:22:38 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9957 * Added silc_server_connection_auth_request to handle the
9958 incoming CONNECTION_AUTH_REQUEST packet. Affected file is
9959 silcd/packet_receive.[ch].
9961 * Added silc_server_send_connection_auth_request into the
9962 silcd/packet_send.c to send the connection auth request packet.
9964 * Cleaned up the silcd/protocol.c a bit and fixed some memory
9967 * Fixed the public key authentication in responder side in the
9968 server. The `auth_data' pointer includes the SilcPublicKey
9969 not the path to the public key. Affected file silcd/protocol.c.
9971 * Implemented the public key authentication in the initiator side
9972 in the server. Affected file silcd/protocol.c.
9974 * Removed the [RedirectClient] config section from the server
9975 configuration. Is not needed and I don't want to implement it.
9977 Tue Mar 27 12:49:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9979 * Cleaned up the CMODE command in the server. It now works
9980 correctly and supports all the modes defined in the protocol.
9981 Affected file is silcd/command.c.
9983 * Added `hmac_name' field to the SilcChannelEntry in the server
9984 to hold the default HMAC of the channel. It can be set when
9985 creating the channel (with JOIN command). Affected files
9988 * Added <cipher> and <hmac> argument to the CMODE_CHANGE notify
9989 type to indicate the change of the current cipher and hmac
9990 on the channel. Client can safely ignore the <cipher> argument
9991 (if it chooses to do so) since the CHANNEL_KEY packet will
9992 force the channel key change anyway. The <hmac> argument is
9993 important since the client is responsible of setting the new
9994 HMAC and the hmac key into use.
9996 * Fixed the CMODE command in the client library as well.
9998 * Tested CMODE command in router environment successfully.
10000 Mon Mar 26 14:39:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10002 * Show the version of the remote client (or server) when connecting
10003 to the server. It is logged to the log file. Affected file
10004 is silcd/protocol.c.
10006 * Fixed the KILLED notify handling in the client library. The
10007 client must be removed from all channels when receiving the
10010 Also, do not remove the client entry when giving the KILL
10011 command but when the KILLED notify is received.
10013 * Removed silc_idlist_find_client_by_nickname from the server.
10014 Not needed anymore. Affected files silcd/idlist.[ch].
10016 * Implemented the CHANNEL_CHANGE notify type handling to the
10017 server. Affected file silcd/server.c.
10021 Mon Mar 26 12:11:14 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10023 * Added silc_server_send_notify_invite to send the INVITE
10024 notify between routers.
10026 * Implemented the INVITE command correctly to the server.
10028 * Implemented the INVITE notify type handling in the server.
10030 * Implemented the INVITE command to the client library and on the
10033 Sun Mar 25 20:27:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10035 * Added function silc_server_get_client_resolve to find the
10036 client entry by ID from all ID lists and then resolve it
10037 (using WHOIS) if it cannot be found. Affected file is
10040 Sun Mar 25 13:52:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10042 * Implemented the BAN command to the client library.
10044 * The JOIN command in the server now checks the invite list
10047 * Changed the silc_command_reply_payload_encode_va and the
10048 silc_command_payload_encode_va to support that if argument is
10049 NULL it ignores and checks the next argument. Affected file
10050 lib/silccore/silccommand.c.
10052 * Added silc_server_send_notify_ban to send the BAN notify
10053 type between routers.
10055 * Chaned the silc_notify_payload_encode to support that if
10056 argument is NULL it ignores and checks the next argument.
10057 Affected file lib/silccore/silcnotify.c.
10059 * Tested ban lists in router environment successfully.
10061 Sat Mar 24 14:47:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10063 * Implemented BAN command to the server, in silcd/command.[ch].
10065 * Removed the BAN and INVITE_LIST modes from the CMODE command
10066 in the server code.
10068 * Added function silc_string_match to regex match two strings.
10069 Affected files lib/silcutil/silcutil.[ch].
10071 Fri Mar 23 22:02:40 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10073 * Redefined parts of the SilcChannelEntry in the server to support
10074 the new ban and invite lists.
10076 Fri Mar 23 16:25:11 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10078 * Redefined the INVITE command. The same command can be used to
10079 invite individuals to the channel but also to manage the invite
10080 list of the channel (to add to and remove from the invite list).
10081 Updated the protocol specs.
10083 * Added new command SILC_COMMAND_BAN that can be used to manage
10084 the ban list of the channel. Updated the protocol specs.
10086 * Removed the channel modes: the SILC_CMODE_BAN and the
10087 SILC_CMODE_INVITE_LIST as they were a bit kludge to be included
10088 in the CMODE command. The equivalent features are now available
10089 using INVITE and BAN commands. Updated the protocol specs.
10091 * Added new SILC_NOTIFY_TYPE_BAN notify type to notify routers
10092 in the network about change in the current ban list. The notify
10093 type is not used by the client.
10095 * Redefined parts of the SILC_NOTIFY_TYPE_INVITE command to
10096 support the invite lists.
10098 Thu Mar 22 22:52:23 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10100 * Added new function silc_string_regexify that converts string
10101 including wildcard characters into regex string that can
10102 be used by the GNU regex library. Added into the file
10103 lib/silcutil/silcutil.[ch].
10105 Added silc_string_regex_combine to combine to regex strings
10106 into one so that they can be used as one regex string by
10107 the GNU regex library. Added into the file
10108 lib/silcutil/silcutil.[ch].
10110 Added silc_string_regex_match to match two strings. It returns
10111 TRUE if the strings match. Added into lib/silcutil/silcutil.[ch].
10113 Thu Mar 22 15:29:42 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10115 * Imported GNU regex to the soruce tree into lib/contrib.
10116 Fixed some compiler warning from the regex.c.
10118 Wed Mar 21 15:27:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10120 * Fixed MOTD command in the server to work in router environment.
10122 * Fixed the MOTD command in the client library to support
10123 the server argument in the command.
10125 * Added `nickname_len' argument to the silc_idlist_add_client
10126 in the server, as the `nickname' argument may be binary data
10129 * Added silc_idlist_get_channels to return all channels from
10132 * Implemented LIST command to the server. Affected file is
10135 * Implemented the LIST command to the client library and on the
10138 * Added [<user count>] argument to the LIST command reply.
10139 With private channels the user count is not shown.
10141 * Updated TODO and README.
10143 Tue Mar 20 21:05:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10145 * The client entry's data.registered must be TRUE even with
10146 global client entry on global client list. The data.registered
10147 is used to check whether the client is anymore in the network,
10148 for example with WHOWAS command so it must be valid.
10150 * Fixed the WHOWAS command in the server. It now actually works
10151 in router environment. Added function into silcd/command_reply.c
10152 silc_server_command_reply_whowas_save.
10154 * Added silc_idlist_purge function to the silcd/idlist.c
10155 to periodically purge the ID Cache.
10157 * Fixed INFO command in the server. It works now in router
10158 environment. Added <server name> argument to the INFO command
10159 reply. Updated the protocol specs.
10161 * Fixed minor bug in silc_idcache_purge to not purge if the
10162 expire value is zero.
10164 * Fixed various bugs in WHOIS and IDENTIFY command handling as
10165 they were buggy because of the WHOWAS information.
10167 * Fixed local command MSG to handle the async resolving of
10168 the remote client properly. It used to fail the first MSG.
10169 Affected file silc/local_command.c.
10171 * Added `data_len' field to SilcIDCache context.
10173 Tue Mar 20 16:29:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10175 * Update TODO. Todo in commands in the server.
10177 Tue Mar 20 15:45:14 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10179 * Added new notify type SILC_NOTIFY_TYPE_UMODE_CHANGE that is
10180 used by routers as broadcast packet to inform other routers
10181 about the changed user mode.
10183 Implemented the notify handling in the server. Affected file is
10184 silcd/packet_receive.c. Added the function
10185 silc_server_send_notify_umode to the silcd/packet_send.[ch].
10187 * Added new generic Channel Payload and deprecated the New Channel
10188 Payload. The New Channel Payload is now the generic Channel
10191 * Added new argument `mode' to the silc_server_send_new_channel
10192 as it is required in the Channel Payload now.
10194 * Renamed the SilcChannelPayload to SilcChannelMessagePayload
10195 and created a new and real SilChannelPayload to represent the
10196 new generic Channel Payload. Implemented the encode/decode
10197 for Channel Payload. Affected file lib/silccore/silcchannel.[ch].
10199 * Added silc_server_get_client_channel_list to return the list
10200 of channels the client has joined for WHOIS command reply.
10201 Affected file silcd/server.[ch].
10203 * Implemented the channel list sending in the WHOIS command reply
10204 in server and in the client.
10206 Implemented the channel list displaying on the user interface
10207 as well. Affected file silc/client_ops.c.
10209 * Added silc_channel_payload_parse_list to parse list of Channel
10210 Payloads. It returns SilcDList list of SilcChannelPayloads.
10211 Client for example can use this function to parse the list of
10212 channels it receives in the WHOIS command reply. The caller
10213 must free the list by calling silc_channel_payload_list_free.
10214 Affected files lib/silccore/silcchannel.[ch].
10216 Mon Mar 19 21:39:15 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10218 * Added one new argument <user mode> to the WHOIS command reply
10219 to return the mode of the user in SILC. Updated the protocol
10222 Implemented it to the server and client.
10224 Mon Mar 19 18:43:06 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10226 * Fixed the mode printing on the user interface on joining.
10227 Affected file silc/client_ops.c.
10229 * Implemented the UMODE command and user modes in general to the
10230 client library and to the user interface.
10232 * Implemented the UMODE command to the server.
10234 * The server now sends UNKNOWN_COMMAND error status if client sends
10235 unknown command. Affected file silcd/command.c.
10237 * All server commands now handle the command identifier the right
10238 way when sending the command reply to the client. The client can
10239 use to identify the command replies with the identifier.
10241 Mon Mar 19 16:13:07 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10243 * Added silc_server_get_client_route to resolve the route to
10244 the client indicated by the client ID. Affected file is
10247 * Added silc_server_relay_packet as general function to relay
10248 packet to arbitrary destination. This deprecates functions
10249 like _send_private_message_key, _relay_notify etc. Affected
10250 file is silcd/packet_send.[ch].
10252 Removed silc_server_send_key_agreement,
10253 silc_server_send_private_message_key and
10254 silc_server_packet_relay_notify functions from the file
10255 silcd/packet_send.[ch].
10259 * Implemented the SILC_NOTIFY_TYPE_KILLED notify handling in the
10260 server. Affected file silcd/packet_receive.[ch].
10262 * Implemented the KILL command to the client. Implemented the
10263 SILC_NOTIFY_TYPE_KILLED notify handling in the client library.
10264 Affected files lib/silcclient/command[_reply].c and
10265 lib/silcclient/client_notify.c. Implemented the KILL notify
10266 printing in the user inteface.
10268 * Fixed a lot silc_parse_nick memory leaks from the client
10269 library in the file lib/silcclient/command.c.
10271 * Changed the silc_server_send_notify_on_channels's `sender'
10272 argument from SilcSocketConnection to SilcClientEntry to
10273 check the sender as entry and not as connection object and not
10274 to send to the client provided as argument. The affected file
10275 is silcd/packet_send.[ch].
10277 * The notify packets that are destined directly to the client used
10278 to not to be processed by the server. Now changed that and the
10279 server processes all notify packets. After relaying the packet
10280 to the client the notify packet is processed in the server.
10282 * The silc_server_free_client_data now checks whether there is
10283 pending outgoing traffic for the client and purges the data to
10284 the network before removing the client entry.
10286 Sun Mar 18 21:02:47 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10288 * Added SILC_NOTIFY_TYPE_KILLED notify type. It is sent when
10289 an client is killed from the SILC Network. Updated the protocol
10292 Added new function silc_server_send_notify_killed to the
10293 silcd/packet_send.[ch].
10295 * Added function silc_server_packet_relay_notify to relay notify
10296 packets that are destined directly to a client. In this case
10297 the server does not process the notify packets but merely relays
10298 it to the client. Affected file silcd/packet_send.[ch].
10300 Added also silc_server_packet_process_relay_notify to check
10301 whereto relay the notify. Affected file is
10302 silcd/packet_receive.[ch].
10304 * Implemented the KILL command to the server.
10308 * Added the backup schema desgined last fall to the protocol
10309 specs for everyone to see. The specification is in the
10310 *-spec-xx.txt draft and the packet type definitions for the
10311 backup routers is in *-pp-xx.txt draft. Thusly, added also
10312 new packet type SILC_PACKET_CELL_ROUTERS.
10314 * A big security problem in the implementation discovered. The
10315 signoff of an client did not cause new channel key generation
10316 which it of course should've done. The channel keys must be
10317 always re-generated when client leaves (or signoffs) the channel.
10318 The silc_server_remove_from_channels funtion now handles
10319 the channel key re-generation.
10321 * Added `sender' argument to the silc_server_send_notify_on_channels
10322 to not to send the client provided as argument. Affected file
10323 silcd/packet_send.[ch].
10325 Fri Mar 16 15:52:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10327 * Implemented OPER and SILCOPER commands into the server and
10328 the client library.
10330 * Added silc_auth_verify and silc_auth_verify_data to verify
10331 the authentication directly from the authentication payload.
10332 It supports verifying both passphrase and public key based
10333 authentication. Affected file lib/silccore/silcauth.[ch].
10335 * Added `hash' field to the SilcIDListData structure. It is the
10336 hash negotiated in the SKE protocol. Affected file is
10339 * Slight redesigning of the SilcAuthPayload handling routines.
10340 Do not send SilcPKCS but SilcPublicKey as argument.
10342 * Implemented the public key authentication support to the
10343 serverconfig. The public key is loaded from the provided path
10344 and saved as authentication data to void * pointer. Thus,
10345 changed the unsigned char *auth_data to void *auth_data;
10347 * Fixed SHUTDOWN command to send the reply before the server
10348 is shutdown. :) Affected file silcd/command.c.
10350 * Fixed fatal bug in CONNECT command. The hostname was invalid
10351 memory and server crashed. Affected file silcd/command.c.
10353 * Fixed fatal bug in CLOSE command. The server_entry became
10354 invalid but was referenced later in the command. Affected file
10357 Thu Mar 15 12:46:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10359 * Fixed fatal bug in failure packet handling. Server ignored
10360 the failure and thus crashed when it came.
10364 Wed Mar 14 20:37:35 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10366 * Added new SILC_CF_LAG_STRICT command flag that strictly forces
10367 that the command may be executed only once in (about) 2 seconds.
10368 The old SILC_CF_LAG flag is same but allows command bursts up
10369 to five before limiting.
10371 Added the support for CF_LAG and CF_LAG_STRICT flags to the
10372 server code. Various commands now includes the CF_LAG_STRICT
10373 flag to disallow any kind of miss-use of the command.
10375 * Fixed the silc_buffer_unformat to not to allocate any data
10376 if the length of the data is zero. It used to allocate the
10377 length + 1. Affected file lib/silcutil/silcbuffmt.c.
10379 Wed Mar 14 16:10:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10381 * Changed the format of AdminConnection configuration section
10382 in the server. Added username of the admin to the format.
10383 Affected files silcd/serverconfig.[ch].
10385 Added silc_server_config_find_admin into silcd/serverconfig.[ch]
10386 to return admin configuration data by host, username and/or
10389 Wed Mar 14 13:18:16 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10391 * Implemented WHOWAS command to the server. Added the functions:
10393 silc_server_command_whowas_parse,
10394 silc_server_command_whowas_send_reply,
10395 silc_server_command_whowas_from_client and
10396 silc_server_command_whowas_from_server
10398 * Added <Client ID> argument to the WHOWAS command reply. Updated
10399 the protocol specs accordingly.
10401 * Implemented WHOWAS command and command_reply to the client
10404 Implemented the WHOWAS printing on the user interface.
10406 Tue Mar 13 22:17:34 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10408 * Added new argument to the WHOWAS command reply, the real name.
10409 It is an optional argument. Updated the protocol specs.
10411 * Added SilcIDCacheDestructor callback that is registered when
10412 the SilcIDCache is allocated. The callback is called when
10413 an cache entry in the ID Cache expires, or is purged from the
10414 cache. Added into lib/silccore/idcache.[ch].
10416 Added silc_idlist_client_destructor to the silcd/idlist.[ch]
10417 to destruct the client entries when the cache entry expires.
10418 Other ID Cache's in server and in the client library ignores
10421 * If the ID Cache entry's `expire' field is zero then the entry
10422 never expires. Added boolean `expire' argument to the
10423 silc_idcache_add function in the lib/silccore/idcache.[ch].
10424 If it is TRUE the default expiry value is used.
10426 * Added silc_server_free_client_data_timeout that is registered
10427 when client disconnects. By default for 5 minutes we preserve
10428 the client entry for history - for WHOWAS command.
10430 Tue Mar 13 13:26:18 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10432 * Added support to the server to enforce that commands are not
10433 executed more than once in 2 seconds. If server receives
10434 commands from client more frequently, timeout is registered
10435 to process the commands. Affected file silcd/command.c.
10436 Added new function silc_server_command_process_timeout.
10438 * Changed NICK_NOTIFY handling in client library to check that
10439 if the client's nickname was changed, so there is no need to
10440 resolve anything from the server.
10442 * Removed error printing from the WHOIS and IDENTIFY commands.
10443 If error occurs then it is ignored silently in the client library.
10444 The application, however, may map the received error to
10445 human readable error string. The application currently maps
10446 the NO_SUCH_NICKNAME error to string.
10448 * Made the command status message public to the application. Moved
10449 them from lib/silcclient/command_reply.c to
10450 lib/silcclient/command_reply.h. The application can map the
10451 received command status to the string with the
10452 silc_client_command_status_message function.
10454 * Added check to the server to check that client's ID is same
10455 as the Source ID in the packet the client sent. They must
10458 Tue Mar 13 12:49:21 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10460 * Added dist-bzip hook to the Makefile.am to make bzip2
10461 compressed distributions.
10463 Mon Mar 12 18:43:38 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10465 * Server now enforces the maximum length for the nickname and
10466 the channel as protocol specification dictates. 128 bytes for
10467 nickname and 256 bytes for channel name.
10469 * Moved the WHOIS printing to the application. The client libary
10470 does not print out the WHOIS information anymore, the application
10471 must do it. Renamed silc_client_command_reply_whois_print to
10472 the silc_client_command_reply_whois_save.
10474 The client's idle time is also sent to the application now, and
10475 the idle is shown on screen.
10477 * Added silc_client_command_reply_identify_save to save the
10478 received IDENTIFY entries.
10480 * Do not check for channel private keys in message sending and
10481 reception if the channel does not have the PRIVKEY mode set.
10482 Affected file lib/silclient/client_channel.c.
10484 Sun Mar 11 20:25:06 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10486 * Fixed a minor bug if WHOIS and IDENTIFY command parsing that
10487 just surfaced after chaning the JOIN procedure.
10489 Sun Mar 11 14:59:05 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10491 * Added silc_client_get_clients_by_list to get client entries
10492 from Client ID list, that is returned for example by JOIN
10493 and USERS command replies. The application should use this
10494 function for example when JOIN command reply is received to
10495 resolve the clients already on the channel (library does not
10496 do that anymore as USERS command reply is not used in the JOIN
10497 procedure anymore). Affected files lib/silcclient/silcapi.h and
10498 lib/silcclient/idlist.c.
10500 * JOIN command reply and USERS command reply returns now SilcBuffer
10501 pointers instead of unsigned char pointers when returning
10502 the client list and mode list.
10504 * Added <Client ID> argument to the JOIN command reply, mainly
10505 for the server to identify for which client the command was
10506 originally sent. Updated protocol specs accordingly.
10508 * Added SilcDlist private_key pointer to the SilcChannelEntry
10509 in the client to support the channel private keys. Affected
10510 file is lib/silcclient/idlist.h.
10512 * Added SilcChannelPrivateKey argument to the function
10513 silc_client_send_channel_message so that application can choose
10514 to use specific private ke if it wants to. If it is not provided,
10515 the normal channel key is used, unless private keys are set.
10516 In this case the first (key that was added first) is used
10517 as the encryption key.
10519 * Implemented the support for channel private key handling.
10520 Implemented the following functions:
10522 silc_client_add_channel_private_key,
10523 silc_client_del_channel_private_keys,
10524 silc_client_del_channel_private_key,
10525 silc_client_list_channel_private_keys and
10526 silc_client_free_channel_private_keys
10528 Affected file lib/silcclient/client_channel.c.
10530 * Added the support for the private keys in the channel message
10531 sending and encryption and in the message reception and
10532 decryption. Affected funtions are
10533 silc_client_send_channel_message and silc_client_channel_message.
10535 Sat Mar 10 21:36:22 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10537 * Added SKE's key verify callback to the client library's
10538 KE protocol context. Affected files lib/silcclient/protocol.[ch].
10540 * Removed the statement that server (or router) must send USERS
10541 command reply when joining to the channel so that the client
10542 knows who are on the channel. Instead, the client list and
10543 client's mode list is now sent in the JOIN command reply to the
10544 client who joined channel. This is better solution.
10546 * Added function silc_server_get_users_on_channel and function
10547 silc_server_save_users_on_channel to the silcd/server.[ch].
10549 * Removed function silc_server_command_send_users from the
10552 * Do not show topic on the client library anymore. The topic is
10553 sent in the command reply notify to the application and the
10554 application must show the topic now.
10556 Sat Mar 10 00:07:37 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10558 * Added client searching by nickname hash into the IDENTIFY and
10559 WHOIS commands in the server as they were clearly missing from
10560 them. Affected file is silcd/command.c.
10562 * Fixed a bug in private message receiving in the client library.
10563 The remote ID was freed and it wasn't supposed, now it is
10566 Fri Mar 9 12:40:42 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10568 * Minor fix to the channel payload; allocate the data area, as it
10569 needs to be of specific length.
10571 * If the key agreement port is zero then the operating
10572 system will define the bound port. Affected files are
10573 lib/silcclient/silcapi.h and lib/silcclient/client_keyagr.c.
10575 * Added new function silc_channel_payload_decrypt into the file
10576 lib/silccore/silcchannel.[ch].
10578 * Moved the channel message etc, check from silc_packet_decrypt
10579 to applications. The library calls now a generic
10580 SilcPacketCheckDecrypt callback which is to return TRUE or FALSE
10581 when the packet is either normal or special. This was done to
10582 allow more wide range of checking that was not allowed when
10583 the code was in library. Now applications can do virtually any
10584 checks to the packet and return to the library the decision how
10585 the packet should be processed. Affected files are
10586 lib/silccore/silcpacket.[ch].
10588 Added silc_server_packet_decrypt_check to the server and
10589 silc_client_packet_decrypt_check to the client library.
10591 * Added silc_server_packet_send_srcdest into silcd/packet_send.[ch]
10592 to send with specified source and destination information.
10594 * Channel message delivery between routers was broken after the
10595 channel key distribution was fixed earlier. The channel key
10596 was used be to distributed to other routers as well which is not
10597 allowed by the protocol. Now this is fixed and channel keys
10598 really are cell specific and the channel message delivery between
10599 routers comply with the protocol specification.
10601 * Fixed various commands in server to check also the global list
10602 for the channel entry and not just the local list. The affected
10603 file silcd/command.c.
10605 Thu Mar 8 21:39:03 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10607 * Added assert()s to buffer formatting and unformatting routines
10608 to assert (if --enable-debug) when error occurs. Affected
10609 file: lib/silcutil/silcbuffmt.c.
10611 * Changed to auto-reconnect to check whether the remote host is
10612 router and register the re-connect timeout if it is. It used
10613 to check that whether we are normal server, but router must do
10614 auto-reconnect with another router as well. Affected file
10617 * Removed the [<key len>] option from CMODE command as the cipher
10618 name decides the key length, nowadays. See the defined ciphers
10619 from the protocol specification.
10621 * Added [<hmac>] option to the CMODE command to define the HMAC
10622 for the channel. Added SILC_CMODE_HMAC channel mode.
10624 * Added [<hmac>] option for the JOIN command so that user can
10625 select which HMAC is used to compute the MACs of the channel
10628 * Added Hmac field to the Channel Message Payload. The integrity
10629 of plaintext channel messages are now protected by computing
10630 MAC of the message and attaching the MAC to the payload. The
10631 MAC is encrypted. Now, it is clear that this causes some
10632 overhead to the size of the packet but rationale for this is that
10633 now the receiver can verify whether the channel message decrypted
10634 correctly and also when private keys are set for the channel the
10635 receiver can decrypt the packet with several keys and check from
10636 the MAC which key decrypted the message correctly.
10638 * Added silc_cipher_encrypt and silc_cipher_decrypt into the
10639 lib/silccrypt/silccipher.[ch].
10641 * Added silc_hash_len to return the digest length into the
10642 lib/silcrypt/silchash.[ch].
10644 * Rewrote parts of Silc Channel Payload interface in the
10645 lib/silccore/silcchannel.[ch]. The encode function now also
10646 encrypts the packet and parse function decrypts it.
10648 Wed Mar 7 20:58:50 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10650 * Fixed a minor formatting bug in the SKE's key material processing.
10651 It actually might have processed the keys wrong way resulting
10654 * Redefined the mandatory HMAC algorithms and added new algorithms.
10655 Added hmac-sha1-96 and hmac-md5-96 which are normal hmac-sha1
10656 and hmac-md5 truncated to 96 bits. The mandatory is now
10657 hmac-sha1-96. Rest are optional (including the one that used
10658 to be mandatory). Rationale for this is that the truncated HMAC
10659 length is sufficient from security point of view and can actually
10660 make the attack against the HMAC harder. Also, the truncated
10661 HMAC causes less overhead to the packets. See the RFC2104 for
10664 * Added new [hmac] configuration section. The SKE used to use
10665 the hash names (md5 and sha1) in the SKE proposal as HMCAS which
10666 is of course wrong. The official names that must be proposed in
10667 the SKE are the ones defined in the protocol specification
10668 (hmac-sha1-96 for example). The user can configure any hmac
10669 using any hash function configured in the [hash] section. At
10670 least, the mandatory must be configured.
10672 Rewrote the HMAC interface in lib/silccrypt/silchmac.[ch].
10674 * Added HMAC list to the SKE proposal list. It has now both
10675 hash algorithm list and HMAC list. This makes the protocol
10676 incompatible with previous versions. The SKE now seems to work
10677 the way it is supposed to work, for the first time actually.
10679 * Defined plain Hash algorithms to the protocol specification.
10680 Added sha1 and md5.
10682 Tue Mar 6 15:36:11 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10684 * Implemented support for key agreement packets into the server.
10685 Added functions silc_server_key_agreement and
10686 silc_server_send_key_agreement. Other than these functions,
10687 server has nothing to do with this packet.
10689 * Added support for private message key packets into the server.
10690 Added functions silc_server_private_message_key and
10691 silc_server_send_private_message_key.
10695 * Changed the silc_[client|server]_protocol_ke_set_keys to be
10696 called in the protocol's final callback instead in the END
10697 protocol state. This makes a little more sense and in the same
10698 time in client we can use the same protocol routines for normal
10699 key exchange and to key agreement packet handling as well.
10701 * Added to both client's and server's KE protocol context the
10702 SilcSKEKeyMaterial pointer to save the key material. We will
10703 bring the key material to the protocol's final callback by doing
10704 this. The final callback must free the key material.
10706 * Added SKE's packet_send callback into client's KE protocol
10707 context so that the caller can choose what packet sending function
10708 is used. This way we can use different packet sending when
10709 doing normal SKE when doing key agreement packet handling (in
10710 the key agreement packet handling we do not want to encrypt
10713 * Implemented the responder side of the key agreement routines
10714 in the client. The client can now bind to specified port and
10715 accept incoming key negotiation. The key material is passed
10716 to the application after the protocol is over.
10718 * Implemented the processing of incoming Key Agreement packet
10719 in the client. Added function silc_client_key_agreement to
10720 process the packet.
10722 * Implemented the intiator side of the key agreement routines
10723 in the client. The client can now initiate key agreement with
10724 another remote client. The key material is passed to the
10725 application after the protocol is over.
10727 * Created client_keyagr.c to include all the key agreement
10730 * Added macro SILC_TASK_CALLBACK_GLOBAL which is equal to the
10731 SILC_TASK_CALLBACK except that it is not static.
10733 * Created client_notify.c and moved the Notify packet handling
10734 from the client.[ch] into that file.
10736 * Created client_prvmsg.c and moved all private message and
10737 private message key routines from the client.[ch] into that file.
10739 * Create client_channel.c and moved all channel message and
10740 channel private key routines from the client.[ch] into that file.
10742 * Changed silc_client_get_client_by_id_resolve to resolve with
10743 WHOIS command instead of IDENTIFY command, in the file
10744 lib/silclient/idlist.c.
10746 Mon Mar 5 18:39:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10748 * Implemented the SKE's responder side to the Client library.
10750 * When FAILURE is received to the protocol do not trust it
10751 blindly. Register a timeout to wait whether the remote closes
10752 the connection as it should do it, only after that process the
10753 actual failure. This was changed to both client and server.
10755 * Added client_internal.h to include some of the structures
10756 there instead of client.h in lib/silcclient/.
10758 * Added function silc_task_unregister_by_callback to unregister
10759 timeouts by the callback function.
10761 Sat Mar 3 19:15:43 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10763 * Some "Incomplete WHOIS info" errors has been appearing on the
10764 log files. Took away the entry->userinfo check from WHOIS
10765 reply sending. The entry->userinfo is now " " if client did not
10766 provide one. I thought this was fixed earlier but something
10767 is wrong still. Let's see if the error still appears.
10769 Wed Feb 28 20:56:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10771 * Fixed a minor bug in the login when the channel key is
10772 re-generated in the server. It used to generate the key in
10773 wrong order and thus caused problems in the channel traffic.
10775 * Fixed a minor bug in channel key distsribution after
10776 KICK command. The key was not sent to the router even though
10779 Tue Feb 27 20:24:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10781 * Added silc_ske_process_key_material_data as generic routine
10782 to process any key material as the SILC protocol dictates. The
10783 function is used by the actual SKE library but can be used by
10784 applications as well. This relates to the private message keys
10785 and the channel private keys since they must be processed the
10786 same way the normal SILC session keys. The protocol dictates
10787 this. Affected files: lib/silcske/silcske.[ch].
10789 Added also silc_ske_free_key_material to free the
10790 SilcSKEKeyMaterial structure.
10792 * Defined silc_cipher_set_key function to set the key for
10793 cipher without using the object's method function. The affected
10794 files: lib/silccrypt/silccipher.[ch].
10796 * Implemented silc silc_client_add_private_message_key,
10797 silc_client_add_private_message_key_ske,
10798 silc_client_del_private_message_key,
10799 silc_client_list_private_message_keys and
10800 silc_client_free_private_message_keys functions in the
10803 Added functions silc_client_send_private_message_key to send
10804 the Private Message Key payload and silc_client_private_message_key
10805 to handle incoming Private Message Key payload.
10807 * Added Cipher field to the Private Message Key payload to set
10808 the cipher to be used. If ignored, the default cipher defined
10809 in the SILC protocol (aes-256-cbc) is used.
10811 Tue Feb 27 13:30:52 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10813 * Removed lib/silcclient/ops.h file.
10815 Redefined parts of the SILC Client Library API. Created new
10816 file silcapi.h that deprecates the ops.h file and defines the
10817 published Client Library API. Defined also private message key
10818 API and channel private key API into the file.
10820 This is the file that the application must include from the
10821 SILC Client Library. Other files need not be included by
10822 the application anymore.
10824 * Added new key_agreement client operation callback and also
10825 defined the Key Agreement library API for the application.
10827 Tue Feb 27 11:28:31 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10829 * Added new packet type: SILC_PACKET_KEY_AGREEMENT. This packet
10830 is used by clients to request key negotiation between another
10831 client in the SILC network. If the negotiation is started it
10832 is performed using the SKE protocol. The result of the
10833 negotiation, the secret key material, can be used for example
10834 as private message key.
10836 Implemented the Key Agreement payload into the files
10837 lib/silccore/silauth.[ch].
10839 Mon Feb 26 12:13:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10841 * Redefined ciphers for the SILC protocol. Added some new ciphers
10842 and defined the key lengths for the algorithms. Changed the
10843 code accordingly. The default key length is now 256 bits.
10845 * Fixed SKE key distribution function silc_ske_process_key_material
10846 when the key length is more than 128 bits. The default key
10847 length in SILC is now 256 bits.
10849 * Added new command status type: SILC_STATUS_ERR_UNKOWN_ALGORITHM
10850 to indicate unsupported algorithm.
10852 * Renamed rijndael.c to aes.c and all functions as well.
10854 * Fixed a long standing channel key setting bug in client library.
10855 Weird that it has never surfaced before.
10857 * Fixed bug in channel deletion. If the entire channel is removed
10858 then it must also delete the references of the channel entry
10859 from the client's channel list as the client's channel entry and
10860 the channel's client entry share same memory.
10862 Sun Feb 25 20:47:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10864 * Implemented CONNECT and SHUTDOWN commands in the client.
10866 * Implemented CLOSE command to the client.
10868 * Added the function silc_idlist_find_server_by_name into the
10869 files silcd/idlist.[ch].
10871 Added the function silc_idlist_find_server_by_conn into the
10872 files silcd/idlist.[ch].
10874 Sat Feb 24 23:45:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10876 * DIE command was renamed to SHUTDOWN. Updated the both code
10877 and protocol specs.
10879 * Defined SILC_UMODE_NONE, SILC_UMODE_SERVER_OPERATOR and
10880 SILC_UMODE_ROUTER_OPERATOR modes into lib/silccore/silcmode.h.
10882 * Implemented CONNECT, CLOSE and SHUTDOWN commands to the server
10885 * Added function silc_server_create_connection function to create
10886 connection to remote router. My server implementation actually
10887 does not allow router to connect to normal server (it expects
10888 that normal server always initiates the connection to the router)
10889 so the CONNECT command is only good for connecting to another
10892 Sat Feb 24 16:03:45 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10894 * Added SILC_NOTIFY_TYPE_KICKED to indicate that the client
10895 or some other client was kicked from the channel.
10897 Implemented the handling of the notify type to both client
10900 Implemented silc_server_send_notify_kicked to send the KICKED
10901 notify. It is used to send it to the server's primary router.
10903 * Implemented the KICK command into server and client.
10905 * Added `query' argument to the silc_idlist_get_client function
10906 to indicate whether to query the client from server or not if
10909 * Added new command status type SILC_STATUS_ERR_NO_CHANNEL_FOPRIV
10910 to indicate that the client is not channel founder.
10914 Sat Feb 24 00:00:55 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10916 * Removed the rng context from SilcPacketContext structure and
10917 changed that the packet routine uses the Global RNG API.
10919 Fri Feb 23 11:22:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10921 * Added support for quit message that client can "leave" on the
10922 channel when it quits the SILC. It is ditributed inside the
10923 SILC_NOTIFY_TYPE_SIGNOFF notify type.
10925 Added silc_server_free_client_data that will take the
10926 signoff message as argument.
10928 * Changed SKE routines to use the silc_pkcs_sign/verify routines.
10930 Thu Feb 22 23:05:36 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10932 * Updated parts of the protocol specification to keep it up
10935 Thu Feb 22 15:08:20 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10937 * Added List flag (SILC_PACKET_FLAG_LIST) to indicate list of
10938 payloads in one packet.
10940 * Deprecated following packet types: NEW_ID_LIST, NEW_CHANNEL_LIST,
10941 NEW_CHANNEL_USER_LIST, SET_MODE and SET_MODE_LIST. List packets
10942 use now the new List flag.
10944 * Also deprecated the following packet types: REPLACE_ID,
10945 NEW_CHANNEL_USER and REMOVE_CHANNEL_USER packet types.
10947 * Added list support for Notify packet in server.
10949 * Added silc_server_send_notify_channel_change to send the
10950 CHANNEL_CHANGE notify type to replace channel ID's. Deprecates
10951 the silc_server_send_replace_id.
10953 * Added silc_server_send_notify_nick_change to send the
10954 NICK_CHANGE notify type. Deprecates the function
10955 silc_server_send_replace_id.
10957 * Added silc_server_send_notify_join to send the JOIN notify type.
10958 Deprecates the function silc_server_send_new_channel_user.
10960 * Added silc_server_send_notify_leave to send LEAVE notify type.
10961 Deprecates the function silc_server_send_remove_channel_user.
10963 * Added silc_server_send_notify_cmode and
10964 silc_server_send_notify_cumode to send CMODE and CUMODE notify
10965 types. Deprecates the silc_server_send_set_mode function.
10967 * Added SERVER_SIGNOFF notify type to indicate that server has
10968 quit. This means that all clients on the channel from that
10969 server will drop. This can be also used when netsplit happens.
10971 Deprecated REMOVE_ID packet type since it is not needed anymore
10974 Added silc_server_send_notify_server_signoff to send the
10975 SERVER_SIGNOFF notify type. Deprecates the function
10976 silc_server_send_remove_id.
10978 Added also silc_server_send_notify_signoff to send the
10979 SIGNOFF notify type.
10981 * Employed the PKCS #1. It is the mandatory way to do RSA in the
10982 SILC protocol from this day on. Changed the protocol
10983 specification as well.
10985 * Added silc_server_send_notify_topic_set to send TOPIC_SET
10986 notify type. It is used between routers to notify about
10987 topic changes on a channel.
10989 * Added silc_id_dup into lib/silccore/id.[ch] to duplicate
10992 * Partly updated the protocol specification to comply with the
10993 changes now made. It is still though a bit outdated.
10995 * The JOIN notify type now takes one extra argument <Channel ID>.
10996 The packet used to be destined to the channel but now the
10997 JOIN type may be sent as list thus it is impossible to
10998 destine it to any specific channel. By adding this argument
10999 it is again possible.
11001 Wed Feb 21 22:39:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11003 * Added CREDITS file. The CHANGES and CREDITS file will appear
11004 in the distribution as well.
11006 Wed Feb 21 14:17:04 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11008 * Implemented CMODE_CHANGE, CUMODE_CHANGE and TOPIC_SET notify
11009 types in the server's silcd/packet_receive.c.
11011 * Implemented CMODE and CUMODE to work in router environment.
11013 * Fixed minor encoding and decoding buglet from the
11014 lib/silccore/silcmode.c.
11016 * Fixed buffer overflow from lib/silcclient/command.c in USERS
11019 Wed Feb 21 12:44:00 EET 2001 Mika Boström <bostik@lut.fi>
11021 * Changed all SilcConfigServer* and silc_config_server* to
11022 SilcServerConfig* and silc_server_config*, respectively.
11025 Wed Feb 21 00:10:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11027 * Associated the ID (client or server ID) to the Authentication
11028 Payload to avoid any possibility of forging. Updated the
11029 protocol specification and the code accordingly.
11031 Tue Feb 20 14:14:14 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11033 * The RSA key length is now save to the RsaKey context in the
11034 key generation process in lib/silccrypt/rsa.c. The key length
11035 is now used to figure out the maximum size of the block allowed
11036 to be encrypted/signed.
11038 * Added silc_mp_mp2bin_noalloc into lib/silcmath/mpbin.[ch]. It
11039 is equivalent to the silc_mp_mp2bin but does not allocate any
11042 * Changed silc_mp_mp2bin API to take length argument. If it is
11043 non-zero then the buffer is allocated that large. If zero, then
11044 the size is approximated using silc_mp_sizeinbase, which however
11047 * Created Global RNG API which is global RNG that application can
11048 initialize. After initializing, any routine anywhere in the
11049 code (including library) can use RNG without allocating a new
11050 RNG object. This was done to allow this sort of use of the
11051 RNG in code that has no chance to allocate RNG object. All
11052 applications currently allocate this and many routines in the
11053 library use this. Affected file lib/silccrypt/silcrng.[ch].
11055 * Removed the RNG kludge from lib/silcmath/primegen.c and changed
11056 it to use the Global RNG API.
11058 * Defined Authentication Payload into protocol specification that
11059 is used during SILC session to authenticate entities. It is
11060 used for example by client to authenticate itself to the server
11061 to obtain server operator privileges.
11063 Implemented this payload into the lib/silccore/silcauth.[ch].
11064 Implemented also routines for public key based authentication
11065 as the new protocol specification dictates.
11067 Moved definitions of different authentication methods from
11068 lib/silccore/silcprotocol.h into lib/silccore/silcauth.h.
11070 * Added silc_pkcs_encrypt, silc_pkcs_decrypt, silc_pkcs_sign,
11071 silc_pkcs_verify and silc_pkcs_sign_with_hash and
11072 silc_pkcs_verify_with_hash functions into the file
11073 lib/silccrypt/silcpkcs.[ch].
11075 Mon Feb 19 19:59:28 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11077 * The client entry's userinfo pointer must be always valid.
11078 Otherwise the [<unknown>] bug will surface beacuse the WHOIS
11079 will fail since it requires the userinfo. Now, the userinfo
11080 is allocated as "" if actual userinfo does not exist. Actually,
11081 it must exist and it is totally Ok to drop client connections
11082 that does not announce the userinfo. However, we will make
11083 this workaround for now.
11085 * Added silc_net_get_remote_port into lib/silcutil/silcnet.[ch]
11086 to return the remote port by socket.
11088 Mon Feb 19 14:26:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11090 * Changed SILC_SERVER_COMMAND_EXEC_PENDING macro to the name
11091 SILC_SERVER_PENDING_EXEC and added an new macro
11092 SILC_SERVER_PENDING_DESTRUCTOR which is called to free the
11093 data or when error occurs while processing the pending command.
11095 Added new argument `destructor' into silc_server_command_pending
11096 and to the SilcServerCommandPending object. This destructor is
11097 now called after calling the pending callback or if error occurs
11098 immediately. If error occurs the actual pending callback won't
11099 be called at all - only the destructor. The destructor may be
11100 NULL if destructor is not needed.
11102 All this applies for client library code as well. Similar
11103 changes were made there as well for the pending commands.
11105 In the client, the application must now allocate the
11106 SilcClientCommandContext with the silc_client_command_alloc
11109 * Added reference counter to the SilcServerCommandContext. Added
11110 function silc_server_command_alloc and silc_server_command_dup
11113 Same type of functions added to the client library for the same
11116 * Removed the cmd_ident from IDListData away since it is now
11117 global for all connections. It is the command identifier used
11118 in command sending and with pending commands. The affected file
11121 * Added reference counter to the SilcSocketConnection objecet to
11122 indicate the usage count of the object. The object won't be
11123 freed untill the reference counter hits zero. Currently only
11124 server uses this, and client ignores it. The client must be
11125 set to use this too later. The affected files are
11126 lib/silccore/silcsockconn.[ch]. Added also the function
11127 silc_socket_dup to increase the reference counter.
11129 This was mainly added because it is possible that the socket
11130 is removed underneath of pending command or other async
11131 operation. Now it won't be free'd and proper DISCONNECTING
11132 flags, etc. can be set to avoid sending data to connection that
11133 is not valid anymore.
11135 * Added SILC_SET_DISCONNECTING to server.c when EOF is read from
11136 the connection. After that it sets SILC_SET_DISCONNECTED.
11137 It is, however, possible that the socket data is not still freed.
11138 The silc_server_packet_process now checks that data is not
11139 read or written to connection that is DISCONNECTED. The socket
11140 get's freed when the reference counter hits zero.
11142 Mon Feb 19 00:50:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11144 * Changed the client operation API: channel_message operation's
11145 `sender' is now the client entry of the sender, not the nickname
11146 and the `channel' is the channel entry, not the channel name.
11148 In the private_message operation the `sender' is now also the
11149 client entry of the sender not the nickname.
11151 Affected file is lib/silcclient/ops.h and all applications
11152 using the client operations.
11154 Sat Feb 17 22:11:50 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11156 * Moved the calling of ops->connect() from connect_to_server_final
11157 into receive_new_id functin since that is the point when the
11158 client is actually allowed to send traffic to network. The
11159 affected file is lib/silcclient/client.c.
11161 Sat Feb 17 13:15:35 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11163 * When receiving NEW_CHANNEL_LIST, NEW_CHANNEL_USER_LIST,
11164 NEW_ID_LIST and SET_MODE_LIST packets, broadcast the list packet
11165 (if needs broadcasting) instead of broadcasting the packets one
11166 by one which would make a burst in the network traffic.
11168 * Added `broadcast' argument to the functions in silcd/server.[ch]
11169 silc_server_create_new_channel[_with_id] to indicate whether
11170 to send New Channel packet to primary router.
11172 Sat Feb 17 01:06:44 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11174 * Added new function into the silcd/server.[ch] files:
11175 silc_server_create_new_channel_with_id to create new channel with
11176 already existing Channel ID.
11178 * Added new packet type SILC_PACKET_SET_MODE_LIST into the file
11179 lib/silccore/silcpacket.h. This packet is used t send list of
11180 Set Mode payloads inside one packet. Server uses this to set
11181 the modes for the channels and clients on those channels, that it
11182 announced to the router when it connected to it. The protocol
11183 specification has been updated accordingly.
11185 * The silc_server_new_channel did not handle the packet coming
11186 from normal server as it normally does not send that. However,
11187 when it announces its channels it does send it. Implemented
11188 the support for that.
11190 * Added SILC_ID_CHANNEL_COMPARE macro to compare to Channel ID's
11191 into the file lib/silccore/id.h.
11193 Fri Feb 16 23:57:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11195 * Fixed memory leaks in the functions silc_idlist_del_client,
11196 silc_idlist_del_channel and silc_idlist_del_server in the file
11197 silcd/idlist.c. All of those leaked like a sieve.
11199 * Fixed some small memory leaks in the client's function
11200 silc_client_notify_by_server.
11202 * Added functions into silcd/server.c: silc_server_announce_clients,
11203 silc_server_announce_channels and silc_server_announce_server.
11204 These functions are used by normal and router server to announce
11205 to its primary router about clients, channels and servers (when
11206 router) that we own. This is done after we've connected to the
11209 These functions effectively implements the following packet types:
11210 SILC_PACKET_NEW_CHANNEL_LIST, SILC_PACKET_NEW_CHANNEL_USER_LIST
11211 and SILC_PACKET_NEW_ID_LIST.
11213 * Added new functions into the silcd/packet_receive.[ch]:
11214 silc_server_new_id_list, silc_server_new_channel_list and
11215 silc_server_new_channel_user_list to handle the incoming
11216 NEW_ID_LIST, NEW_CHANNEL_LIST and NEW_CHANNEL_USER_LIST packets.
11218 * Added support of changing Channel ID in the function
11219 silc_server_replace_id. If the server that announces a channel
11220 to the router already exists in the router (with same name but
11221 with different Channel ID), router is responsible to send
11222 Replace ID packet to the server and force the server to change
11223 the Channel ID to the one router has.
11225 * Added new notify type SILC_NOTIFY_TYPE_CHANNEL_CHANGE to notify
11226 client that the Channel ID has been changed by the router. The
11227 normal server sends this to the client. Client must start using
11228 the new Channel ID as the channel's ID.
11230 Implemented handling of this new type into lib/silcclient/client.c
11231 into the function silc_client_notify_by_server.
11233 * Added new function silc_idlist_replace_channel_id into the files
11234 silcd/idlist.[ch] to replace the Channel ID.
11236 Fri Feb 16 14:14:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11238 * Call silc_server_command_identify_check always when processing
11239 the IDENTIFY command in silcd/command.c
11241 Thu Feb 15 20:07:37 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11243 * Added new packet type SILC_PACKET_HEARTBEAT that is used to
11244 send keepalive packets. The packet can be sent by clients,
11245 servers and routers.
11247 Added function silc_socket_set_heartbeat into the file
11248 lib/silccore/silcsockconn.[ch] to set the heartbeat timeout.
11249 If not set, the heartbeat is not performed. The actual
11250 heartbeat is implemented in the low level socket connection
11251 library. However, application is responsible of actually
11252 sending the packet.
11254 Added silc_server_send_heartbeat to send the actual heartbeat
11255 packet into silcd/packet_send.[ch]. Server now performs
11256 keepalive with all connections.
11258 * Added silc_task_get_first function into lib/silcutil/silctask.c
11259 to return the timeout task with shortest timeout. There was a bug
11260 in task unregistration that caused problems. TODO has been
11261 updated to include that task system must be rewritten.
11263 * The client library will now resolve the client information when
11264 receiving JOIN notify from server for client that we know but
11265 have incomplete information.
11267 * Rewrote parts of silc_server_remove_from_channels and
11268 silc_server_remove_from_one_channel as they did not remove the
11269 channel in some circumstances even though they should've.
11271 * Encryption problem encountered in server:
11273 The LEAVE command used to send the Channel Key packet to the
11274 router immediately after generating it. However, the code
11275 had earlier sent Remove Channel user packet but not immediately,
11276 ie. it was put to queue. The order of packets in the router
11277 was that Channel Key packet was first and Remove Channel User
11278 packet was second, even though they were encrypted in the
11279 reverse order. For this reason, MAC check failed. Now, this
11280 is fixed by not sending the Channel Key packet immediately but
11281 putting it to queue. However, this is more fundamental problem:
11282 packets that are in queue should actually not be encrypted
11283 because packets that are sent immediately gets encrypted
11284 actually with wrong IV (and thus MAC check fails). So, packets
11285 that are in queue should be encrypted when they are sent to
11286 the wire and not when they put to the queue.
11288 However, the problem is that the current system has not been
11289 designed to work that way. Instead, the packet is encrypted
11290 as soon as possible and left to the queue. The queue is then
11291 just purged into wire. There won't be any fixes for this
11292 any time soon. So, the current semantic for packet sending
11295 o If you send packet to remote host and do not force the send
11296 (the packet will be in queue) then all subsequent packets to the
11297 same remote host must also be put to the queue. Only after the
11298 queue has been purged is it safe again to force the packet
11301 o If you send all packets immediately then it safe to send
11302 any of subsequent packets through the queue, however, after
11303 the first packet is put to queue then any subsequent packets
11304 must also be put to the queue.
11306 Follow these rules and everything works fine.
11308 Thu Feb 15 14:24:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11310 * Added new function silc_server_remove_clients_by_server to
11311 remove all client entries from ID list when the server connection
11312 is lost. In this case it is also important to invalidate all
11313 client entires as they hold the invalid server entry. This
11314 fixes fatal bug when server has lost connection and will reconnect
11317 Wed Feb 14 16:03:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11319 * Made some sanity checks to silc_server_daemonise like to check
11320 whether the requested user and group actually exists.
11322 * Added sanity check to SKE's silc_ske_responder_finish to check
11323 that the public and private key actually is valid.
11325 * Invalidate the client's nickname when receiving Replace ID
11326 packet and the Client ID is being replaced. This means that the
11327 server will query the nickname if someone needs it (client)
11330 * Sort the ID Cache in client library when the ID Cache data
11331 has changed (needs sorting).
11333 * Do not allow for SILC client to create several connections to
11334 several servers. The client does not support windows right now
11335 and generating multiple connections causes weird behaviour.
11337 Irssi-silc client does support windows and can handle several
11338 connections without problems, see: www.irssi.org and SILC plugin.
11340 * Fixed some places where client was added to the IDList. The
11341 rule of thumb is following (in order to get everything right):
11342 If the client is directly connected local client then the
11343 `connection' argument must be set and `router' argument must be
11344 NULL to silc_idlist_add_client function. If the client is not
11345 directly connected client then the `router' argument must
11346 bet set and the `connection' argument must be NULL to the
11347 silc_idlist_add_client function.
11349 * The funtion silc_server_packet_send_local_channel actually did
11350 not check whether the client was locally connected or not. It
11351 does that now. Fixed a bug related to LEAVE command.
11353 * Fixed Remove Channel User payload parsing bug in server's
11354 silcd/packet_receive.c. Fixed a bug related to LEAVE command.
11356 * The server's silc_server_save_channel_key now checks also the
11357 global ID list for the channel as it might not be in the local
11358 list. Fixed a bug related to LEAVE command.
11360 * Is this the end of the [<unknown>] buglet that has been lurking
11361 around for a long time? A little for loop fix in server's
11362 silc_server_command_whois_parse that is used by both IDENTIFY
11363 and WHOIS command. At least, this was a clear bug and a cause
11364 of one type of [<unknown>] buglet.
11366 * WHOIS and IDENTIFY commands call the function
11367 silc_server_command_[whois/identify]_check function even if
11368 we are not router server.
11370 Tue Feb 13 19:55:59 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11372 * Added --with-gmp configuration option. If set the GMP
11373 is always compiled in the SILC source tree. If not set then
11374 it is checked whether the system has the GMP3 installed. If
11375 it has then the GMP won't be compiled (the system's headers
11376 and library is used), if it doesn't have it then the GMP is
11377 compiled in the SILC source tree.
11379 Mon Feb 12 11:20:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11381 * Changed RSA private exponent generation to what PKCS #1
11382 suggests. We try to find the smallest possible d by doing
11383 modinv(e, lcm(phi)) instead of modinv(e, phi). Note: this is
11384 not security fix but optimization.
11386 Sun Feb 11 18:19:51 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11388 * Added new config entry [Identity] to fork the server and run
11389 it as specific user and group. A patch from Bostik.
11391 * Imported Dotconf configuration library into lib/dotconf.
11392 This will be used to create the SILC configuration files later.
11393 It will appear in the distsribution after this commit.
11395 Sat Feb 10 21:13:45 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11397 * A big code auditing weekend happening. Auditing code for
11398 obvious mistakes, bugs and errors. Also, removing any code
11401 Removed files for being obsolete:
11403 o lib/silcutil/silcbuffer.c (the buffer interface is entirely in
11404 inline in the file lib/silcutil/silcbuffer.h)
11406 o lib/silcutil/silcbufutil.c (the header has inline versions)
11408 Changed code to fix possible error conditions:
11410 o The buffer formatting routines now check that the destination
11411 buffer really has enough space to add the data. This applies for
11412 both buffer formatting and unformatting
11413 (lib/silcutil/silcbuffmt.[ch]). Also, the entire buffer
11414 unformatting was changed to accomodate following rules:
11415 XXX_*STRING_ALLOC will allocate space for the data into the pointer
11416 sent to the function while XXX_*STRING will not allocate or copy
11417 the data into the buffer. Instead it sets the pointer from the
11418 buffer into the pointer sent as argument (XXX_*STRING used to
11419 require that the pointer must be allocated already). This change
11420 makes this whole thing a bit more consistent and more optimized
11421 (note that the data returned in the unformatting with XXX_*STRING
11422 must not be freed now). The routines return now -1 on error.
11424 o Tried to find all code that use buffer_format and buffer_unformat
11425 and added return value checking to prevent formatting and
11426 especially unformatting errors and possible subsequent fatal
11429 o Changed ske->x and ske->KEY to mallocated pointers in
11430 lib/silcske/silcske.h. Fixed possible data and memory leak.
11432 o Added return value checking to all *_parse* functions. Fixed
11433 many memory leaks as well.
11435 o Added length argument to silc_id_str2id in lib/silccore/id.[ch]
11436 so that buffer overflows would not happen. All code now also
11437 checks the return value as it can fail.
11439 Mon Feb 5 20:08:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11441 * Added reconnection support to server if the normal server looses
11442 its connection to the router (for example if router is rebooted).
11443 The server performs normal reconnection strategy implemented
11444 to the server. Affected file silcd/server.c.
11446 Sun Feb 4 13:18:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11448 * Added new packet type SILC_PACKET_SET_MODE that is used to
11449 distribute the information about changed modes (for clients,
11450 channels and clients channel modes) to all routers in the
11451 network. Updated the protocol specification accordingly.
11453 Added functions into silcd/packet_send.c and
11454 silcd/packet_receive.c: silc_server_send_set_mode,
11455 silc_server_set_mode.
11457 Added new files silcmode.[ch] into lib/silccore that implements
11458 the encoding and decoding of Set Mode Payload. Added new type
11459 SilcSetModePayload. Moved the definitions of different modes
11460 from lib/silccore/silcchannel.h into lib/silccore/silcmode.h.
11462 Sat Feb 3 15:44:54 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11464 * Oops, a little mistake in server's connection authentication
11465 protocol. The protocol is not ended with FAILURE but with
11466 SUCCESS if the authentication is Ok. :) Affected file is
11469 * Implemented NICK_CHANGE notify handling in server in the file
11470 silcd/packet_receive.c The NICK_CHANGE notify is distributed to
11471 the local clients on the channel. After the changing nickname
11472 in router environment snhould work and the [<unknown>] nickname
11473 should appear no more.
11475 The silc_server_replace_id function that receives the Replace ID
11476 payload now sends the NICK_CHANGE notify type also in the file
11477 silcd/packet_receive.c
11479 * Changed WHOIS and IDENTIFY command to support the maximum amount
11480 of arguments defined in protocol specs (3328 arguments). This
11481 fixed a bug that caused problems when there were more than three
11482 users on a channel.
11484 Fri Feb 2 11:42:56 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11486 * Added extra parameter, command identifier, to the
11487 silc_client_send_command so that explicit command identifier
11490 Changed that ID list routines uses specific command identifier
11491 when sending WHOIS/IDENTIFY requests to the server so that they
11492 can be identified when the reply comes back.
11494 Affected files lib/silcclient/command.[ch],
11495 lib/silcclient/client.c and lib/silcclient/idlist.[ch].
11497 * Added `sender' argument to silc_server_packet_send_to_channel
11498 to indicaet the sender who originally sent the packet to us
11499 that we are now re-sending. Ignored if NULL. Affected file
11500 silcd/packet_send.[ch].
11502 * Added some server statistics support in silcd/server_internal.h
11503 SilcServerStatistics structure and around the server code. Also
11504 send some nice statistics information when client is connecting
11507 Thu Feb 1 23:31:21 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11509 * Fixed channel ID decoding in server's JOIN command reply in
11510 silcd/command_reply.c
11512 * Fixed braodcasting of replace ID payload to not to send it if
11513 we are standalone server in silcd/packet_receive.c.
11515 * Fixed all channel message sending routines to not to send
11516 packets to clients that has router set, since they are routed
11517 separately in the same function earlier. Affects file
11518 silcd/packet_send.c and all channel packet sending functions.
11520 * In USERS reply, res_argv[i] are not allocated, the table
11521 is allocated. Thus changed that free the table, not its
11524 * In server's whois_check and identify_check if the client is
11525 locally connected do not send any WHOIS commands - they are not
11528 Thu Feb 1 21:32:27 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11530 * Fixed some minor bugs in client when sending WHOIS command. The
11531 arguments was in wrong order.
11533 * Removed statis function add_to_channel from server in
11534 silcd/command.c that was previously used with the joining but
11537 * Tested USERS command in router environment successfully with two
11538 routers, two servers and two clients.
11540 Thu Feb 1 00:54:26 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11542 * Reorganized the USERS command and command reply in client library
11543 in lib/silcclient/command.c and lib/silcclient/command_reply.c.
11544 When the command is given by user we register a pending command
11545 callback that will reprocess the command after the reply has been
11546 received from the server. When reprocessing the packet we then
11547 display the information. Thus, the USERS information is displayed
11548 now in the command callback instead of in the command reply
11549 callback. The processing of the command is same as previously
11550 when server has sent the command reply in the JOINing process.
11552 * Added to USERS command in silcd/command_reply.c to join the client,
11553 we didn't use to know about, to the channel after we've created
11554 a client entry for it. Also, for clienet we did know already still
11555 check whether it is on the channel or not and add it if not.
11557 * Removed silc_server_command_join_notify as the function and its
11560 Tue Jan 30 22:39:15 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11562 * Changed the client's pending command handling to the same as the
11563 server's pending command handling. It is also now possible to
11564 execute command reply functions from other command reply
11565 function as the function callbacks for commands and command
11566 replies are one and same. The pending commands are not static
11567 list anymore, it is mallocated SilcDList in lib/silcclient/client.h
11568 in client connection context. Thus, pending commands are server
11569 connection specific as it is convenient.
11571 Changed the function silc_client_command_pending and
11572 silc_client_command_pending_del and added new function
11573 silc_client_command_pending_check. Removed the
11574 SILC_CLIENT_CMD_REPLY_EXEC, and SILC_CLIENT_PENDING_COMMAND_CHECK
11577 * Added cmd_ident, current command identifier, to the client
11578 connection context in lib/silcclient/client.h to keep track on
11579 command identifiers used in command sending. Client's command reply
11580 function handling now supports the mandatory command identifiers.
11582 * Added SILC_CLIENT_COMMAND_EXEC_PENDING macros to all command reply
11583 funtions in client to fully support pending command callbacks.
11585 * NOTE: the name_list in USERS (old NAMES) command is NOT sent anymore
11586 as one of the arguments to the application in the command reply
11589 * NOTE: The FORWARDED flag is depracated. It used to be depracated
11590 before first releasing SILC but came back. Now it is removed again
11591 and should come back nomore. The FORWARDED flag was used only
11592 by the JOINing procedure by forwarding the command packet to router.
11593 Now, the JOINing procedure has been changed to more generic (due
11594 to various router environment issues) and FORWARDED is not needed
11595 anymore for anything. The protocol specification is yet to be
11598 Now, removed silc_server_packet_forward from server and the flag
11599 SILC_PACKET_FORWARDED from lib/silccore/silcpacket.h.
11601 Tue Jan 30 00:05:05 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11603 * Renamed NAMES command to USERS command. The NAMES was named that
11604 due to historical reasons. Now it is renamed. Also, rewrote
11605 parts of the USERS command. The nickname list is not sent anymore
11606 by the server. Only Client ID and mode lists are sent in the USERS
11607 command. Changed this also to the protocol specification.
11609 The client now resolves the names and stuff after it receives
11610 the USERS list from the server when joining to the channel.
11612 * WHOIS and IDENTIFY commands has been changed to support multiple
11613 Client ID's per command. One can now search for multiple users
11614 in the network by sending only one WHOIS or IDENTIFY command.
11615 Changed the code and the protocol specifications.
11617 * Removed silc_server_command_identify_parse and changed that IDENTIFY
11618 uses silc_server_command_whois_parse to parse the request. */
11620 * If normal server, do not parse the WHOIS and IDENTIFY requests
11621 before sending it to the router. Saves some time.
11623 Sun Jan 28 16:19:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11625 * Fixed JOIN command on client library. Wrong number of arguments
11626 used to crash the client.
11628 * Added silc_server_channel_has_global function to check whether
11629 channel has global users or not.
11631 * Added silc_server_channel_has_local function to check whether channel
11632 has locally connected clients on the channel.
11634 * The silc_server_remove_from_one_channel now checks whether the
11635 channel has global users or not after given client was removed from
11636 the channel. It also checks whether the channel has local clients
11637 on the channel anymore. If it does not have then the channel entry
11638 is removed as it is not needed anymore.
11640 * The silc_server_notify now checks on JOIN notify whether the joining
11641 client is one of locally connected or global. If it is global then
11642 the channel has now global users on the channel and that is marked
11643 to the channel entry. Also, it now saves the global client to
11644 global list who is joining and JOINs it to the channel. This is
11645 for normal server, that is.
11647 Changed silc_server_send_notify_on_channel,
11648 silc_server_packet_relay_to_channel and
11649 silc_server_packet_send_to_channel check if we are normal server
11650 and client has router set (ie. global client) do not send the
11651 message to that client, as it is already routed to our router.
11653 * Implemented LEAVE notify type handling in silc_server_notify
11656 * Tested LEAVE command in router environment successfully. Tested
11657 with two routers, two servers and two clients.
11661 * idlist_find_xxx_by_id routines now dumps the ID on the debug mode.
11663 * Implemented SIGNOFF notify type handling in silc_server_notify
11666 * silc_server_remove_id now removes the client entry from all channels
11667 it has joined and thusly sends SIGNOFF notify type.
11669 * Rewrote the NAMES list generation in server by removing two excess
11670 loops. The lists are created now inside one loop.
11672 Sat Jan 27 22:34:56 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11674 * silc_server_remove_channel_user checks now also global list
11675 for channel and client.
11677 * silc_server_new_channel_user checks now both local and global
11678 list for channel and client. Fixed a bug in client id decoding.
11679 Used to decode wrong buffer.
11681 * silc_server_channel_message checks now both local and global
11682 list for channel entry.
11684 * Tested channel joining (hence JOIN) in router environment
11685 successfully. Tested with two routers, two servers and two
11688 * Tested channel message sending in router environment successfully.
11690 Thu Jan 11 03:22:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11692 * Added silc_server_save_channel_key into server.[ch] to save the
11693 received channel key in Channel Key payload processing. It is
11694 also used in JOIN command reply handling.
11696 Equivalent function silc_client_save_channel_key added into
11697 client.[ch] into client library.
11699 * Changed JOIN command reply to send information whether the channel
11700 was created or not (is existing already) and the channel key
11701 payload. Changed protocol specs accordingly.
11703 * Fixed bugs in WHOIS and IDENTIFY command reply sending when
11704 the request was sent by ID and not by nickname. Crashed on
11707 Sat Dec 23 21:55:07 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11709 * Fixed a bug in Client library. IDENTIFY and WHOIS reply functions
11710 now correctly save the received data.
11712 * silc_server_free_sock_user_data now notifies routers in the
11713 network about entities leaving the network.
11715 At the same time implemented functions silc_server_remove_id
11716 and silc_server_send_remove_id to receive and send REMOVE_ID
11717 packets. The packet is used to notify routers in the network
11718 about leaving entities. The ID removed will become invalid in
11721 * Added function silc_idlist_del_server into server. Removes and
11722 free's server entry from ID list.
11724 * silc_server_private_message function now checks, if we are router,
11725 that the destination ID really is valid ID, naturally.
11727 * In router when NEW_ID packet is received (for new client) the
11728 hash of the Client ID is saved in the ID Cache but the
11729 client->nickname is set to NULL, instead of putting the hash
11732 IDENTIFY command now also checks that client->nickname must be
11733 valid. If it is not if will request the data from the server who
11734 owns the client. Added new function
11735 silc_server_command_identify_check.
11737 * Added silc_command_set_command into lib/silccore/silcommand.[ch]
11738 to set the command to already allocated Command Payload.
11740 * Tested private message sending in router environment with two
11741 routers, two servers and two clients. Fixed minor bugs and now
11744 * Fixed segfault from client's NAMES command. Used to crash if
11745 not on any channel.
11747 * Forwarded packets must not be routed even if it is not destined
11748 to the receiver. Changed server code comply with this.
11750 Sun Dec 17 14:40:08 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11752 * Added `require_reverse_mapping' boolean value to ServerParams
11753 structure. If TRUE (not default) the server will require that
11754 the connecting host has fully qualified domain name.
11756 If the reverse mapping is not required and hostname could not be
11757 found the IP address is used as hostname.
11759 Sat Dec 16 17:39:54 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11761 * Implemented version string checking to both client and server.
11762 The check is incomplete currently due to the abnormal version
11763 strings used in development version of SILC.
11765 * Changed all command functions in server to use the new
11768 Fri Dec 15 15:55:12 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11770 * Changed char *data to unsigned char *data in ID Cache system to
11771 support binary data as ID Cache data. Changed code to support
11772 binary data in lib/silccore/idcache.c.
11774 * Renamed silc_server_packet_relay_command_reply to
11775 silc_server_command_reply as it is normal packet receiving
11776 function. Rewrote the function to accept command replys for
11777 servers and not only for clients.
11779 * Mark remote router always as registered server if we are connecting
11780 to it. Otherwise, commands sent by the router to us are ignored.
11782 * All ID List find routines now returns the ID Cache Entry pointer
11783 as well if requested.
11785 * WHOIS command works now in router environment, tested with two
11786 routers, two servers and two clients.
11788 * Cleaned up and rewrote IDENTIFY command. IDENTIFY should work now
11789 in router environment (as it is almost equivalent to WHOIS) but
11790 hasn't been tested thoroughly. Added new functions:
11792 silc_server_command_identify_parse
11793 silc_server_command_identify_send_reply
11794 silc_server_command_identify_from_client
11795 silc_server_command_identify_from_server
11797 * Disabled route cache adding because adding two different ID's with
11798 same IP replaces the old cache entry thus giving wrong route.
11799 The entry->router->connection is always the fastest route anyway
11800 so route cache may not be needed. Of course, new routes maybe
11801 established after receiving the ID when the entry->router->connection
11802 might not be anymore the most optimal.
11804 Thu Dec 14 15:55:35 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11806 * Add route cache for received ID for fast routing.
11808 * Added silc_server_packet_route to route received packet on router
11809 that is not destined to us.
11811 * Renamed silc_server_get_route to silc_server_route_get.
11813 * Added id_string and id_string_len fields into SilcServer to
11814 include encoded ServerID for fast comparing without excess
11815 encoding of the ID's.
11817 * Cleaned up WHOIS command on server side. Added following static
11820 silc_server_command_whois_parse
11821 silc_server_command_whois_check
11822 silc_server_command_whois_send_reply
11823 silc_server_command_whois_from_client
11824 silc_server_command_whois_from_server
11826 * Added macro SILC_SERVER_COMMAND_CHECK_ARGC to check mandatory
11827 arguments in command replies. All command functions should be
11828 updated to use this macro.
11830 Sun Dec 10 23:52:00 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11832 * Minor typo fixes on command reply handling on server.
11834 Tue Nov 28 11:05:39 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11836 * Added silc_server_command_add_to_channel internal routine to add
11837 the client to the channel after router has created the channel and
11838 sent command reply to the server.
11840 * Added generic silc_server_send_command to send any command from
11843 * Use static buffer with ID rendering instead of duplicating data.
11845 Mon Nov 27 21:39:40 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11847 * Fixed a channel user mode bug when joining to a channel server gave
11848 everybody channel founder rights, oops.
11850 * We mark ourselves as the router of the incoming server connection
11851 if we are router ourselves. This way we can check in some packet
11852 sending functions whether it is locally connected server. For
11853 incoming router connections we put NULL.
11855 * For router sending packets locally means now always sending the
11856 packet cell wide; to local clients and local servers. For normal
11857 server sending packet locally means sending it to only local
11860 * Fixed the JOIN command to really work in router environment. If the
11861 channel is created it is always created by the router. Router is
11862 also responsible of making the initial joining to the channel,
11863 sending JOIN notify to the sending server and distributing
11864 NEW_CHANNEL and NEW_CHANNEL_USER packets. Hence, if the channel
11865 does not exist server doesn't do anything else but forward the
11866 command to the router which performs everything.
11868 * Added silc_server_send_channel_key function to send the Channel Key
11871 * Added silc_server_create_channel_key to create new channel key. The
11872 channel key is now re-generated everytime someone joins or leaves
11873 a channel, as protocol dictates. Note: channel->key_len is the
11874 key length in bits.
11876 Wed Nov 22 22:14:19 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11878 * Splitted server.[ch] finally. Created now packet_send.[ch] and
11879 packet_receive.[ch] to separate packet sending and receiving
11880 routines. The server.[ch] now includes everything else including
11881 actual packet processing (writing and reading data) and other
11884 Renamed silc_server_private_message_send_internal to
11885 silc_server_send_private_message. The routine is still though
11886 used only to relay private messages as server does not send
11887 private messages itself.
11889 Renamed silc_server_new_channel to silc_server_create_new_channel
11890 and added new function sicl_server_new_channel that handles the
11891 incoming New Channel packet. Added also new sending function
11892 silc_server_send_new_channel to send New Channel Payload.
11894 * Added new function silc_server_notify to process incoming notify
11895 packet to the server/router. Server may then relay the notify
11896 to clients if needed.
11898 * Added new function silc_server_new_channel_user to process incoming
11899 New Channel User packet. Router will redistribute the packet and
11900 send JOIN notify to its local clients and locally connected servers
11901 if needed. Normal server will send JOIN notify to its local client
11902 on same channel when received this packet. Added also corresponding
11903 sending function silc_server_send_new_channel_user to sent the
11906 * Added boolean route argument to send_notif_to_channel and
11907 packet_send_to_channel functions to attempt to route the packet
11908 if it is TRUE and send only locally if it is FALSE.
11910 Tue Nov 21 19:49:31 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11912 * silc_server_replace_id now broadcasts the received replace ID
11913 packet if it is not broadcast packet already. The router must
11914 broadcast to inform other routers about changed ID.
11916 * Added backpointer to server's router into SilcServer context in
11917 silcd/server_internal.h.
11919 * Fixed silc_server_packet_broadcast to send correct broadcast
11922 * The channel key is now distributed to the local client as soon
11923 as it is received from the router (in router environment) so that
11924 no other packet may be sent for the channel until client has
11927 * silc_server_remove_channel_user now broadcasts the received
11928 Remove Channel User packet if it is not broadcast packet already.
11929 The router must broadcast to inform other routers about removed
11932 * Added users field into SilcPacketContext that is a reference count
11933 of the context. One can increase the reference count by calling
11934 silc_packet_context_dup which is now changed to just increase the
11935 reference count instead of duplicating the data. The reference
11936 count is decresed by calling silc_packet_context_free that will
11937 free the data after the reference count hits zero.
11939 For now on the packet context and everything allocated into it
11940 (including the raw packet from network) must be freed by calling
11941 the new silc_packet_context_free function. Added also new function
11942 silc_packet_context_alloc that must be used now to allocate the
11943 context. This also means that if a routine is asynchronous from
11944 silc_[client/server]_packet_parse_type the packet context must
11945 be duplicated by calling silc_packet_context_dup. Otherwise it
11946 gets free'd after silc_[client/server]_packet_parse_type returns.
11947 Also, one must remember that if packet is duplicated then its
11948 reference count must be decresed by calling the free function as
11949 many times as it was duplicated.
11951 * Changed SilcBuffer field from protocol contexts to SilcPacketContext
11952 from both client and server.
11954 Mon Nov 20 23:47:03 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11956 * Made joining to a channel working in router environment.
11958 * Cleaned up JOIN command on server side and create function
11959 silc_server_command_join_channel internal routine to make the
11962 Thu Nov 9 21:12:39 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11964 * Changed silc_command_pending list to SilcDList. Also, added
11965 `ident' field to SilcServerCommandPending structure to identify
11966 the reply and to call correct callback.
11968 Added silc_server_command_pending_check function to replace the
11969 corresnponding macro. The silc_command_pending list is not
11972 * Added silc_command_set_ident into lib/silccore/silccommand.[ch]
11973 to set identifier to previously allocated Command Payload. It
11974 is used to set identifier for command when resending Command
11977 * Added silc_command_payload_encode_payload to encode Command
11978 Payload buffer from SilcCommandPayload structure.
11980 * Added silc_argument_payload_encode_payload to encode Argument
11981 payload buffer from SilcArgumentPayload structure.
11983 Wed Nov 8 21:03:28 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11985 * Changed WHOIS command to support router connection on server side.
11986 The whois request is always sent to router unless the server is
11987 standalone server. After server has received the reply from the
11988 router will it send the reply to the client.
11990 * Added silc_server_packet_broadcast into silcd/server.[ch] to
11991 broadcast received broadcast packet. The function is used only
11992 by router. The broadcast packet is always sent to the router's
11995 * Added silc_id_render function in lib/silcutil/silcutil.[ch] to
11996 render given ID to printable string, for log files for example.
11998 Tue Nov 7 22:14:19 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12000 * Made basic router to router connections working. At least they
12001 can now connect to each other but nothing really works the way
12002 they are supposed - yet.
12004 * Added new initiator token to RouterConnection configuration
12005 file in silcd/serverconfig.[ch]. It is used to tell whether we
12006 are the initiator to the remote router or whether we'll expect
12007 the other end to connect.
12009 * Moved registering of listener task to silc_server_init, hence
12010 the server starts listenning as soon as it is run, even if it
12011 does not have connections to other routers. Let's see how well
12014 * Changed default connection retry timeouts for more suitable in
12017 * Removed cipher and such arguments from silc_idlist_add_client
12018 and silc_idlist_add_server prototypes from silcd/idlist.[ch].
12019 Added new function silc_idlist_add_data to add the keys and stuff
12022 * Added SilcIDListData structure and added it to SilcClientEntry
12023 and SilcServerEntry as their first field in the structure. This
12024 way we can explicitly cast the ID entries to the SilcIDListData
12025 structure and get common data for the entries. In past, we had
12026 to first check what type of connection it is and then cast it to
12027 correct ID entry type. Now, we can directly cast the opaque
12028 pointer to the SilcIDListData (no matter what ID entry it actually
12029 is) and get the data needed.
12031 Mon Nov 6 21:56:12 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12033 * Wow, found a bug in scheduler. The scheduler uninitialized itself
12034 in some circumstances even if threre were timeout tasks, though not
12035 IO tasks, but tasks anyway. Now fixed.
12037 * Defined SilcServerConnection structure to hold connection specific
12038 stuff about directly connected servers and routers. The definition
12039 is currently in silcd/server_internal.h. I thought about having
12040 a bit more important role fro this struct but for now it is used
12041 only when connecting to other server (or router actually).
12043 * Added connecting retry support in server when connecting to
12044 router(s). The retry feature implement exponential backoff
12045 algorithm. Also, added SilcServerParams structure to hold default
12046 parameters for server. For now, it include these retry settings
12047 and are hard coded. After server is moded to be as Silc Server
12048 Library this structure will be more important.
12050 Sun Nov 5 22:28:44 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12052 * Changed client librarys channel->clients table to SilcList and
12053 changed code accordingly.
12055 Thu Nov 2 16:28:01 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12057 * Changed client's channel table to SilcList and changed code
12058 accordingly. Also changed SilcChannelClientEntry to include back-
12059 pointer to the channel so that client entry can use that structure
12060 as list as well and we have fast cross-reference to the channel.
12061 This change dramatically decreased the complexity of channel
12062 handling with client entry and vice versa (removed one extra
12063 loop when searching for channel entry from many functions).
12065 * Changed server->sim from table to SilcDList and changed code
12068 * NAMES command can now be used from user interface. It will show
12069 the user list on the channel, neatly.
12071 * Added realname pointer to SilcClientEntry in lib/silcclient/idlist.h.
12072 Code now saves realname of the user if it becomes available.
12074 * Renamed configure.in to configure.in.pre and made ./prepare
12075 script to automatically add correct version string to
12076 configure.in which it creates from configure.in.pre.
12078 Wed Nov 1 17:21:26 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12080 * NAMES command reply now shows users mode with the nickname when
12081 joining to channel.
12083 * Moved silc_client_ch[u]mode[_char] functions from
12084 silc/clientutil.[ch] to lib/silcclient/client.[ch]. Though, that
12085 place sucks, they are utility functions and should be in some
12088 * Fixed some unsigned int's to unsigned short's. Patch by cras.
12090 * Fixed contrib/getopt*.[ch] to not require config.h. Patch by
12093 Tue Oct 31 20:10:37 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12097 * Added TRQ (efficient deque and list library) into lib/trq. This is
12098 a very good list library that is currently used in the SILC. Defined
12099 SilcList API over the library because I didn't like the API very
12100 much. See lib/trq/silclist.h for the API and examples of how to
12101 use the API. Fixed various places in the code to use the new
12102 SilcList API. The SilcList is meant for lists that has a structure
12103 already defined as a list. It is not suitable to add just some
12104 context to the list (in TRQ, the context is the list actually).
12106 So, I defined SilcDList that can be used for the purpose where
12107 predefined list structure does not exit. This can be used as
12108 such list. Now some context just can be added to the SilcDList.
12109 Currently this list is not used in the SILC just yet, though there
12110 are a lot places where this can replace dynamically allocated
12111 tables and I will fix these places, later, to use SilcDList.
12112 See lib/trq/silcdlist.h for SilcDList (they are all inline functions,
12113 and use TRQ internally).
12115 Also fixed some annoying warning messages that the original TRQ
12116 code generated. Also minor changes to TRQ's Makefile.in.
12118 * Added support for querying by Client ID to both WHOIS and
12119 IDENTIFY commands into server, as required by the protocol.
12121 * Removed method function pointers from SilcBuffer structure. They
12122 weren't used to anything and just increased the context size for
12123 no good reason. This change also made silc_buffer_alloc and
12124 silc_buffer_free functions inline functions.
12126 * Disabled command flooding detection support until it's fixed so
12127 that it accepts commands in but does not execute them more than once
12130 * Added silc_net_localhost(), to return local hostname, into
12131 lib/silcutil/silcnet.[ch]. Also added client->hostname pointer
12132 that must be initialized before calling silc_client_init.
12134 * Added new function: silc_server_send_notify_on_channels to send
12135 notify messages to all channels client has joined. It is assured
12136 that the message is sent only once per client.
12138 * Moved silc_log_format (from lib/silcutil/silclog.[ch] into
12139 lib/silcutil/silcutil.[ch] as silc_format function. The new
12140 function is generic and is used by server as well, not only by
12141 the logging routines.
12143 * Added new SKE status type: SILC_SKE_STATUS_BAD_VERSION to indicate
12144 the provided version string was not acceptable. Added new function:
12145 silc_ske_check_version into lib/silcske/silcske.h. The function
12146 must be implemented by the application (client or server) and it
12147 does not reside in the SKE library. The function checks the version
12148 string remote end sent.
12150 * Added back pointers (to opaque context and to SilcSocketConnection)
12151 into SilcPacketContext structure into lib/silccore/silcpacket.h.
12153 * Added silc_packet_context_dup into lib/silccore/silcpacket.[ch] to
12154 duplicate packet context structure.
12156 * Changed `notify' client operation to send same arguments as client
12157 receives from server except for ID's. ID's are mapped to correct
12158 ID entry and that is returned. Also, if channel entry is not sent
12159 by server but the notify is for channel the channel entry is sent
12160 to application (otherwise application doesn't know that it is for
12161 channel (library gets it from packet's Destination ID)).
12163 * Added silc_client_remove_from_channels into client library to
12164 remove a client from all channels it has joined to. Used when
12165 received SIGNOFF notify from server. Added also new function
12166 silc_client_replace_from_channels to replace old ID entry with
12167 new ID entry on all channels. Used when received NICK_CHANGE
12168 notify from server.
12170 * Fixed ID Cache list handling in silc_idlist_get_client in
12171 lib/silcclient/idlist.c. Also, added silc_idlist_get_client_by_id
12172 to get (or query) client by ID.
12174 * Updated TODO list.
12176 * Added connection authentication status message defined by the
12177 protocol: SILC_CONN_AUTH_OK and SILC_CONN_AUTH_FAILED and added the
12178 support for these into the code in client and server side.
12180 * Added generic function silc_client_send_command to send any command
12181 with variable argument list. Application should use this function
12182 to send commands if the command functions provided by the library
12183 does not suite for the application's user interface needs.
12185 * Added new `failure' client operation. Application is notified about
12186 received failure packet if client is executing a protocol. In this
12187 case the protocol's execution has failed.
12189 * Added SKE's end notify to send the SKE_SUCCESS notify message that
12190 is required by the protocol.
12192 * Added SILC_PROTOCOL_STATE_FAILURE to indicate received failure
12193 packet from remote. SILC_PROTOCOL_STATE_ERROR indicates local
12196 * Added status flag to SilcSKE object to indicate realtime status
12197 of the SKE protocol.
12199 * Application receives now exactly same command reply arguments as
12200 the library receives from server. However, if ID is received the
12201 corresponding ID entry is returned to the application (eg. Client
12202 ID is mapped to correct SilcClientEntry entry and that is returned).
12203 Changed command_reply client operation due to this change.
12205 * Changed all ID's in commands and in command replys as ID Payloads.
12206 Change affected both client and server side codes.
12208 All ID's sent in SILC network (with execption of ID's in SILC
12209 Packet header) are sent in ID Payload to support variable length
12212 * Server now notifies nick changes and notifies all clients on
12213 the channels about the new nickname (about the new Client ID,
12216 * Implemented CMODE command to change channel modes. Supports all
12217 channel modes defined by the protocol specs except ban and invite
12218 lists. (Also, private channel key mode is supported but support for
12219 setting private channel key in client is missing, thus, this mode
12220 has no effect on client side (except that server requires that the
12221 client uses private channel key and normal channel traffic does not
12224 Also, invite mode works per se, but INVITE command does not work
12225 yet correctly, so you can set channel as invite only channel but
12226 inviting clients to the channel does not work (it is yet to be
12227 thought what's the best way to do it).
12229 * Added new command SILC_COMMAND_CUMODE to change user mode on the
12230 channel. Defined user modes: CHANNEL_FOUNDER and CHANNEL_OPERATOR.
12231 Implemented CUMODE command to change user's mode on the channel.
12232 Supports all modes defined by the protocol specs.
12234 * Added NAMES command reply to return users modes on the channel.
12236 * Removed unnecessary and slow ciphers from lib/silccrypt.
12238 * Set SO_KEEPALIVE option to connection sockets by default.
12240 * Added new command reply status: SILC_STATUS_USER_NOT_ON_CHANNEL.
12242 * Added notify types: MOTD, CMODE_CHANGE and CUMODE_CHANGE. Also,
12243 redefined the Notify Payload into protocol specs.
12245 * Added silc_id_payload_parse_id to get ID directly from raw
12248 Mon Oct 9 20:57:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12250 * Changed SILC_COMMAND_IDENTIFY in protocol specification to
12251 accept searching by Client ID as well.
12253 * Added support for LEAVE and SIGNOFF notify types in client library.
12255 * Added silc_id_payload_parse_data into lib/silccore/silcpayload.[ch]
12256 to parse ID Payload from raw data.
12258 Sun Oct 8 19:33:08 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12260 * Added flags parameter into silc_ske_assemble_security_properties
12261 function in lib/silcske/silcske.[ch].
12263 * Changed notify client operation to fit better for notify messages
12264 sent by server. The notify payload received from server is now
12265 passed to the application (after parsing it to SilcNotifyPayload).
12266 It is application's responsibility to retrieve the arguments
12267 from the payload and show the message the way it wants. The message
12268 sent by server is implementation specific.
12270 * Changed public keys to comply with the protocol specification.
12271 Old public keys are not supported anymore and are not compatible.
12273 * Removed nickname from Channel Payload as the latest draft removed
12274 it. The client must resolve the nickname from the NAMES command
12275 reply received when it joined the channel.
12277 Also, changed all channel_xxxx_payload to channel_payload_xxxx.
12279 Sat Oct 7 21:55:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12281 * Fixed some errors in protocol specification drafts.
12283 * Created lib/silccore/silcnotify.c to implement Notify Payload
12284 encoding and decoding, lib/silccore/silcpayload.[ch] to implement
12285 generic payloads described by protocol specifications. The file
12286 includes implementations for ID Payload and Argument Payload.
12288 * Changed Command Payload implementation to use the new Argument
12289 Payload. Changed command_xxxx_payload to command_payload_xxxx
12290 to comply with SILC coding conventions.
12292 * Added suppport for Argument Payload handling in Notify Payload
12293 implementation as protocol requires it. Added the new support
12294 into server and client lib as well.
12296 Thu Oct 5 21:16:28 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12298 * Added support for multiple nicknames on same channel. [n] is
12299 added locally to the nickname if there are more than one same
12300 nicknames on the channel.
12302 * Server now sends all nicknames that matched WHOIS request.
12303 Client also shows the list received from server.
12305 * Added TOPIC command to client side. User can now set and show
12306 current topic on channel.
12308 * Added MOTD command to client and server. Also, server sends the
12309 motd when client connects to the server.
12311 * Changed version strings to comply ISO 8601.
12313 Wed Oct 4 23:29:06 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12315 * Fixed protocol error handling in client library. It should now
12316 cope even if the SKE fails for some reason.
12318 * Made new protocol specification drafts for submitting to IETF.
12320 * Implemented TOPIC command to server in silcd/command.c.
12322 * Added two new notify types into lib/silccore/silcnotify.h:
12323 SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_TOPIC_SET to
12324 notify nickname change and topic setting/change on a channel.
12326 * API change of command_reply operation in client library. The
12327 application gets now the status type received from server as well.
12329 Sat Sep 30 16:57:42 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12331 * Removed the function just added to lib/silcutil/silcschedule.[ch].
12333 * Cras fixed and optimized the packet handling even further and
12334 it should work now. Minor change to the prototype of function
12335 silc_packet_receive_process in lib/silccore/silcpacket.[ch].
12337 Sat Sep 30 08:48:47 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12339 * Added new function into lib/silcutil/silcschedule.[ch]:
12340 silc_schedule_with_fd to select() a specified fd. The function
12341 returns after timeout expires or data arrives or goes. The
12342 function is used by packet routines to wait that all data is
12343 received from network.
12345 * Fixed data reading from network in lib/silccore/silcpacket.c.
12346 The code now assures that all data is read from the fd and then
12347 continues packet processing. This was a bug fix since the code
12348 used to drop some data in some circumstances.
12350 * Added new function into lib/silcclient/client.[ch]:
12351 silc_client_start_key_exchange to start key exchange after
12352 connection has been established to server. The code internally
12353 now uses this funtion but its main purpose was to provide it
12354 for applications that perform their own connecting. After
12355 application has created a connection it merely calls this
12356 function to start the key exchange between client and server.
12357 The library takes care of everything else after that.
12359 Updated also lib/silcclient/README to explain the usage of
12362 * Do not send to application information that connection has
12363 been established. Application gets notified it by connect
12366 Thu Sep 28 23:40:19 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12368 * Applied cras's patch to add silc_schedule_one function. The
12369 function runs scheduler once and returns.
12371 * Fixed the scheduler after cras messed it up. The timeout
12372 handling works now as it's supposed to work.
12374 * Added into lib/silccore/ silcnotify.h to include notify
12375 message types support. Changed silc_server_send_notify*
12376 functions, in server.[ch], to support those new notify types.
12377 Added the support for the notify types into client library,
12378 as well. Added new notify client operation into ops.h in
12381 * Changed silc_server_packet_send_to_channel to send normal
12382 packets instead of just channel message packets. The function
12383 is now used to send the notify packets to channels. It is not
12384 used to send channel message packets anymore, as server never
12385 sends them anymore.
12387 * Added explicit casting into lib/silcutil/silcbuffmt.c to few
12388 va_arg()s as it seems to require it nowadays. I guess, if SILC
12389 is compiled with older va_arg() the new code should work anyway.
12391 Wed Sep 13 18:10:14 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12393 * Splitted core library. Core library (lib/silccore) includes
12394 now only SILC protocol specific core (and common) components.
12395 Created new utility library (lib/silcutil) that includes more
12396 generic purpose stuff. The stuff for util library was taken
12397 from the old core library. This was minor and easy split.
12399 * Created SILC Client Library (lib/silcclient) that includes
12400 implementation of the SILC client without user interface. This
12401 was major move from silc/ directory. The code has been changed
12402 so that it is transparent towards the user interface. The
12403 silc/ directory includes now the same user interface as before
12404 and it uses the new client library. Read lib/silcclient/README.
12405 Basicly, the client library performs everything else related
12406 to SILC except user interface handling. Also, configuration
12407 files are considered to be part of user interface and library
12408 does not handle them.
12410 This change also changed a lot of structures, function naming etc.
12411 Most important change was that SilcClientWindow object was
12412 renamed to SilcClientConnection in the client library. Created
12413 also new file lib/silcclient/ops.h. Also added new files
12414 silc/local_command.[ch] and silc/client_ops.[ch].
12416 All these changes were made to make it easier for user interface
12417 designers to create what ever user interface for the SILC client
12420 It is also expected that the server will be moved to lib
12421 directory as well and SILC Server Library will be created;
12422 sometimes in the future.
12424 * Removed Local commands from lib/silccore/silccommand.h as
12425 they are application specific and new client library does not
12426 handle any of those anymore.
12428 * Several functions moved to lib/silcutil/silcutilc.[ch] from
12429 old client implementation in silc/.
12431 * Added support for callback functions in SILC_LOG_* macros.
12432 Application can now set its own callbacks that will be called
12433 instead of using the default functions that will always print
12434 the debug messages to stderr (or stdout). Also, debugging can
12435 now be disabled by setting silc_debug to FALSE and re-enabled by
12436 setting it to TRUE. Note, that logging will still work even
12437 if debugging is disabled.
12439 New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
12440 silc_log_reset_callbacks, silc_log_set_debug_callbacks and
12441 silc_log_reset_debug_callbacks.
12443 * To enable debugging in silc client one must give now -d
12444 option on command line.
12446 * Changed silc_schedule_init to automatically allocate task queues
12447 if they are not allocated before calling it.
12449 Thu Sep 7 10:49:33 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12451 * Added GMP 3.1 into math library.
12453 Sun Aug 20 21:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12455 * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
12456 a channel in SILC network. The packet is used by servers and
12457 routers to notify other routers that user has left a channel.
12458 This little feature was missing until now. Added the feature
12459 to protocol specification as well.
12461 Added functions: silc_server_send_remove_channel_user and
12462 silc_server_remove_channel_user into server.[ch].
12464 * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
12465 lib/silccore/silcpacket.h. However, they are not implemented
12468 Sat Aug 19 23:04:16 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12470 * Fixed joining to a channel and sending channel messages
12471 between server and router. The channel message sending should
12472 now work inside a cell.
12474 Tue Jul 25 20:46:13 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12476 * Fixed the private message sending between server and router.
12477 The private message sending should now work inside a cell.
12479 * Added silc_server_replace_id into server.[ch] to replace
12480 existing ID in the SILC network.
12482 * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
12483 and silc_idlist_replace_server_id into idlist.[ch] in server.
12485 Mon Jul 24 18:33:31 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12487 * Fixed the server to server connections. Server can again now
12488 connect to router. Router to router connections probably does
12491 Thu Jul 20 13:15:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12493 * Added dynamic protocol registering support. Now protocols can
12494 registered and unregistered on the fly. Patch by cras.
12496 Wed Jul 19 19:08:46 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12498 * Added lib/contrib directory to hold routines that some platforms
12499 don't have but are needed by SILC.
12501 * Added getopt.c, getopt1.c and getopt.h from GNU C library
12502 into lin/contrib to provide getopt() and getopt_long() for
12503 those who don't have it.
12505 Tue Jul 18 20:41:20 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12507 * Added AWAY command to client. When away message is set and
12508 client receives a private message packet the client automatically
12509 replies to the sender with the away message.
12511 * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin. This
12512 bug seemed to be the cause of recent problems when compiling
12515 * Added version detection support to SKE protocol specification
12516 and added the new changes to the SKE implementation as well.
12517 There were other minor changes in the SKE protocol as well.
12519 Many changes in lib/silcske/silcske.[ch] and in
12520 lib/silcske/payload.[ch].
12522 * Added ^U functionality, clear input line. Patch from cras.
12524 Mon Jul 17 23:33:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12526 * Mainly small bugfixes on core library. Fixed some debugging
12527 logging and buffer overflow in silclog.c.
12529 * Updated config.sub and config.guess on the distribution tree.
12531 Sat Jul 15 15:33:48 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12533 * Added command lagging support in server. Client may execute
12534 commands now only once in two seconds.
12536 Thu Jul 13 22:10:21 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12538 * Optimized packet reception. MAC computation and checking is now
12539 also more optimized. A lot previously duplicated code is now
12540 used as generic by both client and server.
12542 * Fixed key pair generation in clientutil.c
12544 Wed Jul 12 18:28:07 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12546 * Added into lib/silccore/silcbufutil.[ch] new function;
12547 silc_buffer_realloc.
12549 * Moved generic packet sending/encryption functions to
12550 lib/silccore/silcpacket.[ch] from client and server. Some
12551 rewriting of the functions.
12553 * Moved all generic packet reception/decryption functions to
12554 lib/silccore/silcpacket.[ch] from client and server. The
12555 packet processing is now much cleaner in both client and server.
12556 These were major changes in both client and server.
12558 * Created many common functions in server to do packet sending.
12559 Previously code were duplicated a lot, this has been removed
12560 with these changes.
12562 Tue Jul 11 20:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12564 * Rewrote major parts of the ID cache system. Don't know
12565 whether it is better now or not but at least the API is more
12568 * Major rewrite on ID cache stuff on client because of the ID
12569 cache API changes. Added idlist.c to client.
12571 * Also major rewrite on ID cache stuff on server as well.
12572 Major rewrite of idlist.[ch]. SilcXXXList's are now named
12573 SilcXXXEntry's. We won't keep anymore idlist specific pointers
12574 in hand, instead they are all put into the ID cache system now.
12575 All server_idlist_* routines uses ID cache now instead of
12576 traversing its own lists (those lists does not exist anymore).
12577 SilcIDList though still exists. Also, SilcXXXEntry's are
12580 Sun Jul 9 15:19:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12582 * Finally made the SKE implementation compliant to the protocol
12583 specification. All mp integers are now binary encoded as
12584 opposed being HEX encoded.
12586 * Added lib/silcmath/mpbin.[ch]. Encoding mp intergers to and
12589 * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
12590 functions: silc_[encode/decode]_pem. Also added function
12591 silc_encode_pem_file to PEM encode with newlines ('\n') for
12592 saving into a file.
12594 * SILC public keys are now encoded either PEM or binary. Same
12595 option is for private keys as well. By default private keys
12596 are binary encoded and public keys PEM encoded. Silly HEX
12597 encoding were removed.
12599 * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
12600 function to create fingerprints.
12602 * Fixed a bug in SHA1; does not change the original data anymore.
12604 * Partly implemented INFO command on client and server side.
12605 Fixed CLEAR command. Changes to SERVER command; show current
12606 server(s) when giving command without arguments. Added
12607 VERSION command to client.
12609 * Added check to server that unregistered connections cannot
12610 execute commands (unless it is specificly allowed).
12612 Thu Jul 6 18:12:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12614 * Fixed screen refresh.
12616 * Fixed channel joining bug from client. On some circumstances
12617 client tried to join to a channel it had already joined.
12619 * Added public key verification process into client's protocol.c.
12620 The client now verifies the public key from user and saves
12621 it into ~./silc/serverkeys/ directory.
12623 Added into: clientutil.[ch]: silc_client_verify_server_key.
12625 * Changed SKE protocol's silc_ske_initiator_finish function
12626 to accept callback function that verifies the received public
12627 key. Removed old silc_ske_verify_public_key function.
12629 Wed Jul 5 19:19:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12631 * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
12632 silc_pkcs_private_key[_data]_set.
12634 * Made the password and public authentication more cleaner in
12635 server's protocol.c.
12637 * Removed historic and obsolete protocol `channel_auth' from
12638 both client and server.
12640 * Removed wrong way of sending command status messages from
12641 server to client in server's command.c. The old way violated
12642 protocol specification.
12644 Changes to silccore/silccommand.[ch]: removed
12645 silc_command_encode_status_payload -> not needed anymore,
12646 changed silc_command_encode_payload_va to accept extra
12647 argument on variable argument list. The argument type must
12648 now be provided to the function. Also, added new function:
12649 silc_command_encode_reply_payload_va which is same as
12650 normal command_encode_payload_va except command status type
12651 is provided as extra argument.
12653 Tue Jul 4 18:26:39 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12655 * Added ~./silc directory handling. The directory includes the
12656 public and private keys for the client.
12658 Added silc_client_check_silc_dir, silc_client_create_identifier
12659 and silc_client_load_keys.
12661 * Implemented SILC protocol compliant public key. Added public
12662 and private key saving to and loading from files.
12664 Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
12665 silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
12666 silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
12667 silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
12668 silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
12670 Implemented: silc_pkcs_save_[public/private]_key[_data] and
12671 silc_pkcs_load_[public/private]_key.
12673 Mon Jul 3 18:51:27 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12675 * Added silc_server_get_route (route.[ch]) to get connection
12676 data for the fastest route for given ID.
12678 * Implemented INVITE command on client and server. The command
12679 were re-defined in the SILC Protocol Specification and the
12680 implementation now complies with the specification.
12682 * Implemented PING command on client and server.
12684 * Implemented NAMES command on client and server. The server side
12685 supports currently only normal server not router server yet.
12686 Some changes to NAMES definition in SILC protocol specification.
12688 Sun Jul 2 18:23:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12690 * Implemented LEAVE command on client and server.
12692 * Previously deprecated SILC_PACKET_FORWARDED flag is now in use
12693 again. This change was made to the protocol as well. Server
12694 should not violate the protocol specification anymore.
12696 Fri Jun 30 14:03:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12698 * Added SOCKS4 and SOCKS5 support to SILC client. SOCKS5
12699 was tested. SOCKS4 was not but should work anyway.