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