1 Thu Oct 4 23:29:06 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
3 * Fixed protocol error handling in client library. It should now
4 cope even if the SKE fails for some reason.
6 * Made new protocol specification drafts for submitting to IETF.
8 * Implemented TOPIC command to server in silcd/command.c.
10 * Added two new notify types into lib/silccore/silcnotify.h:
11 SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_TOPIC_SET to
12 notify nickname change and topic setting/change on a channel.
14 * API change of command_reply operation in client library. The
15 application gets now the status type received from server as well.
17 Sat Sep 30 16:57:42 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
19 * Removed the function just added to lib/silcutil/silcschedule.[ch].
21 * Cras fixed and optimized the packet handling even further and
22 it should work now. Minor change to the prototype of function
23 silc_packet_receive_process in lib/silccore/silcpacket.[ch].
25 Sat Sep 30 08:48:47 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
27 * Added new function into lib/silcutil/silcschedule.[ch]:
28 silc_schedule_with_fd to select() a specified fd. The function
29 returns after timeout expires or data arrives or goes. The
30 function is used by packet routines to wait that all data is
31 received from network.
33 * Fixed data reading from network in lib/silccore/silcpacket.c.
34 The code now assures that all data is read from the fd and then
35 continues packet processing. This was a bug fix since the code
36 used to drop some data in some circumstances.
38 * Added new function into lib/silcclient/client.[ch]:
39 silc_client_start_key_exchange to start key exchange after
40 connection has been established to server. The code internally
41 now uses this funtion but its main purpose was to provide it
42 for applications that perform their own connecting. After
43 application has created a connection it merely calls this
44 function to start the key exchange between client and server.
45 The library takes care of everything else after that.
47 Updated also lib/silcclient/README to explain the usage of
50 * Do not send to application information that connection has
51 been established. Application gets notified it by connect
54 Thu Sep 28 23:40:19 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
56 * Applied cras's patch to add silc_schedule_one function. The
57 function runs scheduler once and returns.
59 * Fixed the scheduler after cras messed it up. The timeout
60 handling works now as it's supposed to work.
62 * Added into lib/silccore/ silcnotify.h to include notify
63 message types support. Changed silc_server_send_notify*
64 functions, in server.[ch], to support those new notify types.
65 Added the support for the notify types into client library,
66 as well. Added new notify client operation into ops.h in
69 * Changed silc_server_packet_send_to_channel to send normal
70 packets instead of just channel message packets. The function
71 is now used to send the notify packets to channels. It is not
72 used to send channel message packets anymore, as server never
75 * Added explicit casting into lib/silcutil/silcbuffmt.c to few
76 va_arg()s as it seems to require it nowadays. I guess, if SILC
77 is compiled with older va_arg() the new code should work anyway.
79 Wed Sep 13 18:10:14 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
81 * Splitted core library. Core library (lib/silccore) includes
82 now only SILC protocol specific core (and common) components.
83 Created new utility library (lib/silcutil) that includes more
84 generic purpose stuff. The stuff for util library was taken
85 from the old core library. This was minor and easy split.
87 * Created SILC Client Library (lib/silcclient) that includes
88 implementation of the SILC client without user interface. This
89 was major move from silc/ directory. The code has been changed
90 so that it is transparent towards the user interface. The
91 silc/ directory includes now the same user interface as before
92 and it uses the new client library. Read lib/silcclient/README.
93 Basicly, the client library performs everything else related
94 to SILC except user interface handling. Also, configuration
95 files are considered to be part of user interface and library
98 This change also changed a lot of structures, function naming etc.
99 Most important change was that SilcClientWindow object was
100 renamed to SilcClientConnection in the client library. Created
101 also new file lib/silcclient/ops.h. Also added new files
102 silc/local_command.[ch] and silc/client_ops.[ch].
104 All these changes were made to make it easier for user interface
105 designers to create what ever user interface for the SILC client
108 It is also expected that the server will be moved to lib
109 directory as well and SILC Server Library will be created;
110 sometimes in the future.
112 * Removed Local commands from lib/silccore/silccommand.h as
113 they are application specific and new client library does not
114 handle any of those anymore.
116 * Several functions moved to lib/silcutil/silcutilc.[ch] from
117 old client implementation in silc/.
119 * Added support for callback functions in SILC_LOG_* macros.
120 Application can now set its own callbacks that will be called
121 instead of using the default functions that will always print
122 the debug messages to stderr (or stdout). Also, debugging can
123 now be disabled by setting silc_debug to FALSE and re-enabled by
124 setting it to TRUE. Note, that logging will still work even
125 if debugging is disabled.
127 New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
128 silc_log_reset_callbacks, silc_log_set_debug_callbacks and
129 silc_log_reset_debug_callbacks.
131 * To enable debugging in silc client one must give now -d
132 option on command line.
134 * Changed silc_schedule_init to automatically allocate task queues
135 if they are not allocated before calling it.
137 Thu Sep 7 10:49:33 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
139 * Added GMP 3.1 into math library.
141 Sun Aug 20 21:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
143 * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
144 a channel in SILC network. The packet is used by servers and
145 routers to notify other routers that user has left a channel.
146 This little feature was missing until now. Added the feature
147 to protocol specification as well.
149 Added functions: silc_server_send_remove_channel_user and
150 silc_server_remove_channel_user into server.[ch].
152 * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
153 lib/silccore/silcpacket.h. However, they are not implemented
156 Sat Aug 19 23:04:16 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
158 * Fixed joining to a channel and sending channel messages
159 between server and router. The channel message sending should
160 now work inside a cell.
162 Tue Jul 25 20:46:13 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
164 * Fixed the private message sending between server and router.
165 The private message sending should now work inside a cell.
167 * Added silc_server_replace_id into server.[ch] to replace
168 existing ID in the SILC network.
170 * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
171 and silc_idlist_replace_server_id into idlist.[ch] in server.
173 Mon Jul 24 18:33:31 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
175 * Fixed the server to server connections. Server can again now
176 connect to router. Router to router connections probably does
179 Thu Jul 20 13:15:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
181 * Added dynamic protocol registering support. Now protocols can
182 registered and unregistered on the fly. Patch by cras.
184 Wed Jul 19 19:08:46 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
186 * Added lib/contrib directory to hold routines that some platforms
187 don't have but are needed by SILC.
189 * Added getopt.c, getopt1.c and getopt.h from GNU C library
190 into lin/contrib to provide getopt() and getopt_long() for
191 those who don't have it.
193 Tue Jul 18 20:41:20 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
195 * Added AWAY command to client. When away message is set and
196 client receives a private message packet the client automatically
197 replies to the sender with the away message.
199 * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin. This
200 bug seemed to be the cause of recent problems when compiling
203 * Added version detection support to SKE protocol specification
204 and added the new changes to the SKE implementation as well.
205 There were other minor changes in the SKE protocol as well.
207 Many changes in lib/silcske/silcske.[ch] and in
208 lib/silcske/payload.[ch].
210 * Added ^U functionality, clear input line. Patch from cras.
212 Mon Jul 17 23:33:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
214 * Mainly small bugfixes on core library. Fixed some debugging
215 logging and buffer overflow in silclog.c.
217 * Updated config.sub and config.guess on the distribution tree.
219 Sat Jul 15 15:33:48 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
221 * Added command lagging support in server. Client may execute
222 commands now only once in two seconds.
224 Thu Jul 13 22:10:21 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
226 * Optimized packet reception. MAC computation and checking is now
227 also more optimized. A lot previously duplicated code is now
228 used as generic by both client and server.
230 * Fixed key pair generation in clientutil.c
232 Wed Jul 12 18:28:07 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
234 * Added into lib/silccore/silcbufutil.[ch] new function;
237 * Moved generic packet sending/encryption functions to
238 lib/silccore/silcpacket.[ch] from client and server. Some
239 rewriting of the functions.
241 * Moved all generic packet reception/decryption functions to
242 lib/silccore/silcpacket.[ch] from client and server. The
243 packet processing is now much cleaner in both client and server.
244 These were major changes in both client and server.
246 * Created many common functions in server to do packet sending.
247 Previously code were duplicated a lot, this has been removed
250 Tue Jul 11 20:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
252 * Rewrote major parts of the ID cache system. Don't know
253 whether it is better now or not but at least the API is more
256 * Major rewrite on ID cache stuff on client because of the ID
257 cache API changes. Added idlist.c to client.
259 * Also major rewrite on ID cache stuff on server as well.
260 Major rewrite of idlist.[ch]. SilcXXXList's are now named
261 SilcXXXEntry's. We won't keep anymore idlist specific pointers
262 in hand, instead they are all put into the ID cache system now.
263 All server_idlist_* routines uses ID cache now instead of
264 traversing its own lists (those lists does not exist anymore).
265 SilcIDList though still exists. Also, SilcXXXEntry's are
268 Sun Jul 9 15:19:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
270 * Finally made the SKE implementation compliant to the protocol
271 specification. All mp integers are now binary encoded as
272 opposed being HEX encoded.
274 * Added lib/silcmath/mpbin.[ch]. Encoding mp intergers to and
277 * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
278 functions: silc_[encode/decode]_pem. Also added function
279 silc_encode_pem_file to PEM encode with newlines ('\n') for
282 * SILC public keys are now encoded either PEM or binary. Same
283 option is for private keys as well. By default private keys
284 are binary encoded and public keys PEM encoded. Silly HEX
285 encoding were removed.
287 * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
288 function to create fingerprints.
290 * Fixed a bug in SHA1; does not change the original data anymore.
292 * Partly implemented INFO command on client and server side.
293 Fixed CLEAR command. Changes to SERVER command; show current
294 server(s) when giving command without arguments. Added
295 VERSION command to client.
297 * Added check to server that unregistered connections cannot
298 execute commands (unless it is specificly allowed).
300 Thu Jul 6 18:12:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
302 * Fixed screen refresh.
304 * Fixed channel joining bug from client. On some circumstances
305 client tried to join to a channel it had already joined.
307 * Added public key verification process into client's protocol.c.
308 The client now verifies the public key from user and saves
309 it into ~./silc/serverkeys/ directory.
311 Added into: clientutil.[ch]: silc_client_verify_server_key.
313 * Changed SKE protocol's silc_ske_initiator_finish function
314 to accept callback function that verifies the received public
315 key. Removed old silc_ske_verify_public_key function.
317 Wed Jul 5 19:19:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
319 * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
320 silc_pkcs_private_key[_data]_set.
322 * Made the password and public authentication more cleaner in
325 * Removed historic and obsolete protocol `channel_auth' from
326 both client and server.
328 * Removed wrong way of sending command status messages from
329 server to client in server's command.c. The old way violated
330 protocol specification.
332 Changes to silccore/silccommand.[ch]: removed
333 silc_command_encode_status_payload -> not needed anymore,
334 changed silc_command_encode_payload_va to accept extra
335 argument on variable argument list. The argument type must
336 now be provided to the function. Also, added new function:
337 silc_command_encode_reply_payload_va which is same as
338 normal command_encode_payload_va except command status type
339 is provided as extra argument.
341 Tue Jul 4 18:26:39 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
343 * Added ~./silc directory handling. The directory includes the
344 public and private keys for the client.
346 Added silc_client_check_silc_dir, silc_client_create_identifier
347 and silc_client_load_keys.
349 * Implemented SILC protocol compliant public key. Added public
350 and private key saving to and loading from files.
352 Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
353 silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
354 silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
355 silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
356 silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
358 Implemented: silc_pkcs_save_[public/private]_key[_data] and
359 silc_pkcs_load_[public/private]_key.
361 Mon Jul 3 18:51:27 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
363 * Added silc_server_get_route (route.[ch]) to get connection
364 data for the fastest route for given ID.
366 * Implemented INVITE command on client and server. The command
367 were re-defined in the SILC Protocol Specification and the
368 implementation now complies with the specification.
370 * Implemented PING command on client and server.
372 * Implemented NAMES command on client and server. The server side
373 supports currently only normal server not router server yet.
374 Some changes to NAMES definition in SILC protocol specification.
376 Sun Jul 2 18:23:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
378 * Implemented LEAVE command on client and server.
380 * Previously deprecated SILC_PACKET_FORWARDED flag is now in use
381 again. This change was made to the protocol as well. Server
382 should not violate the protocol specification anymore.
384 Fri Jun 30 14:03:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
386 * Added SOCKS4 and SOCKS5 support to SILC client. SOCKS5
387 was tested. SOCKS4 was not but should work anyway.