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