Optimized the socket referencing in packet processing.
[silc.git] / CHANGES
diff --git a/CHANGES b/CHANGES
index f967987e03735568ac7dab8209de906b6079ed48..3e70e8f2a1d44eb4080de51e662a9256a0ac20a3 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,187 @@
+Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
+
+       * 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 <jochen@penguin-breeder.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * Fixed KICK command reply sending, it sent to replies.
+         Affected file silcd/command.c.
+
+Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <jochen@penguin-breeder.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * Check for disconnected socket in QUIT callback.  Affected
+         file silcd/command.c.
+
+Thu Oct 21 09:43:17 CEST 2003  Jochen Eisinger <jochen@penguin-breeder.org>
+
+        * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
 
        * ERR_BAD_PASSWORD now returns the Channel ID of the channel