Updates to comly with new source tree.
[silc.git] / CHANGES
1 Wed Sep 13 18:10:14 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
2
3         * Splitted core library.  Core library (lib/silccore) includes
4           now only SILC protocol specific core (and common) components.
5           Created new utility library (lib/silcutil) that includes more
6           generic purpose stuff.  The stuff for util library was taken
7           from the old core library.  This was minor and easy split.
8
9         * Created SILC Client Library (lib/silcclient) that includes
10           implementation of the SILC client without user interface.  This
11           was major move from silc/ directory.  The code has been changed
12           so that it is transparent towards the user interface.  The
13           silc/ directory includes now the same user interface as before
14           and it uses the new client library.  Read lib/silcclient/README.
15           Basicly, the client library performs everything else related
16           to SILC except user interface handling.  Also, configuration
17           files are considered to be part of user interface and library
18           does not handle them.
19
20           This change also changed a lot of structures, function naming etc.
21           Most important change was that SilcClientWindow object was
22           renamed to SilcClientConnection in the client library.  Created
23           also new file lib/silcclient/ops.h.  Also added new files
24           silc/local_command.[ch] and silc/client_ops.[ch].
25
26           All these changes were made to make it easier for user interface
27           designers to create what ever user interface for the SILC client
28           they want.
29
30           It is also expected that the server will be moved to lib
31           directory as well and SILC Server Library will be created;
32           sometimes in the future.
33
34         * Removed Local commands from lib/silccore/silccommand.h as
35           they are application specific and new client library does not
36           handle any of those anymore.
37
38         * Several functions moved to lib/silcutil/silcutilc.[ch] from
39           old client implementation in silc/.
40
41         * Added support for callback functions in SILC_LOG_* macros.
42           Application can now set its own callbacks that will be called
43           instead of using the default functions that will always print
44           the debug messages to stderr (or stdout).  Also, debugging can
45           now be disabled by setting silc_debug to FALSE and re-enabled by
46           setting it to TRUE.  Note, that logging will still work even
47           if debugging is disabled.
48
49           New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
50           silc_log_reset_callbacks, silc_log_set_debug_callbacks and
51           silc_log_reset_debug_callbacks.
52
53         * To enable debugging in silc client one must give now -d
54           option on command line.
55
56         * Changed silc_schedule_init to automatically allocate task queues
57           if they are not allocated before calling it.
58
59 Thu Sep  7 10:49:33 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
60
61         * Added GMP 3.1 into math library.
62
63 Sun Aug 20 21:27:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
64
65         * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
66           a channel in SILC network.  The packet is used by servers and
67           routers to notify other routers that user has left a channel.
68           This little feature was missing until now.  Added the feature
69           to protocol specification as well.
70
71           Added functions: silc_server_send_remove_channel_user and
72           silc_server_remove_channel_user into server.[ch].
73
74         * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
75           lib/silccore/silcpacket.h.  However, they are not implemented
76           yet.
77
78 Sat Aug 19 23:04:16 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
79
80         * Fixed joining to a channel and sending channel messages
81           between server and router.  The channel message sending should
82           now work inside a cell.
83
84 Tue Jul 25 20:46:13 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
85
86         * Fixed the private message sending between server and router.
87           The private message sending should now work inside a cell.
88
89         * Added silc_server_replace_id into server.[ch] to replace
90           existing ID in the SILC network.
91
92         * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
93           and silc_idlist_replace_server_id into idlist.[ch] in server.
94
95 Mon Jul 24 18:33:31 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
96
97         * Fixed the server to server connections.  Server can again now
98           connect to router.  Router to router connections probably does
99           not work just yet.
100
101 Thu Jul 20 13:15:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
102
103         * Added dynamic protocol registering support.  Now protocols can
104           registered and unregistered on the fly.  Patch by cras.
105
106 Wed Jul 19 19:08:46 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
107
108         * Added lib/contrib directory to hold routines that some platforms
109           don't have but are needed by SILC.
110
111         * Added getopt.c, getopt1.c and getopt.h from GNU C library
112           into lin/contrib to provide getopt() and getopt_long() for
113           those who don't have it.
114
115 Tue Jul 18 20:41:20 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
116
117         * Added AWAY command to client.  When away message is set and
118           client receives a private message packet the client automatically
119           replies to the sender with the away message.
120
121         * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin.  This
122           bug seemed to be the cause of recent problems when compiling
123           with gcc-2.95.
124
125         * Added version detection support to SKE protocol specification
126           and added the new changes to the SKE implementation as well.
127           There were other minor changes in the SKE protocol as well.
128
129           Many changes in lib/silcske/silcske.[ch] and in
130           lib/silcske/payload.[ch].
131
132         * Added ^U functionality, clear input line.  Patch from cras.
133
134 Mon Jul 17 23:33:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
135
136         * Mainly small bugfixes on core library.  Fixed some debugging
137           logging and buffer overflow in silclog.c.
138
139         * Updated config.sub and config.guess on the distribution tree.
140
141 Sat Jul 15 15:33:48 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
142
143         * Added command lagging support in server. Client may execute
144           commands now only once in two seconds.
145
146 Thu Jul 13 22:10:21 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
147
148         * Optimized packet reception. MAC computation and checking is now
149           also more optimized.  A lot previously duplicated code is now
150           used as generic by both client and server.
151
152         * Fixed key pair generation in clientutil.c
153
154 Wed Jul 12 18:28:07 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
155
156         * Added into lib/silccore/silcbufutil.[ch] new function;
157           silc_buffer_realloc.
158
159         * Moved generic packet sending/encryption functions to 
160           lib/silccore/silcpacket.[ch] from client and server.  Some
161           rewriting of the functions.
162
163         * Moved all generic packet reception/decryption functions to
164           lib/silccore/silcpacket.[ch] from client and server.  The
165           packet processing is now much cleaner in both client and server.
166           These were major changes in both client and server.
167
168         * Created many common functions in server to do packet sending.
169           Previously code were duplicated a lot, this has been removed
170           with these changes.
171
172 Tue Jul 11 20:27:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
173
174         * Rewrote major parts of the ID cache system.  Don't know 
175           whether it is better now or not but at least the API is more
176           cleaner now.
177
178         * Major rewrite on ID cache stuff on client because of the ID
179           cache API changes.  Added idlist.c to client.
180
181         * Also major rewrite on ID cache stuff on server as well.
182           Major rewrite of idlist.[ch]. SilcXXXList's are now named
183           SilcXXXEntry's.  We won't keep anymore idlist specific pointers
184           in hand, instead they are all put into the ID cache system now.
185           All server_idlist_* routines uses ID cache now instead of
186           traversing its own lists (those lists does not exist anymore).
187           SilcIDList though still exists.  Also, SilcXXXEntry's are
188           now pointers.
189
190 Sun Jul  9 15:19:24 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
191
192         * Finally made the SKE implementation compliant to the protocol
193           specification.  All mp integers are now binary encoded as
194           opposed being HEX encoded.
195
196         * Added lib/silcmath/mpbin.[ch].  Encoding mp intergers to and
197           from binary data.
198
199         * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
200           functions: silc_[encode/decode]_pem.  Also added function
201           silc_encode_pem_file to PEM encode with newlines ('\n') for
202           saving into a file.
203
204         * SILC public keys are now encoded either PEM or binary.  Same
205           option is for private keys as well.  By default private keys
206           are binary encoded and public keys PEM encoded.  Silly HEX
207           encoding were removed.
208
209         * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
210           function to create fingerprints.
211
212         * Fixed a bug in SHA1; does not change the original data anymore.
213
214         * Partly implemented INFO command on client and server side.
215           Fixed CLEAR command.  Changes to SERVER command; show current
216           server(s) when giving command without arguments.  Added
217           VERSION command to client.
218
219         * Added check to server that unregistered connections cannot
220           execute commands (unless it is specificly allowed).
221
222 Thu Jul  6 18:12:24 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
223
224         * Fixed screen refresh.
225
226         * Fixed channel joining bug from client.  On some circumstances
227           client tried to join to a channel it had already joined.
228
229         * Added public key verification process into client's protocol.c.
230           The client now verifies the public key from user and saves
231           it into ~./silc/serverkeys/ directory. 
232
233           Added into: clientutil.[ch]: silc_client_verify_server_key.
234
235         * Changed SKE protocol's silc_ske_initiator_finish function
236           to accept callback function that verifies the received public
237           key.  Removed old silc_ske_verify_public_key function.
238
239 Wed Jul  5 19:19:02 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
240
241         * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
242           silc_pkcs_private_key[_data]_set.
243
244         * Made the password and public authentication more cleaner in
245           server's protocol.c.
246
247         * Removed historic and obsolete protocol `channel_auth' from
248           both client and server.
249
250         * Removed wrong way of sending command status messages from
251           server to client in server's command.c.  The old way violated
252           protocol specification.  
253
254           Changes to silccore/silccommand.[ch]: removed
255           silc_command_encode_status_payload -> not needed anymore,
256           changed silc_command_encode_payload_va to accept extra
257           argument on variable argument list.  The argument type must
258           now be provided to the function.  Also, added new function:
259           silc_command_encode_reply_payload_va which is same as
260           normal command_encode_payload_va except command status type
261           is provided as extra argument.
262
263 Tue Jul  4 18:26:39 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
264
265         * Added ~./silc directory handling.  The directory includes the
266           public and private keys for the client.
267
268           Added silc_client_check_silc_dir, silc_client_create_identifier
269           and silc_client_load_keys.
270
271         * Implemented SILC protocol compliant public key.  Added public
272           and private key saving to and loading from files.
273
274           Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
275           silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
276           silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
277           silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
278           silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
279
280           Implemented: silc_pkcs_save_[public/private]_key[_data] and
281           silc_pkcs_load_[public/private]_key.
282
283 Mon Jul  3 18:51:27 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
284
285         * Added silc_server_get_route (route.[ch]) to get connection
286           data for the fastest route for given ID.
287
288         * Implemented INVITE command on client and server.  The command
289           were re-defined in the SILC Protocol Specification and the
290           implementation now complies with the specification.
291
292         * Implemented PING command on client and server.
293
294         * Implemented NAMES command on client and server.  The server side
295           supports currently only normal server not router server yet.
296           Some changes to NAMES definition in SILC protocol specification.
297
298 Sun Jul  2 18:23:01 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
299
300         * Implemented LEAVE command on client and server.
301
302         * Previously deprecated SILC_PACKET_FORWARDED flag is now in use 
303           again.  This change was made to the protocol as well.  Server
304           should not violate the protocol specification anymore.
305
306 Fri Jun 30 14:03:26 EEST 2000  Pekka Riikonen <priikone@poseidon.pspt.fi>
307
308         * Added SOCKS4 and SOCKS5 support to SILC client.  SOCKS5
309           was tested.  SOCKS4 was not but should work anyway.