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