1 Sun Jun 24 14:43:21 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
3 * Fix configure output for with-plugin. Affected file is
4 apps/irssi/configure.ad
6 Mon Jun 18 23:47:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
8 * Use SILC_VERIFY to assert that silc_rwlock_wrlock can be
9 called only once per thread on Unix. Affected file is
10 lib/silcutil/unix/silcunixthread.c. Added same for mutex
11 as well. Documented same on the API in
12 lib/silcutil/silcmutex.h.
14 * Fixed USERS command reply write-lock unlocking. Affected file
15 is lib/silcclient/command_reply.c.
17 Mon Jun 18 08:14:26 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
19 * Fixed silc_create_key_pair to check for valid identifier.
20 Affected file is lib/silcapputil/silcapputil.c.
22 Sun Jun 17 20:08:26 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
24 * Rewrite signed public message handling, adopting the new
25 hilight interface. Affected file is
26 apps/irssi/src/fe-common/silc/fe-silc-messages.c
28 Thu Jun 14 21:15:31 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
30 * Fix off by one error when loading modules. Affected file is
31 apps/irssi/src/core/modules-load.c
33 * Don't delete hilight entry (because it's just a pointer, not a
34 copy). Affected file is
35 apps/irssi/src/fe-common/silc/fe-silc-messages.c
37 Mon Jun 11 22:10:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
39 * Added __SILC_TOOLKIT_x_x_x macro to all Toolkit distribution
40 which can be used to check for Toolkit version in third-party
41 software. Affected file is configure.ad, includes/silc.h.in.
43 Sun Jun 10 17:32:15 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
45 * Added support for channel@server channel name strings to
46 client library (SILC protocol version 1.3 change). Affected
47 files are lib/silcclient/silcclient_entry.h, client_entry.c.
49 * Added full_nicknames and full_channel_names settings to
50 SilcClientParams that can be used to specify whether client
51 library returns full nickname and channel name strings.
52 Full strings are nick@server and channel@server. Affected
53 file is lib/silcclient/client_entry.c and command.c.
55 Sat Jun 9 19:43:25 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
57 * Fixed unix connecting failure to return error code correctly.
58 Affected file is lib/silcutil/unix/silcunixnet.c.
60 Fri Jun 8 23:32:33 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
62 * Fixed SKE timeout double free crash. Affected file is
63 lib/silcske/silcske.c.
65 * Fixed MIME multipart decoding buffer overflow. Affected file
66 is lib/silcutil/silcmime.c. Thanks to Matt Miller for patch.
68 Fri Jun 8 18:39:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
70 * Fixed connection auth protocol timeout crash. Affected
71 file is lib/silcske/silconnauth.c.
73 * Fixed FSM machine finishing to check for existing threads
74 at the final free callback to allow time for the threads to
75 finish. Affected file lib/silcutil/silcfsm.c.
77 Thu Jun 7 21:25:31 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
79 * Fixed silc_client_get_clients_local to check the nick's
80 server also if nick@server nickname string is given to the
81 function. Affected file is lib/silcclient/client_entry.c.
83 Wed Jun 6 18:33:05 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
85 * Added notify callback to silc_schedule_init which can be used to
86 set a notify callback for scheduler which is called when task is
87 added to scheduler or deleted from scheduler. Affected file
88 is lib/silcutil/silcschedule.[ch].
90 * Dispatch timeout tasks after dispatching FD tasks if the timeout
91 was very short. Affected file is lib/silcutil/silcschedule.c.
93 * Rewrote the SILC scheduler handling in SILC Client to not poll
94 every few msecs but to use the new notify callback. Affected
95 file is apps/irssi/src/silc/core/silc-core.c.
97 * Fixed SFTP client library read buffer size which was too small.
98 Affected file is lib/silcsftp/sftp_client.c.
100 * Fixed file transfer crash bug in /QUIT in SILC Client. Close
101 the FTP sessions before quitting the client. Affected file
102 is apps/irssi/src/silc/core/silc-servers.c.
104 Tue Jun 5 20:48:40 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
106 * Fixed silc_packet_get_ids to decode the IDs correctly.
107 Affected file is lib/silccore/silcpacket.c.
109 * Fixed silc_client_get_clients_local to parse correctly nickname
110 string that may have server name in it (nick@server) regardless
111 whether it was formatted nickname or not. Affected file is
112 lib/silcclient/client_entry.c.
114 Mon Jun 4 22:02:53 CEST 2007 Jochen Eisinger <jochen@penguin-breeder.org>
116 * Only destroy sendbuffers, if they still exist (they cease to
117 exist during /upgrade). Affected file is
118 apps/irssi/src/silc/core/silc-servers.c
120 Mon Jun 4 21:24:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
122 * Removed --enable-silc-plugin. Added --with-silc-plugin.
123 Affected files are configure.ad, lib/configure.ad,
124 apps/irssi/configure.ad, apps/irssi/configure.in,
125 apps/irssi/scripts/Makefile.am,
126 apps/irssi/scripts/examples/Makefile.am,
127 apps/irssi/src/silc/core/silc/Makefile.am,
128 apps/irssi/src/fe-common/silc/Makefile.am.
130 Mon Jun 4 08:35:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
134 Sun Jun 3 14:00:09 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
136 * Fixed DESTDIR handling in make install.
138 Sat Jun 2 21:04:32 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
140 * SIM modules are not delivered to SILC CLient distribution
143 * Changed default installation path from /usr/local/silc to
144 /usr/local for all distributions.
146 * Removed --with-etcdir and --with-docdir. The etcdir is now
147 the system's default. The Docdir is system's default.
149 Sat Jun 2 00:51:57 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
151 * If public key/private key loading fails set the return
152 pointer to NULL. Affected file is lib/silccrypt/silcpkcs.c.
154 * If private key loading fails in silc_load_key_pair free the
155 loaded public key. Affected file is
156 lib/silcapputil/silcapputil.c.
158 * Fixed key pair loading crash with SILC Plugin if key pair
159 loading fails. Affected file is
160 apps/irssi/src/silc/core/silc-core.c.
162 * Fixed SILC Client help and script file installation path
163 to go to prefix/share/silc. Affected files are
164 apps/irssi/src/scripts/Makefile.am and
165 apps/irssi/docs/help/Makefile.am.gen.
167 Thu May 31 16:49:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
169 * Fixed UTC offset minutes to be actually minutes. Affected
170 file is lib/silcutil/silctime.c.
172 Thu May 31 09:40:56 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
176 * Added support for checking for timezone and tm_gmtoff.
177 Affected files are configure.ad and lib/silcutil/silctime.c.
179 Wed May 30 18:46:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
181 * Added silc-toolkit.spec.in RPM spec file.
183 Mon May 28 23:21:39 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
185 * Fixed nickname formatting crash when updating existing
186 client entry. Affected file is lib/silcclient/client_entry.c.
188 * Fixed MIME object encoding in attribute payload encoding.
189 Affected file is lib/silccore/silcattrs.c.
191 Mon May 28 09:02:26 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
193 * SILC Client 1.1 Beta6
195 Sun May 27 20:38:30 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
197 * Copy SILC Plugin's libfe_common_silc.so to libfe_silc.so so
198 that user's don't have to do it manually. Affected file
199 is apps/irssi/src/fe-common/silc/core/Makefile.am.
201 Thu May 24 15:30:31 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
203 * SILC Toolkit 1.1 Beta4.
205 * Fixed channel and server entry freeing in client library.
206 Affected file is lib/silcclient/client_entry.c.
208 * Do not allow stopping client before it has been started.
209 Affected file is lib/silcclient/client.c.
211 Wed May 23 23:21:03 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
213 * Fixed formatted nickname renaming to rename also irssi's
214 nicklist (/NAMES etc). Affected file is
215 apps/irssi/src/silc/core/client_ops.c.
217 * Fixed SILC Plugin crash when stopping client library before
218 it has been started. Affected file is
219 apps/irssi/src/silc/core/silc-core.c.
221 Tue May 22 17:18:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
223 * For SILC Client and SILC Server check for 1.1 Toolkit
224 in configure. Affected file is configure.ad.
226 * Added better library linking flags and orders for SILC Client.
227 Affected file is configure.ad, Makefile.defines_int.in and
228 apps/irssi/src/fe-text/Makefile.am
230 Mon May 21 08:26:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
232 * SILC Client 1.1 Beta5.
234 Sun May 20 18:34:22 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
236 * Add hooks for Irssi 0.8.11 module functions. Affected file
237 is apps/irssi/src/fe-common/silc/fe-common-silc.c
239 Sat May 19 14:46:36 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
241 * Fixed passphrase authentication with server. Affected file
242 is lib/silcclient/client_connect.c.
244 * Fixed passphrase authentication as responder. Affected file is
245 lib/silcske/silcconnauth.c.
247 * Changed SilcAskPassphrase and SilcGetAuthMeth callbacks to
248 return data as const. Affected file is
249 lib/silcclient/silcclient.h.
251 * Fixed timeout calculation in Symbian scheduler. Affected
252 file is lib/silcutil/symbian/silcsymbianscheduler.c.
254 Fri May 18 21:10:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
256 * Do not uninitialize u.m.threads atomic int in finish but in
257 free. Fixes crash on any platform using atomic operations
258 using mutexes (like Symbian). Affected file is
259 lib/silcutil/silcfsm.c.
261 * Fixes Symbian scheduler wakeup synchronization. Affected file
262 is lib/silcutil/symbian/silcsymbianscheduler.c.
264 Fri May 18 18:10:36 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
266 * Fixed nickname formatting to handle already formatted nicknames
267 better. Affected file is lib/silccilent/client_entry.c.
269 * Added "foo#2 appears as foo" support to SILC Client when user
270 leaves or quits and one formatted nickname remain. Affected file
271 is apps/irssi/src/silc/core/client_ops.c.
273 * Send SilcChannelEntry to application in SILC_NOTIFY_TYPE_SIGNOFF.
274 Affected file is lib/silcclient/client_notify.c.
276 Thu May 17 18:05:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
278 * Fixed silc_show_public_key to not free public key in case of
279 failure. Affected file is lib/silcapputil/silcapputil.c.
281 Thu May 17 17:09:50 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
283 * SILC Toolkit 1.1 Beta3.
285 * Porting Toolkit to Symbian. It should work while some sporadic
286 odd crashes remain. However I was able to run mybot on SILCNet.
287 Basically tested scheduler, net routines, socket routines,
288 threads and some other utility routines. Affected files are
289 in lib/silcutil/symbian/.
291 Thu May 17 11:57:40 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
293 * Show realname and email address from public key when verifying
294 cached public keys with GETKEY. Affected files are
295 apps/irssi/src/fe-common/module-formats.[ch] and
296 apps/irssi/src/silc/core/client_ops.c.
298 Wed May 16 20:41:04 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
300 * Include SILC Plugin theme. Affected file is apps/irssi/plugin.theme
302 * Include SILC Plugin /silc command help. Affected file is
303 apps/irssi/docs/help/silc
305 * Create channels before joining them. Affected file is
306 apps/irssi/src/silc/core/client_ops.c
308 Wed May 16 18:59:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
310 * Fixed channel private key listing with /key. Affected file
311 is apps/irssi/src/silc/core/silc-channels.c.
313 * Fixed the public headers from anonymous structures. Affected
316 * Changed silc_buffer_*len macros to inline functions. Affected
317 file is lib/silcutil/silcbuffer.h.
319 Wed May 16 10:21:45 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
321 * Fixed nickname format parsing in JOIN notify handling and
322 in WHOIS command reply. Affected file is
323 apps/irssi/src/silc/core/client_ops.c.
325 Wed May 16 09:34:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
327 * SILC Client 1.1 Beta4.
329 Tue May 15 23:55:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
331 * Added SILC_VERIFY macro which is equivalent to SILC_ASSERT
332 but is compiled always in. Affected file is
333 lib/silcutil/silclog.h.
335 * Use SILC_VERIFY in FSM macros instead of SILC_ASSERT which is
336 not there in release builds. Affected file is
337 lib/silcutil/silcfsm.h.
339 Tue May 15 21:19:09 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
341 * SILC Client 1.1-beta3
343 Mon May 14 23:20:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
345 * Added silc_utf8_c2w and silc_utf8_w2c to do UTF-8 to widechar
346 and widechar to UTF-8 conversions. Affected files are
347 lib/silcutil/silcutf8.[ch].
349 Mon May 14 19:45:14 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
351 * Include a README for the SILC Plugin
353 Sun May 13 22:08:59 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
355 * Adopt perl Makefiles for SILC Plugin.
357 Sun May 13 18:27:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
359 * Fixed client library initialization when the running callback
360 is not given to silc_client_init. Affected file is
361 lib/silcclient/client.c.
363 * Fixed Symbian compilation problems around the tree. Added
364 new Carbide.c++ project files to symbian/ directory.
366 * Fixed SilcLog API to work on Symbian. On Symbian it doesn't
367 use any globals. Affected files are lib/silcutil/silclog.c
370 Sun May 13 16:54:35 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
372 * Fix several warnings in Irssi's Makefiles.
374 Sun May 13 12:16:30 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
376 * Disable ASM if --with-pic was given. Affected file is
377 lib/silccrypt/configure.ad
379 Fri May 11 19:10:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
381 * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later
382 in case they are called from a thread. Affected file is
383 lib/silcutil/silcfsm.c.
385 * Fixed WIN32 thread creation to handle the Tls correctly.
386 Affected file is lib/silcutil/win32/silcwin32thread.c.
388 Thu May 10 18:29:18 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
390 * SILC Toolkit 1.1-beta2.
392 Thu May 10 18:21:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
394 * Fixed silc_net_tcp_connect crash on Unix and Win32. Handle
395 the socket async operation correctly. Changed that DNS lookup
396 is now done during connecting. Affected files are
397 lib/silcutil/[unix|win32]/silc[unix|win32]net.c.
399 * Changed also silc_net_tcp_connect on Symbian to do DNS lookup.
400 Affected file is lib/silcutil/symbian/silcsymbiannet.c.
402 * Optimize silc_net_gethostbyname to check if the name is already
403 IP address. Affected file is lib/silcutil/silcnet.c.
405 Wed May 9 19:51:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
407 * Print filename instead of empty function name in debug output
408 on WIN32. Affected files are lib/silcutil/silclog_i.h and
411 * Rewrote WIN32 SILC Scheduler. It now handles non-blocking file
412 descriptors and sockets better. Though, room for optimization
413 remains. Affected file is lib/silcutil/win32/silcwin32schedule.c.
415 * Removed silc_net_win32_[init|uninit]. They are called now
416 automatically when SILC Scheduler is allocated. Wrote IPv4
417 address parser because inet_addr seemed not to work on my WIN32.
418 Affected file is lib/silcutil/win32/silcwin32net.c.
420 * Improved socketstream.h and stream.h documentation.
422 Tue May 8 18:13:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
424 * Changed private message waiting API in client library to make
425 it work better with multiple waiting threads. The waiting is
426 not always per client entry instead of per connection. Affected
427 files are lib/silcclient/client_prvmsg.c, client.h and
430 * Changed silc_packet_wait_init function to accept the the expected
431 Source ID of the packet as argument. If specified only packets
432 with the specified types and Source ID are delivered. Affected
433 files are lib/silccore/silcpacket.[ch].
435 * Fixed file transfer disconnection crash when closing the session
436 directly in the monitor callback after disconnection. Affected
437 file is lib/silcclient/client_ftp.c.
439 * Make Toolkit compile on WIN32. Affected files in win32/
440 and in lib/silcutil/win32/.
442 * Changed silc_compare_timeval to return negative, zero or
443 positive instead of just TRUE or FALSE. This fixes 0 timeout
444 task dispatching on Windows. Affected files are
445 lib/silcutil/silctime.[ch] and silcschedule.c.
447 Mon May 7 18:18:48 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
449 * Fixed CMODE channel auth public key retrieval. Affected
450 file is lib/silcclient/command.c.
452 * Fixed CMODE command reply to return channel public keys
453 correctly. Affected files are lib/silcclient/command_reply.c
454 and client_channel.c.
456 Sun May 6 12:43:19 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
458 * Added current channel key cipher name and HMAC name to
459 SilcChannelEntry. Fixed channel private key creation.
460 Affected files are lib/silcclient/client_channel.c,
461 client_entry and silcclient_entry.h.
463 * Allow formatted nicknames as input to silc_client_get_clients
464 and silc_client_get_clients_whois. Affected file is
465 lib/silcclient/client_entry.c.
467 * Fixed silc_message_payload_free crash. Affected file is
468 lib/silccore/silcmessage.c.
470 * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to
471 lib/silccore/silcstatus.h.
473 Thu May 3 18:07:50 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
475 * Imported libtommath 0.41. Renamed all mp_* functions to
476 tma_mp_* functions to avoid rare linking problems on systems
477 with mp_* functions. Affected files are in lib/silcmath/.
479 Wed May 2 17:46:25 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
481 * SILC Toolkit 1.1 Beta1.
483 Wed May 2 11:38:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
485 * Set the server and router operator modes to local entry after
486 successful OPER or SILCOPER commands. Affected file is
487 lib/silcclient/command_reply.c.
489 Tue May 1 14:17:06 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
491 * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API,
492 and other smaller APIs to WIN32. Affected files are in
495 * Changed the various regex APIs as generic code in util library.
496 Affected files are lib/silcutil/silcstrutil.[ch].
498 Sat Apr 28 13:47:47 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
500 * Ported SILC Server to the new Toolkit API, working towards
501 SILC Server 1.1. Affected files are in apps/silcd/.
503 * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key
504 to lib/silcskr/silcskr.[ch].
506 * Fixed SILC public key copying to copy the identifier also.
507 Affected file is lib/silccrypt/silcpk.c.
509 * Added silc_packet_error_string to lib/silccore/silcpacket.[ch].
511 * Fixed OPER and SILCOPER passphrase asking in Client library.
512 Affected file is lib/silcclient/command.c.
514 Tue Apr 24 17:55:24 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
516 * Fixed command queue enabling after connecting to server.
517 The comparisons was from after changing to silc_utf8_strcasecmp.
518 Affected file is apps/irssi/src/silc/core/silc-servers.c.
520 * Fixed nickname setting with own client entry with 1.3 protocol
521 version server. Affected file lib/silcclient/client_register.c.
523 * Ignore error notify for local client entry. Affected file is
524 lib/silcclient/client_notify.c.
526 * Implemented responder rekey to SKE library. Affected files are
527 lib/silcske/silcske.[ch].
529 * Fixed connection auth protocol completion sending. Affected
530 file lib/silcske/silcconnauth.c.
532 Mon Apr 23 17:20:01 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
534 * Do not call TCP network listener callback with any error
535 status, as documented. Affected file is
536 lib/silcutil/unix/silcunixnet.c.
538 Sun Apr 22 21:13:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
540 * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
542 * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type.
543 Changed silc_skr_find to have SilcSchedule argument and removed
544 it from silc_skr_[alloc|init]. Affected files are
545 lib/silcskr/silcskr.[ch].
547 * Allow NULL id for silc_idcache_add. Affected file is
548 lib/silcapputil/silcidcache.c.
550 * Added silc_packet_stream_is_valid, silc_packet_get_ids and
551 silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch].
552 Fixed also channel message encryption with router-to-router
555 * Added silc_id_str2id2 to lib/silccore/silcid.[ch].
557 * Added silc_net_get_error_string, silc_net_listener_get_ip and
558 silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
560 Tue Apr 10 15:55:42 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
562 * Add option --enable-silc-plugin. Affected files are
563 apps/irssi/configure.{ad,in}
565 * Only compile the SILC Plugin if required. Affected files are
566 apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am
568 * Conditionally build the SILC Plugin. Affected files are
569 apps/irssi/src/silc/core/Makefile.am,
570 apps/irssi/src/fe-common/silc/Makefile.am
572 * Backout delayed protocol exit and replace with a lame busy
573 wait. Affected files are apps/irssi/src/fe-text/silc.c,
574 apps/irssi/src/silc/core/silc-core.c
576 * Fix key generation for SILC Plugin. Affected file
577 apps/irssi/src/silc/core/clientutil.c
579 Tue Apr 10 12:40:19 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
581 * Only pass -rpath to libtool when building shared libraries.
582 Affected file lib/Makefile.ad
584 * Removing the stray "s" in configure.ad
586 Sat Mar 24 19:13:58 CET 2007 Jochen Eisinger <coffee@silcnet.org>
588 * Redraw the screen after creating a new key. Affected file
589 apps/irssi/src/silc/core/clientutil.c
591 Sun Mar 18 15:54:10 EET 2007 Pekka Riikonen <priikone@silcnet.org>
593 * Added SILC Client setting /set nickname_format that specifies
594 the nickname format string. Changed default nickname format
595 string to "%n#%a". Affected file is
596 apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf.
598 * Fixed nickname parsing with WHOIS command to accept formatted
599 nicknames. Changed the silc_client_get_clients_local to allow
600 the searched nickname to be formatted nickname. Removed %s and
601 %S nickname formatters. Affected files are in lib/silcclient/.
603 * Added silc_client_nickname_parse to Client library API. Affected
604 file is lib/silcclient/silcclient.h.
606 * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY
607 commands. Affected file are
608 apps/irssi/src/silc/core/silc-servers.c and silc-channels.c.
610 Sat Mar 17 19:07:15 CET 2007 Jochen Eisinger <coffee@silcnet.org>
612 * Incorporate SILC Plugin patches. Affected files are
613 apps/irssi/src/fe-common/silc/module-formats.{c,h},
614 apps/irssi/src/silc/core/clientutil.{c,h},
615 apps/irssi/src/silc/core/silc-core.c,
616 apps/irssi/src/silc/core/silc-chatnets.{c,h},
617 apps/irssi/src/fe-common/silc/fe-silcnet.c, and
618 apps/irssi/src/fe-common/silc/module.h
620 Wed Mar 14 17:31:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
622 * In notify handling resolve user entries many times if the
623 resolving timedout. Affected file lib/silcclient/client_notify.c.
625 * silc_client_get_clients_local do not return any invalid entries.
626 Affected file is lib/silcclient/client_entry.c.
628 * Do not print "there are now xx user on this channel" for users
629 that actually aren't anymore on the channel. Affected file
630 is apps/irssi/src/client_ops.c.
632 Sun Mar 11 17:43:18 CET 2007 Jochen Eisinger <coffee@silcnet.org>
634 * When joining channels with a password given in the config file,
635 use it. Also use it when cycling (it would be better to get
636 the password from the server, but this isn't possible in SILC).
637 Affected files apps/irssi/src/silc/core/silc-servers.c,
638 apps/irssi/src/silc/core/silc-channels.c
640 Sun Mar 11 15:22:42 CET 2007 Jochen Eisinger <coffee@silcnet.org>
642 * Import perl script for sign_messages from silc-plugin. Affected
643 file apps/irssi/scripts/silc.pl
645 Sun Mar 11 15:19:10 CET 2007 Jochen Eisinger <coffee@silcnet.org>
647 * Only wait for a nick on connecting, when it differs
648 (not counting case) from the username. Affected file
649 is apps/irssi/src/silc/core/silc-servers.c
651 Sun Mar 11 13:50:53 CET 2007 Jochen Eisinger <coffee@silcnet.org>
653 * Use time settings for lag settings. Affected file is
654 apps/irssi/src/silc/core/silc-lag.c
656 Tue Feb 27 17:07:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
658 * Added silc_thread_yield. Affected file is
659 lib/silcutil/silcmutex.h.
661 Wed Feb 21 17:01:01 EET 2007 Pekka Riikonen <priikone@silcnet.org>
663 * Fixed WHOIS command and requested attributes handling in
664 client library. Affected files are lib/silcclient/command.c
665 and lib/silcclient/client_attrs.c.
667 * Fixed silc_time_value to actually work. Added new function
668 silc_timezone. Affected files are lib/silcutil/silctime.[ch].
670 Tue Feb 20 08:31:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
672 * SILC Client 1.1 beta2.
674 Mon Feb 19 16:06:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
676 * Fixed client to properly abort TCP stream creation when
677 giving /QUIT. Affected file
678 apps/irssi/src/silc/core/silc-servers.c.
680 * Fixed several connecting aborting crashes from the client
681 library, packet engine and socket stream. Affected files
682 are in lib/silclient/, lib/silccore/silcpacket.c and
683 lib/silcutil/unix/silcunixsocketstream.c.
685 * Fixed private key export double free crash in key generation.
686 Affected file is lib/silccrypt/silcpk.c.
688 * Fixed FSM event waiting when there are multiple signallers
689 and the waiter goes away after the first signal. Affected
690 file in lib/silcutil/silcfsm.c.
692 Sun Feb 18 22:02:22 EET 2007 Pekka Riikonen <priikone@silcnet.org>
694 * Fixed FSM event signalling to check if the waiter has gone
695 away already. Affected file is lib/silcutil/silcfsm.c.
697 * Fixed counter mode encryption/decryption to handle non-padded
698 SILC packets correctly. The silc_cipher_set_iv now
699 in counter mode resets for a new block. Affected files are
700 in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
702 Sun Feb 18 12:15:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
704 * SILC Client 1.1 beta1.
706 * Memory leak fixes around the libraries.
708 Fri Feb 16 16:53:16 EET 2007 Pekka Riikonen <priikone@silcnet.org>
710 * Added better check for epoll() in configure. Affected file
713 Thu Feb 15 16:50:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
715 * Fixed per scheduler data input buffer in packet engine. Use
716 list of inbufs instead of just one so that multiple streams
717 can do partial reads to different buffers. Affected file is
718 lib/silccore/silcpacket.c.
720 * Fixed WATCH notify handling in client library. Affected file
721 is lib/silcclient/client_notify.c.
723 Wed Feb 14 17:05:38 EET 2007 Pekka Riikonen <priikone@silcnet.org>
725 * Fixed packet wrapper stream API to support encoder/decoder
726 for packets, and to handle partial reading correctly. Fixed
727 also inbuf size checking in reading to have enough space before
728 reading. Affected files are lib/silccore/silcpacket.[ch].
730 * Rewrote file transfer in client library. Affected files are
733 * Added TCP/UDP listener (internal) API to client library to have
734 generic way of dealing with listeners. Fixed Key Agreement and
735 file transfer to use it. Affected files are in lib/silcclient/.
737 * Fixed SKE to process SUCCESS packets synchronously and to call
738 completion synchronously. Affected file is lib/silcske/silske.c.
740 * Fixed pthread rwlock detection. Affected file includes/silc.h.in.
742 * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER. Affected files are
743 lib/silccore/silcattrs.[ch]. SILC Protocol version 1.3 change.
745 Fri Feb 2 22:24:11 EET 2007 Pekka Riikonen <priikone@silcnet.org>
747 * Added support for SILC protocol version 1.3 NEW_CLIENT packet
748 to client library. Affected file is
749 lib/silcclient/client_register.c.
751 * Serialize NICK and JOIN commands to avoid problems locally
752 with changing ID while joining to channel. Affected file is
753 lib/silcclient/command.c.
755 * Fixed entry resolving while handling incoming JOIN notify.
756 Handle properly cases, in re-processing of notify packets, where
757 the IDs may become invalid while resolving the entry (like nick
758 change). Entry is invalid if it doesn't have nickname, and such
759 entries are not delivered to application anymore. These fixes
760 problems of not seeing JOINs when remote user changes nickname
761 at the same time. Affected files are in lib/silcclient/.
763 Thu Feb 1 18:35:58 EET 2007 Pekka Riikonen <priikone@silcnet.org>
765 * Added support for computing message payload MAC in new way
766 (SILC Protocol version 1.3). Bakcwards support for old way
767 remains. Affected files are lib/silccore/silcmessage.[ch].
769 Sat Jan 27 22:37:30 EET 2007 Pekka Riikonen <priikone@silcnet.org>
771 * Added SilcRwLock API, a read/write lock. Affected files are
772 lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
774 Wed Jan 24 18:55:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
776 * Merged Irssi SVN (irssi 0.8.11). Affected files in apps/irssi/.
778 Tue Jan 23 16:05:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
780 * The silc_schedule_set_listen_fd now returns boolean value.
781 Fixed FD task adding to check correctly for already added
782 FD tasks. Added stricter error checking for FD scheduling
783 with epoll(). Affected files are lib/silcutil/silcschedule.[ch]
784 and lib/silcutil/unix/silcunixschedule.c.
786 * The silc_stream_set_notifier now returns boolean value. Changed
787 all streams to support and check for the error condition.
788 Affected files are in lib/silcutil/.
790 * Fixed SKE library session aborting and deletion. Affected
791 file are lib/silcske/silcske.c.
793 Tue Jan 16 18:22:08 EET 2007 Pekka Riikonen <priikone@silcnet.org>
795 * Implemented PKCS #1 with appendix with hash OID in the
796 signature. Affected files are lib/silccrypt/silcpkcs1.[ch],
797 lib/silccrypt/silchash.[ch] and
798 lib/silcasn1/silcasn1[_encode|decode].[ch].
800 Sun Jan 14 23:12:41 EET 2007 Pekka Riikonen <priikone@silcnet.org>
802 * Added support for Version (V) SILC public key identifier.
803 Affected files are lib/silccrypt/silcpk.[ch].
805 Tue Jan 9 19:37:51 EET 2007 Pekka Riikonen <priikone@silcnet.org>
807 * Rewrote connection auth request in client library. It is now
808 done automatically by the library and the resolved method given
809 as a hint to get_auth_method client operation. Affected files
812 Wed Jan 3 18:06:33 EET 2007 Pekka Riikonen <priikone@silcnet.org>
814 * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch].
815 It can be used to wrap SilcPacketStream into SilcStream.
817 * Fixed %p formatting from silc_snprintf. Affected file is
818 lib/silcutil/silcsnprintf.c.
820 * Ported SFTP library to new utility library. Ported also
821 the SFTP testers. Affected files in lib/silcsftp/.
823 Tue Jan 2 17:18:46 EET 2007 Pekka Riikonen <priikone@silcnet.org>
825 * Added lib/silcutil/silcsnprintf.[ch]. Added in addition
826 of silc_snprintf, silc_vsnprintf, silc_asprintf and
829 Sat Dec 30 23:23:17 EET 2006 Pekka Riikonen <priikone@silcnet.org>
831 * Added preliminary Symbian support. Changes around the source
832 tree. The symbian/ directory now includes Carbide.c++ project
833 files to compile the sources.
835 * Added silc_snprintf. Affected files are
836 lib/silcutil/silcstrutil.[ch].
838 Thu Dec 21 18:01:51 EET 2006 Pekka Riikonen <priikone@silcnet.org>
840 * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to
841 macros. SILC_FSM_CONTINUE macro now immediately calls the
842 next state instead of first returning back to FSM. Helps
843 in debugging crashes etc.
845 Removed FSM Semaphores. Introduced FSM Event which is
846 asynchronous event. Affected files are in lib/.
848 * Added epoll(7) support to SILC Scheduler. It is used by default
849 if it is available. Affected files are
850 lib/silcutil/silcschedule.[ch],
851 lib/silcutil/unix/silcunixschedule.c.
853 Tue Dec 19 20:39:35 EET 2006 Pekka Riikonen <priikone@silcnet.org>
855 * Added CTR mode to AES. Simplified cipher implementation API
856 more. Affected files are in lib/silccrypt/.
858 Sun Dec 17 16:46:55 EET 2006 Pekka Riikonen <priikone@silcnet.org>
860 * Removed `detach' client operation. The detachment data is
861 now delivered in SILC_COMMAND_DETACH command reply to
862 application. Affected file in lib/silcclient/.
864 * Rewrote resuming/detaching in client library.
866 * Added boolean encryption indicator for silc_cipher_set_key.
867 Affected files lib/silccrypt/silccipher.[ch].
869 Wed Dec 13 18:05:50 EET 2006 Pekka Riikonen <priikone@silcnet.org>
871 * Added silc_likely and silc_unlikely macros for GCC branch
872 prediction optimizations. Affected file lib/silcutil/silctypes.h.
874 * Added assembler AES optimization. Cleaned up the SILC Cipher
875 implementation API. Affected files are in lib/silccrypt/.
877 Tue Dec 12 18:56:14 EET 2006 Pekka Riikonen <priikone@silcnet.org>
879 * Changed back the SILC_FSM_THREAD_WAIT operation to not
880 continue to next state if thread is finished already. That
881 check is not done anymore. Affected files are
882 lib/silcutil/silcfsm.[ch].
884 Sun Dec 10 13:54:52 EET 2006 Pekka Riikonen <priikone@silcnet.org>
886 * Removed silc_packet_[get|set]_ciphers and
887 silc_packet_[get|set]_hmacs. Added silc_packet_set_keys that
888 handle REKEY_DONE packet sending in rekey. Affected files
889 are lib/silccore/silcpacket.[ch].
891 * Added silc_fsm_is_started. Affected files are
892 lib/silcutil/silcfsm.[ch].
894 * Added settings sign_channel_message, sign_private_message
895 and key_exchange_rekey_pfs to SILC Client. Added UDP transport
896 support for key agreement in /KEY command. Affected files
897 in apps/irssi/src/silc/core/.
899 * During SILC Client initialization forward log messages to
900 stderr. Affected files in apps/irssi/src/silc/core/.
902 Thu Dec 7 19:07:21 EET 2006 Pekka Riikonen <priikone@silcnet.org>
904 * Added silc_ske_get_key_material. Affected files are
905 lib/silcske/silcske.[ch].
907 * Added silc_packet_stream_is_udp. Affected files are
908 lib/silccore/silcpacket.[ch].
910 * Added SKE packet retransmission support with UDP transport.
911 Affected file is lib/silcske/silcske.c.
913 Sun Dec 3 22:00:12 EET 2006 Pekka Riikonen <priikone@silcnet.org>
915 * Added silc_socket_stream_is_udp. Affected file is
916 lib/silcutil/silcsocketstream.[ch].
918 * Added UDP transport support to packet engine. Affected file
919 is lib/silccore/silcpacket.c.
921 * Added silc_socket_stream_is_udp. Affected file is
922 lib/silcutil/silcsocketstream.[ch].
924 Sat Nov 18 11:33:03 EET 2006 Pekka Riikonen <priikone@silcnet.org>
926 * Added silc_packet_send_va[_ext] to send variable argument
927 formatted buffers. Affected files lib/silcore/silcpacket.[ch].
929 * Timeout freelist garbage collection added to scheduler.
930 Affected file lib/silcutil/silcschedule.c.
932 Thu Nov 9 18:12:15 EET 2006 Pekka Riikonen <priikone@silcnet.org>
934 * Added silc_show_public_key_file to
935 lib/silcapputil/silcapputil.[ch].
937 * Added SILC_STR_ADVANCE support for buffer unformatting.
938 Affected file lib/silcutil/silcbuffmt.c.
940 Tue Nov 7 18:04:36 EET 2006 Pekka Riikonen <priikone@silcnet.org
942 * Added silc_string_split to lib/silcutil/silcstrutil.[ch].
944 * Added silc_mutex_assert_locked to lib/silcutil/silcmutex.h.
946 * silc_fsm_continue[_sync] now cancels erlier timeout set with
947 silc_fsm_next_later. Affected file lib/silcutil/silcfsm.c.
949 Sat Nov 4 21:50:37 EET 2006 Pekka Riikonen <priikone@silcnet.org
951 * Added SILC_STR_FUNC to buffer format API. Affected files
952 are lib/silcutil/silcbuffmt.[ch].
954 * Added silc_buffer_[s]enlarge to lib/silcutil/silcbuffer.h.
956 * No more memory allocation for message payload parsing.
957 Pre-allocated buffer can be used with message payload encoding.
958 Affected files lib/silccore/silcmessage.[ch].
960 Fri Oct 27 21:01:26 EEST 2006 Pekka Riikonen <priikone@silcnet.org
962 * Added silc_buffer_sunformat and silc_buffer_sunformat_vp
963 to silcutil/silcbuffmt.[ch].
965 Sun Oct 22 13:03:07 EEST 2006 Pekka Riikonen <priikone@silcnet.org
967 * Added SILC_STR_BUFFER to format and unformat SilcBuffer.
968 Affected file lib/silcutil/silcbuffmt.[ch].
970 * Removed silc_schedule_signal_[un]register and
971 silc_schedule_signal_call. Added silc_schedule_task_add_signal
972 to add signal task. Only one callback per signal may be
973 added. The signals are now automatically called back to
974 caller. Affected files lib/silcutil/silcschedule.[ch] and
975 silcutil/[unix/win32]/silc[unix/win32]schedule.c.
977 * Added silc_time_msec and silc_time_usec to silcutil/silctime.[ch].
979 * Added SilcSKEParams for SKE parameters and simplied even more
980 the SKE interface. Affected files are lib/silcske/silcske.[ch].
981 Added support for IV included and session port handling with
984 * Added Secure ID (SID) support with IV Included flag (for UDP/IP)
985 in lib/silccore/silcpacket.[ch]. Added silc_packet_set_sid
986 which is called after every rekey when IV Included flag is used.
987 See SILC specifications for details.
989 Thu Oct 19 10:03:03 EEST 2006 Pekka Riikonen <priikone@silcnet.org
991 * Added lib/silcapputil and moved SILC application specific
992 utility routines from the generic util library lib/silcutil
993 to the new library. Removed lib/silcidcache and moved that
994 to lib/silcapputil as well.
996 Tue Sep 19 00:14:11 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
998 * Added SILC_STR_ADVANCE. Affected file is
999 lib/silcutil/silcbuffmt.[ch].
1001 * The silc_buffer_strformat preserves buffer locations now.
1003 * Added lib/silcutil/silcatomic.h for atomic operations.
1005 Sat Sep 16 11:23:06 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1007 * Added lib/silchttp, SILC HTTP server, a very simple HTTP
1010 * Fixed MIME deocing when data portion is not present.
1011 Affected file lib/silcutil/silcmime.c.
1013 Wed Jul 19 12:06:38 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1015 * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/.
1017 * Added IV Included support to packet routines, to allow
1018 packet sending and receiving on UDP/IP. Affected files are
1019 lib/silccore/silcpacket.[ch].
1021 * Added SILC_FSM_YIELD. Affected files lib/silcutil/silcfsm.[ch].
1023 Tue Jul 18 20:10:28 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1025 * Added UDP support to network and socket stream library.
1027 Sat Jun 24 22:33:18 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
1029 * Added conditional variables. New files are
1030 lib/silcutil/silcondvar.h and platform specific implementations.
1032 Thu Jan 5 20:02:31 CET 2006 Patrik Weiskircher <pat@icore.at>
1034 * make sure session->hostname and session->port are valid before the
1035 application callback is done, since things will go wrong if the
1036 application immediately calls silc_client_file_receive. Affected
1037 file lib/silcclient/client_ftp.c.
1038 Patch received from Stefan Siegel <stesie@brokenpipe.de>, thanks!
1040 Fri Dec 30 22:54:21 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1042 * New SILC PKCS API enabling support for other public keys
1043 and certificates, lib/silccrypt/silcpkcs.[ch], silcpk.[ch].
1045 * Separated SILC Public Key Payload routines from the PKCS API
1046 to lib/silccore/silcpubkey.[ch].
1048 Wed Dec 28 13:55:22 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1050 * Added SILC Key Repository library, lib/silcskr.
1052 * Added SILC Server library, lib/silcserver.
1054 Mon Dec 19 18:04:24 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1056 * MIME objects in attributes now use SilcMime. Affected files
1057 are lib/silccore/silcattrs.[ch].
1059 Sat Dec 17 20:13:31 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1061 * Synchronize semaphore posting for real threads in FSM.
1062 Affected files are lib/silcutil/silcfsm.c, silcfsm_i.h.
1064 Mon Nov 28 17:06:54 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1066 * Added silc_file_set_nonblock. Affected file is
1067 lib/silcutil/silcfileutil.h.
1069 * Added silc_fd_stream_file to lib/silcutil/silcfdstream.[ch].
1071 Sat Nov 26 16:13:40 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1073 * FSM based implementation of SILC SKE. Simpler interface also.
1074 Affected files are in lib/silcske/.
1076 * Added SilcBool type. Affected file lib/silcutil/silctypes.h.
1078 Sat Nov 19 17:34:51 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1080 * Added SilcMime API to lib/silcutil/silcmime.[ch]. The old
1081 silc_mime_parse is available but deprecated.
1083 * Check that packet is valid when processing key exchange,
1084 authentication and rekey protocols. Fixes a crashbug.
1085 Affected files are apps/silcd/protocol.c and
1086 lib/silcclient/protocol.c.
1088 * Added SILC_HASH_MAXLEN to lib/silccrypt/silchash.h, and changed
1089 all hash buffers to use that instead of fixed values.
1091 Wed Nov 16 15:47:12 EET 2005 Pekka Riikonen <priikone@silcnet.org>
1093 * Added SHA-256 to crypto library. The SHA-256 takes now
1094 precedence over SHA-1.
1096 Thu May 26 20:31:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1098 * Check for valid return value from regcomp. Affected file
1099 lib/silcutil/unix/silcunixutil.c.
1101 Tue May 10 23:11:17 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1103 * Fixed silc_hash_uint to work with integers. Affected
1104 file lib/silcutil/silcutil.c.
1106 Tue May 10 15:11:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1108 * Rewritten SILC Log API. Affected files lib/silcutil/silclog.[ch].
1110 Mon May 9 12:00:08 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1112 * Fixed channel public key list saving on JOIN command reply
1113 on backup router. Affected file apps/silcd/command_reply.c.
1115 Mon May 2 10:42:49 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1117 * Added default limit how many channels client can join,
1118 default is 50. Added 'channel_join_limit' configuration
1119 option to server too. Affected files are apps/silcd/command.c
1120 and serverconfig.[ch].
1122 Sun May 1 17:42:55 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1124 * --without-silc -> --with-silc, --without-irssi -> --with-irssi.
1125 On Toolkit the server and client are not compiled by default.
1126 Affected file configure.ad.
1128 Thu Apr 28 15:57:37 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1130 * Added lib/contrib/getopt.[ch] for platforms that don't
1131 have it (it is not GPL implementation).
1133 * Fixed compilation when pkg-config is used.
1135 Wed Apr 27 11:49:41 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1137 * A comma in invite/ban string is invalid, check for it.
1138 Affected file apps/silcd/server_util.c.
1140 * Added SERVICE command to the server. It parses the command
1141 request but SILC Server does not support services for the
1142 time being. Affected file apps/silcd/command.[ch].
1144 * Added SERVICE command and command reply to client library.
1145 It is however incomplete. Updated Toolkit documentation.
1146 Affected files are lib/silcclient/command[_reply].[ch].
1148 * Fixed IDENTIFY/WHOWAS command reply to send the username
1149 correctly (uninitialized buffer). Affected file is
1150 apps/silcd/server_query.c.
1152 Mon Apr 25 14:25:24 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1154 * Moved silcer/, silc/, silcd/ and irssi/ to apps/. This
1155 finalizes the major restructuring of the CVS tree.
1157 Mon Apr 25 00:39:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1159 * Send empty MOTD reply if MOTD file cannot be read.
1160 Affected file silcd/command.c.
1162 Sun Apr 24 12:01:37 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1164 * Optimized primer number generator to use simpler conversion
1165 routines. Also assure that the prime number will have the
1166 highest bit set after modifying it. Affected file is
1167 lib/silcmath/silcprimegen.c.
1169 * Added LibTomMath to SILC Math library (SILC_DIST_TMA).
1171 * Added FastTomMath to SILC Math Library (SILC_DIST_TFM),
1172 for now only for testing purposes, it will not be delivered
1173 in any distribution for now.
1175 * Removed NSS MPI from the source tree. Due to upcoming
1176 license change for the SILC Toolkit, we cannot deliver the
1177 NSS MPI anymore. I decided to replace it in all distributions
1178 with public domain library.
1180 * Removed GNU regex from lib/contrib and introduced free
1181 GNU compatible regex, lib/contrib/regexpr.[ch]. Added
1182 GNU regex compatible API to it (only partial).
1184 * Removed getopt routines from lib/contrib.
1186 Fri Apr 22 12:21:44 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1188 * Use silc_server_send_command_reply to send replies instead
1189 of encoding packet itself. Affected file silcd/command.c.
1191 * Added command sending and receiving statistics to server.
1192 Affected files in silcd/.
1194 * GCC 4 warning fixes. -Wno-pointer-sign option is now used
1195 with GCC, for it not to warn about pointer signedness.
1197 Tue Apr 19 11:57:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1199 * Added context to the SilcIDCache destructor. Affected
1200 files are lib/silccore/silcidcache.[ch],
1201 lib/silcclient/client.c and silcd/server.c.
1203 Mon Apr 18 09:53:28 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1205 * Added pkg-config check to configure.
1207 * The PublicKeyDir must not be used with Admin block in server
1208 config. Affected file silcd/serverconfig.c.
1210 Sat Apr 16 20:23:48 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1214 Thu Apr 14 20:25:08 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1216 * Handle empty LIST command reply correcttly in server. Affected
1217 file silcd/command_reply.c.
1219 * Handle empty LIST command reply correctly in client library.
1220 The application will now receive one LIST command reply with
1221 all arguments set to NULL if there are no channels. Updated
1222 Client Library documentation accordingly. Affected file
1223 lib/silcclient/command_reply.c.
1225 Tue Apr 12 00:02:09 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1227 * Added channel name string stringprep profile to the protocol
1228 and implementation to allow a little free'er channel name
1229 strings. Affected files are lib/silcutil/silcstringprep.[ch].
1231 * Added silc_channel_name_[check|verify] to check and verify
1232 channel name strings. Affected files are
1233 lib/silcutil/silcstrutil.[ch].
1235 * Added support for the new channel name preparation in client
1236 library and server. Affected files in lib/silcclient and
1239 Mon Apr 11 13:40:27 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1241 * Added the Autodist into the source tree. It replaces the
1242 old ./prepare. It can be used to create distributions as
1243 previously. See README.CVS and README.DIST. See
1244 distributions in distdir/.
1246 Sun Apr 10 11:30:56 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1248 * Make sure query sends at least an error back if nothing
1249 more is sent. Affected file silcd/server_query.c.
1251 Thu Apr 7 14:50:01 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1253 * During query, check if the original command caller goes
1254 away. If it does, stop the query. Affected file
1255 silcd/server_query.c.
1257 * Check for valid channel creation in JOIN command reply.
1258 Affected file lib/silcclient/command_reply.c.
1260 * Handle the resolver counter in silc_client_get_users_by_channel
1261 callback correctly. Fixed auto-join bug in Gaim. Affected
1262 file lib/silcclient/idlist.c.
1264 Wed Apr 6 16:56:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1266 * Added some better error messages. Affected file
1267 silcd/command_reply.c and packet_receive.c.
1269 * Handle error in WATCH command propely on backup router.
1270 Affected file silcd/command.c.
1272 * Fixed freeing of unfreeable variable in WHOIS command reply.
1273 Affected file silcd/command_reply.c.
1275 Wed Apr 6 09:10:31 CEST 2005 Pekka Riikonen <priikone@silcnet.org>
1277 * Added pkg-config .pc file creation for silc core library
1278 and silcclient library. A patch by c0ffee.
1280 * Removed the need for GNU Libidn. Added the simple stringprep
1281 from libidn into lib/contrib/. It is now used also on Windows
1284 Mon Apr 4 15:15:46 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1286 * Simplified the invite and ban string handling in the
1287 server. Check for valid invite and ban arguments also.
1288 Affected file silcd/server_util.c.
1290 Sun Apr 3 14:58:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1292 * Added WATCH list announcing in backup router protocol.
1293 Affected files are silcd/command.c, server.c, server_backup.c.
1295 * Do not change users mode to founder on normal server/backup
1296 if the founder mode is set, and user is first one to join.
1297 Affected file silcd/pcaket_receive.c.
1299 * Do not send CUMODE_CHANGE notify back to sender. Affected
1300 file silcd/packet_receive.c.
1302 * Added getrusage() to take noise in SILC RNG. A patch by
1303 Mika Boström. Affected files are configure.in.pre,
1304 includes/silcincludes.h.in, lib/silccrypt/silcrng.c.
1306 Sat Apr 2 18:09:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1308 * Splitted the SILC libraries configuration into a configure
1309 fragment into lib/configure.ad. It is now possible, once
1310 this feature is added, to specify whether to compile or not
1311 compile included SILC libraries. Affected files are
1312 configure.in.pre, lib/silcmath/mpi/configure.ad,
1313 lib/configure.ad, Makefile.defines.pre and
1314 Makefile.defines_int.pre.
1316 * Added --with-silc-includes and --with-silc-libs to configure.
1317 If specified the included libs are not compiled, but the
1318 specified libs are used. Pkg-config is not yet supported.
1319 Affected file configure.in.pre.
1321 * Fixed WATCH command handling on backup router. Router does not
1322 send the watch command any more to backup if it originates from
1323 backup. Affected file silcd/command.c.
1325 Fri Apr 1 18:52:47 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1327 * Changed announcing to not announce unregistered clients.
1328 Affected file silcd/server.c.
1330 * Fixed username handling in command reply. Affected file
1331 silcd/command_reply.c.
1333 * Log files are now 0600. Affected file lib/silcutil/silclog.c.
1335 Thu Mar 31 22:34:22 CEST 2005 Patrik Weiskircher <pat@icore.at>
1337 * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
1338 Affected file: includes/silcincludes.h.in
1340 * bool is defined as _Bool on Mac OS X now.
1341 Affected file: lib/silcutil/silctypes.h
1343 Thu Mar 31 08:52:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1345 * Added support for UTF-8 nicknames, channel names and
1346 server names in client library. Affected files in
1349 * Added __SILC_HAVE_PTHREAD, __SILC_HAVE_SIM, __SILC_HAVE_LIBIDN,
1350 and __SILC_ENABLE_DEBUG to include/silcclient.h for third-party
1351 software to check how Toolkit has been compiled.
1353 Wed Mar 30 22:16:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1355 * Added silc_utf8_str[n]casecmp into lib/silcutil/silcutf8.[ch].
1357 * Use silc_utf8_str[n]casecmp instead of strcmp routines
1358 in library and in SILC Client when dealing with nicknames
1359 and other identifier strings. Affected file in client lib
1362 * Convert nickname to UTF-8 in /msg and /smsg. Affected file
1363 irssi/src/silc/core/silc-servers.c.
1365 Wed Mar 30 10:50:02 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1367 * Fixed idcache to work with the new identifier strings.
1368 Affected file lib/silccore/silcidcache.c.
1370 * Added UTF-8 hash and compare function for SilcHashTable.
1371 Affected file lib/silcutil/silcutil.[ch].
1373 * Added casefolding stringprep, SILC_CASEFOLD_PREP.
1374 Affected file lib/silcutil/silcstringprep.[ch].
1376 * Changed the identifier string handling to include the original
1377 format in client, server, channel entries and normalized
1378 format in cache. Affected files in silcd/.
1380 Tue Mar 29 16:51:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1382 * Added support for the new identifier strings and their
1383 validity checking. Nicknames, channel names and usernames
1384 can now include practically any kind of letters and various
1385 other characters. Affected files in silcd/ and in libraries.
1387 NOTE: comparing these strings should now be done with memcmp()
1388 to check binary compatibility. All these strings are normalized
1389 and casing is irrelevant.
1391 * Added silc_identifier_check to lib/silcutil/silcstrutil.[ch]
1392 as easy function for applications to check whether identifier
1395 Tue Mar 29 00:45:11 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1397 * Fixed SILC_STRING_LDAP_DN encoding and decoding. Affected
1398 file lib/silcutil/silcutf8.c.
1400 * Added SILC_STRING_UTF8_ESCAPE to lib/silcutil/silcstrutil.h.
1402 Mon Mar 28 22:46:23 CEST 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1404 * Make public key in getkey reply mandatory. Affected file
1405 lib/silcclient/command_reply.c
1407 Sun Mar 27 19:03:31 CEST 2005 Patrik Weiskircher <pat@icore.at>
1409 * Added Parameter dont_register_crypto_library to
1410 SilcClientParam. If set to TRUE, silcclient library will
1411 not initalize the Crypto Libraries and application
1412 will need to do it. Affected file lib/silcclient/silcclient.h,
1413 lib/silcclient/client.c.
1415 Sun Mar 27 19:02:48 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1417 * Imported new silc_utf8_[encode|decode] routines from
1418 my internal SILC 1.1 source tree. New encodings added:
1419 SILC_STRING_LOCALE (SILC_STRING_LANGUAGE is deprecated),
1420 SILC_STRING_UTF8, SILC_STRING_PRINTABLE, SILC_STRING_VISIBLE,
1421 SILC_STRING_TELETEX, SILC_STRING_NUMERICAL and
1422 SILC_STRING_LDAP_DN.
1424 * Splitted UTF-8 routines into lib/silcutil/silcutf8.[ch].
1426 * Implemented stringprep (RFC 3454) API. Internally we use
1427 GNU Libidn's stringprep, for now, so it is required now to
1428 compile SILC sources. Added lib/silcutil/silcstringprep.[ch].
1430 * Added checking for GNU Libidn and --with-libidn to configure.
1432 Wed Mar 23 11:20:33 CET 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1434 * If the passphrases entered do not match while generating a new key,
1435 completly start over instead of going into an infinite loop asking
1436 the user to re-enter the passphrase correctly. Affected file
1437 lib/silcutil/silcapputil.c
1439 Sun Jan 9 14:28:51 CET 2005 Pekka Riikonen <priikone@silcnet.org>
1441 * Make sure server is removed from backup list when it is
1442 deleted. Affected files silcd/command.c, server.c,
1445 * Close socket when connecting to router fails. Affected
1446 file silcd/server.c.
1448 Tue Jan 4 13:06:26 CET 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1450 * Adopt configuration toolchain to current auto-tools.
1451 Affected files prepare, irssi/configure.in
1452 * Revert most of the UTF-8 fixes to SILC Client 1.0.1. Will
1453 redo that. Affected files irssi/src/silc/core/client_ops.c,
1454 irssi/src/fe-common/silc/fe-silc-channels.c
1455 * Take over command line options into silcclient data structure.
1456 Affected file irssi/src/silc/core/silc-core.c
1458 Wed Dec 8 16:15:11 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1460 * Do not try to initiate backup resuming protocol forever.
1461 Affected file silcd/server_backup.c.
1463 Wed Nov 24 18:24:05 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1465 * ID change in resuming has to be done before changing
1466 detached client's modes, since the ID change may fail and
1467 leave ghosts on the network. Affected file is
1468 silcd/packet_receive.c.
1470 Tue Nov 23 16:54:35 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1472 * Fixed Win32 scheduler to not stuck anymore. A patch from
1473 Juha Räsänen. Affected file is
1474 lib/silcutil/win32/silcwin32schedule.c.
1476 * Fixed QoS parsing for connection blocks in server. Affected
1477 file is silcd/serverconfig.c.
1479 * Fixed server statistics increasing in server. Affected file
1482 * The CLOSE command now marks backup router as self disconnected
1483 to avoid resuming problems. Affected file silcd/command.c.
1485 Wed Sep 22 19:46:32 CEST 2004 Patrik Weiskircher <pat@icore.at>
1487 * When using silc_net_create_connection[_async], and your system can
1488 create IPv6 sockets, it will try to connect to the IPv6 host.
1489 Now it tries to connect to an IPv4 host if IPv6 fails. Affected
1490 file lib/silcutil/unix/silcunixnet.c
1492 Fri Jun 18 19:26:58 CEST 2004 Pekka Riikonen <priikone@silcnet.org>
1494 * Check for valid route when receiving packet from router and
1495 when routing it to local server in the cell. A patch from
1496 Matt Miller. Affected files silcd/router.c and server.c.
1498 Sat May 1 13:55:54 CEST 2004 Patrik Weiskircher <pat@icore.at>
1500 * Couldn't detach and reattach twice, because of the previous
1501 commit. Affected file silcd/packet_receive.c
1503 Fri Apr 30 19:40:28 CEST 2004 Patrik Weiskircher <pat@icore.at>
1505 * Added check to ignore Port value if Initiator is FALSE.
1506 Remote router coudln't connect if Port was set. Affected file
1507 silcd/serverconfig.c
1509 * If some client tries to resume more than once at the same time,
1510 server crashed. Router didn't crash, but showed odd behaviour
1511 (didn't allow clients to join anymore, ..). Affected files
1512 silcd/packet_receive.c silcd/idlist.h
1514 Mon Mar 15 21:10:08 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1516 * Destroy the file transfer session in silc_client_file_close
1517 with timeout. Affected file lib/silcclient/client_ftp.c.
1519 * Call SFTP server monitor in READ and WRITE after the actual
1520 operations. Affected file lib/silcsftp/sftp_server.c.
1522 Wed Mar 10 21:30:02 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1524 * Create one configure script from configure fragments
1525 (configure.ad). This is a first step towards new distribution
1526 system. Affected files prepare, configure.in.pre,
1527 lib/silcmath/mpi/configure.ad.
1529 Wed Mar 10 18:35:24 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1531 * Removed expiring of client key pair. Affected file is
1532 irssi/src/silc/core/clientutil.c
1534 Tue Mar 9 17:11:58 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1536 * Check the number of connections from real number of
1537 connections instead of socket number, when deciding if
1538 server is full. Affected files are silcd/server.c,
1539 server_internal.h and silcd.c.
1541 * Clarified the connections_max meaning in General section
1542 in doc/example_silcd.conf.in.
1544 * The reconnect_keep_trying default value set to TRUE
1545 if it is not defined in the config file. Affected file
1546 silcd/serverconfig.c.
1548 Wed Mar 3 15:13:49 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1550 * Fixed crashbug in connection closing, after a protocol
1551 completion callback, which might have closed it already.
1552 Affected file silcd/server.c.
1554 * Fixed rekey with PFS in backup router. It did not allow
1555 rekeys with PFS, and when the rekey protocol timedout
1556 it crashed the backup router without the above fix. Affected
1557 file silcd/packet_send.c and server.c.
1559 Sat Feb 28 16:25:09 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1561 * The silc_client_add_channel_private_key now returns the
1562 private key context if pointer is given as argument.
1563 Affected files are lib/silcclient/silcclient.h and
1566 * Added support for using channel private keys in SILC
1567 Client Library even if the private key mode is not set
1568 on the channel. Affected file lib/silcclient/client_channel.c.
1570 * The channel private key used to decrypt message is now
1571 delivered to the application in the 'channel_messageÃ' client
1572 operation. Affected files are lib/silcclient/silcclient.h
1573 and client_channel.c.
1575 * Fixed wrong arg type for user limit in CMODE command reply.
1576 Affected file silcd/command.c.
1578 * The user limit is now taken and saved to SilcClientEntry in
1579 JOIN and CMODE command replies and in CMODE_CHANGE notify.
1580 Affected files lib/silcclient/silcclient.h, command_reply.c
1581 and client_notify.c.
1583 * Added support to the new private message key indicator
1584 packet. Added a new function to the client library:
1585 silc_client_send_private_message_key_request. The sender
1586 indicates to be initiator, and receiver is responder.
1587 Added the indicator to the SilcClientEntry as 'prv_resp'
1588 boolean. Affected files are lib/silcclient/silcclient.h
1589 client.[ch], and client_prvmsg.c.
1591 Fri Feb 27 11:25:26 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1593 * Fixed the JOIN command calling when called with both
1594 -auth and -founder. Affected file is lib/silcclien/command.c.
1596 Wed Feb 25 23:12:11 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1598 * Check watcher list for resumed clients as well. Affected
1599 file is silcd/packet_receive.c.
1601 Tue Feb 24 16:49:10 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1603 * Implemented the user limit to the CMODE_CHANGE notify,
1604 CMODE command reply and JOIN command reply in server.
1605 Affected files are silcd/server.c, command.c, command_reply.c,
1606 packet_send.c and packet_receive.c.
1608 Mon Feb 23 23:31:15 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1610 * Defined SILC_STRFMT_END that must be used now with
1611 silc_buffer_strformat, instead of SILC_STR_END. Fixes
1612 crashes on AMD64. Affected files are lib/silcutil/silcbuffmt.h,
1613 lib/silcclient/silcvcard.c, silcd/server_util.c.
1615 * Fixed the adding of public key to the WATCH list in server.
1616 Fixed the WATCH notify sending to client. Affected files
1617 are silcd/packet_send.[ch], command.c, server_util.c.
1619 * Implemented the watching by public key in the SILC Client
1620 Library and SILC Client. Affected files are
1621 lib/silcclient/command.c and client_notify.c.
1623 Mon Feb 23 09:30:30 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1625 * Added support for public key watching in server. Affected
1626 files are silcd/server.c, server_internal.h, command.c,
1629 Sun Feb 22 19:03:59 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1631 * Added public key to the SIlcClientEntry. Affected files
1632 are lib/silcclient/silcclient.h, command_reply.c, idlist.c
1634 * Fixed the get_clients_whois reply processing to return
1635 exactly same entries server returned. Makes it possible
1636 to search using attributes. Affected file is
1637 lib/silcclient/idlist.c.
1639 Sat Feb 21 19:21:57 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1641 * Save founder key to SilcChannelEntry. Affected files are
1642 lib/silcclient/silcclient.h, command_reply.c, idlist.c.
1644 Fri Feb 20 20:37:38 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1646 * Call the monitor callback with _CLOSED status from the
1647 silc_client_file_close. Affected files are
1648 lib/silcclient/client_fpt.c, silcclient.h
1650 * Added silc_client_get_clients_whois which resolves using
1651 WHOIS, and supports requested attributes as well.
1652 Affected files are lib/silcclient/silcclient.h, idlist.c.
1654 Fri Feb 19 21:09:22 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1656 * Added support for asking the destination filename where
1657 the downloaded file is saved in the file transfer. Affected
1658 files are lib/silccilent/silcclient.h, client_ftp.c.
1660 Wed Feb 18 02:46:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1662 * Fixed error handling in resuming data processing. Affected
1663 files are lib/silcclient/client_resume.c and client.c.
1665 Tue Feb 17 19:34:30 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1667 * Fixed silc_client_send_private_message to return TRUE correctly.
1668 Affected file lib/silcclient/client_prvmsg.c.
1670 * Added topic to the SilcChannelEntry. Affected files are
1671 lib/silcclient/silcclient.h, command_reply.c, client_notify.c.
1673 Fri Feb 13 14:19:14 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1675 * Use conn->cmd_ident for all silc_client_command_call()s. Affected
1676 file lib/silcclient/command.c
1678 Fri Feb 13 13:53:45 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1680 * Convert all commands to UTF-8 before passing them to the
1681 client library. Still need to convert replies from UTF-8 to
1682 the locale encoding. Affected file
1683 irssi/src/silc/core/silc-cmdqueue.c
1685 Fri Feb 13 13:13:07 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1687 * redirect all silc_client_command_calls through a queueing framework.
1688 This fixes /CYCLE and the annoying "nick change after auto-joining
1689 a channel". Furthermore it defines one central point where
1690 command parameters can be UTF-8-ified. Affected files
1691 irssi/src/silc/core/Makefile, client_ops.c, silc-channels.c,
1692 silc-servers.[ch], silc-core.c, silc-cmdqueue.[ch], silc-lag.c
1694 Fri Feb 13 12:04:41 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1696 * use asynchronous connect() to establish router connections.
1697 Fixes problem when the primary router goes down. Affected files
1698 silcd/server.c, silcd/server_backup.c
1700 Thu Feb 12 20:09:59 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1702 * Added SILC_[32|64]_TO_PTR and SILC_PTR_TO_[32|64] macros.
1703 Fixed various compilation warnings when type casting ints
1704 to pointers or vice versa, of different size. Updates around
1707 Tue Feb 3 23:25:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1709 * Surrogates not allowed in UTF-8 strings, updated decoder.
1710 Affected file lib/silcutil/silcstrutil.c. Added UTF-8
1711 testers in lib/silcutil/tests/ directory.
1713 Wed Jan 14 18:42:44 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1715 * Added SILC_CLIENT_CONN_ERROR_KE, ERROR_AUTH, ERROR_RESUME and
1716 ERROR_TIMEOUT SilcClientConnectionStatus errors. Affected
1717 files are lib/silcclient/silcclient.h, client.c.
1719 Mon Jan 12 13:01:10 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1721 * When resuming a session fails, notify the user that the session
1722 file needs to be removed eventually. Affected files
1723 irssi/src/fe-common/silc/module-formats.[ch],
1724 irssi/src/silc/core/client_ops.c.
1726 Tue Jan 04 12:16:04 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1728 * Added DIST_SUBDIRS symbols to include all subdirs in distributions.
1729 Affected files lib/silcutil/Makefile.am, lib/silcmath/Makefile.am
1731 * Typofix in Irssi::Silc module. Affected file
1732 irssi/src/perl/silc/Silc.xs.
1734 Tue Jan 04 02:43:44 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1736 * Changed the way NOTICE flagged messages are treated. Added support
1737 for notices in queries and signing notices. Affected files
1738 irssi/default.theme; irssi/docs/help/in/notice.in;
1739 irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c;
1740 irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.c
1742 * Fixed typo in /ACTION help. Affected file
1743 irssi/docs/help/in/action.in
1745 Mon Jan 03 23:26:38 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1747 * Fixed typo in perl module. Affected file
1748 irssi/src/perl/silc/Server.xs
1750 * Changed the way ACTION flagged messages are treated. Added support
1751 for actions in queries and signing actions. Affected files
1752 irssi/default.theme; irssi/docs/help/in/action.in;
1753 irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c,
1754 fe-silc-queries.c; irssi/src/silc/core/client_ops.c, silc-channels.c,
1757 Mon Jan 03 16:04:29 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1759 * Incorrectly reported error when client had to be resolved from
1760 server in /SMSG. Affected file irssi/src/silc/core/silc-servers.c
1762 Sat Jan 3 16:37:15 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1764 * Fixed whois public key hash table deleting and adding in
1765 detached client case. Affected file silcd/packet_receive.c.
1767 Sat Jan 03 12:15:38 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1769 * Changed filenames of silc/fe module not to collide with filenames
1770 from core/fe. Also seperated public messages printing from
1771 query messages printing. Affected files are all in
1772 irssi/src/fe-common/silc.
1774 Sat Jan 3 12:18:07 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1776 * Fixed the invite process handling during joining to use
1777 correct server name for the client that is matched against
1778 the invite string for the channel. Wrong server name caused
1779 inability to join the channel. Affected file is
1782 Fri Jan 2 23:34:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1784 * Fixed the CUMODE channel founder authentication on normal
1785 server to not remove the founder rights on existing founder
1786 before checking that router accepts the mode change. Affected
1787 files are silcd/command.c and silcd/packet_receive.c.
1789 * Remove the server entry correctly when rekey timeouts and
1790 remote router connection on normal server is closed. Fixes
1791 a crash where server uses the freed server entry. Affected
1792 file silcd/server.c.
1794 Fri Jan 02 10:28:15 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1796 * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
1797 networks. This is the first step in solving the bug about
1798 /SERVER ADD -silcnet <silcnet>. Affected files
1799 irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am,
1800 fe-silcnet.c, fe-common-silc.c, module-formats.[ch];
1801 irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am
1803 Thu Jan 01 20:11:32 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1805 * /SMSG and /MMSG now correctly create new queries. Affected files
1806 irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl
1808 * Add basic support for SILC protocol specific variables in perl.
1809 Affected files irssi/src/perl/silc/*, irssi/configure.in,
1810 irssi/src/perl/Makefile.am
1812 Wed Dec 31 17:06:55 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1814 * Don't use silc_get_input, it's obviously not reliable. Fixes
1815 issue when the current key expires. Affect file
1816 irssi/src/silc/core/clientutils.c
1818 * Make the session data filename configurable. This makes it
1819 possible to have different session files for different
1820 SILC networks. Affected files irssi/src/silc/core/silc-core.c,
1821 client_ops.[ch], silc-servers.c,
1822 irssi/src/silc/fe-common/silc/module-formats.[ch]
1824 * Use the same set of libtool files for the MPI lib as for the
1825 rest of the toolkit. Affected files lib/silcmath/mpi/config.guess,
1826 config.sub, configure.in, install-sh, missing, mkinstalldirs
1828 Sun Dec 28 21:57:39 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1830 * Fixed server statistics decrementing error to not go to
1831 negative. Affected file silcd/packet_receive.c.
1833 Sat Dec 20 14:42:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1835 * Use silc_server_query_add_error to add error in public key
1836 search error. Added support in send_reply to send errors
1837 without specific argument. Affected file silcd/server_query.c.
1839 * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
1840 Client for NO_SUCH_NICK. It was against the protocol specs.
1841 Affected file irssi/src/silc/core/client_ops.c.
1843 * Added backwards support for the wrong NO_SUCH_NICK error sending
1844 in server. To be removed in SILC Server 1.0. Both old clients
1845 and clients with fixed error handling now works. Affected file
1846 silcd/server_query.c.
1848 Sat Dec 20 00:44:47 CET 2003 Patrik Weiskircher <pat@icore.at>
1850 * fixed a bug in the whois using attributes function where no
1851 error was sent if no nickname and client id but the attributes were
1852 given to whois. Affected file silcd/server_query.c
1854 Tue Dec 16 21:34:59 CET 2003 Patrik Weiskircher <pat@icore.at>
1856 * remove public key from public key hashtable on detach. Affected
1857 file silcd/packet_receive.c
1859 * free public key hashtable before removing clients on server
1860 shutdown. Affected file silcd/server.c
1862 * remove public key prior deleting client-data on killing a client.
1863 Affected file silcd/server_util.c
1865 Sat Dec 06 21:35:14 CET 2003 Patrik Weiskircher <pat@icore.at>
1867 * Getting the MOTD from other servers works now. Affected
1868 files are silcd/command.c and silcd/command_reply.c
1870 Thu Dec 04 11:33:46 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1872 * Initialize the variable idletag, since it is tested in
1873 silc_core_deinit for its default value. Affected file
1874 irssi/src/silc/core/silc-core.c
1876 Sun Nov 30 19:47:02 CET 2003 Patrik Weiskircher <pat@icore.at>
1878 * Fixed signed channel messages across cells. Affected file
1881 Fri Nov 28 19:13:21 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1883 * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG
1884 is not defined. They can now be safely used in if-statements
1885 without braces. Affected file lib/silcutil/silclog.h.
1887 * Added the checks for backup closing connection due to error
1888 (local or remote) and thus not allow the resuming to occur
1889 in reconnect. Affected files are silcd/packet_send.c
1892 Tue Nov 25 15:20:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1894 * Help file updates. Affected files in irssi/src/docs/help/in/.
1896 Wed Nov 23 20:51:21 CET 2003 Patrik Weiskircher <pat@icore.at>
1898 * Fixed channel messages across cells. Affected file
1901 Wed Nov 12 11:34:56 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1903 * Fixed file transmission accepting in client library to not
1904 start the negotiation if user hasn't accepted the transfer,
1905 instead create new session for resent transfer. Affected
1906 file lib/silcclient/client_ftp.c.
1908 * Show the session ID in the file transmision list. Remove
1909 session from list that failed to transfer. Switch the current
1910 session automatically after transmission, and in errors, to new
1911 session if other sessions exists in the transfer list. Affected
1912 files are irssi/src/silc/core/silc-servers.c,
1913 irssi/src/fe-common/silc/modfule-formats.c.
1915 Mon Nov 10 14:41:40 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1917 * Fixed MIME header parsing for the hopefully last time. Affected
1918 file lib/silcutil/silcstrutil.c
1920 Mon Nov 10 13:03:46 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1922 * Rewrote the PKCS#1 routines. Added lib/silccrypt/silcpkcs1.[ch].
1924 * The SILC RNG is now gauranteed to return non-zero random
1925 values. Affected files are lib/silccrypt/silcrng.[ch].
1927 Sun Nov 9 20:44:56 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1929 * Fixed nickname formatting when changing only case of the
1930 nickname. Affected file lib/silcclient/idlist.c.
1932 Sun Nov 9 19:33:59 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1934 * Fixed a memory leak and incorrect printing of the "appears as"
1935 message. Affected file irssi/src/silc/core/client_ops.c
1937 Sun Nov 9 17:45:11 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1939 * Added CRT (Chinese Remainder Theorem) supported RSA
1940 private keys and private key operations. This significantly
1941 increases private key operation efficiency. No compatibility
1942 issues with new or old private keys. Affected files are
1943 lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c.
1945 Sat Nov 8 13:08:53 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1947 * Fixed GCC-3.3.2 related compilation warnings from the
1950 Fri Nov 7 23:01:47 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1952 * Removed RC6 from distributions.
1954 Fri Nov 7 19:38:42 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1956 * Added some better comments to lib/silccrypt/silcpkcs.h,
1957 optimized some routines in lib/silccrypt/silcpkcs.c.
1958 Added test_silcpkcs into lib/silccrypt/tests/.
1960 * Fixed silc_rng_global_init to actually init the global RNG
1961 if RNG wasn't provided for it. Affected file is
1962 lib/silccrypt/silrng.c.
1964 Thu Nov 6 21:08:28 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1966 * Added silc_hash_table_find_by_context_ext. Affected files
1967 lib/silcutil/silchashtable.[ch].
1969 * Save the public key on normal server in WHOIS command reply
1970 from attributes, if present, and add it to public key hash
1971 table. Fixes WHOIS resolving by public key on normal server.
1973 Optimized the attributes resolving on normal server to not
1974 resolve if we resolved them already from router.
1976 Affected files are silcd/server_query.c, command_reply.c.
1978 Wed Nov 5 19:36:30 CET 2003 Patrik Weiskircher <pat@icore.at>
1980 * Added support for whois using attributes.
1981 Affected files silcd/command_reply.c, silcd/packet_receive.c,
1982 silcd/server.c, silcd/server_internal.h, silcd/server_query.c,
1985 * Added support for whois using public key attribute to /WHOIS i
1986 client command. Affected files irssi/docs/help/in/whois.in,
1987 irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c
1989 Wed Nov 5 23:37:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1991 * Fixed UMODE setting in server when the client has anonymous
1992 mode set. The mode setting was not working. Affected file
1995 Mon Nov 2 11:36:08 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1997 * Fixed some bugs and typos related to sending split messages.
1998 Print notification when sending messages with /MMSG. Affected
1999 files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c
2001 Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2003 * Optimized the socket referencing in packet routines, client
2004 library and server. Affected files are lib/silccore/silcpacket.c,
2005 lib/silcclient/client.c and silcd/server.c.
2007 * If silc_socket_set_qos is given with NULL arguments the QoS is
2008 reset from the socket. Affected files are
2009 lib/silcutil/silcsockconn.[ch].
2011 Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2013 * Add a /LISTKEYS command which lists the locally cached
2014 client and server keys. Affected files
2015 irssi/src/fe-common/module-formats.[ch],
2016 irssi/src/silc/core/silc-{channels,servers}.c
2017 irssi/docs/help/in/listkeys.in
2019 Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2021 * Check that packet queue purging was successful. Affected
2022 files lib/silcclient/client.c and silcd/packet_send.c. Related
2023 to MAC failed errors.
2025 * Do not clear the inbuf even if it is empty if QoS was applied
2026 to it. Otherwise the QoS data is cleared and MAC failed error
2027 will occur. Affected file lib/silccore/silcpacket.c.
2029 * Use the rekey period time as rekey protocol timeout value.
2030 If the rekey does not succeed during the rekey period there's
2031 something very wrong, and we most likely end up with wrong keys,
2032 do graceful reconnect then. Affected file silcd/server.c.
2034 * Take reference of the socket in the parser context, as it's
2035 possible to have the parsers in queue after the socket is
2036 disconnected and this may cause crash. Affected files are
2037 lib/silccore/silcpacket.c, lib/silcclient/client.c and
2040 Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2042 * Fixed KICK command reply sending, it sent to replies.
2043 Affected file silcd/command.c.
2045 Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2047 * Finish the silc-mime.pl script. It now supports MIME type
2048 guessing using magic files, signing data messages, executing
2049 MIME handlers in background. Affected files
2050 irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in
2052 * Changed MIME signal handler to make things easier for the perl
2053 script. Affected files irssi/src/silc/core/client_ops.c,
2054 silc-servers.c, and irssi/docs/signals.txt
2056 * Cleaned up the silc_mime_parse function and fixed detection
2057 of wrapped header lines. Affected file lib/silcutil/silcstrutil.c
2059 Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2061 * Resolve the IP for file transfer listener from the connection
2062 socket. Affected file lib/silcclient/client_ftp.c.
2064 * Accept NULL hostname parameter in the functions
2065 silc_net_check_[local|remote]_by_socket. Do not reverse lookup
2066 if hostname is not wanted.
2068 Fri Oct 24 21:24:12 CEST 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2070 * Fixed race condition between silc_client_init and
2071 my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c
2073 Fri Oct 24 16:43:40 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2075 * Fixed file transfer connection closing when SIGNOFF for
2076 the client is received from server. Affected file is
2077 lib/silcclient/client_ftp.c.
2079 Tue Oct 21 13:35:57 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2081 * Check for disconnected socket in QUIT callback. Affected
2082 file silcd/command.c.
2084 Thu Oct 21 09:43:17 CEST 2003 Jochen Eisinger <jochen@penguin-breeder.org>
2086 * Modified the MIME parsing to allow \n and \r\n as delimiters.
2087 Affected files lib/silcutil/silcstrutil.c
2089 * Cleaned up the escape/unescape functions for correctness and
2090 speed. Affected file irssi/src/silc/core/client_ops.c
2092 * Removed handling for data messages with Content-Type: text/*,
2093 moved parsing of MIME headers to the signal handler, added
2094 support for signing and verifying data messages. Affected
2095 files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c,
2096 irssi/src/silc/core/silc-{servers,channels}.c
2098 * Added a perl script for handling data messages based on
2099 information read from Mailcap files. New file
2100 irssi/scripts/silc-mime.pl
2102 Mon Oct 20 16:08:22 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2104 * Added new SILC_MESSAGE_FLAG_ACK that can be used to
2105 acknowledge recepetion of a message to the sender. Updated
2108 Sat Oct 18 11:55:33 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2110 * Unregister channel key saving callback when deleting channel.
2111 Affected file lib/silcclient/idlist.c.
2113 * Do not remove the client from channels in NOTIFY_TYPE_SIGNOFF
2114 before calling notify client operation. Affected file is
2115 lib/silcclient/client_notify.c.
2117 * Unregister QoS tasks when deleting the socket connection.
2118 Affected files lib/silcutil/silcsockconn.[ch],
2119 unix/silcunixsockconn.c.
2121 * Implemented latest presence-attrs draft changes. Affected
2122 files lib/silccore/silcattrs.h and
2123 irssi/src/silc/core/silc-queries.c.
2125 Tue Oct 14 18:24:53 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2127 * Save old channel keys in list to allow more rapid change
2128 of channel keys if server for some reason does that. This
2129 avoids loosing so many channel messages due to not having
2130 key to decrypt. Affected file lib/silcclient/silcclient.h,
2131 idlist.c and client_channel.c.
2133 Mon Oct 13 21:37:47 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2135 * Continued backup router tests and fixes. Affected files
2136 silcd/server_backup, server_util.c, server.c. See TODO.
2138 Sun Oct 12 19:58:18 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2140 * Fixed SERVER_SIGNOFF handling in servers. The client
2141 was removed from wrong list thus not removing the client
2142 at all. Affected file silcd/packet_receive.c.
2144 * Do not execute rekey protocol for disabled connections as
2145 it would never go through. Affected file silcd/server.c.
2147 * Added timeout for rekey protocol to catch if the protocol
2148 never executes successfully. Affected files silcd/server.c
2151 Sat Oct 11 15:39:22 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2153 * Abandon packet processing for disconnected sockets. Check
2154 this always after calling packet processing callback.
2155 Affected file lib/silccore/silcpacket.c.
2157 * Fixed double registration disconnection code in server.
2158 Closed wrong connection. Affected file silcd/packet_receive.c.
2160 Fri Oct 10 16:27:12 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2162 * On normal server reconnect to primary during resuming 4
2163 times, then give up. Affected file silcd/server_backup.c.
2165 * If during reconnecting to routers we notice we have router
2166 connection but no primary router set, the server is in desync.
2167 Reconnect to primary to restore network. Affected file
2170 * Assure that only one protocol is exeucting at the same time.
2171 Added checks for all protocols. Affected files are
2172 silcd/server.c and server_backup.c.
2174 Thu Oct 9 20:24:09 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2176 * Check that a string is not already part on invite/ban
2177 string when processing it. Affected file silcd/server_util.c.
2179 Thu Oct 9 12:06:40 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2181 * Fixed the CUMODE_CHANGE for founder mode changes to comply
2182 with 1.2 version of the protocol. Affected file is
2183 silcd/packet_receive.c.
2185 Wed Oct 8 19:41:15 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2187 * ERR_BAD_PASSWORD now returns the Channel ID of the channel
2188 where the passphrase was given. Affected file is
2191 Wed Oct 8 09:32:12 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
2193 * INVITE and BAN notifys are now delivered from routers to
2194 servers (but not clients) on the channel. Updated specs and
2195 code. Affected files silcd/packet_[send|receive].[ch],
2196 command.c, server.c and server_util.c.
2198 * Implemented INVITE and BAN announcing. Affected files are
2199 silcd/server.[ch], server_util.c.
2201 * Implemented SilcStatus error type argument returning in
2202 command reply error in server. Affected file silcd/command.c.
2204 * Implemented SilcStatus argument returning in comand reply
2205 in client library. The command_reply client operation now
2206 returns error specific arguments as well. Affected files
2207 are lib/silcclient/command_reply.[ch], client_resume.c,
2208 lib/silccore/silcstatus.[ch].
2210 Sun Oct 5 20:22:08 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2212 * Backup router protocol version 1.2 implemented. Testing still
2213 required. Affected files in silcd/server_backup.[ch], server.c,
2214 packet_receive.c and server_internal.h.
2216 Sun Oct 5 12:36:37 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2218 * silc_client_send_[channel|private]_message now return TRUE
2219 or FALSE. Affected file lib/silcclien/client_channel.c and
2222 Thu Oct 2 17:03:09 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2224 * Check for explicit nickname in INVITE and BAN processing
2225 during join as well (and don't expect only wildcards in
2226 invite/ban strings). Affected file silcd/command.c.
2228 * Fixed the INVITE and BAN by public key. The public key saved
2229 is the PK payload (as specified) not the raw data. Affected
2230 file silcd/server_util.c.
2232 Wed Oct 1 20:29:06 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2234 * UTF-8 text message support for actions and notices in SILC
2235 Client. Affected file irssi/src/silc/core/client_ops.c.
2237 * silc_get_username and silc_get_real_name now returns sensible
2238 data on Win32. Patch by Toni Willberg. Affected file is
2239 lib/silcutil/win32/silcwin32util.c.
2241 Sun Aug 24 23:35:19 CEST 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2243 * Provide a signal handler to send MIME encoded messages and emit
2244 a signal when a MIME encoded message is received. Also document
2245 the signals for usage with the perl interface.
2247 A sample perl script will be supplied at a later point.
2249 Affected files are irssi/docs/signals.txt,
2250 irssi/src/silc/core/client_ops.[ch],
2251 irssi/src/silc/core/silc-{channels,servers}.c
2253 Sun Aug 24 12:58:30 CEST 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2255 * Use SILC_COMMAND_PING to estimate the round-trip time to the
2256 server. Use this time to display a lag and disconnect when it
2257 exceeds a specified limit.
2259 Affected files are irssi/src/silc/core/silc-{lag,core}.c.
2261 Mon Aug 11 17:14:17 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2263 * Remove the channel auth list in normal server if router
2264 encofrces its list during connecting. Send notify to channel
2265 to remove the mode to remove the list. Affected files are
2266 silcd/server_util.c and silcd/packet_receive.c.
2268 Wed Aug 6 14:52:04 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2270 * Added support for channel public keys. Updated protocol specs
2271 and implemented it. Affected files are
2272 silcd/command.c, command_reply.c, lib/silcclient/command.c,
2273 lib/silcclient/command_reply.c.
2275 Wed Jul 23 12:17:01 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2277 * Ignore SIGXFSZ and SIGXCPU signals in server. They can
2278 terminate the process on Linux. Affected file silcd/silcd.c.
2280 Mon Jun 2 19:13:27 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2282 * Check for NULL buffer in silc_buffer_clear. Affected file
2283 is lib/silcutil/silcbuffer.h.
2285 * Simplified the backup router protocol by removing the _GLOBAL
2286 types. Updated protocol specs and the code. Affected files
2287 are silcd/server_backup.[ch].
2289 Thu Apr 24 19:50:25 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2291 * Deny '@' and '!' from nicknames since they are reserved
2292 by the SILC_COMMAND_INVITE and SILC_COMMAND_BAN commands.
2293 Updated protocol specs and the code.
2295 Affected files are silcd/server_util.[ch].
2297 Wed Apr 9 18:51:59 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2299 * Fixed stack overflow in Irssi SILC client. Affected
2300 file irssi/src/silc/core/client_ops.c.
2302 * Check that Host is set in ServerConnection and RouterConnection
2303 in silcd.conf. Affected file silcd/serverconfig.c.
2305 * Fixed crash in server with protocol completion callbacks,
2306 namely rekey and backup resuming protocols. Affected files
2307 are silcd/server_backup.c and silcd/server.c.
2309 * Fixed rekey protocol to not restart if it is started already.
2310 Affected files are lib/silcclient/client.c and
2313 Mon Mar 17 18:35:24 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2315 * Rewrote SilcList, affected file lib/silcutil/silc*list.h.
2317 * Fixed EOF handling in SILC Config, affected file
2318 lib/silcutil/silcconfig.c.
2320 * Fixed buffer overflows in lib/silcutil/silcstrutil.c.
2322 * Fixed RESOLVING flag handling in JOIN notify and other
2323 notifys to handle the resolvings correctly in client library.
2324 Affected file lib/silcclient/client_notify.c.
2326 * Do not send full INVITE and BAN lists in INVITE and BAN
2327 notifys, only the changed information. Affected file
2330 * Fixed INVITE notify sending in INVITE command, send it
2331 only when needed. Affected file silcd/command.c.
2333 * Handle the founder key change properly in CMODE_CHANGE
2334 notify. Bug #122. Affected file silcd/packet_receive.c.
2336 Sun Mar 9 16:29:20 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2338 * Remove the mark for output (mark it only for input) after
2339 purging outgoing queue. Prevents the "Error in select()"
2340 floods. Affected file silcd/packet_send.c.
2342 * Fixed incorrect connection deletion from client library
2343 after calling "connect" client operation. Could cause
2344 crashes for example during reconnect timeouts. Affected
2345 files are lib/silcclient/client.c and
2346 irssi/src/silc/core/client_ops.c.
2348 * Check server private key file permissions before starting
2349 the server. Affected file silcd/serverconfig.c.
2351 Tue Feb 4 22:53:26 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2353 * NULL terminate allocated string in silc_buffer_strformat.
2354 Affected file lib/silcutil/silcbuffmt.c.
2356 * Rewrote the invite/ban list string handling in server to
2357 use SilcBuffer instead. Affected files are silcd/command.c
2358 and silcd/server_util.c.
2360 Mon Feb 3 14:43:52 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2362 * Fixed double free in CMODE command when setting new HMAC
2363 for channel. Affected file silcd/command.c.
2365 * Added couple of missing memset's to zero sensitive memory.
2366 Affected files silcd/command.c, lib/silcclient/command.c.
2368 Sun Jan 26 12:20:30 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2370 * Fixed a double free in INVITE command error handling in
2371 server. Affected file silcd/command.c.
2373 * Added macros SILC_SWAB_[16|32] to swab byte order of
2374 16-bit and 32-bit unsigned integers. Affected file
2375 lib/silcutil/silctypes.h.
2377 * Use the SILC_SWAB_16 instead of htons() in server when
2378 handling ports since the ports in structures are always
2379 in little-endian order (regardless of platform). Affected
2380 file silcd/serverid.c and silcd/server_backup.c.
2382 Tue Jan 21 17:18:04 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2384 * Send DISCONNECT in close admin command in server. Affected
2385 file silcd/command.c.
2387 * Check whether we are already connecting to a remote router
2388 (in addition of checking whether we are already connected)
2389 before creating new connection. Affected file silcd/server.c.
2391 Thu Jan 16 18:47:00 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2393 * Added better compiler and compiler flags checking in
2396 * Check that socket is valid after QoS is applied to data.
2397 Affected file lib/silcutil/unix/silcunixsockconn.c.
2399 * Make sure the socket connecetion is not closed to early
2400 when closing connection in server. Also make sure the
2401 connection is always closed after error in a protocol.
2402 Affected file silcd/server.c.
2404 Wed Jan 15 11:03:36 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2406 * Removed --session and --dummy options from Irssi SILC Client.
2407 -d option is available only if --enable-debug was given.
2408 Affected files are irssi/src/silc/core/silc-core,
2409 irssi/src/core/session.c and irssi/src/fe-text/silc.c.
2411 Tue Jan 14 12:25:09 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2413 * Added silc_buffer_steal to steal the data from the buffer.
2414 Affected file lib/silcutil/silcbuffer.h.
2416 Sat Jan 11 18:16:29 CET 2003 Giovanni Giacobbi <giovanni@giacobbi.net>
2418 * Fixed server crash with double Primary block in config file.
2420 Fixed also various memory leaks around the config file
2421 parser. Affected files lib/silcutil/silcconfig.c,
2422 silcd/serverconfig.c.
2424 * Changed my nickname (Johnny Mnemonic) to my real name, this
2425 means that bugs introduced by him were actually introduced
2428 Tue Jan 7 21:58:53 CET 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2430 * Don't display "foo appears as foo\nYou're now known as foo"
2431 messages. Affected file irssi/src/silc/core/client_ops.c
2433 Tue Jan 7 20:08:15 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2435 * Fixed error handling of invalid client entry when calling
2436 commands in server. Fixes a crash. Affected file
2439 Thu Dec 26 14:19:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2441 * Added some sanity checks in server for correctness of the
2442 server configuration. Affected file silcd/serverconfig.c.
2444 Fri Dec 20 10:47:59 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2446 * Prevent endless resolving of user informations in USERS
2447 command by checking the command reply status correctly.
2448 Affected file lib/silcclient/command_reply.c.
2450 Tue Dec 17 10:05:00 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2452 * Fixed file writing on WIN32 to use O_BINARY flag. Affected
2453 file is lib/silcutil/silcfileutil.c. A patch by Matthew
2454 Aldous <Matthew@Aldous.com>.
2456 * Added better implementation using CriticalSection of
2457 SilcMutex on WIN32. A patch by Mikko Lähteenmäki
2458 <mikko.lahteenmaki@pikabaana.net>.
2460 * Added some Winsock WIN32 compatiblity defines into
2461 includes/silcwin32.h.
2463 Mon Dec 16 19:33:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2465 * Fixed double free in async host lookup code. Affected file
2466 lib/silcutil/silcsockconn.c.
2468 * On backup router handle now the SERVER_SIGNOFF from router
2469 for local connected servers too, and close the connections.
2471 Do not process them as normally signing off servers when they
2472 really signoff by sending EOF fe, but always assume that
2473 router sends the SERVER_SIGNOFF.
2475 Affected files silcd/server.c and silcd/packet_receive.c.
2477 * Fixed socket unsetting when closing connections. Affected
2478 files silcd/server.c and silcd/packet_send.c.
2480 * Do not print the nickname in SERVER_SIGNOFF if we do not
2481 have it. Prevents asserts in Irssi core. It is possible we
2482 don't have the nick if it was just being resolved when server
2483 signoff. Affected file irssi/src/silc/core/client_ops.c.
2485 Thu Dec 12 23:22:50 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2487 * Fixed autonick crashbug in client library. Affected file
2488 lib/silcclient/client.c.
2490 * Fixed Unix implementation of SilcMutex to really assert if
2491 the mutex is locked/unlcoked already. Affected file
2492 lib/silcutil/unix/silcunixmutex.c.
2494 * Fixed locking in silc_schedule_uninit. It didn't lock
2495 when dispatching timeout tasks. Affected file is
2496 lib/silcutil/silcschedule.c.
2498 * Changed Win32 implementation of SilcThread to use modern
2499 Win32 interface. Affected file is
2500 lib/silcutil/win32/silcwin32thread.c A patch by Mikko L.
2502 Thu Dec 12 12:06:59 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2504 * Don't print signed messages when sending failed. Affected files
2505 irssi/src/silc/core/silc-[servers.c/commands.h]
2507 * Send adquate signal when founding a channel by joing it. Affect
2508 file irssi/src/silc/core/client_ops.c
2510 Wed Dec 11 21:46:19 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2512 * Fix theme abstracts parsing. Affected files irssi/default.theme,
2513 irssi/src/fe-common/core/themes.c
2515 Wed Dec 11 20:20:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2517 * Fixed close command to use the port correctly when closing
2518 server connections. Affected file silcd/idlist.c.
2520 * Check for NULL outbuf in silc_socket_write. It is possible
2521 that it is NULL is some odd case. Affected files are
2522 lib/silcutil/[unix/win32]/silc[unix/win32]sockconn.c.
2524 * Do not call final protocol callback for backup router
2525 resuming protocol when closing connection. It is closed
2526 by timeout in case of error. Affected file silcd/server.c.
2528 * Backup reconnect to router if backup resuming protocol
2529 failed. Affected file silcd/server_backup.c.
2531 Wed Dec 11 10:01:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2533 * Fixed double free in SKE library error hadling when signature
2534 error occurred. Affected file lib/silcske/silcske.c.
2536 * Save the fingerprint to new SilcClientEntry after changing
2537 nickname. Affected file lib/silcclient/client_notify.c.
2539 * Print SIGNOFF in Irssi SILC client only if the nickname is
2540 known. Prevents asserts in Irssi core. It is possible we
2541 don't have the nick if it was just being resolved when it
2542 quit. Affected file irssi/src/silc/core/client_ops.c.
2544 Tue Dec 10 21:47:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2546 * Fixed double free in invite list adding code when adding
2547 invite strings. Affected file silcd/server_util.c.
2549 Fri Dec 6 17:40:24 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2551 * More log printing during backup router protocol. Affected
2552 file silcd/server_backup.c.
2554 * Removed backwards support for old private key file format.
2555 Affected file lib/silccrypt/silcpkcs.c.
2557 * Removed backwards support for not-so-strict decryption length
2558 check, it's strict now. Affected lib/silccrypt/silccipher.c.
2560 * GETKEY to update the client entrys fingerprint too.
2561 Affected file lib/silcclient/command_reply.c.
2563 * Added --without-libtoolfix for package builders using weird
2564 wrappers around libtool (BSD at least).
2566 Thu Dec 5 22:29:46 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2568 * Fixed backup router bugs: When backup resumes router and
2569 receives a CHANNEL_MESSAGE packet the backup must not act
2570 as router since the packet header decryption would be
2571 different. Also, when relaying packets to channel, do
2572 not re-encrypt packets on backup that came from the primary
2573 since the connection isn't really router-router connection.
2574 Affected files silcd/server.c, silcd/packet_send.c.
2576 * Added checks in encryption/decryption that encryption/decryption
2577 length sent as argument really is multiple by block size. Helps
2578 catching really weird bugs like the above backup router bugs
2579 when packets are being decrypted in wrong way. Affected files
2580 lib/silccore/silcpacket.c, and lib/silccrypt/silccipher.c.
2582 * Fixed padding generation in private key file encryption.
2583 Affected file lib/silccrypt/silcpkcs.c.
2585 Thu Dec 5 16:35:23 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2587 * Added ignore_message_signatures setting which can be used
2588 to ignore signatures in messages. Affected files are
2589 irssi/src/silc/core/client_ops.c, silc-core.c.
2591 * Fixed the libtoolfix to use command line options instead of
2592 environment variables. They didn't work as expected. Now,
2593 the libtool is fully run-time configurable.
2595 Wed Dec 4 21:08:52 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2597 * Verify signature payload for signed messages. Affected files
2598 irssi/src/silc/core/client_ops.h, irssi/src/silc/core/silc-servers.c,
2599 irssi/src/silc/core/silc-core.h
2601 * Display signature verification result in public and private
2602 messages using theme abstracts. See irssi/default.theme for
2603 examples on their usage. Affected files
2604 irssi/default.theme, irssi/src/fe-common/silc/fe-messages.h,
2605 irssi/src/fe-common/silc/module-formats.[ch],
2606 irssi/src/fe-common/silc/fe-common-silc.c,
2607 irssi/src/fe-common/silc/Makefile.am
2608 irssi/src/fe-common/core/fe-messages.[ch]
2610 * Fixed bugs in Irssi's theme parsing. Affected files
2611 irssi/src/fe-common/core/themes.c
2613 Wed Dec 4 18:29:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2615 * Calculate the correct length for signed messages before
2616 encrypting, it must be multiple by block size. Affected
2617 file lib/silccore/silcmessage.c.
2619 * silc_message_signed_get_public_key returns now both
2620 decoded and encoded public key. Affected files are
2621 lib/silccore/silcmessage.[ch].
2623 * Added libtoolfix script that makes the libtool more generic
2624 and configurable in run-time. Now we can specify in run-time
2625 if what kind of libraries we want to create, regardless of
2626 configuration. SIMs are now creates even if --disable-shared
2627 was explicitly given.
2629 Tue Dec 3 23:26:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2631 * Fixed founder key sending in CMODE command in client.
2632 Affected file lib/silcclient/command.c.
2634 * Fixed CUMODE founder authentication in server to not check
2635 for client's public key since it's not supposed to do that.
2636 Affected file silcd/command.c.
2638 Tue Dec 3 12:02:41 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2640 * Set realname and hostname in NICK_REC records. Affected file
2641 irssi/src/silc/core/silc-nicklist.c
2643 Mon Dec 2 20:50:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2645 * Remove 1.0 protocol backwards compat code from client
2648 * Added more reliable check for whether nickname did change
2649 or not, or whether only Client ID changed in NICK_CHANGE
2650 notify. Affected file lib/silcclient/client_notify.c.
2651 Fixes bug in '@' character handling in a nickname.
2653 * Added support for automatically parsing signature from
2654 the message payload. Added new function
2655 silc_message_get_signature to return the payload to
2656 application. Affected files lib/silccore/silcmessage.[ch].
2658 * Changed the private_message and channel_message client
2659 operations to deliver the SilcMessagePayload to the
2660 application too. Application can use it fe. to get the
2661 signature from the message for verification. Affected
2662 file lib/silcclient/silcclient.h, client_channel.c and
2665 * Redefined the signed payload for message payloads.
2666 Updated protocol specs and implemented.
2668 Mon Dec 2 16:28:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2670 * Fixed wrong invite and ban list handling in server command
2671 reply. Affected files are silcd/command_reply.c,
2672 silcd/server_util.[ch].
2674 Sun Dec 1 20:48:17 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2676 * Fixed CMODE setting in server when founder mode was set.
2677 Affected file silcd/command.c. Bug #95.
2679 * Added support to setting specific public key in CMODE in
2680 Irssi SILC client. Affected file lib/silcclient/command.c.
2682 * Added support to use specific public key in CUMODE in
2683 Irssi SILC Client. Affected file lib/silcclient/command.c.
2685 * Added support for inviting and banning by public key in
2686 Irssi SILC client. Affected file lib/silcclient/command.c.
2688 * Fixed fingerprint/babbleprint showing in invite and ban
2689 list command replys. Affected file is
2690 irssi/src/silc/core/client_ops.c.
2692 Sun Dec 1 16:32:03 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2694 * Format CMODE +c and +h to display both the mode and the argument
2696 Sun Dec 1 18:17:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2698 * Added test vectors and test programs for SHA-1, MD5,
2699 HMAC-SHA1 and HMAC-MD5. New tests are located in
2700 lib/silccrypt/tests/. Fixed also argument decoding bug in
2701 MD5 implementation. Affected file lib/silccrypt/md5.c.
2703 * Changed the channel private key and private message key
2704 generation (with static keys) to use SHA1 instead of MD5,
2705 as SHA1 is the mandatory hash function in SILC. Affected
2706 file lib/silcclient/client_[channel/prvmsg].c.
2708 * Changed the private key file encryption to use SHA1 instead
2709 of MD5. Added support for the old generation and added
2710 automatic change of the key (to be removed later). Affected
2711 files lib/silccrypt/silcpkcs.c.
2713 Sat Nov 30 19:07:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2715 * Load only files with .pub suffix in PublicKeyDir. Affected
2716 file silcd/serverconfig.c.
2718 Sat Nov 30 14:29:34 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
2720 * Extended the SILC_SERVER_LOG_ERROR macro to all available logging
2721 channels. Affected files silcd/silcd.c, silcd/server.h.
2723 * Added the config directive PublicKeyDir for the client block.
2724 Affected files doc/exampe_silcd.conf.in, silcd/serverconfig.[ch].
2726 Sat Nov 30 09:30:55 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2728 * Merged Toni's irssi/silc.conf patch.
2730 * ROBODoc cleanup patch to lib/silccrypt/silcpkcs.h by johnny.
2732 * Max alloc tests in allocation routines. Affected file
2733 lib/silcutil/silcmemory.c.
2735 Fri Nov 29 23:44:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2737 * Fixed a typo in resuming code that fixed detach/resume code
2738 in server. Bug #93. Affected file silcd/packet_receive.c.
2740 Thu Nov 28 17:17:11 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2742 * Do reverse lookups for server when /connecting. Affected files
2743 irssi/silc.conf, irssi/src/core/servers.c, irssi/src/core/network.c,
2744 irssi/src/core/net-nonblock.*
2746 Thu Nov 28 16:19:18 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2748 * Added library versioning for shared libraries. Affected
2749 files configure.in.pre and lib/Makefile.am.pre.
2751 Wed Nov 27 21:51:52 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2753 * Display INVITE and BAN lists as specified by SILC 1.2
2755 Wed Nov 27 16:01:11 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2757 * Do not send invite list back unless asked (when sending
2758 no arguments) or when list was modified. Affected file
2761 * Remove client from invite list in KILLED notify and in
2762 KILL command. Affected file silcd/command.c and
2765 * Fixed bugs in invite list handling in INVITE command.
2766 Affected files silcd/command.c and silcd/server_util.c.
2768 * Merged with Irssi 0.8.6.
2770 * Fixed UTF-8 in Irssi SILC Client, setlocale was missing.
2771 Affected file irssi/src/fe-text/silc.c.
2773 Mon Nov 25 18:21:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2775 * The silc_argument_get_[first/next] now return the argument
2776 type to caller. Added silc_argument_payload_encode_one.
2778 Affected files are lib/silccore/silcargument.[ch].
2780 * Added support for the SILC 1.2 INVITE command and new
2781 invite lists to server. Affected files are silcd/command.c,
2782 silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2784 * Added support for the SILC 1.2 BAN command and new
2785 ban lists to server. Affected files are silcd/command.c,
2786 silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2788 * Added support to client sending new INVITE command. Affected
2789 file is lib/silcclient/command.c.
2791 * Added support to client sending new BAN command. Affected
2792 file is lib/silcclient/command.c.
2794 * Added support for removing client from invite list when kicked
2795 from channel, as SILC 1.2 dictates. Affected files are
2796 silcd/packet_receive.c and silcd/command.c.
2798 Sun Nov 24 18:26:42 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2800 * If iv argument to silc_cipher_[encrypt/decrypt] is NULL, use
2801 automatically the cipher's internal IV. Affected files
2802 lib/silccrypt/silccipher.[ch].
2804 * Assure the RESUME_CLIENT packet is not sent to twice to
2805 backup router if the detached client was originated from
2806 the backup. Affected file silcd/server.c. Bug #76.
2808 * Changed silc_sim_symname to not allocate memory. Affected
2809 file lib/silcsim/silcsimutil.c.
2811 * Fixed memory leaks with SIMs in server. Affected files
2812 silcd/serverconfig.c, silcd/server.c.
2814 * Fixed channel key distribution after resuming detached
2815 client. Affected files silcd/packet_receive.c.
2817 * Fixed channel's global_user boolean checking after detaching.
2818 Check it after changing the owner of the client not before.
2819 Affected file silcd/packet_receive.c.
2821 * Fixed few double frees from client library. Fixes at least
2822 Bug #81, possibly others too.
2824 * UTF-8 decode topics also in JOIN command reply and TOPIC_SET
2825 notifys in Irssi SILC Client. Affected file is
2826 irssi/src/silc/core/client_ops.c. Bug #82.
2828 * Applied Ville Räsänen's manual page and --mandir bugfix
2829 patch. Affected files are configure.in.pre and Makefile.am.pre.
2832 Fri Nov 22 18:34:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2834 * Added support to backup router protocol for backup to tell
2835 normal server that it cannot use the backup router as primary
2836 because the primary isn't really down. Updated protocol
2839 * Added support for primary router to tell backup router that
2840 resuming is not possible because the backup really isn't primary
2841 in the cell. For example if backup disconnected itself the
2842 resuming is not allowed since the primary really did not
2843 go down. Updated protocol specs.
2845 * Removed MARS from crypto library.
2847 * Defined the CTR mode and Randomized CBC mode in SILC. The
2848 CTR mode is RECOMMENDED now in specification. Defined also
2849 Serpent cipher as optional cipher. Updated the protocol specs.
2851 Thu Nov 21 12:43:28 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2853 * Added support for inviting/banning by IP/MASK, public key,
2854 and explicit Client ID. Redefined the command and notify
2855 types to allow easier forwards support for other methods
2856 of inviting/banning. Updated protocol specs.
2858 * Remove the client from channel's invite lists if the client
2859 is kicked or killed. Updated protocol specs.
2861 * Unified the Channel Message Payload and Private Message
2862 into one Message Payload. Updated protocol specs and
2865 Tue Nov 19 22:30:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2867 * Don't wait for EOF after socket error has occurred, but
2868 close the connection. Affected file is silcd/server.c.
2870 Mon Nov 18 18:58:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2872 * Added support for setting FOUNDER mode on channel with
2873 specific public key which can be set with CMODE command.
2874 Updated protocol specs and implemented in client and server.
2876 * Fixed the Irssi SILC client to correctly shutdown the client
2877 library to avoid memory leaks. Affected files are
2878 irssi/src/silc/core/silc-core.c and silc-servers.c.
2880 * Deprecated the No Reply flag in SKE protocol and introduced
2881 "IV Included" flag which can be used to indicate that the IV
2882 is included in the ciphertext. This makes it possible to use
2883 SILC on unreliable transport, such as UDP which may cause
2884 packet reordering and losses. Updated protocol specs, did
2887 Sun Nov 17 15:50:57 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2889 * Fixed the MPI implementation of silc_mp_sizeinbase to return
2890 < 32 bit values in correct size. Affected file is
2891 lib/silcmath/mp_mpi.c.
2893 Sat Nov 16 13:14:45 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2895 * Fixed the KE Start Payload parsing to check that mandatory
2896 fields are present. Affected file lib/silcske/payload.c.
2898 * Fixed compilation warnigs in Irssi SILC Client. Affected
2899 files are irssi/src/silc/core/silc-query.c. client_ops.c.
2901 Thu Nov 14 19:33:28 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2903 * Print "nick now appears as newnick" and update Irssi's nicklist
2904 when you change your nick to "nick". Closes #62
2906 * Never format your own nick. Closes #63
2908 Thu Nov 14 09:44:54 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2910 * SILC_UMODE_GONE changes are now propagated correctly to the
2911 Irssi client. Closes #54
2913 Tue Nov 12 19:42:18 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2915 * Fixed example in /HELP KEY
2917 * Added expando $j which expands to current SILC Client version
2919 Tue Nov 12 19:46:39 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2921 * Fixed public key decoding in crypto library.
2923 * Added better error printing to SKE library.
2925 Tue Nov 12 08:50:12 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2927 * Fixed NICK command to not crash if nickname was not sent.
2929 Mon Nov 11 19:32:00 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2931 * Added Encrypt-Then-MAC order to SILC packet MAC generation.
2932 Deprecated the old Encrypt-And-MAC order. Updated protocol
2933 specs and implemented.
2935 * Added Encrypt-Then-MAC order to Channel Message Payload MAC
2936 generation. Updated specs and implemented.
2938 Sun Nov 10 12:20:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2940 * Added support for rekey before 2^32 sequence number wraps.
2941 Affected files in server and client library.
2943 * Padding must be at least 8 bytes now. Implemented and updated
2946 * Compute maximum padding for authentication packets to make
2947 passphrase approximation attacks impossible. Affected files
2948 in client library and in server.
2950 * Fixed PING command sending in client library and handling in
2951 server. The server ID must be ID Payload, not raw ID data.
2952 Affected files in server and client library.
2954 * Defined that all public keys sent in commands and notify
2955 payloads are actually Public Key Payloads not raw public key
2956 data. Updated protocol specs and implemented.
2958 * Updated protocol version to 1.2. Updated specs and code.
2960 * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED
2961 status types. Updated specs and the code.
2963 * Added support for normal client to kill its own entries from
2964 the network. Updated protocol specs and the code.
2966 * Defined the SILC_MESSAGE_FLAG_SIGNED. Updated protocol specs
2967 and added initial implementation.
2969 * Added MAC field to the Private Message Payload to protect
2970 against chosen ciphertext attacks. Updated the protocol specs
2973 * Added idle and signon fields to the ATTRIBUTE_SERVICE
2974 attribute to indicate the user's current idle and signon time
2975 of a service. Updated protocol specs and implemented.
2977 Thu Nov 7 19:21:10 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2979 * Added "do_not_bind" argument to silc_client_file_send what
2980 can be used to not bind locally but assume the file receiver
2981 provides the point of connect. Usefull when sender is behind
2982 NAT device. Affected file lib/silcclient/silcclient.h and
2985 * Added -no-listener option to FILE SEND command in Irssi SILC
2986 client. Affected file irssi/src/silc/core/silc-servers.c.
2987 Renamed FILE RECEIVE to FILE ACCEPT.
2989 * Confirm passphrase for private key encryption in
2990 silc_create_key_pair and silc_change_private_key_passphrase.
2991 Affected files are lib/silcutil/silcapputil.c.
2993 Thu Nov 7 10:05:28 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2995 * Move silc_client_packet_send back to internal, added
2996 silc_client_send_packet, a bit simpler function for application.
2997 Affected files lib/silcclient/silcclient.h, client.c and
3000 * Moved the SilcClientEntry, SilcChannelEntry and
3001 SilcServerEntry to silcclient.h to be public and documented
3002 them for application. Affected files are
3003 lib/silcclient/silcclient.h and idlist.h.
3005 Wed Nov 6 17:18:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3007 * Fixed manual page installation patch by Ville Räsänen.
3008 USERS help page fix patch by Ville Räsänen
3010 * Changed the silc_client_command_call interface to make
3011 the command call simpler for the application. The library
3012 now handles the command line parsing, command finding and
3013 execution. Application only needs to call the function
3014 with the command line. Affected files are
3015 lib/silcclient/silcclient.h, command.[ch].
3017 * Fixed silc_get_input to NULL-terminate the returned input.
3018 Affected file lib/silcutil/silcutil.c.
3020 * Resolve the client's public key in JOIN command if the
3021 founder auth data is being requested but we don't know the
3022 client's public key. Affected file silcd/command.c.
3025 Mon Nov 4 16:02:59 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3027 * Print notify for server opers when backup router comes
3028 online. Affected file silcd/server.c.
3030 * Fixed the INVITE command to send the invite list in
3031 command reply. Affected file silcd/command_reply.c.
3033 * Fixed MOTD command reply sending. Affected file
3036 * UTF-8 decode the topic in TOPIC command reply and LIST
3037 command reply in Irssi SILC client. Affected file is
3038 irssi/src/silc/core/client_ops.c.
3040 Sun Nov 3 17:59:15 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3042 * Fixed the INVITE command to not crash Irssi SILC client
3043 when given without nickname argument. AFfected file
3044 irssi/src/silc/core/client_ops.c.
3046 * Fixed double free in WHOIS query on normal server when
3047 forwarding query to router. Affected file is
3048 silcd/server_query.c.
3050 * Fixed WATCH command reply handling on normal server which
3051 was missing altogether. Affected file silcd/command_reply.c.
3054 Sun Nov 3 00:42:05 EET 2002 Mika Boström <bostik@lut.fi>
3056 * Added man-pages for silc(1), silcd(8) and silcd.conf(5).
3057 Included yodl sources for each of these. Also modified
3058 Makefile.am prototype to install these files to proper
3059 locations. Updated CREDITS. Affected file Makefile.am.pre,
3060 new files doc/*.yo, doc/silc.1, doc/silcd.conf.5,
3063 Sat Nov 2 21:26:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3065 * Added support for encrypted private key files. Now
3066 passphrase must be provided when new key pair is created
3067 (can be empty though), and prompted when loading the
3068 private key. Added support for loading the old-style
3069 non-encrypted private keys as well. Affected files
3070 lib/silccrypt/silcpkcs.[ch], Irssi SILC client and
3073 * Fixed silc_get_input to accept input on all terminals.
3074 Affected file lib/silcutil/silcutil.c.
3076 * Moved the Irssi SILC client key loading and other stuff
3077 to be called after the arguments and UI is initialized.
3078 Affected file irssi/src/silc/core/silc-core.c. Bug #31.
3080 * Added -P option to Irssi SILC client which can be used
3081 to change the passphrase of the private key. Affected
3082 file irssi/src/silc/core/silc-core.c.
3084 * Added silc_change_private_key_passphrase apputil routine
3085 to lib/silcutil/silcapputil.[ch].
3087 Sat Nov 2 12:53:09 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3089 * Fixed connection closing in client library to not crash.
3090 Moved the connection freeing totally to function
3091 silc_clinet_del_connection. Affected file
3092 lib/silcclinet/client.c.
3094 Fri Nov 1 18:57:02 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3096 * Changed includes/silcincludes.h to silcincludes.h.in to
3097 include configuration specific information. The silcdefs.h
3098 is not included in to installation anymore (it's only
3099 compilation time header).
3101 Fri Nov 1 10:30:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3103 * Moved the SilcClient and SilcClientConnection from client.h
3104 to the public lib/silcclient/silcclient.h. Changed the
3107 Thu Oct 31 22:44:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3109 * If version string in silc_clinet_alloc is NULL the library
3110 puts it automatically. Affected file lib/silcclient/client.c.
3112 * Changed the version strings from variables to #define's
3113 in includes/silcversion.h.
3115 Wed Oct 30 16:17:30 CET 2002 Pekka Riikonen <priikone@silcnet.org>
3117 * Added shared library complation support.
3119 Tue Oct 29 21:48:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3121 * Added lib/silcutil/silcapputil.[ch] for application
3122 utility functions. It includes routines for applications'
3123 convenience. Added silc_create_key_pair, silc_show_public_key
3124 and silc_load_key_pair functions.
3126 Tue Oct 29 17:36:44 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3128 * Send RESUME_CLIENT packet from router to backup routers
3129 to in resuming. Affected file silcd/packet_receive.c.
3131 Mon Oct 28 21:23:39 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3133 * In IDENTIFY command parsing, send all other IDs except
3134 Client IDs explicitly to router for resolving on normal
3135 server. Also check that ID received in WHOIS command is
3136 always Client ID, others are not allowed. Affected file
3137 silcd/server_query.c.
3139 * Merged latest changes from irssi.org CVS.
3141 Sun Oct 27 11:44:32 EET 2002 Pekka Riikonen <priikone@silcnet.org>
3143 * Merged c0ffee's /set heartbeat patch to Irssi SILC client.
3144 Affected files irssi/src/silc/core/silc-core, silc-server.c.
3146 * Fixed the heartbeat sending in Irssi SILC client. Moved
3147 the silc_client_packet_send to silcclient.h for application
3148 usage. Affected files lib/silcclient/client_internal.h
3149 lib/silcclient/silcclient.h.
3151 * Fixed a bug in query resolving in server. Used wrong
3152 variable in a for loop and crashed. Affected file is
3153 silcd/server_query.c.
3155 * Server constructs requested attributes only to locally
3156 connected clients. Affected file silcd/server_query.c.
3159 * Fixed a bug when sending resolving from router to server
3160 with requested attributes. The constructed WHOIS command
3161 was incorrect. Affected file silcd/server_query.c.
3164 * Fixed Requested Attributes saving in WHOIS command reply.
3165 The length of the data buffer must be saved too. Affected
3166 file silcd/command_reply.c.
3168 * Update the client entry's servername after detaching is
3169 over. Affected file silcd/packet_receive.c. Bug #37.
3171 * Resolve incomplete client entrys in CUMODE_CHANGE and
3172 CMODE_CHANGE notifys. Affected file is
3173 lib/silcclient/client_notify.c. Bug #42.
3175 Thu Oct 24 12:22:35 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3177 * Fixed channel key packet processing bug on backup router
3178 during backup resuming protocol. Affected file is
3179 silcd/packet_receive.c.
3181 * Fixed memory leaks in server. Affected files are
3182 silcd/server.c and silcd/packet_receive.c.
3184 * Fixed packet decryption problem when backup router encrypted
3185 channel message with wrong key during backup resuming
3186 protocol. Affected file silcd/packet_send.c.
3188 * ROBODoc documented lib/silccrypt/silccipher.h. A patch by
3189 Toni Willberg (toniw@iki.fi)
3191 * Changed the SilcCipher context to be private. Changed the
3192 silc_cipher_get_iv to just return pointer to the IV. Added
3193 silc_cipher_get_name to return the name of the cipher.
3194 Fixed code all around to support these changes. Affected
3195 files are lib/silccrypt/silccipher.[ch], client library and
3198 Wed Oct 23 19:01:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3200 * Fixed unaligned access in lib/silccore/silcattrs.c.
3202 * Fixed libtool linking in lib/silcsim/Makefile.am.
3204 * Fixed services attribute printing. Affected files is
3205 irssi/src/silc/core/silc-queries.c.
3207 Wed Oct 23 09:51:04 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3209 * Fixed a crashbug in incoming server accepting. Affected
3210 file silcd/server.c.
3212 Tue Oct 22 13:02:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3214 * Added automatically generated index to Toolkit Reference
3217 * Added support for Postscript Toolkit Reference Manual.
3219 Mon Oct 21 21:30:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3221 * Merged DISCONNECT fix, and autoconn port fix from Irssi
3224 Sun Oct 20 19:54:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3226 * Added 'send_events' boolean argument to the function
3227 silc_schedule_set_listen_fd which sends the set events to
3228 the application explicitly if set to TRUE. Default action
3229 should be FALSE. Affected file lib/silcutil/silcschedule.[ch],
3230 lib/silcclient/client_internal.h and silcd/server_internal.h.
3232 * Added silc_compare_timeval to determine which time values
3233 is smaller. Affected file lib/silcutil/silcutil.[ch].
3235 * Added sort-of "Quality of Service" (QoS) support to
3236 SilcSocketConnection. Data reception can be controlled with
3237 rate limit per second and/or read data length limit.
3238 Added silc_socket_set_qos. Affected files are
3239 lib/silcutil/silcsockconn.[ch] and unix/silcunixsockconn.c.
3241 * Added the QoS configuration to SILC Server configuration
3242 file. Affected files are silcd/serverconfig.[ch] and
3245 Sun Oct 20 14:12:24 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3247 * Merged with irssi.org CVS.
3249 * Failed OPER and SILCOPER authentications are now logged.
3250 Affected file silcd/command.c. Bugs #25.
3252 Sat Oct 19 13:32:15 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3254 * ROBODoc documented lib/silcutil/silcbuffer.h and
3255 lib/silcutil/silcdlist.h. Patch by Ville Räsänen
3256 <ville.rasanen@iki.fi>.
3258 Fri Oct 18 10:51:04 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3260 * Added support for auto-passphrase authentication from the
3261 config file during connecting which was not implemented
3262 yet. Affected file irssi/src/silc/core/client_ops.c.
3264 * Fixed a bug in authentication protocol failure handling which
3265 was processing wrong callback context. Affected files
3266 are lib/silcclient/client.c and protocol.c.
3268 * Fixed the /ATTR allow off to actually work. Affected file
3269 is irssi/src/silc/core/silc-queries.c.
3271 * Fixed the /ATTR -del to work. Affected file is
3272 irssi/src/silc/core/silc-queries.c.
3274 Thu Oct 17 23:45:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3276 * Fixed string formatting crashbug in lib/silccore/silcattrs.c.
3278 * Fixed mask attribute adding in Irssi SILC client. Affected
3279 file irssi/src/silc/core/silc-queries.c.
3281 Thu Oct 17 16:40:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3283 * Added support for saving the requested attributes in
3284 WHOIS to directory. Affected file is
3285 irssi/src/silc/core/silc-queries.c.
3287 Wed Oct 16 17:40:56 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3289 * Added support for parsing VCard fields that do not have
3290 the TYPE= for types. Affected file lib/silcutil/silcvcard.c.
3292 * Fixed a double free bug in hash table foreach function
3293 if the entry was deleted in the foreach callback. Affected
3294 file lib/silcutil/silchashtable.c.
3296 Tue Oct 15 18:05:24 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3298 * Added silc_attribute_get_verify_data to return the signature
3299 verification data for either user digital signature or
3300 server digital signature in Requested Attributes. Affected
3301 files are lib/silccore/silcattrs.[ch].
3303 * Added silc_vcard_alloc which is used to allocated dynamic
3304 SilcVCard context. The silc_vcard_free now checks whether
3305 the context is dynamically allocated or not. Affected files
3306 are lib/silcutil/silcvcard.[ch].
3308 Mon Oct 14 17:55:44 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3310 * Periodically remove the NOATTR status from client entry
3311 so that the client may take the attributes in use even after
3312 server has resolved them unsuccessfully earlier. Affected
3313 file silcd/server_query.c and idlist.h.
3315 * Moved sha1hash and md5hash from client->internal to
3316 SilcClient for application usage. Affected files are
3317 lib/silcclient/client.h and client_internal.h.
3319 * Fixed attribute encoding and decoding bugs. Affected
3320 files lib/silccore/silcattrs.[ch].
3322 * Added ATTR command to Irssi SILC Client which is used to
3323 manage user's Requested Attributes sending and values for
3324 WHOIS command. Affected files around Irssi SILC client.
3326 Mon Oct 14 14:33:54 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3328 * Added silc_buffer_strformat which can be used to format
3329 strings into a buffer which size is automatically increased.
3330 Affected file lib/silcutil/silcbuffmt.[ch].
3332 * Added implementation of VCard (RFC 2426) which can be used
3333 as part of Requested Attributes in WHOIS command. Affected
3334 file lib/silcutil/silcvcard.[ch].
3336 Fri Oct 11 23:52:17 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3338 * Some strncat -> silc_strncat changes our the core and
3341 * Added SILC_SKE_STATUS_SIGNATURE_ERROR and OUT_OF_MEMORY
3342 errors. Added better error printing to SKE library.
3343 Affected files lib/silcske/silcske.c, silcske_status.h and
3346 * Save the PKCS key length even if only private key is set to
3347 SilcPKCS. Affected file lib/silccrypt/silcpkcs.[ch] and rsa.c.
3349 * Fixed the usage of silc_pkcs_get_key_len since it returns the
3350 length in bits not in bytes. Affected files are
3351 lib/silcske/silcske.c, lib/silccore/silcauth.c and
3352 silcd/server_query.c.
3354 Wed Oct 9 17:22:57 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3356 * Added silc_attribute_payload_encode_data to directly encode
3357 the data into the attributes buffer. Renamed function
3358 silc_attribute_payload_parse_list to silc_attribute_payload_parse.
3359 Affected files are lib/silccore/silcattrs.[ch].
3361 * silc_hash_table_find_foreach calls the foreach function now
3362 once even if the nothing was found with context set to NULL.
3363 Affected file lib/silcutil/silchashtable.[ch].
3365 * Remove the RESOLVING flag from client entry after received
3366 the Requested Attributes from the client. Fixed memory leak
3367 in client entry freeing. Affected files silcd/server_query.c
3370 * Added Requested Attributes support into SILC Client Library.
3371 It is not able to send requested attributes in WHOIS command,
3372 and also receive and process requested attributes. Added
3373 silc_client_attribute_[add|del] and silc_client_attributes_get
3374 functions. Added also `ignore_requested_attributes' to the
3375 SilcClientParams to not use attributes in client. Affected
3376 files are lib/silcclient/command.c, client_attrs.[ch],
3377 silcclient.h, client_internal and client.[ch].
3379 * Changed the silc_client_get_client_by_id to support Requested
3380 Attributes, it takes them as argument now. Affected file
3381 is lib/silcclient/silcclient.h, and idlist.c.
3383 * Added -details option to WHOIS command in Irssi SILC Client
3384 to support the requested attributes. By default it requests
3385 all attributes. Affected file lib/silcclient/command.c and
3386 irssi/doc/help/in/whois.in.
3388 Tue Oct 8 17:58:28 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3390 * Add also SERVICE attribute for server-constructed attribute
3391 data. Also digitally sign the attributes and add
3392 SERVER_DIGITAL_SIGNATURE attribute. Affected file is
3393 silcd/server_query.c.
3395 Mon Oct 7 18:25:35 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3397 * Changed the silc_attribute_payload_encode to support list
3398 of attributes (function may be called several times to add
3399 a new attribute). Removed the silc_attribute_payload_encode_list
3400 function. The encoding function now also automatically encodes
3401 the data, so the caller does not need to do that. Affected
3402 files lib/silccore/silcattrs.[ch].
3404 * Added support for replying on behalf of the user to the
3405 Requested Attributes in WHOIS command in the server. Affected
3406 file silcd/server_query.c.
3408 * SILC_NOT_IMPLEMENTED macro use SILC_LOG_INFO now instead of
3409 SILC_LOG_DEBUG. Affected file lib/silcutil/silclog.h.
3411 Sun Oct 6 16:48:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3413 * Don't swtich to become primary router if we are backup if
3414 decryption error has occurred. Affected file silcd/server.c.
3416 * Fixed a bug in backup router IP address comparison in
3417 silc_server_backup_get.
3419 Save now also the port of the server/router and use that
3420 in comparison as well. Affected file silcd/server_backup.c.
3422 * Normal server now reconnects to backup router automatically
3423 if connection is lost to it. Affected file silcd/server.c.
3425 Thu Sep 26 13:51:02 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3427 * If packet processing fails (like integrity check fails)
3428 the connection is closed now. Affected files are
3429 lib/silccore/silcpacket.c and silcd/server.c.
3431 Mon Sep 23 10:59:39 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3433 * Fixed double free in RSA public key set function
3434 silc_rsa_set_public_key. Affected file lib/silccrypt/rsa.c.
3437 Sun Sep 22 14:54:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3439 * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server.
3440 Added server_query.[ch] which provides one interface for
3441 querying information using all three commands.
3443 * Changed all "typedef unsigned char" in core library to
3444 "typedef SilcUInt8".
3446 Sat Sep 21 21:36:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3448 * Added silc_strncat into lib/silcutil/silcstrutil.[ch].
3450 * Renamed silc_server_get_client_resolve to
3451 silc_server_query_resolve and moved to server_query.[ch].
3453 Wed Sep 18 18:28:04 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3455 * Resumed client packet handling from server put the resumed
3456 client on wrong list on router and caused the client not
3457 be present on the network anymore. Now fixed to put the
3458 client to correct list. Affected file silcd/packet_receive.c.
3460 Wed Sep 18 15:13:48 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3462 * Various cleanup in error message output in config parsing code
3463 and in server init code. Fixed error log files containing
3464 too many newlines ('\n') in some situations. Affected files are
3465 silcd/serverconfig.c, silcd/silcd.c, and silcd/server.c.
3467 Wed Sep 18 10:51:23 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3469 * Use the reverse lookupped hostname in client internals
3470 instead of one user provided us as remote server name.
3471 Affected file lib/silcclient/client.c.
3473 Mon Sep 16 12:02:54 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3475 * Added 'app_context' to silc_schedule_init. It is an
3476 application specific context that is delivered to application
3477 in task callback functions. Affected files are
3478 lib/silcutil/silcutil.[ch].
3480 * The hb_context in SilcSocketConnection is not freed
3481 automatically anymore (application must free it). Freeing
3482 it automatic is inconsistent. Affected files are
3483 lib/silcutil/silcsockconn.[ch].
3485 Sun Sep 15 22:16:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3487 * Added support for removing explicitly added client connections
3488 in rehash and closing the client connections if they were
3489 unconfigured in the rehash. Affected file silcd/server.c.
3491 * Added support for aborting automatically pending commands
3492 that never receives the reply (to avoid memory leaks).
3493 Added also silc_server_command_pending_timed to set the
3494 specific timeout for pending command. Affected files are
3495 silcd/command[_reply].[ch].
3497 * Added SILC_STATUS_ERR_TIMEDOUT status. Updated protocol
3498 specs and lib/silccore/silcstatus.h.
3500 Sun Sep 15 12:25:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3502 * Changed the silc_get_time to accept time value as argument
3503 or if zero is sent return current local time. Affected
3504 file lib/silcutil/silcutil.[ch].
3506 * Added STATS command to client library and Irssi SILC client.
3507 Patch provided by Ville Räsänen <ville.rasanen@iki.fi>.
3509 Wed Sep 11 09:22:00 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3511 * Assure that channel key is set before sending it. May
3512 crash server otherwise. Affected file silcd/packet_send.c.
3514 Tue Sep 10 09:50:08 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3516 * Assure that endless loop cannot happen with detached client
3517 resolving on normal server. Added idlist status
3518 SILC_IDLIST_STATUS_RESUME_RES. Affected files are
3519 silcd/idlist.h and silcd/packet_receive.c.
3521 Mon Sep 9 12:18:18 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3523 * Incoming file transfer request cannot use same session as
3524 the sending session. This can happen when sending file to
3525 yourself. Crashed the client on quit. Affected file
3526 lib/silcclient/client_ftp.c. Bug #24.
3528 Sun Sep 8 18:39:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3530 * Implemented the draft-riikonen-precense-attrs draft and
3531 the Attribute Payload into the lib/silccore/silcattrs.[ch].
3533 Sun Sep 8 13:13:44 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3535 * Distribute the SERVER_SIGNOFF notify also to local backup
3536 routers from the primary router. The backup router may not
3537 have the signing of local server directly connected and need
3538 to know about the signoff. Affected file silcd/server_util.c.
3540 * Use the primary router as the origin of the locally connected
3541 server when it is disconnecting from the backup router since
3542 that's where it really is coming from. Now the clients from
3543 the disconnecting server are removed correctly and "shadow"
3544 clients are not left to the backup router. Affected file
3547 Sat Sep 7 22:26:50 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3549 * If normal server is standalone and found existing but disabled
3550 channel, do not re-create the channel since it creates
3551 duplicate same channels. Affected file silcd/server.c.
3553 * Added anonymous client connections support to server. New
3554 "anonymous" configuration option to ConnectionParams section
3555 added. If set to true, the username and hostname information
3556 of the client will be scrambled and anonymous user mode is
3557 set automatically to the user. Affected files are
3558 silcd/serverconfig.[ch], silcd/packet_receive.c and server.c.
3560 Sat Sep 7 16:02:09 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3562 * In JOIN notify handling, mark that the cache entry of the
3563 client cannot be expired. Can cause crashes on normal
3564 server (asserts client->channels). Affected file is
3565 silcd/packet_receive.c.
3567 * From now on distribution versions are used as protocol versions
3568 instead of by default using the Toolkit base version as protocol
3569 version. Affected file prepare.
3571 * Do not set the locally resolved hostname for local client
3572 entry but take what server sends. This way the real hostname
3573 is showed in WHOIS for yourself. Affected file is
3574 lib/silcclient/idlist.c and lib/silcclient/client.c.
3576 * Resolve local info with IDENTIFY when connecting to server.y
3578 Sat Sep 7 14:22:43 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3580 * Rewritten check for POSIX threads. Use --with-pthreads[=DIR]
3581 for implied search (not needed on platforms which has native
3582 pthreads library). Use --without-pthreads to disable threads.
3583 Affected file is configure.in.pre
3585 * Fixed --with-iconv on platforms which need to bypass (broken)
3586 native iconv(). Affected file is configure.in.pre
3588 Sat Sep 7 15:08:13 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3590 * Moved -C option parsing in Irssi SILC client at same time
3591 as other options. The UI was initialized earlier and caused
3592 problems on command line. Bug #16. Affected file is
3593 irssi/src/silc/core/silc-core.c.
3595 Mon Sep 2 23:00:30 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3597 * Added global variable silc_log_timestamp that tells silclog
3598 wether to print or not the timestamp in the logging files.
3599 Affected file lib/silcutil/silclog.[ch].
3601 * Added silcd configuration option Timestamp in the Logging
3602 section. Affected file silcd/serverconfig.[ch],
3603 doc/example_silcd.conf.in.
3605 Fri Aug 30 08:57:33 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3607 * Fixed fingerprint checking to check for entirely empty
3608 fingerprint instead of two first bytes when determining
3609 if it is set. Bug #18. Affected file silcd/command.c.
3611 * Fixed duplicate PKCS name registering to not allow it.
3612 Bugs #17. Affected file lib/silccrypt/silcpkcs.c.
3614 Sun Aug 25 08:02:04 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3616 * Conditionalize non-gcc compiler optimizations for various
3617 platforms, enable those commented out. Cleanups.
3618 Affected file lib/silcmath/mpi/configure.in
3620 Sat Aug 24 15:11:32 EEST 2002 Timo Sirainen <tss@iki.fi>
3622 * silc_rng_exec_command() left zombie processes if command
3623 didn't generate any output. Affected file
3624 lib/silccrypt/silcrng.c
3626 Fri Aug 23 22:05:44 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3628 * Rewrote iconv checking, introduce --with-iconv for systems
3629 which rely on libiconv. Check if iconv() provided by libc
3630 is good enough, otherwise demand libiconv. Affected file
3633 Fri Aug 23 07:10:52 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3635 * Search for ldopen() also in libc. This enables SIM support
3636 on *BSD systems. Based on patch from Alex Zepeda. Affected
3637 file configure.in.pre
3639 Sun Aug 18 04:44:30 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3641 * Don't call AM_CONDITIONAL conditonally for SILC_THREADS.
3642 This fixes prepare on *BSD systems. Affected file
3645 Sun Aug 4 15:55:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3647 * More fixed for not having purge timeout for global clients
3648 that are on channel. Affected files silcd/command_reply.c
3651 * Fixed the rekey protocol to work with backup router connections.
3652 Rekey packets are now allowed on disabled connections as
3653 well. Affected files silcd/packet_send.c and server.c.
3655 * Do not switch to be as backup router when shutting down and
3656 closing the primary connection. Affected file silcd/server.c.
3658 * Fixed memory leaks in backup router deleting. Added
3659 silc_server_backup_free to free all data during shutdown of
3660 server. Affected files silcd/server_backup.[ch].
3662 Sun Jul 14 21:33:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3664 * Do not process commands if the sock->user_data is NULL.
3665 Affected file silcd/command.c.
3667 Tue Jul 9 19:03:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3669 * Fixed buffer overflow and security problems (loosing bits
3670 in CFB encryption) in SILC RNG. Problems reported by
3671 Markku-Juhani O. Saarinen <mjos@saturn.tcs.hut.fi>.
3673 Sun Jul 7 13:10:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3675 * Added yet more checks that client is not expired on global
3676 list if it is on channels. Affected file is
3677 silcd/command_reply.c.
3679 Sat Jul 6 11:45:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3681 * Merged c0ffee's MIME signal patch which adds support for
3682 sending also MIME messages in Irssi SILC Client, and handling
3683 received MIME messages in a signal (and perhaps doing something
3684 to non-textual MIME messages).
3686 Sun Jun 30 01:30:22 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3688 * Fixed pending command deletion in server and client library
3689 to check the whole list instead of breaking after first found.
3690 The affected files are silcd/command.[ch] and
3691 lib/silcclient/command.[ch].
3693 Sat Jun 29 17:40:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3695 * Return NO_SUCH_CHANNEL error in USERS for channel that is
3696 secret or private, otherwise it's possible to find out
3697 whether a secret channel exists or not. Affected file
3700 * If CMODE change fails during the mode setting, assure that
3701 the old mode mask is set for the channel back. Affected
3702 file silcd/command.c.
3704 * Fixed passphrase saving on +a channel on normal server
3705 after successful JOIN command. Affected file silcd/command.c.
3707 Fri Jun 28 11:53:25 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3709 * Remove server/router operator privileges in DETACH command,
3710 since it's possible to resume to server where these
3711 privileges would not be allowed for the client. Affected
3712 file silcd/command.c.
3714 * Do not set to wait for backup in rehash of the server.
3715 Affected file silcd/server.c.
3717 * Do not check listener sockets when counting how many
3718 socket connections we have. Affected file is
3719 silcd/server_util.c.
3721 * Do not announce disconnected clients that are remaining
3722 in history (for WHOWAS). This is because SIGNOFF notify
3723 for these has been sent earlier already. Affected file
3726 Thu Jun 27 20:07:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3728 * Buffer overflow with CUMODE command's mode->mode character
3729 conversion. Reported by Ville Räsänen. Affected file
3730 lib/silcutil/silcutil.c.
3732 Thu Jun 27 16:54:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3734 * Allow heartbeat packets to go disabled connections anyway.
3735 Affected files silcd/server.c and silcd/packet_send.c.
3737 * Do not broadcast New Channel packets with List flag set
3738 in the packet to backup routers. The router must check
3739 for the correctness of the packets before sending them.
3740 It is possible that router will have enforce Channel ID
3741 change and this would cause desync in the backup router.
3742 Affected file silcd/packet_receive.c.
3744 * Remove SILC_PACKET_FLAG_LIST from the temp packets that
3745 are handled in list parsing. They are not list packets
3746 anymore. Affected file silcd/packet_receive.c.
3748 Thu Jun 27 11:27:07 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3750 * Stop waiting for backup router through the timeout, not
3751 directly after backup router has arrived. Affected file
3754 * Do not re-create channel keys and send them when removing
3755 clients in server shutdown. Affected files are
3756 silcd/server_internal.h and silcd/server_util.c.
3758 * Notify distribution to backup routers was missing from
3759 the silc_server_send_notify_dest function which caused
3760 desyncing problems with backup router. Affected file is
3761 silcd/packet_send.c.
3763 * The client's channel removing was working wrong on
3764 backup router. It assumed that it doesn't know global
3765 information but backup router does know. For this reason
3766 it could remove channel when it wasn't supposed to do that.
3767 Affected file silcd/server.c and silcd/server_util.c.
3769 Wed Jun 26 15:14:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3771 * Stop for a couple seconds after badkup router has become
3772 primary router. Affected file silcd/server.c.
3774 * Added silc_server_remove_servers_by_server, which is used
3775 to remove servers originated from some other server. Also
3776 clients of those servers can be removed too. Affected file
3777 silcd/server_util.[ch].
3779 * When removing clients after a server has signed of remove
3780 also all servers behind that server (unless they are known
3781 to be available locally), and send SERVER_SIGNOFF for each
3782 of the server separately. Also the signed off clients are
3783 sent now separately per signed off server. The affected files
3784 are silcd/server.c and silcd/server_util.[ch].
3786 * All servers added with silc_idlist_add_server must always
3787 have both "router" and "connection" pointers set. Otherwise,
3788 bad server entries may be left around in the cache.
3789 Affected file silcd/command_reply.c.
3791 * Do not create the channel key in NEW_CHANNEL packet
3792 processing if the channel is empty. Affected file
3793 silcd/packet_receive.c.
3795 * Completed backup router support for standalone routers.
3796 Supports also servers in the cell that do not use the backup
3799 Wed Jun 26 10:38:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3801 * Fixed a bug in silc_string_regexify which did not add '^'
3802 at the start of each string, and thus the matching was
3803 not explicit. For example ban list iikone@*!*@* would
3804 match also "priikone", which is wrong, it would have to be
3805 *iikone@*!*@* to match also "priikone". Affected
3806 file lib/silcutil/unix/silcunixutil.c.
3808 Tue Jun 25 18:47:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3810 * Enable all local server connections before updating client
3811 caches when we've become backup router. Otherwise, signoff
3812 packets may not reach the clients. Affected files are
3813 silcd/server.c and silcd/server_util.[ch].
3815 * Fixed a bug in version string parsing which could crash
3816 the program with specially formatted version string.
3817 Bug reported and patch provided by Ville Räsänen. Affected
3818 file lib/silcutil/silcutil.c.
3820 * Handle the disconnection immediately when DISCONNECT
3821 packet is received in server. Affected file silcd/server.c.
3823 * Primary router now waits a short time (10 seconds) for
3824 backup router connection before accepting any other
3825 connection (except local). Affected file silcd/server.c,
3828 * Fixed a crash in client libary in NICK_CHANGE notify when
3829 NICK_CHANGE arrived for client entry we are resolving
3830 currently. Affected file lib/silcclient/client_notify.c.
3832 * Call the sconn->callback completion even if error had
3833 occurred. Start reconnecting always if connection to
3834 primary router fails during backup router protocol.
3835 Affected files silcd/server.c and server_backup.c.
3837 Mon Jun 24 17:47:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3839 * Added functions silc_server_send_opers and
3840 silc_server_send_opers_notify to send packets stricly
3841 to operators. Added macro SILC_SERVER_SEND_OPERS macro
3842 to send variable argument notify to operators.
3843 Affected files silcd/packet_send.[ch] and silcd/server.h.
3845 * Removed UMODE rights checking with UMODE_CHANGE notify.
3846 Affected file silcd/packet_receive.c.
3848 * Server/router operator now receives notify when network
3849 switches to backup router and when it resumes the use of
3850 primary router. Affected file silcd/server.c and
3851 silcd/server_backup.c.
3853 * Fixed the updating of client information after backup
3854 resuming protocol is over; update all except local clients
3855 to the new primary router. The affected file is
3856 silcd/server_util.c.
3858 * Added support for closing active connections in rehash
3859 that were unconfigured by the user. Supports currently
3860 closing server and router connections. Affected file
3863 * Rewrote some SILC_LOG_DEBUG's in silcd/server_backup.c.
3865 Sun Jun 23 17:32:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3867 * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer
3868 is NULL since seems that on some platforms NULL is allowed
3869 and on some it's not. Fallback encoding is used instead.
3870 Affected file lib/silcutil/silcstrutil.c.
3872 * Fixed statistics updating for incoming server connection
3873 which could cause problems when re-connecting. Affected
3874 file silcd/server.c.
3876 * Preliminary backup router support for standalone router
3877 added. Affected files in silcd/.
3879 * Mark server connections in backup router disabled before
3880 and after backup protocol. Affected file is
3881 silcd/server_backup.c.
3883 * Added support for reconnecting to remote server connection
3884 even if the protocol fails, and if the configuration wants
3885 us to keep trying to connect anyway.
3887 Server connection is not allowed to backup router if
3888 backup router does not have connection to primary router yet.
3890 Affected file is silcd/server.c.
3892 Sat Jun 22 21:34:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3894 * Added silc_client_udpate_server function to update changed
3895 server info. Affected file lib/silcclient/idlist.[ch].
3897 * Added check for server entries that are being resolved when
3898 notify is received. If being resolved, handle the received
3899 notify only after it's resolved so that all notifys are
3900 handled in same order as received from the server.
3902 Added similar resolver check to channel entries. Every
3903 notify that cause resolving of any information that affects
3904 channel entry marks the channel entry in waiting state.
3905 After whatever resolving is over the waiters are signalled
3906 and only then the notifys are handled in the same order
3907 as delivered from the server.
3909 Affected files are lib/silcclient/idlist.[ch], and
3912 * Fixed KILLED notify handling in normal server. Affected
3913 file silcd/packet_receive.c.
3915 * Added SILC_IDLIST_STATUS_LOCAL which indicates that entry
3916 is locally connected, or was locally connected (but may
3917 be detached and connection is not active). Added also
3918 SILC_IS_LOCAL for checking this status. Affected files
3919 silcd/idlist.h, silcd/packet_receive.c, silcd/server_util.c,
3920 silcd/server.c and silcd/server_internal.h.
3922 Sat Jun 22 17:06:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3924 * Don't send or handle TOPIC_SET if topic is already set and
3925 is same as being set. Affected files silcd/command.c and
3926 silcd/packet_receive.c.
3928 * Fixed CMODE change rights checking to work correctly when
3929 removing modes by operator. Affected file is
3930 silcd/server_util.c.
3932 * Fixed some handling with New Channel packet in router and
3933 fixed some CMODE_CHANGE notify handling in server and router.
3934 Affected file is silcd/packet_receive.c.
3936 * Changed "disconnect" client operation to include the
3937 reason of the disconnection and optional disconnection
3938 message. Affected file lib/silcclient/silcclient.h.
3940 * Made the compilation of lib/contrib/ stuff conditional.
3941 Affected files configure.in.pre, lib/contrib/Makefile.am.
3943 Sat Jun 22 12:49:21 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3945 * All CMODE_CHANGE and CUMODE_CHANGE notifys are now sent back
3946 to the sender of the notify too, to avoid situation where two
3947 notifys are in the network at the same time going to oppsite
3948 directions. Affected file silcd/packet_receice.c.
3950 Fri Jun 21 10:00:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3952 * Delete the client from channel even if the cilent->id is
3953 NULL. It was possible that client was deleted without
3954 removing from channels (theoretically at least). Affected
3955 file silcd/server.c and silcd/server_util.c.
3957 * Free the client data too when resuming is not successful.
3958 Affected file silcd/packet_receive.c.
3960 * Merged some code from c0ffee's silc-plugin. Affected files
3961 irssi/src/silc/core/silc-channels.c and silc-expandos.c.
3963 * Added SILC_PRIMARY_ROUTE and SILC_BROADXAST macros to
3964 silcd/server_internal.h. SILC_PRIMARY_ROUTE Returns pointer
3965 to the primary router connection, the other one returns
3966 TRUE if packet must be broadcasted to network.
3968 * All notifys that are destined to primary router (to network)
3969 are now automatically sent to backup routers even if the
3970 router is standalone (and has backup router). Affected files
3973 * Added --without-irssi and --without-silcd configuration
3974 options for disabling the compilation of these applications.
3975 Affected file configure.in.pre and prepare.
3977 Thu Jun 20 13:48:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3979 * Implemented SILC_STRING_BMP and SILC_STRING_UNIVERSAL for
3980 UTF-8 encoding and decoding. Added also new encodings
3981 SILC_STRING_BMP_LSB and SILC_STRING_UNIVERSAL_LSB.
3983 Added also SILC_STRING_LANGUAGE which is language and charset
3984 specific encoder and decoer for those platforms that support
3985 iconv(). It can convert the UTF-8 to and from the locale
3986 specific character set.
3988 Affected file lib/silcutil/silcstrutil.[ch].
3990 * Added macro SILC_NOT_IMPLEMENTED to lib/silcutil/silclog.h.
3992 * Added function silc_get_command_name to the file
3993 lib/silcutil/silcutil.[ch].
3995 * Improved the server debug output a bit. Affected files are
3998 Wed Jun 19 17:46:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4000 * Save the channel passphrase when received succesful JOIN
4001 command reply from router, on normal server. Otherwise
4002 joinig +a channels from normal server is not possible.
4003 Affected file silcd/command.c.
4005 * Fixed a bug in TOPIC_SET notify handling. The notifier
4006 may be other than client too, like server or channel.
4007 It expected it to always be only client and ignored the
4008 notify. Affected file silcd/packet_recieve.c.
4010 * Removed some (unnecessary) debug printing from
4011 lib/silccore/silcid.c and lib/silccore/silcargument.c.
4013 * Do not force CMODE_CHANGE when server is announcing new
4016 Router announces stuff only after server reannounces channel
4017 after CHANNEL_CHANGE notify.
4019 These fixes optimizes the announcing procedure, and perhaps
4020 fixes some problems too. Affected file silcd/packet_receive.c.
4022 * Fixed SERVER_SIGNOFF sending to local clients. It was
4023 totally broken and sent the notify to all local clients,
4024 instead of only to those that was on same channel as the
4025 signing off clients. Affected file silcd/server_util.c.
4027 * Added -D option to server. It can be used to give debug
4028 level. The levels are from 0 - 99, and are predefined for
4029 smooth server debugging. (see silcd.c for the predefined
4030 levels). Affected file silcd/server.c.
4032 Wed Jun 19 16:01:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4034 * Fixed a bug in Irssi SILC client to close the connection
4035 properly when disconnecting from server. Affected file
4036 irssi/src/silc/core/client_ops.c.
4038 Tue Jun 18 17:14:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4040 * When authenticating as founder during JOIN command, check
4041 that the one authenticating becomes the only founder on the
4042 channel. Affected file silcd/command.c.
4044 * Better checking for founder mode setting when CUMODE_CHANGE
4045 notify is received. Affected file silcd/packet_receive.c.
4047 * Close all connections when shutting down the server by sending
4048 DISCONNECT packet. Close all listeners too when shutting
4049 down the server. Affected file silcd/server.c.
4051 * Handle DISCONNECT packet correctly in client library by
4052 calling the "disconnect" client operation. Affected file
4053 lib/silcclient/client.c.
4055 * Handle local errors correctly during resuming. Affected
4056 file lib/silcclient/client.c.
4058 Tue Jun 18 10:26:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4060 * The log file is not dupped internally anymore in
4061 lib/silcutil/silclog.c. Fixed memory leaks too.
4063 * The scheduler now dispatches all pending timeout tasks
4064 when it is uninitialized with silc_schedule_uninit.
4065 Affected file lib/silcutil/silcschedule.c.
4067 Mon Jun 17 21:30:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4069 * Added --enable-stack-trace option to configure. Added
4070 memory allocation stack trace support. Added files
4071 lib/silcutil/stacktrace.[ch]. Affected files are
4072 lib/silcutil/silcmemory.[ch].
4074 * Fixed memory leaks from libraries and server. Affected
4075 files around the tree.
4077 * Reverted back a fix made to CUMODE which broke it.
4078 Affected file silcd/command.c.
4080 Sun Jun 16 11:49:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4082 * Added SILC_MESSAGE_FLAG_UTF8 to the protocol specs and the
4083 core library, and implemented it. All textual messages SHOULD
4084 use this flag and the message MUST be UTF-8 encoded.
4085 All text messages sent by Irssi SILC client are now UTF-8
4086 encoded (regardless whether the terminal supports UTF-8 or not).
4087 Affected files are lib/silccore/silcchannel.h,
4088 irssi/src/silc/core/silc-servers.c, silc-channels.c and
4091 Sat Jun 15 18:23:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4093 * Added lots of new statistics updating that was missing from
4094 the server and router code. Affected files in silcd/.
4096 * Sending SIGUSR1 signal to server now dumps the current
4097 server statistics into /tmp directory. Affected file is
4100 * ROBODoc documented the lib/silccrypt/silchash.h. Improved
4101 the SILC Hash Interface also. Added new functions
4102 silc_hash_get_name, silc_hash_init, silc_hash_update and
4103 silc_hash_final. Affected file lib/silccrypt/silchash.c.
4105 Sat Jun 15 12:09:14 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4107 * Added some better info printing for client during connecting.
4108 Affected file silcd/server_util.c.
4110 * Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
4111 to silence a user on a channel. Affected files are
4112 lib/silcclient/client_channel.c, irssi/src/silc/core/client_ops.c,
4113 irssi/src/fe-common/silc/module-formats.[ch], silcd/command.c
4114 and silcd/packet_receive.c.
4116 * Fixed a fatal bug in handling of malformed command payload.
4117 Affected file silcd/command.c.
4119 * Fixed a double free when announcing channel users to router.
4120 Affected file silcd/server.c.
4122 * After successful authentication to channel founder mode, check
4123 that there isn't anyone else with founder mode on the channel.
4124 The one that authenticated will become founder and anyone
4125 else is demoted. Affected file silcd/command.c.
4127 * Added error printing of any error that has occurred during
4128 any command in client library. Affected file is
4129 irssi/src/silc/core/client_ops.c.
4131 * Removed some error printing from the client library and left
4132 it for the application to worry (from the error status it
4133 receives in 'command' client operation. Affected file is
4134 lib/silcclient/command.c.
4136 Fri Jun 14 22:59:02 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4138 * Added new status types KEY_AGREEMENT_ALREADY_STARTED and
4139 KEY_AGREEMENT_SELF_DENIED to lib/silcclient/silcclient.h.
4140 Starting key agreement with itself is denied. Affected file
4141 is lib/silcclient/client_keyagr.c.
4143 * Fixed some error checkings from the SFTP library which caused
4144 misbehaviour. Affected files are lib/silcsftp/sftp_client.c
4145 and lib/silcsftp/sftp_util.c.
4147 * Added new "debug" and "debug_string" settings to Irssi SILC
4148 client which can be used to print runtime debugging on the
4149 Irssi's screen. Available when compiled with --enable-debug
4150 option. Affected file irssi/src/silc/core/silc-core.c.
4152 Tue Jun 11 16:36:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4154 * Fixed a missing variadic parameter in a function call that
4155 caused server crash when a non-allowed connection arrived.
4156 Reported by Richard Becker. Affected file silcd/server.c.
4158 Mon Jun 10 16:29:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4160 * Added WATCH list sending to backup routers from router.
4161 The WATCH command is sent by the router to the backup
4162 router. Affected file silcd/command.c.
4164 * Mark the backup_router flag for RouterConnection entry
4165 if the backup router stuff is defined in the config file.
4166 Affected file silcd/serverconfig.c.
4168 * Fixed some backup data sending around the code to work better
4169 if the router is standalone router. Not all places were fixed.
4170 Affected file silcd/packet_receive.c, silcd/packet_send.c,
4173 * Fixed the router connecting when connecting to multiple
4174 routers. It ignored every other router except the first
4175 one. Affected file silcd/server.c.
4177 Mon Jun 10 09:28:21 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4179 * Made the private key generation after expiration optional.
4180 If not created after expiration the old key will re-expire
4181 at a later time (and thus key pair is not necessary to
4182 change). Affected file irssi/src/silc/core/clientutil.c.
4184 Sun Jun 9 18:58:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4186 * The length arguments in bind() and connect() were wrong
4187 and fixed now to used SIZEOF_SOCKADDR in the
4188 lib/silcutil/unix/silcunixutil.c.
4190 Tue Jun 4 18:36:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4192 * Fixed detach timeout handling to use Client ID and not
4193 the actual client entry which may be freed in the callback.
4194 Affected file silcd/command.c.
4196 Thu May 30 15:53:45 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4198 * Merged c0ffee's multiple interface support patch.
4199 Affected files in silcd/.
4201 Wed May 29 18:08:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4203 * Cleanup keys properly. Affected file is
4204 irssi/src/silc/core/clientutil.c.
4206 Tue May 28 20:11:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4208 * Display the user mode on the status bar. Affected file
4209 irssi/src/silc/core/silc-expandos.c.
4211 Tue May 28 13:56:26 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4213 * If private message key is not set, but the flag is set in
4214 the packet, ignore the packet since it cannot be decrypted.
4215 Affected file lib/silcclient/client_prvmsg.c.
4217 Thu May 23 12:00:14 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4219 * When resuming client, remove the old client entry from
4220 the watcher list too. Affected file silcd/packet_receive.c.
4222 * Do not allow normal server to force founder mode away
4223 from router if the founder mode is already set. Affected
4224 file silcd/packet_receive.c.
4226 * Remove the client entry with watch notify types with short
4227 timeout, and not directly, so that other notifys can be
4228 retrieved too. Affected file lib/silcclient/client_notify.c.
4230 * Display notification about data messages that cannot be
4231 displayed. Affected files irssi/src/silc/core/client_ops.c,
4232 irssi/src/fe-common/silc/module-formats.[ch].
4234 Sun May 19 18:59:00 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4236 * Fixed the CHANNEL_CHANGE notify handling in client libary
4237 to not use freed memory. Affected file is
4238 lib/silcclient/client_notify.c.
4240 * Fixed CUMODE_CHANGE notify handling in server. Affected
4241 file silcd/packet_receive.c.
4243 * Fixed USERS command to support empty channels. Affected
4244 file silcd/command.c.
4246 Sat May 18 11:35:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4248 * Allow multiple identical pending commands to be registered
4249 in client library. Affected file is lib/silcclient/command.c.
4251 * Call the completion for resolving client information only
4252 after all resolvers has finished. This fixes a crash in
4253 the client. Added support for checking when the resolvers
4254 are finished. Affected file is lib/silcclient/idlist.c.
4256 * Wait by default 3 seconds before reconnecting to the server
4257 after being disconnected. Makes the /detach command a bit
4260 Fri May 17 17:23:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4262 * Check the watcher list before sending signoff notifys
4263 when closing client connection. Affected file is
4266 * Added better CMODE command rights checking. Affected file
4267 silcd/server_util.c.
4269 Fri May 17 08:33:41 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4271 * Fixed watcher list checking during server signoff. It
4272 crashed the server. Affected file silcd/server_util.c.
4274 * The JOIN command reply returns now the founder's public
4275 key. Affected file is silcd/command.c.
4277 * Announce the channel mode, and the mode properties with
4278 CMODE_CHANGE notify. Affected file silcd/server.c.
4280 * Mark new channels by default disabled, untill at least
4281 one user joins the channel. Affected file is
4282 silcd/packet_receive.c.
4284 Thu May 16 13:05:13 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4286 * The nickname argument to watch notify can be optional.
4287 Fixes a crash in server. Affected file silcd/packet_send.c.
4289 * Remove the client entry from cache if the WATCH notify type
4290 is KILLED, SERVER_SIGNOFF or SIGNOFF. Affected file is
4291 lib/silcclient/client_notify.c.
4293 * Check the watcher list before and after changing nickname
4294 when the NICK_CHANGE notify is received. Affected file is
4297 * Fixed a crash in OPER and SILCOPER command sending. Empty
4298 passphrase caused the crash. Affected file is
4299 lib/silcclient/command.c.
4301 Wed May 15 19:01:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4303 * Merged with Irssi CVS for Irssi SILC client.
4305 Tue May 14 19:37:48 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4307 * Completed the protocol specifications.
4309 Tue May 7 20:41:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4311 * Merged with Irssi CVS for Irssi SILC client.
4313 Tue May 7 11:07:16 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4315 * Added the founder's public key delivery to the
4316 CUMODE_CHANGE notify type as well. Updated the protocol
4317 specs and the code. Affected files are silcd/packet_send.[ch],
4318 silcd/packet_receive.c and silcd/command.c.
4320 Mon May 6 19:46:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4322 * Added silc_pkcs_public_key_copy function into the
4323 lib/silccrypt/silcpkcs.[ch].
4325 * Remove the `iv' from the SilcChannelEntry since we can
4326 live without it. Affected files are silcd/idlist.h and
4327 silcd/packet_receive.c.
4329 * Added support for sending the founder's public key in
4330 the CMODE_CHANGE notify packet in the server. Affected
4331 files are silcd/packet_send.[ch], silcd/packet_receive.c,
4332 silcd/command.c and silcd/server.c.
4334 * Changed the FOUNDER_AUTH authentication to use only
4335 public key authentication as defined by new protocol
4336 specs. Passphrase authentication with that mode cannot
4337 be used anymore. It is now possible to reclaim founder
4338 mode from any server in the network. Affected files are
4339 silcd/command.c, silcd/idlist.h and silcd/command_reply.c.
4341 * Added permanent channels support by making the channel
4342 permanent when FOUNDER_AUTH mode is set on the channel.
4343 The channel will not be destroyed even if channel is empty
4344 when that mode is set. Protocol TODO #17. Affected
4345 files are silcd/server.[ch], server_util.[ch],
4346 silcd/command.c, silcd/packet_receive.c and
4347 lib/silcclient/command.c.
4349 Fri May 3 18:36:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4351 * Added reference counter to the command reply context in
4352 the client library. Affected files are
4353 lib/silcclient/command_reply.[ch].
4355 Fri May 3 11:37:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4357 * Fixed rekey protocol with PFS in the client library.
4358 Affected file is lib/silcclient/protocol.c.
4360 * Added support for list of errors in client library
4361 command reply handling. Affected file is
4362 lib/silcclient/command_reply.c.
4364 * Defined that the WHOIS and IDENTIFY commands can send
4365 list of errors. Updated the protocol specs. Protocol
4368 * Added support for sending list of errors to WHOIS and
4369 IDENTIFY commands in server. Added support for receiving
4370 list of errors in server. Affected files are
4371 silcd/command.c and silcd/command_reply.c.
4373 * Fixed client info resolving on LEAVE command in client
4374 library to not crash. Affected file is
4375 lib/silcclient/client_notify.c.
4377 Thu May 2 08:45:11 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4379 * Defined that the NICK command replies with thew changed
4380 nickname too, to make the nickname changing simpler at
4381 the client's end. Updated protocol specs and the code
4382 in client and server. Affected files are
4383 silcd/command.c, lib/silcclient/command_reply.c and
4384 lib/silcclient/command.c.
4386 Mon Apr 29 20:10:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4388 * Added `Compressed' packet flag to indicate that the packet
4389 payload is compressed by the sender. Updated the protocol
4390 specs and the core library. The compression still is not
4391 implemented in the sources. Affected file is
4392 lib/silccore/silcpacket.h.
4394 Mon Apr 29 09:48:12 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4396 * Remove pending command callbacks also if the connection
4397 to the server is destroyed. Affected file is
4398 lib/silcclient/client.c.
4400 Sat Apr 27 19:52:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4402 * Added new QUIET channel user mode that can be used to
4403 quiet a user in a channel. Updated the protocol specs but
4404 it wasn't implemented yet. Protocol TODO #27. Affected
4405 file is lib/silccore/silcmode.h.
4407 Mon Apr 22 09:09:44 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4409 * Added BLOCK_INVITE user mode to be able to block incoming
4410 invite notifications. Protoocol TODO #26. Affected files
4411 are lib/silccore/silcmode.h, lib/silcclient/command.c and
4414 * SILC Publickey fields MUST be UTF-8 encoded now. Updated
4415 the protocol specs and the code. Affected file is
4416 lib/silccrypt/silcpkcs.c.
4418 Sun Apr 21 19:44:38 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4420 * Disconnect Payload includes now the status type. Updated
4421 the protocol specs and the code. Protocol TODO #25.
4422 Affected files are silcd/server.c, lib/silcclient/client.c.
4424 * Added NOT_AUTHENTICATED, BAD_SERVER_ID, INCOMPLETE_INFORMATION,
4425 KEY_EXCHANGE_FAILED and BAD_VERSION error status types.
4426 Moved the silc_client_command_status_messages table to the
4427 lib/silcutil/silcutil.c and added new funtion
4428 silc_get_status_message, which deprecates function
4429 silc_client_status_message. Affected files are
4430 lib/silccore/silcstatus.h, lib/silcclient/command_reply.[ch],
4431 lib/silcutil/silcutil.[ch].
4433 Fri Apr 19 17:35:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4435 * Defined that the nickname hash in Client ID MUST be from
4436 lowercase nickname. This effectively changes nicknames in
4437 SILC to case-insensitive. Updated the protocol specs and
4438 the code. Affected files are lib/silcutil/silcutil.[ch],
4439 silcd/serverid.c, and silcd/idlist.c.
4441 * Added new channel user modes BLOCK_MESSAGES_USERS and
4442 BLOCK_MESSAGES_ROBOTS. Updated the protocol specs and the
4443 code. Affected files are lib/silccore/silcmode.h,
4444 lib/silcclient/command.c, and silcd/packet_send.c.
4446 * Added new error status ERR_RESOURCE_LIMIT. Updated protocol
4447 specs and code. Affected file lib/silccore/silcstatus.h.
4449 * Added support for watch list. It is possible to add nicknames
4450 to be watched, and when they come to network, leave network
4451 or user mode changes the watcher will be notified of this
4452 change. Added SILC_COMMAND_WATCH command, added new
4453 notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch
4454 notifications. Updated the protocol specs and implemented
4455 this to library, client and server. Protocol TODO #21.
4456 Affected files are lib/silccore/silccomand.h,
4457 lib/silccore/silcnotify.h, lib/silcclient/command[_reply].[ch],
4458 silcd/command[_reply].[ch], lib/silcclient/client_notify.c,
4459 silcd/packet_send.[ch], silcd/packet_receive.c, and
4460 irssi/src/silc/core/client_ops.c.
4462 * Added user mode SILC_UMODE_REJECT_WATCHING to reject
4463 somebody watching you. Updated the protocol specs and the
4464 code. Affected files are lib/silccore/silcmode.h, and
4465 lib/silcclient/command.c.
4467 Fri Apr 19 09:02:20 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4469 * Added service support to SILC protocol. Added new command
4470 SILC_COMMAND_SERVICE. Updated the protocol specs and the
4471 core library. Services are not implemented in server or
4472 client for now. Protocol TODO #20. Affected files are
4473 lib/silccore/silcstatus.h, lib/silccore/silccommand.h.
4475 * Added SilcStatus argument to `command' client operation
4476 to return the error status when command sending fails
4477 locally. Changed all command in client library to return
4478 correct command status. Affected files are
4479 lib/silcclient/command.c, lib/silcclient/silcclient.h and
4480 irssi/src/silc/core/client_ops.c.
4482 Thu Apr 18 14:09:51 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4484 * Added silc_mime_parse function to parse MIME headers.
4485 Affected files are lib/silcutil/silcstruti.[ch].
4487 * Added MIME header parsing in Irssi SILC Client. It displays
4488 all textual MIME objects, others it ignores. Affected file
4489 is irssi/src/silc/core/clien_ops.c.
4491 Wed Apr 17 22:07:59 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4493 * Fixed a bug in the pid writing function, which couldn't be
4494 written in a root-owned directory.
4496 Tue Apr 16 09:34:40 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4498 * Defined that channel message to unknown Channel ID must
4499 cause SILC_NOTIFY_TYPE_ERROR notify message to the sender.
4500 Updated the protocol specs and the code in server. The
4501 affected file is silcd/packet_receive.c.
4503 Mon Apr 15 19:57:57 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4505 * Added new notify type SILC_NOTIFY_TYPE_ERROR and specified
4506 that it is used to send error notifys if error occurs during
4507 some SILC packet processing, except commands. The error
4508 types are same as for command reply types. Defined that
4509 if private message is sent to unknown Client ID the error
4510 is sent in SILC_NOTIFY_TYPE_ERROR instead of command reply.
4511 Updated the protocol specs and code. Affected files are
4512 lib/silccore/silcnotify.h, added lib/silccore/silcstatus.h,
4513 lib/silcclient/client_notify.c, silcd/packet_receive.c,
4514 and irssi/src/silc/core/client_ops.c. Renamed the
4515 SilcCommandStatus to SilcStatus.
4517 * Defined the use of extra WHOIS attributes in WHOIS command.
4518 The <Requested Attributes> (defined in a separate document)
4519 can be used to request additional information about user
4520 not returned by standard WHOIS command. Defined that server
4521 can send WHOIS command directly to client. Client provides
4522 the requested attributes to the server. Updated the protocol
4523 specs. Protocol TODO #4. Implementation is not done yet
4524 (Protocol TODO #24).
4526 * Renamed function silc_client_command_status_message to
4527 silc_client_status_message. Affected files are
4528 lib/silcclient/command_reply.[ch].
4530 Sun Apr 14 21:13:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4532 * Changed the WHOIS, IDENTIFY and WHOWAS count arguments to
4533 32 bit integers. Updated the protcol specs and the code.
4534 Affected files are silcd/command.c and
4535 lib/silcclient/command.c.
4537 Sun Apr 14 19:49:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4539 * Fixed a bug in library where sending a bogus authentication
4540 payload would lead to a crash. Affected file is
4541 lib/silccore/silcauth.c.
4543 Sat Apr 13 13:09:24 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4545 * Added detach_disabled and detach_timeout server config
4546 options to the server. Affected files silcd/serverconfig.[ch],
4547 silcd/command.c and silcd/packet_receive.c.
4549 Fri Apr 12 20:09:08 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4551 * Added resolve_cmd_ident field to the SilcClientEntry structure
4552 too so that if the entry is for example being resolved so
4553 another command may attach to the same pending command reply
4554 without requiring to resolve the same entry again. Added
4555 support for adding multiple pending commands for one
4556 command idenfier. Affected files lib/silcclient/command.[ch],
4557 lib/silcclient/command_reply.[ch], lib/silcclient/idlist.h.
4559 Fri Apr 12 10:17:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4561 * Defined that server receives WHOIS command reply for private
4562 and secret channels too. Updated protocol specs and the
4563 code in server. Affected file silcd/command.c.
4565 * Defined <channel user mode list> argument to WHOIS command
4566 reply for returning user modes on the channels. The
4567 channel list now doesn't include the user mode anymore but the
4568 actual channel mode. Updated protocol specs and the code in
4569 client and server. Affected files are silcd/command_reply.c,
4570 silcd/command.c, silcd/server.c, irssi/src/silc/core/client_ops.c,
4571 and lib/silcclient/command_reply.c.
4573 * Save the channels list in WHOIS command reply in normal server
4574 so that WHOIS always shows joined channels also in normal
4575 server and not just on router. Affected file is
4576 silcd/command_reply.c.
4578 Thu Apr 11 22:29:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4580 * Defined that server receives USERS command reply for private
4581 and secret channels too. Updated protocol specs and the
4582 code in server. Affected file silcd/command.c.
4584 Thu Apr 11 16:32:08 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4586 * Changed the UMODE's mode mask argument to be optional. If
4587 not provided then the command merely returns the current mode
4588 mask to the client. Updated protocol specs and the server.
4589 Affected file is silcd/command.c.
4591 * Added SILC session detachment/resuming support. It is possible
4592 to detach by closing the network connection and then re-connect
4593 and resume to the old client session. Added DETACHED user
4594 mode that server will set for detached client. Added new
4595 packet RESUME_CLIENT which is used to perform the resuming
4596 process. Added DETACH command. Updated the protocol specs,
4597 core library, client and server. Protocol TODO #22. Very
4598 many affected files around the tree.
4600 Wed Apr 10 16:32:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4602 * Changed the CMODE's mode mask argument to be optional. If
4603 not provided then the command merely returns the current mode
4604 mask to the client. Updated protocol specs and the server.
4605 Affected file is silcd/command.c.
4607 * Changed the Killer's Client ID in KILLED notify to be just
4608 any ID payload since router server is allowed to kill as well.
4609 Updated protocol specs, client libary and server. Affected
4610 files are lib/silcclient/client_notify.c, silcd/packet_receive.c,
4611 and irssi/src/silc/core/client_ops.c.
4613 Tue Apr 9 17:15:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4615 * Added new user modes ANONYMOUS for special anonymous servers
4616 that may set the mode for client, and BLOCK_PRIVMSG which
4617 client may set to block incoming private messages unless the
4618 Private Message Key flag is set (using private keys to protect
4619 private messages). Updated protocol specs and code in client
4620 and server and core library. Protocol TODO #23. Affected
4621 files are lib/silccore/silcmode.h, silcd/server.[ch],
4622 irssi/src/silc/core/client_ops.c, silcd/packet_receive.c,
4623 irssi/docs/help/in/umode.in, lib/silcclient/command.c.
4625 * Added new channel user mode BLOCK_MESSAGES which the client
4626 may set to itself to tell server not send channel messages.
4627 Other packets such as channel key packets are still sent.
4628 Protocol TODO #23. Updated the protocol specs, client and
4629 server. Affected files are lib/silccore/silcmode.h,
4630 irssi/docs/help/in/cumode.in, lib/silcclient/command.c,
4631 lib/silcutil/silcutil.c, silcd/command.c, and
4632 silcd/packet_send.c.
4634 Mon Apr 8 23:57:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4636 * Redefined the Status Payload to include now two 8 bit fields,
4637 instead of one 16 bit field. This now makes it possible to
4638 send list of errors. Updated the protocol specs and the code
4639 in core library, client library and server. Protocol TODO #1.
4640 Affected files are lib/silccore/silccommand.[ch],
4641 lib/silcclient/command_reply.[ch], silcd/command.c,
4642 silcd/command_reply.c and silcd/packet_receive.[ch].
4644 Mon Apr 8 19:57:40 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4646 * Added config parse status SILC_CONFIG_EPRINTLINE, this status
4647 must be handled by the application and should tell the application
4648 that an error message was already printed, and it should print the
4649 config coords (line, filename, ...). Affected files are
4650 silcd/serverconfig.c, lib/silcutil/silcconfig.[ch].
4652 * Added local macro SILC_SERVER_CONFIG_ALLOCTMP to make the
4653 server config parsing code more readable.
4655 Fixed a bug in the fetch_logging() config callback.
4657 Affected files is silcd/serverconfig.c.
4659 * Drop root privileges when started in foreground. Don't drop them
4660 if debugging also. Affected file is silcd/silcd.c.
4662 Mon Apr 8 17:00:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4664 * Added more IM-like features by introducing new user modes
4665 for setting various presence information. Added new modes:
4666 INDISPOSED, BUSY, PAGE, HYPER and ROBOT. Updated protocol
4667 specs and code. Protocol TODO #19. Affected files are
4668 lib/silccore/silcmode.h, irssi/src/silc/core/client_ops.c,
4669 irssi/docs/help/in/umode.in and lib/silcclient/command.c.
4671 Sun Apr 7 17:07:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4673 * Added STATS command to the protocol after all, to return
4674 various statistical information about the network. It can
4675 be used by clients to retrieve statistical information, and
4676 servers may use it to to fetch cell and network wide
4677 statistics from router. Updated the protocol specs and
4678 implemented it to the server. Protocol TODO #16.
4679 Affected files are lib/silccore/silccommand, silcd/command.[ch],
4680 silcd/command_reply.[ch].
4682 Sat Apr 6 17:08:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4684 * The LIST command reply in client libary now adds new channel
4685 entry if the returned channel doesn't exist yet in cache,
4686 and returns the channel entry to the application in the
4687 command_reply client operation. Affected file is
4688 lib/silcclient/command_reply.c.
4690 * Changed the channel message payload's MAC generation to
4691 include the IV in the MAC as well. This way all relevant
4692 parts of the channel message payload are authenticated also
4693 with the channel message MAC (and not only by packet MAC).
4694 Causes incompatibility with 1.0 protocol. Protocol TODO #7.
4695 Affected file is lib/silccore/silcchannel.c.
4697 * Fixed the SKE to save the remote version, since the
4698 silc_ske_parse_version mistakenly checked wrong version,
4699 after it replaced the start payload. Affected files are
4700 lib/silcske/silcske.[ch].
4702 Fri Apr 5 16:03:03 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4704 * Splitted lib/silcutil/silcutil.h into silcstrutil.h for
4705 string utility functions. Added there also new functions
4706 silc_utf8_[encode/decode/valid] for UTF-8 string encoding.
4707 Affected files lib/silcutil/silcstrutil.[ch].
4709 * Renamed silc_*_pem functions to silc_pem_* functions. Affected
4710 files are lib/silcutil/silcstrutil.[ch].
4712 * Defined that the security property fields in SKE SHOULD be
4713 UTF-8 encoded, defined that version string MUST be US-ASCII
4714 encoded, defined that passphrases sent in connection
4715 authentication protocol MUST be UTF-8 encoded. Implemented
4716 these to the client and server. Defined also that other
4717 passphrases sent in the protocol MUST be UTF-8 encoded.
4718 Affected files are lib/silcske/silcske.c,
4719 lib/silcclient/protocol.c, silcd/protocol.c,
4720 silcd/serverconfig.c, and lib/silccore/silcauth.c.
4722 * Changed the silc_client_close_connection interface to not
4723 need the SilcSocketConnection which should not be visible
4724 to application. Affected files are lib/silcclient/client.c
4725 and lib/silcclient/silcclient.h.
4727 * Rewrote the text for Private Message Key Payload in the
4728 protocol specification. Protocol TODO #11.
4730 Wed Apr 3 16:24:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4732 * Upgraded the protocol version to 1.1, updated protocol specs
4735 * Added the nickname as new argument to NICK_CHANGE notify and
4736 added it to protocol specs and implemented it to client and
4737 server. Protocol TODO #3. Affected files are silcd/idlist.[ch],
4738 silcd/command.c, silcd/packet_receive.c, packet_send.[ch], and
4739 lib/silcclient/client_notify.c.
4741 * Added the killer's client ID to the KILLED notify and added
4742 it to protocol specs and implemented it to client and server.
4743 Protocol TODO #13. Affected files are silcd/command.c,
4744 silcd/packet_receive.c, packet_send.[ch],
4745 lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4746 The killer's client entry is now returned to application in
4747 the `notify' client operation.
4749 * Fixed the Max Argument fields that had too large value set
4750 in the protocol specs. Protocol TODO #14.
4752 * Added the LEAVE command reply to return the ID of parted
4753 channel. Updated protocol specs and implemented it to the
4754 client and server. Protocol TODO #15. Affected files are
4755 silcd/command.c, lib/silcclient/command_reply.c. The channel
4756 entry is now returned to application in the `command_reply'
4759 * Rewrote the version SKE version checking in client libary
4760 and in server to use the silc_parse_version_string. Affected
4761 files are lib/silcclient/protocol.c, silcd/protocol.c.
4763 * Added SILC_STATUS_ERR_NO_CHANNEL_FOPRIV error status to few
4764 commands that was missing it, and updated protocol specs and
4765 the server implementation. Protocol TODO #10. The affected
4766 file is silcd/command.c.
4768 * Defined new message flags SILC_MESSAGE_FLAG_REPLY to be
4769 generic reply to a generic request (REQUEST flag), and
4770 SILC_MESSAGE_FLAG_DATA to send any kind of data in a generic
4771 way. A draft-riikonen-silc-flags-payloads-00.txt is written
4772 to define the payload for DATA flag. Added the flags to
4773 the implementation. Protocol TODO #9. Affected file is
4774 lib/silccore/silcchannel.h.
4776 Changed the client library to return the message length
4777 to application as well in the channel_message and private_message
4778 client operations. Affected files are
4779 lib/silcclient/client_prvmsg, lib/silcclient/client_channel.c,
4780 lib/silcclient/silcclient.h, irssi/src/silc/core/client_ops.c,
4781 and lib/silcclient/client_ops_example.c.
4783 * Added two new channel modes: SILC_CMODE_SILENCE_USERS
4784 and SILC_CMODE_SILENCE_OPERS which can be used to moderate
4785 the channel. Updated protocol specs and impelemented this
4786 to client and server. Protocol TODO #6. Affected files are
4787 silcd/packet_receive.c, server_util.c, lib/silcclient/command.c,
4788 lib/silcclient/client_channel.c, lib/silccore/silcmode.h.
4790 Added new options m and M to CMODE command in Irssi SILC
4791 client to set these modes.
4793 * Deprecated all administrative commands from SILC protocol
4794 since they are highly implementation specific commands.
4795 Updated protocol specs. Moved the old commands in
4796 implementations to private range of command types. Affected
4797 files are silcd/command.c, lib/silcclient/command.c and
4798 lib/silcclient/command_reply.c. Protocol TODO #8.
4800 * Fixed a bug in server where sending unknown command crashes
4801 the server. Affected file silcd/command.c.
4803 Wed Apr 3 09:57:47 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4805 * Added SILC_PROTOCOLVERSION macro to check protocol version
4806 of a socket connection. The affected file is
4807 lib/silcutil/silcsockconn.h.
4809 * Added better error logging in rekey protocol. Affected file
4812 * Do not check public key types in SKE during rekey. Affected
4813 file lib/silcske/payload.c.
4815 * Fixed the rekey protocol with PFS, which was totally broken.
4816 Affected file silcd/protocol.c.
4818 Tue Apr 2 14:55:06 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4820 * Some client implementations quit network by doing first LEAVE
4821 and then immediately SIGNOFF (like Bombyx). We now do check
4822 after a short time after LEAVE notify and check whether the
4823 client is still valid after LEAVE, and if not we remove it from
4824 cache. Affected file is lib/silcclient/client_notify.c.
4826 Tue Apr 2 13:39:04 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4828 * Merged version 1.1.4 of zlib. Even if it not currently in use,
4829 it's good not to have security holes here.
4831 * Fixed a negative refcount situtuation for the config context.
4832 Affected file is silcd/serverconfig.c.
4834 Mon Apr 1 20:15:10 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4836 * ROBOdoc documented lib/silcutil/silcutil.h.
4838 Sat Mar 30 21:06:45 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4840 * Optimized even more the SilcPacketContext structure. Now
4841 totally saved 16 bytes of memory per context after optimization.
4842 Affected files are lib/silccore/silcpacket.[ch].
4844 * Made strict checks for valid SILC IDs. Affected file is
4845 lib/silccore/silcid.c.
4847 Sat Mar 30 18:15:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4849 * Changed the object argument for silc_cipher_register,
4850 silc_hash_register, silc_hmac_register and silc_pkcs_register
4851 to const. Affected files are lib/silccrypt/silccipher.[ch],
4852 silchash.[ch], silchmac.[ch] and silcpkcs.[ch].
4854 * Changed the silc_get_username and silc_get_real_name to
4855 never fail. Affected file lib/silcutil/unix/silcunixutil.c.
4857 * Fixed the Irssi SILC Client to use the silc_get_username and
4858 silc_get_real_name insted of glib routines since the glib
4859 routines only corrupt stack. Fixes the Irssi SILC to work in
4860 Cygwin. Affected file irssi/src/silc/core/silc-core.c.
4862 * Fixed the Irssi to not use g_get_home_dir since it crashes
4863 or returns garbage on cygwin and corrupts stack. Added function
4864 get_home_dir to Irssi routines. Affected files are
4865 irssi/src/core/misc.[ch] and irssi/src/core/core.c.
4867 Fri Mar 29 21:55:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4869 * Made some structure optimizations. SFTP memory FS MemFSEntry
4870 entry structure. Optimized SilcTask structure. Optimized
4871 SilcPacketContext structure.
4873 Affected files lib/silcsftp/sftp_fs_memory.c,
4874 lib/silcutil/silcschedule.c, lib/silccore/silcpacket.h.
4876 Fri Mar 29 10:41:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4878 * And yet again reverted back the config thing since Johnny
4879 screwed it up. Affected file silcd/serverconfig.[ch], server.c,
4882 * Fixed memory leaks from config object. Affected files are
4883 silcd/serverconfig.[ch].
4885 * Added support for adding new connections to the server in rehash.
4886 After rehash they take effect.
4888 Added support for changing the maximum allowed connections in
4889 rehash. The number can grow but going smaller is not supported.
4891 Added function silc_server_num_sockets_by_remote to the
4892 silcd/server_util.[ch].
4894 Affected files are silcd/server.c, and silcd/serverconfig.[ch].
4896 Fri Mar 29 03:26:12 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
4898 * Added preliminary checking during config parsing for a valid
4899 public/private key and removed further checks in the code.
4900 Affected files are silcd/serverconfig.[ch], server.c.
4902 * Moved functions silc_server_drop() and silc_server_daemonise()
4903 from server.c to silcd.c since they are stricly related to
4904 the application activity.
4906 * Reverted a small part of the automatic ref/unref since
4907 it caused a double unref in some situations. Affected
4908 files are silcd/silcd.[ch], server.c, serverconfig.c.
4910 * Added some .cvsignore files in the lib directory.
4912 Thu Mar 28 22:51:15 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4914 * Fixed silc_net_gethostbyaddr to correctly resolve by
4915 address. Affected file lib/silcutil/silcnet.c.
4917 * Fixed the notify relaying to client. The HMAC to be used
4918 with relayed packets ws wrong and caused decryption failure
4919 at the client end. Affected file is silcd/packet_receive.c.
4921 Thu Mar 28 19:02:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4923 * Created new branch silc_protocol_1_0_branch.
4925 * Reverted the silc_log_quick change in lib/silcutil/silclog.c.
4927 * Changed the silc_server_config_* routines to be SilcServer
4928 independent. They are now officially application specific code
4929 and not part of generic server implementation. Affected files
4930 are silcd/serverconfig.[ch], silcd/silcd.c, silcd/server.c.
4932 Thu Mar 28 17:01:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4934 * Added automatic referencing of config context in the
4935 silc_server_config_alloc, and automatic unreferencing in the
4936 silc_server_config_destroy. Affected files are
4937 silcd/serverconfig.[ch], silcd/silcd.c.
4939 * Fixed the silc_log_quick handling in the logging routines.
4940 It didn't log quickly when it was TRUE. Affected file is
4941 lib/silcutil/silclog.c. Also the flush delay was set even
4942 if it was 0 in config file. Affected file is
4943 silcd/serverconfig.c.
4945 * Added support for changing key pair of the server in rehash.
4946 Affected file silcd/server.c.
4948 Thu Mar 28 12:17:21 CET 2002 Pekka Riikonen <priikone@silcnet.org>
4950 * Fixed the TOPIC_SET notify to not cras. It changed the topic
4951 too early, before getting the channel entry. Affected file
4952 is silcd/packet_receive.c.
4954 Thu Mar 28 09:58:16 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
4956 * Added functions silc_server_config_[ref/unref], these are used
4957 to prevent that the config object is destroyed.
4959 No longer directly affect global variables silc_log_quick and
4960 silc_log_delay, they are first cached inside the config object
4961 and then applied with silc_server_config_setlogfiles().
4963 silc_server_config_set_defaults() is now internal to
4964 serverconfig.c, there are no reasons to show this internal stuff
4967 Affected files are silcd/serverconfig.[ch].
4969 * Added macro SILC_SERVER_LOG_STDERR(), this should replace most
4970 fprintf's to stderr, since some code may be executed again after
4971 the server went into the background. Affected files are
4974 * Added rehash support. Added function silc_server_rehash() that
4975 will perform all the basic tasks of the rehashing procedure.
4977 * Added command line option `-x, --hexdump'. This will enable the
4978 SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'.
4979 The option `--hexdump' implies `--debug'.
4981 * Fixed a bad bug in the logging APIs (silcutil library) where
4982 the application would crash after calling silc_log_reset_all().
4984 Wed Mar 27 19:43:16 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4986 * Fixed the KICKED notify handling in client library to
4987 correctly remove the channel and all entries from the
4988 channel when I was kicked. This bug crashed the client.
4990 Fixed yet another but in KICKED notify handling to remove
4991 the kicked client correctly from the channel.
4993 Affected file is lib/silcclient/client_notify.c.
4995 * Fixed a minor bug in looking up correct client entry
4996 in KICKED notify in server. Affected file is
4997 silcd/packet_receive.c.
4999 * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP
5000 sources correctly to distribution. Fixes --with-gmp option.
5002 * Removed the manual rehashing from ID Cache, and changed it
5003 to use the SILC Hash Table's auto rehash feature. Affected
5004 file is lib/silccore/silcidcache.c.
5006 Wed Mar 27 00:07:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5008 * Fixed a bug in the silc_client_nickname_format function that
5009 handles the multiple same nickname formatting. Two clients
5010 with same nickname caused problems after the first one left
5011 and rejoined. It didn't format the nickname correctly.
5012 Affected file is lib/silcclient/idlist.c.
5014 Tue Mar 26 19:33:03 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5016 * Don't change the topic if olod topic is same as new one.
5017 Affected file is silcd/packet_receive.c.
5019 Mon Mar 25 21:11:35 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5021 * Added cross-reference support to the SILC Documentation
5022 generator. All types across all HTML files are now cross-
5023 referenced. Affected files util/robodoc/generator.c and
5024 scripts/silcdoc/silcdoc.
5026 * Added file lib/silcutil/silctypes.h to include all the
5027 arithmetic type definitions and some macros. Removed
5028 includes/bitmove.h and moved macros to silctypes.h.
5030 Mon Mar 25 17:19:46 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5032 * Merged bugfixes for Irssi SILC client from irssi.org CVS.
5034 Sun Mar 24 11:21:04 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5036 * Added `type' argument to silc_id_payload_parse_id function which
5037 now returns the type of the ID to the sent pointer. Affected
5038 file is lib/silccore/silcid.[ch].
5040 * Added check for CMODE_CHANGE notify type that mode change is
5041 allowed by the sender. Affected file silcd/packet_receive.c.
5043 * Added check for CUMODE_CHANGE notify type that mode change is
5044 allowed by the sender. Affected file silcd/packet_receive.c.
5045 Added the ID type as CUMODE_CHANGE notify type as argument
5046 to the `notify' client operation. Affected files are
5047 lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
5049 * Added function silc_client_add_server to the client library.
5050 Added support for resolving also channel and server info when
5051 received unknown entity in notify packet. Affected files are
5052 lib/silcclient/idlist.[ch], lib/silcclient/client_notify.c.
5054 * Added function silc_command_get_status to return the command
5055 status from the command reply's argument payload. Affected files
5056 are lib/silccore/silccommand.[ch].
5058 * Added check for KICKED notify type that the kicking is
5059 allowed by the client. Affected file silcd/packet_receive.c.
5061 * Created function silc_get_input which can be used to get input
5062 (echo on or off) from user on command line. Affected files are
5063 lib/silcutil/silcutil.[ch].
5065 Sat Mar 23 09:51:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5067 * Optimized silc_server_packet_relay_to_channel function.
5068 Added new function silc_channel_message_payload_encrypt which
5069 can be called directly if channel message payload needs to
5070 be encrypted and is already encoded (no need to call _encode
5071 function). Packet relaying is now done by router without any
5072 extra memory allocations. Affected files are
5073 lib/silccore/silcchanel.[ch], silcd/packet_receive.c and
5074 silcd/packet_send.c.
5076 * Fixed the INVITE notify handling. It took wrong arguments
5077 as invite list and invite delete. Affected file is
5078 silcd/packet_receive.c.
5080 * Added check for TOPIC_SET notify type that the topic change is
5081 allowed by the client. Affected file silcd/packet_receive.c.
5083 * Added check for INVITE notify type that inviting is allowed by
5084 the client. Affected file silcd/packet_receive.c.
5086 * Changed the silc_server_client_on_channel to return the
5087 SilcChannelClientEntry as well. Moved the function
5088 silc_server_check_cmode_rights to server_util.[ch].
5089 Affected files are silcd/server_util.[ch], silcd/command.c.
5091 * Added function silc_server_check_umode_rights to check whether
5092 changing client's user mode is allowed. Added check for
5093 UMODE_CHANGE notify type that the umode change is allowed
5094 by the client. Affected files are silcd/server_util.[ch],
5095 silcd/packet_receive.c and silcd/command.c.
5097 Fri Mar 22 12:25:58 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5099 * Fixed the SILC_PACKET_MAX_ID_LEN to actually be the max
5100 ID length. It ignored that ID can be IPv6 based as well.
5101 Affected file lib/silccore/silcpacket.h.
5103 * Fixed the silc_id_id2str and silc_id_str2id to take the
5104 IPv6 address offset's into consideration. Affecte file is
5105 lib/silccore/silcid.c.
5107 Thu Mar 21 20:44:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5109 * Fixed the internal Unix scheduler functions to check for
5110 NULL context they may receive. The affected file is
5111 lib/silcutil/unix/silcunixschedule.c.
5113 Thu Mar 21 19:12:22 EET 2002 Timo Sirainen <tss@iki.fi>
5115 * Changed hardcoded ~/.silc paths to use get_irssi_dir() so you
5116 can specify different directory with --home command line
5117 parameter. Affected files irssi/src/silc/core/client_ops.c,
5120 * SILC-specific commands aren't now executed if the active server
5121 isn't of SILC-type, so there won't be problems with having
5122 IRC and SILC protocol support in same client. Affected files
5123 irssi/src/silc/core/silc-channels.c, silc-servers.c,
5126 Wed Mar 20 11:06:57 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5128 * Improved the signal support in SILC Schedule. Added new
5129 function silc_schedule_signal_call which is used by application
5130 to mark a signal to be called. It is now safe to perform
5131 any kind of tasks in signal callbacks since it is guaranteed
5132 that the application specified signal callback is called
5133 after the signal is over. Affected files are
5134 lib/silcutil/silcschedule.[ch], lib/silcutil/*/silc*schedule.c.
5136 Tue Mar 19 20:42:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5138 * Added `name' field to SilcChannelPrivateKey to represent
5139 application given name for the key. Moved also the context from
5140 lib/silcclient/idlist.h into lib/silcclient/silcclient.h.
5141 Added the `name' argument also to the function
5142 silc_client_add_channel_private_key.
5144 Added function silc_client_current_channel_private_key to set the
5145 current channel private key in use.
5147 Added "change" command to KEY command which can be used to change
5148 the current channel private key. Bound the command also to
5149 alt+K (Alt+Shift+k).
5151 Also affected files lib/silcclient/client_channel.c,
5152 irssi/src/docs/help/in/key.in, irssi/src/silc/core/silc-channel.c.
5154 Tue Mar 19 16:32:43 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5156 * Added silc_rng_get_byte_fast function in to the
5157 lib/silccrypt/silcrng.[ch].
5159 * Changed the interface of silc_packet_assemble and the
5160 silc_packet_send_prepare. If silc_packet_assmble is now
5161 called the application does not call silc_packet_send_prepare
5162 because the library will call it automatically. These
5163 interfaces now also return a reference to the outgoing buffer
5164 which includes the assembled packet, which the application can
5165 use to encrypt the packet.
5167 Affected files are lib/silccore/silcpacket.[ch],
5168 lib/silcclient/client.c, client_channel.c client_prvmsg.c,
5169 silcd/packet_send.c, server_backup.c and packet_receive.c.
5171 * Fixed a packet sending bug on very high load, where outgoing
5172 packet queue wasn't handled correctly and packets got corrupted.
5173 Affected files are lib/silcutil/*/silc*sockconn.c,
5174 lib/silcclient/client.c and silcd/server.c.
5176 Mon Mar 18 21:00:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5178 * Added macro SILC_PACKET_DATALEN which can be used during
5179 packet assembling to check whether the data to be added to
5180 the packet will fit to SILC_PACKET_MAX_LEN. If not the data
5181 len is truncated until it fits it.
5183 Added checks for maximum length of channel message payload and
5184 private message payload also.
5186 Added checks for maximum packet length in server and in
5189 Affected files are lib/silccore/silcpacket.h, silcd/packet_send.c,
5190 lib/silcclient/client.c, lib/silccore/silcchannel.c and
5191 lib/silccore/silcprivate.c, lib/silcclient/client_channel.c and
5192 lib/silcclient/client_prvmsg.c.
5194 Mon Mar 18 14:54:42 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5196 * Added silc_server_packet_queue_purge call to the
5197 silc_server_disconnect_remote to assure that all data in the
5198 queue before disconnecting is sent to the network. Affected
5199 file silcd/server.c.
5201 Sun Mar 17 19:26:16 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5203 * Added the deleting of server's own ID cache entry to the
5204 silc_server_free function. Free also everything else that
5205 has been allocated in silc_server_init. The affected file
5208 Sun Mar 17 15:44:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5210 * Added functions silc_parse_version_string, silc_version_to_num,
5211 and silc_ske_parse_version to parse SILC protocol style version
5212 strings. Affected files lib/silcutil/silcutil.[ch] and
5213 lib/silcske/silcske.[ch].
5215 * Added new configuration params: version_protocol, version_software
5216 and version_software_vendor to specify what version the remote
5217 host must at least be to be able to connect to server. The vendor
5218 string can be regex matched too. Added new function
5219 silc_server_connection_allowed to check maximum number of allowed
5220 connections, and allowed versions for incoming connections.
5221 Affected files are silcd/server.c, server_util.[ch] and
5224 Sun Mar 17 10:24:50 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5226 * Added preliminary support for signals in scheduler. The
5227 signals we care about are now blocked always when the scheduler
5228 is locked. This way we can synchronise the use of signal with
5229 scheduler. It is guaranteed that when signal occurs the scheduler
5230 is not locked, and thus new tasks can be safely added to the
5233 Renamed silc_schedule_wakeup_init and silc_schedule_wakeup_uninit
5234 to silc_schedule_internal_init and silc_schedule_internal_uninit.
5235 Added new platform specific routines
5236 silc_schedule_internal_signals_[un]block and
5237 silc_schedule_internal_signal_[un]register.
5239 Added new functions to SILC Schedule API:
5240 silc_schedule_signal_[un]register. Each signal that application
5241 is going to use should be registered to the scheduler.
5243 Affected files are lib/silcutil/silcschedule.[ch],
5244 lib/silcutil/*/silc*schedule.c.
5246 Sat Mar 16 22:39:23 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5248 * Check for unauthenticated client and server in the
5249 silc_server_new_client and silc_server_new_server functions.
5250 Affected file silcd/packet_receive.c.
5252 * Added function silc_string_is_ascii to check whether given
5253 string is 7-bit ASCII string. Affected files are
5254 lib/silcutil/silcutil.[ch].
5256 * Added function silc_id_is_valid_server_id into the
5257 silcd/serverid.c and added checking for valid Server ID's in
5258 silc_server_new_server. The Server ID must always be based
5259 on the server's public IP address.
5261 * Added logging of DISCONNECT packet message in the server.
5262 Affected file silcd/server.c.
5264 Sat Mar 16 18:04:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5266 * Changed all library interfaces that use Global RNG to also
5267 accept SilcRng as argument. Affected files are
5268 lib/silcclient/command.c, lib/silccore/silcauth.[ch],
5269 lib/silccore/silcchanel.[ch], lib/silcclient/client_channel.c,
5270 silcd/packet_send.c, lib/silccore/silcprivate.[ch],
5271 lib/silcmath/silcprimegen.c, lib/silcmath/silcmath.h, and
5272 lib/silccrypt/rsa.c.
5274 * Added function silc_pkcs_generate_key to the
5275 lib/silccrypt/silcpkcs.[ch] for applications so that they
5276 don't need to do pkcs->pkcs->init calls anymore.
5278 * Remove SilcSocketConnection from the SFTP API since it really
5279 wasn't needed there. The application has the information
5280 saved in its contexts anyway and the SFTP layer doesn't need
5281 know about it. Affected files lib/silcsft/silcsftp.h and
5282 lib/silcsftp/sftp_[server/client].c.
5284 * Rewrote the SILC SIM (modules) interface in lib/silcsim.[ch].
5285 The SilcSimContext is not SilcSim.
5287 * Fixed possible buffer overflows in silc_id_render in the
5288 lib/silcutil/silcutil.c.
5290 * On EPOC the global crypto module lists are not used at all
5291 in the crypto library. Added support for using the constant
5292 algorithm list on EPOC. Affected files are
5293 lib/silccrypt/silccipher.c, silchash.c, silchmac.c and
5296 * Fixed the handling of third parameter of KICKED notify, since
5297 it was mistakenly updated to SILC Protocol 1.0 even though it
5298 is to be included in 1.1. Since it is not in 1.0 it is not
5299 mandatory, and this fix now handles it only if it is provided,
5300 and it is not error if it is not provided. Affected file
5301 lib/silcclient/client_notify.c.
5303 Sat Mar 16 09:07:27 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5305 * Handled CHANNEL_CHANGE notify (ignore it) in Irssi SILC
5306 client. Affected file irssi/src/silc/core/client_ops.c.
5308 * Merged with Irssi 0.8.4 from irssi.org CVS.
5310 Thu Mar 14 12:53:57 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5312 * Check for valid socket connection in client entries before
5313 sending any messages. Fixes a crash, but doesn't fix some
5314 other underlaying bug that is lurking there. Affected
5315 file silcd/packet_send.c.
5317 Thu Mar 14 13:38:12 EET 2002 Timo Sirainen <tss@iki.fi>
5319 * $usermode, $cumode and $cumode_space expandos shouldn't do
5320 anything with non-SILC server records. Affected file
5321 irssi/src/silc/core/silc-expandos.c
5323 Wed Mar 13 21:38:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5325 * Fixed the silc_net_check_[host/local]_by_sock to support
5326 IPv6 bound sockets as well. Now they can return IPv6 addresses
5327 as well. Affected file lib/silcutil/silcnet.c.
5329 * Fixed silc_net_addr2bin to correctly convert IPv6 addresses.
5330 Affected lib/silcutil/unix/silcunixnet.c.
5332 * Fixed ID rendering (at least on some platforms, not NetBSD)
5333 for IPv6 addresses. Affected file lib/silcutil/silcutil.c.
5335 Tue Mar 12 17:58:59 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5337 * Added silc_hash_public_key and silc_hash_public_key_compare
5338 functions to be used with SilcHashTable. They can be used to
5339 hash public keys and compare public keys in hash table. Affected
5340 file lib/silcutil/silcutil.[ch].
5342 * Added support for specifying multiple public keys for Client
5343 connection section in server configuration file. This makes it
5344 possible to accept multiple public keys from same host, or to
5345 make a section that accepts any incoming host, and have the
5346 accepted public keys listed in the section.
5348 Added functions silc_sever_[find/get]_public_key, added the
5349 support for this actually to all connection sections but only
5350 the Client section is currently allowed to specify multiple
5353 Affected files are silcd/server.c, server_internal.h,
5354 command.c, protocol.c, server_util.[ch], packet_receive.c.
5356 Mon Mar 11 23:37:38 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5358 * Merged Irssi 0.8.2 from irssi.org CVS.
5360 Sun Mar 10 23:34:48 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5362 * If silc_debug is TRUE, also output standard logging messages
5363 to stderr with the debug output.
5365 Made silc_log_reset_all() flushing all channels before returning.
5366 Also fixed some documentation typos.
5368 Affected files are lib/silcutil/silclog.[ch].
5370 Sun Mar 10 20:07:49 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5372 * Fixed the server to check correctly the amount of connections
5373 from single host, by checking also the type of the connection.
5374 Fixed also the comparison of number of connections and number
5375 of allowed connections. Affected files are silcd/server.c,
5378 Fri Mar 8 17:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5380 * Fixed the USERS command reply to save the user's mode on the
5381 channel as well. Fixed JOIN command reply to check whether a
5382 client is on channel already and not join it twice. Affected
5383 file lib/silcclient/command_reply.c.
5385 * Added new file silc-expandos.c into irssi/silc/core/ to return
5386 various stuff for various signal for the statusbar etc. updating.
5387 Now Irssi SILC client prints channel user modes etc. on the
5390 * The user mode (like server/router operator changes) is now shown
5391 on the Irssi SILC client's statusbar. The affected files are
5392 irssi/src/silc/core/client_ops.c, silc-expandos.c.
5394 Thu Mar 7 19:21:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5396 * Changed silc_mutex_[un]lock calls in lib/silcutil/silcschedule.c
5397 to SILC_SCHEDULE_[UN]LOCK macros.
5399 * Added more error printing to logs in server code. Affected
5400 files silcd/server.c and silcd/protocol.c.
5402 * Fixed -S option parsing in Irssi SILC Client. Affected file
5403 irssi/src/silc/core/silc-core.c.
5405 * Added silc_buffer_alloc_size function. Affected file is
5406 lib/silcutil/silcbuffer.h.
5408 Tue Mar 5 14:37:27 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5410 * Changed all silc_[hash|hmac|cipher|pkcs]_default tables to
5411 constants. Affected files in
5412 lib/silccrypt/silcpkcs.[ch], silchash.[ch], silchmac.[ch] and
5415 * Changed the internal SFTP Memory FS table to const. Affected
5416 file lib/silcsftp/sftp_fs_memory.c.
5418 Sun Mar 3 18:37:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5420 * Fixed the buffer formatting and unformatting routines to
5421 check the size of 64 bits types with sizeof(). Affected
5422 file is lib/silcutil/silcbuffmt.c.
5424 Mon Feb 25 17:19:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5426 * Removed 0.6.x backwards support.
5428 Sun Feb 24 12:53:25 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5430 * Changed all integer type names:
5431 [u]int[8/16/32/64] -> Silc[UInt/Int][8/16/32/64]. This is
5432 to avoid collisions with other libraries using same type names
5435 Sat Feb 23 20:31:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5437 * Added `prefer_ipv6' argument to the functions
5438 silc_net_gethostbyname[_async]. If it is TRUE it will return
5439 IPv6 address over IPv4. If FALSE IPv4 address is returned
5440 even if IPv6 address was found. Affected files
5441 lib/silcutil/silcnet.[ch].
5443 * Added support silc_net_create_connection[_async] to fallback
5444 to IPv4 address if IPv6 address could not be used (like if
5445 it doesn't work on a specific system). Affected file in
5446 lib/silcutil/unix/silcunixnet.c.
5448 Sat Feb 23 15:20:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5450 * Added silc_schedule_reinit function to do the enlarging
5451 of the max tasks handling capabilities of the scheduler.
5452 Affected files lib/silcutil/silcschedule.[ch].
5454 Wed Feb 20 20:41:01 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5456 * Added automatic extern "C" { ... } for C++ compilers so the
5457 application does not need to define them. Affected file
5458 includes/silcincludes.h.
5460 * Renamed lib/silcclient/silcapi.h to silcclient.h as the
5461 old name went against naming convention. Applications now
5462 include "silcclient.h" instead of "clientlibincludes.h".
5463 Removed includes/clientlibincludes.h, it is redundant now.
5465 * Renamed includes/version.h to silcversion.h.
5467 * Added really preliminary support for OS/2 into the util
5468 library. Only thread & mutex API is implemented, others
5469 are still to be implemented. Created the lib/silcutil/os2/
5470 directory. Created also file includes/silcos2.h.
5472 Wed Feb 20 18:48:49 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5474 * Added preliminary BeOS support into the util library.
5475 Created lib/silcutil/beos/, and implemented all the needed
5476 functions to support SILC on BeOS. Created also file
5477 includes/silcbeos.h.
5479 Mon Feb 18 15:49:22 EET 2002 Timo Sirainen <tss@iki.fi>
5481 * Added proper initializations to silc's irssi code, so it's
5482 now possible to load it as module. Affected files
5483 irssi/src/silc/core/silc-core.c,
5484 fe-common/silc/fe-common-silc-core.[ch] and fe-text/silc.c
5486 Sun Feb 17 19:02:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5488 * Merged latest Irssi (0.8.1) from the irssi.org's CVS into
5491 * Fixed the silcdoc document generator to correct generate
5492 docs from all kinds of filenames. Affected files are
5493 util/robodoc/Source/generator.c, scripts/silcdoc/silcdoc
5495 * ROBOdoc documented lib/silcutil/silcmemory.h.
5496 Added also new function silc_memdup.
5498 * Removed lib/silcutil/silcbufutil.h and moved those routines
5499 to the lib/silcutil/silcbuffer.h.
5501 Sun Feb 17 15:52:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5503 * Added `user_count' to the SilcChannelEntry which now tells the
5504 number of users on the channel. The user count is now saved
5505 in normal server of global channels as well. Affected files
5506 silcd/server.c, idlist.h, packet_receive.c and command.c.
5508 * Splitted lib/silcutil/silcutil.[ch] into silcfileutil.[ch] to
5509 include file utility functions.
5511 * Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines
5512 instead of calling directly OS routines.
5514 * Fixed NICK change printing in Irssi SILC Client. Fixed
5515 KICKED notify printing in Irssi SILC Client. Affected file
5516 irssi/src/silc/core/client_ops.c.
5518 * Fixed a NICK change bug in client library, to not recreate the
5519 client_entry->channels hash table everytime nick is changed.
5520 Affected file lib/silcclient/client.c.
5522 Sun Feb 17 10:10:14 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5524 * ROBOdoc documented the lib/silcske/silcske.h, and improved
5525 the SKE interface a bit.
5527 * Fixed padding problem in PKCS#1. The padding was not actually
5528 random since the random number generator was used incorrectly.
5529 This security bug affects only when encrypting with PKCS#1, and
5530 it is not currently used at all in SILC. SILC only use signing
5531 with PKCS#1. Affected file lib/silccrypt/pkcs1.c.
5533 Sat Feb 16 13:44:24 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5535 * Rewrote the notify handling in Irssi SILC client to not call
5536 the events as signals. Fixes problems with Perl support.
5537 Affected files irssi/src/silc/core/client_ops.c, silc-channels.c.
5539 * Send the auto-nicking NICK command in client library with
5540 little timeout after connecting. The affected file is
5541 lib/silcclient/client.c.
5543 * Added following new config file settings:
5544 channel_rekey_secs, key_exchange_rekey, key_exchange_pfs,
5545 key_exchange_timeout, conn_auth_timeout, connections_max,
5548 Implemented all the new config settings handling in the server.
5550 Optimized the use of SKE Mutual flag usage. Use it only
5551 if connection authentication protocol is not based in public
5554 Renamed all SilcServerConfigSection* to SilcServerConfig*
5555 to have a bit shorter names.
5557 Affected files silcd/serverconfig.[ch], server.[ch], and
5560 Sat Feb 16 02:46:43 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5562 * Cleaned up the listening sockets code, preparing for the rehash
5563 support. Affected file is silcd/server.c.
5565 * Fixed some output messages. Affected files are silcd/silcd.c,
5568 Fri Feb 15 19:10:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5570 * Create lib/doc/silcrng_intro.html document as introduction
5571 to SILC RNG. ROBOdoc documented lib/silccrypt/silcrng.h.
5573 Fri Feb 15 13:23:03 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5575 * Fixes to the silcd config template. Affected file is
5576 doc/example_silcd.conf.in.
5578 * Removed type casts from silc_calloc(), conforming to the
5579 CodingStyle. Affected file is lib/silcutil/silcconfig.c.
5581 * Removed param_name member from client, server, and router
5582 section structs, now identifying the param directly.
5584 Added CONFIG_FREE_AUTH macro in config file parsing.
5586 Affected files are silcd/serverconfig.[ch].
5588 Fri Feb 15 12:24:08 EET 2002 Timo Sirainen <tss@iki.fi>
5590 * Fixed command line parameter handling. All SILC initialization
5591 is now done in silc_core_init() which also fixes autoconnecting
5594 Affected files irssi/src/silc/core/silc-core.c,
5595 irssi/src/fe-text/silc.c.
5597 Thu Feb 14 22:03:58 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5599 * Added new configuration options and blocks:
5600 keepalive_secs, reconnect_count, reconnect_interval,
5601 reconnect_interval_max, reconnect_keep_trying and
5602 require_reverser_lookup. Added ConnectionParam block, and
5603 implemented the connection parameters when connecting as
5604 initiator and when accepting connections as responder.
5606 Added CONFIG_IS_DOUBLE macro in config file parsing, to check
5607 whether given configuration value has been given already.
5609 Affected files silcd/serverconfig.[c], server.[c].
5611 * Splitted the doc/example_silcd.conf.in. Separated the crypto
5612 algorithm parts and created new file silcalgs.conf, that
5613 is now included from the example_silcd.conf.in.
5615 * Optimized the silc_server_connect_to_router_second to take
5616 the connection configuration object from the SilcServerConnection
5617 object instead of finding it during the connecting phase.
5618 Added the configuration object to SilcServerConnection struct.
5619 Affected files silcd/server_internal.h, server.c.
5621 Thu Feb 14 16:02:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5623 * Add the client on channel after it was resolved at the
5624 channel message receiving, and it was not already on the
5625 channel. Affected file lib/silcclient/client_channel.c.
5627 Wed Feb 13 23:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5629 * Fixed the public key authentication to allocate always the
5630 destination signature buffer instead of using static buffer.
5631 Affected file silcd/protocol.c.
5633 Wed Feb 13 20:51:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5635 * Unified the serverconfig.[ch]'s helper function interface.
5636 Affected file silcd/serverconfig.[ch].
5638 * Removed doc/example_silc.conf.in since it is redundant.
5639 The make install will now install irssi/silc.conf file.
5641 * Added new Passphrase and Publickey authentication methods to
5642 config file, allowing both public key and passphrase based
5643 authentication to be set at the same time.
5645 Added `prefer_passphrase_auth' setting in config file which
5646 can be used to set to prefer passwd auth if both passwd and
5647 public key is set. If not set, public key is preferred.
5648 This has effect only when being initiator (responder will try
5651 Added support for authentication with passphrase and public key
5652 at the same time. The passphrase is tried first always since
5653 it is faster to check.
5655 Affected file silcd/serverconfig.[ch], server.c, protocol.[ch].
5657 Wed Feb 13 12:46:25 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5659 * Merged the new SILC Config library, with the server parsing
5660 support. Read the header file silcconfig.h or the toolkit
5661 documentation for the news. Affected files are
5662 doc/example_silcd.conf.in lib/silcutil/silcconfig.[ch]
5663 silcd/command.c silcd/packet_receive.c silcd/packet_send.c
5664 silcd/protocol.c silcd/server.c silcd/server_backup.c
5665 silcd/serverconfig.[ch] silcd/silcd.c.
5667 * Fixed some silclog documentation. Affected file is
5668 lib/silcutil/silclog.h.
5670 Sun Feb 10 18:11:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5672 * The silc_cipher_register, silc_hash_register and
5673 silc_hmac_register now checks if the object to be registered
5674 is registered already. Affected files are
5675 lib/silccrypt/silccipher.c, silchash.c and silchmac.c.
5677 Sun Feb 10 15:48:38 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5679 * Merged new irssi from irssi.org's CVS, the version 0.7.99.
5681 Sat Feb 9 14:54:33 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5683 * Allow zero length channel messages inside the Channel Message
5684 Payload. Affected file lib/silccore/silcchannel.c.
5686 * Fixed scripts/silcdoc/silcdoc to support all kinds of filenames
5687 as header filenames.
5689 * Removed lib/silcclient/README and created HTML file
5690 lib/silcclient/silcclient_using.html, which is now included
5691 as part of Toolkit documentation.
5693 Thu Feb 7 10:12:25 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5695 * Fixed CUMODE_CHANGE notify handling to change the mode of
5696 correct client. Affected file lib/silcclient/client_notify.c.
5698 * Make silc_rng_alloc fail if it cannot allocate the sha1
5699 hash algorithm. Affected file lib/silccrypt/silcrng.c.
5701 Sun Feb 3 17:20:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5703 * Fixed the file transfer's key agreement payload to include
5704 zero port also if the hostname is NULL because it could not
5707 Call file transfer monitor callback now also if error occurs
5708 during key agreement protocol.
5710 Changed the silc_client_file_send interface to return the
5711 SilcClientFileError instead of session id. The session ID
5712 is returned into pointer provided as argument.
5714 Check that the file exists locally before sending the
5715 file transfer request at all.
5717 Affected file lib/silcclient/client_ftp.c, silcapi.h.
5719 * Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer
5720 error than can occur while key agreement protocol. Affected
5721 file lib/silcclient/silcapi.h.
5723 * Fixed the event_mode CMODE handler to not crash when mode
5724 is changed and +k mode is set in the channel. Affected file
5725 irssi/src/silc/core/silc-channels.c.
5727 * Fixed SILC_LOG_ERROR to give out Error and not Warning, and
5728 SILC_LOG_WARNING to give out Warning and not Error. Affected
5729 file lib/silcutil/silclog.c.
5731 * Fixed the channel message payload decryption in the function
5732 silc_channel_message_payload_decrypt to not modify the original
5733 buffer before it is verified that the message decrypted
5734 correctly. Otherwise, next time it is called with correct
5735 channel key it won't encrypt since the payload is corrupted.
5736 Affected file lib/silccore/silcchannel.c.
5738 Sun Feb 3 11:46:12 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5740 * Do not constantly resize the window. A fix patch by cras.
5741 Affected file irssi/src/fe-text/screen.c.
5743 Sat Feb 2 16:54:18 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5745 * Applied IPv6 fix patch from Jun-ichiro itojun Hagino.
5746 Affected file lib/silcutil/silcnet.c.
5748 Fri Feb 1 22:33:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5750 * Fixed a bug in hash table internal routine for traversing
5751 the table with foreach callback. The current entry may
5752 become invalid in the callback but it was referenced after
5753 the callback returned.
5755 Do not allow auto rehashing of hash table during the
5756 silc_hash_table_foreach operation, for same reasons as it is
5757 not allowed for SilcHashTableList. Affected files are
5758 lib/silcutil/silchashtable.[ch].
5760 Fri Feb 1 14:55:00 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5762 * Defined DLLAPI into silcincludes.h and silcwin32.h for
5763 Win32 DLL. extern's in header files are now declared with
5766 Thu Jan 31 23:34:33 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5768 * Fixed private message handling. It used some old code that
5769 caused the client to crash. Affecte file is
5770 lib/silcclient/client_prvmsg.c.
5772 Thu Jan 31 19:06:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5774 * Added function silc_client_add_channel,
5775 silc_client_replace_channel_id, and removed functions
5776 silc_client_new_channel_id and silc_idlist_get_channel_by_id
5777 from client library.
5779 * Added cross reference of the joined channels to the
5780 SilcClientEntry, and changed the SilcChannelEntry's
5781 users list to SilcHashTable. The affected files are
5782 lib/silcclient/idlist.[ch].
5784 * Fixed a bug in hash table tarversing. While the hash table
5785 is traversed with SilcHashTableList the table must not be
5786 rehashed. It is now guaranteed that auto rehashable tables
5787 are not rehashed while tarversing the list. Also defined that
5788 silc_hash_table_rehash must not be called while tarversing
5789 the table. Added function silc_hash_table_list_reset that must
5790 be called after the tarversing is over. The affected files are
5791 lib/silcutil/silchashtable.[ch].
5793 * Changed all hash table traversing to call the new
5794 silc_hash_table_list_reset in server and in client library.
5796 * Added function silc_client_on_channel to return the
5797 SilcChannelUser entry if the specified client entry is joined
5798 on the specified channel. This is exported to application as
5799 well. Affected files lib/silcclient/client_channel.c, silcapi.h.
5801 Wed Jan 30 19:14:31 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5803 * Fixed founder regaining problem with JOIN command on normal
5804 server. The notify for mode change must be sent always and
5805 not only if !cmd->pending. Affected file silcd/command.c.
5807 * Fixed the WHOWAS command's reply sending to support the
5808 lists correctly. Affected file silcd/command.c.
5810 Wed Jan 30 11:11:47 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5812 * When sending JOIN command to router for processing the
5813 sender's old command identifier was not saved back to the
5814 sender's command context, fixed now. The affected file is
5817 * Create the key in JOIN command of the router did not return
5818 the channel key, added check for this. Affected file is
5821 * Fixed a channel ID update bug in JOIN command reply. Do
5822 not directly upgrade the ID but call the function
5823 silc_idlist_replace_channel_id if the ID was changed.
5824 Affected file silcd/command_reply.c.
5826 * Fixed memory leaks from command calling if it would fail.
5827 Affected file silcd/command.c.
5829 Tue Jan 29 19:49:31 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5831 * Applied patches from cras:
5833 Memory leak fixes around libaries, irssi window resize fix,
5834 new silclist.h and silcdlist.h, all extern inline changed to
5837 * Removed dotconf from lib/dotconf, not needed anymore.
5839 * Removed TRQ from lib/trq, not needed anymore.
5841 * Do more frequent heartbeats (5 minutes instead of 10 minutes)
5842 with server connections. Later this will be configurable
5843 in config file after new config file is done. Affected file
5846 Tue Jan 29 10:35:03 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5848 * Fixed a crash in server related to channel announcements.
5849 Affected file silcd/server.c.
5851 Mon Jan 28 17:49:42 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5853 * Fixed memory leaks in silc_server_create_new_channel*
5854 functions. Affected file silcd/server.c.
5856 * Fixed the CHANNEL_CHANGE notify to re-announce the channel
5857 which ID was changed. This way the router will send the
5858 user list for the channel again, and server won't be in
5859 desync in some rare circumstances. Affected file is
5860 silcd/packet_receive.c.
5862 Sun Jan 27 21:04:19 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5864 * Check for NULL socket pointer in the function
5865 silc_server_packet_send_to_channel_real. Affected file
5866 silcd/packet_send.c.
5868 * Fixed the BAN notify handling to correctly remove ban
5869 list. Affected file silcd/packet_receive.c.
5871 Sat Jan 26 23:01:03 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5873 * Fixed some header addition to Toolkit distribution in
5874 lib/silcutil/Makefile.am and lib/trq/Makefile.am.
5876 * Added lib/silcclient/client_ops_example.h as an template
5877 file for application programmers to quickly start using
5878 the SilcClientOperation functions in their application.
5879 Updated the lib/silcclient/README as well to tell about this
5880 nice file made available.
5882 Sat Jan 26 10:45:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5884 * Call silc_server_remove_from_channels when removing client
5885 entry when NO_SUCH_CLIENT_ID was received. Affected file
5886 is silcd/command_reply.c.
5888 Fri Jan 25 19:12:36 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5890 * Added server & router operator statistics updating. Affected
5891 file silcd/packet_receive.c and silcd/command.c.
5893 * Fixed the SERVER_SIGNOFF notify handling on normal server
5894 not to save the history information for clients. Same was
5895 fixed earlier in remove_clients_by_server function, but not
5896 here. Affected file silcd/packet_receive.c.
5898 * Raised the default connection-retry count from 4 to 7 in
5899 server. Affected file silcd/server.h.
5901 * Cancel any possible reconnect timeouts when we start the
5902 key exchange. Affected file silcd/server.c.
5904 * Do not reconnect on connection failure when SCONNECT was
5905 given. Affected files silcd/server.[ch].
5907 Tue Jan 22 18:19:36 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5909 * Removed assert()'s from the lib/silcclient/client_keyagr.c.
5911 * Fixed the NICK command to always give the unformatted
5912 nickname to the one giving the NICK command. If unformatted
5913 nickname is cached already it will be formatted and the
5914 local entry will always get the unformatted nickname.
5915 Affected file lib/silcclient/idlist.c.
5917 * Fixed some double frees from client library commands.
5918 Affected file is lib/silcclient/command.c.
5920 * Fixed CUMODE command in server to assure that no one can
5921 change founder's mode than the founder itself, there was a
5922 little bug. Affected file silcd/command.c.
5924 Mon Jan 21 19:07:53 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5926 * Removed the SilcClientCommandDestructor from the client
5927 libary, it is not needed anymore. Affected files are
5928 lib/silcclient/silcapi.h, command[_reply].[ch],
5929 client_notify, idlist.c.
5931 * Fixed GETKEY command to first resolve client, and then
5932 resolve the server only if the client was not found, instead
5933 of resolving both at the same time. Affected file is
5934 lib/silcclient/command.c.
5936 * Added silc_client_start_key_exchange_cb and lookup the
5937 remote hostname and IP address before starting the key
5938 exchange with server. The affected file is
5939 lib/silcclient/client.c.
5941 * The server's public key is now saved using the IP address
5942 of the server and not the servername for the filename.
5943 The hostname public key filename is checked as an fall back
5944 method if the IP address based filename is not found.
5946 Fixed the GETKEY command to save the fetched server key
5947 in correct filename.
5949 Print the remote server's hostname now when new key is
5950 received during connection process. Affected file is
5951 irssi/src/silc/core/client_ops.c.
5953 * Return always our own public key to the client if it asks
5954 for it with GETKEY command. Affected file silcd/command.c.
5956 * Removed the use_auto_addr variable from default config
5957 file since it was in wrong section. Affected file is
5960 * Fixed TOPIC_CHANGE notification to not route it when it
5961 was sent using silc_server_send_notify_to_channel function.
5962 Affected file silcd/command.c.
5964 * Fixed silc_server_send_notify_kicked to send the kicker's
5965 Client ID also, it was missing. Affected files are
5966 silcd/command.c, silcd/packet_send.[ch].
5968 Thu Jan 17 18:59:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5970 * Do not save client history information in SERVER_SIGNOFF.
5971 Fixes the bug in normal server that it does not detect
5972 the client becoming valid after the server becomes back
5973 online. Affected file silcd/server_util.c.
5975 * Added `sock_error' field into the SilcSocketConnection
5976 context. When error occurs during socket operation (read
5977 or write) the error is saved. Added also new function
5978 silc_socket_get_error to return human readable socket error
5979 message. Affected files are lib/silcutil/silcsockconn.[ch],
5980 lib/silcutil/unix/silcunixsockconn.c, and
5981 lib/silcutil/win32/silcwin32sockconn.c.
5983 * The server now prints the socket error message in the
5984 signoff for client. Affected file silcd/server.c.
5986 * Fixed the `created' channel information sending from router
5987 to server in JOIN command. Checks now whether the channel
5988 really was created or not and set it according that.
5990 Fixed the JOIN command to use the client entry's current
5991 ID during the joining procedure instead of the one it sent
5992 in the command (it is checked though), since it can change
5993 between the packet processing and command processing, and
5994 would just case unnecessary pain in the client end. Affected
5995 file silcd/command.c.
5997 * Fixed a channel key payload sending to use correct channel
5998 ID when the server was forced to change the channel's ID by
5999 router. Router sent the key payload with the old Channel ID.
6000 Affected file silcd/packet_receive.c.
6002 Wed Jan 16 22:26:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6004 * Call silc_server_save_channel_key only if the key payload
6005 was provided in the JOIN command's command reply. Affected
6006 file silcd/command_reply.c.
6008 Tue Jan 15 18:49:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6010 * Fixed silc_mp_sizeinbase to return the value correctly with
6011 MPI. Affected file lib/silcmath/mp_mpi.c.
6013 * Fixed the stop_server signal to correctly stop the scheduler
6014 and gracefully stop the server when SIGTERM or SIGINT signals
6015 are received. Affected file silcd/silcd.c.
6017 Mon Jan 7 23:38:19 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
6019 * Simple handling of TERM and HUP signals. Also added some log
6020 flushing call around. Affected file is
6023 * Fixed small bugs in silclog.c. Now buffering output will take
6024 effect after 10 seconds since startup: This will ensure that
6025 no important startup messages are lost. Also output redirection
6026 will preserve original format ([Date] [Type] message).
6027 Affected file is lib/silcutil/silclog.c.
6029 * Added two options to the config file, in the logging section:
6030 quicklogs:<yes/no>: and flushdelay:<seconds>:. Affected files
6031 lib/silcutil/silclog.[ch], silcd/serverconfig.[ch].
6033 Sun Jan 6 12:49:40 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6035 * Do not print the warning about log files not being initialized
6036 more than once to avoid excess logging. Affected file is
6037 lib/silcutil/silclog.c.
6039 * Fixed the SIM compilation in lib/silcsim/Makefile.am. Fixed
6040 the SIM copying in make install in Makefile.am.pre.
6042 Sun Jan 6 01:10:21 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6044 * Rewritten silclog APIs. Globally interesting changes follows:
6045 silc_log_set_files() changed to silc_log_set_file().
6046 silc_log_set_callbacks() changed to silc_log_set_callback().
6047 ROBOdoc documented silclog header file.
6048 SilcLogCb now returns bool to wether inihibit the default
6049 handler or not (to keep the old behaviour return always TRUE).
6050 The new APIs should also fix the problem of the
6051 silcd_error.log file that was written in the current directory.
6054 Log files streams will remain opened after silc_log_set_file()
6055 call, means less CPU usage notably on high traffic servers.
6056 File streams are now full buffered, and flushed to the disk
6057 every 5 minutes, lesses HD activity and CPU usage.
6058 Messages can be redirected, allowing admins to configure
6059 one single logfile for all server messages.
6060 the silc_log_quick global variable to activate fast-logging.
6061 Affected files lib/silcutil/silclog.[ch]
6063 * Changed some code to conform new silclog APIs. Affected
6064 files are doc/example_silcd.conf.in, silcd/server.c
6065 irssi/src/silc/core/silc-core.c, silcd/serverconfig.[ch],
6068 * Fixed a memory leak that could occur in some situations.
6069 Affected file silcd/serverconfig.c.
6071 Sat Jan 5 13:37:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6073 * Added the silc_client_del_client to remove the client from
6074 all channels as well. Affected file lib/silcclient/idlist.c.
6076 * Fixed the client library to correctly remove the client
6077 from all channels when the client entry is being destroyed.
6078 Affected file lib/silcclient/client_notify.c, command.c.
6080 * Added auto-nicking support to the client library. If the
6081 applicatio now sets client->nickname it will be sent to the
6082 server after connecting by the library. This way for example
6083 SILCNICK (or IRCNICK) environment variables will have effect
6084 and always change the nickname automatically to whatever
6085 it is wanted. Affected file lib/silcclient/client.[ch].
6087 * Renamed silc_server_command_bad_chars to the
6088 silc_server_name_bad_chars and moved it to the
6089 silcd/server_util.[ch]. Added also new function
6090 silc_server_name_modify_bad to return nickname that
6091 includes bad characters as new nickname without those
6092 bad characters. This check and modify is now used in
6093 silc_server_new_client when the username is initially set
6094 as nickname, so it must be checked to be valid nickname.
6095 Affected file silcd/packet_receive.c.
6097 * The nickname length is now taken from the packet for real
6098 and not trusted to strlen() since it clearly can return
6099 wrong length for nickname including bad characters. This
6100 also applies to channel names. Affected file silcd/command.c.
6102 * Removed the lib/silcsilm/modules directory. Modules are now
6103 compiled into the lib/silcsim. Fixed the copying of the
6104 modules to follow symbolic links in Makefile.am.pre.
6106 Wed Jan 2 18:56:21 EET 2002 Pekka Riikonen <priikone@silcnet.org>
6108 * Fixed silc_string_regexify list creation. Fixes bugs with
6109 BAN and INVITE commands in server. The affected file is
6110 lib/silcutil/unix/silcunixutil.c.
6112 Sun Dec 30 13:41:34 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6114 * Removed the command destructor entirely from the server's
6115 command and command reply routines. It is not needed, and
6116 its usage was buggy and caused crashes. Affected files are
6117 silcd/command[_reply].[ch].
6119 Fri Dec 28 12:43:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6121 * Cancel protocol and NULL sock->protocol if timeout
6122 occurred during protocol. Affected file silcd/server.c.
6124 * Cancel protocol timeouts always before calling the final
6125 callback, to assure that after final callback is called
6126 no other state will be called for the protocol anymore.
6127 Affected file silcd/protocol.c.
6129 * Print error log if incoming connection configuration could
6130 not be found. Affected file silcd/server.c.
6132 * Fixed JOIN command to correctly save the founder mode
6133 to the client on normal SILC server, when the channel
6134 was created by the router. Affected file silcd/command.c.
6136 * Fixed LIST command (hopefully) to send correct reply
6137 packets. Affected file silcd/command.c.
6139 Thu Dec 20 16:14:52 CET 2001 Pekka Riikonen <priikone@silcnet.org>
6141 * The silc_packet_receive_process now returns FALSE if the
6142 read data was invalid packet, and TRUE if it was ok.
6144 The server now checks that if unauthenticated connection
6145 sends data and its processing fails the server will close
6146 the connection since it could be a malicious flooder.
6148 Affected files lib/silccore/silcpacket.[ch], silcd/server.c.
6150 Wed Dec 19 21:31:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6152 * Make sure the warning about error opening a log file is
6153 printed only once and not everytime it fails (produces
6154 too much useless log). Affected file lib/silcutil/silclog.c.
6156 Wed Dec 19 18:21:51 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6158 * Made the silc_server_daemonise() function more readable.
6159 Affected file silcd/server.c.
6161 * Pid file is now optional, the user may comment it out from
6162 the config file. Removed define SILC_SERVER_PID_FILE, we
6163 don't need a default any longer. Affected file
6164 configure.in.pre, lib/Makefile.am.pre.
6166 * Make some use of the pid file. The server now dies at startup
6167 if it detects a valid pid file on his path. The server would
6168 die anyway in this circumstance, because of the bind() failure.
6169 Affected file silcd/silcd.c.
6171 * No longer compiling lib/dotconf.
6173 Mon Dec 17 18:24:27 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6175 * Fixed JOIN command parsing not to crash. Affected file
6176 lib/silcclient/command.c.
6178 * Fied the NICK_CHANGE notify to add the new client entry
6179 even it is resolved. This removes an <[unknown]> nick
6180 thingy bug in the client. Affected file is
6181 lib/silcclient/client_notify.c.
6183 * Do not try to allocate 0 bytes (efence does not like it)
6184 in lib/silccore/silccomand.c when encoding payload.
6186 * Do not take IRCNICK as nickname in Irssi SILC client since
6187 it is not possible to set nickname before hand connecting
6188 the server (TODO has an entry about adding auto-nicking
6191 * Changed the silc_server_command_pending to check whether
6192 there already exists an pending entry with the specified
6193 command, command identifier and pending callback. This is
6194 to fix IDENTIFY and WHOIS related crashes that may register
6195 multiple pending commands with same identifier. Affected
6196 file silcd/command.c.
6198 * Fixed the server to reconnect to the router even if it
6199 was already reconnecting and EOF was received. This to
6200 fix a possibility that the server wouldn't ever try to
6201 auto-reconnect to the router. Affected file silcd/server.c.
6203 Sat Dec 15 20:31:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6205 * Fixed the server's password authentication to use the
6206 length of the locally saved password, and not the one
6207 sent in the packet. Affected file silcd/protocol.c.
6209 * Fixed same password authentication problem in the
6210 Authentication Payload handling routines in
6211 lib/silccore/silcauth.c.
6213 * Yet another password authentication problem fixed with
6214 channel password handling in silcd/command.c.
6216 Mon Dec 10 19:57:40 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6218 * If first character of string in silc_parse_userfqdn is '@'
6219 then do not parse it. Affected file is
6220 lib/silcutil/silcutil.c.
6222 Sun Dec 9 22:18:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6224 * Fixed minor bug in IDENTIFY command reply sending, which
6225 caused various weird problems during JOIN when it was
6226 resolving names for users. Affected file silcd/command.c.
6228 Sun Dec 9 19:18:41 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6230 * Fixed the IDENTIFY command reply sending to chech better valid
6231 clients. It was possible to send incomplete list of replies.
6232 Affected file silcd/command.c.
6234 Sat Dec 8 15:58:31 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6236 * Added silc_client_command[s]_[un]register functions now to
6237 dynamically register the commands in client library. Removed
6238 the static table of commands. This allows the client library
6239 to call commands without causing the application to know about
6240 what commands library has called.
6242 Removed the INFO command reply kludge to detect when the command
6243 was called by library. Now library use its own command reply
6244 function for INFO command.
6246 Added function silc_client_command_call to call a command.
6247 Application can use it to call command, not access the structure
6250 Now all commands that are sent by the client library (not
6251 explicitly sent by application) use own command reply functions.
6253 Affected files around lib/silcclient/ and in
6254 irssi/src/silc/core/.
6256 * Fixed the WHOIS command reply sending to chech better valid
6257 clients. It was possible to send incomplete list of replies.
6259 Fixed the WHOIS and IDENTIFY to send the request to router
6260 if normal server did not do it and did not find any results.
6262 Affected file silcd/command.c.
6264 Thu Dec 6 17:21:06 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6266 * Moved the internal data from SilcClient context into its
6267 own file, not accesible to application. Affected files
6268 lib/silcclient/client.h and lib/silcclient/client_internal.h,
6269 and other files in client library.
6271 Thu Dec 6 10:37:55 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6273 * Added doc/examples installation target in Makefile.am.pre.
6276 Tue Dec 4 17:43:19 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6278 * If NO_SUCH_CLIENT_ID notify is received for WHOIS or IDENTIFY
6279 commands the found client entry will be removed from the
6280 cache, after notifying application about the error. Affected
6281 file lib/silcclient/command_reply.c.
6283 * Changed the /MSG to check for exact nickname user gave, and
6284 not let `nick' match `nick@host' if it is only one found. Now,
6285 user must type the exact nickname (like nick@host2) even if
6286 there are no more than one same nicks found. This is to avoid
6287 a possibility of sending nickname to wrong nickname since
6288 `nick' could match `nick@host'. Affected file is
6289 irssi/src/core/silc-servers.c.
6291 Mon Dec 3 18:49:45 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6293 * Do not print "you are now server operator" or similar when
6294 giving /away command. Affected files are
6295 irssi/src/silc/core/client_ops.c, silc-servers.h.
6297 * Made the silc_server_command_pending_error_check to send
6298 the same command reply payload it received back to the
6299 original sender of the command. This way all arguments
6300 that was received by the server will be received by the
6301 client too. Affected file silcd/command.c.
6303 * Added the silc_idcache_add to return the created cache entry
6304 to a pointer. Affected file lib/silccore/silcidcache.[ch].
6306 * Add global clients to expire if they are not on any channel.
6307 This is because normal server will never know if they signoff
6308 if they are not on any channel. The cache expiry will take
6309 case of these entries. This is done by normal servers only.
6310 The affected files are silcd/command_reply.c,
6311 silcd/idlist.[ch], silcd/server and silcd/packet_receive.c.
6313 * If server receives invalid ID notification for WHOIS or
6314 IDENTIFY and the ID exists in the lists, it is removed.
6315 Affected file silcd/command_reply.c.
6317 * If NO_SUCH_CLIENT_ID is received for WHOIS or IDENTIFY command
6318 in client then client entry that it matches is searched and
6319 the nickname is printed on the screen for user. Affected
6320 file irssi/src/silc/core/client_ops.c.
6322 Mon Dec 3 11:56:59 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6324 * Use cache entry expire time in the LIST command reply to
6325 purge old entries from the cache after the LIST command
6326 reply has been received. This way we don't have non-existent
6327 entries in the cache for too long. Affected file is
6328 silcd/command_reply.c.
6330 Sun Dec 2 23:29:07 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6332 * If we are normal server, and we've not resolved client info
6333 in WHOIS or IDENTIFY from router, and it is global client,
6334 we'll check whether it is on some channel. If it is not
6335 then we cannot be sure about its validity and will resolve it
6336 from router. Fixes a bug in WHOIS and IDENTIFY. Affected
6337 file silcd/command.c.
6339 * Search channel by name (if possible) rather than by ID
6340 in IDENTIFY command's command reply. Affected file is
6341 silcd/command_reply.c.
6343 Sun Dec 2 13:48:46 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6345 * Distribute to the channel passphrase in CMODE_CHANGE notify.
6346 Updated specs and implemented it. Affected file silcd/command.c,
6347 silcd/packet_send.c and silcd/packet_receive.c.
6349 * Implemented the <founder auth> payload handling in the JOIN
6350 command. If provided all conditions for channel joining
6351 except requirement to provide correct passphrase can be
6352 overrided by the channel founder. Updated the protocol specs.
6353 Affected file silcd/command.c.
6355 Added support for founder auth in JOIN command in client
6356 library. Fixed the parsing of the JOIN command now to support
6357 all options as they should be. The affected file is
6358 lib/silcclient/command.c.
6360 * Optimized the WHOIS and IDENTIFY commands to send the request
6361 to router only if it includes nicknames or other names. If
6362 they include only IDs then check the local cache first before
6363 routing. Affected file is silcd/command.c.
6365 * Added channels topic announcements. Affected file is
6366 silcd/packet_receive.c and silcd/server.c.
6368 * Fixed the silc_server_send_notify_topic_set to really destine
6369 the packet to channel. Affected file silcd/packet_send.c.
6371 * Fixed a crash in CHANNEL_CHANGE notify handling in the client
6372 library. Affected file lib/silcclient/client_notify.c.
6374 * Added UMODE announcements. Affected file silcd/server.c.
6376 Sat Dec 1 12:52:39 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6378 * Memory leak fixes in:
6380 lib/silcutil/silcsockconn.c
6381 lib/silcske/silcske.c
6382 lib/silcske/groups.c
6384 lib/silccrypt/silcpkcs.c
6385 lib/silccore/silccommand.c
6386 lib/silccore/silcidcache.c
6391 * ROBOdoc documented the lib/silcske/groups.h file and a
6392 bit changed the interface for better.
6394 Thu Nov 29 22:12:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6396 * Update the client entry context in the ID cache after
6397 nick change. Affected file lib/silcclient/command.c.
6398 Fixes the CUMODE command when regaining founder privileges,
6399 and a little WHOIS problem.
6401 * Fixed silc_net_gethostbyname to correctly call the
6402 inet_ntop. Affected file lib/silcutil/silcnet.c.
6404 Thu Nov 29 19:31:23 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6406 * Added IPv6 support checking to the configure.in.pre, added
6407 also --enable-ipv6 option to override the check. Affected
6408 file configure.in.pre.
6410 * The silc_thread_create now calls the start function
6411 directly if threads support is not compiled in. Removes
6412 ugly #ifdef's from generic code. Affected files are
6413 lib/silcutil/unix/silcunixthread, win32/silcwin32thread.c.
6415 * Added silc_net_gethostby[name/addr]_async to asynchronously
6416 resolve. Affected files are lib/silcutil/silcnet.[ch].
6418 * Added support for rendering IPv6 based server, client and
6419 channel IDs. Affected file lib/silcutil/silcutil.c.
6421 * Added support for creating IPv6 based server IDs. Affected
6422 file is silcd/serverid.c.
6424 Wed Nov 28 23:46:09 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6426 * Added silc_net_gethostby[addr/name] into the
6427 lib/silcutil/silcnet.[ch]. Added IPv6 support to Unix network
6428 routines. Added silc_net_is_ip[4/6]. Affected file is
6429 lib/silcutil/unix/silcunixnet.c. All routines that take
6430 address as argument now supports both IPv4 and IPv6 addresses.
6432 Mon Nov 26 18:09:48 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6434 * Fixed LIST command reply sending in server. Affected file
6437 * Server now sends the kicker's client ID in the KICK notify
6438 to the kicked client. Affected file silcd/command.c.
6440 * The client library now parses the kickers client ID and
6441 UI displays it. Affected files lib/silcclient/client_notify.c
6442 and irssi/src/silc/core/silc-channels.c, module-formats.c.
6444 * Made all payload parsing function prototypes consistent.
6445 They all take now const unsigned char * and uint32 pair as
6446 the payload data instead of SilcBuffer. Changes all around
6447 the source tree. Other unsigned char* -> const unsigned char*
6448 changes around the tree as well.
6450 * Optimized SFTP client and server packet sending not to
6451 allocate new buffer for each packet but to recycle the
6452 first allocated buffer. Affected files are
6453 lib/silcsftp/sftp_client.c, sftp_server.c, sftp_util.[ch].
6455 * Optimized the SFTP client to use SilcList instead of
6456 SilcDList for requests, because it is faster. Affected file
6457 is lib/silcsftp/sftp_client.c.
6459 * Moved the ID Payload routines from lib/silccore/silcpayload.[ch]
6460 into lib/silccore/silcid.[ch].
6462 Renamed silcpayload.[ch] into silcargument.[ch].
6464 Mon Nov 26 15:01:53 CET 2001 Pekka Riikonen <priikone@silcnet.org>
6466 * If client entry is deleted with active key agreement
6467 session, abort the session.
6469 The silc_client_abort_key_agreement now calls the completion
6470 callback with new SILC_KEY_AGREEMENT_ABORTED status.
6472 Affected file lib/silcclient/silcapi.h, client_keyagr.c and
6475 Sun Nov 25 18:01:45 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6477 * Don't use __restrict in older GCC's. Affected file is
6478 lib/silcmath/mpi/mpi-priv.h. A patch by salo.
6480 * silc_net_localhost now attempts to reverse lookup the
6481 IP/hostname. Affected file lib/silcutil/silcnet.c.
6483 * Defined <founder auth> argument to the SILC_COMMAND_JOIN
6484 command. It can be used to gain founder privileges at
6485 the same time when joining the channel.
6487 Defined that the SILC_NOTIFY_TYPE_KICKED send the
6488 kicker's client ID as well. Updated protocol specs.
6490 Defined that the server must send SILC_COMMAND_IDENTIFY
6491 command reply with error status to client who sent
6492 private message with invalid client ID.
6494 Updated the protocol specification.
6496 * Added silc_server_send_command_reply to send any
6497 command reply. Affected file silcd/packet_send.[ch].
6499 * Added silc_id_payload_encode_data to encode ID payload
6500 from raw ID data. Affected file lib/silccore/silcpayload.[ch].
6502 * The server now send IDENTIFY command reply with error
6503 status if client ID in private message is invalid. Affected
6504 file silcd/packet_receive.c.
6506 * Save the server key file with server's IP address in
6507 the filename instead of hostname. The affected file is
6508 irssi/src/silc/core/client_ops.c.
6510 Sat Nov 24 20:08:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6512 * Typo fixes in irssi/src/fe-common/silc/module-formats.c.
6515 * Added libtool support for compiling shared objects in
6516 lib/silcsim. Affected file configure.in.pre and
6517 lib/silcsim/Makefile.am. Original patch by cras.
6519 Fri Nov 23 23:30:59 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6521 * Pid file configuration, and server's config file fixes
6522 patch by toma. Updated CREDITS file.
6524 Sun Nov 18 01:34:41 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6526 * Fixed silc_client_channel_message to not try to decrypt
6527 the message twice if it resolved the destination client
6528 information. This could cause of dropping one channel
6529 message. Affected file lib/silcclient/client_channel.c.
6531 Wed Nov 14 23:44:56 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6533 * Added silc_client_run_one into lib/silcclient/silcapi.h and
6534 lib/silcclient/client.c. This function is used when the SILC
6535 Client is run under some other scheduler, or event loop or
6536 main loop. On GUI applications, for example this may be
6537 desired to used to run the client under the GUI application's
6538 main loop. Typically the GUI application would register an
6539 idle task that calls this function multiple times in a second
6540 to quickly process the SILC specific data.
6542 Wed Nov 14 19:16:52 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6544 * Fixed silc_server_drop() for dropping the supplementary
6545 groups as well, this could cause a security hole on some
6548 Wed Nov 14 16:22:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6550 * __pid_t -> pid_t in lib/silccrypt/silcrng.c. A patch by
6553 * Write PID file after dropping privileges. Added -F option
6554 to run server on foreground. A patch by debolaz.
6555 Affected files silcd/server.c, silcd/silcd.c.
6557 * Fixed MOTD to return the MOTD file server name. Affected
6558 file silcd/command.c.
6560 * Added INFO command reply handling to the Irssi SILC Client.
6561 Affected file irssi/src/silc/core/client_ops.c.
6563 Wed Nov 14 00:18:08 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6565 * Fixed the silc_idcache_list_* routines to really support
6566 the dynamic list. Fixes a crash. Affected file is
6567 lib/silccore/silcidcache.c.
6569 * Fixed the LIST command reply to really call LIST command's
6570 pending callbacks. Affected file silcd/command_reply.c.
6572 Tue Nov 13 00:49:17 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6574 * Update conn->local_entry->nickname after giving NICK
6575 command. Affected file lib/silcclient/command.c.
6577 Sun Nov 11 23:43:02 PST 2001 Brian Costello <bc@wpfr.org>
6579 * Added the [pid] option to the silcd configuration file
6581 Affected files: serverconfig.[ch] and silcd.c
6583 Sun Nov 11 23:56:39 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6585 * Save fingerprint in WHOIS command reply in server.
6586 Affected file silcd/command_reply.c.
6588 * Fixed NICK commands pending callback registration.
6589 Affected file lib/silcclient/command.c.
6591 Sun Nov 11 10:49:10 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6593 * Use ++server->cmd_ident when sending commands in server,
6594 instead of random number. Affected file silcd/command.c.
6596 * Fixed GETKEY command reply to call actually GETKEY pending
6597 command callbacks. Affected file silcd/command_reply.c.
6599 * A bit stricter check for nicknames. Check for same nickname
6600 in NICK command also. Affected file silcd/command.c.
6602 * Do not call INFO command everytime client ID changes, only
6603 during first connecting. Affected file lib/silcclient/client.c.
6605 * Set the new nickname only after successful command reply for
6606 NICK command is returned by server. Affected file
6607 lib/silcclient/command.c.
6609 * Remove nicknames from nicklist during server_signoff notify.
6610 Should fix /NAMES bit more. The affected file is
6611 irssi/src/silc/core/silc-channels.c.
6613 * Added `fingerprint' field to the SilcIDListData in the
6614 silcd/idlist.h to hold the fingerprint of the client's
6617 Send the fingerprint of the client's public key in WHOIS
6620 Affected files silcd/command.c, and silcd/idlist.[ch].
6622 * Added silc_fingerprint into lib/silcutil/silcutil.[ch] to
6623 create fingerprint from given data.
6625 * Show the fingerprint of the client's public key in WHOIS.
6626 Affected files irssi/src/module-formats.[ch] and
6627 irssi/src/silc/core/client_ops.c.
6629 * Format the multiple same nicknames also during JOIN and
6630 NICK_CHANGE notifys. Affected file is
6631 lib/silcclient/client_notify.c.
6633 * Do not print error on screen for invalid private message
6634 payload since it can come if someone is sending private
6635 messages with wrong key. Affected file
6636 lib/silccore/silcprivate.c.
6638 * Fixed multiple concurrent /PING crash. Affected file
6639 lib/silcclient/command.c.
6641 * Changed the wrong ID encoding. All IP addresses must be
6642 in MSB first order in encoded format. They were encoded
6643 wrong and was in LSB format. Affected files are
6644 silcd/serverid.c, lib/silcutil/silcutil.c.
6646 * Remove silc_net_addr2bin_ne from lib/silcutil/silcnet.[ch].
6648 * Call the `connect' client operation through the scheduler
6649 in case of error. Affected file lib/silcclient/client.c.
6651 * Call the `failure' client operation even if the error
6652 occurred locally during a protocol. Affected file is
6653 lib/silcclient/protocol.c.
6655 * Added support of sending LIST command to router from normal
6656 server. This way normal server can get list of all channels
6657 in the network too. Fixed the channel list sending in the
6658 server too. Affected files are silcd/command.c, and
6659 silcd/command_reply.[ch].
6661 * Added silc_server_update_channels_by_server and
6662 silc_server_remove_channels_by_server. They are used during
6663 disconnection of primary router and in backup router protocol.
6664 Affected file silcd/server_util.[ch], silcd/server.c and
6665 silcd/server_backup.c.
6667 * Fixed channel adding to global list in IDENTIFY command
6668 reply in server. Affected file silcd/command_reply.c.
6670 Sat Nov 10 21:39:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6672 * If the incoming packet type is REKEY or REKEY_DONE process
6673 that packet always synchronously. Fixes yet another MAC
6674 failed error on slow (dialup) connections. Affected file
6675 lib/silcclient/client.c and silcd/server.c.
6677 Thu Nov 8 22:21:09 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6679 * Call check_version SKE callback for initiator too. Affected
6680 file lib/silcske/silcske.c.
6682 * Implemented fix for security hole found in the SKE that was
6683 fixed in the specification few days back; the initiator's
6684 public key is now added to the HASH value computation.
6685 Added backwards support for the old way of doing it too, for
6686 old clients and old servers. Affected file is
6687 lib/silcske/silcske.c.
6689 * Enabled mutual authentication by default in SKE. If initiator
6690 is not providing mutual authentication the responder will
6691 force it. This will provide the proof of posession of the
6692 private key for responder. The affected files are
6693 lib/silcclient/protocol.c and silcd/protocol.c.
6695 * Do not cache anymore the server's public key during SKE.
6696 We do mutual authentication so the proof of posession of
6697 private key is done, and if the server is authenticated in
6698 conn auth protocol with public key we must have the public
6699 key already. Affected file silcd/protocol.c.
6701 * Added new global debug variable: silc_debug_hexdump. If
6702 it is set to TRUE SILC_LOG_HEXDUMP will be printed. Affected
6703 file lib/silcutil/silclog.[ch].
6705 * Fixed compilation warning due to char * -> const char *.
6706 Affected files lib/silcutil/silcnet.h, and
6707 lib/silccore/silcauth.[ch].
6709 Wed Nov 7 20:43:03 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6711 * Fixed CMODE command when new channel key was created. If
6712 the creation failed the old key was removed. Next time giving
6713 same command would crash the server since the old key was
6714 freed already. Affected file silcd/command.c.
6716 * Fixed the silc_server_announce_get_channels to not crash
6717 on reconnect. Affected file silcd/server.c.
6719 Wed Nov 7 17:15:07 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6721 * Added silc_log_set_debug_string function to set a regex
6722 string to match for debug output. Only the function names,
6723 or filenames matching the given debug string is actually
6724 printed. This way it is possible to filter out those debug
6725 strings that user is not interested in.
6727 Fixed a bug in silc_string_regexify.
6729 Affected files lib/silcutil/silclog.[ch], and
6730 lib/silcutil/unix/silcunixutil.c.
6732 * Changed the -d options in both server and Irssi SILC client
6733 to take the debug string as argument. Affected files
6734 silcd/silcd.c and irssi/src/silc/core/silc-core.c.
6736 Tue Nov 6 21:31:54 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6738 * Added silc_hash_babbleprint to create a Bubble Babble
6739 Encoded fingerprint. The encoding is developed by Antti
6740 Huima (draft-huima-babble-01.txt), and it creates human
6741 readable strings out of binary data. Affected file
6742 lib/silccrypt/silchash.[ch].
6744 * Print the babble print now in addition of fingerprint as well
6745 in Irssi SILC client. Affected files are
6746 irssi/src/fe-common/silc/module-formats.[ch],
6747 irssi/src/fe-common/silc/core/client_ops.c.
6749 Sun Nov 4 23:37:28 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6751 * Fixed a security problem found in SKE. The initiator's
6752 public key too is now added to the HASH hash value creation
6753 which is signed by the responder to create the SIGN value.
6754 This will prevent anyone in the middle to lie to the responder
6755 about the initiator's public key. If this is done now, the
6756 man in the middle will get caught. Updated the protocol
6759 Sun Nov 4 11:43:53 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6761 * Better installation directory handling. Configure module
6762 paths and other paths automatically to example_silc* files
6763 in doc/. A patch by toma.
6765 * Fixed compiler warning from MPI library, and from SILC RNG.
6768 * Added SILC_SERVER_PID_FILE to define the pid file for server.
6769 It can be configured with ./configure. A patch by toma.
6771 Sat Nov 3 23:48:23 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6773 * Find correct make to use in prepare-clean. A patch by
6774 toma. Affected file prepare-clean.
6776 Sat Nov 3 22:04:00 PST 2001 Brian Costello <bc@mksecure.com>
6778 * Added irssi variables use_auto_addr, auto_bind_ip,
6779 auto_bind_port and auto_public_ip.
6781 * Changed the interface for silc_client_send_key_agreement
6782 in lib/silcclient/silcapi.h
6786 irssi/src/silc/core/silc-core.c
6788 lib/silcclient/silcapi.h
6789 irssi/src/silc/core/silc-channels.c
6790 lib/silcclient/client_keyagr.c
6793 Sat Nov 3 17:48:55 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6795 * Added silc_pkcs_public_key_compare to compare two
6796 public keys. Affected file lib/silccrypt/silcpkcs.[ch].
6798 * Check that the client who set the founder mode on the
6799 channel is the same client that is giving the founder
6800 mode to itself. It is done by comparing the saved public
6801 key (it is saved even in the authentication is passphrase).
6802 Affected file silcd/command.c.
6804 Fri Nov 2 18:52:08 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6806 * Do not process packet for disconnected socket connection.
6807 Affected file lib/silccore/silcpacket.c.
6809 * Process the DISCONNECT packet through scheduler in the
6810 client library. Affected file lib/silcclient/client.c.
6812 * Fixed the silc_client_packet_parse to not to increase
6813 the packet sequence number if the conn->sock and the
6814 current socket connection is not same. This can happen
6815 for example during key agreement when the conn includes
6816 multiple socket connections (listeners). Affected file
6817 lib/silcclient/client.c.
6819 * The sender of the file transfer request now provides also
6820 the pointer (listener) for the key exchange protocol. If
6821 the listener cannot be created then it sends empty key
6822 agreement and lets the receiver provide the listener.
6824 Added `local_ip' and `local_port' arguments to the
6825 silc_client_file_send. If they are provided they are used,
6826 if not then it will attempt to find local IP address, if
6827 not found or bind fails then the remote client will provide
6830 Affected files are lib/silcclient/client_ftp.c and
6831 lib/silcclient/silcapi.h.
6833 * Extended the FILE SEND command to support defining the
6834 local IP and port for key exchange listener. They are
6835 optional. Affected file irssi/src/silc/core/silc-servers.c.
6837 Thu Nov 1 22:10:07 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6839 * Defined to WHOIS command reply the sending of fingerprint
6840 of the client's public key (if the proof of posession of the
6841 corresponding private key is verified by the server).
6842 Updated to the protocol specification.
6844 * Added support of receiving the client's public key's
6845 fingerprint in command reply in client library. Affected
6846 file is lib/silcclient/command_reply.c, and
6847 lib/silcclient/idlist.[ch].
6849 Thu Nov 1 18:06:12 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6851 * Do not send over 128 chars long nickname to the server
6852 in NICK command. Affected file lib/silcclient/command.c.
6854 * Do not send over 256 chars long channel names to the server
6855 in JOIN command. Affected file lib/silcclient/command.c.
6857 Tue Oct 30 22:48:59 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6859 * Assure that silc_server_close_connection cannot be called
6860 twice for same socket context. Affected file is
6863 Tue Oct 30 16:58:14 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6865 * Send error message to application if opening file for
6866 writing during file transfer fails. Affected file is
6867 lib/silcclient/client_ftp.c.
6869 Remove all file transfer sessions for a client that we're
6870 removing from ID cache.
6872 Affected file is lib/silcclient/client_ftp.c.
6874 * Fixed silc_net_addr2bin to return correct address. Affected
6875 file lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
6877 * Fixed file transfer session removing on signoff notify.
6878 Affected file irssi/src/silc/core/silc-servers.c.
6880 * Added the SilcClientFileError to be returned in the monitor
6881 callback. Added NO_SUCH_FILE and PERMISSION_DENIED errors.
6882 Affected file lib/silcclient/silcapi.h.
6884 Mon Oct 29 17:43:04 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6886 * Fixed a crash in silc_client_ftp_free_sessions and
6887 silc_client_ftp_session_free_client. Affected file
6888 lib/silcclient/client_ftp.c.
6890 * Added `disabled' field in the SilcChannelEntry in the server
6891 to indicate if the server entry is disabled. Affected file
6892 silcd/idlist.h, silcd/command[_reply].c.
6894 * SILC server adds now /var/run/silcd.pid everytime it is
6895 started. Affected file silcd/silcd.c.
6897 * Added silc_server_packet_send_clients to send a packet to
6898 the provided table of client entries. Affected file
6899 silcd/packet_send.[ch].
6901 * Fixed a crash in client resolving in client_prvmsg.c in
6902 client library. Affected file lib/silcclient/client_prvmsg.c.
6904 * Do not actually remove the client directly from ID cache
6905 during SERVER_SIGNOFF, but invalidate it. This way we
6906 preserve the WHOWAS info for the client. Affected file
6907 silcd/server_util.c.
6909 * Fixed SERVER_SIGNOFF notify handling in the server. The
6910 server is now able to process incoming SERVER_SIGNOFF notify
6911 for a server that it doesn't even know about. It will remove
6912 the clients provided in the notify. Affected file
6913 silcd/packet_receive.c.
6915 * Check for partial packet in data queue after every packet that
6916 was found from the queue. Return and wait for more data if
6917 there is partial data in queue. Affected file is
6918 lib/silccore/silcpacket.c.
6920 Sun Oct 28 18:46:27 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6922 * Added SilcClietFileError enum to indicate error in
6923 file transfer. Added SILC_CLIENT_FILE_MONITOR_KEY_AGREEMENT
6924 and SILC_CLIENT_FILE_MONITOR_ERROR new monitor statuses.
6925 Affected files lib/silcclient/silcapi.h and
6926 lib/silcclient/client_ftp.c.
6928 * Check that newsize in silc_buffer_realloc is larger than
6929 the old buffer's size. Affected file lib/silcutil/silcbufutil.h.
6931 * Added better monitor of file transfers. It now monitors
6932 key agreement protocol during the file transfer too. Added
6933 error reporting too. Affected files
6934 irssi/src/silc/core/silc-servers.c,
6935 irssi/src/fe-common/silc/module-formats.[ch].
6937 * Wrote a help file for FILE command.
6939 * Added silc_rng_global_get_byte_fast to get not-so-secure
6940 random data as fast as possible. Random data is read from
6941 /dev/urandom if available and from the SILC RNG if not
6942 available. It is used in padding generation. Affected file
6943 lib/silccrypt/silcrng.[ch].
6945 * All packets in client library are now processed synchronously.
6946 Optimized packet processing a lot. Affected file
6947 lib/silcclient/client.c.
6949 * All server connection packets are processing synchronously
6950 now in server, to optimize packet processing. Affected file
6953 * Include files are installed now only in Toolkit distribution
6954 if make install is given. Affected files: all Makefile.am's.
6956 Thu Oct 25 22:44:06 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6958 * Assure that silc_client_notify_by_server_resolve does not
6959 resolve the client information multiple times. If it cannot
6960 be found by the first it cannot be found at all. Affected
6961 file lib/silcclient/client_notify.c.
6963 * Fixed WHOWAS command reply calling. Affected file
6964 lib/silcclient/command_reply.c.
6966 * Removed all references to silc_idlist_get_client from the
6967 Irssi SILC client since that call is internal call used by
6968 the library. The Irssi SILC client will use now client
6969 retrieval functions found in silcapi.h.
6971 * Fixed a bug in resolving nickname info before sending
6972 private message. It used freed memory. Affected file
6973 irssi/src/silc/core/silc-servers.c.
6975 Thu Oct 25 19:04:49 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6977 * Assure my_channels statistics cannot go negative in server.
6978 Affected files silcd/server.c, silcd/server_util.c.
6980 Wed Oct 24 19:53:05 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6982 * Upgraded dotconf 1.0.2 to 1.0.6 in lib/dotconf.
6984 Tue Oct 23 13:51:19 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
6986 * Win32 Toolkit changes. Affected files
6987 win32/silc.dsw, win32/libsilc/libsilc.def,
6988 win32/libsilcclient/libsilc.def,
6989 lib/silcutil/silcutil.c, and
6990 lib/sftp/sftp_fs_memory.c.
6992 Mon Oct 22 16:35:05 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6994 * Added silc_net_localip to return local host's IP address.
6995 Affected file lib/silcutil/silcnet.[ch].
6997 * If key exchange or rekey protocol is active for a connection
6998 parse all packets syncronously since there might be packets
6999 in packet queue that we are not able to process without first
7000 processing packets before them. Affected file silcd/server,
7001 lib/silcclient/client.c.
7003 * SilcPacketParserCallback now returns TRUE or FALSE to indicate
7004 whether library should continue processing the packet.
7005 Affected file lib/silccore/silcpacket.h.
7007 * Added SilcSFTPMonitor callback, SilcSFTPMonitors and
7008 SilcSFTPMonitorData to SFTP server to monitor various
7009 SFTP client requests. Affected file lib/silcsftp/silcsftp.h,
7010 lib/silcsftp/sftp_server.c.
7012 * Added silc_file_size to return file size. Affected file
7013 lib/silcutil/silcutil.[ch].
7015 * Implemented the file transfer support for the client library.
7016 Added preliminary support for simple client to client one-file
7017 transmission. Affected file lib/silcclient/client_ftp.c,
7018 lib/silccilent/client.[ch].
7020 * Added new local command FILE to the Irssi SILC Client.
7021 It is used to perform the file transfer. It has subcommands
7022 SEND, RECEIVE, SHOW and CLOSE. Affected files
7023 irssi/src/silc/core/client_ops.c,
7024 irssi/src/silc/core/silc-server.[ch].
7026 Mon Oct 22 12:50:08 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7028 * Relay the SILC_PACKET_FTP in the server. Affected files
7029 silcd/server.c and silcd/packet_receive.c.
7031 Sun Oct 21 20:21:02 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7033 * Renamed silc_file_read and silc_file_write to functions
7034 silc_file_readfile and silc_file_writefile. Added function
7035 silc_file_open and silc_file_close. Affected files
7036 lib/silcutil/silcutil.[ch].
7038 Thu Oct 18 20:58:13 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7040 * Resolve the client info when received private message or
7041 channel message for a client which nickname we don't know.
7042 Affected files lib/silcclient/client_prvmsg.c and
7043 lib/silcclient/client_channel.c.
7045 * Do not crash in /KEY if client is not connected. Affected
7046 file irssi/src/silc/core/silc-channels.c.
7048 * Added SilcClientStatus field to the SilcClientEntry in the
7049 lib/silcclient/idlist.h.
7051 Added SILC_CLIENT_STATUS_RESOLVING to mark that the entry
7052 is incomplete and is being resolved, it won't be resolved
7055 Make sure also that USERS command reply does not resolve
7056 twice information. Affected file is
7057 lib/silcclient/command_reply.c.
7059 Make sure that silc_client_get_clients_by_list does not
7060 resolve twice same information.
7062 * Check for valid client->id in the silc_server_free_client_data.
7063 Affected file silcd/server.c.
7065 * Fixed /GETKEY nick@server not to crash if the server entry
7066 is not found. Affected file lib/silcclient/command.c.
7068 * Fixed the silc_server_check_cmode_rights to check the
7069 requested modes correctly. Affected file silcd/command.c.
7071 Thu Oct 18 12:10:22 CEST 2001 Pekka Riikonen <priikone@silcnet.org>
7073 * Better checks for non-printable chars in nick added.
7074 Affected file silcd/command.c.
7076 Thu Oct 18 09:18:58 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7078 * Call the silc_server_udpate_servers_by_server in the
7079 primary router that comes back online in the backup resuming
7080 protocol. Otherwise it routes packets wrong. Affected file
7081 silcd/server_util.[ch], silcd/server_backup.c.
7083 Wed Oct 17 16:51:18 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7085 * Added SILC_STR_UI8_[N]STRING[_ALLOC] formats to the
7086 lib/silcutil/silcbuffmt.[ch].
7088 * Redefined the SILC packet header to include the padding
7089 length. Affected file lib/silccore/silcpacket.[ch].
7091 * Added SILC_PACKET_PADLEN_MAX macro to return the padding
7092 length for maximum padding up to 128 bytes). Affected
7093 file lib/silccore/silcpacket.h.
7095 * Removed all backwards support for old 0.5.x MAC thingies.
7096 The SILC packet header change makes it impossible to be
7097 backwards compatible.
7099 * Send the ENDING packet with timeout in the backup resuming
7100 protocol. This is to assure that all routers has connected
7101 to the primary router. Affected file silcd/server_backup.c.
7103 * Changed the RNG to take the first IV from random data. It
7104 used to take it from zero actually. Changed the RNG also
7105 to use /dev/urandom during session. /dev/random is used
7106 in initialization. Affected file lib/silccrypt/silcrng.[ch].
7108 Tue Oct 16 20:45:49 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7110 * Changed the SILC packet header to have the first two bytes
7111 (the packet length) encrypted. Affected files aroung the
7112 code tree, lib/silccore/silcpacket.[ch]. Removed the
7113 SilcPacketCheckDecrypt callback. It is not needed anymore
7114 since the silc_packet_receive_process will determine now
7115 whether the packet is normal or special.
7117 * Implemented the unidirectional MAC keys. Affected files
7118 lib/silcske/silcske.c, silcd/protocol.c and
7119 lib/silcclient/protocol.c.
7121 * Implemented the packet sequence number to the MAC computation.
7122 Affected files lib/silccore/silcpacket.c, silcd/protocol.c,
7123 silcd/packet_send.c, silcd/server.c, lib/silcclient/client.c,
7124 lib/silcclient/protocol.c.
7126 Mon Oct 15 17:42:55 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7128 * Allow backup router to announce servers. All servers
7129 announced by backup router are added to the global list
7130 automatically. Update hte server's socket to our primary
7131 router also when backup router announces a server.
7132 Affected file silcd/packet_receive.c.
7134 * Do not update the client->router in the function
7135 silc_server_udpate_clients_by_server if the client is on
7136 global list. We might fail to find any specific server
7137 for locally connected clients and local cell clients. They
7138 should still use the `from' and not `to' as client->router.
7139 This fixes backup router resuming protocol. Affected file
7140 silcd/server_util.c.
7142 * Decrease channel statistics count only if the channel
7143 deletion worked. Affected files are silcd/server.c and
7144 silcd/server_util.c.
7146 * Added silc_server_update_servers_by_server to update origin
7147 of all server entries. Used during backup router protocol.
7148 Affected files silcd/server_util.[ch], silcd/server.c. and
7149 silcd/backup_router.c.
7151 * ROBODoc documented the lib/silccrypt/silchmac.h. Added new
7152 function silc_hmac_init, silc_hmac_update, silc_hmac_final,
7153 silc_hmac_get_hash and silc_hmac_get_name. Affected file
7154 lib/silccrypt/silchmac.c.
7156 Sun Oct 14 18:28:22 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7158 * Assure that router cannot reroute the same channel message
7159 to the sender. Affected file silcd/packet_receive.c.
7161 Sat Oct 13 12:46:18 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7163 * Made better checks that the channel message is not sent
7164 to the router it came from. Affected file is
7165 silcd/packet_send.c. Fixed memory leak too.
7167 * Announce informations for incoming router connection, but
7168 only after checking if it is replaced by backup router.
7169 Affected file silcd/packet_receive.c.
7171 Fri Oct 12 18:37:24 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7173 * Fixed the backup resuming protocol to work in multiple
7174 router environment. Affected file silcd/server_backup.c.
7176 * Route packet only to one router in the function
7177 silc_server_packet_send_to_channel. Affected file is
7178 silcd/packet_send.c.
7180 * Fixed silc_server_send_notify_dest to set the broadcast
7181 flag. Fixed the silc_server_send_notify_topic to actually
7182 send the TOPIC_CHANGE notify and not SERVER_SIGNOFF notify.
7183 Affected file silcd/packet_send.c.
7185 * Changed the SFTP Filesystem interface. Changed the
7186 SilcSFTPFilesystemStruct to SilcSFTPFilesystemOps to include
7187 the filesystem operation function. The SilcSFTPFilesystem
7188 is now a context that is allocated by all filesystem allocation
7189 functions and it already includes the operations structure
7190 and filesystem specific context. It is given as argument
7191 now to the silc_sftp_server_start. This made the interface
7192 a bit cleaner. Affected file lib/silcsftp/silcsftp[_fs].h,
7193 lib/silcsftp/sftp_fs_memory.c and sftp_server.c.
7195 Thu Oct 11 22:19:26 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7197 * Changed the backup router adding and getting interfaces
7198 in the server. The router that will be replaced by the
7199 specified backup router is now sent as argument. Affected
7200 files silcd/serverconfig.[ch], silcd/backup_router.[ch], and
7203 * Added silc_net_addr2bin_ne to return the binary form of
7204 the IP address in network byte order. Affected files
7205 lib/silcutil/[unix/win32].silc[unix/win32]net.[ch].
7207 Thu Oct 11 12:14:19 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7209 * Check for existing server ID in silc_server_new_server
7210 and in silc_server_connect_to_router_final and remove the
7211 old entry if it exists. Affected file silcd/packet_receive.c,
7214 * Send the channel message always to only one router, either
7215 in upstream or downstream. Affected file is
7216 silcd/packet_send.c.
7218 Tue Oct 9 17:45:43 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7220 * Wrote the definition of the backup resuming protocol to the
7221 protocol specification.
7223 * Removed one redundant channel key generation from normal
7224 server during joining procedure. Removed one redundant
7225 channel key sending from server to router during joining
7226 procedure. Affected file silcd/command.c.
7228 * Made minor bugfixes to the backup router resuming protocol.
7229 Affected file silcd/server_backup.c, server.c.
7231 Mon Oct 8 16:47:42 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7233 * Added --disable-asm configuration option. Affected files
7234 configure.in.pre, lib/silcmath/mpi/configure.in. A patch
7237 * Implemented the backup resuming protocol that is used to
7238 resume the primary router position in the cell after the
7239 primary router comes back online. Affected files
7240 silcd/server_backup.[ch], silcd/server, silcd/packet_receive.c,
7241 and silcd/server_util.[ch].
7243 Sun Oct 7 12:29:25 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7245 * Sleep two (2) seconds after sending QUIT command to server.
7246 Affected file lib/silcclient/command.c.
7248 * Assure that if outgoing data buffer is pending do not force
7249 send any data. Affected file silcd/packet_send.c.
7251 * Assure that if outgoing data buffer is pending do not force
7252 send any data. Affected file lib/silcclient/client.c.
7254 * Implemented the backup router support when the primary router
7255 goes down. The servers and routers can now use the backup
7256 router as new primary router without loosing connectivity.
7258 Sat Oct 6 21:18:54 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7260 * Added new SILC_IDLIST_STATUS_DISABLED flag for entries
7261 in the server to indicate disabled entry. All data read
7262 from the connection will be ignored and no data is sent
7263 for entry that is disabled. Affected files are
7264 silcd/idlist.h, silcd/server.c.
7266 Fri Oct 5 00:03:29 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7268 * Created SFTP client and server test programs in the
7269 lib/silcsftp/tests directory.
7271 Wed Oct 3 23:31:42 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
7273 * Implemented memory filesystem (virtual filesystem) for
7274 SFTP server. Affected file lib/silcsftp/silcsftp_fs.h,
7277 Sun Sep 30 22:10:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7279 * Implemented the SFTP (SSH File Transfer Protocol) to the
7280 lib/silcsftp. It includes SFTP client and SFTP server
7283 Sun Sep 30 10:35:44 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7285 * Moved lib/silccore/silcprotocol.[ch] to the
7286 lib/silcutil library.
7288 * Added silc_buffer_format_vp and silc_buffer_unformat_vp to
7289 take variable argument list pointer as argument. Affected
7290 file lib/silcutil/silcbuffmt.[ch].
7292 * Added silc_buffer_set function that is used to set data
7293 to a SilcBuffer that is not allocated at all (SilcBufferStruct).
7294 Affected file lib/silcutil/silcbuffer.h.
7296 * Changed various routines in the core library to use the new
7297 silc_buffer_set instead of allocating new buffer only for
7300 * Added 64-bit value formatting and unformatting support to the
7301 silc_buffer_[un]format routines. Affected file is
7302 lib/silcutil/silcbuffmt.[ch].
7304 Added also 64-bit macros: SILC_GET64_MSB and SILC_PUT64_MSB,
7305 to includes/bitmove.h.
7307 Fri Sep 28 21:30:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7309 * Fixed channel user mode saving in client library. Affected
7310 file lib/silcclient/command[_reply].c.
7312 Thu Sep 27 22:52:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7314 * Defined the file transfer to the SILC Protocol. Added
7315 new packet type SILC_PACKET_FTP and defined File Transfer
7316 Payload. The mandatory file transfer protocol is SFTP
7317 (SSH File Transfer Protocol). Affected file in addition
7318 of the internet draft is lib/silccore/silcpacket.h.
7320 * Deprecated the SILC_PACKET_CELL_ROUTERS and defined new
7321 packet SILC_PACKET_RESUME_ROUTER instead. The new packet
7322 is used as part of backup router protocol when the primary
7323 router of the cell is back online and wishes to resume
7324 the position as primary router.
7326 * Redefined the MAC generation keys in the protocol. The
7327 same key is not used anymore in both direction. Both
7328 direction will now use different keys for sending and
7329 receiving. This fixes a potential security flaw. This
7330 change causes incompatibilities in the protocol.
7332 * Redefined also the MAC computation from the packet.
7333 An packet sequence number is now added to the MAC
7334 computation. This prevents possible replay attacks against
7335 the protocol. This change too causes incompatibilities
7338 Added `sequence' field to the SilcPacketContext to hold
7339 the current sequence number for the packet.
7341 Wed Sep 26 20:15:22 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7343 * Added `created' field to the SilcIDListData in the file
7344 silcd/idlist.h to indicate the time when the entry was
7347 * Added `created' field to the SilcChannelEntry too. Affected
7348 file silcd/idlist.h.
7350 * Added `creation_time' aguments to all the announcement functions
7351 in the server. If it is provided then only the entries that
7352 was created after the provided time frame are actually
7353 announced. Affected file silcd/server.[ch].
7355 * The protocol says that the Channel ID's IP address must be
7356 based on the router's IP address. Added check for this in
7357 the silc_server_new_channel when processing incoming New Channel
7358 Payload. Affected file silcd/packet_receive.c.
7360 * Print out the correct version with --version in SILC client.
7361 Affected file irssi/src/silc/core/silc-core.c.
7363 Mon Sep 24 17:19:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7365 * Fixed WHOWAS command to check for completnes of the client
7366 entry always, not just when the command is coming from client.
7367 Affected file silcd/command.c.
7369 * Added new function silc_server_packet_queue_purge to purge the
7370 outgoing data queue to the network. After the function returns
7371 it is guaranteed that the outgoing packet queue is empty.
7372 Affected file silcd/packet_send.[ch].
7374 * Purge the outgoing packet queue in the rekey protocol's final
7375 callback to assure that all rekey packets go to the network
7376 before quitting the protocol. Affected file silcd/server.c.
7378 * Added silc_client_packet_queue_parse as similar function as
7379 in server to the client library. The affected file is
7380 lib/silcclient/client.c.
7382 Sun Sep 23 15:15:53 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7384 * Splitted silcd/server.c and created silcd/server_util.[ch]
7385 for utility functions.
7387 * Added new socket flag SILC_SF_DISABLED to indicate that the
7388 connection is open but nothing can be sent to or received from
7389 the connection. Affected file lib/silcutil/silsockconn.[ch].
7390 The checking for disabled socket is checked in the low level
7391 silc_socket_write and silc_socket_read functions.
7393 Thu Sep 20 23:11:28 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7395 * Allow only nicknames and channel names that fits into the
7396 7-bit unsigned char ASCII set. Affected file silcd/command.c.
7398 Thu Sep 20 18:04:12 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7400 * When processing JOIN command reply in server check that if
7401 the channel exists in our global list we'll move it the local
7402 list. Affected file silcd/command_reply.c.
7404 * Fixed the check whether client is joined on the channel already
7405 in JOIN command. Affected file lib/silcclient/command.c.
7407 * Fixed the JOIN command reply to check whether the channel
7408 already exists. Affected file lib/silcclient/command_reply.c.
7410 Wed Sep 19 22:58:32 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7412 * Added silc_ske_status_string to map the SKE error numbers
7413 to readable strings. The affected files are
7414 lib/silcske/silcske[_status].[ch].
7416 Tue Sep 18 22:50:41 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7418 * Do not show the private channels on the WHOIS channel list
7419 as it is not allowed by the protocol. The affected file is
7422 Sun Sep 16 12:32:58 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7424 * Assure that the packet length digged from the actual packet
7425 is something sensible in the silc_packet_decrypt_rest_special
7426 in lib/silccrypt/silcpacket.c.
7428 * Free and NULL the allocated pointer in silc_hmac_alloc if
7429 the HMAC allocation fails. The affected file is
7430 lib/silccrypt/silchmac.c.
7432 * Print the selected security properties to the log files in
7433 the server. Affected file silcd/protocol.c.
7435 * Add SKE's reference counter even if calling the completion
7436 callback manually. Otherwise it goes negative, although it
7437 does not cause any problems. The affected file is
7438 lib/silcske/silcske.c.
7440 * Remove the client entry with short timeout after giving the
7441 KILL command. Affected file lib/silcclient/command.c.
7443 * Fixed to send error reply in WHOIS and IDENTIFY commands in
7444 case all found clients are already disconnected (WHOWAS would
7445 found them) in the server. Affected file silcd/command.c.
7447 * Update the last_receive (time of last data received) to be
7448 updated only when received private or channel message so that
7449 the idle time showed in WHOIS makes more sense.
7451 * Added boolean field `valid' in to the SilcClientEntry in the
7452 client library to indicate whether the entry is valid or not.
7453 This fixes the nickname change bug on channel when changing
7454 the nickname to be same than the old (like nick to Nick) the
7455 nickname formatter doesn't set the new nick anymore to Nick@host.
7456 Affected file lib/silcclient/idlist.[ch].
7458 * Now actually fixed the nickname changing on disconnection.
7459 Added new function silc_change_nick to the Irssi SILC Client.
7460 Affected file irssi/src/silc/core/client_ops.c,
7461 irssi/src/silc/core/silc-nicklist.[ch].
7463 Sat Sep 15 13:29:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7465 * Check that the public key exists in the GETKEY command before
7466 trying to encode it. Affected file silcd/command.c.
7468 * Print some notifications on received public keys with GETKEY
7469 command in the Irssi SILC Client. Affected files are
7470 irssi/src/fe-common/silc/module-formats.[ch],
7471 irssi/src/silc/core/client_ops.c.
7473 * Use IDENTIFY command to resolve the server information in the
7474 GETKEY command instead of INFO command. Affected file
7475 lib/silcclient/command.c.
7477 * All command reply functions in the client library now calls
7478 the pending command reply callbacks even if an error has
7479 occurred. The server has done this a long time and now it was
7480 time to move the client library to this as well. Now all
7481 errors can be delivered back to the pending command reply
7482 callbacks if necessary. Affected files are
7483 lib/silcclient/command[_reply].[ch].
7485 * Change the nickname on disconnection back to the username
7486 because in reconnect the server will enforce it to it anyway.
7487 Affected file irssi/src/silc/core/silc-servers.c.
7489 * Fixed a config file parsing bug in the Irssi SILC client.
7490 Affected file irssi/src/silc/core/clientconfig.c.
7492 Thu Sep 13 23:11:18 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7494 * When printing the channel mode on JOIN, verify that the
7495 channel key and channel's HMAC are valid. Affected file
7496 irssi/src/silc/core/client_ops.c.
7498 Thu Sep 13 20:24:52 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7500 * Added defines SILC_DEFAULT_CIPHER, SILC_DEFAULT_HMAC,
7501 SILC_DEFAULT_HASH and SILC_DEFAULT_PKCS in the file
7502 lib/silccrypt/[silccipher.h|silchmac.h|silchash.h|silcpkcs.h].
7504 * Removed channel key rekey task deleting from the function
7505 silc_server_save_channel_key. Affected file silcd/server.c.
7506 Added explicit timeout task context instead that is used to
7507 delete the task if we are registering a new task before the
7508 new task has elapsed.
7510 * When channel key rekey occurs the client library now saves
7511 the old channel key for a short period of time (10 seconds) and
7512 is able to use it in case some is still sending channel
7513 messages encrypted with the old key after the rekey. Affected
7514 file lib/silcclient/[idlist.h|client_channel.c].
7516 Sun Sep 9 15:49:16 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7518 * Added check to the silc_server_new_id_real to not accept
7519 new ID if it is the sender's own ID. Affected file is
7520 silcd/packet_receive.c.
7522 * Assure that we do not announce ourself or the one we've
7523 sending our announcements when we're router and are announcing
7524 servers to our primary router. Affected file silcd/server.c.
7526 * Fixed silc_server_command_identify_check_client to assemble
7527 correct WHOIS packet. It send corrupted WHOIS packet and
7528 caused problem with router to router connections. Affected
7529 file silcd/command.c.
7531 Fixed also silc_server_command_whois_check the same way
7532 as for the IDENTIFY command.
7534 * Added new SilcIDListStatus to the server in the SilcIDListData
7535 structure. The status now includes the current status of
7536 the entry (like registered, resolved etc.). Affected file
7537 silcd/idlist.[ch]. Defined a bunch of different status types
7538 as well. This replaced the old boolean registered field as well.
7540 Added resolve_cmd_ident field to the SilcClientEntry structure
7541 too so that if the entry is for example being resolved so
7542 another command may attach to the same pending command reply
7543 without requiring to resolve the same entry again. This concept
7544 should optimize the WHOIS and the IDENTIFY resolving under
7545 heavy load by taking away unnecessary resolving for entries
7546 that are being resolved already.
7548 Added support for adding multiple pending commands for one
7549 command idenfier. Affected file silcd/command[_reply].[ch].
7551 * Fixed WHOIS and IDENTIFY save to remove the cache entry
7552 before deleting the data. Otherwise the hash table will have
7553 freed data in comparison functions. Affected file is
7554 silcd/command_reply.c.
7556 * Fixed silc_idlist_replace_client_id to add the new entry to
7557 the cache with NULL nickname. Otherwise there will be invalid
7558 memory as the nickname after the nickname is freed. Affected
7559 file silcd/packet_receive.c.
7561 * Fixed the silc_idlist_get_clients_by_hash. The entries was
7562 saved into wrong slots because the previous number of entries
7563 was not taken into account. Affected file silcd/idlist.c.
7564 Fixed same thing in silc_idlist_get_clients_by_nickname too.
7566 * If we are router and we receive JOIN notify to a channel that
7567 does not have any users then notified client is marked as the
7568 channel founder, as it is it. The affected file is
7569 silcd/packet_receive.c
7571 * Added to the extended hash table API's table_del_*ext functions
7572 the destructor as argument too, so that the caller can decide
7573 which destructor to use or whether to use destructor at all.
7574 Affected file lib/silcutil/silchashtable.[ch].
7576 * Fixed ID Cache purging. It actually deleted the entries from
7577 the hash table after the data was freed. The hash table ended
7578 up comparing freed memory. The affected file is
7579 lib/silccore/silcidcache.c.
7581 Sat Sep 8 10:22:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7583 * Fixed Irssi SILC client's KILL command's HELP syntax.
7585 * The USERS command now resolves the detailed user information
7586 if the userinfo field is missing. Affected file is
7587 lib/silcclient/command_reply.c.
7589 * Do not print error in silc_file_read if the read file does
7590 not exist. Just silently return NULL. Affected file is
7591 lib/silcutil/silcutil.c.
7593 * Fixed the silc_log_output to not wine about NULL filename
7594 and to not create some bogus " " filename. Affected file is
7595 lib/silcutil/silclog.c.
7597 Fri Sep 7 22:16:38 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7599 * Fixed various printing bugs on the user interface in the
7600 Irssi SILC Client. Minor changes that were forgotten from
7603 Fri Sep 7 17:28:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7605 * Fixed the configure.in.pre and the compilation and distribution
7606 environment to support the new autoconf 2.52. That version is
7607 now required to compile the CVS trunk.
7609 Thu Sep 6 12:47:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7611 * Renamed function silc_parse_nickname to silc_parse_userfqdn
7612 to generally parse user@fqdn format strings. Affected file
7613 lib/silcutil/silcutil.c.
7615 * Added nickname_format and nickname_force_format fields to the
7616 SilcClientParams structure. The first one defines the format
7617 for the nicknames that the library will enforce if the receives
7618 multiple same nicknames. The second one is boolean value and
7619 can be used to force the library to always enforce the format
7620 to the nicknames regardles whether there are multiple nicknames
7621 or not. This configurable formatting was employed to flexibly
7622 support accessing multiple nicknames from the user interface.
7623 The userinterface can now set the nicknames to what ever format
7624 they prefer. Affected file lib/silcclient/silcapi.h.
7626 Added function silc_client_nickname_format to the file
7627 lib/silcclient/idlist.c. It performs the nickname formatting.
7629 Added new field `hostname´ to the SilcClientEntry context.
7630 It holds the hostname of the client. Affected file is
7631 lib/silcclient/idlist.h.
7633 * Irssi SILC Client sets the nicknames in nick@hostn format.
7634 Fe. priikone@otaku, priikone@otaku2 etc. Affected file
7635 irssi/src/silc/core/silc-core.c.
7637 The WHOIS printing now also shows both the real nickname and
7638 the formatted nickname so that user knows how to access the
7639 user if there are multiple same nicknames cached. Affected
7640 file irssi/src/silc/core/client_ops.c. Changed the WHOIS
7641 printing formatting too to take the hostname now as a separate
7642 argument. The Affected file is
7643 irssi/src/fe-common/silc/modules-formats.[ch].
7645 * Changed the silc_client_get_clients_local to accept the formatted
7646 nickname as argument. It accepts the real nickname too but the
7647 formatted nickname can be used to find the true entry from
7648 multiple entries. Affected file lib/silcclient/silcapi.h and
7649 lib/silcclient/idlist.c.
7651 * Added nickname_format_parse field to the SilcClientParams.
7652 It is a callback function provided by the application to parse
7653 the nickname out of the formatted nickname string. The library
7654 calls it to get the nickname from the formatted string. Since
7655 the application generally knows better the format of the nickname
7656 string it parses it instead of the library, even though library
7657 encodes the formatted string. If the callback function is not
7658 provided then the library will use the string as is. The
7659 affected file is lib/silcclient/silcapi.h.
7661 * All the nickname strings passed to the client library in
7662 commands are now expected to be formatted nickname strings.
7663 If the command does not support the formatted nickname string
7664 it will assume that the sent string is the actual nickname.
7665 Affected file lib/silcclient/command.c.
7667 Tue Sep 4 22:31:28 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7669 * Added public key authentication support to OPER and SILCOPER
7670 commands in the client library. Affected file is
7671 lib/silcclient/command.c.
7673 Tue Sep 4 12:39:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7675 * Changed the get_auth_methdod client operation to be asynchronous.
7676 It can be async if the application resolves the authentication
7677 method from the server during the negotiation. Added new
7678 SilcGetAuthMeth completion callback that the application will
7679 call after resolving the authentication method.
7681 Added function silc_client_request_authentication_method that
7682 the application can use to resolve the authentication method
7683 from the server. Added also SilcConnectionAuthRequest callback
7684 that the library will call after the server has replied. The
7685 application can call this function if it does not know the
7686 current authentication method.
7688 Affected files are lib/silcclient/client.c and
7689 lib/silcclient/silcapi.h.
7691 * The Irssi SILC client now automatically resolves the authentication
7692 method incase any configuration information is not present (and
7693 currently there never is). The affected file is
7694 irssi/src/silc/core/client_ops.c.
7696 * Fixed public key authentication from the client library.
7697 Affected file lib/silcclient/protocol.c. Changed also the
7698 protocol specification about the public key authentication in
7699 the connection authentication protocol. The actual data to be
7700 signed is now computed with a hash function before signing.
7702 * Fixed the public key authentication from the server as well.
7703 Affected file silcd/protocol.c.
7705 * Removed the mlock()'s from the memory allocation routines.
7706 Affected file lib/silcutil/silcmemory.c. The ./configure does
7707 not check anymore for the mlock(). Affected file is
7710 * Fixed USERS command in server to allow the execution of the
7711 command for private and secret channels if the client sending
7712 the command is on the channel. Affected file silcd/command.c.
7714 * Fixed silc_client_get_clients_local to return the clients
7715 count correctly. It could return wrong value. Affected file
7716 lib/silcclient/idlist.c.
7718 Mon Sep 3 20:09:59 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7720 * Fixed the lib/silcmath/mpi/mpi.h to always use 32-bit data
7721 types. The assembler optimizations seemed not to like 64-bit
7722 data types. The assmebler optimizations thus are now enabled
7723 also for BSD systems as opposed to only enable them for Linux.
7725 * Do not check for threads at all on BSD systems. Affected
7726 file configure.in.pre.
7728 * Removed -n and -h options from the Irssi SILC Client since
7729 they are not used in silc.
7731 * Fixed the prime generation to assure that the first digit
7732 of the generated random number is not zero since our conversion
7733 routines does not like number strings that starts with zero
7734 digit. If zero digit is seen the random number is regenerated.
7735 This caused some corrupted RSA keys when the zero first digit
7736 was met. Affected file lib/silcmath/silcprimegen.c.
7738 Sun Sep 2 17:17:24 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7740 * Fixed WIN32 configuration in the ./configure script.
7741 Fixed to include xti.h on environments that has it.
7742 Patches by Carsten Ilchmann and andrew.
7744 Sat Sep 1 00:29:33 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7746 * Changed the silc_id_create_client_id to be collision
7747 resistant. It is now assured that there cannot be created
7748 two same client ID's. I suspect that some weird bugs in
7749 the server were actually caused by duplicate Client IDs.
7750 Affected file silcd/serverid.[ch]. A router receiving
7751 new ID now also assures and informs the sending server
7752 if the ID caused collision.
7754 * Changed the silc_id_create_channel_id to also assure that
7755 there are no collisions.
7757 Wed Aug 29 17:55:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7759 * Statement about ignoring the Mutual Authentication flag when
7760 performing rekey with PFS was a bit misleading. It is ignored
7761 if it was set in the initial negotiation, it cannot be even
7762 set in the rekey. Fixed in the ke-auth draft. Started the
7763 new versions of the protocol drafts in the doc/.
7765 Sun Aug 26 14:59:15 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7767 * Fixed a bug in silc_client_command_identify_save when saving
7768 new channel information. The channel name was no duplicated
7769 and caused crash on exit. Affected file is
7770 lib/silcclient/command_reply.c.
7772 Fri Aug 17 23:07:45 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7774 * Fixed the getkey command handling in the server. Send just
7775 empty OK reply to the sender if the key could not be fetched
7776 (but everything else was ok, like the key just was not available).
7777 Changed the public key parameter to optional in the protocol
7778 specs so that empty OK reply can be sent. Affected file
7781 Added a message to Irssi SILC client to tell to user if the
7782 server did not return a public key.
7784 Tue Aug 14 07:29:27 CEST 2001 Pekka Riikonen <priikone@silcnet.org>
7786 * Fixed a channel key regeneration bug. It registered new
7787 timeout tasks exponentially until all system resources were
7788 used. Affected file silcd/server.c.
7790 Sun Aug 12 20:48:14 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7792 * Added the SILC Document generator to the scripts/silcdoc.
7793 It can be used to generate the Toolkit Reference Manual out
7794 of the source tree. Internally it will also use the RoboDoc
7795 generator now imported in util/robodoc.
7797 Sun Aug 12 12:28:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7799 * Added couple of return's in rekey protocol if error orccurred
7800 during the protocol. The execution must be terminated.
7801 Affected file silcd/protocol.c. Also, terminate the protocol
7802 always with timeout.
7804 Sat Aug 11 12:36:02 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7806 * The client's Client ID was created initally from the wrong
7807 nickname (it could have been in format nick@host) in the
7808 silc_server_new_client. Affected file silcd/packet_receive.c
7810 Sat Aug 11 00:29:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7812 * Added some SILC_LOG_ERROR's to various error conditions
7813 if client could not be added to ID cache. Affected files
7814 silcd/packet_receive.c and silcd/server.c.
7816 * When client's sock->user_data is freed, NULL also the
7817 client->router and client->connection pointers. Added check
7818 for these pointers being NULL to various places around the
7819 code. Affected file silcd/server.c.
7821 * Added client->data.registered == TRUE checks to various
7822 places around the code to assure that unregistered client's
7823 are not handled when it is not allowed. Affected file
7826 * Added `bool registered' fields to all
7827 silc_idlist_[server|client]_get_* routines to indicate whether
7828 the fetched client needs to be registered or not. Affected
7829 file silcd/idlist.[ch].
7831 * Add your own entry as registered to the ID cache in the
7832 server. Affected file server.c.
7834 * Fixed a bug in silc_server_new_server. The SilcServer was
7835 set as the new server's context instead of SilcServerEntry.
7836 This naturally caused some weird bugs.
7838 * Added "updated" field the SilcChannelEntry which indicates
7839 the time since the channel entry was last accessed. This
7840 can be used to determine whether it is necessary to
7841 announce the channel after backup resuming protocol.
7842 Affected files silcd/idlist.[ch].
7844 Thu Aug 9 18:28:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7846 * Do not delete the channel rekey task when adding it
7847 for in silc_server_create_channel_key.
7849 * Changed the silc_server_create_channel_key to return
7850 TRUE or FALSE to indicate the success of the channel key
7853 Thu Jul 26 11:32:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7855 * Fixed MSVC++ project files and added missing files to
7856 Makefiles under win32/.
7858 Wed Jul 25 18:43:54 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7860 * Do not add TCP_NODELAY flag if the operating system
7861 does not have it defined. Affected files are
7862 lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
7864 * Fixed buffer overflow from Irssi SILC Client. Affected
7865 file irssi/src/fe-common/core/themes.c.
7867 * Fixed double free in client library in the file
7868 lib/silcclient/client.c when disconnecting from server.
7870 * Applied double free patch from cras to Irssi SILC client.
7871 Affected files irssi/src/core/[modules/expandos].c
7873 * Fixed the disconnection handling to Irssi SILC Client.
7874 The application must call silc_client_close_connection
7875 in ops->connect client operation in case of failure of
7876 the connection. Affected file is
7877 irssi/src/silc/core/client_ops.c.
7879 * Do not set sock->protocol to NULL in the function
7880 silc_client_close_connection after executing the protocol's
7881 final callback since the sock might not be valid anymore.
7882 Affected file lib/silcclient/client.c.
7884 Wed Jul 25 16:04:35 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7886 * Do not enable SILC_THREADS if the linking with libpthread
7887 did not happen. Affected file configure.in.pre.
7889 * Added notion to protocol specification that server must
7890 verify the sent authentication payload with CMODE when
7891 setting the channel founder key. Implemented it to the
7892 server. Affected file silcd/command.c.
7894 Mon Jul 23 18:31:43 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7896 * Added _EXTRA_DIST SILC distribution variable to the
7897 distributions file. It is used to conditionally add extra
7898 files or directories to the specific distribution. Affected
7899 files ./prepare, Makefile.am.pre and distributions.
7901 Removed the `_' from the start of the distribution names.
7904 * Added README.WIN32 for instructions to compile the Toolkit
7907 Mon Jul 23 10:12:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7909 * Fixed a double free in disconnection in the server. Affected
7910 file is silcd/server.c.
7912 * Fixed the lib/silcske/groups.c to work now also with GMP
7913 MP library. The string conversion did not work when using
7914 specific base and the base is indicated in the string as well.
7916 * Created win32/ directory which now includes MSVC++ specific
7917 stuff so that toolkit (DLLs) may be compiled with MSVC++.
7918 It will appear only in the toolkit distribution
7920 Sun Jul 22 19:40:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7922 * Changed the key material distribution function in case when
7923 the hash output is too short. The data is now concatenated
7924 a bit differently than it used to. Made the change to the
7925 SKE protocol specification.
7927 * Added better GMP detection to configure.in.pre. A patch
7930 Fri Jul 20 13:16:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7932 * Fixed a minor bug in SKE that might cause some problem on
7933 some platforms. Affected file lib/silcske/silcske.c.
7935 * Added the cookie checking for initiator in the SKE. It checks
7936 that the responder returns the sent cookie unmodified. The
7937 affected file is lib/silcske/silcske.c. Added new SKE
7938 error type INVALID_COOKIE that can be sent during the
7939 negotiation. Fixed some memory leaks as well.
7941 * Added the "invalid cookie" error message to Irssi SILC client's
7944 Thu Jul 19 21:44:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7946 * Added `task_max' field to the SilcClientParams to indicate
7947 the maximum tasks the scheduler can handle. If set to zero,
7948 default values are used. Affected file lib/silcclient/silcapi.h.
7950 * Fixed memory leaks in silc_client_close_connection. Affected
7951 file lib/silcclient/client.c.
7953 * Added silc_client_del_client_entry to client library to free
7954 all memory of given client entry. Affected file is
7955 lib/silcclient/idlist.[ch].
7957 * Added new functions silc_client_del_channel and
7958 silc_client_del_server to delete channel and server entries.
7959 Affected file lib/silcclient/[silcapi.h/idlist.c].
7961 * Removed silc_client_del_client_by_id from silcapi.h.
7963 * Fixed the INFO command to return the server's own info
7964 correctly when querying by Server ID. Affected file is
7967 Thu Jul 19 14:47:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7969 * Removed the non-blocking settings in WIN32 code in the
7970 silc_sock_[read/write] and added SleepEx instead. Affected
7971 file lib/silcutil/win32/silcwin32sockconn.c. The availability
7972 of input data is now checked with FIONREAD and ioctlsocket.
7974 Wed Jul 18 18:34:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7976 * Call silc_schedule_task_del_by_context in the
7977 silc_protocol_cancel instead of silc_schedule_task_del_by_callback.
7978 Affected file lib/silccore/silcprotocol.c.
7980 * Call silc_protocol_cancel for active protocols in the
7981 silc_server_close_connection if the funtion
7982 silc_server_free_sock_user_data has not been called.
7983 Affected file silcd/server.c.
7985 * Generic tasks cannot be deleted using the del_by_fd
7986 task deleting function since generic tasks does not match
7987 any specific fd. Affected file lib/silcutil/silcschedule.[ch].
7989 * Added a notion to SILCOPER help file that the SILCOPER works
7990 only on router server, not on normal server.
7992 Wed Jul 18 09:40:04 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7994 * Added for WIN32 support for the new scheduler as well.
7995 Affected file lib/silcutil/win32/silcwin32schedule.c.
7997 * Fixed the SHA1 implementation to work on various platforms.
7999 Tue Jul 17 23:04:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8001 * Rewrote the SILC Scheduler entirely. Removed the old SILC Task
8002 API. It is part of the scheduler now. Everything else is
8003 as previously but some functions has changed their names.
8004 Checkout the lib/silcutil/silcschedule.h for the interface.
8005 Updated all applications to use the new interface. Affected
8006 files are lib/silcutil/silcschedule.[ch].
8008 Tue Jul 17 16:53:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8010 * Found a bug in the SKE implementation. The HASH value,
8011 specified by the protocol, was not computed correctly. The
8012 public key of the responder was not added to the computation
8013 even though it is mandatory. Affected file lib/silcske/silcske.c.
8014 This unfortunately causes incompatibilities with older
8015 clients and servers.
8017 * Added WIN32 specific network init and uninit functions:
8018 silc_net_win32_init and silc_net_win32_uninit to init and uninit
8019 the Winsock2. Affected file lib/silcutil/silcnet.h and
8020 lib/silcutil/win32/silcwin32net.c.
8022 * Set the socket always to nonblocking mode on WIN32 after
8023 reading data or writing data. Affected file is
8024 lib/silcutil/win32/silcwin32sockconn.c.
8026 Mon Jul 16 22:55:26 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8028 * Fixed various compilation problems under WIN32. Affected
8029 files lib/silcutil/win32/silcwin32thread.c and
8030 lib/silcutil/win32/silcwin32schedule.c.
8032 * Removed all _internal.h #includes from public header
8033 files. Internal headers must never be included from
8036 Removed also the lib/silcske/payload_internal.h file.
8038 * All include files that may be needed (public and some others
8039 included by the public headers) by application developers are
8040 now copied to the ./includes directory. It does not copy any
8041 internal headers. Affected file Makefile.defines.pre and all
8042 Makefile.am's under lib/ and subdirs.
8044 Thu Jul 12 17:49:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8046 * Do not change the ~/.silc directory's permissions automatically.
8047 Affected file irssi/src/silc/core/clientutil.c.
8049 Thu Jul 12 10:18:40 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8051 * Do not cancel the protocol in silc_server_close_connection
8052 it might cause recursion. Now cancelled in the function
8053 silc_server_free_sock_user_data. Affected file silcd/server.c.
8055 * Fixed the silc_server_remove_clients_by_server to regenerate
8056 the channel keys correctly finally. Added also new function
8057 silc_server_remove_clients_channels to actually do it.
8058 Affected file silcd/server.c.
8060 * Fixed the silc_server_new_channel to not crash by giving
8061 wrong router to the new channel. Affected file is
8062 silcd/packet_receive.c.
8064 Wed Jul 11 18:31:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8066 * Added SilcClientParams structure to the lib/silcclient/silcapi.h
8067 which is given as argument to the silc_client_alloc now.
8068 It can be used to configure the client and set various parameters
8069 that affect the function of the client.
8071 * The USERS command in server did not check whether the channel
8072 is private or secret. Affected file silcd/command.c.
8074 * Added new argument to the USERS command in protocol specification.
8075 The USERS command now can take the channel name as argument
8076 as well. Added support for this in client and server and
8077 updated the protocol specs.
8079 * Completed the GETKEY command in client. It can be now used
8080 to fetch also servers public key not only some clients.
8081 Affected files lib/silcclient/command[_reply].c.
8083 * Added silc_client_get_server to return server entry by the
8084 server name. Affected files lib/silcclient/silcapi.h and
8087 * Redefined the IDENTIFY command in protocol specification to be
8088 more generic. It now can be used to query information about
8089 any entity in the SILC Network, including clients, servers and
8090 channels. The query may be based either the entity's name
8091 or the ID. Added support for this in both client and server.
8093 Affected files silcd/command.c and lib/silcclient/command.c
8094 and command_reply.c.
8096 * Optimized the WHOIS and WHOWAS commands in the server. Removed
8097 the _from_client and _from_server functions. Affected file
8100 * Added silc_client_get_channel_by_id_resolve to the file
8101 lib/silcclient/silcapi.h to resolve channel information by
8102 its ID. Added also silc_client_get_channel_by_id that
8103 does not resolve it from the server.
8105 Tue Jul 10 18:05:38 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8107 * Added SilcServerEntry context into the client library
8108 to represent one server. The INFO command now allocates
8109 these to save the resolved server info. For now on the
8110 client library will also keep information about servers,
8111 connected and resolved with INFO.
8113 The INFO command now allocates the SilcServerEntry context
8114 and saves the server info there. The COMMAND_REPLY in
8115 the INFO now returns the parameters to application in
8116 same order as defined in the protocol specification.
8118 The entries are cached in the client->server_cache.
8120 * The INFO command is now issued after received the Client ID
8121 from the server. Affected file lib/silcclient/client.c.
8123 * The CMODE_CHANGE notify may now return also an SilcServerEntry
8124 to the application as the mode changer might be server.
8125 It is guaranteed that NULL is not returned anymore to the
8126 application. Affected file lib/silcclient/client_notify.c.
8128 The ID Type is now also passed to the application so that
8129 it can check whether the returned entry is SilcClientEntry
8132 Added new function silc_client_get_server_by_id to return
8133 the server entry by ID. Affected files are the
8134 lib/silcclient/silcapi.h and lib/silcclient/idlist.c.
8136 * Do not create the channel in the Irssi SILC Client when issuing
8137 the JOIN command but when received the sucessful JOIN command
8138 reply. Otherwise the channel might get created even though we
8139 could not join it. The Affected file is
8140 irssi/src/silc/core/[silc-channels.c/client_ops.c].
8142 * Fixed a channel joining bug in router. The router must also
8143 check the channel modes, invite and ban lists etc. when serving
8144 the JOIN command sent by normal server. Affected file is
8145 silcd/command.c. The router now resolves the client's
8146 information from the server who sent the JOIN command if it
8147 does not know it, and processes the JOIN command only after
8150 * Changed the SilcCommandCb to take new argument; void *context2.
8151 Affected file lib/silccore/silccommand.h
8153 The second argument in the command callbacks in the server now
8154 includes the SilcServerCommandReplyContext if the command was
8155 called as pending command callback from the command reply.
8156 Otherwise it is NULL. When called as pending the status of the
8157 command reply will be checked and if it was erronous the
8158 error will be sent to the original sender of the command.
8159 This way the client always receives the error messages even
8160 though the server was actually the one who received the error
8161 when it resent the command to router, for example. Affected
8162 files silcd/command[_reply].[ch].
8164 * Fixed sending WHOWAS command's error message to client if
8165 the requested client could not be found. It was missing.
8168 * Changed the CMODE and CUMODE commands reply arguments in the
8169 protocol specification. The Channel ID is now sent in both
8170 of the commands to identify the channel. Implemented this
8171 new feature to the client and server. Affected files
8172 lib/silcclient/command_reply.c and silcd/command.c.
8174 * Made better checks for invite and ban lists in the JOIN
8175 command in server. Affected file silcd/command.c.
8177 Mon Jul 9 18:28:34 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8179 * The server now performs the incoming host IP/DNS lookup
8180 using the silc_socket_host_lookup and thus does not block
8181 the server anymore. Affected file silcd/server.c.
8183 * Completed the multi-thread support for SILC Scheduler in
8184 the lib/silcutil/silcschedule.c.
8186 * Fixed the configure.in.pre to detect the pthread correctly
8189 * Fixed a deadlock in silc_task_queue_wakeup in the file
8190 lib/silcutil/silctask.c.
8192 Mon Jul 9 13:40:03 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8194 * Added new function silc_schedule_wakeup that is used in
8195 multi-threaded environment to wakeup the main thread's
8196 schduler. It needs to be used when a thread adds a new task
8197 or removes a task from task queues. After waking up, the
8198 scheduler will detect the task queue changes. If threads
8199 support is not compiled in this function has no effect.
8200 Implemented the wakeup mechanism to both Unix and WIN32
8201 systems. Affected files are lib/silcutil/silcschedule.[ch],
8202 lib/silcutil/unix/silcunixschedule.c and the
8203 lib/silcutil/win32/silcwin32schedule.c.
8205 * Added new function silc_task_queue_wakeup to wakeup the
8206 scheduler by the specified task queue. Affected file
8207 lib/silcutil/silctask.[ch].
8209 * The silc_socket_host_lookup_start now wakes up the scheduler
8210 after adding the timeout task. Affected file is
8211 lib/silcutil/silcsockconn.c.
8213 * The silc_socket_host_lookup is synchronous now if the threads
8214 support is not compiled in. However, the callback is still
8215 called asyncronously through the scheduler, anyway. Affected
8216 file lib/silcutil/silcsockconn.c.
8218 Mon Jul 9 00:24:45 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8220 * Added new function silc_socket_host_lookup to perform
8221 asynchronous IP and FQDN lookups for the socket connection.
8222 Affected files lib/silcutil/silcsockconn.[ch].
8224 Sun Jul 8 18:44:53 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8226 * Added SILC_MUTEX_DEFINE to define the mutex on environments
8227 that may or may not compile the mutex support in.
8229 Changed the silc_mutex_alloc interface. It allocates the
8230 mutex now to the sent pointer and returns TRUE or FALSE.
8232 Affected file lib/silcutil/silcmutex.h.
8234 * Wrote the SILC Task Queue interface to support multi-threads.
8235 Affected file lib/silcutil/silctask.[ch].
8237 * Wrote the SILC Scheduler to support multi-threads. Affected
8238 file lib/silcutil/silcschedule.c.
8240 Sun Jul 8 11:16:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8242 * Implemented the SILC Mutex API and SILC Thread API for WIN32
8243 in lib/silcutil/win32/.
8245 Sun Jul 8 00:18:15 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8247 * Defined SILC Mutex API and SILC Thread API and implemented
8248 them for Unix. Affected files are
8249 lib/silcutil/silcmutex.h, lib/silcutil/silcthread.h,
8250 lib/silcutil/unix/silcunixmutex.c and
8251 lib/silcutil/unix/silcunixthread.c.
8253 Sat Jul 7 14:40:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8255 * Fixed the silc_server_remove_clients_by_server's channel
8256 key re-generation. The hash table handling was incorrect
8257 and would not work with many channels. Affected file is
8260 * Fixed some memory leaks around the server code.
8262 * Rewrote the silc_server_get_users_on_channel to support IPv6
8263 based Client ID's. Affected file silcd/server.c.
8265 * Defined the SILC_MESSAGE_FLAG_SIGNED to the protocol
8266 specification. However, a separate document must be written
8267 to define the detailed signing procedure and the payload
8268 associated with the flag. Defined the flag to the
8269 lib/silccore/silcchannel.h as well.
8271 Fri Jul 6 18:26:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8273 * Changed the dynamic tables to static size tables in the
8274 lib/silccrypt/silchmac.c.
8276 * Removed GCC dependencies from the code. A patch by cras.
8278 Fri Jul 6 09:39:35 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8280 * Do not show the error "Error receiving packet bla bla"
8281 in server if it really was not an error (-2 means that reading
8282 is pending). Affected file silcd/server.c.
8284 Thu Jul 5 21:22:32 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8286 * Fixed a possible crash in silc_server_remove_clients_by_server
8287 in silcd/server.c. Fixed there also some memory leaks.
8289 * Fixed the silc_idlist_replace_client_id. It could replace
8290 wrong key in the hash table. Affected file silcd/idlist.c.
8292 * Do not check whether there are global users on the channel
8293 if the channel->global_users is FALSE. Affected functions
8294 silc_server_remove_from_one_channel and
8295 silc_server_remove_from_channels in silcd/server.c. Also,
8296 do not check if the removed client is local as we can be
8297 sure that global client was not removed from the channel
8298 and checking for global users is not needed.
8300 * The silc_server_remove_clients_by_server now re-generates
8301 the channel keys correctly for those channels that had
8302 clients removed from them. Affected file silcd/server.c.
8304 Tue Jul 3 11:39:20 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8306 * Found the reason of random crashes in the server. We weren't
8307 ignoring the SIGPIPE signal (which can be sent in write())
8308 and it crashed the server. Affected file silcd/silcd.c.
8310 Fri Jun 29 20:05:25 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8312 * Assure that sock->user_data is not NULL in the function
8313 silc_server_packet_send in silcd/packet_send.c.
8315 * Disconnect the remote connection if it could not be added
8316 to any ID lists in the server. The affected file is
8319 * Check in silc_server_packet_send[_real/dest] that the
8320 socket is not disconnecting and ignore the data if it is.
8321 Affected file silcd/packet_send.c.
8323 * Define inline to __inline on native WIN32 compilation.
8324 Affected file includes/silcwin32.h.
8326 * Added some explicit type casts for inline code since MSVC
8327 require them. Affected files lib/silcutil/silcbuffer.h,
8328 lib/trq/silcdlist.h and lib/trq/silclist.h.
8330 * Print warning in log files from now on if the packet
8331 decryption fails. Affected file silcd/server.c.
8333 Thu Jun 28 21:30:39 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8335 * Changed the `say' client operation's interface to accept
8336 new `type' argument to indicate the type of the message sent
8337 by the library. The application may filter the library's
8338 messages according the type. The affected file is the
8339 lib/silcclient/silcapi.h.
8341 * Added two new functions to lib/silcclient/silcapi.h:
8342 silc_client_del_client and silc_client_del_client_by_id.
8343 Affected file lib/silcclient/idlist.c.
8345 * Moved the clientincludes.h from includes/ to silc/ and
8346 serverincludes.h from includes/ to silcd/.
8348 * The modes for the CMODE and CUMODE are now passed as
8349 uint32 for application with COMMAND_REPLY. The affected
8350 file is lib/silcclient/command_reply.c.
8352 Wed Jun 27 22:24:47 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8354 * /WHOIS without arguments shows client's own information.
8355 Affected file lib/silcclient/command.c.
8357 * Changed PING to not accept any arguments. The specs
8358 says that client can ping only the connected server so
8359 requiring an argument is not needed. Affected file is
8360 lib/silcclient/command.c.
8362 Wed Jun 27 00:10:33 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8364 * Fixed a fatal bug in private message sending and reception
8365 encryption and decryption when using private message keys.
8366 The implementation was incorrect and did not follow the
8367 specification. It causd that some of the message were
8368 lost since it did not use the sending and receiving keys
8369 as the protocol suggests. This has been fixed and will cause
8370 incompatibilities with older clients when sending private
8371 message encrypted with private message keys. Affected files
8372 lib/silcclient/client_prvmsg.c, lib/silcclient/client_keyagr.c
8373 and various other in Irssi SILC Client.
8375 Added `responder' boolean argument to the functions
8376 silc_client_add_private_message_key[_ske] to indicate when
8377 the key is added as responder or initiator of the key
8380 Tue Jun 26 19:23:07 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8382 * Removed the silc_ske_check_version function and created
8383 a SilcSKECheckVersion callback. Added also a function
8384 silc_ske_set_callbacks that is now used to set all SKE
8385 callbacks. The callback functions are not given to
8386 the SKE functions anymore, but this function is used to
8389 * Fixed the WIN32 DLL generation in lib/Makefile.am.pre.
8391 * Added `silc_version' argument to the silc_client_alloc
8392 to define the version of the application for the library.
8393 The library will use the version string to compare it
8394 against the remote host's (usually a server) version
8395 string. Affected file lib/silcclient/silcapi.h
8397 * Added the KE protocol context to Key Agreement context
8398 in client library so that we can abort the SKE if it
8399 is in process when we get timeout. Affected file is
8400 lib/silcclient/client_keyagr.c.
8402 * Do not resolve the client ID forever if it returns in the
8403 first time that such client does not exist. This was done
8404 for example with private message. Affected file is
8405 lib/silcclient/client_prvmsg.c.
8407 Mon Jun 25 21:42:51 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8409 * Do not add regex.h for WIN32. The affected file
8410 includes/silcincludes.h.
8412 * Added WIN32 DLL generation to lib/Makefile.am.pre. It might
8413 not work yet 100%. It generates the DLL's automatically
8414 when compiling with --with-win32 under cygwin.
8416 Sun Jun 24 19:49:23 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8418 * lib/contrib/regex.c is not compiled on WIN32.
8420 * Added silc_net_get_socket_opt function to the
8421 lib/silcutil/silcnet.h.
8423 * Added includes/silcwin32.h for WIN32 specific includes
8426 * Do not use ptime structure or any of the posix process
8427 functions on WIN32 in lib/silccrypt/silrng.c.
8429 * Added silc_gettimeofday to provide generic function
8430 for struct timeval on all platforms. Added the function
8431 to lib/silcutil/silcutil.h.
8433 Sun Jun 24 12:19:52 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8435 * Moved the lib/silccore/silcsockconn.[ch] to the utility
8436 library as they clearly belong there. As a plus side we
8437 can make the actual socket connection routines platform
8440 Added also new generic function silc_socket_read and
8441 silc_socket_write (that used to be silc_packet_[read/write].
8442 The implementation of these are platform specific.
8444 * Added WIN32 specific routines of silc_socket_[read/write]
8445 to lib/silcutil/win32/silcwin32sockconn.c.
8447 Sat Jun 23 16:01:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8449 * Added preliminary support for native WIN32 compilation under
8450 cygwin (using the -mno-cygwin option for GCC) to the
8451 ./configure.in.pre. The --with-win32 now prepares the
8452 compilation for native WIN32.
8454 * Rewrote the SILC Scheduler interface in the file
8455 lib/silcutil/silcschedule.h. The scheduler is now context
8456 based and does not have anymore any global static scheduler.
8457 Moved the Unix scheduler to the lib/silcutil/unix/ directory
8458 and created lib/silcutil/win32 directory for WIN32 based
8461 * Added Unix specific network routines to the
8462 lib/silcutil/unix/silcunixnet.c and the old
8463 lib/silcutil/silcnet.c includes now only generic routines.
8465 Added WIN32 specific network routines to the
8466 lib/silcutil/win32/silcwin32net.c.
8468 * Added Unix specific utility functions from the
8469 lib/silcutil/silcutil.c to lib/silcutil/unix/silcunixutil.c.
8471 * Added WIN32 SILC Scheduler to the file
8472 lib/silcutil/win32/silcwin32schedule.c. The code is of course
8475 Fri Jun 22 10:44:14 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8477 * Do not handle JOIN notify in the server if the target client
8478 is not registered (idata->registered == FALSE). The affected
8479 file is silcd/packet_receive.c.
8481 * Update the nickrec->founder in event_cumode in the Irssi SILC
8482 client. Affected file irssi/src/silc/core/silc-channels.c.
8484 * Fixed the CUMODE_CHANGE notify handling in the server when
8485 server and router are announcing their clients on channels.
8486 Now the mode changes are saved and notified correctly. The
8487 affected file is /silcd/packet_receive.c.
8489 * Fixed silc_idlit_replace_[server/client/channel]_id functions.
8490 They really did not replace the cache entry in the ID Cache.
8491 Now they do that. Affected file silcd/idlist.c.
8493 * Fixed the KICK notify handling in the Irssi SILC client to
8494 update the channel records so that the kicked client does not
8495 appear to be on the channel. The affected file is
8496 irssi/src/silc/core/silc-channels.c.
8498 * Always update the conn->current_channel when executing command
8499 on a channel. Affected file irssi/src/silc/core/silc-servers.c.
8501 * Fixed the KILL notify handling in Irssi SILC client to remove
8502 the killed client on all channels.
8504 Thu Jun 21 17:10:08 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8506 * Fixed the silc_parse_command_line to remove extra spaces
8507 from the start and end of the arguments. Affected file is
8508 lib/silcutil/silcutil.c.
8510 * Cancel and free any active protocol in the function
8511 silc_server_close_connection. Affected file silcd/server.c.
8513 * Cancel and free any active protocol in the function
8514 silc_client_close_connction. Affected file is
8515 lib/silcclient/client.c.
8517 * Do not execute the KILL command for clients that are in
8518 history (ie. they are not in the network). Affected file is
8521 * Fixed KILL notify handling, client does not crash anymore.
8522 Affected file irssi/src/silc/core/silc-channels.c.
8524 * Reduced the default packet buffer size from 2048 to 1024 in
8525 lib/silccore/silcpacket.c.
8527 * Added SILC_SKE_STATUS_FREED SKE status type and a reference
8528 counter to the SKE context that is incresed when the SKE library
8529 performs async operation outside the library. If the outside
8530 process frees the SKE context and FREED status will be set
8531 and the library will detect after the sync operation that the
8532 libary is freed. The affected files are
8533 lib/silcske/silcske[_status].[ch].
8535 * Resolve the client entry information in the function
8536 silc_client_channel_message to assure that NULL pointer is not
8537 passed as client entry to the application. */
8539 * Fixed the task timeout calculation to assure that there is
8540 never negative timeouts. The affected file is
8541 lib/silcutil/silcschedule.c.
8543 * Fixed the channel user mode notification sending in server.
8544 It was sent point-to-point to the router (or to server by router)
8545 but it needs to be destined to a channel. The routines now
8546 supports sending the channel user mode notifys to the channels
8547 when announcing clients and channels. Affected files are
8548 silcd/server.c and silcd/packet_receive.c.
8550 * Fixed the CHANNEL_CHANGE notify handling in the client libary.
8551 It did not actually replace the old channel entry in the cache.
8552 Affected file lib/silcclient/client_notify.c.
8554 Tue Jun 19 22:10:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8556 * Fixed a possible crash in silc_packet_send_prepare. It now
8557 assures always that there is enough space in the buffer and
8558 at the tail area of the buffer (for MAC).
8560 Fixed the inbound buffer reallocation in silc_packet_read.
8561 It was old code and did not handle the reallocation correctly.
8564 The affected file is lib/silccore/silcpacket.c.
8566 * Fixed buffer overflow in silc_parse_nickname in the file
8567 lib/silcutil/silcutil.c.
8569 Tue Jun 19 13:40:09 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8571 * make install generates new server keys only if there is not
8574 Mon Jun 18 18:49:07 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8576 * Set SILC_MESSAGE_FLAG_NOREPLY when sending the away message.
8577 Added check that if the NOREPLY is set then we will not send
8578 the away message. This avoids infinite loop of away messages
8579 if both clients are away. The affected file is
8580 lib/silcclient/client_prvmsg.c.
8582 * Fixed client crash if /NICK was given without arguments.
8583 Affected file lib/silcclient/command.c.
8585 * Server does not send the invite list in INVITE command back
8586 to the client if the list was not altered. Added this notion
8587 to the protocol spec as well. Affected file silcd/command.c.
8589 Fixed possible crash in INVITE command by checking the
8590 value of silc_server_get_client_route command.
8592 * Fixed the INVITE notify type handling. The arguments are now
8593 taken in correct order and client does not crash. The affected
8594 file is irssi/src/silc/core/silc-channels.c.
8596 Removed the "Inviting xxx to channel" message from the
8597 client library away and let the application handle it.
8598 Affected file lib/silcclient/command.c. Added that message
8599 to Irssi SILC client's message formats.
8601 * Fixed CMODE command crash in client. It now checks the
8602 amount of arguments correctly and does not crash. The affected
8603 file is lib/silcclient/command.c.
8605 * Do not create new channel automatically in silc_channels_join
8606 but check whether the channel by that name already exists.
8607 Affected file irssi/silc/core/silc-channels.c.
8609 * Do not send the SERVER_SIGNOFF to router if the disconnected
8610 entity was the router. Affected file silcd/server.c.
8612 * Added the handling of the SERVER_SIGNOFF notify to the Irssi
8613 SILC client as it was missing from there.
8615 Added the handling of the KICK notify to the Irssi SILC client
8616 as it was missing. Added "you have been kicked" message to
8617 Irssi SILC client's message modules formats.
8619 Added the handing of the KILL notify to the Irssi SILC client
8620 as it was missing. Added the kill message module formats
8623 The affected file is irssi/src/silc/core/silc-channels.c.
8625 * The router did not save the channel mode the server announced.
8626 Affected file silcd/packet_receive.c.
8628 * Fixed a possible crash in INFO command in server. If the
8629 server did not provide the server info it crashed. Affected
8630 file silcd/command.c.
8632 Sun Jun 17 15:26:05 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8634 * Fixed the GETKEY command in the server to check also the
8635 global list. Otherwise the GETKEY would not work correctly
8636 in normal SILC server. Affected file silcd/command.c.
8638 Sat Jun 16 18:00:00 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8640 * Fixed GETKEY crash, it crashed if the command did not succseed.
8642 Tue Jun 12 21:36:18 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8644 * Redefined the SILC MP API in lib/silcmath/silcmp.h. The API
8645 is now real and not just an macro interface to GMP.
8647 Removed the entire GMP from the source tree and imported new
8648 NSS MPI library instead. Reason for removing GMP is that it is
8649 extremely large and compiles extremely slow. The NSS MPI
8650 is only a few files and compiles in less than 10 seconds.
8651 The speed is also about the same as GMP. The MPI is imported
8652 to lib/silcmath/mpi.
8654 If the system has GMP installed we will still use the GMP.
8655 If it is not then the NSS MPI will be compiled.
8657 Mon Jun 11 18:07:24 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8659 * Merged a long nickname (127 characters long) crash bugfix from
8660 Irssi CVS tree. Affected file irssi/src/core/misc.c.
8662 * Merged a freed memory reference bugfix from Irssi CVS tree.
8663 Affected file irssi/src/core/commands.c.
8665 Sun Jun 10 16:08:35 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8667 * Added the server's public key sving and verification to the
8668 server when performing the SKE. This was missing and the
8669 remote server's (or router's) public key was accepted without
8670 checking whether we have it previously or trust it at all.
8671 Affected file silcd/protocol.c.
8673 Sat Jun 9 20:17:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8675 * Check in the silc_server_timeout_remote if protocol is active
8676 and make sure that the protocol's final callback is called so
8677 that all memory if freed. Affected file silcd/server.c.
8679 Sat Jun 9 12:51:27 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8681 * silc_server_whois_send_reply crashed the server if the nickname
8682 was 127 characters long. Affected file silcd/command.c.
8684 Thu Jun 7 16:29:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8686 * Added sanity check to the silc_server_new_client. If the hostname
8687 is provided inside username then check that the provided hostname
8688 really is the same as the resolved one. If the hostname was not
8689 resolved then check it from the public key. Affected file is
8690 silcd/packet_receive.c.
8692 * Fixed a fatal bug in Irssi SILC client. Do not send QUIT command
8693 if the server disconnected us and the connection is not valid
8694 anymore. Affected file irssi/src/silc/core/silc-channels.c.
8696 * Moved the silc_client_[chmode|chumode|chumode_char] away from
8697 the library to the lib/silcutil/silcutil.[ch].
8699 Thu Jun 7 08:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8701 * Close log file after open. Affected file
8702 lib/silcutil/silclog.c.
8704 * Check whether sock == NULL in silc_client_send_packet and return
8705 if it is. Affected file lib/silcclient/silcclient.c.
8707 * Check rec->entry == NULL in the Irssi SILC Client before
8708 sending the channel message. Affecte file is
8709 irssi/src/silc/core/silc-servers.c.
8711 Tue Jun 5 08:08:21 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8713 * Merged a splitted window bugfix from Irssi CVS tree. The
8714 affected file is irssi/src/fe-text/textbuffer-view.c.
8716 * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
8717 It did not print nickname.
8719 * Improved the distributions system a bit.
8721 Mon Jun 4 17:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8723 * Merged /WINDOW bugfix from irssi CVS tree. Affected file is
8724 irssi/src/fe-text/gui-window.c.
8726 * Fixed a fatal bug in Irssi SILC client. Crashed if sent message
8727 to in-active server. The affected file is
8728 irssi/src/silc/core/client_ops.c.
8730 * Resolve the client in USERS command reply if the entry does
8731 not have username resolved. The affected file is
8732 lib/silcclient/command_reply.c. Also, changed the IDENTIFY
8733 command to WHOIS command to really resolve stuff. The USERS
8734 is not used any more in any critical section so WHOIS can
8735 be used even though it might be slower than IDENTIFY.
8737 * Changed the lib/silcutil/silchashtable.h header to ROBODoc
8740 Sun Jun 3 14:21:32 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8742 * Changed the protocol API a bit more consistent in the
8743 lib/silccore/silcprotocol.[ch].
8745 * Changed the following headers to ROBODoc format:
8747 lib/silccore/silcpayload.h
8748 lib/silccore/silcprotocol.h
8749 lib/silccore/silcsockconn.h
8751 All core library headers are now formatted.
8753 Sat Jun 2 10:45:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8755 * Fixed a bug in Irssi SILC client; do not show that you are
8756 server/router operator if you really are not. Affected file is
8757 irssi/src/silc/core/client_ops.c.
8759 * Renamed silc_command_free_payload to silc_command_payload_free.
8760 Affected file lib/silccore/silccommand.h
8762 * Added silcmath.h to include the prototoypes of various routines
8763 in the lib/silcmath. Removed the old modinv.h, mpbin.h and
8766 * Changed the following headers to ROBODoc format:
8768 lib/silccore/silcchannel.h
8769 lib/silccore/silccommand.h
8770 lib/silccore/silcid.h
8771 lib/silccore/silcidcache.h
8772 lib/silccore/silcmode.h
8773 lib/silccore/silcnotify.h
8774 lib/silccore/silcpacket.h
8775 lib/silcmath/silcmath.h
8777 Fri Jun 1 22:19:37 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8779 * Added checking to the server code not to start the server if
8780 ciphers and stuff are not configured properly. Affected files
8781 silcd/serverconfig.[h] and silcd/server.c.
8783 * Changed the layout of the header files of the public interfaces
8784 in the SILC libraries. The new layout supports ROBODoc
8785 documentation tool (and some others) so that it is easy to create
8786 a library reference manual. All the other headers and source
8787 code must still follow the CodingStyle document. Also source
8788 code must not include these ROBODoc stuffs, only the headers.
8789 Furthermore, all public interface headers must now be named
8790 by using `silc' prefix, example: silcapi.h, silccipher.h.
8791 Some files were renamed due to this. All the other headers
8792 must not be used as public interfaces. I will update the
8793 CodingStyle document later. Changed following headers, so far:
8795 lib/silcclient/silcapi.h
8796 lib/silccore/silcauth.h
8797 lib/silccore/silcprivate.h
8798 lib/silccrypt/silcdh.h
8800 Fri Jun 1 10:28:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8804 * Removed silc_client_packet_send_flush from the client library
8805 as it is not needed. Affected file lib/silcclient/client.[ch].
8807 * Added printing of message of unresolved authentication method
8808 to the Irssi SILC client. Added it to the module formats.
8809 Removed the same message from the client library.
8811 Thu May 31 13:57:33 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8813 * Added new distribution feature, DISTLABEL. Every distribution
8814 can define own preprocessor label that can be used in the
8815 source code. For example: #ifdef SILC_DIST_CLIENT. Affected
8816 file distributions, acconfig.h.pre and prepare.
8818 Tue May 29 22:16:40 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8820 * Added Makefile.defines_int to include the actual definitions
8821 for Makefile.defines.in. Tested the new distribution system,
8822 created distributions and tested installation.
8824 * Added AWAY message printing to the Irssi SILC client. Added
8825 the messages to the irssi/src/fe-common/silc/module-formats.[ch].
8827 * Added SCONNECT command to call the SILC's CONNECT command.
8828 Cannot use CONNECT directly since Irssi uses that internally.
8829 Affected file irssi/src/silc/core/silc-servers.c.
8831 Added ACTION local command. It is same as ME command but takes
8832 the channel as mandatory argument.
8834 Rewrote some of the Irssi's help files to suite for SILC
8837 Mon May 28 19:05:22 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8839 * Added Makefile.defines[.in] that should for now on be included
8840 in all Makefile.am file in the source tree. That file includes
8841 all common compilation definitions for SILC source tree.
8843 Mon May 28 10:30:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8845 * Minor changes to the ./prepare script to change the package
8846 name according the distribution name to the configure.in.
8848 Sun May 27 22:24:57 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8850 * Created new distribution system. Added file `distributions'
8851 that defines all the distributions that can be created out of
8852 the SILC source tree. The ./prepare script now reads that
8853 file to determine how to prepare the distributions. The
8854 first argument to the ./prepare is the name of the distribution
8855 and second is the version of the distribution. If given
8856 without arguments it creates the default (toolkit) distribution
8857 with the default version (defined in ./prepare).
8859 All Makefile.am files that are subject to the distributions
8860 are now named as Makefile.am.pre. These are ./Makefile.am
8861 and lib/Makefile.am. Others may be changed later.
8863 Sun May 27 15:57:17 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8865 * Added invite list, ban list, some key management and connection
8866 error message printing to module formats in the Irssi SILC client.
8868 * Added new silc_client_set_away_message to set the away message
8869 that is back to the person who sent private message. The
8870 affected file lib/silcclient/silcapi.h and the
8871 lib/silcclient/client_prvmsg.c.
8873 Sun May 27 12:39:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8875 * Fixed the private message sending in the Irssi SILC client,
8876 added local command KEY to the Irssi SILC client.
8878 Added key management and key agreement message formats to the
8879 irssi/src/fe-common/silc/module-formats.[ch].
8881 Added USERS (alias WHO) printing, server/router operator
8882 indication and LIST command printing to the module formats.
8884 Sat May 26 17:43:42 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8886 * Fixed channel joining notify handling, cumode notify handling
8887 from Irssi SILC client.
8889 * Added SILC specific module-formats to the Irssi SILC client so
8890 that SILC specific message hilighting, colors etc is possible.
8891 Affected file irssi/src/fe-common/silc/module-formats.[ch].
8893 Added channel mode, channel user mode, actions, notices,
8894 whois and whowas printing to the the module-formats.c.
8896 * Fixed a bug in channel deletion in the server. The channel
8897 is not left to the cache even if the channel founder auth mode
8898 is set when there are no users anymore on the channel. Affected
8899 file silcd/server.c.
8901 * The silc_net_localhost now resolves the entire hostname including
8902 the domain name. Affected file lib/silcutil/silcnet.c.
8904 Sat May 26 12:13:37 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8906 * Changed the ask_passphrase client operation to be ascynchronous.
8907 It has now a completion callback and a context that the
8908 application must call after it has got the passphrase from
8909 the user. Affected files lib/silcclient/silcapi.h,
8910 lib/silcclient/protocol.c, lib/silcclient/command.c and
8913 Added SilcAskPassphrase callback that the application calls
8914 to deliver the passphrase to the library.
8916 * Changed the SKE protocol's SilcSKEVerifyCb to be asynchronous.
8917 The public key verification and especially a certificate
8918 verification is asynchronous procedure.
8920 Added new SILC_SKE_STATUS_PENDING status to indicate the
8921 request is pending and a callback will be called to finalize
8924 Added also SILC_SKE_STATUS_PUBLIC_KEY_NOT_PROVIDED status to
8925 indicate that remote end did not send its public key (or
8926 certificate), even though we require it. Added check for this
8927 condition in the SKE. This was a security bug, now fixed.
8929 Defined new SilcSKEVerifyCbCompletion callback that is called
8930 when the verification process is completed.
8932 The affected files lib/silcske/silcske_status.h and
8933 lib/silcske/silcske.[ch].
8935 * Changed the verify_public_key client operation to be async
8936 as well. Defined SilcVerifyPublicKey callback that is used to
8937 indicate the success of the public key verification process.
8939 Changed the server and client to use the new async client
8942 * Changed the Irssi SILC client's internal scheduler to be called
8943 twice as many times as it used to be. As a result the client
8944 should be a bit faster now. Affected file is
8945 irssi/src/silc/core/silc-core.c.
8947 * Added support to Irssi SILC client of asynchronous public key
8948 verification and passphrase inquiry. Affected file is
8949 irssi/src/silc/core/silc-core.c.
8951 Fri May 25 14:38:38 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8953 * Do not say "You have left channel %s" in client library.
8954 Moved it to the application. Affected files are
8955 lib/silcclient/command.c and silc/client_ops.c.
8957 * Fixed silc_client_get_clients. Command context was not
8958 duplicated and was freed memory in the callback. Affected
8959 file lib/silcclient/idlist.c.
8961 * Do not say "you are now talking..." on JOIN command in the
8962 client library. The appliation must handle it.
8964 * Do not say ".. changed topic to" in command reply in the
8965 client libary. The application must handle it.
8967 * Fixed TOPIC command sending in the client library.
8969 * Fixed a memory leak in silc_client_command_free in the file
8970 lib/silcclient/command.c.
8972 Thu May 24 19:08:55 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8974 * Imported a modified version of Irssi client to the source tree.
8975 The Irssi will be used to create a new client called
8976 Irssi SILC. Imported to irssi/.
8978 Added silc_core_init_finish function to the Irssi. Affected
8979 file irssi/configure.in.
8981 A lot changes in the Makefile.ams around the irssi tree.
8983 Tue May 22 22:23:49 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8985 * Do not rehash if the new size is same as the old size of the
8986 hash table, in the silc_hash_table_rehash*. The affected file
8987 lib/silcutil/silchashtable.c.
8989 * Replaced hash_table_del_by_context calls from the server
8990 (when channel->user_list and client->channels) to the
8991 hash_table_del as it is sufficient and faster.
8993 Tue May 22 17:27:16 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8995 * Added silc_hash_table_list, silc_hash_table_get and the
8996 SilcHashTableList structure to provide an alternative way to
8997 traverse the hash table. The affected files are
8998 lib/silcutil/silchashtable.[ch].
9000 * Changed the server's idlist routines to use the hash table
9001 routines to optimize the code.
9003 Mon May 21 21:46:20 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9005 * Replaced the client entry's `channel' list and channel entry's
9006 `user_list' list to hash tables for optimized lookup. Changed
9007 the code to use the hash table interface around the code.
9008 Affected file lib/silcd/idlist.[ch].
9010 * Added `auto_rehash' boolean argument to the function
9011 silc_hash_table_alloc to indicate whether the hash table should
9012 auto-rehash when it thinks is appropriate time. It will
9013 increase the hash table size if the there is twice as much
9014 entries in the table than the size of the table, and will
9015 decrease the size if there are twice as less entries than
9016 the size of the table.
9018 Mon May 21 09:51:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9020 * Fixed silc_xxx_get_supported to not crash at some circumstances.
9022 Sun May 20 13:45:58 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9024 * silc_idcache_purge_by_context deletes the entry now by context
9025 as it is supposed to do. Affected file lib/silccore/idcache.c.
9027 * Send the ERR_NO_SUCH_NICK in the WHOIS command reply if the
9028 client is not anymore valid (WHOWAS givens the info) and not
9029 the ERR_NO_SUCH_CLIENT_ID if the nickname still exists.
9031 Sat May 19 16:30:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9033 * Removed the `data' and `data_len' arguments from the ID Cache
9034 interfaces and added `name' argument. ID Cache does not handle
9035 anymore the binary data only a names associated with given ID.
9037 * When hashing a Client ID with silc_hash_id the entire ID is
9038 not hashed anymore, instead only the hash of the Client ID is
9039 hashed. This way we can access the Client ID from the cache
9040 with Client ID but with the hash of the ID (which is a hash of
9041 the nickname) as well without any difference in performance.
9043 Added also silc_idcache_find_by_id_one_ext to do one on one
9044 searching when we have the actual ID. Added also function
9045 silc_hash_client_id_compare. The affected files are
9046 lib/silccore/idcache.[ch] and lib/silcutil/silcutil.[ch].
9048 * When hashing the name associated with a ID it is always done
9049 in lowercase. This way we can access the cache without worrying
9050 about case-sensitivity, even though, for example nicknames are
9053 * Fixed a bug in server with channel message sending. It put
9054 wrong ID type as destination ID. The affected file
9055 silcd/packet_send.c.
9057 * silc_idcache_del_by_context now deletes from all hash tables
9058 by context. Affected file lib/silccore/idcache.c.
9060 Fri May 18 17:42:00 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9062 * Changed the client library to use the new ID Cache interface.
9063 Changes around the source tree.
9065 * Added silc_hash_table_rehash_ext to rehash with specific
9066 hash function. Affected file lib/silcutil/silchashtable.[ch].
9068 * Added silc_hash_string_compare to compare two strings in the
9069 hash table. Affected file lib/silcutil/silcutil.[ch].
9071 Fri May 18 11:18:45 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9073 * Added new function silc_idcache_del_by_context into the
9074 lib/silccore/idcache.[ch].
9076 * Changed the server's ID list routines to use the new ID Cache
9077 interface. Changes around the source tree.
9079 Fri May 18 08:35:31 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9081 * Added silc_hash_table_del[_by_context]_ext functions in to the
9082 lib/silcutil/silchashtable.[ch].
9084 Removed silc_hash_table_find_all* routines and added new
9085 silc_hash_table_find_foreach to replace them.
9087 Added silc_hash_table_replace_ext function as extended
9088 replacing function. Separated the simple hash table interface
9089 from the extended hash table interface in the file
9090 lib/silcutil/silchashtable.h.
9092 * Fixed minor bugs and changed it to use some of the new
9093 hash table functions in lib/silccore/idcache.c
9095 Thu May 17 18:15:12 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9097 * Added new function silc_hash_table_find_all to return all keys
9098 in the hash table by the specified key. As the hash table is
9099 collision resistant it also makes it possible to have several
9100 duplicate keys in the hash table. This function may be used to
9101 find all of the keys from the hash.
9103 Added user_context arguments to the SilcHashFunction,
9104 SilcHashCompare and SilcHashDestructor to deliver user specified
9107 Added new fuctions silc_hash_table_find[_all]_ext to do
9108 extended lookup with specified hash and compare functions and
9109 specified user contexts.
9111 Added new function silc_hash_table_add_ext to add the key
9112 with specified hash function and user context.
9114 Added new function silc_hash_table_foreach to traverse all
9115 entrys in the hash table. Added SilcHashForeach callback
9118 Added new function silc_hash_table_del_by_context to delete
9119 the entry only if the context associated with the key matches.
9121 Affected files are lib/silcutil/silchashtable.[ch].
9123 * Removed silc_hash_[server/client/channel]_id and added just
9124 silc_hash_id to the lib/silcutil/silcutil.[ch]. Added also
9125 silc_hash_id_compare to compare two ID's using as the hash table
9126 comparison function. Added also silc_hash_data to hash
9127 binary data and silc_hash_data_compare to compare it.
9129 * Removed silc_idlist_find_client_by_hash as it is not needed
9130 anymore. Affected file silcd/idlist.[ch].
9132 * Rewrote the entire ID Cache system (in lib/silccore/idcache.[ch])
9133 to use internally the SilcHashTable. The new ID Cache is a lot
9134 faster than the old one. Some of the ID Cache interface was also
9135 rewritten and obsolete and stupid functions were removed.
9137 Wed May 16 23:03:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9139 * Added entry_count field to the SilcHashTable to keep the number
9140 of the entries in the table. Implemented the function
9141 silc_hash_table_rehash. Added new function
9142 silc_hash_table_count. Affected file lib/silcutil/silchashtable.c.
9144 Fixed a minor bug in silc_hash_table_free.
9146 * Added silc_hash_string, silc_hash_uint, silc_hash_ptr,
9147 silc_hash_client_id, silc_hash_server_id and silc_hash_channel_id
9148 into the lib/silcutil/silcutil.[ch].
9150 Wed May 16 20:02:47 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9152 * Implemented a collision resistant hash table into the
9153 lib/silcutil/silchashtable[ch]. See the header and the source
9154 for the SilcHashTable API.
9156 Tue May 15 22:05:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9158 * Merged dotconf version 1.0.2 into lib/dotconf.
9160 Sun May 13 19:32:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9162 * Do not compile anything in lib/silcsim/* if the SIM support
9163 is not enabled. The tree should now compile without problems
9166 Thu May 10 22:49:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9168 * Compiled the SILC under cygwin. Compiled and tested briefly
9169 without problems. More tests needed. The SIMs didn't compile
9172 * Added various #ifdef HAVE_* stuff to lib/silccrypt/silrng.c.
9174 * Fixed possible crash in silc_get_username in the
9175 lib/silcutil/silcutil.c.
9177 Tue May 8 09:04:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9179 * Fixed a va_arg in silc/client_ops.c.
9181 * Oops, RC5 routines were named AES and caused some problems
9182 when not using SIM's. Affected file lib/silccrypt/rc5.c.
9184 Sun May 6 13:59:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9186 * Added new SilcIDIP structure into the lib/silccore/id.h and
9187 replaced the old `ip' fields from all SILC ID's to that type.
9188 This is a step towards IPv6 support.
9190 The silc_id_get_len takes now the ID as an extra argument.
9191 The silc_id_id2str, silc_id_str2id and silc_id_dup now supports
9192 both IPv4 and IPv6 based ID's.
9194 The affected files are lib/silccore/id.[ch] and other files
9195 around the tree using these routines.
9197 * Removed the ID length arguments in server from various
9198 silc_server_send_notify_* routines -> they are not needed
9201 Sat May 5 13:56:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9203 * Fixed memory leak in silc_encode_pem_file in the file
9204 lib/silcutil/silcutil.c.
9206 Thu May 3 21:23:50 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9208 * Check minor version as well in the SKE. Affected files are
9209 silcd/protocol.c and lib/silcclient/protocol.c.
9211 * Added --identifier option to the server so that an identifier
9212 can be when creating the public key for the server. Affected
9213 file is silcd/silcd.c.
9215 * Fixed minor decoding bug in silc_pkcs_decode_identifier in
9216 lib/silccrypt/silcpkcs.c.
9218 Wed May 2 20:50:49 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9220 * Register default ciphers and stuff when using -C option with
9221 the server. Affected file sildc/silcd.c.
9223 * Put back the servers public key filename format, it is better
9224 than the new one. For now, the client keys are saved with the
9225 new filename format. The affected file silc/client_ops.c.
9227 * Implemented the Cipher API for the rest of the ciphers that
9228 did not implement it or implemented it the wrong way.
9230 Wed May 2 13:31:26 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9232 * Register default ciphers and stuff when using the -S option
9233 in the client. Affected file silc/silc.c. Same also when
9234 creating new key pair with -C option.
9236 Tue May 1 14:18:13 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9238 * Fixed the silc_verify_public_key client operation function to
9239 save the public keys differently. The fingerprint is now
9240 used as filename and not the hostname. This way also the
9241 client keys are saved uniquely and not with hostnames. The
9242 affected file is silc/client_ops.c.
9244 * Trimmed the silc_hash_fingerprint function to remove extra
9245 whitespaces from the end of the fingerprint. The affected
9246 file is lib/silccrypt/silchash.c.
9250 * Added silc_cipher_register_default function to register all
9251 default ciphers. It can be used when configuration files
9252 does not exist and the application does not want any specific
9253 ciphers in any specific order.
9255 The SilcDList is now used as silc_cipher_list dynamically
9256 allocated cipher list. Removed the static list all together
9257 and now all ciphers must be allocated to the dynamic list.
9258 The silc_cipher_alloc routine was changed to check only the
9261 All silc_cipher_* routines that used to return int returns
9264 The affected files lib/silccrypt/silccrypt.[ch].
9266 * The same thing was done to silc_hash_* as for silc_cipher_*
9267 routines. Affected files lib/silccrypt/silchash.[ch].
9269 * The same thing was done to silc_pkcs_* as for silc_cipher_*
9270 routines. Affected files lib/silccrypt/silcpkcs.[ch].
9271 Added also silc_pkcs_[un]register[_default] functions.
9272 Removed the data_context from the PKCS API.
9274 * Added silc_hmac_register_default function to register default
9275 hmacs. Affected files lib/silccrypt/silchmac.[ch]. Added also
9276 SILC_ALL_HMACS macro that can be used with silc_hmac_unregister
9277 to unregister all hmacs at once.
9279 * Register the default ciphers, hash functions, PKCSs and HMACs
9280 if client's configuration file does not exist. The affected
9283 * The client did not load the hash functions from the SIM
9284 modules at all. Added support for this. Affected file is
9285 silc/clientconfig.c.
9287 * When decoding public key with silc_pkcs_public_key_decode, check
9288 the supported algorithm only if PKCS are registered. Affected
9289 file lib/silccrypt/silcpkcs.c. The same was done with the
9290 silc_pkcs_private_key_decode.
9292 * Fixed the SILC List routines to keep the list always in order.
9293 It used to change the list's order when traversing the list but
9294 not it preserves the order. Affected file lib/trq/silclist.h.
9296 Mon Apr 30 17:29:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9298 * Added the client library to use the SilcSocketConnection's
9299 reference counter (by silc_socket_dup) to prevent the bug that
9300 the socket object may be freed underneath async operation.
9302 * The name resolv library checking fixes in the configure.in.pre.
9305 * Created new version of the protocol drafts for future
9306 development. The -03 drafts are the ones that will be changed
9307 in the trunk now and the -02 will remain as they are.
9309 * Send list of CUMODE notifys to the router when announcing
9310 the channel users to the router. Affected file silcd/server.c.
9311 If the router receiving channel founder CUMODE for a channel
9312 that already has channel founder it will send CUMODE notify
9313 to the sender to remove the channel founder rights from the
9314 announced client. Affected file silcd/packet_receive.c.
9316 * The CUMODE notify may now use Server ID as well as the entity
9317 who changes the mode. Updated protocool specs.
9319 * Updated INSTALL and README files.
9321 Sun Apr 29 23:17:50 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9323 * New web pages in the http://silc.pspt.fi. The pages was
9328 Sun Apr 29 13:33:41 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9330 * Implemented the [DenyConnectin] config section in the server.
9331 Added silc_server_config_denied_conn to check whether incoming
9332 connection is denied. Affected file silcd/serverconfig.[ch].
9334 * Do not check the ports when checking the incoming configuration
9335 data if the port is 0, meaning any. Affected file is
9336 silcd/serverconfig.c.
9338 Fri Apr 20 18:58:43 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9340 * Fixed buffer overflow in silc_string_compare in the file
9341 lib/silcutil/silcutil.c.
9343 * Fixed double free in silc_server_command_leave in the file
9346 Fri Apr 20 14:00:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9348 * Fixed the version checking in the server. Affected file is
9351 Thu Apr 19 19:52:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9353 * Fixed the configuration data fetching when accepting new
9354 connections in the server. Affected file silcd/server.c.
9356 Thu Apr 19 11:40:20 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9358 * Added `sender_entry' argument to the function
9359 silc_server_packet_relay_to_channel so that we can check
9360 whether some destination actually belongs to the same route
9361 the sender belongs (ie, we must not resend the packet to the
9362 sender). Affected file silcd/packet_send.[ch].
9364 * Added `servername' field to the SilcClientEntry in the server
9365 to hold the name of the server where client is from. Affected
9366 file is silcd/idlist.h.
9368 Wed Apr 18 22:19:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9370 * Moved the channel message encrypting in the router betwen
9371 router connections from silc_server_channel_message to the
9372 silc_server_packet_relay_to_channel since we want to check
9373 whether we have anybody channel before encrypting anything.
9374 Affected files silcd/packet_[receive/send].c.
9376 Tue Apr 17 21:18:19 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9378 * Fixed the [AdminConnection] server config section to support
9379 multiple entries. Affected file silcd/serverconfig.c.
9381 * Added support into the server to check the validity of the
9382 incoming connection before executing any KE or authentication
9385 * The connection configuration is now saved to the KE and
9386 connection auth protocol contexts and not fetched anymore in
9387 the protocol. Affected files silcd/server.c, silcd/protocol.[ch].
9389 * The local hosts listenning address and port is also resolved
9390 now when starting the server. We want to have the socket object
9391 to include the real address and port for the listener. Added
9392 new function silc_net_check_local_by_sock into the files
9393 lib/silcutil/silcnet.[ch].
9395 * Fixed a broadcast bug in server -> do not broadcast if we
9398 * Fixed a routing bug. Do not route broadcast packets ever.
9399 Broadcast packets must be processed always and not routed since
9400 they may be destined to some other host than yourself and thus
9401 would get routed without no good reason. Affected file is
9404 * Added function silc_server_config_is_primary_route to check
9405 whether primary router connection has been configured (a router
9406 configuration that we are initiating). If there is not, we
9407 will assume that there is only two routers in the SILC network
9408 and we will use the incoming router connection as our primary
9409 route. Affected files silcd/serverconfig.[ch], silcd/server.c.
9411 * Changed the order of the broadcasting. Broadcast _after_ the
9412 packet has been processed not before. Affected file is
9415 * Fixed a [ClientConnection] parsing bug. The port was never
9416 parsed correctly thus resulting to port 0. Affected file
9417 silcd/serverconfig.c.
9419 * Fixed silc_server_send_notify_args -> it ignored the `broadcast'
9420 argument and did not set the broadcast packet flag. Affected
9421 file silcd/packet_send.c. Fixed same bug in the function
9422 silc_server_send_notify as well.
9424 * If we receive NEW_ID packet for our own ID in the server, ignore
9427 Mon Apr 16 12:10:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9431 * Removed the nickname from the Private Message Payload.
9432 Updated the code and the protocol specs.
9434 * Updated protocol specs for submitting to the IETF.
9436 * Tweaked the Random Number Generator a bit. Affected file
9437 lib/silccrypt/silcrng.c. Exported a new function
9438 silc_rng_[global]_add_noise which can be used to add more
9441 Sat Apr 14 16:21:32 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9443 * Do not parse packets with different timeout when protocol
9444 is active -> may cause problem with rekey. Affected file
9447 * When server receives signoff notify it must not create
9448 new channel key if the client is on any channels since the
9449 sender of the signoff notify will create it.
9451 Fri Apr 13 17:12:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9453 * Added printing of error messages during SKE protocol from the
9454 failure packet sent by server during SKE. Affected file
9457 * Removed the client's failure_callback handling with timeout
9458 and handle it immediately when received.
9460 * The SKE library returned wrong type in SUCCESS and FAILURE
9461 packets. They must be 32 bit MSB not 16 bit MSB.
9463 Fri Apr 13 00:09:08 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9465 * Ok, rewrote the logic of the re-key and now it seems to work.
9466 I tested it on high traffic with frequent re-keys without
9467 problems. Added hmac_receive (and renamed hmac to hmac_send)
9468 in SilcClientConnection in lib/silcclient/client.h and
9469 in SilcIDListData in silcd/idlist.h. Also, removed the
9470 SilcPacketParserContext's cipher and hmac fields as they are
9471 not needed anymore and actually caused some problems when
9472 the ciphers and hmac's changed underneath the packet parser.
9474 Thu Apr 12 14:42:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9476 * If re-key protocol is active then process the incoming packets
9477 synchronously since we must assure that icoming packets encrypted
9478 with the old key is processed before the new keys is set to
9479 use. This is true other packets than for REKEY packets.
9480 Affected file silcd/server.c. The same was done to client library
9481 as well, affected file lib/silcclient/client.c.
9483 Thu Apr 12 12:01:52 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9485 * Fixed bug in client and server to accept the force send if
9486 the packet is send from silc_[server/client]_packet_process
9487 function. Otherwise the packets are never delivered, oops.
9489 Wed Apr 11 22:10:15 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9491 * Disable force sending of packets when REKEY protocol is active.
9492 We must assure that no packet is sent directly when rekey is
9493 performed. All packets must be sent through packet queue.
9494 Added macro SILC_SERVER_IS_REKEY to silcd/server.h and
9495 SILC_CLIENT_IS_REKEY to lib/silcclient/client.h. Affected
9496 function is silc_[server/client]_packet_send_real to check
9499 * Replaced the SIM paths from example config files to
9500 /usr/local/modules. Also, make install creates now
9501 /usr/local/silc/logs directory to hold all the SILC server
9504 Wed Apr 11 16:59:59 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9506 * Made the configure.in.pre work on Solaris. Patch by salo.
9508 * Made all ciphers compatible with non-x86 machines. Defined
9509 CBC mode macros into lib/silccrypt/ciphers_def.h.
9511 Tue Apr 10 20:32:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9513 * Fixed the make install.
9515 Tue Apr 10 16:20:34 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9517 * When MAC computation fails the silc_packet_decrypt returned 0
9518 even though it was supposed to return -1. Fixed this. The
9519 affected file is lib/silccore/silcpacket.c.
9521 * Do not replace the config files in /etc/silc (in make install)
9522 if they already exist. Affected file ./Makefile.am.
9524 * Do not send re-key packets immediately but through packet queue.
9525 Affected file silcd/protocol.c and lib/silcclient/protocol.c.
9527 * Changed silc_net_check_host_by_sock to return FALSE if the
9528 IP/DNS could not be resolved. Though, it returns the IP address
9529 now even if it could not resolve it (but returns also FALSE).
9530 Affected file lib/silcutil/silcnet.[ch].
9532 Mon Apr 9 21:54:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9534 * Added silc_pkcs_decode_identifier to decode the public key's
9535 identifier. Affected file lib/silccrypt/silpkcs.[ch].
9536 Added also silc_pkcs_free_identifier. Added also new context
9537 SilcPublicKeyIdentifier.
9539 * Added -S option to the silc client. It is used to dump the
9540 contents of the specified public key file.
9542 * Changed the PKCS api to return the public key length when
9543 setting the public key.
9545 * Fixed a fatal bug in the public and private key file loading.
9546 Affected file lib/silccrypt/silcpkcs.c.
9548 * Execute the packet parsing for client with zero (0) timeout
9549 if the protocol is active. Affected file silcd/server.c.
9551 Sun Apr 8 19:30:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9553 * Made the key generation options to the silcd program. Added
9554 -C option, equivalent to client's option.
9556 * Added new [ServerKeys] config section to the server. It
9557 configures the server's public and private key.
9559 * Defined generic Public Key Payload into the protocol
9560 specification to send specific type of public keys and
9563 * Defined new command SILC_COMMAND_GETKEY to fetch a client's
9564 public key or certificate.
9566 * Implemented the GETKEY command to the server and to the
9567 client library and on user interface.
9569 Sun Apr 8 01:37:21 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9571 * Made preliminary `make install' work.
9573 Thu Apr 5 17:42:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9575 * Added SilcServerRekey context into silcd/idlist.h.
9577 * Added the PFS support as defined in the specification to the
9578 SKE protocol. Affected files lib/silcske/*.c.
9580 * Added `ske_group' field to the SilcServerRekey context to hold
9581 the number of the SKE group that is used with PFS in re-key.
9582 Affected file silcd/idlist.h.
9584 * Added PFS re-key support to the server. Affected file is
9587 * Added silc_protocol_cancel to cancel execution of the next
9588 state of the protocol. Affected file is
9589 lib/silccore/silcprotocol.[ch].
9591 * Added the re-key support with and without PFS to the client
9592 library. Re-key is performed once in an hour, by default.
9594 Added new protocol type SILC_PROTOCOL_CLIENT_REKEY.
9595 Added silc_client_rekey_callback and silc_client_rekey_final.
9596 Affected files are lib/silcclient/protocol.[ch] and
9597 lib/silcclient/client.[ch].
9599 * Removed the `hmac_key' and `hmac_key_len' fields from the
9600 SilcClientConnection structure; not needed. Affected file is
9601 lib/silcclient/client.h.
9605 Wed Apr 4 16:32:31 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9607 * Do not ask whether user wants to use the negotiated private key
9608 for private messages, just use it. Affected file is
9609 silc/local_command.c.
9611 * Added `send_enc_key' and `enc_key_len' fields to the
9612 SilcIDListData structure since they are needed in the re-key
9613 phase. Affected file is silcd/idlist.[ch].
9615 * Implemented the simple re-key protocol into the server.
9616 Affected files silcd/server.c and silcd/protocol.[ch]. The
9617 re-key will be performed once in an hour, by default.
9619 Added new protocol type SILC_PROTOCOL_SERVER_REKEY.
9620 Added silc_server_rekey, silc_server_rekey_callback and
9621 silc_server_rekey_final.
9623 * Removed Tunneled flag from the protocol. Updated the code
9624 and the specifications.
9626 * Adde `pfs' field to the SilcIDListData to indicate whether
9627 the PFS is to be performed in the re-key. Affected file is
9630 Tue Apr 3 21:52:42 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9632 * Defined uint8, int8, uint16, int16, uint32, int32, uint64 and
9633 int64 of at least the xintXX size. If void * is less that 4
9634 bytes uint32 * will be used. Defined bool as boolean.
9636 * Changed _ALL_ unsigned long and unsigned int to uint32,
9637 unsgined short to uint16 in the source tree.
9639 * Fixed a fatal bug in silc_server_remove_clients_by_server. Do
9640 not handle clients that has entry->data.registered == FALSE.
9641 They are not in the network anymore. Affected file is
9644 Tue Apr 3 16:39:19 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9646 * Implemented the sending of the SERVER_SIGNOFF notify in the
9647 server. Affected file is silcd/server.c.
9649 * Added silc_server_send_notify_args into silcd/packet_send.[ch].
9650 Added also silc_notify_payload_encode_args into the
9651 lib/silccore/silcnotify.[ch].
9653 * Implemented ther SERVER_SIGNOFF notify handling in the server.
9654 Affected file silcd/packet_receive.c.
9656 * Implemented the SERVER_SIGNOFF notify handling in the client
9657 library. Affected file lib/silcclient/client_notify.c. Also,
9658 implemnted the printing of the SERVER_SIGNOFF info to the
9659 application. Affected file silc/client_ops.c.
9661 * The silc_idlist_del_server now returns TRUE or FALSE to indicate
9662 if the deleting was successful. Affected file silcd/idlist.[ch].
9664 * Added support for public key authentication in the connection
9665 authentication protocol in the client library. Affected file
9666 lib/silcclient/protocol.c.
9668 * Changed the server's silc_idlist_get_clients_by_* interface
9669 to support already allocated array so that new entries may be
9670 added to pre-allocated array. Affected file silcd/idlist.[ch].
9671 This fixes some bugs with WHOIS, WHOWAS and IDENTIFY commands
9672 and command replies.
9674 * All command reply functions in the server now calls the
9675 pending command callback even if error occured. This way the
9676 error will be delivered to the client as well. Affected files
9677 silcd/command.c and silcd/command_reply.c.
9679 * Fixed INFO command to return local server's info if no server
9680 was provided. Affected file lib/silcclient/command.c.
9682 * Removed RESTART command for good. Updated the code and the
9685 * Rewrote parts of the task system. It is a bit simpler now.
9686 Removed unsued task priorities. The affected files are
9687 lib/silcutil/silctask.[ch].
9689 Mon Apr 2 20:02:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9691 * Moved the USERS printing from the library to the application.
9692 Affected files lib/silcclient/command.c and silc/client_ops.c.
9694 Mon Apr 2 13:13:23 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9698 * Added channel key re-key support. The re-key is perfomed
9699 only by the router and is done once in an hour. Added `rekey'
9700 field to the SilcChannelEntry in the server. Affected files
9701 silcd/server.c and silcd/idlist.h.
9703 * Added silc_task_unregister_by_context into the file
9704 lib/silcutil/silctask.[ch].
9706 Sun Apr 1 19:49:34 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9708 * Added SILC_UMODE_GONE mode to indicate when the client is not
9709 present in the SILC network. Added also support to the local
9710 command AWAY that will set this mode. Added support of showing
9711 "xxx is gone" in WHOIS command. The USERS command shows the
9712 gone status as well.
9714 * Fixed setting server and router operator privileges in the
9715 server's UMODE command. Affected file silcd/command.c.
9717 * Merged the SKE KE1 and KE2 payloads into one payload. The
9718 new KE payload is equivalent to the old KE2 payload.
9720 Cleaned up the SKE Start Payload parsing. It now uses the
9721 simple buffer unformatting to do the parsing. A lot faster
9724 Added new Mutual Authentication flag (SILC_SKE_SP_FLAG_MUTUAL)
9725 to the SKE that is used to indicate whether both of the SKE
9726 parties should perform authentication. By default only the
9727 responder performs authentication. By setting this flag also
9728 the initiator must do authentication. By default it is unset
9729 since in normal SKE case, client to server connection, only
9730 the responder should do authentication. When doing SKE between
9731 two clients both should perform authentication. Updated the
9732 code and the protocol specs.
9734 * A little fix to IDENTIFY command in the server. Search the
9735 client first by hash not nickname. Affected file is
9738 * Fixed the silc_client_close_connection to support closing
9739 the client to client connections wihtout deleting too much
9740 data. Affected file lib/silcclient/client.c.
9742 * Fixed a fatal bug in server and client; if KE1 or KE2 packets
9743 are received if protocol used to be active but is not anymore
9744 the application would crash due to NULL pointer dereference.
9745 Affected files silcd/server.c and lib/silcclient/client.c.
9747 * Added `hash' field to the SilcClientConnection to include
9748 the hash function negotiated in the SKE protocol.
9750 * Added new channel mode SILC_CMODE_FOUNDER_AUTH that is used
9751 to set the channel founder authentication data. A client can
9752 claim the founder rights later by providing the authentication
9753 data to the CUMODE command using SILC_CUMODE_FOUNDER mode.
9754 This way the channel founder can regain the channel founder
9755 privileges even it is left the channel. This works only on
9756 local server and the client must be connected to the same
9757 server to be able to regain the founder rights. Updated the
9758 protocol specs accordingly.
9760 Added support to the CMODE command in the client to set the
9761 founder auth data. Read the README to see how to set it.
9763 Added support to the CUMODE command to claim the founder
9764 rights. Read the README to see how to do it.
9766 Added support for the founder authentication to the Channel
9767 Entry in the server. Affected file silcd/idlist.h.
9769 Added support for the SILC_CMODE_FOUNDER_AUTH mode in the
9770 server's CMODE command. Affected file silcd/command.c.
9772 * Added the following new functions into lib/silccore/silcauth.[ch]:
9773 silc_auth_get_method and silc_auth_get_data.
9775 * The server now saves the remote hosts public key to the
9776 SilcIDListData pointer. Affected file silcd/protocol.c.
9778 * The normal server now does not remove the channel entry from
9779 the cache if the founder authentication data is set. It used
9780 to remove it if the founder was the last one on the channel on
9781 the server and left the channel. The auth data is saved and
9782 if the channel is re-joined later the old entry is used with
9783 the old auth data. Affected files silcd/command_reply.c and
9786 * Removed the `pkcs' field from the SilcIDListData structure
9787 in the server; it is not used. Affected file silcd/idlist.h.
9789 Sat Mar 31 15:38:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9791 * Fixed packet processing on slow links. Partial packets were
9792 never re-processed because the incoming data buffer was cleared
9793 by the application. Application must not directly clear the
9794 sock->inbuf, the packet processing routines handle it. Fixed
9795 this in client library and in server.
9797 Fri Mar 30 16:35:27 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9799 * Fixed the WHOIS and IDENTIFY send reply function to really
9800 check whether to send list or just one entry. Affected file
9803 * Cleaned up the LEAVE command's channel key distribution. The
9804 affected file silcd/command.c.
9806 * Changed CMODE_CHANGE's <Client ID> to <ID Payload> as server
9807 can enforce the channel mode as well. In that case the ID
9808 includes the ID of the server. The code now enforces the
9809 mode change if the router have different mode than the server.
9811 * The notify client operation with CMODE_CHANGE notify can now
9812 return NULL client_entry pointer if the CMODE was not changed
9813 by client. Application must check for this.
9815 * Added <Server ID> argument to INFO command to support server
9816 info fetching by Server ID.
9818 * Added silc_server_announce_get_channel_users to get assembled
9819 packets of channel users of the specified channel. Affected
9820 file silcd/server.[ch].
9822 * Fixed bug in CHANNEL_CHANGE notify in the server. The new ID
9823 was freed underneath the ID Cache.
9825 * Re-announce clients when the server received CHANNEL_CHANGE
9826 notify from the router. Affected file silcd/packet_send.c.
9828 Thu Mar 29 19:10:28 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9830 * Fixed a fatal bug when client does /join 1 2 3 4 5 6 the server
9831 crashed since it did not handle the fact that there is no cipher
9832 called "3" and didn't check the error condition. Now fixed.
9834 * Added SILC_MESSAGE_FLAG_REQUEST message flag as generic request
9835 flag. It can be used to send message requests.
9837 Thu Mar 29 12:26:25 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9839 * Implemented the RESTART command in the client.
9841 * Added SILC_MESSAGE_FLAG_NOTICE message flag for informational
9842 notice type messages. Added notice printing to the user
9845 * The channel keys are not re-generated if the channel's mode
9846 is PRIVKEY, ie private key on the channel exists. Affected
9847 files silcd/server.c and silcd/command.c.
9849 * Fixed a little bug in channel message delivery when channel
9850 private keys are set in the server. Affected file is
9851 silcd/packet_send.c.
9853 * Changed the setting on channel->on_channel = TRUE from the
9854 silc_client_save_channel_key to the JOIN command reply. The
9855 key payload is not received if the private channel key is set.
9856 Affected file lib/silcclient/command_reply.c and the
9857 lib/silcclient/client_channel.c.
9859 * When the CMODE_CHANGE notify is sent and the channel private
9860 key mode is removed the channel key must be re-generated in
9861 other cells as well. Added this support for the router in the
9862 silcd/packet_receive.c.
9864 * Added new local command NOTICE to send notice message on
9865 channel. Affected file silc/local_command.[ch].
9867 Wed Mar 28 23:55:54 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9869 * Added new local command ME to the client. It is used to send
9870 message to a channel with SILC_MESSAGE_FLAG_ACTION to indicate
9871 some action. Affected file silc/local_command.[ch].
9873 * Changed channel_message and private_message client operations
9874 to deliver the message flags to the application. Added also
9875 the `flags' arguments to the silc_client_send_channel_message
9876 and silc_client_send_private_message functions. Affected file
9879 Wed Mar 28 20:50:47 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9881 * Redefined the Private Message Payload to support private message
9882 keys and to support the new private message flags. Updated
9883 the protocol specs. Flags makes it possible to have for example
9884 CTCP style messages.
9886 * Added new type SilcPrivateMessagePayload and defined an API
9887 for it in the lib/silcclient/silcprivate.[ch].
9889 * Tested private message private keys successfully. Tested the
9890 private message key set, unset and list commands with the new
9893 * Redefined the Channel Message Payload to include the channel
9894 message flags (equal with private message flags) to support
9895 for example CTCP style messages.
9897 * Defined some of the message (for channel and private message)
9898 flags. Updated the protocol specs and added the flags to the
9899 lib/silccore/silcchannel.h. The type is SilcMessageFlags.
9901 Wed Mar 28 15:52:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9903 * Added SilcKeyAgreementStatus type to the key agreement routines
9904 to indicate the current status and error if one occured.
9905 The status types are defined in the lib/silcclient/silcapi.h.
9907 * Added new local command KEY that is used to set and unset private
9908 keys for channels, set and unset private keys for private messages
9909 with remote clients and to send key agreement requests and
9910 negotiate the key agreement protocol with remote client. The
9911 key agreement is supported only to negotiate private message keys,
9912 it currently cannot be used to negotiate private keys for channels,
9913 as it is not convenient for that purpose.
9915 * Fixed a minor pending callback setting bug in the function
9916 silc_client_get_client_by_id_resolve, now the function works.
9917 Affected file lib/silcclient/idlist.c.
9919 * Added function silc_net_get_local_port to get local bound
9920 port by socket. Added to lib/silcutil/silcnet.[ch].
9922 * Added `sockets' and `sockets_count' fields to the SilcClient
9923 object. They hold the sockets of the listenning sockets in
9924 the client. Listenning sockets may be for example the key
9925 agreement server. Affected file lib/silcclient/client.[ch].
9926 Added functions the silc_client_add_socket and the
9927 silc_client_del_socket. They are exported to the application
9930 * Added ~./silc/clientkeys to support other client's public keys.
9932 * Renamed verify_server_key client operation to verify_public_key
9933 and added one argument to indicate the type of the connection
9934 (server, client etc.).
9936 Tue Mar 27 22:22:38 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9938 * Added silc_server_connection_auth_request to handle the
9939 incoming CONNECTION_AUTH_REQUEST packet. Affected file is
9940 silcd/packet_receive.[ch].
9942 * Added silc_server_send_connection_auth_request into the
9943 silcd/packet_send.c to send the connection auth request packet.
9945 * Cleaned up the silcd/protocol.c a bit and fixed some memory
9948 * Fixed the public key authentication in responder side in the
9949 server. The `auth_data' pointer includes the SilcPublicKey
9950 not the path to the public key. Affected file silcd/protocol.c.
9952 * Implemented the public key authentication in the initiator side
9953 in the server. Affected file silcd/protocol.c.
9955 * Removed the [RedirectClient] config section from the server
9956 configuration. Is not needed and I don't want to implement it.
9958 Tue Mar 27 12:49:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9960 * Cleaned up the CMODE command in the server. It now works
9961 correctly and supports all the modes defined in the protocol.
9962 Affected file is silcd/command.c.
9964 * Added `hmac_name' field to the SilcChannelEntry in the server
9965 to hold the default HMAC of the channel. It can be set when
9966 creating the channel (with JOIN command). Affected files
9969 * Added <cipher> and <hmac> argument to the CMODE_CHANGE notify
9970 type to indicate the change of the current cipher and hmac
9971 on the channel. Client can safely ignore the <cipher> argument
9972 (if it chooses to do so) since the CHANNEL_KEY packet will
9973 force the channel key change anyway. The <hmac> argument is
9974 important since the client is responsible of setting the new
9975 HMAC and the hmac key into use.
9977 * Fixed the CMODE command in the client library as well.
9979 * Tested CMODE command in router environment successfully.
9981 Mon Mar 26 14:39:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9983 * Show the version of the remote client (or server) when connecting
9984 to the server. It is logged to the log file. Affected file
9985 is silcd/protocol.c.
9987 * Fixed the KILLED notify handling in the client library. The
9988 client must be removed from all channels when receiving the
9991 Also, do not remove the client entry when giving the KILL
9992 command but when the KILLED notify is received.
9994 * Removed silc_idlist_find_client_by_nickname from the server.
9995 Not needed anymore. Affected files silcd/idlist.[ch].
9997 * Implemented the CHANNEL_CHANGE notify type handling to the
9998 server. Affected file silcd/server.c.
10002 Mon Mar 26 12:11:14 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10004 * Added silc_server_send_notify_invite to send the INVITE
10005 notify between routers.
10007 * Implemented the INVITE command correctly to the server.
10009 * Implemented the INVITE notify type handling in the server.
10011 * Implemented the INVITE command to the client library and on the
10014 Sun Mar 25 20:27:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10016 * Added function silc_server_get_client_resolve to find the
10017 client entry by ID from all ID lists and then resolve it
10018 (using WHOIS) if it cannot be found. Affected file is
10021 Sun Mar 25 13:52:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10023 * Implemented the BAN command to the client library.
10025 * The JOIN command in the server now checks the invite list
10028 * Changed the silc_command_reply_payload_encode_va and the
10029 silc_command_payload_encode_va to support that if argument is
10030 NULL it ignores and checks the next argument. Affected file
10031 lib/silccore/silccommand.c.
10033 * Added silc_server_send_notify_ban to send the BAN notify
10034 type between routers.
10036 * Chaned the silc_notify_payload_encode to support that if
10037 argument is NULL it ignores and checks the next argument.
10038 Affected file lib/silccore/silcnotify.c.
10040 * Tested ban lists in router environment successfully.
10042 Sat Mar 24 14:47:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10044 * Implemented BAN command to the server, in silcd/command.[ch].
10046 * Removed the BAN and INVITE_LIST modes from the CMODE command
10047 in the server code.
10049 * Added function silc_string_match to regex match two strings.
10050 Affected files lib/silcutil/silcutil.[ch].
10052 Fri Mar 23 22:02:40 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10054 * Redefined parts of the SilcChannelEntry in the server to support
10055 the new ban and invite lists.
10057 Fri Mar 23 16:25:11 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10059 * Redefined the INVITE command. The same command can be used to
10060 invite individuals to the channel but also to manage the invite
10061 list of the channel (to add to and remove from the invite list).
10062 Updated the protocol specs.
10064 * Added new command SILC_COMMAND_BAN that can be used to manage
10065 the ban list of the channel. Updated the protocol specs.
10067 * Removed the channel modes: the SILC_CMODE_BAN and the
10068 SILC_CMODE_INVITE_LIST as they were a bit kludge to be included
10069 in the CMODE command. The equivalent features are now available
10070 using INVITE and BAN commands. Updated the protocol specs.
10072 * Added new SILC_NOTIFY_TYPE_BAN notify type to notify routers
10073 in the network about change in the current ban list. The notify
10074 type is not used by the client.
10076 * Redefined parts of the SILC_NOTIFY_TYPE_INVITE command to
10077 support the invite lists.
10079 Thu Mar 22 22:52:23 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10081 * Added new function silc_string_regexify that converts string
10082 including wildcard characters into regex string that can
10083 be used by the GNU regex library. Added into the file
10084 lib/silcutil/silcutil.[ch].
10086 Added silc_string_regex_combine to combine to regex strings
10087 into one so that they can be used as one regex string by
10088 the GNU regex library. Added into the file
10089 lib/silcutil/silcutil.[ch].
10091 Added silc_string_regex_match to match two strings. It returns
10092 TRUE if the strings match. Added into lib/silcutil/silcutil.[ch].
10094 Thu Mar 22 15:29:42 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10096 * Imported GNU regex to the soruce tree into lib/contrib.
10097 Fixed some compiler warning from the regex.c.
10099 Wed Mar 21 15:27:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10101 * Fixed MOTD command in the server to work in router environment.
10103 * Fixed the MOTD command in the client library to support
10104 the server argument in the command.
10106 * Added `nickname_len' argument to the silc_idlist_add_client
10107 in the server, as the `nickname' argument may be binary data
10110 * Added silc_idlist_get_channels to return all channels from
10113 * Implemented LIST command to the server. Affected file is
10116 * Implemented the LIST command to the client library and on the
10119 * Added [<user count>] argument to the LIST command reply.
10120 With private channels the user count is not shown.
10122 * Updated TODO and README.
10124 Tue Mar 20 21:05:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10126 * The client entry's data.registered must be TRUE even with
10127 global client entry on global client list. The data.registered
10128 is used to check whether the client is anymore in the network,
10129 for example with WHOWAS command so it must be valid.
10131 * Fixed the WHOWAS command in the server. It now actually works
10132 in router environment. Added function into silcd/command_reply.c
10133 silc_server_command_reply_whowas_save.
10135 * Added silc_idlist_purge function to the silcd/idlist.c
10136 to periodically purge the ID Cache.
10138 * Fixed INFO command in the server. It works now in router
10139 environment. Added <server name> argument to the INFO command
10140 reply. Updated the protocol specs.
10142 * Fixed minor bug in silc_idcache_purge to not purge if the
10143 expire value is zero.
10145 * Fixed various bugs in WHOIS and IDENTIFY command handling as
10146 they were buggy because of the WHOWAS information.
10148 * Fixed local command MSG to handle the async resolving of
10149 the remote client properly. It used to fail the first MSG.
10150 Affected file silc/local_command.c.
10152 * Added `data_len' field to SilcIDCache context.
10154 Tue Mar 20 16:29:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10156 * Update TODO. Todo in commands in the server.
10158 Tue Mar 20 15:45:14 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10160 * Added new notify type SILC_NOTIFY_TYPE_UMODE_CHANGE that is
10161 used by routers as broadcast packet to inform other routers
10162 about the changed user mode.
10164 Implemented the notify handling in the server. Affected file is
10165 silcd/packet_receive.c. Added the function
10166 silc_server_send_notify_umode to the silcd/packet_send.[ch].
10168 * Added new generic Channel Payload and deprecated the New Channel
10169 Payload. The New Channel Payload is now the generic Channel
10172 * Added new argument `mode' to the silc_server_send_new_channel
10173 as it is required in the Channel Payload now.
10175 * Renamed the SilcChannelPayload to SilcChannelMessagePayload
10176 and created a new and real SilChannelPayload to represent the
10177 new generic Channel Payload. Implemented the encode/decode
10178 for Channel Payload. Affected file lib/silccore/silcchannel.[ch].
10180 * Added silc_server_get_client_channel_list to return the list
10181 of channels the client has joined for WHOIS command reply.
10182 Affected file silcd/server.[ch].
10184 * Implemented the channel list sending in the WHOIS command reply
10185 in server and in the client.
10187 Implemented the channel list displaying on the user interface
10188 as well. Affected file silc/client_ops.c.
10190 * Added silc_channel_payload_parse_list to parse list of Channel
10191 Payloads. It returns SilcDList list of SilcChannelPayloads.
10192 Client for example can use this function to parse the list of
10193 channels it receives in the WHOIS command reply. The caller
10194 must free the list by calling silc_channel_payload_list_free.
10195 Affected files lib/silccore/silcchannel.[ch].
10197 Mon Mar 19 21:39:15 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10199 * Added one new argument <user mode> to the WHOIS command reply
10200 to return the mode of the user in SILC. Updated the protocol
10203 Implemented it to the server and client.
10205 Mon Mar 19 18:43:06 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10207 * Fixed the mode printing on the user interface on joining.
10208 Affected file silc/client_ops.c.
10210 * Implemented the UMODE command and user modes in general to the
10211 client library and to the user interface.
10213 * Implemented the UMODE command to the server.
10215 * The server now sends UNKNOWN_COMMAND error status if client sends
10216 unknown command. Affected file silcd/command.c.
10218 * All server commands now handle the command identifier the right
10219 way when sending the command reply to the client. The client can
10220 use to identify the command replies with the identifier.
10222 Mon Mar 19 16:13:07 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10224 * Added silc_server_get_client_route to resolve the route to
10225 the client indicated by the client ID. Affected file is
10228 * Added silc_server_relay_packet as general function to relay
10229 packet to arbitrary destination. This deprecates functions
10230 like _send_private_message_key, _relay_notify etc. Affected
10231 file is silcd/packet_send.[ch].
10233 Removed silc_server_send_key_agreement,
10234 silc_server_send_private_message_key and
10235 silc_server_packet_relay_notify functions from the file
10236 silcd/packet_send.[ch].
10240 * Implemented the SILC_NOTIFY_TYPE_KILLED notify handling in the
10241 server. Affected file silcd/packet_receive.[ch].
10243 * Implemented the KILL command to the client. Implemented the
10244 SILC_NOTIFY_TYPE_KILLED notify handling in the client library.
10245 Affected files lib/silcclient/command[_reply].c and
10246 lib/silcclient/client_notify.c. Implemented the KILL notify
10247 printing in the user inteface.
10249 * Fixed a lot silc_parse_nick memory leaks from the client
10250 library in the file lib/silcclient/command.c.
10252 * Changed the silc_server_send_notify_on_channels's `sender'
10253 argument from SilcSocketConnection to SilcClientEntry to
10254 check the sender as entry and not as connection object and not
10255 to send to the client provided as argument. The affected file
10256 is silcd/packet_send.[ch].
10258 * The notify packets that are destined directly to the client used
10259 to not to be processed by the server. Now changed that and the
10260 server processes all notify packets. After relaying the packet
10261 to the client the notify packet is processed in the server.
10263 * The silc_server_free_client_data now checks whether there is
10264 pending outgoing traffic for the client and purges the data to
10265 the network before removing the client entry.
10267 Sun Mar 18 21:02:47 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10269 * Added SILC_NOTIFY_TYPE_KILLED notify type. It is sent when
10270 an client is killed from the SILC Network. Updated the protocol
10273 Added new function silc_server_send_notify_killed to the
10274 silcd/packet_send.[ch].
10276 * Added function silc_server_packet_relay_notify to relay notify
10277 packets that are destined directly to a client. In this case
10278 the server does not process the notify packets but merely relays
10279 it to the client. Affected file silcd/packet_send.[ch].
10281 Added also silc_server_packet_process_relay_notify to check
10282 whereto relay the notify. Affected file is
10283 silcd/packet_receive.[ch].
10285 * Implemented the KILL command to the server.
10289 * Added the backup schema desgined last fall to the protocol
10290 specs for everyone to see. The specification is in the
10291 *-spec-xx.txt draft and the packet type definitions for the
10292 backup routers is in *-pp-xx.txt draft. Thusly, added also
10293 new packet type SILC_PACKET_CELL_ROUTERS.
10295 * A big security problem in the implementation discovered. The
10296 signoff of an client did not cause new channel key generation
10297 which it of course should've done. The channel keys must be
10298 always re-generated when client leaves (or signoffs) the channel.
10299 The silc_server_remove_from_channels funtion now handles
10300 the channel key re-generation.
10302 * Added `sender' argument to the silc_server_send_notify_on_channels
10303 to not to send the client provided as argument. Affected file
10304 silcd/packet_send.[ch].
10306 Fri Mar 16 15:52:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10308 * Implemented OPER and SILCOPER commands into the server and
10309 the client library.
10311 * Added silc_auth_verify and silc_auth_verify_data to verify
10312 the authentication directly from the authentication payload.
10313 It supports verifying both passphrase and public key based
10314 authentication. Affected file lib/silccore/silcauth.[ch].
10316 * Added `hash' field to the SilcIDListData structure. It is the
10317 hash negotiated in the SKE protocol. Affected file is
10320 * Slight redesigning of the SilcAuthPayload handling routines.
10321 Do not send SilcPKCS but SilcPublicKey as argument.
10323 * Implemented the public key authentication support to the
10324 serverconfig. The public key is loaded from the provided path
10325 and saved as authentication data to void * pointer. Thus,
10326 changed the unsigned char *auth_data to void *auth_data;
10328 * Fixed SHUTDOWN command to send the reply before the server
10329 is shutdown. :) Affected file silcd/command.c.
10331 * Fixed fatal bug in CONNECT command. The hostname was invalid
10332 memory and server crashed. Affected file silcd/command.c.
10334 * Fixed fatal bug in CLOSE command. The server_entry became
10335 invalid but was referenced later in the command. Affected file
10338 Thu Mar 15 12:46:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10340 * Fixed fatal bug in failure packet handling. Server ignored
10341 the failure and thus crashed when it came.
10345 Wed Mar 14 20:37:35 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10347 * Added new SILC_CF_LAG_STRICT command flag that strictly forces
10348 that the command may be executed only once in (about) 2 seconds.
10349 The old SILC_CF_LAG flag is same but allows command bursts up
10350 to five before limiting.
10352 Added the support for CF_LAG and CF_LAG_STRICT flags to the
10353 server code. Various commands now includes the CF_LAG_STRICT
10354 flag to disallow any kind of miss-use of the command.
10356 * Fixed the silc_buffer_unformat to not to allocate any data
10357 if the length of the data is zero. It used to allocate the
10358 length + 1. Affected file lib/silcutil/silcbuffmt.c.
10360 Wed Mar 14 16:10:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10362 * Changed the format of AdminConnection configuration section
10363 in the server. Added username of the admin to the format.
10364 Affected files silcd/serverconfig.[ch].
10366 Added silc_server_config_find_admin into silcd/serverconfig.[ch]
10367 to return admin configuration data by host, username and/or
10370 Wed Mar 14 13:18:16 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10372 * Implemented WHOWAS command to the server. Added the functions:
10374 silc_server_command_whowas_parse,
10375 silc_server_command_whowas_send_reply,
10376 silc_server_command_whowas_from_client and
10377 silc_server_command_whowas_from_server
10379 * Added <Client ID> argument to the WHOWAS command reply. Updated
10380 the protocol specs accordingly.
10382 * Implemented WHOWAS command and command_reply to the client
10385 Implemented the WHOWAS printing on the user interface.
10387 Tue Mar 13 22:17:34 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10389 * Added new argument to the WHOWAS command reply, the real name.
10390 It is an optional argument. Updated the protocol specs.
10392 * Added SilcIDCacheDestructor callback that is registered when
10393 the SilcIDCache is allocated. The callback is called when
10394 an cache entry in the ID Cache expires, or is purged from the
10395 cache. Added into lib/silccore/idcache.[ch].
10397 Added silc_idlist_client_destructor to the silcd/idlist.[ch]
10398 to destruct the client entries when the cache entry expires.
10399 Other ID Cache's in server and in the client library ignores
10402 * If the ID Cache entry's `expire' field is zero then the entry
10403 never expires. Added boolean `expire' argument to the
10404 silc_idcache_add function in the lib/silccore/idcache.[ch].
10405 If it is TRUE the default expiry value is used.
10407 * Added silc_server_free_client_data_timeout that is registered
10408 when client disconnects. By default for 5 minutes we preserve
10409 the client entry for history - for WHOWAS command.
10411 Tue Mar 13 13:26:18 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10413 * Added support to the server to enforce that commands are not
10414 executed more than once in 2 seconds. If server receives
10415 commands from client more frequently, timeout is registered
10416 to process the commands. Affected file silcd/command.c.
10417 Added new function silc_server_command_process_timeout.
10419 * Changed NICK_NOTIFY handling in client library to check that
10420 if the client's nickname was changed, so there is no need to
10421 resolve anything from the server.
10423 * Removed error printing from the WHOIS and IDENTIFY commands.
10424 If error occurs then it is ignored silently in the client library.
10425 The application, however, may map the received error to
10426 human readable error string. The application currently maps
10427 the NO_SUCH_NICKNAME error to string.
10429 * Made the command status message public to the application. Moved
10430 them from lib/silcclient/command_reply.c to
10431 lib/silcclient/command_reply.h. The application can map the
10432 received command status to the string with the
10433 silc_client_command_status_message function.
10435 * Added check to the server to check that client's ID is same
10436 as the Source ID in the packet the client sent. They must
10439 Tue Mar 13 12:49:21 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10441 * Added dist-bzip hook to the Makefile.am to make bzip2
10442 compressed distributions.
10444 Mon Mar 12 18:43:38 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10446 * Server now enforces the maximum length for the nickname and
10447 the channel as protocol specification dictates. 128 bytes for
10448 nickname and 256 bytes for channel name.
10450 * Moved the WHOIS printing to the application. The client libary
10451 does not print out the WHOIS information anymore, the application
10452 must do it. Renamed silc_client_command_reply_whois_print to
10453 the silc_client_command_reply_whois_save.
10455 The client's idle time is also sent to the application now, and
10456 the idle is shown on screen.
10458 * Added silc_client_command_reply_identify_save to save the
10459 received IDENTIFY entries.
10461 * Do not check for channel private keys in message sending and
10462 reception if the channel does not have the PRIVKEY mode set.
10463 Affected file lib/silclient/client_channel.c.
10465 Sun Mar 11 20:25:06 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10467 * Fixed a minor bug if WHOIS and IDENTIFY command parsing that
10468 just surfaced after chaning the JOIN procedure.
10470 Sun Mar 11 14:59:05 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10472 * Added silc_client_get_clients_by_list to get client entries
10473 from Client ID list, that is returned for example by JOIN
10474 and USERS command replies. The application should use this
10475 function for example when JOIN command reply is received to
10476 resolve the clients already on the channel (library does not
10477 do that anymore as USERS command reply is not used in the JOIN
10478 procedure anymore). Affected files lib/silcclient/silcapi.h and
10479 lib/silcclient/idlist.c.
10481 * JOIN command reply and USERS command reply returns now SilcBuffer
10482 pointers instead of unsigned char pointers when returning
10483 the client list and mode list.
10485 * Added <Client ID> argument to the JOIN command reply, mainly
10486 for the server to identify for which client the command was
10487 originally sent. Updated protocol specs accordingly.
10489 * Added SilcDlist private_key pointer to the SilcChannelEntry
10490 in the client to support the channel private keys. Affected
10491 file is lib/silcclient/idlist.h.
10493 * Added SilcChannelPrivateKey argument to the function
10494 silc_client_send_channel_message so that application can choose
10495 to use specific private ke if it wants to. If it is not provided,
10496 the normal channel key is used, unless private keys are set.
10497 In this case the first (key that was added first) is used
10498 as the encryption key.
10500 * Implemented the support for channel private key handling.
10501 Implemented the following functions:
10503 silc_client_add_channel_private_key,
10504 silc_client_del_channel_private_keys,
10505 silc_client_del_channel_private_key,
10506 silc_client_list_channel_private_keys and
10507 silc_client_free_channel_private_keys
10509 Affected file lib/silcclient/client_channel.c.
10511 * Added the support for the private keys in the channel message
10512 sending and encryption and in the message reception and
10513 decryption. Affected funtions are
10514 silc_client_send_channel_message and silc_client_channel_message.
10516 Sat Mar 10 21:36:22 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10518 * Added SKE's key verify callback to the client library's
10519 KE protocol context. Affected files lib/silcclient/protocol.[ch].
10521 * Removed the statement that server (or router) must send USERS
10522 command reply when joining to the channel so that the client
10523 knows who are on the channel. Instead, the client list and
10524 client's mode list is now sent in the JOIN command reply to the
10525 client who joined channel. This is better solution.
10527 * Added function silc_server_get_users_on_channel and function
10528 silc_server_save_users_on_channel to the silcd/server.[ch].
10530 * Removed function silc_server_command_send_users from the
10533 * Do not show topic on the client library anymore. The topic is
10534 sent in the command reply notify to the application and the
10535 application must show the topic now.
10537 Sat Mar 10 00:07:37 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10539 * Added client searching by nickname hash into the IDENTIFY and
10540 WHOIS commands in the server as they were clearly missing from
10541 them. Affected file is silcd/command.c.
10543 * Fixed a bug in private message receiving in the client library.
10544 The remote ID was freed and it wasn't supposed, now it is
10547 Fri Mar 9 12:40:42 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10549 * Minor fix to the channel payload; allocate the data area, as it
10550 needs to be of specific length.
10552 * If the key agreement port is zero then the operating
10553 system will define the bound port. Affected files are
10554 lib/silcclient/silcapi.h and lib/silcclient/client_keyagr.c.
10556 * Added new function silc_channel_payload_decrypt into the file
10557 lib/silccore/silcchannel.[ch].
10559 * Moved the channel message etc, check from silc_packet_decrypt
10560 to applications. The library calls now a generic
10561 SilcPacketCheckDecrypt callback which is to return TRUE or FALSE
10562 when the packet is either normal or special. This was done to
10563 allow more wide range of checking that was not allowed when
10564 the code was in library. Now applications can do virtually any
10565 checks to the packet and return to the library the decision how
10566 the packet should be processed. Affected files are
10567 lib/silccore/silcpacket.[ch].
10569 Added silc_server_packet_decrypt_check to the server and
10570 silc_client_packet_decrypt_check to the client library.
10572 * Added silc_server_packet_send_srcdest into silcd/packet_send.[ch]
10573 to send with specified source and destination information.
10575 * Channel message delivery between routers was broken after the
10576 channel key distribution was fixed earlier. The channel key
10577 was used be to distributed to other routers as well which is not
10578 allowed by the protocol. Now this is fixed and channel keys
10579 really are cell specific and the channel message delivery between
10580 routers comply with the protocol specification.
10582 * Fixed various commands in server to check also the global list
10583 for the channel entry and not just the local list. The affected
10584 file silcd/command.c.
10586 Thu Mar 8 21:39:03 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10588 * Added assert()s to buffer formatting and unformatting routines
10589 to assert (if --enable-debug) when error occurs. Affected
10590 file: lib/silcutil/silcbuffmt.c.
10592 * Changed to auto-reconnect to check whether the remote host is
10593 router and register the re-connect timeout if it is. It used
10594 to check that whether we are normal server, but router must do
10595 auto-reconnect with another router as well. Affected file
10598 * Removed the [<key len>] option from CMODE command as the cipher
10599 name decides the key length, nowadays. See the defined ciphers
10600 from the protocol specification.
10602 * Added [<hmac>] option to the CMODE command to define the HMAC
10603 for the channel. Added SILC_CMODE_HMAC channel mode.
10605 * Added [<hmac>] option for the JOIN command so that user can
10606 select which HMAC is used to compute the MACs of the channel
10609 * Added Hmac field to the Channel Message Payload. The integrity
10610 of plaintext channel messages are now protected by computing
10611 MAC of the message and attaching the MAC to the payload. The
10612 MAC is encrypted. Now, it is clear that this causes some
10613 overhead to the size of the packet but rationale for this is that
10614 now the receiver can verify whether the channel message decrypted
10615 correctly and also when private keys are set for the channel the
10616 receiver can decrypt the packet with several keys and check from
10617 the MAC which key decrypted the message correctly.
10619 * Added silc_cipher_encrypt and silc_cipher_decrypt into the
10620 lib/silccrypt/silccipher.[ch].
10622 * Added silc_hash_len to return the digest length into the
10623 lib/silcrypt/silchash.[ch].
10625 * Rewrote parts of Silc Channel Payload interface in the
10626 lib/silccore/silcchannel.[ch]. The encode function now also
10627 encrypts the packet and parse function decrypts it.
10629 Wed Mar 7 20:58:50 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10631 * Fixed a minor formatting bug in the SKE's key material processing.
10632 It actually might have processed the keys wrong way resulting
10635 * Redefined the mandatory HMAC algorithms and added new algorithms.
10636 Added hmac-sha1-96 and hmac-md5-96 which are normal hmac-sha1
10637 and hmac-md5 truncated to 96 bits. The mandatory is now
10638 hmac-sha1-96. Rest are optional (including the one that used
10639 to be mandatory). Rationale for this is that the truncated HMAC
10640 length is sufficient from security point of view and can actually
10641 make the attack against the HMAC harder. Also, the truncated
10642 HMAC causes less overhead to the packets. See the RFC2104 for
10645 * Added new [hmac] configuration section. The SKE used to use
10646 the hash names (md5 and sha1) in the SKE proposal as HMCAS which
10647 is of course wrong. The official names that must be proposed in
10648 the SKE are the ones defined in the protocol specification
10649 (hmac-sha1-96 for example). The user can configure any hmac
10650 using any hash function configured in the [hash] section. At
10651 least, the mandatory must be configured.
10653 Rewrote the HMAC interface in lib/silccrypt/silchmac.[ch].
10655 * Added HMAC list to the SKE proposal list. It has now both
10656 hash algorithm list and HMAC list. This makes the protocol
10657 incompatible with previous versions. The SKE now seems to work
10658 the way it is supposed to work, for the first time actually.
10660 * Defined plain Hash algorithms to the protocol specification.
10661 Added sha1 and md5.
10663 Tue Mar 6 15:36:11 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10665 * Implemented support for key agreement packets into the server.
10666 Added functions silc_server_key_agreement and
10667 silc_server_send_key_agreement. Other than these functions,
10668 server has nothing to do with this packet.
10670 * Added support for private message key packets into the server.
10671 Added functions silc_server_private_message_key and
10672 silc_server_send_private_message_key.
10676 * Changed the silc_[client|server]_protocol_ke_set_keys to be
10677 called in the protocol's final callback instead in the END
10678 protocol state. This makes a little more sense and in the same
10679 time in client we can use the same protocol routines for normal
10680 key exchange and to key agreement packet handling as well.
10682 * Added to both client's and server's KE protocol context the
10683 SilcSKEKeyMaterial pointer to save the key material. We will
10684 bring the key material to the protocol's final callback by doing
10685 this. The final callback must free the key material.
10687 * Added SKE's packet_send callback into client's KE protocol
10688 context so that the caller can choose what packet sending function
10689 is used. This way we can use different packet sending when
10690 doing normal SKE when doing key agreement packet handling (in
10691 the key agreement packet handling we do not want to encrypt
10694 * Implemented the responder side of the key agreement routines
10695 in the client. The client can now bind to specified port and
10696 accept incoming key negotiation. The key material is passed
10697 to the application after the protocol is over.
10699 * Implemented the processing of incoming Key Agreement packet
10700 in the client. Added function silc_client_key_agreement to
10701 process the packet.
10703 * Implemented the intiator side of the key agreement routines
10704 in the client. The client can now initiate key agreement with
10705 another remote client. The key material is passed to the
10706 application after the protocol is over.
10708 * Created client_keyagr.c to include all the key agreement
10711 * Added macro SILC_TASK_CALLBACK_GLOBAL which is equal to the
10712 SILC_TASK_CALLBACK except that it is not static.
10714 * Created client_notify.c and moved the Notify packet handling
10715 from the client.[ch] into that file.
10717 * Created client_prvmsg.c and moved all private message and
10718 private message key routines from the client.[ch] into that file.
10720 * Create client_channel.c and moved all channel message and
10721 channel private key routines from the client.[ch] into that file.
10723 * Changed silc_client_get_client_by_id_resolve to resolve with
10724 WHOIS command instead of IDENTIFY command, in the file
10725 lib/silclient/idlist.c.
10727 Mon Mar 5 18:39:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10729 * Implemented the SKE's responder side to the Client library.
10731 * When FAILURE is received to the protocol do not trust it
10732 blindly. Register a timeout to wait whether the remote closes
10733 the connection as it should do it, only after that process the
10734 actual failure. This was changed to both client and server.
10736 * Added client_internal.h to include some of the structures
10737 there instead of client.h in lib/silcclient/.
10739 * Added function silc_task_unregister_by_callback to unregister
10740 timeouts by the callback function.
10742 Sat Mar 3 19:15:43 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10744 * Some "Incomplete WHOIS info" errors has been appearing on the
10745 log files. Took away the entry->userinfo check from WHOIS
10746 reply sending. The entry->userinfo is now " " if client did not
10747 provide one. I thought this was fixed earlier but something
10748 is wrong still. Let's see if the error still appears.
10750 Wed Feb 28 20:56:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10752 * Fixed a minor bug in the login when the channel key is
10753 re-generated in the server. It used to generate the key in
10754 wrong order and thus caused problems in the channel traffic.
10756 * Fixed a minor bug in channel key distsribution after
10757 KICK command. The key was not sent to the router even though
10760 Tue Feb 27 20:24:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10762 * Added silc_ske_process_key_material_data as generic routine
10763 to process any key material as the SILC protocol dictates. The
10764 function is used by the actual SKE library but can be used by
10765 applications as well. This relates to the private message keys
10766 and the channel private keys since they must be processed the
10767 same way the normal SILC session keys. The protocol dictates
10768 this. Affected files: lib/silcske/silcske.[ch].
10770 Added also silc_ske_free_key_material to free the
10771 SilcSKEKeyMaterial structure.
10773 * Defined silc_cipher_set_key function to set the key for
10774 cipher without using the object's method function. The affected
10775 files: lib/silccrypt/silccipher.[ch].
10777 * Implemented silc silc_client_add_private_message_key,
10778 silc_client_add_private_message_key_ske,
10779 silc_client_del_private_message_key,
10780 silc_client_list_private_message_keys and
10781 silc_client_free_private_message_keys functions in the
10784 Added functions silc_client_send_private_message_key to send
10785 the Private Message Key payload and silc_client_private_message_key
10786 to handle incoming Private Message Key payload.
10788 * Added Cipher field to the Private Message Key payload to set
10789 the cipher to be used. If ignored, the default cipher defined
10790 in the SILC protocol (aes-256-cbc) is used.
10792 Tue Feb 27 13:30:52 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10794 * Removed lib/silcclient/ops.h file.
10796 Redefined parts of the SILC Client Library API. Created new
10797 file silcapi.h that deprecates the ops.h file and defines the
10798 published Client Library API. Defined also private message key
10799 API and channel private key API into the file.
10801 This is the file that the application must include from the
10802 SILC Client Library. Other files need not be included by
10803 the application anymore.
10805 * Added new key_agreement client operation callback and also
10806 defined the Key Agreement library API for the application.
10808 Tue Feb 27 11:28:31 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10810 * Added new packet type: SILC_PACKET_KEY_AGREEMENT. This packet
10811 is used by clients to request key negotiation between another
10812 client in the SILC network. If the negotiation is started it
10813 is performed using the SKE protocol. The result of the
10814 negotiation, the secret key material, can be used for example
10815 as private message key.
10817 Implemented the Key Agreement payload into the files
10818 lib/silccore/silauth.[ch].
10820 Mon Feb 26 12:13:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10822 * Redefined ciphers for the SILC protocol. Added some new ciphers
10823 and defined the key lengths for the algorithms. Changed the
10824 code accordingly. The default key length is now 256 bits.
10826 * Fixed SKE key distribution function silc_ske_process_key_material
10827 when the key length is more than 128 bits. The default key
10828 length in SILC is now 256 bits.
10830 * Added new command status type: SILC_STATUS_ERR_UNKOWN_ALGORITHM
10831 to indicate unsupported algorithm.
10833 * Renamed rijndael.c to aes.c and all functions as well.
10835 * Fixed a long standing channel key setting bug in client library.
10836 Weird that it has never surfaced before.
10838 * Fixed bug in channel deletion. If the entire channel is removed
10839 then it must also delete the references of the channel entry
10840 from the client's channel list as the client's channel entry and
10841 the channel's client entry share same memory.
10843 Sun Feb 25 20:47:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10845 * Implemented CONNECT and SHUTDOWN commands in the client.
10847 * Implemented CLOSE command to the client.
10849 * Added the function silc_idlist_find_server_by_name into the
10850 files silcd/idlist.[ch].
10852 Added the function silc_idlist_find_server_by_conn into the
10853 files silcd/idlist.[ch].
10855 Sat Feb 24 23:45:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10857 * DIE command was renamed to SHUTDOWN. Updated the both code
10858 and protocol specs.
10860 * Defined SILC_UMODE_NONE, SILC_UMODE_SERVER_OPERATOR and
10861 SILC_UMODE_ROUTER_OPERATOR modes into lib/silccore/silcmode.h.
10863 * Implemented CONNECT, CLOSE and SHUTDOWN commands to the server
10866 * Added function silc_server_create_connection function to create
10867 connection to remote router. My server implementation actually
10868 does not allow router to connect to normal server (it expects
10869 that normal server always initiates the connection to the router)
10870 so the CONNECT command is only good for connecting to another
10873 Sat Feb 24 16:03:45 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10875 * Added SILC_NOTIFY_TYPE_KICKED to indicate that the client
10876 or some other client was kicked from the channel.
10878 Implemented the handling of the notify type to both client
10881 Implemented silc_server_send_notify_kicked to send the KICKED
10882 notify. It is used to send it to the server's primary router.
10884 * Implemented the KICK command into server and client.
10886 * Added `query' argument to the silc_idlist_get_client function
10887 to indicate whether to query the client from server or not if
10890 * Added new command status type SILC_STATUS_ERR_NO_CHANNEL_FOPRIV
10891 to indicate that the client is not channel founder.
10895 Sat Feb 24 00:00:55 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10897 * Removed the rng context from SilcPacketContext structure and
10898 changed that the packet routine uses the Global RNG API.
10900 Fri Feb 23 11:22:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10902 * Added support for quit message that client can "leave" on the
10903 channel when it quits the SILC. It is ditributed inside the
10904 SILC_NOTIFY_TYPE_SIGNOFF notify type.
10906 Added silc_server_free_client_data that will take the
10907 signoff message as argument.
10909 * Changed SKE routines to use the silc_pkcs_sign/verify routines.
10911 Thu Feb 22 23:05:36 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10913 * Updated parts of the protocol specification to keep it up
10916 Thu Feb 22 15:08:20 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10918 * Added List flag (SILC_PACKET_FLAG_LIST) to indicate list of
10919 payloads in one packet.
10921 * Deprecated following packet types: NEW_ID_LIST, NEW_CHANNEL_LIST,
10922 NEW_CHANNEL_USER_LIST, SET_MODE and SET_MODE_LIST. List packets
10923 use now the new List flag.
10925 * Also deprecated the following packet types: REPLACE_ID,
10926 NEW_CHANNEL_USER and REMOVE_CHANNEL_USER packet types.
10928 * Added list support for Notify packet in server.
10930 * Added silc_server_send_notify_channel_change to send the
10931 CHANNEL_CHANGE notify type to replace channel ID's. Deprecates
10932 the silc_server_send_replace_id.
10934 * Added silc_server_send_notify_nick_change to send the
10935 NICK_CHANGE notify type. Deprecates the function
10936 silc_server_send_replace_id.
10938 * Added silc_server_send_notify_join to send the JOIN notify type.
10939 Deprecates the function silc_server_send_new_channel_user.
10941 * Added silc_server_send_notify_leave to send LEAVE notify type.
10942 Deprecates the function silc_server_send_remove_channel_user.
10944 * Added silc_server_send_notify_cmode and
10945 silc_server_send_notify_cumode to send CMODE and CUMODE notify
10946 types. Deprecates the silc_server_send_set_mode function.
10948 * Added SERVER_SIGNOFF notify type to indicate that server has
10949 quit. This means that all clients on the channel from that
10950 server will drop. This can be also used when netsplit happens.
10952 Deprecated REMOVE_ID packet type since it is not needed anymore
10955 Added silc_server_send_notify_server_signoff to send the
10956 SERVER_SIGNOFF notify type. Deprecates the function
10957 silc_server_send_remove_id.
10959 Added also silc_server_send_notify_signoff to send the
10960 SIGNOFF notify type.
10962 * Employed the PKCS #1. It is the mandatory way to do RSA in the
10963 SILC protocol from this day on. Changed the protocol
10964 specification as well.
10966 * Added silc_server_send_notify_topic_set to send TOPIC_SET
10967 notify type. It is used between routers to notify about
10968 topic changes on a channel.
10970 * Added silc_id_dup into lib/silccore/id.[ch] to duplicate
10973 * Partly updated the protocol specification to comply with the
10974 changes now made. It is still though a bit outdated.
10976 * The JOIN notify type now takes one extra argument <Channel ID>.
10977 The packet used to be destined to the channel but now the
10978 JOIN type may be sent as list thus it is impossible to
10979 destine it to any specific channel. By adding this argument
10980 it is again possible.
10982 Wed Feb 21 22:39:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10984 * Added CREDITS file. The CHANGES and CREDITS file will appear
10985 in the distribution as well.
10987 Wed Feb 21 14:17:04 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10989 * Implemented CMODE_CHANGE, CUMODE_CHANGE and TOPIC_SET notify
10990 types in the server's silcd/packet_receive.c.
10992 * Implemented CMODE and CUMODE to work in router environment.
10994 * Fixed minor encoding and decoding buglet from the
10995 lib/silccore/silcmode.c.
10997 * Fixed buffer overflow from lib/silcclient/command.c in USERS
11000 Wed Feb 21 12:44:00 EET 2001 Mika Boström <bostik@lut.fi>
11002 * Changed all SilcConfigServer* and silc_config_server* to
11003 SilcServerConfig* and silc_server_config*, respectively.
11006 Wed Feb 21 00:10:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11008 * Associated the ID (client or server ID) to the Authentication
11009 Payload to avoid any possibility of forging. Updated the
11010 protocol specification and the code accordingly.
11012 Tue Feb 20 14:14:14 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11014 * The RSA key length is now save to the RsaKey context in the
11015 key generation process in lib/silccrypt/rsa.c. The key length
11016 is now used to figure out the maximum size of the block allowed
11017 to be encrypted/signed.
11019 * Added silc_mp_mp2bin_noalloc into lib/silcmath/mpbin.[ch]. It
11020 is equivalent to the silc_mp_mp2bin but does not allocate any
11023 * Changed silc_mp_mp2bin API to take length argument. If it is
11024 non-zero then the buffer is allocated that large. If zero, then
11025 the size is approximated using silc_mp_sizeinbase, which however
11028 * Created Global RNG API which is global RNG that application can
11029 initialize. After initializing, any routine anywhere in the
11030 code (including library) can use RNG without allocating a new
11031 RNG object. This was done to allow this sort of use of the
11032 RNG in code that has no chance to allocate RNG object. All
11033 applications currently allocate this and many routines in the
11034 library use this. Affected file lib/silccrypt/silcrng.[ch].
11036 * Removed the RNG kludge from lib/silcmath/primegen.c and changed
11037 it to use the Global RNG API.
11039 * Defined Authentication Payload into protocol specification that
11040 is used during SILC session to authenticate entities. It is
11041 used for example by client to authenticate itself to the server
11042 to obtain server operator privileges.
11044 Implemented this payload into the lib/silccore/silcauth.[ch].
11045 Implemented also routines for public key based authentication
11046 as the new protocol specification dictates.
11048 Moved definitions of different authentication methods from
11049 lib/silccore/silcprotocol.h into lib/silccore/silcauth.h.
11051 * Added silc_pkcs_encrypt, silc_pkcs_decrypt, silc_pkcs_sign,
11052 silc_pkcs_verify and silc_pkcs_sign_with_hash and
11053 silc_pkcs_verify_with_hash functions into the file
11054 lib/silccrypt/silcpkcs.[ch].
11056 Mon Feb 19 19:59:28 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11058 * The client entry's userinfo pointer must be always valid.
11059 Otherwise the [<unknown>] bug will surface beacuse the WHOIS
11060 will fail since it requires the userinfo. Now, the userinfo
11061 is allocated as "" if actual userinfo does not exist. Actually,
11062 it must exist and it is totally Ok to drop client connections
11063 that does not announce the userinfo. However, we will make
11064 this workaround for now.
11066 * Added silc_net_get_remote_port into lib/silcutil/silcnet.[ch]
11067 to return the remote port by socket.
11069 Mon Feb 19 14:26:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11071 * Changed SILC_SERVER_COMMAND_EXEC_PENDING macro to the name
11072 SILC_SERVER_PENDING_EXEC and added an new macro
11073 SILC_SERVER_PENDING_DESTRUCTOR which is called to free the
11074 data or when error occurs while processing the pending command.
11076 Added new argument `destructor' into silc_server_command_pending
11077 and to the SilcServerCommandPending object. This destructor is
11078 now called after calling the pending callback or if error occurs
11079 immediately. If error occurs the actual pending callback won't
11080 be called at all - only the destructor. The destructor may be
11081 NULL if destructor is not needed.
11083 All this applies for client library code as well. Similar
11084 changes were made there as well for the pending commands.
11086 In the client, the application must now allocate the
11087 SilcClientCommandContext with the silc_client_command_alloc
11090 * Added reference counter to the SilcServerCommandContext. Added
11091 function silc_server_command_alloc and silc_server_command_dup
11094 Same type of functions added to the client library for the same
11097 * Removed the cmd_ident from IDListData away since it is now
11098 global for all connections. It is the command identifier used
11099 in command sending and with pending commands. The affected file
11102 * Added reference counter to the SilcSocketConnection objecet to
11103 indicate the usage count of the object. The object won't be
11104 freed untill the reference counter hits zero. Currently only
11105 server uses this, and client ignores it. The client must be
11106 set to use this too later. The affected files are
11107 lib/silccore/silcsockconn.[ch]. Added also the function
11108 silc_socket_dup to increase the reference counter.
11110 This was mainly added because it is possible that the socket
11111 is removed underneath of pending command or other async
11112 operation. Now it won't be free'd and proper DISCONNECTING
11113 flags, etc. can be set to avoid sending data to connection that
11114 is not valid anymore.
11116 * Added SILC_SET_DISCONNECTING to server.c when EOF is read from
11117 the connection. After that it sets SILC_SET_DISCONNECTED.
11118 It is, however, possible that the socket data is not still freed.
11119 The silc_server_packet_process now checks that data is not
11120 read or written to connection that is DISCONNECTED. The socket
11121 get's freed when the reference counter hits zero.
11123 Mon Feb 19 00:50:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11125 * Changed the client operation API: channel_message operation's
11126 `sender' is now the client entry of the sender, not the nickname
11127 and the `channel' is the channel entry, not the channel name.
11129 In the private_message operation the `sender' is now also the
11130 client entry of the sender not the nickname.
11132 Affected file is lib/silcclient/ops.h and all applications
11133 using the client operations.
11135 Sat Feb 17 22:11:50 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11137 * Moved the calling of ops->connect() from connect_to_server_final
11138 into receive_new_id functin since that is the point when the
11139 client is actually allowed to send traffic to network. The
11140 affected file is lib/silcclient/client.c.
11142 Sat Feb 17 13:15:35 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11144 * When receiving NEW_CHANNEL_LIST, NEW_CHANNEL_USER_LIST,
11145 NEW_ID_LIST and SET_MODE_LIST packets, broadcast the list packet
11146 (if needs broadcasting) instead of broadcasting the packets one
11147 by one which would make a burst in the network traffic.
11149 * Added `broadcast' argument to the functions in silcd/server.[ch]
11150 silc_server_create_new_channel[_with_id] to indicate whether
11151 to send New Channel packet to primary router.
11153 Sat Feb 17 01:06:44 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11155 * Added new function into the silcd/server.[ch] files:
11156 silc_server_create_new_channel_with_id to create new channel with
11157 already existing Channel ID.
11159 * Added new packet type SILC_PACKET_SET_MODE_LIST into the file
11160 lib/silccore/silcpacket.h. This packet is used t send list of
11161 Set Mode payloads inside one packet. Server uses this to set
11162 the modes for the channels and clients on those channels, that it
11163 announced to the router when it connected to it. The protocol
11164 specification has been updated accordingly.
11166 * The silc_server_new_channel did not handle the packet coming
11167 from normal server as it normally does not send that. However,
11168 when it announces its channels it does send it. Implemented
11169 the support for that.
11171 * Added SILC_ID_CHANNEL_COMPARE macro to compare to Channel ID's
11172 into the file lib/silccore/id.h.
11174 Fri Feb 16 23:57:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11176 * Fixed memory leaks in the functions silc_idlist_del_client,
11177 silc_idlist_del_channel and silc_idlist_del_server in the file
11178 silcd/idlist.c. All of those leaked like a sieve.
11180 * Fixed some small memory leaks in the client's function
11181 silc_client_notify_by_server.
11183 * Added functions into silcd/server.c: silc_server_announce_clients,
11184 silc_server_announce_channels and silc_server_announce_server.
11185 These functions are used by normal and router server to announce
11186 to its primary router about clients, channels and servers (when
11187 router) that we own. This is done after we've connected to the
11190 These functions effectively implements the following packet types:
11191 SILC_PACKET_NEW_CHANNEL_LIST, SILC_PACKET_NEW_CHANNEL_USER_LIST
11192 and SILC_PACKET_NEW_ID_LIST.
11194 * Added new functions into the silcd/packet_receive.[ch]:
11195 silc_server_new_id_list, silc_server_new_channel_list and
11196 silc_server_new_channel_user_list to handle the incoming
11197 NEW_ID_LIST, NEW_CHANNEL_LIST and NEW_CHANNEL_USER_LIST packets.
11199 * Added support of changing Channel ID in the function
11200 silc_server_replace_id. If the server that announces a channel
11201 to the router already exists in the router (with same name but
11202 with different Channel ID), router is responsible to send
11203 Replace ID packet to the server and force the server to change
11204 the Channel ID to the one router has.
11206 * Added new notify type SILC_NOTIFY_TYPE_CHANNEL_CHANGE to notify
11207 client that the Channel ID has been changed by the router. The
11208 normal server sends this to the client. Client must start using
11209 the new Channel ID as the channel's ID.
11211 Implemented handling of this new type into lib/silcclient/client.c
11212 into the function silc_client_notify_by_server.
11214 * Added new function silc_idlist_replace_channel_id into the files
11215 silcd/idlist.[ch] to replace the Channel ID.
11217 Fri Feb 16 14:14:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11219 * Call silc_server_command_identify_check always when processing
11220 the IDENTIFY command in silcd/command.c
11222 Thu Feb 15 20:07:37 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11224 * Added new packet type SILC_PACKET_HEARTBEAT that is used to
11225 send keepalive packets. The packet can be sent by clients,
11226 servers and routers.
11228 Added function silc_socket_set_heartbeat into the file
11229 lib/silccore/silcsockconn.[ch] to set the heartbeat timeout.
11230 If not set, the heartbeat is not performed. The actual
11231 heartbeat is implemented in the low level socket connection
11232 library. However, application is responsible of actually
11233 sending the packet.
11235 Added silc_server_send_heartbeat to send the actual heartbeat
11236 packet into silcd/packet_send.[ch]. Server now performs
11237 keepalive with all connections.
11239 * Added silc_task_get_first function into lib/silcutil/silctask.c
11240 to return the timeout task with shortest timeout. There was a bug
11241 in task unregistration that caused problems. TODO has been
11242 updated to include that task system must be rewritten.
11244 * The client library will now resolve the client information when
11245 receiving JOIN notify from server for client that we know but
11246 have incomplete information.
11248 * Rewrote parts of silc_server_remove_from_channels and
11249 silc_server_remove_from_one_channel as they did not remove the
11250 channel in some circumstances even though they should've.
11252 * Encryption problem encountered in server:
11254 The LEAVE command used to send the Channel Key packet to the
11255 router immediately after generating it. However, the code
11256 had earlier sent Remove Channel user packet but not immediately,
11257 ie. it was put to queue. The order of packets in the router
11258 was that Channel Key packet was first and Remove Channel User
11259 packet was second, even though they were encrypted in the
11260 reverse order. For this reason, MAC check failed. Now, this
11261 is fixed by not sending the Channel Key packet immediately but
11262 putting it to queue. However, this is more fundamental problem:
11263 packets that are in queue should actually not be encrypted
11264 because packets that are sent immediately gets encrypted
11265 actually with wrong IV (and thus MAC check fails). So, packets
11266 that are in queue should be encrypted when they are sent to
11267 the wire and not when they put to the queue.
11269 However, the problem is that the current system has not been
11270 designed to work that way. Instead, the packet is encrypted
11271 as soon as possible and left to the queue. The queue is then
11272 just purged into wire. There won't be any fixes for this
11273 any time soon. So, the current semantic for packet sending
11276 o If you send packet to remote host and do not force the send
11277 (the packet will be in queue) then all subsequent packets to the
11278 same remote host must also be put to the queue. Only after the
11279 queue has been purged is it safe again to force the packet
11282 o If you send all packets immediately then it safe to send
11283 any of subsequent packets through the queue, however, after
11284 the first packet is put to queue then any subsequent packets
11285 must also be put to the queue.
11287 Follow these rules and everything works fine.
11289 Thu Feb 15 14:24:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11291 * Added new function silc_server_remove_clients_by_server to
11292 remove all client entries from ID list when the server connection
11293 is lost. In this case it is also important to invalidate all
11294 client entires as they hold the invalid server entry. This
11295 fixes fatal bug when server has lost connection and will reconnect
11298 Wed Feb 14 16:03:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11300 * Made some sanity checks to silc_server_daemonise like to check
11301 whether the requested user and group actually exists.
11303 * Added sanity check to SKE's silc_ske_responder_finish to check
11304 that the public and private key actually is valid.
11306 * Invalidate the client's nickname when receiving Replace ID
11307 packet and the Client ID is being replaced. This means that the
11308 server will query the nickname if someone needs it (client)
11311 * Sort the ID Cache in client library when the ID Cache data
11312 has changed (needs sorting).
11314 * Do not allow for SILC client to create several connections to
11315 several servers. The client does not support windows right now
11316 and generating multiple connections causes weird behaviour.
11318 Irssi-silc client does support windows and can handle several
11319 connections without problems, see: www.irssi.org and SILC plugin.
11321 * Fixed some places where client was added to the IDList. The
11322 rule of thumb is following (in order to get everything right):
11323 If the client is directly connected local client then the
11324 `connection' argument must be set and `router' argument must be
11325 NULL to silc_idlist_add_client function. If the client is not
11326 directly connected client then the `router' argument must
11327 bet set and the `connection' argument must be NULL to the
11328 silc_idlist_add_client function.
11330 * The funtion silc_server_packet_send_local_channel actually did
11331 not check whether the client was locally connected or not. It
11332 does that now. Fixed a bug related to LEAVE command.
11334 * Fixed Remove Channel User payload parsing bug in server's
11335 silcd/packet_receive.c. Fixed a bug related to LEAVE command.
11337 * The server's silc_server_save_channel_key now checks also the
11338 global ID list for the channel as it might not be in the local
11339 list. Fixed a bug related to LEAVE command.
11341 * Is this the end of the [<unknown>] buglet that has been lurking
11342 around for a long time? A little for loop fix in server's
11343 silc_server_command_whois_parse that is used by both IDENTIFY
11344 and WHOIS command. At least, this was a clear bug and a cause
11345 of one type of [<unknown>] buglet.
11347 * WHOIS and IDENTIFY commands call the function
11348 silc_server_command_[whois/identify]_check function even if
11349 we are not router server.
11351 Tue Feb 13 19:55:59 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11353 * Added --with-gmp configuration option. If set the GMP
11354 is always compiled in the SILC source tree. If not set then
11355 it is checked whether the system has the GMP3 installed. If
11356 it has then the GMP won't be compiled (the system's headers
11357 and library is used), if it doesn't have it then the GMP is
11358 compiled in the SILC source tree.
11360 Mon Feb 12 11:20:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11362 * Changed RSA private exponent generation to what PKCS #1
11363 suggests. We try to find the smallest possible d by doing
11364 modinv(e, lcm(phi)) instead of modinv(e, phi). Note: this is
11365 not security fix but optimization.
11367 Sun Feb 11 18:19:51 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11369 * Added new config entry [Identity] to fork the server and run
11370 it as specific user and group. A patch from Bostik.
11372 * Imported Dotconf configuration library into lib/dotconf.
11373 This will be used to create the SILC configuration files later.
11374 It will appear in the distsribution after this commit.
11376 Sat Feb 10 21:13:45 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11378 * A big code auditing weekend happening. Auditing code for
11379 obvious mistakes, bugs and errors. Also, removing any code
11382 Removed files for being obsolete:
11384 o lib/silcutil/silcbuffer.c (the buffer interface is entirely in
11385 inline in the file lib/silcutil/silcbuffer.h)
11387 o lib/silcutil/silcbufutil.c (the header has inline versions)
11389 Changed code to fix possible error conditions:
11391 o The buffer formatting routines now check that the destination
11392 buffer really has enough space to add the data. This applies for
11393 both buffer formatting and unformatting
11394 (lib/silcutil/silcbuffmt.[ch]). Also, the entire buffer
11395 unformatting was changed to accomodate following rules:
11396 XXX_*STRING_ALLOC will allocate space for the data into the pointer
11397 sent to the function while XXX_*STRING will not allocate or copy
11398 the data into the buffer. Instead it sets the pointer from the
11399 buffer into the pointer sent as argument (XXX_*STRING used to
11400 require that the pointer must be allocated already). This change
11401 makes this whole thing a bit more consistent and more optimized
11402 (note that the data returned in the unformatting with XXX_*STRING
11403 must not be freed now). The routines return now -1 on error.
11405 o Tried to find all code that use buffer_format and buffer_unformat
11406 and added return value checking to prevent formatting and
11407 especially unformatting errors and possible subsequent fatal
11410 o Changed ske->x and ske->KEY to mallocated pointers in
11411 lib/silcske/silcske.h. Fixed possible data and memory leak.
11413 o Added return value checking to all *_parse* functions. Fixed
11414 many memory leaks as well.
11416 o Added length argument to silc_id_str2id in lib/silccore/id.[ch]
11417 so that buffer overflows would not happen. All code now also
11418 checks the return value as it can fail.
11420 Mon Feb 5 20:08:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11422 * Added reconnection support to server if the normal server looses
11423 its connection to the router (for example if router is rebooted).
11424 The server performs normal reconnection strategy implemented
11425 to the server. Affected file silcd/server.c.
11427 Sun Feb 4 13:18:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11429 * Added new packet type SILC_PACKET_SET_MODE that is used to
11430 distribute the information about changed modes (for clients,
11431 channels and clients channel modes) to all routers in the
11432 network. Updated the protocol specification accordingly.
11434 Added functions into silcd/packet_send.c and
11435 silcd/packet_receive.c: silc_server_send_set_mode,
11436 silc_server_set_mode.
11438 Added new files silcmode.[ch] into lib/silccore that implements
11439 the encoding and decoding of Set Mode Payload. Added new type
11440 SilcSetModePayload. Moved the definitions of different modes
11441 from lib/silccore/silcchannel.h into lib/silccore/silcmode.h.
11443 Sat Feb 3 15:44:54 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11445 * Oops, a little mistake in server's connection authentication
11446 protocol. The protocol is not ended with FAILURE but with
11447 SUCCESS if the authentication is Ok. :) Affected file is
11450 * Implemented NICK_CHANGE notify handling in server in the file
11451 silcd/packet_receive.c The NICK_CHANGE notify is distributed to
11452 the local clients on the channel. After the changing nickname
11453 in router environment snhould work and the [<unknown>] nickname
11454 should appear no more.
11456 The silc_server_replace_id function that receives the Replace ID
11457 payload now sends the NICK_CHANGE notify type also in the file
11458 silcd/packet_receive.c
11460 * Changed WHOIS and IDENTIFY command to support the maximum amount
11461 of arguments defined in protocol specs (3328 arguments). This
11462 fixed a bug that caused problems when there were more than three
11463 users on a channel.
11465 Fri Feb 2 11:42:56 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11467 * Added extra parameter, command identifier, to the
11468 silc_client_send_command so that explicit command identifier
11471 Changed that ID list routines uses specific command identifier
11472 when sending WHOIS/IDENTIFY requests to the server so that they
11473 can be identified when the reply comes back.
11475 Affected files lib/silcclient/command.[ch],
11476 lib/silcclient/client.c and lib/silcclient/idlist.[ch].
11478 * Added `sender' argument to silc_server_packet_send_to_channel
11479 to indicaet the sender who originally sent the packet to us
11480 that we are now re-sending. Ignored if NULL. Affected file
11481 silcd/packet_send.[ch].
11483 * Added some server statistics support in silcd/server_internal.h
11484 SilcServerStatistics structure and around the server code. Also
11485 send some nice statistics information when client is connecting
11488 Thu Feb 1 23:31:21 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11490 * Fixed channel ID decoding in server's JOIN command reply in
11491 silcd/command_reply.c
11493 * Fixed braodcasting of replace ID payload to not to send it if
11494 we are standalone server in silcd/packet_receive.c.
11496 * Fixed all channel message sending routines to not to send
11497 packets to clients that has router set, since they are routed
11498 separately in the same function earlier. Affects file
11499 silcd/packet_send.c and all channel packet sending functions.
11501 * In USERS reply, res_argv[i] are not allocated, the table
11502 is allocated. Thus changed that free the table, not its
11505 * In server's whois_check and identify_check if the client is
11506 locally connected do not send any WHOIS commands - they are not
11509 Thu Feb 1 21:32:27 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11511 * Fixed some minor bugs in client when sending WHOIS command. The
11512 arguments was in wrong order.
11514 * Removed statis function add_to_channel from server in
11515 silcd/command.c that was previously used with the joining but
11518 * Tested USERS command in router environment successfully with two
11519 routers, two servers and two clients.
11521 Thu Feb 1 00:54:26 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11523 * Reorganized the USERS command and command reply in client library
11524 in lib/silcclient/command.c and lib/silcclient/command_reply.c.
11525 When the command is given by user we register a pending command
11526 callback that will reprocess the command after the reply has been
11527 received from the server. When reprocessing the packet we then
11528 display the information. Thus, the USERS information is displayed
11529 now in the command callback instead of in the command reply
11530 callback. The processing of the command is same as previously
11531 when server has sent the command reply in the JOINing process.
11533 * Added to USERS command in silcd/command_reply.c to join the client,
11534 we didn't use to know about, to the channel after we've created
11535 a client entry for it. Also, for clienet we did know already still
11536 check whether it is on the channel or not and add it if not.
11538 * Removed silc_server_command_join_notify as the function and its
11541 Tue Jan 30 22:39:15 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11543 * Changed the client's pending command handling to the same as the
11544 server's pending command handling. It is also now possible to
11545 execute command reply functions from other command reply
11546 function as the function callbacks for commands and command
11547 replies are one and same. The pending commands are not static
11548 list anymore, it is mallocated SilcDList in lib/silcclient/client.h
11549 in client connection context. Thus, pending commands are server
11550 connection specific as it is convenient.
11552 Changed the function silc_client_command_pending and
11553 silc_client_command_pending_del and added new function
11554 silc_client_command_pending_check. Removed the
11555 SILC_CLIENT_CMD_REPLY_EXEC, and SILC_CLIENT_PENDING_COMMAND_CHECK
11558 * Added cmd_ident, current command identifier, to the client
11559 connection context in lib/silcclient/client.h to keep track on
11560 command identifiers used in command sending. Client's command reply
11561 function handling now supports the mandatory command identifiers.
11563 * Added SILC_CLIENT_COMMAND_EXEC_PENDING macros to all command reply
11564 funtions in client to fully support pending command callbacks.
11566 * NOTE: the name_list in USERS (old NAMES) command is NOT sent anymore
11567 as one of the arguments to the application in the command reply
11570 * NOTE: The FORWARDED flag is depracated. It used to be depracated
11571 before first releasing SILC but came back. Now it is removed again
11572 and should come back nomore. The FORWARDED flag was used only
11573 by the JOINing procedure by forwarding the command packet to router.
11574 Now, the JOINing procedure has been changed to more generic (due
11575 to various router environment issues) and FORWARDED is not needed
11576 anymore for anything. The protocol specification is yet to be
11579 Now, removed silc_server_packet_forward from server and the flag
11580 SILC_PACKET_FORWARDED from lib/silccore/silcpacket.h.
11582 Tue Jan 30 00:05:05 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11584 * Renamed NAMES command to USERS command. The NAMES was named that
11585 due to historical reasons. Now it is renamed. Also, rewrote
11586 parts of the USERS command. The nickname list is not sent anymore
11587 by the server. Only Client ID and mode lists are sent in the USERS
11588 command. Changed this also to the protocol specification.
11590 The client now resolves the names and stuff after it receives
11591 the USERS list from the server when joining to the channel.
11593 * WHOIS and IDENTIFY commands has been changed to support multiple
11594 Client ID's per command. One can now search for multiple users
11595 in the network by sending only one WHOIS or IDENTIFY command.
11596 Changed the code and the protocol specifications.
11598 * Removed silc_server_command_identify_parse and changed that IDENTIFY
11599 uses silc_server_command_whois_parse to parse the request. */
11601 * If normal server, do not parse the WHOIS and IDENTIFY requests
11602 before sending it to the router. Saves some time.
11604 Sun Jan 28 16:19:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11606 * Fixed JOIN command on client library. Wrong number of arguments
11607 used to crash the client.
11609 * Added silc_server_channel_has_global function to check whether
11610 channel has global users or not.
11612 * Added silc_server_channel_has_local function to check whether channel
11613 has locally connected clients on the channel.
11615 * The silc_server_remove_from_one_channel now checks whether the
11616 channel has global users or not after given client was removed from
11617 the channel. It also checks whether the channel has local clients
11618 on the channel anymore. If it does not have then the channel entry
11619 is removed as it is not needed anymore.
11621 * The silc_server_notify now checks on JOIN notify whether the joining
11622 client is one of locally connected or global. If it is global then
11623 the channel has now global users on the channel and that is marked
11624 to the channel entry. Also, it now saves the global client to
11625 global list who is joining and JOINs it to the channel. This is
11626 for normal server, that is.
11628 Changed silc_server_send_notify_on_channel,
11629 silc_server_packet_relay_to_channel and
11630 silc_server_packet_send_to_channel check if we are normal server
11631 and client has router set (ie. global client) do not send the
11632 message to that client, as it is already routed to our router.
11634 * Implemented LEAVE notify type handling in silc_server_notify
11637 * Tested LEAVE command in router environment successfully. Tested
11638 with two routers, two servers and two clients.
11642 * idlist_find_xxx_by_id routines now dumps the ID on the debug mode.
11644 * Implemented SIGNOFF notify type handling in silc_server_notify
11647 * silc_server_remove_id now removes the client entry from all channels
11648 it has joined and thusly sends SIGNOFF notify type.
11650 * Rewrote the NAMES list generation in server by removing two excess
11651 loops. The lists are created now inside one loop.
11653 Sat Jan 27 22:34:56 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11655 * silc_server_remove_channel_user checks now also global list
11656 for channel and client.
11658 * silc_server_new_channel_user checks now both local and global
11659 list for channel and client. Fixed a bug in client id decoding.
11660 Used to decode wrong buffer.
11662 * silc_server_channel_message checks now both local and global
11663 list for channel entry.
11665 * Tested channel joining (hence JOIN) in router environment
11666 successfully. Tested with two routers, two servers and two
11669 * Tested channel message sending in router environment successfully.
11671 Thu Jan 11 03:22:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11673 * Added silc_server_save_channel_key into server.[ch] to save the
11674 received channel key in Channel Key payload processing. It is
11675 also used in JOIN command reply handling.
11677 Equivalent function silc_client_save_channel_key added into
11678 client.[ch] into client library.
11680 * Changed JOIN command reply to send information whether the channel
11681 was created or not (is existing already) and the channel key
11682 payload. Changed protocol specs accordingly.
11684 * Fixed bugs in WHOIS and IDENTIFY command reply sending when
11685 the request was sent by ID and not by nickname. Crashed on
11688 Sat Dec 23 21:55:07 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11690 * Fixed a bug in Client library. IDENTIFY and WHOIS reply functions
11691 now correctly save the received data.
11693 * silc_server_free_sock_user_data now notifies routers in the
11694 network about entities leaving the network.
11696 At the same time implemented functions silc_server_remove_id
11697 and silc_server_send_remove_id to receive and send REMOVE_ID
11698 packets. The packet is used to notify routers in the network
11699 about leaving entities. The ID removed will become invalid in
11702 * Added function silc_idlist_del_server into server. Removes and
11703 free's server entry from ID list.
11705 * silc_server_private_message function now checks, if we are router,
11706 that the destination ID really is valid ID, naturally.
11708 * In router when NEW_ID packet is received (for new client) the
11709 hash of the Client ID is saved in the ID Cache but the
11710 client->nickname is set to NULL, instead of putting the hash
11713 IDENTIFY command now also checks that client->nickname must be
11714 valid. If it is not if will request the data from the server who
11715 owns the client. Added new function
11716 silc_server_command_identify_check.
11718 * Added silc_command_set_command into lib/silccore/silcommand.[ch]
11719 to set the command to already allocated Command Payload.
11721 * Tested private message sending in router environment with two
11722 routers, two servers and two clients. Fixed minor bugs and now
11725 * Fixed segfault from client's NAMES command. Used to crash if
11726 not on any channel.
11728 * Forwarded packets must not be routed even if it is not destined
11729 to the receiver. Changed server code comply with this.
11731 Sun Dec 17 14:40:08 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11733 * Added `require_reverse_mapping' boolean value to ServerParams
11734 structure. If TRUE (not default) the server will require that
11735 the connecting host has fully qualified domain name.
11737 If the reverse mapping is not required and hostname could not be
11738 found the IP address is used as hostname.
11740 Sat Dec 16 17:39:54 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11742 * Implemented version string checking to both client and server.
11743 The check is incomplete currently due to the abnormal version
11744 strings used in development version of SILC.
11746 * Changed all command functions in server to use the new
11749 Fri Dec 15 15:55:12 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11751 * Changed char *data to unsigned char *data in ID Cache system to
11752 support binary data as ID Cache data. Changed code to support
11753 binary data in lib/silccore/idcache.c.
11755 * Renamed silc_server_packet_relay_command_reply to
11756 silc_server_command_reply as it is normal packet receiving
11757 function. Rewrote the function to accept command replys for
11758 servers and not only for clients.
11760 * Mark remote router always as registered server if we are connecting
11761 to it. Otherwise, commands sent by the router to us are ignored.
11763 * All ID List find routines now returns the ID Cache Entry pointer
11764 as well if requested.
11766 * WHOIS command works now in router environment, tested with two
11767 routers, two servers and two clients.
11769 * Cleaned up and rewrote IDENTIFY command. IDENTIFY should work now
11770 in router environment (as it is almost equivalent to WHOIS) but
11771 hasn't been tested thoroughly. Added new functions:
11773 silc_server_command_identify_parse
11774 silc_server_command_identify_send_reply
11775 silc_server_command_identify_from_client
11776 silc_server_command_identify_from_server
11778 * Disabled route cache adding because adding two different ID's with
11779 same IP replaces the old cache entry thus giving wrong route.
11780 The entry->router->connection is always the fastest route anyway
11781 so route cache may not be needed. Of course, new routes maybe
11782 established after receiving the ID when the entry->router->connection
11783 might not be anymore the most optimal.
11785 Thu Dec 14 15:55:35 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11787 * Add route cache for received ID for fast routing.
11789 * Added silc_server_packet_route to route received packet on router
11790 that is not destined to us.
11792 * Renamed silc_server_get_route to silc_server_route_get.
11794 * Added id_string and id_string_len fields into SilcServer to
11795 include encoded ServerID for fast comparing without excess
11796 encoding of the ID's.
11798 * Cleaned up WHOIS command on server side. Added following static
11801 silc_server_command_whois_parse
11802 silc_server_command_whois_check
11803 silc_server_command_whois_send_reply
11804 silc_server_command_whois_from_client
11805 silc_server_command_whois_from_server
11807 * Added macro SILC_SERVER_COMMAND_CHECK_ARGC to check mandatory
11808 arguments in command replies. All command functions should be
11809 updated to use this macro.
11811 Sun Dec 10 23:52:00 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11813 * Minor typo fixes on command reply handling on server.
11815 Tue Nov 28 11:05:39 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11817 * Added silc_server_command_add_to_channel internal routine to add
11818 the client to the channel after router has created the channel and
11819 sent command reply to the server.
11821 * Added generic silc_server_send_command to send any command from
11824 * Use static buffer with ID rendering instead of duplicating data.
11826 Mon Nov 27 21:39:40 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11828 * Fixed a channel user mode bug when joining to a channel server gave
11829 everybody channel founder rights, oops.
11831 * We mark ourselves as the router of the incoming server connection
11832 if we are router ourselves. This way we can check in some packet
11833 sending functions whether it is locally connected server. For
11834 incoming router connections we put NULL.
11836 * For router sending packets locally means now always sending the
11837 packet cell wide; to local clients and local servers. For normal
11838 server sending packet locally means sending it to only local
11841 * Fixed the JOIN command to really work in router environment. If the
11842 channel is created it is always created by the router. Router is
11843 also responsible of making the initial joining to the channel,
11844 sending JOIN notify to the sending server and distributing
11845 NEW_CHANNEL and NEW_CHANNEL_USER packets. Hence, if the channel
11846 does not exist server doesn't do anything else but forward the
11847 command to the router which performs everything.
11849 * Added silc_server_send_channel_key function to send the Channel Key
11852 * Added silc_server_create_channel_key to create new channel key. The
11853 channel key is now re-generated everytime someone joins or leaves
11854 a channel, as protocol dictates. Note: channel->key_len is the
11855 key length in bits.
11857 Wed Nov 22 22:14:19 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11859 * Splitted server.[ch] finally. Created now packet_send.[ch] and
11860 packet_receive.[ch] to separate packet sending and receiving
11861 routines. The server.[ch] now includes everything else including
11862 actual packet processing (writing and reading data) and other
11865 Renamed silc_server_private_message_send_internal to
11866 silc_server_send_private_message. The routine is still though
11867 used only to relay private messages as server does not send
11868 private messages itself.
11870 Renamed silc_server_new_channel to silc_server_create_new_channel
11871 and added new function sicl_server_new_channel that handles the
11872 incoming New Channel packet. Added also new sending function
11873 silc_server_send_new_channel to send New Channel Payload.
11875 * Added new function silc_server_notify to process incoming notify
11876 packet to the server/router. Server may then relay the notify
11877 to clients if needed.
11879 * Added new function silc_server_new_channel_user to process incoming
11880 New Channel User packet. Router will redistribute the packet and
11881 send JOIN notify to its local clients and locally connected servers
11882 if needed. Normal server will send JOIN notify to its local client
11883 on same channel when received this packet. Added also corresponding
11884 sending function silc_server_send_new_channel_user to sent the
11887 * Added boolean route argument to send_notif_to_channel and
11888 packet_send_to_channel functions to attempt to route the packet
11889 if it is TRUE and send only locally if it is FALSE.
11891 Tue Nov 21 19:49:31 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11893 * silc_server_replace_id now broadcasts the received replace ID
11894 packet if it is not broadcast packet already. The router must
11895 broadcast to inform other routers about changed ID.
11897 * Added backpointer to server's router into SilcServer context in
11898 silcd/server_internal.h.
11900 * Fixed silc_server_packet_broadcast to send correct broadcast
11903 * The channel key is now distributed to the local client as soon
11904 as it is received from the router (in router environment) so that
11905 no other packet may be sent for the channel until client has
11908 * silc_server_remove_channel_user now broadcasts the received
11909 Remove Channel User packet if it is not broadcast packet already.
11910 The router must broadcast to inform other routers about removed
11913 * Added users field into SilcPacketContext that is a reference count
11914 of the context. One can increase the reference count by calling
11915 silc_packet_context_dup which is now changed to just increase the
11916 reference count instead of duplicating the data. The reference
11917 count is decresed by calling silc_packet_context_free that will
11918 free the data after the reference count hits zero.
11920 For now on the packet context and everything allocated into it
11921 (including the raw packet from network) must be freed by calling
11922 the new silc_packet_context_free function. Added also new function
11923 silc_packet_context_alloc that must be used now to allocate the
11924 context. This also means that if a routine is asynchronous from
11925 silc_[client/server]_packet_parse_type the packet context must
11926 be duplicated by calling silc_packet_context_dup. Otherwise it
11927 gets free'd after silc_[client/server]_packet_parse_type returns.
11928 Also, one must remember that if packet is duplicated then its
11929 reference count must be decresed by calling the free function as
11930 many times as it was duplicated.
11932 * Changed SilcBuffer field from protocol contexts to SilcPacketContext
11933 from both client and server.
11935 Mon Nov 20 23:47:03 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11937 * Made joining to a channel working in router environment.
11939 * Cleaned up JOIN command on server side and create function
11940 silc_server_command_join_channel internal routine to make the
11943 Thu Nov 9 21:12:39 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11945 * Changed silc_command_pending list to SilcDList. Also, added
11946 `ident' field to SilcServerCommandPending structure to identify
11947 the reply and to call correct callback.
11949 Added silc_server_command_pending_check function to replace the
11950 corresnponding macro. The silc_command_pending list is not
11953 * Added silc_command_set_ident into lib/silccore/silccommand.[ch]
11954 to set identifier to previously allocated Command Payload. It
11955 is used to set identifier for command when resending Command
11958 * Added silc_command_payload_encode_payload to encode Command
11959 Payload buffer from SilcCommandPayload structure.
11961 * Added silc_argument_payload_encode_payload to encode Argument
11962 payload buffer from SilcArgumentPayload structure.
11964 Wed Nov 8 21:03:28 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11966 * Changed WHOIS command to support router connection on server side.
11967 The whois request is always sent to router unless the server is
11968 standalone server. After server has received the reply from the
11969 router will it send the reply to the client.
11971 * Added silc_server_packet_broadcast into silcd/server.[ch] to
11972 broadcast received broadcast packet. The function is used only
11973 by router. The broadcast packet is always sent to the router's
11976 * Added silc_id_render function in lib/silcutil/silcutil.[ch] to
11977 render given ID to printable string, for log files for example.
11979 Tue Nov 7 22:14:19 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11981 * Made basic router to router connections working. At least they
11982 can now connect to each other but nothing really works the way
11983 they are supposed - yet.
11985 * Added new initiator token to RouterConnection configuration
11986 file in silcd/serverconfig.[ch]. It is used to tell whether we
11987 are the initiator to the remote router or whether we'll expect
11988 the other end to connect.
11990 * Moved registering of listener task to silc_server_init, hence
11991 the server starts listenning as soon as it is run, even if it
11992 does not have connections to other routers. Let's see how well
11995 * Changed default connection retry timeouts for more suitable in
11998 * Removed cipher and such arguments from silc_idlist_add_client
11999 and silc_idlist_add_server prototypes from silcd/idlist.[ch].
12000 Added new function silc_idlist_add_data to add the keys and stuff
12003 * Added SilcIDListData structure and added it to SilcClientEntry
12004 and SilcServerEntry as their first field in the structure. This
12005 way we can explicitly cast the ID entries to the SilcIDListData
12006 structure and get common data for the entries. In past, we had
12007 to first check what type of connection it is and then cast it to
12008 correct ID entry type. Now, we can directly cast the opaque
12009 pointer to the SilcIDListData (no matter what ID entry it actually
12010 is) and get the data needed.
12012 Mon Nov 6 21:56:12 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12014 * Wow, found a bug in scheduler. The scheduler uninitialized itself
12015 in some circumstances even if threre were timeout tasks, though not
12016 IO tasks, but tasks anyway. Now fixed.
12018 * Defined SilcServerConnection structure to hold connection specific
12019 stuff about directly connected servers and routers. The definition
12020 is currently in silcd/server_internal.h. I thought about having
12021 a bit more important role fro this struct but for now it is used
12022 only when connecting to other server (or router actually).
12024 * Added connecting retry support in server when connecting to
12025 router(s). The retry feature implement exponential backoff
12026 algorithm. Also, added SilcServerParams structure to hold default
12027 parameters for server. For now, it include these retry settings
12028 and are hard coded. After server is moded to be as Silc Server
12029 Library this structure will be more important.
12031 Sun Nov 5 22:28:44 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12033 * Changed client librarys channel->clients table to SilcList and
12034 changed code accordingly.
12036 Thu Nov 2 16:28:01 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12038 * Changed client's channel table to SilcList and changed code
12039 accordingly. Also changed SilcChannelClientEntry to include back-
12040 pointer to the channel so that client entry can use that structure
12041 as list as well and we have fast cross-reference to the channel.
12042 This change dramatically decreased the complexity of channel
12043 handling with client entry and vice versa (removed one extra
12044 loop when searching for channel entry from many functions).
12046 * Changed server->sim from table to SilcDList and changed code
12049 * NAMES command can now be used from user interface. It will show
12050 the user list on the channel, neatly.
12052 * Added realname pointer to SilcClientEntry in lib/silcclient/idlist.h.
12053 Code now saves realname of the user if it becomes available.
12055 * Renamed configure.in to configure.in.pre and made ./prepare
12056 script to automatically add correct version string to
12057 configure.in which it creates from configure.in.pre.
12059 Wed Nov 1 17:21:26 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12061 * NAMES command reply now shows users mode with the nickname when
12062 joining to channel.
12064 * Moved silc_client_ch[u]mode[_char] functions from
12065 silc/clientutil.[ch] to lib/silcclient/client.[ch]. Though, that
12066 place sucks, they are utility functions and should be in some
12069 * Fixed some unsigned int's to unsigned short's. Patch by cras.
12071 * Fixed contrib/getopt*.[ch] to not require config.h. Patch by
12074 Tue Oct 31 20:10:37 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12078 * Added TRQ (efficient deque and list library) into lib/trq. This is
12079 a very good list library that is currently used in the SILC. Defined
12080 SilcList API over the library because I didn't like the API very
12081 much. See lib/trq/silclist.h for the API and examples of how to
12082 use the API. Fixed various places in the code to use the new
12083 SilcList API. The SilcList is meant for lists that has a structure
12084 already defined as a list. It is not suitable to add just some
12085 context to the list (in TRQ, the context is the list actually).
12087 So, I defined SilcDList that can be used for the purpose where
12088 predefined list structure does not exit. This can be used as
12089 such list. Now some context just can be added to the SilcDList.
12090 Currently this list is not used in the SILC just yet, though there
12091 are a lot places where this can replace dynamically allocated
12092 tables and I will fix these places, later, to use SilcDList.
12093 See lib/trq/silcdlist.h for SilcDList (they are all inline functions,
12094 and use TRQ internally).
12096 Also fixed some annoying warning messages that the original TRQ
12097 code generated. Also minor changes to TRQ's Makefile.in.
12099 * Added support for querying by Client ID to both WHOIS and
12100 IDENTIFY commands into server, as required by the protocol.
12102 * Removed method function pointers from SilcBuffer structure. They
12103 weren't used to anything and just increased the context size for
12104 no good reason. This change also made silc_buffer_alloc and
12105 silc_buffer_free functions inline functions.
12107 * Disabled command flooding detection support until it's fixed so
12108 that it accepts commands in but does not execute them more than once
12111 * Added silc_net_localhost(), to return local hostname, into
12112 lib/silcutil/silcnet.[ch]. Also added client->hostname pointer
12113 that must be initialized before calling silc_client_init.
12115 * Added new function: silc_server_send_notify_on_channels to send
12116 notify messages to all channels client has joined. It is assured
12117 that the message is sent only once per client.
12119 * Moved silc_log_format (from lib/silcutil/silclog.[ch] into
12120 lib/silcutil/silcutil.[ch] as silc_format function. The new
12121 function is generic and is used by server as well, not only by
12122 the logging routines.
12124 * Added new SKE status type: SILC_SKE_STATUS_BAD_VERSION to indicate
12125 the provided version string was not acceptable. Added new function:
12126 silc_ske_check_version into lib/silcske/silcske.h. The function
12127 must be implemented by the application (client or server) and it
12128 does not reside in the SKE library. The function checks the version
12129 string remote end sent.
12131 * Added back pointers (to opaque context and to SilcSocketConnection)
12132 into SilcPacketContext structure into lib/silccore/silcpacket.h.
12134 * Added silc_packet_context_dup into lib/silccore/silcpacket.[ch] to
12135 duplicate packet context structure.
12137 * Changed `notify' client operation to send same arguments as client
12138 receives from server except for ID's. ID's are mapped to correct
12139 ID entry and that is returned. Also, if channel entry is not sent
12140 by server but the notify is for channel the channel entry is sent
12141 to application (otherwise application doesn't know that it is for
12142 channel (library gets it from packet's Destination ID)).
12144 * Added silc_client_remove_from_channels into client library to
12145 remove a client from all channels it has joined to. Used when
12146 received SIGNOFF notify from server. Added also new function
12147 silc_client_replace_from_channels to replace old ID entry with
12148 new ID entry on all channels. Used when received NICK_CHANGE
12149 notify from server.
12151 * Fixed ID Cache list handling in silc_idlist_get_client in
12152 lib/silcclient/idlist.c. Also, added silc_idlist_get_client_by_id
12153 to get (or query) client by ID.
12155 * Updated TODO list.
12157 * Added connection authentication status message defined by the
12158 protocol: SILC_CONN_AUTH_OK and SILC_CONN_AUTH_FAILED and added the
12159 support for these into the code in client and server side.
12161 * Added generic function silc_client_send_command to send any command
12162 with variable argument list. Application should use this function
12163 to send commands if the command functions provided by the library
12164 does not suite for the application's user interface needs.
12166 * Added new `failure' client operation. Application is notified about
12167 received failure packet if client is executing a protocol. In this
12168 case the protocol's execution has failed.
12170 * Added SKE's end notify to send the SKE_SUCCESS notify message that
12171 is required by the protocol.
12173 * Added SILC_PROTOCOL_STATE_FAILURE to indicate received failure
12174 packet from remote. SILC_PROTOCOL_STATE_ERROR indicates local
12177 * Added status flag to SilcSKE object to indicate realtime status
12178 of the SKE protocol.
12180 * Application receives now exactly same command reply arguments as
12181 the library receives from server. However, if ID is received the
12182 corresponding ID entry is returned to the application (eg. Client
12183 ID is mapped to correct SilcClientEntry entry and that is returned).
12184 Changed command_reply client operation due to this change.
12186 * Changed all ID's in commands and in command replys as ID Payloads.
12187 Change affected both client and server side codes.
12189 All ID's sent in SILC network (with execption of ID's in SILC
12190 Packet header) are sent in ID Payload to support variable length
12193 * Server now notifies nick changes and notifies all clients on
12194 the channels about the new nickname (about the new Client ID,
12197 * Implemented CMODE command to change channel modes. Supports all
12198 channel modes defined by the protocol specs except ban and invite
12199 lists. (Also, private channel key mode is supported but support for
12200 setting private channel key in client is missing, thus, this mode
12201 has no effect on client side (except that server requires that the
12202 client uses private channel key and normal channel traffic does not
12205 Also, invite mode works per se, but INVITE command does not work
12206 yet correctly, so you can set channel as invite only channel but
12207 inviting clients to the channel does not work (it is yet to be
12208 thought what's the best way to do it).
12210 * Added new command SILC_COMMAND_CUMODE to change user mode on the
12211 channel. Defined user modes: CHANNEL_FOUNDER and CHANNEL_OPERATOR.
12212 Implemented CUMODE command to change user's mode on the channel.
12213 Supports all modes defined by the protocol specs.
12215 * Added NAMES command reply to return users modes on the channel.
12217 * Removed unnecessary and slow ciphers from lib/silccrypt.
12219 * Set SO_KEEPALIVE option to connection sockets by default.
12221 * Added new command reply status: SILC_STATUS_USER_NOT_ON_CHANNEL.
12223 * Added notify types: MOTD, CMODE_CHANGE and CUMODE_CHANGE. Also,
12224 redefined the Notify Payload into protocol specs.
12226 * Added silc_id_payload_parse_id to get ID directly from raw
12229 Mon Oct 9 20:57:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12231 * Changed SILC_COMMAND_IDENTIFY in protocol specification to
12232 accept searching by Client ID as well.
12234 * Added support for LEAVE and SIGNOFF notify types in client library.
12236 * Added silc_id_payload_parse_data into lib/silccore/silcpayload.[ch]
12237 to parse ID Payload from raw data.
12239 Sun Oct 8 19:33:08 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12241 * Added flags parameter into silc_ske_assemble_security_properties
12242 function in lib/silcske/silcske.[ch].
12244 * Changed notify client operation to fit better for notify messages
12245 sent by server. The notify payload received from server is now
12246 passed to the application (after parsing it to SilcNotifyPayload).
12247 It is application's responsibility to retrieve the arguments
12248 from the payload and show the message the way it wants. The message
12249 sent by server is implementation specific.
12251 * Changed public keys to comply with the protocol specification.
12252 Old public keys are not supported anymore and are not compatible.
12254 * Removed nickname from Channel Payload as the latest draft removed
12255 it. The client must resolve the nickname from the NAMES command
12256 reply received when it joined the channel.
12258 Also, changed all channel_xxxx_payload to channel_payload_xxxx.
12260 Sat Oct 7 21:55:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12262 * Fixed some errors in protocol specification drafts.
12264 * Created lib/silccore/silcnotify.c to implement Notify Payload
12265 encoding and decoding, lib/silccore/silcpayload.[ch] to implement
12266 generic payloads described by protocol specifications. The file
12267 includes implementations for ID Payload and Argument Payload.
12269 * Changed Command Payload implementation to use the new Argument
12270 Payload. Changed command_xxxx_payload to command_payload_xxxx
12271 to comply with SILC coding conventions.
12273 * Added suppport for Argument Payload handling in Notify Payload
12274 implementation as protocol requires it. Added the new support
12275 into server and client lib as well.
12277 Thu Oct 5 21:16:28 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12279 * Added support for multiple nicknames on same channel. [n] is
12280 added locally to the nickname if there are more than one same
12281 nicknames on the channel.
12283 * Server now sends all nicknames that matched WHOIS request.
12284 Client also shows the list received from server.
12286 * Added TOPIC command to client side. User can now set and show
12287 current topic on channel.
12289 * Added MOTD command to client and server. Also, server sends the
12290 motd when client connects to the server.
12292 * Changed version strings to comply ISO 8601.
12294 Wed Oct 4 23:29:06 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12296 * Fixed protocol error handling in client library. It should now
12297 cope even if the SKE fails for some reason.
12299 * Made new protocol specification drafts for submitting to IETF.
12301 * Implemented TOPIC command to server in silcd/command.c.
12303 * Added two new notify types into lib/silccore/silcnotify.h:
12304 SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_TOPIC_SET to
12305 notify nickname change and topic setting/change on a channel.
12307 * API change of command_reply operation in client library. The
12308 application gets now the status type received from server as well.
12310 Sat Sep 30 16:57:42 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12312 * Removed the function just added to lib/silcutil/silcschedule.[ch].
12314 * Cras fixed and optimized the packet handling even further and
12315 it should work now. Minor change to the prototype of function
12316 silc_packet_receive_process in lib/silccore/silcpacket.[ch].
12318 Sat Sep 30 08:48:47 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12320 * Added new function into lib/silcutil/silcschedule.[ch]:
12321 silc_schedule_with_fd to select() a specified fd. The function
12322 returns after timeout expires or data arrives or goes. The
12323 function is used by packet routines to wait that all data is
12324 received from network.
12326 * Fixed data reading from network in lib/silccore/silcpacket.c.
12327 The code now assures that all data is read from the fd and then
12328 continues packet processing. This was a bug fix since the code
12329 used to drop some data in some circumstances.
12331 * Added new function into lib/silcclient/client.[ch]:
12332 silc_client_start_key_exchange to start key exchange after
12333 connection has been established to server. The code internally
12334 now uses this funtion but its main purpose was to provide it
12335 for applications that perform their own connecting. After
12336 application has created a connection it merely calls this
12337 function to start the key exchange between client and server.
12338 The library takes care of everything else after that.
12340 Updated also lib/silcclient/README to explain the usage of
12343 * Do not send to application information that connection has
12344 been established. Application gets notified it by connect
12347 Thu Sep 28 23:40:19 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12349 * Applied cras's patch to add silc_schedule_one function. The
12350 function runs scheduler once and returns.
12352 * Fixed the scheduler after cras messed it up. The timeout
12353 handling works now as it's supposed to work.
12355 * Added into lib/silccore/ silcnotify.h to include notify
12356 message types support. Changed silc_server_send_notify*
12357 functions, in server.[ch], to support those new notify types.
12358 Added the support for the notify types into client library,
12359 as well. Added new notify client operation into ops.h in
12362 * Changed silc_server_packet_send_to_channel to send normal
12363 packets instead of just channel message packets. The function
12364 is now used to send the notify packets to channels. It is not
12365 used to send channel message packets anymore, as server never
12366 sends them anymore.
12368 * Added explicit casting into lib/silcutil/silcbuffmt.c to few
12369 va_arg()s as it seems to require it nowadays. I guess, if SILC
12370 is compiled with older va_arg() the new code should work anyway.
12372 Wed Sep 13 18:10:14 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12374 * Splitted core library. Core library (lib/silccore) includes
12375 now only SILC protocol specific core (and common) components.
12376 Created new utility library (lib/silcutil) that includes more
12377 generic purpose stuff. The stuff for util library was taken
12378 from the old core library. This was minor and easy split.
12380 * Created SILC Client Library (lib/silcclient) that includes
12381 implementation of the SILC client without user interface. This
12382 was major move from silc/ directory. The code has been changed
12383 so that it is transparent towards the user interface. The
12384 silc/ directory includes now the same user interface as before
12385 and it uses the new client library. Read lib/silcclient/README.
12386 Basicly, the client library performs everything else related
12387 to SILC except user interface handling. Also, configuration
12388 files are considered to be part of user interface and library
12389 does not handle them.
12391 This change also changed a lot of structures, function naming etc.
12392 Most important change was that SilcClientWindow object was
12393 renamed to SilcClientConnection in the client library. Created
12394 also new file lib/silcclient/ops.h. Also added new files
12395 silc/local_command.[ch] and silc/client_ops.[ch].
12397 All these changes were made to make it easier for user interface
12398 designers to create what ever user interface for the SILC client
12401 It is also expected that the server will be moved to lib
12402 directory as well and SILC Server Library will be created;
12403 sometimes in the future.
12405 * Removed Local commands from lib/silccore/silccommand.h as
12406 they are application specific and new client library does not
12407 handle any of those anymore.
12409 * Several functions moved to lib/silcutil/silcutilc.[ch] from
12410 old client implementation in silc/.
12412 * Added support for callback functions in SILC_LOG_* macros.
12413 Application can now set its own callbacks that will be called
12414 instead of using the default functions that will always print
12415 the debug messages to stderr (or stdout). Also, debugging can
12416 now be disabled by setting silc_debug to FALSE and re-enabled by
12417 setting it to TRUE. Note, that logging will still work even
12418 if debugging is disabled.
12420 New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
12421 silc_log_reset_callbacks, silc_log_set_debug_callbacks and
12422 silc_log_reset_debug_callbacks.
12424 * To enable debugging in silc client one must give now -d
12425 option on command line.
12427 * Changed silc_schedule_init to automatically allocate task queues
12428 if they are not allocated before calling it.
12430 Thu Sep 7 10:49:33 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12432 * Added GMP 3.1 into math library.
12434 Sun Aug 20 21:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12436 * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
12437 a channel in SILC network. The packet is used by servers and
12438 routers to notify other routers that user has left a channel.
12439 This little feature was missing until now. Added the feature
12440 to protocol specification as well.
12442 Added functions: silc_server_send_remove_channel_user and
12443 silc_server_remove_channel_user into server.[ch].
12445 * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
12446 lib/silccore/silcpacket.h. However, they are not implemented
12449 Sat Aug 19 23:04:16 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12451 * Fixed joining to a channel and sending channel messages
12452 between server and router. The channel message sending should
12453 now work inside a cell.
12455 Tue Jul 25 20:46:13 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12457 * Fixed the private message sending between server and router.
12458 The private message sending should now work inside a cell.
12460 * Added silc_server_replace_id into server.[ch] to replace
12461 existing ID in the SILC network.
12463 * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
12464 and silc_idlist_replace_server_id into idlist.[ch] in server.
12466 Mon Jul 24 18:33:31 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12468 * Fixed the server to server connections. Server can again now
12469 connect to router. Router to router connections probably does
12472 Thu Jul 20 13:15:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12474 * Added dynamic protocol registering support. Now protocols can
12475 registered and unregistered on the fly. Patch by cras.
12477 Wed Jul 19 19:08:46 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12479 * Added lib/contrib directory to hold routines that some platforms
12480 don't have but are needed by SILC.
12482 * Added getopt.c, getopt1.c and getopt.h from GNU C library
12483 into lin/contrib to provide getopt() and getopt_long() for
12484 those who don't have it.
12486 Tue Jul 18 20:41:20 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12488 * Added AWAY command to client. When away message is set and
12489 client receives a private message packet the client automatically
12490 replies to the sender with the away message.
12492 * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin. This
12493 bug seemed to be the cause of recent problems when compiling
12496 * Added version detection support to SKE protocol specification
12497 and added the new changes to the SKE implementation as well.
12498 There were other minor changes in the SKE protocol as well.
12500 Many changes in lib/silcske/silcske.[ch] and in
12501 lib/silcske/payload.[ch].
12503 * Added ^U functionality, clear input line. Patch from cras.
12505 Mon Jul 17 23:33:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12507 * Mainly small bugfixes on core library. Fixed some debugging
12508 logging and buffer overflow in silclog.c.
12510 * Updated config.sub and config.guess on the distribution tree.
12512 Sat Jul 15 15:33:48 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12514 * Added command lagging support in server. Client may execute
12515 commands now only once in two seconds.
12517 Thu Jul 13 22:10:21 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12519 * Optimized packet reception. MAC computation and checking is now
12520 also more optimized. A lot previously duplicated code is now
12521 used as generic by both client and server.
12523 * Fixed key pair generation in clientutil.c
12525 Wed Jul 12 18:28:07 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12527 * Added into lib/silccore/silcbufutil.[ch] new function;
12528 silc_buffer_realloc.
12530 * Moved generic packet sending/encryption functions to
12531 lib/silccore/silcpacket.[ch] from client and server. Some
12532 rewriting of the functions.
12534 * Moved all generic packet reception/decryption functions to
12535 lib/silccore/silcpacket.[ch] from client and server. The
12536 packet processing is now much cleaner in both client and server.
12537 These were major changes in both client and server.
12539 * Created many common functions in server to do packet sending.
12540 Previously code were duplicated a lot, this has been removed
12541 with these changes.
12543 Tue Jul 11 20:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12545 * Rewrote major parts of the ID cache system. Don't know
12546 whether it is better now or not but at least the API is more
12549 * Major rewrite on ID cache stuff on client because of the ID
12550 cache API changes. Added idlist.c to client.
12552 * Also major rewrite on ID cache stuff on server as well.
12553 Major rewrite of idlist.[ch]. SilcXXXList's are now named
12554 SilcXXXEntry's. We won't keep anymore idlist specific pointers
12555 in hand, instead they are all put into the ID cache system now.
12556 All server_idlist_* routines uses ID cache now instead of
12557 traversing its own lists (those lists does not exist anymore).
12558 SilcIDList though still exists. Also, SilcXXXEntry's are
12561 Sun Jul 9 15:19:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12563 * Finally made the SKE implementation compliant to the protocol
12564 specification. All mp integers are now binary encoded as
12565 opposed being HEX encoded.
12567 * Added lib/silcmath/mpbin.[ch]. Encoding mp intergers to and
12570 * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
12571 functions: silc_[encode/decode]_pem. Also added function
12572 silc_encode_pem_file to PEM encode with newlines ('\n') for
12573 saving into a file.
12575 * SILC public keys are now encoded either PEM or binary. Same
12576 option is for private keys as well. By default private keys
12577 are binary encoded and public keys PEM encoded. Silly HEX
12578 encoding were removed.
12580 * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
12581 function to create fingerprints.
12583 * Fixed a bug in SHA1; does not change the original data anymore.
12585 * Partly implemented INFO command on client and server side.
12586 Fixed CLEAR command. Changes to SERVER command; show current
12587 server(s) when giving command without arguments. Added
12588 VERSION command to client.
12590 * Added check to server that unregistered connections cannot
12591 execute commands (unless it is specificly allowed).
12593 Thu Jul 6 18:12:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12595 * Fixed screen refresh.
12597 * Fixed channel joining bug from client. On some circumstances
12598 client tried to join to a channel it had already joined.
12600 * Added public key verification process into client's protocol.c.
12601 The client now verifies the public key from user and saves
12602 it into ~./silc/serverkeys/ directory.
12604 Added into: clientutil.[ch]: silc_client_verify_server_key.
12606 * Changed SKE protocol's silc_ske_initiator_finish function
12607 to accept callback function that verifies the received public
12608 key. Removed old silc_ske_verify_public_key function.
12610 Wed Jul 5 19:19:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12612 * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
12613 silc_pkcs_private_key[_data]_set.
12615 * Made the password and public authentication more cleaner in
12616 server's protocol.c.
12618 * Removed historic and obsolete protocol `channel_auth' from
12619 both client and server.
12621 * Removed wrong way of sending command status messages from
12622 server to client in server's command.c. The old way violated
12623 protocol specification.
12625 Changes to silccore/silccommand.[ch]: removed
12626 silc_command_encode_status_payload -> not needed anymore,
12627 changed silc_command_encode_payload_va to accept extra
12628 argument on variable argument list. The argument type must
12629 now be provided to the function. Also, added new function:
12630 silc_command_encode_reply_payload_va which is same as
12631 normal command_encode_payload_va except command status type
12632 is provided as extra argument.
12634 Tue Jul 4 18:26:39 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12636 * Added ~./silc directory handling. The directory includes the
12637 public and private keys for the client.
12639 Added silc_client_check_silc_dir, silc_client_create_identifier
12640 and silc_client_load_keys.
12642 * Implemented SILC protocol compliant public key. Added public
12643 and private key saving to and loading from files.
12645 Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
12646 silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
12647 silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
12648 silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
12649 silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
12651 Implemented: silc_pkcs_save_[public/private]_key[_data] and
12652 silc_pkcs_load_[public/private]_key.
12654 Mon Jul 3 18:51:27 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12656 * Added silc_server_get_route (route.[ch]) to get connection
12657 data for the fastest route for given ID.
12659 * Implemented INVITE command on client and server. The command
12660 were re-defined in the SILC Protocol Specification and the
12661 implementation now complies with the specification.
12663 * Implemented PING command on client and server.
12665 * Implemented NAMES command on client and server. The server side
12666 supports currently only normal server not router server yet.
12667 Some changes to NAMES definition in SILC protocol specification.
12669 Sun Jul 2 18:23:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12671 * Implemented LEAVE command on client and server.
12673 * Previously deprecated SILC_PACKET_FORWARDED flag is now in use
12674 again. This change was made to the protocol as well. Server
12675 should not violate the protocol specification anymore.
12677 Fri Jun 30 14:03:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12679 * Added SOCKS4 and SOCKS5 support to SILC client. SOCKS5
12680 was tested. SOCKS4 was not but should work anyway.