Added checking for maximum packet length.
[silc.git] / CHANGES
diff --git a/CHANGES b/CHANGES
index 3a53dc287d1e4050f5ae486e60e33e6d01457396..a627f5e02b7e2561a68db6ed9df42a29e149064d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,73 @@
+Mon Mar 18 21:00:41 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added macro SILC_PACKET_DATALEN which can be used during
+         packet assembling to check whether the data to be added to    
+         the packet will fit to SILC_PACKET_MAX_LEN.  If not the data
+         len is truncated until it fits it.
+
+         Added checks for maximum length of channel message payload and
+         private message payload also.
+
+         Added checks for maximum packet length in server and in
+         client library.
+
+         Affected files are lib/silccore/silcpacket.h, silcd/packet_send.c,
+         lib/silcclient/client.c, lib/silccore/silcchannel.c and
+         lib/silccore/silcprivate.c, lib/silcclient/client_channel.c and
+         lib/silcclient/client_prvmsg.c.
+
+Mon Mar 18 14:54:42 CET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added silc_server_packet_queue_purge call to the
+         silc_server_disconnect_remote to assure that all data in the
+         queue before disconnecting is sent to the network.  Affected
+         file silcd/server.c.
+
+Sun Mar 17 19:26:16 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added the deleting of server's own ID cache entry to the
+         silc_server_free function.  Free also everything else that
+         has been allocated in silc_server_init.  The affected file 
+         is silcd/server.c.
+
+Sun Mar 17 15:44:56 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added functions silc_parse_version_string, silc_version_to_num,
+         and silc_ske_parse_version to parse SILC protocol style version
+         strings.  Affected files lib/silcutil/silcutil.[ch] and
+         lib/silcske/silcske.[ch].
+
+       * Added new configuration params: version_protocol, version_software
+         and version_software_vendor to specify what version the remote
+         host must at least be to be able to connect to server.  The vendor
+         string can be regex matched too.  Added new function 
+         silc_server_connection_allowed to check maximum number of allowed
+         connections, and allowed versions for incoming connections.
+         Affected files are silcd/server.c, server_util.[ch] and
+         serverconfig.[ch].
+
+Sun Mar 17 10:24:50 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added preliminary support for signals in scheduler.  The
+         signals we care about are now blocked always when the scheduler
+         is locked.  This way we can synchronise the use of signal with
+         scheduler.  It is guaranteed that when signal occurs the scheduler
+         is not locked, and thus new tasks can be safely added to the
+         scheduler.
+
+         Renamed silc_schedule_wakeup_init and silc_schedule_wakeup_uninit
+         to silc_schedule_internal_init and silc_schedule_internal_uninit.
+         Added new platform specific routines
+         silc_schedule_internal_signals_[un]block and 
+         silc_schedule_internal_signal_[un]register.
+
+         Added new functions to SILC Schedule API:
+         silc_schedule_signal_[un]register.  Each signal that application
+         is going to use should be registered to the scheduler.
+
+         Affected files are lib/silcutil/silcschedule.[ch],
+         lib/silcutil/*/silc*schedule.c.
+
 Sat Mar 16 22:39:23 EET 2002  Pekka Riikonen <priikone@silcnet.org>
 
        * Check for unauthenticated client and server in the