Fri Feb 22 16:12:27 EET 2008 Pekka Riikonen * Fixed partial encryption in CTR mode in AES. Change does not affect interoperability in SILC due to the way CTR is used in SILC. But, fixed anyway. Affected files are lib/silccrypt/aes.c and rijndael_internal.h. Tue Jan 8 09:41:57 EET 2008 Pekka Riikonen * Fixed printable fingerprint bufferoverlfow, RedHat bug 372021. Affected file is lib/silcutil/silcutil.c. Sun Dec 30 14:00:46 EET 2007 Pekka Riikonen * Fixed unix signal delivery in SILC scheduler. Affected file is lib/silcutil/unix/silcunixschedule.c. Sun Nov 18 16:43:04 CET 2007 Jochen Eisinger * Add -avoid-version and -rpath flags when compiling the plugin. Affected file is apps/irssi/src/fe-common/silc/Makefile.in Thu Nov 15 18:03:53 EET 2007 Pekka Riikonen * Reprocess JOIN command synchronously after resolving channel user list. Affected file is lib/silcclient/command_reply.c. * In JOIN command reply check if the channel key is already saved. If it is we have received new key from server while resolving user and must not save the old key. Affected file is lib/silcclient/command_reply.c. * Remove all channel keys and hmacs after giving LEAVE command. Affected file is lib/silcclient/command_reply.c. Tue Nov 13 18:24:56 EET 2007 Pekka Riikonen * Added missing channel unreferencing in CMODE, CUMODE, TOPIC, INVITE, BAN and KICK command replies. Affected file is lib/silcclient/command_reply.c. Sun Nov 11 23:04:54 EET 2007 Pekka Riikonen * Free stream data and abort ongoing protocols correctly for primary router connections receiving end of stream. Affected file is apps/silcd/server.c. Sun Nov 11 16:02:12 EET 2007 Pekka Riikonen * SILC Server 1.1 Beta4. Sun Nov 11 14:15:48 EET 2007 Pekka Riikonen * SILC Toolkit 1.1.5. Sun Nov 11 11:22:35 EET 2007 Pekka Riikonen * Fixed connection authentication with public keys to use correct public key as responder. Affected file is lib/silcske/silcconnauth.c. * Fixed public key authentication in server. Affected file is apps/silcd/serverconfig.c. * Fixed OPER and SILCOPER public key authentication. Affected file is apps/silcd/server.c. * Fixed prefer_passphrase_auth flag in server. Fixed disconnection of unauthenticated connection. Affected file is apps/silcd/server.c. * Fixed client resuming in server. Affected file is apps/silcd/packet_receive.c. * Fixed IDENTIFY and WHOWAS command reply to correctly update client entries (fixes a crash). Affected file is apps/silcd/command_reply.c. Tue Nov 6 16:39:20 EET 2007 Pekka Riikonen * SILC Client 1.1.3. Mon Nov 5 23:07:58 EET 2007 Pekka Riikonen * Zero tail of CTR mode IV in IV Included mode. Change does not cause compatibility issues. Affected file is lib/silcske/silcske.c. Mon Nov 5 22:24:25 EET 2007 Pekka Riikonen * SILC Toolkit 1.1.4. * Fixed CTR mode rekey. Affected file is lib/silcske/silcske.c. * Rewrote the IV Included CTR mode encryption/decryption in packet engine. Affected file is lib/silccore/silcpacket.c. Sun Nov 4 15:20:25 EET 2007 Pekka Riikonen * Removed module_path and module options from the server config file format. Affected file is apps/silcd/serverconfig.c. * Fixed non-IPv6 compilation error. Affected file is lib/silcutil/unix/silcunixnet.c. Sat Nov 3 23:23:38 EET 2007 Pekka Riikonen * Do not free packet engine before uninitializing scheduler. Do not disconnct already disconnected streams. Affected files are in apps/silcd/. * Fixed setting correct ID for re-encrypted channel messages in router-to-router connections. Affected file is apps/silcd/packet_send.c. Sun Sep 30 15:16:18 EEST 2007 Pekka Riikonen * Fixed channel private key deleting when deleting the channel. Affected file is lib/silcclient/client_channel.c. Sun Sep 9 17:52:49 EEST 2007 Pekka Riikonen * SILC Toolkit 1.1.3. * Fixed possible buffer overflows from SILC Config code. Patch from Jérémy Bobbio. Affected file is lib/silcutil/silcconfig.c. Sun Aug 26 12:28:49 EEST 2007 Pekka Riikonen * Fixed TIMEOUT handling in user info resolving during JOINing, fixes crash. Affected file is lib/silcclient/client_notify.c. * Fixed mandatory UN and HN SILC public key identifier checking (both must be present). Affected file is lib/silccrypt/silcpk.c. Tue Aug 7 20:56:06 EEST 2007 Pekka Riikonen * Fixed alignment issues with 64-bit CPUs. Affected files are lib/silcutil/silcschedule.c and unix/silcunixschedule.c. * Added "There are now xx nick's" to "are xx nicks". Affected file is apps/irssi/src/fe-common/silc/module-formats.c. Sat Aug 4 18:37:22 EEST 2007 Pekka Riikonen * Fixed USERS command user mode handling (integer overflow). Affected file is lib/silcclient/command_reply.c. Thu Jul 19 21:08:49 EEST 2007 Pekka Riikonen * Fixed big-endian issues from aes implementation. Affected files are lib/silccrypt/aes.c. * Fixed lib/silcutil/silcatomic.h compilation on IA64. Patch from Jérémy Bobbio. * Fixed public key identifier parsing to check lengths correctly. Affected file is lib/silccrypt/silcpk.c. Wed Jul 4 08:06:38 EEST 2007 Pekka Riikonen * SILC Toolkit 1.1.2. * SILC Client 1.1.2. Mon Jul 2 17:28:47 CEST 2007 Pekka Riikonen * In silc_client_free check that scheduler is allocated before trying to free it. Affected file is lib/silcclient/client.c. * Fixed buffer overflow in NICK_CHANGE notify. The destination buffer for old nickname was too small. Affected file is lib/silclient/client_notify.c. Sun Jul 1 19:15:15 EEST 2007 Pekka Riikonen * SILC Server 1.1 Beta1. Sun Jul 1 12:40:06 EEST 2007 Pekka Riikonen * Added support for rekey with PFS when using CTR mode encryption. Affected file is lib/silcske/silcske.c. * Added silc_idcache_move that can be used to move entries between caches. Affected files are lib/silcapputil/silcidcache.[ch]. * Added better checks for invalid argument and notify payloads. Affected files are lib/silccore/silcnotify.c and silcargument.c. * Fixed SILC_PACKET_FLAG_LONG_PAD bitmask value. Affected file lib/silccore/silcpacket.h. Sat Jun 30 21:48:08 EEST 2007 Pekka Riikonen * Set the destination ID to packet stream as SKE responder if ID was present in key exchange packet. Affected file is lib/silcske/silcske.[ch]. * Handle also zero timeouts in the scheduler notify callback to avoid problems with SILC Plugin. Affected file is apps/irssi/src/silc/core/silc-core.c. Thu Jun 28 19:19:13 EEST 2007 Pekka Riikonen * SILC Client 1.1.1. Sun Jun 24 18:47:55 EEST 2007 Pekka Riikonen * SILC Toolkit 1.1.1. * Compile sources with _GNU_SOURCE on Linux systems. Affected file is configure.ad. Sun Jun 24 16:33:59 EEST 2007 Pekka Riikonen * Fixed Unix signal task dispatching to not lock the signals when dispatching the callback to avoid deadlocks. Affected file is lib/silcutil/unix/silcunixschedule.c. Sun Jun 24 14:43:21 CEST 2007 Jochen Eisinger * Fix configure output for with-plugin. Affected file is apps/irssi/configure.ad Tue Jun 19 17:05:48 EEST 2007 Pekka Riikonen * Added SILC_VERSION macro for checking package versions at compile time. Affected files are configure.ad, includes/silc.h.in and includes/silcversion.h.in. Mon Jun 18 23:47:22 EEST 2007 Pekka Riikonen * Use SILC_VERIFY to assert that silc_rwlock_wrlock can be called only once per thread on Unix. Affected file is lib/silcutil/unix/silcunixthread.c. Added same for mutex as well. Documented same on the API in lib/silcutil/silcmutex.h. * Fixed USERS command reply write-lock unlocking. Affected file is lib/silcclient/command_reply.c. Mon Jun 18 08:14:26 EEST 2007 Pekka Riikonen * Fixed silc_create_key_pair to check for valid identifier. Affected file is lib/silcapputil/silcapputil.c. Sun Jun 17 20:08:26 CEST 2007 Jochen Eisinger * Rewrite signed public message handling, adopting the new hilight interface. Affected file is apps/irssi/src/fe-common/silc/fe-silc-messages.c Thu Jun 14 21:15:31 CEST 2007 Jochen Eisinger * Fix off by one error when loading modules. Affected file is apps/irssi/src/core/modules-load.c * Don't delete hilight entry (because it's just a pointer, not a copy). Affected file is apps/irssi/src/fe-common/silc/fe-silc-messages.c Mon Jun 11 22:10:17 EEST 2007 Pekka Riikonen * Added __SILC_TOOLKIT_x_x_x macro to all Toolkit distribution which can be used to check for Toolkit version in third-party software. Affected file is configure.ad, includes/silc.h.in. Sun Jun 10 17:32:15 EEST 2007 Pekka Riikonen * Added support for channel@server channel name strings to client library (SILC protocol version 1.3 change). Affected files are lib/silcclient/silcclient_entry.h, client_entry.c. * Added full_nicknames and full_channel_names settings to SilcClientParams that can be used to specify whether client library returns full nickname and channel name strings. Full strings are nick@server and channel@server. Affected file is lib/silcclient/client_entry.c and command.c. Sat Jun 9 19:43:25 EEST 2007 Pekka Riikonen * Fixed unix connecting failure to return error code correctly. Affected file is lib/silcutil/unix/silcunixnet.c. Fri Jun 8 23:32:33 EEST 2007 Pekka Riikonen * Fixed SKE timeout double free crash. Affected file is lib/silcske/silcske.c. * Fixed MIME multipart decoding buffer overflow. Affected file is lib/silcutil/silcmime.c. Thanks to Matt Miller for patch. Fri Jun 8 18:39:34 EEST 2007 Pekka Riikonen * Fixed connection auth protocol timeout crash. Affected file is lib/silcske/silconnauth.c. * Fixed FSM machine finishing to check for existing threads at the final free callback to allow time for the threads to finish. Affected file lib/silcutil/silcfsm.c. Thu Jun 7 21:25:31 EEST 2007 Pekka Riikonen * Fixed silc_client_get_clients_local to check the nick's server also if nick@server nickname string is given to the function. Affected file is lib/silcclient/client_entry.c. Wed Jun 6 18:33:05 EEST 2007 Pekka Riikonen * Added notify callback to silc_schedule_init which can be used to set a notify callback for scheduler which is called when task is added to scheduler or deleted from scheduler. Affected file is lib/silcutil/silcschedule.[ch]. * Dispatch timeout tasks after dispatching FD tasks if the timeout was very short. Affected file is lib/silcutil/silcschedule.c. * Rewrote the SILC scheduler handling in SILC Client to not poll every few msecs but to use the new notify callback. Affected file is apps/irssi/src/silc/core/silc-core.c. * Fixed SFTP client library read buffer size which was too small. Affected file is lib/silcsftp/sftp_client.c. * Fixed file transfer crash bug in /QUIT in SILC Client. Close the FTP sessions before quitting the client. Affected file is apps/irssi/src/silc/core/silc-servers.c. Tue Jun 5 20:48:40 EEST 2007 Pekka Riikonen * Fixed silc_packet_get_ids to decode the IDs correctly. Affected file is lib/silccore/silcpacket.c. * Fixed silc_client_get_clients_local to parse correctly nickname string that may have server name in it (nick@server) regardless whether it was formatted nickname or not. Affected file is lib/silcclient/client_entry.c. Mon Jun 4 22:02:53 CEST 2007 Jochen Eisinger * Only destroy sendbuffers, if they still exist (they cease to exist during /upgrade). Affected file is apps/irssi/src/silc/core/silc-servers.c Mon Jun 4 21:24:17 EEST 2007 Pekka Riikonen * Removed --enable-silc-plugin. Added --with-silc-plugin. Affected files are configure.ad, lib/configure.ad, apps/irssi/configure.ad, apps/irssi/configure.in, apps/irssi/scripts/Makefile.am, apps/irssi/scripts/examples/Makefile.am, apps/irssi/src/silc/core/silc/Makefile.am, apps/irssi/src/fe-common/silc/Makefile.am. Mon Jun 4 08:35:59 EEST 2007 Pekka Riikonen * SILC Client 1.1. Sun Jun 3 14:00:09 EEST 2007 Pekka Riikonen * Fixed DESTDIR handling in make install. Sat Jun 2 21:04:32 EEST 2007 Pekka Riikonen * SIM modules are not delivered to SILC CLient distribution anymore. * Changed default installation path from /usr/local/silc to /usr/local for all distributions. * Removed --with-etcdir and --with-docdir. The etcdir is now the system's default. The Docdir is system's default. Sat Jun 2 00:51:57 EEST 2007 Pekka Riikonen * If public key/private key loading fails set the return pointer to NULL. Affected file is lib/silccrypt/silcpkcs.c. * If private key loading fails in silc_load_key_pair free the loaded public key. Affected file is lib/silcapputil/silcapputil.c. * Fixed key pair loading crash with SILC Plugin if key pair loading fails. Affected file is apps/irssi/src/silc/core/silc-core.c. * Fixed SILC Client help and script file installation path to go to prefix/share/silc. Affected files are apps/irssi/src/scripts/Makefile.am and apps/irssi/docs/help/Makefile.am.gen. Thu May 31 16:49:13 EEST 2007 Pekka Riikonen * Fixed UTC offset minutes to be actually minutes. Affected file is lib/silcutil/silctime.c. Thu May 31 09:40:56 EEST 2007 Pekka Riikonen * SILC Toolkit 1.1. * Added support for checking for timezone and tm_gmtoff. Affected files are configure.ad and lib/silcutil/silctime.c. Wed May 30 18:46:34 EEST 2007 Pekka Riikonen * Added silc-toolkit.spec.in RPM spec file. Mon May 28 23:21:39 EEST 2007 Pekka Riikonen * Fixed nickname formatting crash when updating existing client entry. Affected file is lib/silcclient/client_entry.c. * Fixed MIME object encoding in attribute payload encoding. Affected file is lib/silccore/silcattrs.c. Mon May 28 09:02:26 EEST 2007 Pekka Riikonen * SILC Client 1.1 Beta6 Sun May 27 20:38:30 EEST 2007 Pekka Riikonen * Copy SILC Plugin's libfe_common_silc.so to libfe_silc.so so that user's don't have to do it manually. Affected file is apps/irssi/src/fe-common/silc/core/Makefile.am. Thu May 24 15:30:31 EEST 2007 Pekka Riikonen * SILC Toolkit 1.1 Beta4. * Fixed channel and server entry freeing in client library. Affected file is lib/silcclient/client_entry.c. * Do not allow stopping client before it has been started. Affected file is lib/silcclient/client.c. Wed May 23 23:21:03 EEST 2007 Pekka Riikonen * Fixed formatted nickname renaming to rename also irssi's nicklist (/NAMES etc). Affected file is apps/irssi/src/silc/core/client_ops.c. * Fixed SILC Plugin crash when stopping client library before it has been started. Affected file is apps/irssi/src/silc/core/silc-core.c. Tue May 22 17:18:54 EEST 2007 Pekka Riikonen * For SILC Client and SILC Server check for 1.1 Toolkit in configure. Affected file is configure.ad. * Added better library linking flags and orders for SILC Client. Affected file is configure.ad, Makefile.defines_int.in and apps/irssi/src/fe-text/Makefile.am Mon May 21 08:26:38 EEST 2007 Pekka Riikonen * SILC Client 1.1 Beta5. Sun May 20 18:34:22 CEST 2007 Jochen Eisinger * Add hooks for Irssi 0.8.11 module functions. Affected file is apps/irssi/src/fe-common/silc/fe-common-silc.c Sat May 19 14:46:36 EEST 2007 Pekka Riikonen * Fixed passphrase authentication with server. Affected file is lib/silcclient/client_connect.c. * Fixed passphrase authentication as responder. Affected file is lib/silcske/silcconnauth.c. * Changed SilcAskPassphrase and SilcGetAuthMeth callbacks to return data as const. Affected file is lib/silcclient/silcclient.h. * Fixed timeout calculation in Symbian scheduler. Affected file is lib/silcutil/symbian/silcsymbianscheduler.c. Fri May 18 21:10:38 EEST 2007 Pekka Riikonen * Do not uninitialize u.m.threads atomic int in finish but in free. Fixes crash on any platform using atomic operations using mutexes (like Symbian). Affected file is lib/silcutil/silcfsm.c. * Fixes Symbian scheduler wakeup synchronization. Affected file is lib/silcutil/symbian/silcsymbianscheduler.c. Fri May 18 18:10:36 EEST 2007 Pekka Riikonen * Fixed nickname formatting to handle already formatted nicknames better. Affected file is lib/silccilent/client_entry.c. * Added "foo#2 appears as foo" support to SILC Client when user leaves or quits and one formatted nickname remain. Affected file is apps/irssi/src/silc/core/client_ops.c. * Send SilcChannelEntry to application in SILC_NOTIFY_TYPE_SIGNOFF. Affected file is lib/silcclient/client_notify.c. Thu May 17 18:05:10 EEST 2007 Pekka Riikonen * Fixed silc_show_public_key to not free public key in case of failure. Affected file is lib/silcapputil/silcapputil.c. Thu May 17 17:09:50 EEST 2007 Pekka Riikonen * SILC Toolkit 1.1 Beta3. * Porting Toolkit to Symbian. It should work while some sporadic odd crashes remain. However I was able to run mybot on SILCNet. Basically tested scheduler, net routines, socket routines, threads and some other utility routines. Affected files are in lib/silcutil/symbian/. Thu May 17 11:57:40 EEST 2007 Pekka Riikonen * Show realname and email address from public key when verifying cached public keys with GETKEY. Affected files are apps/irssi/src/fe-common/module-formats.[ch] and apps/irssi/src/silc/core/client_ops.c. Wed May 16 20:41:04 CEST 2007 Jochen Eisinger * Include SILC Plugin theme. Affected file is apps/irssi/plugin.theme * Include SILC Plugin /silc command help. Affected file is apps/irssi/docs/help/silc * Create channels before joining them. Affected file is apps/irssi/src/silc/core/client_ops.c Wed May 16 18:59:22 EEST 2007 Pekka Riikonen * Fixed channel private key listing with /key. Affected file is apps/irssi/src/silc/core/silc-channels.c. * Fixed the public headers from anonymous structures. Affected files are lib/. * Changed silc_buffer_*len macros to inline functions. Affected file is lib/silcutil/silcbuffer.h. Wed May 16 10:21:45 EEST 2007 Pekka Riikonen * Fixed nickname format parsing in JOIN notify handling and in WHOIS command reply. Affected file is apps/irssi/src/silc/core/client_ops.c. Wed May 16 09:34:10 EEST 2007 Pekka Riikonen * SILC Client 1.1 Beta4. Tue May 15 23:55:41 EEST 2007 Pekka Riikonen * Added SILC_VERIFY macro which is equivalent to SILC_ASSERT but is compiled always in. Affected file is lib/silcutil/silclog.h. * Use SILC_VERIFY in FSM macros instead of SILC_ASSERT which is not there in release builds. Affected file is lib/silcutil/silcfsm.h. Tue May 15 21:19:09 CEST 2007 Jochen Eisinger * SILC Client 1.1-beta3 Mon May 14 23:20:59 EEST 2007 Pekka Riikonen * Added silc_utf8_c2w and silc_utf8_w2c to do UTF-8 to widechar and widechar to UTF-8 conversions. Affected files are lib/silcutil/silcutf8.[ch]. Mon May 14 19:45:14 CEST 2007 Jochen Eisinger * Include a README for the SILC Plugin Sun May 13 22:08:59 CEST 2007 Jochen Eisinger * Adopt perl Makefiles for SILC Plugin. Sun May 13 18:27:13 EEST 2007 Pekka Riikonen * Fixed client library initialization when the running callback is not given to silc_client_init. Affected file is lib/silcclient/client.c. * Fixed Symbian compilation problems around the tree. Added new Carbide.c++ project files to symbian/ directory. * Fixed SilcLog API to work on Symbian. On Symbian it doesn't use any globals. Affected files are lib/silcutil/silclog.c and silclog_i.h. Sun May 13 16:54:35 CEST 2007 Jochen Eisinger * Fix several warnings in Irssi's Makefiles. Sun May 13 12:16:30 CEST 2007 Jochen Eisinger * Disable ASM if --with-pic was given. Affected file is lib/silccrypt/configure.ad Fri May 11 19:10:54 EEST 2007 Pekka Riikonen * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later in case they are called from a thread. Affected file is lib/silcutil/silcfsm.c. * Fixed WIN32 thread creation to handle the Tls correctly. Affected file is lib/silcutil/win32/silcwin32thread.c. Thu May 10 18:29:18 EEST 2007 Pekka Riikonen * SILC Toolkit 1.1-beta2. Thu May 10 18:21:10 EEST 2007 Pekka Riikonen * Fixed silc_net_tcp_connect crash on Unix and Win32. Handle the socket async operation correctly. Changed that DNS lookup is now done during connecting. Affected files are lib/silcutil/[unix|win32]/silc[unix|win32]net.c. * Changed also silc_net_tcp_connect on Symbian to do DNS lookup. Affected file is lib/silcutil/symbian/silcsymbiannet.c. * Optimize silc_net_gethostbyname to check if the name is already IP address. Affected file is lib/silcutil/silcnet.c. Wed May 9 19:51:28 EEST 2007 Pekka Riikonen * Print filename instead of empty function name in debug output on WIN32. Affected files are lib/silcutil/silclog_i.h and silclog.c. * Rewrote WIN32 SILC Scheduler. It now handles non-blocking file descriptors and sockets better. Though, room for optimization remains. Affected file is lib/silcutil/win32/silcwin32schedule.c. * Removed silc_net_win32_[init|uninit]. They are called now automatically when SILC Scheduler is allocated. Wrote IPv4 address parser because inet_addr seemed not to work on my WIN32. Affected file is lib/silcutil/win32/silcwin32net.c. * Improved socketstream.h and stream.h documentation. Tue May 8 18:13:38 EEST 2007 Pekka Riikonen * Changed private message waiting API in client library to make it work better with multiple waiting threads. The waiting is not always per client entry instead of per connection. Affected files are lib/silcclient/client_prvmsg.c, client.h and silcclient.h. * Changed silc_packet_wait_init function to accept the the expected Source ID of the packet as argument. If specified only packets with the specified types and Source ID are delivered. Affected files are lib/silccore/silcpacket.[ch]. * Fixed file transfer disconnection crash when closing the session directly in the monitor callback after disconnection. Affected file is lib/silcclient/client_ftp.c. * Make Toolkit compile on WIN32. Affected files in win32/ and in lib/silcutil/win32/. * Changed silc_compare_timeval to return negative, zero or positive instead of just TRUE or FALSE. This fixes 0 timeout task dispatching on Windows. Affected files are lib/silcutil/silctime.[ch] and silcschedule.c. Mon May 7 18:18:48 EEST 2007 Pekka Riikonen * Fixed CMODE channel auth public key retrieval. Affected file is lib/silcclient/command.c. * Fixed CMODE command reply to return channel public keys correctly. Affected files are lib/silcclient/command_reply.c and client_channel.c. Sun May 6 12:43:19 EEST 2007 Pekka Riikonen * Added current channel key cipher name and HMAC name to SilcChannelEntry. Fixed channel private key creation. Affected files are lib/silcclient/client_channel.c, client_entry and silcclient_entry.h. * Allow formatted nicknames as input to silc_client_get_clients and silc_client_get_clients_whois. Affected file is lib/silcclient/client_entry.c. * Fixed silc_message_payload_free crash. Affected file is lib/silccore/silcmessage.c. * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to lib/silccore/silcstatus.h. Thu May 3 18:07:50 EEST 2007 Pekka Riikonen * Imported libtommath 0.41. Renamed all mp_* functions to tma_mp_* functions to avoid rare linking problems on systems with mp_* functions. Affected files are in lib/silcmath/. Wed May 2 17:46:25 EEST 2007 Pekka Riikonen * SILC Toolkit 1.1 Beta1. Wed May 2 11:38:17 EEST 2007 Pekka Riikonen * Set the server and router operator modes to local entry after successful OPER or SILCOPER commands. Affected file is lib/silcclient/command_reply.c. Tue May 1 14:17:06 EEST 2007 Pekka Riikonen * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API, and other smaller APIs to WIN32. Affected files are in lib/silcutil/win32/. * Changed the various regex APIs as generic code in util library. Affected files are lib/silcutil/silcstrutil.[ch]. Sat Apr 28 13:47:47 EEST 2007 Pekka Riikonen * Ported SILC Server to the new Toolkit API, working towards SILC Server 1.1. Affected files are in apps/silcd/. * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key to lib/silcskr/silcskr.[ch]. * Fixed SILC public key copying to copy the identifier also. Affected file is lib/silccrypt/silcpk.c. * Added silc_packet_error_string to lib/silccore/silcpacket.[ch]. * Fixed OPER and SILCOPER passphrase asking in Client library. Affected file is lib/silcclient/command.c. Tue Apr 24 17:55:24 EEST 2007 Pekka Riikonen * Fixed command queue enabling after connecting to server. The comparisons was from after changing to silc_utf8_strcasecmp. Affected file is apps/irssi/src/silc/core/silc-servers.c. * Fixed nickname setting with own client entry with 1.3 protocol version server. Affected file lib/silcclient/client_register.c. * Ignore error notify for local client entry. Affected file is lib/silcclient/client_notify.c. * Implemented responder rekey to SKE library. Affected files are lib/silcske/silcske.[ch]. * Fixed connection auth protocol completion sending. Affected file lib/silcske/silcconnauth.c. Mon Apr 23 17:20:01 EEST 2007 Pekka Riikonen * Do not call TCP network listener callback with any error status, as documented. Affected file is lib/silcutil/unix/silcunixnet.c. Sun Apr 22 21:13:28 EEST 2007 Pekka Riikonen * Preliminary SILC Server 1.1 changes committed to apps/silcd/. * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type. Changed silc_skr_find to have SilcSchedule argument and removed it from silc_skr_[alloc|init]. Affected files are lib/silcskr/silcskr.[ch]. * Allow NULL id for silc_idcache_add. Affected file is lib/silcapputil/silcidcache.c. * Added silc_packet_stream_is_valid, silc_packet_get_ids and silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch]. Fixed also channel message encryption with router-to-router packets. * Added silc_id_str2id2 to lib/silccore/silcid.[ch]. * Added silc_net_get_error_string, silc_net_listener_get_ip and silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch]. Tue Apr 10 15:55:42 CEST 2007 Jochen Eisinger * Add option --enable-silc-plugin. Affected files are apps/irssi/configure.{ad,in} * Only compile the SILC Plugin if required. Affected files are apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am * Conditionally build the SILC Plugin. Affected files are apps/irssi/src/silc/core/Makefile.am, apps/irssi/src/fe-common/silc/Makefile.am * Backout delayed protocol exit and replace with a lame busy wait. Affected files are apps/irssi/src/fe-text/silc.c, apps/irssi/src/silc/core/silc-core.c * Fix key generation for SILC Plugin. Affected file apps/irssi/src/silc/core/clientutil.c Tue Apr 10 12:40:19 CEST 2007 Jochen Eisinger * Only pass -rpath to libtool when building shared libraries. Affected file lib/Makefile.ad * Removing the stray "s" in configure.ad Sat Mar 24 19:13:58 CET 2007 Jochen Eisinger * Redraw the screen after creating a new key. Affected file apps/irssi/src/silc/core/clientutil.c Sun Mar 18 15:54:10 EET 2007 Pekka Riikonen * Added SILC Client setting /set nickname_format that specifies the nickname format string. Changed default nickname format string to "%n#%a". Affected file is apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf. * Fixed nickname parsing with WHOIS command to accept formatted nicknames. Changed the silc_client_get_clients_local to allow the searched nickname to be formatted nickname. Removed %s and %S nickname formatters. Affected files are in lib/silcclient/. * Added silc_client_nickname_parse to Client library API. Affected file is lib/silcclient/silcclient.h. * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY commands. Affected file are apps/irssi/src/silc/core/silc-servers.c and silc-channels.c. Sat Mar 17 19:07:15 CET 2007 Jochen Eisinger * Incorporate SILC Plugin patches. Affected files are apps/irssi/src/fe-common/silc/module-formats.{c,h}, apps/irssi/src/silc/core/clientutil.{c,h}, apps/irssi/src/silc/core/silc-core.c, apps/irssi/src/silc/core/silc-chatnets.{c,h}, apps/irssi/src/fe-common/silc/fe-silcnet.c, and apps/irssi/src/fe-common/silc/module.h Wed Mar 14 17:31:28 EET 2007 Pekka Riikonen * In notify handling resolve user entries many times if the resolving timedout. Affected file lib/silcclient/client_notify.c. * silc_client_get_clients_local do not return any invalid entries. Affected file is lib/silcclient/client_entry.c. * Do not print "there are now xx user on this channel" for users that actually aren't anymore on the channel. Affected file is apps/irssi/src/client_ops.c. Sun Mar 11 17:43:18 CET 2007 Jochen Eisinger * When joining channels with a password given in the config file, use it. Also use it when cycling (it would be better to get the password from the server, but this isn't possible in SILC). Affected files apps/irssi/src/silc/core/silc-servers.c, apps/irssi/src/silc/core/silc-channels.c Sun Mar 11 15:22:42 CET 2007 Jochen Eisinger * Import perl script for sign_messages from silc-plugin. Affected file apps/irssi/scripts/silc.pl Sun Mar 11 15:19:10 CET 2007 Jochen Eisinger * Only wait for a nick on connecting, when it differs (not counting case) from the username. Affected file is apps/irssi/src/silc/core/silc-servers.c Sun Mar 11 13:50:53 CET 2007 Jochen Eisinger * Use time settings for lag settings. Affected file is apps/irssi/src/silc/core/silc-lag.c Tue Feb 27 17:07:34 EET 2007 Pekka Riikonen * Added silc_thread_yield. Affected file is lib/silcutil/silcmutex.h. Wed Feb 21 17:01:01 EET 2007 Pekka Riikonen * Fixed WHOIS command and requested attributes handling in client library. Affected files are lib/silcclient/command.c and lib/silcclient/client_attrs.c. * Fixed silc_time_value to actually work. Added new function silc_timezone. Affected files are lib/silcutil/silctime.[ch]. Tue Feb 20 08:31:28 EET 2007 Pekka Riikonen * SILC Client 1.1 beta2. Mon Feb 19 16:06:27 EET 2007 Pekka Riikonen * Fixed client to properly abort TCP stream creation when giving /QUIT. Affected file apps/irssi/src/silc/core/silc-servers.c. * Fixed several connecting aborting crashes from the client library, packet engine and socket stream. Affected files are in lib/silclient/, lib/silccore/silcpacket.c and lib/silcutil/unix/silcunixsocketstream.c. * Fixed private key export double free crash in key generation. Affected file is lib/silccrypt/silcpk.c. * Fixed FSM event waiting when there are multiple signallers and the waiter goes away after the first signal. Affected file in lib/silcutil/silcfsm.c. Sun Feb 18 22:02:22 EET 2007 Pekka Riikonen * Fixed FSM event signalling to check if the waiter has gone away already. Affected file is lib/silcutil/silcfsm.c. * Fixed counter mode encryption/decryption to handle non-padded SILC packets correctly. The silc_cipher_set_iv now in counter mode resets for a new block. Affected files are in lib/silcske/, lib/silccrypt/, lib/silcpacket/. Sun Feb 18 12:15:21 EET 2007 Pekka Riikonen * SILC Client 1.1 beta1. * Memory leak fixes around the libraries. Fri Feb 16 16:53:16 EET 2007 Pekka Riikonen * Added better check for epoll() in configure. Affected file is lib/configure.ad. Thu Feb 15 16:50:34 EET 2007 Pekka Riikonen * Fixed per scheduler data input buffer in packet engine. Use list of inbufs instead of just one so that multiple streams can do partial reads to different buffers. Affected file is lib/silccore/silcpacket.c. * Fixed WATCH notify handling in client library. Affected file is lib/silcclient/client_notify.c. Wed Feb 14 17:05:38 EET 2007 Pekka Riikonen * Fixed packet wrapper stream API to support encoder/decoder for packets, and to handle partial reading correctly. Fixed also inbuf size checking in reading to have enough space before reading. Affected files are lib/silccore/silcpacket.[ch]. * Rewrote file transfer in client library. Affected files are in lib/silcclient/. * Added TCP/UDP listener (internal) API to client library to have generic way of dealing with listeners. Fixed Key Agreement and file transfer to use it. Affected files are in lib/silcclient/. * Fixed SKE to process SUCCESS packets synchronously and to call completion synchronously. Affected file is lib/silcske/silske.c. * Fixed pthread rwlock detection. Affected file includes/silc.h.in. * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER. Affected files are lib/silccore/silcattrs.[ch]. SILC Protocol version 1.3 change. Fri Feb 2 22:24:11 EET 2007 Pekka Riikonen * Added support for SILC protocol version 1.3 NEW_CLIENT packet to client library. Affected file is lib/silcclient/client_register.c. * Serialize NICK and JOIN commands to avoid problems locally with changing ID while joining to channel. Affected file is lib/silcclient/command.c. * Fixed entry resolving while handling incoming JOIN notify. Handle properly cases, in re-processing of notify packets, where the IDs may become invalid while resolving the entry (like nick change). Entry is invalid if it doesn't have nickname, and such entries are not delivered to application anymore. These fixes problems of not seeing JOINs when remote user changes nickname at the same time. Affected files are in lib/silcclient/. Thu Feb 1 18:35:58 EET 2007 Pekka Riikonen * Added support for computing message payload MAC in new way (SILC Protocol version 1.3). Bakcwards support for old way remains. Affected files are lib/silccore/silcmessage.[ch]. Sat Jan 27 22:37:30 EET 2007 Pekka Riikonen * Added SilcRwLock API, a read/write lock. Affected files are lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/. Wed Jan 24 18:55:21 EET 2007 Pekka Riikonen * Merged Irssi SVN (irssi 0.8.11). Affected files in apps/irssi/. Tue Jan 23 16:05:27 EET 2007 Pekka Riikonen * The silc_schedule_set_listen_fd now returns boolean value. Fixed FD task adding to check correctly for already added FD tasks. Added stricter error checking for FD scheduling with epoll(). Affected files are lib/silcutil/silcschedule.[ch] and lib/silcutil/unix/silcunixschedule.c. * The silc_stream_set_notifier now returns boolean value. Changed all streams to support and check for the error condition. Affected files are in lib/silcutil/. * Fixed SKE library session aborting and deletion. Affected file are lib/silcske/silcske.c. Tue Jan 16 18:22:08 EET 2007 Pekka Riikonen * Implemented PKCS #1 with appendix with hash OID in the signature. Affected files are lib/silccrypt/silcpkcs1.[ch], lib/silccrypt/silchash.[ch] and lib/silcasn1/silcasn1[_encode|decode].[ch]. Sun Jan 14 23:12:41 EET 2007 Pekka Riikonen * Added support for Version (V) SILC public key identifier. Affected files are lib/silccrypt/silcpk.[ch]. Tue Jan 9 19:37:51 EET 2007 Pekka Riikonen * Rewrote connection auth request in client library. It is now done automatically by the library and the resolved method given as a hint to get_auth_method client operation. Affected files are lib/silcclient/. Wed Jan 3 18:06:33 EET 2007 Pekka Riikonen * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch]. It can be used to wrap SilcPacketStream into SilcStream. * Fixed %p formatting from silc_snprintf. Affected file is lib/silcutil/silcsnprintf.c. * Ported SFTP library to new utility library. Ported also the SFTP testers. Affected files in lib/silcsftp/. Tue Jan 2 17:18:46 EET 2007 Pekka Riikonen * Added lib/silcutil/silcsnprintf.[ch]. Added in addition of silc_snprintf, silc_vsnprintf, silc_asprintf and silc_vasprintf. Sat Dec 30 23:23:17 EET 2006 Pekka Riikonen * Added preliminary Symbian support. Changes around the source tree. The symbian/ directory now includes Carbide.c++ project files to compile the sources. * Added silc_snprintf. Affected files are lib/silcutil/silcstrutil.[ch]. Thu Dec 21 18:01:51 EET 2006 Pekka Riikonen * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to macros. SILC_FSM_CONTINUE macro now immediately calls the next state instead of first returning back to FSM. Helps in debugging crashes etc. Removed FSM Semaphores. Introduced FSM Event which is asynchronous event. Affected files are in lib/. * Added epoll(7) support to SILC Scheduler. It is used by default if it is available. Affected files are lib/silcutil/silcschedule.[ch], lib/silcutil/unix/silcunixschedule.c. Tue Dec 19 20:39:35 EET 2006 Pekka Riikonen * Added CTR mode to AES. Simplified cipher implementation API more. Affected files are in lib/silccrypt/. Sun Dec 17 16:46:55 EET 2006 Pekka Riikonen * Removed `detach' client operation. The detachment data is now delivered in SILC_COMMAND_DETACH command reply to application. Affected file in lib/silcclient/. * Rewrote resuming/detaching in client library. * Added boolean encryption indicator for silc_cipher_set_key. Affected files lib/silccrypt/silccipher.[ch]. Wed Dec 13 18:05:50 EET 2006 Pekka Riikonen * Added silc_likely and silc_unlikely macros for GCC branch prediction optimizations. Affected file lib/silcutil/silctypes.h. * Added assembler AES optimization. Cleaned up the SILC Cipher implementation API. Affected files are in lib/silccrypt/. Tue Dec 12 18:56:14 EET 2006 Pekka Riikonen * Changed back the SILC_FSM_THREAD_WAIT operation to not continue to next state if thread is finished already. That check is not done anymore. Affected files are lib/silcutil/silcfsm.[ch]. Sun Dec 10 13:54:52 EET 2006 Pekka Riikonen * Removed silc_packet_[get|set]_ciphers and silc_packet_[get|set]_hmacs. Added silc_packet_set_keys that handle REKEY_DONE packet sending in rekey. Affected files are lib/silccore/silcpacket.[ch]. * Added silc_fsm_is_started. Affected files are lib/silcutil/silcfsm.[ch]. * Added settings sign_channel_message, sign_private_message and key_exchange_rekey_pfs to SILC Client. Added UDP transport support for key agreement in /KEY command. Affected files in apps/irssi/src/silc/core/. * During SILC Client initialization forward log messages to stderr. Affected files in apps/irssi/src/silc/core/. Thu Dec 7 19:07:21 EET 2006 Pekka Riikonen * Added silc_ske_get_key_material. Affected files are lib/silcske/silcske.[ch]. * Added silc_packet_stream_is_udp. Affected files are lib/silccore/silcpacket.[ch]. * Added SKE packet retransmission support with UDP transport. Affected file is lib/silcske/silcske.c. Sun Dec 3 22:00:12 EET 2006 Pekka Riikonen * Added silc_socket_stream_is_udp. Affected file is lib/silcutil/silcsocketstream.[ch]. * Added UDP transport support to packet engine. Affected file is lib/silccore/silcpacket.c. * Added silc_socket_stream_is_udp. Affected file is lib/silcutil/silcsocketstream.[ch]. Sat Nov 18 11:33:03 EET 2006 Pekka Riikonen * Added silc_packet_send_va[_ext] to send variable argument formatted buffers. Affected files lib/silcore/silcpacket.[ch]. * Timeout freelist garbage collection added to scheduler. Affected file lib/silcutil/silcschedule.c. Thu Nov 9 18:12:15 EET 2006 Pekka Riikonen * Added silc_show_public_key_file to lib/silcapputil/silcapputil.[ch]. * Added SILC_STR_ADVANCE support for buffer unformatting. Affected file lib/silcutil/silcbuffmt.c. Tue Nov 7 18:04:36 EET 2006 Pekka Riikonen * Added SILC_STR_ADVANCE. Affected file is lib/silcutil/silcbuffmt.[ch]. * The silc_buffer_strformat preserves buffer locations now. * Added lib/silcutil/silcatomic.h for atomic operations. Sat Sep 16 11:23:06 EEST 2006 Pekka Riikonen * Added lib/silchttp, SILC HTTP server, a very simple HTTP server. * Fixed MIME deocing when data portion is not present. Affected file lib/silcutil/silcmime.c. Wed Jul 19 12:06:38 EEST 2006 Pekka Riikonen * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/. * Added IV Included support to packet routines, to allow packet sending and receiving on UDP/IP. Affected files are lib/silccore/silcpacket.[ch]. * Added SILC_FSM_YIELD. Affected files lib/silcutil/silcfsm.[ch]. Tue Jul 18 20:10:28 EEST 2006 Pekka Riikonen * Added UDP support to network and socket stream library. Sat Jun 24 22:33:18 EEST 2006 Pekka Riikonen * Added conditional variables. New files are lib/silcutil/silcondvar.h and platform specific implementations. Thu Jan 5 20:02:31 CET 2006 Patrik Weiskircher * make sure session->hostname and session->port are valid before the application callback is done, since things will go wrong if the application immediately calls silc_client_file_receive. Affected file lib/silcclient/client_ftp.c. Patch received from Stefan Siegel , thanks! Fri Dec 30 22:54:21 EET 2005 Pekka Riikonen * New SILC PKCS API enabling support for other public keys and certificates, lib/silccrypt/silcpkcs.[ch], silcpk.[ch]. * Separated SILC Public Key Payload routines from the PKCS API to lib/silccore/silcpubkey.[ch]. Wed Dec 28 13:55:22 EET 2005 Pekka Riikonen * Added SILC Key Repository library, lib/silcskr. * Added SILC Server library, lib/silcserver. Mon Dec 19 18:04:24 EET 2005 Pekka Riikonen * MIME objects in attributes now use SilcMime. Affected files are lib/silccore/silcattrs.[ch]. Sat Dec 17 20:13:31 EET 2005 Pekka Riikonen * Synchronize semaphore posting for real threads in FSM. Affected files are lib/silcutil/silcfsm.c, silcfsm_i.h. Mon Nov 28 17:06:54 EET 2005 Pekka Riikonen * Added silc_file_set_nonblock. Affected file is lib/silcutil/silcfileutil.h. * Added silc_fd_stream_file to lib/silcutil/silcfdstream.[ch]. Sat Nov 26 16:13:40 EET 2005 Pekka Riikonen * FSM based implementation of SILC SKE. Simpler interface also. Affected files are in lib/silcske/. * Added SilcBool type. Affected file lib/silcutil/silctypes.h. Sat Nov 19 17:34:51 EET 2005 Pekka Riikonen * Added SilcMime API to lib/silcutil/silcmime.[ch]. The old silc_mime_parse is available but deprecated. * Check that packet is valid when processing key exchange, authentication and rekey protocols. Fixes a crashbug. Affected files are apps/silcd/protocol.c and lib/silcclient/protocol.c. * Added SILC_HASH_MAXLEN to lib/silccrypt/silchash.h, and changed all hash buffers to use that instead of fixed values. Wed Nov 16 15:47:12 EET 2005 Pekka Riikonen * Added SHA-256 to crypto library. The SHA-256 takes now precedence over SHA-1. Thu May 26 20:31:06 EEST 2005 Pekka Riikonen * Check for valid return value from regcomp. Affected file lib/silcutil/unix/silcunixutil.c. Tue May 10 23:11:17 EEST 2005 Pekka Riikonen * Fixed silc_hash_uint to work with integers. Affected file lib/silcutil/silcutil.c. Tue May 10 15:11:53 EEST 2005 Pekka Riikonen * Rewritten SILC Log API. Affected files lib/silcutil/silclog.[ch]. Mon May 9 12:00:08 EEST 2005 Pekka Riikonen * Fixed channel public key list saving on JOIN command reply on backup router. Affected file apps/silcd/command_reply.c. Mon May 2 10:42:49 EEST 2005 Pekka Riikonen * Added default limit how many channels client can join, default is 50. Added 'channel_join_limit' configuration option to server too. Affected files are apps/silcd/command.c and serverconfig.[ch]. Sun May 1 17:42:55 EEST 2005 Pekka Riikonen * --without-silc -> --with-silc, --without-irssi -> --with-irssi. On Toolkit the server and client are not compiled by default. Affected file configure.ad. Thu Apr 28 15:57:37 EEST 2005 Pekka Riikonen * Added lib/contrib/getopt.[ch] for platforms that don't have it (it is not GPL implementation). * Fixed compilation when pkg-config is used. Wed Apr 27 11:49:41 EEST 2005 Pekka Riikonen * A comma in invite/ban string is invalid, check for it. Affected file apps/silcd/server_util.c. * Added SERVICE command to the server. It parses the command request but SILC Server does not support services for the time being. Affected file apps/silcd/command.[ch]. * Added SERVICE command and command reply to client library. It is however incomplete. Updated Toolkit documentation. Affected files are lib/silcclient/command[_reply].[ch]. * Fixed IDENTIFY/WHOWAS command reply to send the username correctly (uninitialized buffer). Affected file is apps/silcd/server_query.c. Mon Apr 25 14:25:24 EEST 2005 Pekka Riikonen * Moved silcer/, silc/, silcd/ and irssi/ to apps/. This finalizes the major restructuring of the CVS tree. Mon Apr 25 00:39:30 EEST 2005 Pekka Riikonen * Send empty MOTD reply if MOTD file cannot be read. Affected file silcd/command.c. Sun Apr 24 12:01:37 EEST 2005 Pekka Riikonen * Optimized primer number generator to use simpler conversion routines. Also assure that the prime number will have the highest bit set after modifying it. Affected file is lib/silcmath/silcprimegen.c. * Added LibTomMath to SILC Math library (SILC_DIST_TMA). * Added FastTomMath to SILC Math Library (SILC_DIST_TFM), for now only for testing purposes, it will not be delivered in any distribution for now. * Removed NSS MPI from the source tree. Due to upcoming license change for the SILC Toolkit, we cannot deliver the NSS MPI anymore. I decided to replace it in all distributions with public domain library. * Removed GNU regex from lib/contrib and introduced free GNU compatible regex, lib/contrib/regexpr.[ch]. Added GNU regex compatible API to it (only partial). * Removed getopt routines from lib/contrib. Fri Apr 22 12:21:44 EEST 2005 Pekka Riikonen * Use silc_server_send_command_reply to send replies instead of encoding packet itself. Affected file silcd/command.c. * Added command sending and receiving statistics to server. Affected files in silcd/. * GCC 4 warning fixes. -Wno-pointer-sign option is now used with GCC, for it not to warn about pointer signedness. Tue Apr 19 11:57:35 EEST 2005 Pekka Riikonen * Added context to the SilcIDCache destructor. Affected files are lib/silccore/silcidcache.[ch], lib/silcclient/client.c and silcd/server.c. Mon Apr 18 09:53:28 EEST 2005 Pekka Riikonen * Added pkg-config check to configure. * The PublicKeyDir must not be used with Admin block in server config. Affected file silcd/serverconfig.c. Sat Apr 16 20:23:48 EEST 2005 Pekka Riikonen * Added Autodist. Thu Apr 14 20:25:08 EEST 2005 Pekka Riikonen * Handle empty LIST command reply correcttly in server. Affected file silcd/command_reply.c. * Handle empty LIST command reply correctly in client library. The application will now receive one LIST command reply with all arguments set to NULL if there are no channels. Updated Client Library documentation accordingly. Affected file lib/silcclient/command_reply.c. Tue Apr 12 00:02:09 EEST 2005 Pekka Riikonen * Added channel name string stringprep profile to the protocol and implementation to allow a little free'er channel name strings. Affected files are lib/silcutil/silcstringprep.[ch]. * Added silc_channel_name_[check|verify] to check and verify channel name strings. Affected files are lib/silcutil/silcstrutil.[ch]. * Added support for the new channel name preparation in client library and server. Affected files in lib/silcclient and silcd/. Mon Apr 11 13:40:27 EEST 2005 Pekka Riikonen * Added the Autodist into the source tree. It replaces the old ./prepare. It can be used to create distributions as previously. See README.CVS and README.DIST. See distributions in distdir/. Sun Apr 10 11:30:56 EEST 2005 Pekka Riikonen * Make sure query sends at least an error back if nothing more is sent. Affected file silcd/server_query.c. Thu Apr 7 14:50:01 EEST 2005 Pekka Riikonen * During query, check if the original command caller goes away. If it does, stop the query. Affected file silcd/server_query.c. * Check for valid channel creation in JOIN command reply. Affected file lib/silcclient/command_reply.c. * Handle the resolver counter in silc_client_get_users_by_channel callback correctly. Fixed auto-join bug in Gaim. Affected file lib/silcclient/idlist.c. Wed Apr 6 16:56:53 EEST 2005 Pekka Riikonen * Added some better error messages. Affected file silcd/command_reply.c and packet_receive.c. * Handle error in WATCH command propely on backup router. Affected file silcd/command.c. * Fixed freeing of unfreeable variable in WHOIS command reply. Affected file silcd/command_reply.c. Wed Apr 6 09:10:31 CEST 2005 Pekka Riikonen * Added pkg-config .pc file creation for silc core library and silcclient library. A patch by c0ffee. * Removed the need for GNU Libidn. Added the simple stringprep from libidn into lib/contrib/. It is now used also on Windows build. Mon Apr 4 15:15:46 EEST 2005 Pekka Riikonen * Simplified the invite and ban string handling in the server. Check for valid invite and ban arguments also. Affected file silcd/server_util.c. Sun Apr 3 14:58:53 EEST 2005 Pekka Riikonen * Added WATCH list announcing in backup router protocol. Affected files are silcd/command.c, server.c, server_backup.c. * Do not change users mode to founder on normal server/backup if the founder mode is set, and user is first one to join. Affected file silcd/pcaket_receive.c. * Do not send CUMODE_CHANGE notify back to sender. Affected file silcd/packet_receive.c. * Added getrusage() to take noise in SILC RNG. A patch by Mika Boström. Affected files are configure.in.pre, includes/silcincludes.h.in, lib/silccrypt/silcrng.c. Sat Apr 2 18:09:30 EEST 2005 Pekka Riikonen * Splitted the SILC libraries configuration into a configure fragment into lib/configure.ad. It is now possible, once this feature is added, to specify whether to compile or not compile included SILC libraries. Affected files are configure.in.pre, lib/silcmath/mpi/configure.ad, lib/configure.ad, Makefile.defines.pre and Makefile.defines_int.pre. * Added --with-silc-includes and --with-silc-libs to configure. If specified the included libs are not compiled, but the specified libs are used. Pkg-config is not yet supported. Affected file configure.in.pre. * Fixed WATCH command handling on backup router. Router does not send the watch command any more to backup if it originates from backup. Affected file silcd/command.c. Fri Apr 1 18:52:47 EEST 2005 Pekka Riikonen * Changed announcing to not announce unregistered clients. Affected file silcd/server.c. * Fixed username handling in command reply. Affected file silcd/command_reply.c. * Log files are now 0600. Affected file lib/silcutil/silclog.c. Thu Mar 31 22:34:22 CEST 2005 Patrik Weiskircher * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined. Affected file: includes/silcincludes.h.in * bool is defined as _Bool on Mac OS X now. Affected file: lib/silcutil/silctypes.h Thu Mar 31 08:52:06 EEST 2005 Pekka Riikonen * Added support for UTF-8 nicknames, channel names and server names in client library. Affected files in lib/silcclient/. * Added __SILC_HAVE_PTHREAD, __SILC_HAVE_SIM, __SILC_HAVE_LIBIDN, and __SILC_ENABLE_DEBUG to include/silcclient.h for third-party software to check how Toolkit has been compiled. Wed Mar 30 22:16:35 EEST 2005 Pekka Riikonen * Added silc_utf8_str[n]casecmp into lib/silcutil/silcutf8.[ch]. * Use silc_utf8_str[n]casecmp instead of strcmp routines in library and in SILC Client when dealing with nicknames and other identifier strings. Affected file in client lib and irssi. * Convert nickname to UTF-8 in /msg and /smsg. Affected file irssi/src/silc/core/silc-servers.c. Wed Mar 30 10:50:02 EEST 2005 Pekka Riikonen * Fixed idcache to work with the new identifier strings. Affected file lib/silccore/silcidcache.c. * Added UTF-8 hash and compare function for SilcHashTable. Affected file lib/silcutil/silcutil.[ch]. * Added casefolding stringprep, SILC_CASEFOLD_PREP. Affected file lib/silcutil/silcstringprep.[ch]. * Changed the identifier string handling to include the original format in client, server, channel entries and normalized format in cache. Affected files in silcd/. Tue Mar 29 16:51:35 EEST 2005 Pekka Riikonen * Added support for the new identifier strings and their validity checking. Nicknames, channel names and usernames can now include practically any kind of letters and various other characters. Affected files in silcd/ and in libraries. NOTE: comparing these strings should now be done with memcmp() to check binary compatibility. All these strings are normalized and casing is irrelevant. * Added silc_identifier_check to lib/silcutil/silcstrutil.[ch] as easy function for applications to check whether identifier strings are valid. Tue Mar 29 00:45:11 EEST 2005 Pekka Riikonen * Fixed SILC_STRING_LDAP_DN encoding and decoding. Affected file lib/silcutil/silcutf8.c. * Added SILC_STRING_UTF8_ESCAPE to lib/silcutil/silcstrutil.h. Mon Mar 28 22:46:23 CEST 2005 Jochen Eisinger * Make public key in getkey reply mandatory. Affected file lib/silcclient/command_reply.c Sun Mar 27 19:03:31 CEST 2005 Patrik Weiskircher * Added Parameter dont_register_crypto_library to SilcClientParam. If set to TRUE, silcclient library will not initalize the Crypto Libraries and application will need to do it. Affected file lib/silcclient/silcclient.h, lib/silcclient/client.c. Sun Mar 27 19:02:48 EEST 2005 Pekka Riikonen * Imported new silc_utf8_[encode|decode] routines from my internal SILC 1.1 source tree. New encodings added: SILC_STRING_LOCALE (SILC_STRING_LANGUAGE is deprecated), SILC_STRING_UTF8, SILC_STRING_PRINTABLE, SILC_STRING_VISIBLE, SILC_STRING_TELETEX, SILC_STRING_NUMERICAL and SILC_STRING_LDAP_DN. * Splitted UTF-8 routines into lib/silcutil/silcutf8.[ch]. * Implemented stringprep (RFC 3454) API. Internally we use GNU Libidn's stringprep, for now, so it is required now to compile SILC sources. Added lib/silcutil/silcstringprep.[ch]. * Added checking for GNU Libidn and --with-libidn to configure. Wed Mar 23 11:20:33 CET 2005 Jochen Eisinger * If the passphrases entered do not match while generating a new key, completly start over instead of going into an infinite loop asking the user to re-enter the passphrase correctly. Affected file lib/silcutil/silcapputil.c Sun Jan 9 14:28:51 CET 2005 Pekka Riikonen * Make sure server is removed from backup list when it is deleted. Affected files silcd/command.c, server.c, server_util.c. * Close socket when connecting to router fails. Affected file silcd/server.c. Tue Jan 4 13:06:26 CET 2005 Jochen Eisinger * Adopt configuration toolchain to current auto-tools. Affected files prepare, irssi/configure.in * Revert most of the UTF-8 fixes to SILC Client 1.0.1. Will redo that. Affected files irssi/src/silc/core/client_ops.c, irssi/src/fe-common/silc/fe-silc-channels.c * Take over command line options into silcclient data structure. Affected file irssi/src/silc/core/silc-core.c Wed Dec 8 16:15:11 CET 2004 Pekka Riikonen * Do not try to initiate backup resuming protocol forever. Affected file silcd/server_backup.c. Wed Nov 24 18:24:05 CET 2004 Pekka Riikonen * ID change in resuming has to be done before changing detached client's modes, since the ID change may fail and leave ghosts on the network. Affected file is silcd/packet_receive.c. Tue Nov 23 16:54:35 CET 2004 Pekka Riikonen * Fixed Win32 scheduler to not stuck anymore. A patch from Juha Räsänen. Affected file is lib/silcutil/win32/silcwin32schedule.c. * Fixed QoS parsing for connection blocks in server. Affected file is silcd/serverconfig.c. * Fixed server statistics increasing in server. Affected file is silcd/server.c. * The CLOSE command now marks backup router as self disconnected to avoid resuming problems. Affected file silcd/command.c. Wed Sep 22 19:46:32 CEST 2004 Patrik Weiskircher * When using silc_net_create_connection[_async], and your system can create IPv6 sockets, it will try to connect to the IPv6 host. Now it tries to connect to an IPv4 host if IPv6 fails. Affected file lib/silcutil/unix/silcunixnet.c Fri Jun 18 19:26:58 CEST 2004 Pekka Riikonen * Check for valid route when receiving packet from router and when routing it to local server in the cell. A patch from Matt Miller. Affected files silcd/router.c and server.c. Sat May 1 13:55:54 CEST 2004 Patrik Weiskircher * Couldn't detach and reattach twice, because of the previous commit. Affected file silcd/packet_receive.c Fri Apr 30 19:40:28 CEST 2004 Patrik Weiskircher * Added check to ignore Port value if Initiator is FALSE. Remote router coudln't connect if Port was set. Affected file silcd/serverconfig.c * If some client tries to resume more than once at the same time, server crashed. Router didn't crash, but showed odd behaviour (didn't allow clients to join anymore, ..). Affected files silcd/packet_receive.c silcd/idlist.h Mon Mar 15 21:10:08 EET 2004 Pekka Riikonen * Destroy the file transfer session in silc_client_file_close with timeout. Affected file lib/silcclient/client_ftp.c. * Call SFTP server monitor in READ and WRITE after the actual operations. Affected file lib/silcsftp/sftp_server.c. Wed Mar 10 21:30:02 EET 2004 Pekka Riikonen * Create one configure script from configure fragments (configure.ad). This is a first step towards new distribution system. Affected files prepare, configure.in.pre, lib/silcmath/mpi/configure.ad. Wed Mar 10 18:35:24 CET 2004 Jochen Eisinger * Removed expiring of client key pair. Affected file is irssi/src/silc/core/clientutil.c Tue Mar 9 17:11:58 EET 2004 Pekka Riikonen * Check the number of connections from real number of connections instead of socket number, when deciding if server is full. Affected files are silcd/server.c, server_internal.h and silcd.c. * Clarified the connections_max meaning in General section in doc/example_silcd.conf.in. * The reconnect_keep_trying default value set to TRUE if it is not defined in the config file. Affected file silcd/serverconfig.c. Wed Mar 3 15:13:49 CET 2004 Pekka Riikonen * Fixed crashbug in connection closing, after a protocol completion callback, which might have closed it already. Affected file silcd/server.c. * Fixed rekey with PFS in backup router. It did not allow rekeys with PFS, and when the rekey protocol timedout it crashed the backup router without the above fix. Affected file silcd/packet_send.c and server.c. Sat Feb 28 16:25:09 EET 2004 Pekka Riikonen * The silc_client_add_channel_private_key now returns the private key context if pointer is given as argument. Affected files are lib/silcclient/silcclient.h and client_channel.c. * Added support for using channel private keys in SILC Client Library even if the private key mode is not set on the channel. Affected file lib/silcclient/client_channel.c. * The channel private key used to decrypt message is now delivered to the application in the 'channel_messageÃ' client operation. Affected files are lib/silcclient/silcclient.h and client_channel.c. * Fixed wrong arg type for user limit in CMODE command reply. Affected file silcd/command.c. * The user limit is now taken and saved to SilcClientEntry in JOIN and CMODE command replies and in CMODE_CHANGE notify. Affected files lib/silcclient/silcclient.h, command_reply.c and client_notify.c. * Added support to the new private message key indicator packet. Added a new function to the client library: silc_client_send_private_message_key_request. The sender indicates to be initiator, and receiver is responder. Added the indicator to the SilcClientEntry as 'prv_resp' boolean. Affected files are lib/silcclient/silcclient.h client.[ch], and client_prvmsg.c. Fri Feb 27 11:25:26 CET 2004 Pekka Riikonen * Fixed the JOIN command calling when called with both -auth and -founder. Affected file is lib/silcclien/command.c. Wed Feb 25 23:12:11 EET 2004 Pekka Riikonen * Check watcher list for resumed clients as well. Affected file is silcd/packet_receive.c. Tue Feb 24 16:49:10 EET 2004 Pekka Riikonen * Implemented the user limit to the CMODE_CHANGE notify, CMODE command reply and JOIN command reply in server. Affected files are silcd/server.c, command.c, command_reply.c, packet_send.c and packet_receive.c. Mon Feb 23 23:31:15 EET 2004 Pekka Riikonen * Defined SILC_STRFMT_END that must be used now with silc_buffer_strformat, instead of SILC_STR_END. Fixes crashes on AMD64. Affected files are lib/silcutil/silcbuffmt.h, lib/silcclient/silcvcard.c, silcd/server_util.c. * Fixed the adding of public key to the WATCH list in server. Fixed the WATCH notify sending to client. Affected files are silcd/packet_send.[ch], command.c, server_util.c. * Implemented the watching by public key in the SILC Client Library and SILC Client. Affected files are lib/silcclient/command.c and client_notify.c. Mon Feb 23 09:30:30 CET 2004 Pekka Riikonen * Added support for public key watching in server. Affected files are silcd/server.c, server_internal.h, command.c, server_util.c. Sun Feb 22 19:03:59 EET 2004 Pekka Riikonen * Added public key to the SIlcClientEntry. Affected files are lib/silcclient/silcclient.h, command_reply.c, idlist.c * Fixed the get_clients_whois reply processing to return exactly same entries server returned. Makes it possible to search using attributes. Affected file is lib/silcclient/idlist.c. Sat Feb 21 19:21:57 EET 2004 Pekka Riikonen * Save founder key to SilcChannelEntry. Affected files are lib/silcclient/silcclient.h, command_reply.c, idlist.c. Fri Feb 20 20:37:38 EET 2004 Pekka Riikonen * Call the monitor callback with _CLOSED status from the silc_client_file_close. Affected files are lib/silcclient/client_fpt.c, silcclient.h * Added silc_client_get_clients_whois which resolves using WHOIS, and supports requested attributes as well. Affected files are lib/silcclient/silcclient.h, idlist.c. Fri Feb 19 21:09:22 EET 2004 Pekka Riikonen * Added support for asking the destination filename where the downloaded file is saved in the file transfer. Affected files are lib/silccilent/silcclient.h, client_ftp.c. Wed Feb 18 02:46:17 EET 2004 Pekka Riikonen * Fixed error handling in resuming data processing. Affected files are lib/silcclient/client_resume.c and client.c. Tue Feb 17 19:34:30 EET 2004 Pekka Riikonen * Fixed silc_client_send_private_message to return TRUE correctly. Affected file lib/silcclient/client_prvmsg.c. * Added topic to the SilcChannelEntry. Affected files are lib/silcclient/silcclient.h, command_reply.c, client_notify.c. Fri Feb 13 14:19:14 CET 2004 Jochen Eisinger * Use conn->cmd_ident for all silc_client_command_call()s. Affected file lib/silcclient/command.c Fri Feb 13 13:53:45 CET 2004 Jochen Eisinger * Convert all commands to UTF-8 before passing them to the client library. Still need to convert replies from UTF-8 to the locale encoding. Affected file irssi/src/silc/core/silc-cmdqueue.c Fri Feb 13 13:13:07 CET 2004 Jochen Eisinger * redirect all silc_client_command_calls through a queueing framework. This fixes /CYCLE and the annoying "nick change after auto-joining a channel". Furthermore it defines one central point where command parameters can be UTF-8-ified. Affected files irssi/src/silc/core/Makefile, client_ops.c, silc-channels.c, silc-servers.[ch], silc-core.c, silc-cmdqueue.[ch], silc-lag.c Fri Feb 13 12:04:41 CET 2004 Jochen Eisinger * use asynchronous connect() to establish router connections. Fixes problem when the primary router goes down. Affected files silcd/server.c, silcd/server_backup.c Thu Feb 12 20:09:59 EET 2004 Pekka Riikonen * Added SILC_[32|64]_TO_PTR and SILC_PTR_TO_[32|64] macros. Fixed various compilation warnings when type casting ints to pointers or vice versa, of different size. Updates around the source free. Tue Feb 3 23:25:17 EET 2004 Pekka Riikonen * Surrogates not allowed in UTF-8 strings, updated decoder. Affected file lib/silcutil/silcstrutil.c. Added UTF-8 testers in lib/silcutil/tests/ directory. Wed Jan 14 18:42:44 EET 2004 Pekka Riikonen * Added SILC_CLIENT_CONN_ERROR_KE, ERROR_AUTH, ERROR_RESUME and ERROR_TIMEOUT SilcClientConnectionStatus errors. Affected files are lib/silcclient/silcclient.h, client.c. Mon Jan 12 13:01:10 CET 2004 Jochen Eisinger * When resuming a session fails, notify the user that the session file needs to be removed eventually. Affected files irssi/src/fe-common/silc/module-formats.[ch], irssi/src/silc/core/client_ops.c. Tue Jan 04 12:16:04 CET 2004 Jochen Eisinger * Added DIST_SUBDIRS symbols to include all subdirs in distributions. Affected files lib/silcutil/Makefile.am, lib/silcmath/Makefile.am * Typofix in Irssi::Silc module. Affected file irssi/src/perl/silc/Silc.xs. Tue Jan 04 02:43:44 CET 2004 Jochen Eisinger * Changed the way NOTICE flagged messages are treated. Added support for notices in queries and signing notices. Affected files irssi/default.theme; irssi/docs/help/in/notice.in; irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c; irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.c * Fixed typo in /ACTION help. Affected file irssi/docs/help/in/action.in Mon Jan 03 23:26:38 CET 2004 Jochen Eisinger * Fixed typo in perl module. Affected file irssi/src/perl/silc/Server.xs * Changed the way ACTION flagged messages are treated. Added support for actions in queries and signing actions. Affected files irssi/default.theme; irssi/docs/help/in/action.in; irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c, fe-silc-queries.c; irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.[ch] Mon Jan 03 16:04:29 CET 2004 Jochen Eisinger * Incorrectly reported error when client had to be resolved from server in /SMSG. Affected file irssi/src/silc/core/silc-servers.c Sat Jan 3 16:37:15 EET 2004 Pekka Riikonen * Fixed whois public key hash table deleting and adding in detached client case. Affected file silcd/packet_receive.c. Sat Jan 03 12:15:38 CET 2004 Jochen Eisinger * Changed filenames of silc/fe module not to collide with filenames from core/fe. Also seperated public messages printing from query messages printing. Affected files are all in irssi/src/fe-common/silc. Sat Jan 3 12:18:07 EET 2004 Pekka Riikonen * Fixed the invite process handling during joining to use correct server name for the client that is matched against the invite string for the channel. Wrong server name caused inability to join the channel. Affected file is silcd/command.c. Fri Jan 2 23:34:17 EET 2004 Pekka Riikonen * Fixed the CUMODE channel founder authentication on normal server to not remove the founder rights on existing founder before checking that router accepts the mode change. Affected files are silcd/command.c and silcd/packet_receive.c. * Remove the server entry correctly when rekey timeouts and remote router connection on normal server is closed. Fixes a crash where server uses the freed server entry. Affected file silcd/server.c. Fri Jan 02 10:28:15 CET 2004 Jochen Eisinger * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC networks. This is the first step in solving the bug about /SERVER ADD -silcnet . Affected files irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am, fe-silcnet.c, fe-common-silc.c, module-formats.[ch]; irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am Thu Jan 01 20:11:32 CET 2004 Jochen Eisinger * /SMSG and /MMSG now correctly create new queries. Affected files irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl * Add basic support for SILC protocol specific variables in perl. Affected files irssi/src/perl/silc/*, irssi/configure.in, irssi/src/perl/Makefile.am Wed Dec 31 17:06:55 CET 2003 Jochen Eisinger * Don't use silc_get_input, it's obviously not reliable. Fixes issue when the current key expires. Affect file irssi/src/silc/core/clientutils.c * Make the session data filename configurable. This makes it possible to have different session files for different SILC networks. Affected files irssi/src/silc/core/silc-core.c, client_ops.[ch], silc-servers.c, irssi/src/silc/fe-common/silc/module-formats.[ch] * Use the same set of libtool files for the MPI lib as for the rest of the toolkit. Affected files lib/silcmath/mpi/config.guess, config.sub, configure.in, install-sh, missing, mkinstalldirs Sun Dec 28 21:57:39 EET 2003 Pekka Riikonen * Fixed server statistics decrementing error to not go to negative. Affected file silcd/packet_receive.c. Sat Dec 20 14:42:36 EET 2003 Pekka Riikonen * Use silc_server_query_add_error to add error in public key search error. Added support in send_reply to send errors without specific argument. Affected file silcd/server_query.c. * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC Client for NO_SUCH_NICK. It was against the protocol specs. Affected file irssi/src/silc/core/client_ops.c. * Added backwards support for the wrong NO_SUCH_NICK error sending in server. To be removed in SILC Server 1.0. Both old clients and clients with fixed error handling now works. Affected file silcd/server_query.c. Sat Dec 20 00:44:47 CET 2003 Patrik Weiskircher * fixed a bug in the whois using attributes function where no error was sent if no nickname and client id but the attributes were given to whois. Affected file silcd/server_query.c Tue Dec 16 21:34:59 CET 2003 Patrik Weiskircher * remove public key from public key hashtable on detach. Affected file silcd/packet_receive.c * free public key hashtable before removing clients on server shutdown. Affected file silcd/server.c * remove public key prior deleting client-data on killing a client. Affected file silcd/server_util.c Sat Dec 06 21:35:14 CET 2003 Patrik Weiskircher * Getting the MOTD from other servers works now. Affected files are silcd/command.c and silcd/command_reply.c Thu Dec 04 11:33:46 CET 2003 Jochen Eisinger * Initialize the variable idletag, since it is tested in silc_core_deinit for its default value. Affected file irssi/src/silc/core/silc-core.c Sun Nov 30 19:47:02 CET 2003 Patrik Weiskircher * Fixed signed channel messages across cells. Affected file silcd/packet_send.c Fri Nov 28 19:13:21 EET 2003 Pekka Riikonen * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG is not defined. They can now be safely used in if-statements without braces. Affected file lib/silcutil/silclog.h. * Added the checks for backup closing connection due to error (local or remote) and thus not allow the resuming to occur in reconnect. Affected files are silcd/packet_send.c and server.c. Tue Nov 25 15:20:59 EET 2003 Pekka Riikonen * Help file updates. Affected files in irssi/src/docs/help/in/. Wed Nov 23 20:51:21 CET 2003 Patrik Weiskircher * Fixed channel messages across cells. Affected file silcd/packet_send.c Wed Nov 12 11:34:56 EET 2003 Pekka Riikonen * Fixed file transmission accepting in client library to not start the negotiation if user hasn't accepted the transfer, instead create new session for resent transfer. Affected file lib/silcclient/client_ftp.c. * Show the session ID in the file transmision list. Remove session from list that failed to transfer. Switch the current session automatically after transmission, and in errors, to new session if other sessions exists in the transfer list. Affected files are irssi/src/silc/core/silc-servers.c, irssi/src/fe-common/silc/modfule-formats.c. Mon Nov 10 14:41:40 CET 2003 Jochen Eisinger * Fixed MIME header parsing for the hopefully last time. Affected file lib/silcutil/silcstrutil.c Mon Nov 10 13:03:46 EET 2003 Pekka Riikonen * Rewrote the PKCS#1 routines. Added lib/silccrypt/silcpkcs1.[ch]. * The SILC RNG is now gauranteed to return non-zero random values. Affected files are lib/silccrypt/silcrng.[ch]. Sun Nov 9 20:44:56 EET 2003 Pekka Riikonen * Fixed nickname formatting when changing only case of the nickname. Affected file lib/silcclient/idlist.c. Sun Nov 9 19:33:59 CET 2003 Jochen Eisinger * Fixed a memory leak and incorrect printing of the "appears as" message. Affected file irssi/src/silc/core/client_ops.c Sun Nov 9 17:45:11 EET 2003 Pekka Riikonen * Added CRT (Chinese Remainder Theorem) supported RSA private keys and private key operations. This significantly increases private key operation efficiency. No compatibility issues with new or old private keys. Affected files are lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c. Sat Nov 8 13:08:53 EET 2003 Pekka Riikonen * Fixed GCC-3.3.2 related compilation warnings from the source tree. Fri Nov 7 23:01:47 EET 2003 Pekka Riikonen * Removed RC6 from distributions. Fri Nov 7 19:38:42 EET 2003 Pekka Riikonen * Added some better comments to lib/silccrypt/silcpkcs.h, optimized some routines in lib/silccrypt/silcpkcs.c. Added test_silcpkcs into lib/silccrypt/tests/. * Fixed silc_rng_global_init to actually init the global RNG if RNG wasn't provided for it. Affected file is lib/silccrypt/silrng.c. Thu Nov 6 21:08:28 EET 2003 Pekka Riikonen * Added silc_hash_table_find_by_context_ext. Affected files lib/silcutil/silchashtable.[ch]. * Save the public key on normal server in WHOIS command reply from attributes, if present, and add it to public key hash table. Fixes WHOIS resolving by public key on normal server. Optimized the attributes resolving on normal server to not resolve if we resolved them already from router. Affected files are silcd/server_query.c, command_reply.c. Wed Nov 5 19:36:30 CET 2003 Patrik Weiskircher * Added support for whois using attributes. Affected files silcd/command_reply.c, silcd/packet_receive.c, silcd/server.c, silcd/server_internal.h, silcd/server_query.c, silcd/server_util.c * Added support for whois using public key attribute to /WHOIS i client command. Affected files irssi/docs/help/in/whois.in, irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c Wed Nov 5 23:37:36 EET 2003 Pekka Riikonen * Fixed UMODE setting in server when the client has anonymous mode set. The mode setting was not working. Affected file silcd/command.c. Mon Nov 2 11:36:08 CET 2003 Jochen Eisinger * Fixed some bugs and typos related to sending split messages. Print notification when sending messages with /MMSG. Affected files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen * Optimized the socket referencing in packet routines, client library and server. Affected files are lib/silccore/silcpacket.c, lib/silcclient/client.c and silcd/server.c. * If silc_socket_set_qos is given with NULL arguments the QoS is reset from the socket. Affected files are lib/silcutil/silcsockconn.[ch]. Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger * Add a /LISTKEYS command which lists the locally cached client and server keys. Affected files irssi/src/fe-common/module-formats.[ch], irssi/src/silc/core/silc-{channels,servers}.c irssi/docs/help/in/listkeys.in Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen * Check that packet queue purging was successful. Affected files lib/silcclient/client.c and silcd/packet_send.c. Related to MAC failed errors. * Do not clear the inbuf even if it is empty if QoS was applied to it. Otherwise the QoS data is cleared and MAC failed error will occur. Affected file lib/silccore/silcpacket.c. * Use the rekey period time as rekey protocol timeout value. If the rekey does not succeed during the rekey period there's something very wrong, and we most likely end up with wrong keys, do graceful reconnect then. Affected file silcd/server.c. * Take reference of the socket in the parser context, as it's possible to have the parsers in queue after the socket is disconnected and this may cause crash. Affected files are lib/silccore/silcpacket.c, lib/silcclient/client.c and silcd/server.c. Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen * Fixed KICK command reply sending, it sent to replies. Affected file silcd/command.c. Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger * Finish the silc-mime.pl script. It now supports MIME type guessing using magic files, signing data messages, executing MIME handlers in background. Affected files irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in * Changed MIME signal handler to make things easier for the perl script. Affected files irssi/src/silc/core/client_ops.c, silc-servers.c, and irssi/docs/signals.txt * Cleaned up the silc_mime_parse function and fixed detection of wrapped header lines. Affected file lib/silcutil/silcstrutil.c Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen * Resolve the IP for file transfer listener from the connection socket. Affected file lib/silcclient/client_ftp.c. * Accept NULL hostname parameter in the functions silc_net_check_[local|remote]_by_socket. Do not reverse lookup if hostname is not wanted. Fri Oct 24 21:24:12 CEST 2003 Jochen Eisinger * Fixed race condition between silc_client_init and my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c Fri Oct 24 16:43:40 EEST 2003 Pekka Riikonen * Fixed file transfer connection closing when SIGNOFF for the client is received from server. Affected file is lib/silcclient/client_ftp.c. Tue Oct 21 13:35:57 CEST 2003 Pekka Riikonen * Check for disconnected socket in QUIT callback. Affected file silcd/command.c. Thu Oct 21 09:43:17 CEST 2003 Jochen Eisinger * Modified the MIME parsing to allow \n and \r\n as delimiters. Affected files lib/silcutil/silcstrutil.c * Cleaned up the escape/unescape functions for correctness and speed. Affected file irssi/src/silc/core/client_ops.c * Removed handling for data messages with Content-Type: text/*, moved parsing of MIME headers to the signal handler, added support for signing and verifying data messages. Affected files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c, irssi/src/silc/core/silc-{servers,channels}.c * Added a perl script for handling data messages based on information read from Mailcap files. New file irssi/scripts/silc-mime.pl Mon Oct 20 16:08:22 EEST 2003 Pekka Riikonen * Added new SILC_MESSAGE_FLAG_ACK that can be used to acknowledge recepetion of a message to the sender. Updated protocol specs. Sat Oct 18 11:55:33 EEST 2003 Pekka Riikonen * Unregister channel key saving callback when deleting channel. Affected file lib/silcclient/idlist.c. * Do not remove the client from channels in NOTIFY_TYPE_SIGNOFF before calling notify client operation. Affected file is lib/silcclient/client_notify.c. * Unregister QoS tasks when deleting the socket connection. Affected files lib/silcutil/silcsockconn.[ch], unix/silcunixsockconn.c. * Implemented latest presence-attrs draft changes. Affected files lib/silccore/silcattrs.h and irssi/src/silc/core/silc-queries.c. Tue Oct 14 18:24:53 EEST 2003 Pekka Riikonen * Save old channel keys in list to allow more rapid change of channel keys if server for some reason does that. This avoids loosing so many channel messages due to not having key to decrypt. Affected file lib/silcclient/silcclient.h, idlist.c and client_channel.c. Mon Oct 13 21:37:47 EEST 2003 Pekka Riikonen * Continued backup router tests and fixes. Affected files silcd/server_backup, server_util.c, server.c. See TODO. Sun Oct 12 19:58:18 EEST 2003 Pekka Riikonen * Fixed SERVER_SIGNOFF handling in servers. The client was removed from wrong list thus not removing the client at all. Affected file silcd/packet_receive.c. * Do not execute rekey protocol for disabled connections as it would never go through. Affected file silcd/server.c. * Added timeout for rekey protocol to catch if the protocol never executes successfully. Affected files silcd/server.c and protocol.h. Sat Oct 11 15:39:22 EEST 2003 Pekka Riikonen * Abandon packet processing for disconnected sockets. Check this always after calling packet processing callback. Affected file lib/silccore/silcpacket.c. * Fixed double registration disconnection code in server. Closed wrong connection. Affected file silcd/packet_receive.c. Fri Oct 10 16:27:12 EEST 2003 Pekka Riikonen * On normal server reconnect to primary during resuming 4 times, then give up. Affected file silcd/server_backup.c. * If during reconnecting to routers we notice we have router connection but no primary router set, the server is in desync. Reconnect to primary to restore network. Affected file silcd/server.c. * Assure that only one protocol is exeucting at the same time. Added checks for all protocols. Affected files are silcd/server.c and server_backup.c. Thu Oct 9 20:24:09 EEST 2003 Pekka Riikonen * Check that a string is not already part on invite/ban string when processing it. Affected file silcd/server_util.c. Thu Oct 9 12:06:40 CEST 2003 Pekka Riikonen * Fixed the CUMODE_CHANGE for founder mode changes to comply with 1.2 version of the protocol. Affected file is silcd/packet_receive.c. Wed Oct 8 19:41:15 EEST 2003 Pekka Riikonen * ERR_BAD_PASSWORD now returns the Channel ID of the channel where the passphrase was given. Affected file is silcd/command.c. Wed Oct 8 09:32:12 CEST 2003 Pekka Riikonen * INVITE and BAN notifys are now delivered from routers to servers (but not clients) on the channel. Updated specs and code. Affected files silcd/packet_[send|receive].[ch], command.c, server.c and server_util.c. * Implemented INVITE and BAN announcing. Affected files are silcd/server.[ch], server_util.c. * Implemented SilcStatus error type argument returning in command reply error in server. Affected file silcd/command.c. * Implemented SilcStatus argument returning in comand reply in client library. The command_reply client operation now returns error specific arguments as well. Affected files are lib/silcclient/command_reply.[ch], client_resume.c, lib/silccore/silcstatus.[ch]. Sun Oct 5 20:22:08 EEST 2003 Pekka Riikonen * Backup router protocol version 1.2 implemented. Testing still required. Affected files in silcd/server_backup.[ch], server.c, packet_receive.c and server_internal.h. Sun Oct 5 12:36:37 EEST 2003 Pekka Riikonen * silc_client_send_[channel|private]_message now return TRUE or FALSE. Affected file lib/silcclien/client_channel.c and client_prvmsg.c. Thu Oct 2 17:03:09 EEST 2003 Pekka Riikonen * Check for explicit nickname in INVITE and BAN processing during join as well (and don't expect only wildcards in invite/ban strings). Affected file silcd/command.c. * Fixed the INVITE and BAN by public key. The public key saved is the PK payload (as specified) not the raw data. Affected file silcd/server_util.c. Wed Oct 1 20:29:06 EEST 2003 Pekka Riikonen * UTF-8 text message support for actions and notices in SILC Client. Affected file irssi/src/silc/core/client_ops.c. * silc_get_username and silc_get_real_name now returns sensible data on Win32. Patch by Toni Willberg. Affected file is lib/silcutil/win32/silcwin32util.c. Sun Aug 24 23:35:19 CEST 2003 Jochen Eisinger * Provide a signal handler to send MIME encoded messages and emit a signal when a MIME encoded message is received. Also document the signals for usage with the perl interface. A sample perl script will be supplied at a later point. Affected files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.[ch], irssi/src/silc/core/silc-{channels,servers}.c Sun Aug 24 12:58:30 CEST 2003 Jochen Eisinger * Use SILC_COMMAND_PING to estimate the round-trip time to the server. Use this time to display a lag and disconnect when it exceeds a specified limit. Affected files are irssi/src/silc/core/silc-{lag,core}.c. Mon Aug 11 17:14:17 EEST 2003 Pekka Riikonen * Remove the channel auth list in normal server if router encofrces its list during connecting. Send notify to channel to remove the mode to remove the list. Affected files are silcd/server_util.c and silcd/packet_receive.c. Wed Aug 6 14:52:04 EEST 2003 Pekka Riikonen * Added support for channel public keys. Updated protocol specs and implemented it. Affected files are silcd/command.c, command_reply.c, lib/silcclient/command.c, lib/silcclient/command_reply.c. Wed Jul 23 12:17:01 EEST 2003 Pekka Riikonen * Ignore SIGXFSZ and SIGXCPU signals in server. They can terminate the process on Linux. Affected file silcd/silcd.c. Mon Jun 2 19:13:27 EEST 2003 Pekka Riikonen * Check for NULL buffer in silc_buffer_clear. Affected file is lib/silcutil/silcbuffer.h. * Simplified the backup router protocol by removing the _GLOBAL types. Updated protocol specs and the code. Affected files are silcd/server_backup.[ch]. Thu Apr 24 19:50:25 EEST 2003 Pekka Riikonen * Deny '@' and '!' from nicknames since they are reserved by the SILC_COMMAND_INVITE and SILC_COMMAND_BAN commands. Updated protocol specs and the code. Affected files are silcd/server_util.[ch]. Wed Apr 9 18:51:59 EEST 2003 Pekka Riikonen * Fixed stack overflow in Irssi SILC client. Affected file irssi/src/silc/core/client_ops.c. * Check that Host is set in ServerConnection and RouterConnection in silcd.conf. Affected file silcd/serverconfig.c. * Fixed crash in server with protocol completion callbacks, namely rekey and backup resuming protocols. Affected files are silcd/server_backup.c and silcd/server.c. * Fixed rekey protocol to not restart if it is started already. Affected files are lib/silcclient/client.c and silcd/server.c.c Mon Mar 17 18:35:24 EET 2003 Pekka Riikonen * Rewrote SilcList, affected file lib/silcutil/silc*list.h. * Fixed EOF handling in SILC Config, affected file lib/silcutil/silcconfig.c. * Fixed buffer overflows in lib/silcutil/silcstrutil.c. * Fixed RESOLVING flag handling in JOIN notify and other notifys to handle the resolvings correctly in client library. Affected file lib/silcclient/client_notify.c. * Do not send full INVITE and BAN lists in INVITE and BAN notifys, only the changed information. Affected file silcd/command.c. * Fixed INVITE notify sending in INVITE command, send it only when needed. Affected file silcd/command.c. * Handle the founder key change properly in CMODE_CHANGE notify. Bug #122. Affected file silcd/packet_receive.c. Sun Mar 9 16:29:20 EET 2003 Pekka Riikonen * Remove the mark for output (mark it only for input) after purging outgoing queue. Prevents the "Error in select()" floods. Affected file silcd/packet_send.c. * Fixed incorrect connection deletion from client library after calling "connect" client operation. Could cause crashes for example during reconnect timeouts. Affected files are lib/silcclient/client.c and irssi/src/silc/core/client_ops.c. * Check server private key file permissions before starting the server. Affected file silcd/serverconfig.c. Tue Feb 4 22:53:26 EET 2003 Pekka Riikonen * NULL terminate allocated string in silc_buffer_strformat. Affected file lib/silcutil/silcbuffmt.c. * Rewrote the invite/ban list string handling in server to use SilcBuffer instead. Affected files are silcd/command.c and silcd/server_util.c. Mon Feb 3 14:43:52 CET 2003 Pekka Riikonen * Fixed double free in CMODE command when setting new HMAC for channel. Affected file silcd/command.c. * Added couple of missing memset's to zero sensitive memory. Affected files silcd/command.c, lib/silcclient/command.c. Sun Jan 26 12:20:30 EET 2003 Pekka Riikonen * Fixed a double free in INVITE command error handling in server. Affected file silcd/command.c. * Added macros SILC_SWAB_[16|32] to swab byte order of 16-bit and 32-bit unsigned integers. Affected file lib/silcutil/silctypes.h. * Use the SILC_SWAB_16 instead of htons() in server when handling ports since the ports in structures are always in little-endian order (regardless of platform). Affected file silcd/serverid.c and silcd/server_backup.c. Tue Jan 21 17:18:04 EET 2003 Pekka Riikonen * Send DISCONNECT in close admin command in server. Affected file silcd/command.c. * Check whether we are already connecting to a remote router (in addition of checking whether we are already connected) before creating new connection. Affected file silcd/server.c. Thu Jan 16 18:47:00 EET 2003 Pekka Riikonen * Added better compiler and compiler flags checking in configure. * Check that socket is valid after QoS is applied to data. Affected file lib/silcutil/unix/silcunixsockconn.c. * Make sure the socket connecetion is not closed to early when closing connection in server. Also make sure the connection is always closed after error in a protocol. Affected file silcd/server.c. Wed Jan 15 11:03:36 CET 2003 Pekka Riikonen * Removed --session and --dummy options from Irssi SILC Client. -d option is available only if --enable-debug was given. Affected files are irssi/src/silc/core/silc-core, irssi/src/core/session.c and irssi/src/fe-text/silc.c. Tue Jan 14 12:25:09 CET 2003 Pekka Riikonen * Added silc_buffer_steal to steal the data from the buffer. Affected file lib/silcutil/silcbuffer.h. Sat Jan 11 18:16:29 CET 2003 Giovanni Giacobbi * Fixed server crash with double Primary block in config file. Fixed also various memory leaks around the config file parser. Affected files lib/silcutil/silcconfig.c, silcd/serverconfig.c. * Changed my nickname (Johnny Mnemonic) to my real name, this means that bugs introduced by him were actually introduced by me! Tue Jan 7 21:58:53 CET 2003 Jochen Eisinger * Don't display "foo appears as foo\nYou're now known as foo" messages. Affected file irssi/src/silc/core/client_ops.c Tue Jan 7 20:08:15 EET 2003 Pekka Riikonen * Fixed error handling of invalid client entry when calling commands in server. Fixes a crash. Affected file silcd/command.c. Thu Dec 26 14:19:29 EET 2002 Pekka Riikonen * Added some sanity checks in server for correctness of the server configuration. Affected file silcd/serverconfig.c. Fri Dec 20 10:47:59 CET 2002 Pekka Riikonen * Prevent endless resolving of user informations in USERS command by checking the command reply status correctly. Affected file lib/silcclient/command_reply.c. Tue Dec 17 10:05:00 CET 2002 Pekka Riikonen * Fixed file writing on WIN32 to use O_BINARY flag. Affected file is lib/silcutil/silcfileutil.c. A patch by Matthew Aldous . * Added better implementation using CriticalSection of SilcMutex on WIN32. A patch by Mikko Lähteenmäki . * Added some Winsock WIN32 compatiblity defines into includes/silcwin32.h. Mon Dec 16 19:33:05 EET 2002 Pekka Riikonen * Fixed double free in async host lookup code. Affected file lib/silcutil/silcsockconn.c. * On backup router handle now the SERVER_SIGNOFF from router for local connected servers too, and close the connections. Do not process them as normally signing off servers when they really signoff by sending EOF fe, but always assume that router sends the SERVER_SIGNOFF. Affected files silcd/server.c and silcd/packet_receive.c. * Fixed socket unsetting when closing connections. Affected files silcd/server.c and silcd/packet_send.c. * Do not print the nickname in SERVER_SIGNOFF if we do not have it. Prevents asserts in Irssi core. It is possible we don't have the nick if it was just being resolved when server signoff. Affected file irssi/src/silc/core/client_ops.c. Thu Dec 12 23:22:50 EET 2002 Pekka Riikonen * Fixed autonick crashbug in client library. Affected file lib/silcclient/client.c. * Fixed Unix implementation of SilcMutex to really assert if the mutex is locked/unlcoked already. Affected file lib/silcutil/unix/silcunixmutex.c. * Fixed locking in silc_schedule_uninit. It didn't lock when dispatching timeout tasks. Affected file is lib/silcutil/silcschedule.c. * Changed Win32 implementation of SilcThread to use modern Win32 interface. Affected file is lib/silcutil/win32/silcwin32thread.c A patch by Mikko L. Thu Dec 12 12:06:59 CET 2002 Jochen Eisinger * Don't print signed messages when sending failed. Affected files irssi/src/silc/core/silc-[servers.c/commands.h] * Send adquate signal when founding a channel by joing it. Affect file irssi/src/silc/core/client_ops.c Wed Dec 11 21:46:19 CET 2002 Jochen Eisinger * Fix theme abstracts parsing. Affected files irssi/default.theme, irssi/src/fe-common/core/themes.c Wed Dec 11 20:20:07 EET 2002 Pekka Riikonen * Fixed close command to use the port correctly when closing server connections. Affected file silcd/idlist.c. * Check for NULL outbuf in silc_socket_write. It is possible that it is NULL is some odd case. Affected files are lib/silcutil/[unix/win32]/silc[unix/win32]sockconn.c. * Do not call final protocol callback for backup router resuming protocol when closing connection. It is closed by timeout in case of error. Affected file silcd/server.c. * Backup reconnect to router if backup resuming protocol failed. Affected file silcd/server_backup.c. Wed Dec 11 10:01:26 CET 2002 Pekka Riikonen * Fixed double free in SKE library error hadling when signature error occurred. Affected file lib/silcske/silcske.c. * Save the fingerprint to new SilcClientEntry after changing nickname. Affected file lib/silcclient/client_notify.c. * Print SIGNOFF in Irssi SILC client only if the nickname is known. Prevents asserts in Irssi core. It is possible we don't have the nick if it was just being resolved when it quit. Affected file irssi/src/silc/core/client_ops.c. Tue Dec 10 21:47:56 EET 2002 Pekka Riikonen * Fixed double free in invite list adding code when adding invite strings. Affected file silcd/server_util.c. Fri Dec 6 17:40:24 EET 2002 Pekka Riikonen * More log printing during backup router protocol. Affected file silcd/server_backup.c. * Removed backwards support for old private key file format. Affected file lib/silccrypt/silcpkcs.c. * Removed backwards support for not-so-strict decryption length check, it's strict now. Affected lib/silccrypt/silccipher.c. * GETKEY to update the client entrys fingerprint too. Affected file lib/silcclient/command_reply.c. * Added --without-libtoolfix for package builders using weird wrappers around libtool (BSD at least). Thu Dec 5 22:29:46 EET 2002 Pekka Riikonen * Fixed backup router bugs: When backup resumes router and receives a CHANNEL_MESSAGE packet the backup must not act as router since the packet header decryption would be different. Also, when relaying packets to channel, do not re-encrypt packets on backup that came from the primary since the connection isn't really router-router connection. Affected files silcd/server.c, silcd/packet_send.c. * Added checks in encryption/decryption that encryption/decryption length sent as argument really is multiple by block size. Helps catching really weird bugs like the above backup router bugs when packets are being decrypted in wrong way. Affected files lib/silccore/silcpacket.c, and lib/silccrypt/silccipher.c. * Fixed padding generation in private key file encryption. Affected file lib/silccrypt/silcpkcs.c. Thu Dec 5 16:35:23 EET 2002 Pekka Riikonen * Added ignore_message_signatures setting which can be used to ignore signatures in messages. Affected files are irssi/src/silc/core/client_ops.c, silc-core.c. * Fixed the libtoolfix to use command line options instead of environment variables. They didn't work as expected. Now, the libtool is fully run-time configurable. Wed Dec 4 21:08:52 CET 2002 Jochen Eisinger * Verify signature payload for signed messages. Affected files irssi/src/silc/core/client_ops.h, irssi/src/silc/core/silc-servers.c, irssi/src/silc/core/silc-core.h * Display signature verification result in public and private messages using theme abstracts. See irssi/default.theme for examples on their usage. Affected files irssi/default.theme, irssi/src/fe-common/silc/fe-messages.h, irssi/src/fe-common/silc/module-formats.[ch], irssi/src/fe-common/silc/fe-common-silc.c, irssi/src/fe-common/silc/Makefile.am irssi/src/fe-common/core/fe-messages.[ch] * Fixed bugs in Irssi's theme parsing. Affected files irssi/src/fe-common/core/themes.c Wed Dec 4 18:29:13 EET 2002 Pekka Riikonen * Calculate the correct length for signed messages before encrypting, it must be multiple by block size. Affected file lib/silccore/silcmessage.c. * silc_message_signed_get_public_key returns now both decoded and encoded public key. Affected files are lib/silccore/silcmessage.[ch]. * Added libtoolfix script that makes the libtool more generic and configurable in run-time. Now we can specify in run-time if what kind of libraries we want to create, regardless of configuration. SIMs are now creates even if --disable-shared was explicitly given. Tue Dec 3 23:26:55 EET 2002 Pekka Riikonen * Fixed founder key sending in CMODE command in client. Affected file lib/silcclient/command.c. * Fixed CUMODE founder authentication in server to not check for client's public key since it's not supposed to do that. Affected file silcd/command.c. Tue Dec 3 12:02:41 CET 2002 Jochen Eisinger * Set realname and hostname in NICK_REC records. Affected file irssi/src/silc/core/silc-nicklist.c Mon Dec 2 20:50:20 EET 2002 Pekka Riikonen * Remove 1.0 protocol backwards compat code from client library. * Added more reliable check for whether nickname did change or not, or whether only Client ID changed in NICK_CHANGE notify. Affected file lib/silcclient/client_notify.c. Fixes bug in '@' character handling in a nickname. * Added support for automatically parsing signature from the message payload. Added new function silc_message_get_signature to return the payload to application. Affected files lib/silccore/silcmessage.[ch]. * Changed the private_message and channel_message client operations to deliver the SilcMessagePayload to the application too. Application can use it fe. to get the signature from the message for verification. Affected file lib/silcclient/silcclient.h, client_channel.c and client_prvmsg.c. * Redefined the signed payload for message payloads. Updated protocol specs and implemented. Mon Dec 2 16:28:29 EET 2002 Pekka Riikonen * Fixed wrong invite and ban list handling in server command reply. Affected files are silcd/command_reply.c, silcd/server_util.[ch]. Sun Dec 1 20:48:17 EET 2002 Pekka Riikonen * Fixed CMODE setting in server when founder mode was set. Affected file silcd/command.c. Bug #95. * Added support to setting specific public key in CMODE in Irssi SILC client. Affected file lib/silcclient/command.c. * Added support to use specific public key in CUMODE in Irssi SILC Client. Affected file lib/silcclient/command.c. * Added support for inviting and banning by public key in Irssi SILC client. Affected file lib/silcclient/command.c. * Fixed fingerprint/babbleprint showing in invite and ban list command replys. Affected file is irssi/src/silc/core/client_ops.c. Sun Dec 1 16:32:03 CET 2002 Jochen Eisinger * Format CMODE +c and +h to display both the mode and the argument Sun Dec 1 18:17:22 EET 2002 Pekka Riikonen * Added test vectors and test programs for SHA-1, MD5, HMAC-SHA1 and HMAC-MD5. New tests are located in lib/silccrypt/tests/. Fixed also argument decoding bug in MD5 implementation. Affected file lib/silccrypt/md5.c. * Changed the channel private key and private message key generation (with static keys) to use SHA1 instead of MD5, as SHA1 is the mandatory hash function in SILC. Affected file lib/silcclient/client_[channel/prvmsg].c. * Changed the private key file encryption to use SHA1 instead of MD5. Added support for the old generation and added automatic change of the key (to be removed later). Affected files lib/silccrypt/silcpkcs.c. Sat Nov 30 19:07:52 EET 2002 Pekka Riikonen * Load only files with .pub suffix in PublicKeyDir. Affected file silcd/serverconfig.c. Sat Nov 30 14:29:34 CET 2002 Johnny Mnemonic * Extended the SILC_SERVER_LOG_ERROR macro to all available logging channels. Affected files silcd/silcd.c, silcd/server.h. * Added the config directive PublicKeyDir for the client block. Affected files doc/exampe_silcd.conf.in, silcd/serverconfig.[ch]. Sat Nov 30 09:30:55 CET 2002 Pekka Riikonen * Merged Toni's irssi/silc.conf patch. * ROBODoc cleanup patch to lib/silccrypt/silcpkcs.h by johnny. * Max alloc tests in allocation routines. Affected file lib/silcutil/silcmemory.c. Fri Nov 29 23:44:29 EET 2002 Pekka Riikonen * Fixed a typo in resuming code that fixed detach/resume code in server. Bug #93. Affected file silcd/packet_receive.c. Thu Nov 28 17:17:11 CET 2002 Jochen Eisinger * Do reverse lookups for server when /connecting. Affected files irssi/silc.conf, irssi/src/core/servers.c, irssi/src/core/network.c, irssi/src/core/net-nonblock.* Thu Nov 28 16:19:18 CET 2002 Pekka Riikonen * Added library versioning for shared libraries. Affected files configure.in.pre and lib/Makefile.am.pre. Wed Nov 27 21:51:52 CET 2002 Jochen Eisinger * Display INVITE and BAN lists as specified by SILC 1.2 Wed Nov 27 16:01:11 CET 2002 Pekka Riikonen * Do not send invite list back unless asked (when sending no arguments) or when list was modified. Affected file silcd/command.c. * Remove client from invite list in KILLED notify and in KILL command. Affected file silcd/command.c and silcd/server.[ch]. * Fixed bugs in invite list handling in INVITE command. Affected files silcd/command.c and silcd/server_util.c. * Merged with Irssi 0.8.6. * Fixed UTF-8 in Irssi SILC Client, setlocale was missing. Affected file irssi/src/fe-text/silc.c. Mon Nov 25 18:21:43 EET 2002 Pekka Riikonen * The silc_argument_get_[first/next] now return the argument type to caller. Added silc_argument_payload_encode_one. Affected files are lib/silccore/silcargument.[ch]. * Added support for the SILC 1.2 INVITE command and new invite lists to server. Affected files are silcd/command.c, silcd/server_util.[ch] and silcd/packet_[receive/send].[ch]. * Added support for the SILC 1.2 BAN command and new ban lists to server. Affected files are silcd/command.c, silcd/server_util.[ch] and silcd/packet_[receive/send].[ch]. * Added support to client sending new INVITE command. Affected file is lib/silcclient/command.c. * Added support to client sending new BAN command. Affected file is lib/silcclient/command.c. * Added support for removing client from invite list when kicked from channel, as SILC 1.2 dictates. Affected files are silcd/packet_receive.c and silcd/command.c. Sun Nov 24 18:26:42 EET 2002 Pekka Riikonen * If iv argument to silc_cipher_[encrypt/decrypt] is NULL, use automatically the cipher's internal IV. Affected files lib/silccrypt/silccipher.[ch]. * Assure the RESUME_CLIENT packet is not sent to twice to backup router if the detached client was originated from the backup. Affected file silcd/server.c. Bug #76. * Changed silc_sim_symname to not allocate memory. Affected file lib/silcsim/silcsimutil.c. * Fixed memory leaks with SIMs in server. Affected files silcd/serverconfig.c, silcd/server.c. * Fixed channel key distribution after resuming detached client. Affected files silcd/packet_receive.c. * Fixed channel's global_user boolean checking after detaching. Check it after changing the owner of the client not before. Affected file silcd/packet_receive.c. * Fixed few double frees from client library. Fixes at least Bug #81, possibly others too. * UTF-8 decode topics also in JOIN command reply and TOPIC_SET notifys in Irssi SILC Client. Affected file is irssi/src/silc/core/client_ops.c. Bug #82. * Applied Ville Räsänen's manual page and --mandir bugfix patch. Affected files are configure.in.pre and Makefile.am.pre. Bug #88. Fri Nov 22 18:34:20 EET 2002 Pekka Riikonen * Added support to backup router protocol for backup to tell normal server that it cannot use the backup router as primary because the primary isn't really down. Updated protocol specs. * Added support for primary router to tell backup router that resuming is not possible because the backup really isn't primary in the cell. For example if backup disconnected itself the resuming is not allowed since the primary really did not go down. Updated protocol specs. * Removed MARS from crypto library. * Defined the CTR mode and Randomized CBC mode in SILC. The CTR mode is RECOMMENDED now in specification. Defined also Serpent cipher as optional cipher. Updated the protocol specs. Thu Nov 21 12:43:28 EET 2002 Pekka Riikonen * Added support for inviting/banning by IP/MASK, public key, and explicit Client ID. Redefined the command and notify types to allow easier forwards support for other methods of inviting/banning. Updated protocol specs. * Remove the client from channel's invite lists if the client is kicked or killed. Updated protocol specs. * Unified the Channel Message Payload and Private Message into one Message Payload. Updated protocol specs and implemented. Tue Nov 19 22:30:56 EET 2002 Pekka Riikonen * Don't wait for EOF after socket error has occurred, but close the connection. Affected file is silcd/server.c. Mon Nov 18 18:58:26 EET 2002 Pekka Riikonen * Added support for setting FOUNDER mode on channel with specific public key which can be set with CMODE command. Updated protocol specs and implemented in client and server. * Fixed the Irssi SILC client to correctly shutdown the client library to avoid memory leaks. Affected files are irssi/src/silc/core/silc-core.c and silc-servers.c. * Deprecated the No Reply flag in SKE protocol and introduced "IV Included" flag which can be used to indicate that the IV is included in the ciphertext. This makes it possible to use SILC on unreliable transport, such as UDP which may cause packet reordering and losses. Updated protocol specs, did not implement yet. Sun Nov 17 15:50:57 EET 2002 Pekka Riikonen * Fixed the MPI implementation of silc_mp_sizeinbase to return < 32 bit values in correct size. Affected file is lib/silcmath/mp_mpi.c. Sat Nov 16 13:14:45 EET 2002 Pekka Riikonen * Fixed the KE Start Payload parsing to check that mandatory fields are present. Affected file lib/silcske/payload.c. * Fixed compilation warnigs in Irssi SILC Client. Affected files are irssi/src/silc/core/silc-query.c. client_ops.c. Thu Nov 14 19:33:28 CET 2002 Jochen Eisinger * Print "nick now appears as newnick" and update Irssi's nicklist when you change your nick to "nick". Closes #62 * Never format your own nick. Closes #63 Thu Nov 14 09:44:54 CET 2002 Jochen Eisinger * SILC_UMODE_GONE changes are now propagated correctly to the Irssi client. Closes #54 Tue Nov 12 19:42:18 CET 2002 Jochen Eisinger * Fixed example in /HELP KEY * Added expando $j which expands to current SILC Client version Tue Nov 12 19:46:39 EET 2002 Pekka Riikonen * Fixed public key decoding in crypto library. * Added better error printing to SKE library. Tue Nov 12 08:50:12 CET 2002 Pekka Riikonen * Fixed NICK command to not crash if nickname was not sent. Mon Nov 11 19:32:00 EET 2002 Pekka Riikonen * Added Encrypt-Then-MAC order to SILC packet MAC generation. Deprecated the old Encrypt-And-MAC order. Updated protocol specs and implemented. * Added Encrypt-Then-MAC order to Channel Message Payload MAC generation. Updated specs and implemented. Sun Nov 10 12:20:56 EET 2002 Pekka Riikonen * Added support for rekey before 2^32 sequence number wraps. Affected files in server and client library. * Padding must be at least 8 bytes now. Implemented and updated protocol specs. * Compute maximum padding for authentication packets to make passphrase approximation attacks impossible. Affected files in client library and in server. * Fixed PING command sending in client library and handling in server. The server ID must be ID Payload, not raw ID data. Affected files in server and client library. * Defined that all public keys sent in commands and notify payloads are actually Public Key Payloads not raw public key data. Updated protocol specs and implemented. * Updated protocol version to 1.2. Updated specs and code. * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED status types. Updated specs and the code. * Added support for normal client to kill its own entries from the network. Updated protocol specs and the code. * Defined the SILC_MESSAGE_FLAG_SIGNED. Updated protocol specs and added initial implementation. * Added MAC field to the Private Message Payload to protect against chosen ciphertext attacks. Updated the protocol specs and implemented. * Added idle and signon fields to the ATTRIBUTE_SERVICE attribute to indicate the user's current idle and signon time of a service. Updated protocol specs and implemented. Thu Nov 7 19:21:10 EET 2002 Pekka Riikonen * Added "do_not_bind" argument to silc_client_file_send what can be used to not bind locally but assume the file receiver provides the point of connect. Usefull when sender is behind NAT device. Affected file lib/silcclient/silcclient.h and client_ftp.c. * Added -no-listener option to FILE SEND command in Irssi SILC client. Affected file irssi/src/silc/core/silc-servers.c. Renamed FILE RECEIVE to FILE ACCEPT. * Confirm passphrase for private key encryption in silc_create_key_pair and silc_change_private_key_passphrase. Affected files are lib/silcutil/silcapputil.c. Thu Nov 7 10:05:28 CET 2002 Pekka Riikonen * Move silc_client_packet_send back to internal, added silc_client_send_packet, a bit simpler function for application. Affected files lib/silcclient/silcclient.h, client.c and client_internal.h. * Moved the SilcClientEntry, SilcChannelEntry and SilcServerEntry to silcclient.h to be public and documented them for application. Affected files are lib/silcclient/silcclient.h and idlist.h. Wed Nov 6 17:18:13 EET 2002 Pekka Riikonen * Fixed manual page installation patch by Ville Räsänen. USERS help page fix patch by Ville Räsänen * Changed the silc_client_command_call interface to make the command call simpler for the application. The library now handles the command line parsing, command finding and execution. Application only needs to call the function with the command line. Affected files are lib/silcclient/silcclient.h, command.[ch]. * Fixed silc_get_input to NULL-terminate the returned input. Affected file lib/silcutil/silcutil.c. * Resolve the client's public key in JOIN command if the founder auth data is being requested but we don't know the client's public key. Affected file silcd/command.c. Bug #53. Mon Nov 4 16:02:59 EET 2002 Pekka Riikonen * Print notify for server opers when backup router comes online. Affected file silcd/server.c. * Fixed the INVITE command to send the invite list in command reply. Affected file silcd/command_reply.c. * Fixed MOTD command reply sending. Affected file silcd/command.c. * UTF-8 decode the topic in TOPIC command reply and LIST command reply in Irssi SILC client. Affected file is irssi/src/silc/core/client_ops.c. Sun Nov 3 17:59:15 EET 2002 Pekka Riikonen * Fixed the INVITE command to not crash Irssi SILC client when given without nickname argument. AFfected file irssi/src/silc/core/client_ops.c. * Fixed double free in WHOIS query on normal server when forwarding query to router. Affected file is silcd/server_query.c. * Fixed WATCH command reply handling on normal server which was missing altogether. Affected file silcd/command_reply.c. Bug #44. Sun Nov 3 00:42:05 EET 2002 Mika Boström * Added man-pages for silc(1), silcd(8) and silcd.conf(5). Included yodl sources for each of these. Also modified Makefile.am prototype to install these files to proper locations. Updated CREDITS. Affected file Makefile.am.pre, new files doc/*.yo, doc/silc.1, doc/silcd.conf.5, doc/silcd.8. Sat Nov 2 21:26:56 EET 2002 Pekka Riikonen * Added support for encrypted private key files. Now passphrase must be provided when new key pair is created (can be empty though), and prompted when loading the private key. Added support for loading the old-style non-encrypted private keys as well. Affected files lib/silccrypt/silcpkcs.[ch], Irssi SILC client and SILC Server. * Fixed silc_get_input to accept input on all terminals. Affected file lib/silcutil/silcutil.c. * Moved the Irssi SILC client key loading and other stuff to be called after the arguments and UI is initialized. Affected file irssi/src/silc/core/silc-core.c. Bug #31. * Added -P option to Irssi SILC client which can be used to change the passphrase of the private key. Affected file irssi/src/silc/core/silc-core.c. * Added silc_change_private_key_passphrase apputil routine to lib/silcutil/silcapputil.[ch]. Sat Nov 2 12:53:09 EET 2002 Pekka Riikonen * Fixed connection closing in client library to not crash. Moved the connection freeing totally to function silc_clinet_del_connection. Affected file lib/silcclinet/client.c. Fri Nov 1 18:57:02 EET 2002 Pekka Riikonen * Changed includes/silcincludes.h to silcincludes.h.in to include configuration specific information. The silcdefs.h is not included in to installation anymore (it's only compilation time header). Fri Nov 1 10:30:26 CET 2002 Pekka Riikonen * Moved the SilcClient and SilcClientConnection from client.h to the public lib/silcclient/silcclient.h. Changed the structures a bit. Thu Oct 31 22:44:07 EET 2002 Pekka Riikonen * If version string in silc_clinet_alloc is NULL the library puts it automatically. Affected file lib/silcclient/client.c. * Changed the version strings from variables to #define's in includes/silcversion.h. Wed Oct 30 16:17:30 CET 2002 Pekka Riikonen * Added shared library complation support. Tue Oct 29 21:48:55 EET 2002 Pekka Riikonen * Added lib/silcutil/silcapputil.[ch] for application utility functions. It includes routines for applications' convenience. Added silc_create_key_pair, silc_show_public_key and silc_load_key_pair functions. Tue Oct 29 17:36:44 EET 2002 Pekka Riikonen * Send RESUME_CLIENT packet from router to backup routers to in resuming. Affected file silcd/packet_receive.c. Mon Oct 28 21:23:39 EET 2002 Pekka Riikonen * In IDENTIFY command parsing, send all other IDs except Client IDs explicitly to router for resolving on normal server. Also check that ID received in WHOIS command is always Client ID, others are not allowed. Affected file silcd/server_query.c. * Merged latest changes from irssi.org CVS. Sun Oct 27 11:44:32 EET 2002 Pekka Riikonen * Merged c0ffee's /set heartbeat patch to Irssi SILC client. Affected files irssi/src/silc/core/silc-core, silc-server.c. * Fixed the heartbeat sending in Irssi SILC client. Moved the silc_client_packet_send to silcclient.h for application usage. Affected files lib/silcclient/client_internal.h lib/silcclient/silcclient.h. * Fixed a bug in query resolving in server. Used wrong variable in a for loop and crashed. Affected file is silcd/server_query.c. * Server constructs requested attributes only to locally connected clients. Affected file silcd/server_query.c. Bug #36. * Fixed a bug when sending resolving from router to server with requested attributes. The constructed WHOIS command was incorrect. Affected file silcd/server_query.c. Bug #38. * Fixed Requested Attributes saving in WHOIS command reply. The length of the data buffer must be saved too. Affected file silcd/command_reply.c. * Update the client entry's servername after detaching is over. Affected file silcd/packet_receive.c. Bug #37. * Resolve incomplete client entrys in CUMODE_CHANGE and CMODE_CHANGE notifys. Affected file is lib/silcclient/client_notify.c. Bug #42. Thu Oct 24 12:22:35 EEST 2002 Pekka Riikonen * Fixed channel key packet processing bug on backup router during backup resuming protocol. Affected file is silcd/packet_receive.c. * Fixed memory leaks in server. Affected files are silcd/server.c and silcd/packet_receive.c. * Fixed packet decryption problem when backup router encrypted channel message with wrong key during backup resuming protocol. Affected file silcd/packet_send.c. * ROBODoc documented lib/silccrypt/silccipher.h. A patch by Toni Willberg (toniw@iki.fi) * Changed the SilcCipher context to be private. Changed the silc_cipher_get_iv to just return pointer to the IV. Added si