Merged with Irssi 0.8.6.
[silc.git] / CHANGES
diff --git a/CHANGES b/CHANGES
index ce88cd5970b82665283f8b5d5c8c905e45b7714b..40c9f080b1e230d091c768c38b99ae2ea59ede38 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,8 +1,464 @@
+Wed Nov 27 16:01:11 CET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * 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.
+
+Mon Nov 25 18:21:43 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <c0ffee@penguin-breeder.org>
+
+       * 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 <c0ffee@penguin-breeder.org>
+
+       * SILC_UMODE_GONE changes are now propagated correctly to the
+         Irssi client. Closes #54
+       
+Tue Nov 12 19:42:18 CET 2002  Jochen Eisinger <c0ffee@penguin-breeder.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * Fixed public key decoding in crypto library.
+
+       * Added better error printing to SKE library.
+
+Tue Nov 12 08:50:12 CET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed NICK command to not crash if nickname was not sent.
+
+Mon Nov 11 19:32:00 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <bostik@lut.fi>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * Added shared library complation support.
+
+Tue Oct 29 21:48:55 EET 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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 <priikone@silcnet.org>
+
+       * 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
+         silc_cipher_get_name to return the name of the cipher.
+         Fixed code all around to support these changes.  Affected
+         files are lib/silccrypt/silccipher.[ch], client library and
+         server.
+
+Wed Oct 23 19:01:41 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed unaligned access in lib/silccore/silcattrs.c.
+
+       * Fixed libtool linking in lib/silcsim/Makefile.am.
+
+       * Fixed services attribute printing.  Affected files is
+         irssi/src/silc/core/silc-queries.c.
+
+Wed Oct 23 09:51:04 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Fixed a crashbug in incoming server accepting.  Affected
+         file silcd/server.c.
+
 Tue Oct 22 13:02:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
 
        * Added automatically generated index to Toolkit Reference
          Manual.
 
+       * Added support for Postscript Toolkit Reference Manual.
+
 Mon Oct 21 21:30:40 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
 
        * Merged DISCONNECT fix, and autoconn port fix from Irssi