Fixed CUMODE mode->mode character conversion buffer overflow.
[silc.git] / CHANGES
diff --git a/CHANGES b/CHANGES
index c046e6276c6d44e9a03fc1c52a201e182a9c68c6..c0b18f0a43a028016ae85a4f6689334dcb0270f0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,85 @@
+Thu Jun 27 20:07:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
+
+       * Buffer overflow with CUMODE command's mode->mode character
+         conversion.  Reported by Ville Räsänen.  Affected file
+         lib/silcutil/silcutil.c.
+
+Thu Jun 27 16:54:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
+
+       * Allow heartbeat packets to go disabled connections anyway.
+         Affected files silcd/server.c and silcd/packet_send.c.
+
+       * Do not broadcast New Channel packets with List flag set
+         in the packet to backup routers.  The router must check
+         for the correctness of the packets before sending them.
+         It is possible that router will have enforce Channel ID
+         change and this would cause desync in the backup router.
+         Affected file silcd/packet_receive.c.
+
+       * Remove SILC_PACKET_FLAG_LIST from the temp packets that
+         are handled in list parsing.  They are not list packets
+         anymore.  Affected file silcd/packet_receive.c.
+
+Thu Jun 27 11:27:07 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
+
+       * Stop waiting for backup router through the timeout, not
+         directly after backup router has arrived.  Affected file
+         silcd/server.c.
+
+       * Do not re-create channel keys and send them when removing
+         clients in server shutdown.  Affected files are
+         silcd/server_internal.h and silcd/server_util.c.
+
+       * Notify distribution to backup routers was missing from
+         the silc_server_send_notify_dest function which caused
+         desyncing problems with backup router.  Affected file is
+         silcd/packet_send.c.
+
+       * The client's channel removing was working wrong on
+         backup router.  It assumed that it doesn't know global
+         information but backup router does know.  For this reason
+         it could remove channel when it wasn't supposed to do that.
+         Affected file silcd/server.c and silcd/server_util.c.
+
+Wed Jun 26 15:14:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
+
+       * Stop for a couple seconds after badkup router has become
+         primary router.  Affected file silcd/server.c.
+
+       * Added silc_server_remove_servers_by_server, which is used
+         to remove servers originated from some other server.  Also
+         clients of those servers can be removed too.  Affected file
+         silcd/server_util.[ch].
+
+       * When removing clients after a server has signed of remove
+         also all servers behind that server (unless they are known
+         to be available locally), and send SERVER_SIGNOFF for each
+         of the server separately.  Also the signed off clients are
+         sent now separately per signed off server.  The affected files
+         are silcd/server.c and silcd/server_util.[ch].
+
+       * All servers added with silc_idlist_add_server must always
+         have both "router" and "connection" pointers set.  Otherwise,
+         bad server entries may be left around in the cache.
+         Affected file silcd/command_reply.c.
+
+       * Do not create the channel key in NEW_CHANNEL packet
+         processing if the channel is empty.  Affected file
+         silcd/packet_receive.c.
+
+       * Completed backup router support for standalone routers.
+         Supports also servers in the cell that do not use the backup
+         at all.
+
+Wed Jun 26 10:38:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed a bug in silc_string_regexify which did not add '^'
+         at the start of each string, and thus the matching was
+         not explicit.  For example ban list iikone@*!*@* would
+         match also "priikone", which is wrong, it would have to be
+         *iikone@*!*@* to match also "priikone".  Affected
+         file lib/silcutil/unix/silcunixutil.c.
+
 Tue Jun 25 18:47:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
 
        * Enable all local server connections before updating client
@@ -4028,6 +4110,12 @@ Sat Aug 11 00:29:57 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
          set as the new server's context instead of SilcServerEntry.
          This naturally caused some weird bugs.
 
+       * Added "updated" field the SilcChannelEntry which indicates
+         the time since the channel entry was last accessed.  This
+         can be used to determine whether it is necessary to
+         announce the channel after backup resuming protocol.
+         Affected files silcd/idlist.[ch].
+
 Thu Aug  9 18:28:37 EEST 2001  Pekka Riikonen <priikone@silcnet.org>
 
        * Do not delete the channel rekey task when adding it