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