1 Thu May 17 18:05:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
3 * Fixed silc_show_public_key to not free public key in case of
4 failure. Affected file is lib/silcapputil/silcapputil.c.
6 Thu May 17 17:09:50 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
8 * SILC Toolkit 1.1 Beta3.
10 * Porting Toolkit to Symbian. It should work while some sporadic
11 odd crashes remain. However I was able to run mybot on SILCNet.
12 Basically tested scheduler, net routines, socket routines,
13 threads and some other utility routines. Affected files are
14 in lib/silcutil/symbian/.
16 Thu May 17 11:57:40 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
18 * Show realname and email address from public key when verifying
19 cached public keys with GETKEY. Affected files are
20 apps/irssi/src/fe-common/module-formats.[ch] and
21 apps/irssi/src/silc/core/client_ops.c.
23 Wed May 16 20:41:04 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
25 * Include SILC Plugin theme. Affected file is apps/irssi/plugin.theme
27 * Include SILC Plugin /silc command help. Affected file is
28 apps/irssi/docs/help/silc
30 * Create channels before joining them. Affected file is
31 apps/irssi/src/silc/core/client_ops.c
33 Wed May 16 18:59:22 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
35 * Fixed channel private key listing with /key. Affected file
36 is apps/irssi/src/silc/core/silc-channels.c.
38 * Fixed the public headers from anonymous structures. Affected
41 * Changed silc_buffer_*len macros to inline functions. Affected
42 file is lib/silcutil/silcbuffer.h.
44 Wed May 16 10:21:45 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
46 * Fixed nickname format parsing in JOIN notify handling and
47 in WHOIS command reply. Affected file is
48 apps/irssi/src/silc/core/client_ops.c.
50 Wed May 16 09:34:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
52 * SILC Client 1.1 Beta4.
54 Tue May 15 23:55:41 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
56 * Added SILC_VERIFY macro which is equivalent to SILC_ASSERT
57 but is compiled always in. Affected file is
58 lib/silcutil/silclog.h.
60 * Use SILC_VERIFY in FSM macros instead of SILC_ASSERT which is
61 not there in release builds. Affected file is
62 lib/silcutil/silcfsm.h.
64 Tue May 15 21:19:09 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
66 * SILC Client 1.1-beta3
68 Mon May 14 23:20:59 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
70 * Added silc_utf8_c2w and silc_utf8_w2c to do UTF-8 to widechar
71 and widechar to UTF-8 conversions. Affected files are
72 lib/silcutil/silcutf8.[ch].
74 Mon May 14 19:45:14 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
76 * Include a README for the SILC Plugin
78 Sun May 13 22:08:59 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
80 * Adopt perl Makefiles for SILC Plugin.
82 Sun May 13 18:27:13 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
84 * Fixed client library initialization when the running callback
85 is not given to silc_client_init. Affected file is
86 lib/silcclient/client.c.
88 * Fixed Symbian compilation problems around the tree. Added
89 new Carbide.c++ project files to symbian/ directory.
91 * Fixed SilcLog API to work on Symbian. On Symbian it doesn't
92 use any globals. Affected files are lib/silcutil/silclog.c
95 Sun May 13 16:54:35 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
97 * Fix several warnings in Irssi's Makefiles.
99 Sun May 13 12:16:30 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
101 * Disable ASM if --with-pic was given. Affected file is
102 lib/silccrypt/configure.ad
104 Fri May 11 19:10:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
106 * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later
107 in case they are called from a thread. Affected file is
108 lib/silcutil/silcfsm.c.
110 * Fixed WIN32 thread creation to handle the Tls correctly.
111 Affected file is lib/silcutil/win32/silcwin32thread.c.
113 Thu May 10 18:29:18 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
115 * SILC Toolkit 1.1-beta2.
117 Thu May 10 18:21:10 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
119 * Fixed silc_net_tcp_connect crash on Unix and Win32. Handle
120 the socket async operation correctly. Changed that DNS lookup
121 is now done during connecting. Affected files are
122 lib/silcutil/[unix|win32]/silc[unix|win32]net.c.
124 * Changed also silc_net_tcp_connect on Symbian to do DNS lookup.
125 Affected file is lib/silcutil/symbian/silcsymbiannet.c.
127 * Optimize silc_net_gethostbyname to check if the name is already
128 IP address. Affected file is lib/silcutil/silcnet.c.
130 Wed May 9 19:51:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
132 * Print filename instead of empty function name in debug output
133 on WIN32. Affected files are lib/silcutil/silclog_i.h and
136 * Rewrote WIN32 SILC Scheduler. It now handles non-blocking file
137 descriptors and sockets better. Though, room for optimization
138 remains. Affected file is lib/silcutil/win32/silcwin32schedule.c.
140 * Removed silc_net_win32_[init|uninit]. They are called now
141 automatically when SILC Scheduler is allocated. Wrote IPv4
142 address parser because inet_addr seemed not to work on my WIN32.
143 Affected file is lib/silcutil/win32/silcwin32net.c.
145 * Improved socketstream.h and stream.h documentation.
147 Tue May 8 18:13:38 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
149 * Changed private message waiting API in client library to make
150 it work better with multiple waiting threads. The waiting is
151 not always per client entry instead of per connection. Affected
152 files are lib/silcclient/client_prvmsg.c, client.h and
155 * Changed silc_packet_wait_init function to accept the the expected
156 Source ID of the packet as argument. If specified only packets
157 with the specified types and Source ID are delivered. Affected
158 files are lib/silccore/silcpacket.[ch].
160 * Fixed file transfer disconnection crash when closing the session
161 directly in the monitor callback after disconnection. Affected
162 file is lib/silcclient/client_ftp.c.
164 * Make Toolkit compile on WIN32. Affected files in win32/
165 and in lib/silcutil/win32/.
167 * Changed silc_compare_timeval to return negative, zero or
168 positive instead of just TRUE or FALSE. This fixes 0 timeout
169 task dispatching on Windows. Affected files are
170 lib/silcutil/silctime.[ch] and silcschedule.c.
172 Mon May 7 18:18:48 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
174 * Fixed CMODE channel auth public key retrieval. Affected
175 file is lib/silcclient/command.c.
177 * Fixed CMODE command reply to return channel public keys
178 correctly. Affected files are lib/silcclient/command_reply.c
179 and client_channel.c.
181 Sun May 6 12:43:19 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
183 * Added current channel key cipher name and HMAC name to
184 SilcChannelEntry. Fixed channel private key creation.
185 Affected files are lib/silcclient/client_channel.c,
186 client_entry and silcclient_entry.h.
188 * Allow formatted nicknames as input to silc_client_get_clients
189 and silc_client_get_clients_whois. Affected file is
190 lib/silcclient/client_entry.c.
192 * Fixed silc_message_payload_free crash. Affected file is
193 lib/silccore/silcmessage.c.
195 * Added SILC_STATUS_ERR_NO_SUCH_PUBLIC_KEY to
196 lib/silccore/silcstatus.h.
198 Thu May 3 18:07:50 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
200 * Imported libtommath 0.41. Renamed all mp_* functions to
201 tma_mp_* functions to avoid rare linking problems on systems
202 with mp_* functions. Affected files are in lib/silcmath/.
204 Wed May 2 17:46:25 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
206 * SILC Toolkit 1.1 Beta1.
208 Wed May 2 11:38:17 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
210 * Set the server and router operator modes to local entry after
211 successful OPER or SILCOPER commands. Affected file is
212 lib/silcclient/command_reply.c.
214 Tue May 1 14:17:06 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
216 * Ported SILC Socket Stream API, SILC Net API, SILC Schedule API,
217 and other smaller APIs to WIN32. Affected files are in
220 * Changed the various regex APIs as generic code in util library.
221 Affected files are lib/silcutil/silcstrutil.[ch].
223 Sat Apr 28 13:47:47 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
225 * Ported SILC Server to the new Toolkit API, working towards
226 SILC Server 1.1. Affected files are in apps/silcd/.
228 * Added silc_skr_del_public_key, silc_skr_[ref|unref]_public_key
229 to lib/silcskr/silcskr.[ch].
231 * Fixed SILC public key copying to copy the identifier also.
232 Affected file is lib/silccrypt/silcpk.c.
234 * Added silc_packet_error_string to lib/silccore/silcpacket.[ch].
236 * Fixed OPER and SILCOPER passphrase asking in Client library.
237 Affected file is lib/silcclient/command.c.
239 Tue Apr 24 17:55:24 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
241 * Fixed command queue enabling after connecting to server.
242 The comparisons was from after changing to silc_utf8_strcasecmp.
243 Affected file is apps/irssi/src/silc/core/silc-servers.c.
245 * Fixed nickname setting with own client entry with 1.3 protocol
246 version server. Affected file lib/silcclient/client_register.c.
248 * Ignore error notify for local client entry. Affected file is
249 lib/silcclient/client_notify.c.
251 * Implemented responder rekey to SKE library. Affected files are
252 lib/silcske/silcske.[ch].
254 * Fixed connection auth protocol completion sending. Affected
255 file lib/silcske/silcconnauth.c.
257 Mon Apr 23 17:20:01 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
259 * Do not call TCP network listener callback with any error
260 status, as documented. Affected file is
261 lib/silcutil/unix/silcunixnet.c.
263 Sun Apr 22 21:13:28 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
265 * Preliminary SILC Server 1.1 changes committed to apps/silcd/.
267 * Added SILC_SKR_USAGE_SERVICE_AUTHORIZATION SKR key usage type.
268 Changed silc_skr_find to have SilcSchedule argument and removed
269 it from silc_skr_[alloc|init]. Affected files are
270 lib/silcskr/silcskr.[ch].
272 * Allow NULL id for silc_idcache_add. Affected file is
273 lib/silcapputil/silcidcache.c.
275 * Added silc_packet_stream_is_valid, silc_packet_get_ids and
276 silc_packet_engine_get_streams to lib/silccore/silcpacket.[ch].
277 Fixed also channel message encryption with router-to-router
280 * Added silc_id_str2id2 to lib/silccore/silcid.[ch].
282 * Added silc_net_get_error_string, silc_net_listener_get_ip and
283 silc_net_listener_get_hostname to lib/silcutil/silcnet.[ch].
285 Tue Apr 10 15:55:42 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
287 * Add option --enable-silc-plugin. Affected files are
288 apps/irssi/configure.{ad,in}
290 * Only compile the SILC Plugin if required. Affected files are
291 apps/irssi/src/Makefile.am, apps/irssi/src/fe-common/Makefile.am
293 * Conditionally build the SILC Plugin. Affected files are
294 apps/irssi/src/silc/core/Makefile.am,
295 apps/irssi/src/fe-common/silc/Makefile.am
297 * Backout delayed protocol exit and replace with a lame busy
298 wait. Affected files are apps/irssi/src/fe-text/silc.c,
299 apps/irssi/src/silc/core/silc-core.c
301 * Fix key generation for SILC Plugin. Affected file
302 apps/irssi/src/silc/core/clientutil.c
304 Tue Apr 10 12:40:19 CEST 2007 Jochen Eisinger <coffee@silcnet.org>
306 * Only pass -rpath to libtool when building shared libraries.
307 Affected file lib/Makefile.ad
309 * Removing the stray "s" in configure.ad
311 Sat Mar 24 19:13:58 CET 2007 Jochen Eisinger <coffee@silcnet.org>
313 * Redraw the screen after creating a new key. Affected file
314 apps/irssi/src/silc/core/clientutil.c
316 Sun Mar 18 15:54:10 EET 2007 Pekka Riikonen <priikone@silcnet.org>
318 * Added SILC Client setting /set nickname_format that specifies
319 the nickname format string. Changed default nickname format
320 string to "%n#%a". Affected file is
321 apps/irssi/src/silc/core/silc-core.c, apps/irssi/silc.conf.
323 * Fixed nickname parsing with WHOIS command to accept formatted
324 nicknames. Changed the silc_client_get_clients_local to allow
325 the searched nickname to be formatted nickname. Removed %s and
326 %S nickname formatters. Affected files are in lib/silcclient/.
328 * Added silc_client_nickname_parse to Client library API. Affected
329 file is lib/silcclient/silcclient.h.
331 * Fixed nickname parsing and resolving with /MSG, /FILE and /KEY
332 commands. Affected file are
333 apps/irssi/src/silc/core/silc-servers.c and silc-channels.c.
335 Sat Mar 17 19:07:15 CET 2007 Jochen Eisinger <coffee@silcnet.org>
337 * Incorporate SILC Plugin patches. Affected files are
338 apps/irssi/src/fe-common/silc/module-formats.{c,h},
339 apps/irssi/src/silc/core/clientutil.{c,h},
340 apps/irssi/src/silc/core/silc-core.c,
341 apps/irssi/src/silc/core/silc-chatnets.{c,h},
342 apps/irssi/src/fe-common/silc/fe-silcnet.c, and
343 apps/irssi/src/fe-common/silc/module.h
345 Wed Mar 14 17:31:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
347 * In notify handling resolve user entries many times if the
348 resolving timedout. Affected file lib/silcclient/client_notify.c.
350 * silc_client_get_clients_local do not return any invalid entries.
351 Affected file is lib/silcclient/client_entry.c.
353 * Do not print "there are now xx user on this channel" for users
354 that actually aren't anymore on the channel. Affected file
355 is apps/irssi/src/client_ops.c.
357 Sun Mar 11 17:43:18 CET 2007 Jochen Eisinger <coffee@silcnet.org>
359 * When joining channels with a password given in the config file,
360 use it. Also use it when cycling (it would be better to get
361 the password from the server, but this isn't possible in SILC).
362 Affected files apps/irssi/src/silc/core/silc-servers.c,
363 apps/irssi/src/silc/core/silc-channels.c
365 Sun Mar 11 15:22:42 CET 2007 Jochen Eisinger <coffee@silcnet.org>
367 * Import perl script for sign_messages from silc-plugin. Affected
368 file apps/irssi/scripts/silc.pl
370 Sun Mar 11 15:19:10 CET 2007 Jochen Eisinger <coffee@silcnet.org>
372 * Only wait for a nick on connecting, when it differs
373 (not counting case) from the username. Affected file
374 is apps/irssi/src/silc/core/silc-servers.c
376 Sun Mar 11 13:50:53 CET 2007 Jochen Eisinger <coffee@silcnet.org>
378 * Use time settings for lag settings. Affected file is
379 apps/irssi/src/silc/core/silc-lag.c
381 Tue Feb 27 17:07:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
383 * Added silc_thread_yield. Affected file is
384 lib/silcutil/silcmutex.h.
386 Wed Feb 21 17:01:01 EET 2007 Pekka Riikonen <priikone@silcnet.org>
388 * Fixed WHOIS command and requested attributes handling in
389 client library. Affected files are lib/silcclient/command.c
390 and lib/silcclient/client_attrs.c.
392 * Fixed silc_time_value to actually work. Added new function
393 silc_timezone. Affected files are lib/silcutil/silctime.[ch].
395 Tue Feb 20 08:31:28 EET 2007 Pekka Riikonen <priikone@silcnet.org>
397 * SILC Client 1.1 beta2.
399 Mon Feb 19 16:06:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
401 * Fixed client to properly abort TCP stream creation when
402 giving /QUIT. Affected file
403 apps/irssi/src/silc/core/silc-servers.c.
405 * Fixed several connecting aborting crashes from the client
406 library, packet engine and socket stream. Affected files
407 are in lib/silclient/, lib/silccore/silcpacket.c and
408 lib/silcutil/unix/silcunixsocketstream.c.
410 * Fixed private key export double free crash in key generation.
411 Affected file is lib/silccrypt/silcpk.c.
413 * Fixed FSM event waiting when there are multiple signallers
414 and the waiter goes away after the first signal. Affected
415 file in lib/silcutil/silcfsm.c.
417 Sun Feb 18 22:02:22 EET 2007 Pekka Riikonen <priikone@silcnet.org>
419 * Fixed FSM event signalling to check if the waiter has gone
420 away already. Affected file is lib/silcutil/silcfsm.c.
422 * Fixed counter mode encryption/decryption to handle non-padded
423 SILC packets correctly. The silc_cipher_set_iv now
424 in counter mode resets for a new block. Affected files are
425 in lib/silcske/, lib/silccrypt/, lib/silcpacket/.
427 Sun Feb 18 12:15:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
429 * SILC Client 1.1 beta1.
431 * Memory leak fixes around the libraries.
433 Fri Feb 16 16:53:16 EET 2007 Pekka Riikonen <priikone@silcnet.org>
435 * Added better check for epoll() in configure. Affected file
438 Thu Feb 15 16:50:34 EET 2007 Pekka Riikonen <priikone@silcnet.org>
440 * Fixed per scheduler data input buffer in packet engine. Use
441 list of inbufs instead of just one so that multiple streams
442 can do partial reads to different buffers. Affected file is
443 lib/silccore/silcpacket.c.
445 * Fixed WATCH notify handling in client library. Affected file
446 is lib/silcclient/client_notify.c.
448 Wed Feb 14 17:05:38 EET 2007 Pekka Riikonen <priikone@silcnet.org>
450 * Fixed packet wrapper stream API to support encoder/decoder
451 for packets, and to handle partial reading correctly. Fixed
452 also inbuf size checking in reading to have enough space before
453 reading. Affected files are lib/silccore/silcpacket.[ch].
455 * Rewrote file transfer in client library. Affected files are
458 * Added TCP/UDP listener (internal) API to client library to have
459 generic way of dealing with listeners. Fixed Key Agreement and
460 file transfer to use it. Affected files are in lib/silcclient/.
462 * Fixed SKE to process SUCCESS packets synchronously and to call
463 completion synchronously. Affected file is lib/silcske/silske.c.
465 * Fixed pthread rwlock detection. Affected file includes/silc.h.in.
467 * Implemented SILC_ATTRIBYUTE_PHONE_NUMBER. Affected files are
468 lib/silccore/silcattrs.[ch]. SILC Protocol version 1.3 change.
470 Fri Feb 2 22:24:11 EET 2007 Pekka Riikonen <priikone@silcnet.org>
472 * Added support for SILC protocol version 1.3 NEW_CLIENT packet
473 to client library. Affected file is
474 lib/silcclient/client_register.c.
476 * Serialize NICK and JOIN commands to avoid problems locally
477 with changing ID while joining to channel. Affected file is
478 lib/silcclient/command.c.
480 * Fixed entry resolving while handling incoming JOIN notify.
481 Handle properly cases, in re-processing of notify packets, where
482 the IDs may become invalid while resolving the entry (like nick
483 change). Entry is invalid if it doesn't have nickname, and such
484 entries are not delivered to application anymore. These fixes
485 problems of not seeing JOINs when remote user changes nickname
486 at the same time. Affected files are in lib/silcclient/.
488 Thu Feb 1 18:35:58 EET 2007 Pekka Riikonen <priikone@silcnet.org>
490 * Added support for computing message payload MAC in new way
491 (SILC Protocol version 1.3). Bakcwards support for old way
492 remains. Affected files are lib/silccore/silcmessage.[ch].
494 Sat Jan 27 22:37:30 EET 2007 Pekka Riikonen <priikone@silcnet.org>
496 * Added SilcRwLock API, a read/write lock. Affected files are
497 lib/silcutil/silcmutex.h and in lib/silcutil/[unix|win32|symbian]/.
499 Wed Jan 24 18:55:21 EET 2007 Pekka Riikonen <priikone@silcnet.org>
501 * Merged Irssi SVN (irssi 0.8.11). Affected files in apps/irssi/.
503 Tue Jan 23 16:05:27 EET 2007 Pekka Riikonen <priikone@silcnet.org>
505 * The silc_schedule_set_listen_fd now returns boolean value.
506 Fixed FD task adding to check correctly for already added
507 FD tasks. Added stricter error checking for FD scheduling
508 with epoll(). Affected files are lib/silcutil/silcschedule.[ch]
509 and lib/silcutil/unix/silcunixschedule.c.
511 * The silc_stream_set_notifier now returns boolean value. Changed
512 all streams to support and check for the error condition.
513 Affected files are in lib/silcutil/.
515 * Fixed SKE library session aborting and deletion. Affected
516 file are lib/silcske/silcske.c.
518 Tue Jan 16 18:22:08 EET 2007 Pekka Riikonen <priikone@silcnet.org>
520 * Implemented PKCS #1 with appendix with hash OID in the
521 signature. Affected files are lib/silccrypt/silcpkcs1.[ch],
522 lib/silccrypt/silchash.[ch] and
523 lib/silcasn1/silcasn1[_encode|decode].[ch].
525 Sun Jan 14 23:12:41 EET 2007 Pekka Riikonen <priikone@silcnet.org>
527 * Added support for Version (V) SILC public key identifier.
528 Affected files are lib/silccrypt/silcpk.[ch].
530 Tue Jan 9 19:37:51 EET 2007 Pekka Riikonen <priikone@silcnet.org>
532 * Rewrote connection auth request in client library. It is now
533 done automatically by the library and the resolved method given
534 as a hint to get_auth_method client operation. Affected files
537 Wed Jan 3 18:06:33 EET 2007 Pekka Riikonen <priikone@silcnet.org>
539 * Added silc_packet_stream_wrap into lib/silccore/silcpacket.[ch].
540 It can be used to wrap SilcPacketStream into SilcStream.
542 * Fixed %p formatting from silc_snprintf. Affected file is
543 lib/silcutil/silcsnprintf.c.
545 * Ported SFTP library to new utility library. Ported also
546 the SFTP testers. Affected files in lib/silcsftp/.
548 Tue Jan 2 17:18:46 EET 2007 Pekka Riikonen <priikone@silcnet.org>
550 * Added lib/silcutil/silcsnprintf.[ch]. Added in addition
551 of silc_snprintf, silc_vsnprintf, silc_asprintf and
554 Sat Dec 30 23:23:17 EET 2006 Pekka Riikonen <priikone@silcnet.org>
556 * Added preliminary Symbian support. Changes around the source
557 tree. The symbian/ directory now includes Carbide.c++ project
558 files to compile the sources.
560 * Added silc_snprintf. Affected files are
561 lib/silcutil/silcstrutil.[ch].
563 Thu Dec 21 18:01:51 EET 2006 Pekka Riikonen <priikone@silcnet.org>
565 * Changed SILC_FSM_[CONTINUE|YIELD|WAIT|FINISH] enums to
566 macros. SILC_FSM_CONTINUE macro now immediately calls the
567 next state instead of first returning back to FSM. Helps
568 in debugging crashes etc.
570 Removed FSM Semaphores. Introduced FSM Event which is
571 asynchronous event. Affected files are in lib/.
573 * Added epoll(7) support to SILC Scheduler. It is used by default
574 if it is available. Affected files are
575 lib/silcutil/silcschedule.[ch],
576 lib/silcutil/unix/silcunixschedule.c.
578 Tue Dec 19 20:39:35 EET 2006 Pekka Riikonen <priikone@silcnet.org>
580 * Added CTR mode to AES. Simplified cipher implementation API
581 more. Affected files are in lib/silccrypt/.
583 Sun Dec 17 16:46:55 EET 2006 Pekka Riikonen <priikone@silcnet.org>
585 * Removed `detach' client operation. The detachment data is
586 now delivered in SILC_COMMAND_DETACH command reply to
587 application. Affected file in lib/silcclient/.
589 * Rewrote resuming/detaching in client library.
591 * Added boolean encryption indicator for silc_cipher_set_key.
592 Affected files lib/silccrypt/silccipher.[ch].
594 Wed Dec 13 18:05:50 EET 2006 Pekka Riikonen <priikone@silcnet.org>
596 * Added silc_likely and silc_unlikely macros for GCC branch
597 prediction optimizations. Affected file lib/silcutil/silctypes.h.
599 * Added assembler AES optimization. Cleaned up the SILC Cipher
600 implementation API. Affected files are in lib/silccrypt/.
602 Tue Dec 12 18:56:14 EET 2006 Pekka Riikonen <priikone@silcnet.org>
604 * Changed back the SILC_FSM_THREAD_WAIT operation to not
605 continue to next state if thread is finished already. That
606 check is not done anymore. Affected files are
607 lib/silcutil/silcfsm.[ch].
609 Sun Dec 10 13:54:52 EET 2006 Pekka Riikonen <priikone@silcnet.org>
611 * Removed silc_packet_[get|set]_ciphers and
612 silc_packet_[get|set]_hmacs. Added silc_packet_set_keys that
613 handle REKEY_DONE packet sending in rekey. Affected files
614 are lib/silccore/silcpacket.[ch].
616 * Added silc_fsm_is_started. Affected files are
617 lib/silcutil/silcfsm.[ch].
619 * Added settings sign_channel_message, sign_private_message
620 and key_exchange_rekey_pfs to SILC Client. Added UDP transport
621 support for key agreement in /KEY command. Affected files
622 in apps/irssi/src/silc/core/.
624 * During SILC Client initialization forward log messages to
625 stderr. Affected files in apps/irssi/src/silc/core/.
627 Thu Dec 7 19:07:21 EET 2006 Pekka Riikonen <priikone@silcnet.org>
629 * Added silc_ske_get_key_material. Affected files are
630 lib/silcske/silcske.[ch].
632 * Added silc_packet_stream_is_udp. Affected files are
633 lib/silccore/silcpacket.[ch].
635 * Added SKE packet retransmission support with UDP transport.
636 Affected file is lib/silcske/silcske.c.
638 Sun Dec 3 22:00:12 EET 2006 Pekka Riikonen <priikone@silcnet.org>
640 * Added silc_socket_stream_is_udp. Affected file is
641 lib/silcutil/silcsocketstream.[ch].
643 * Added UDP transport support to packet engine. Affected file
644 is lib/silccore/silcpacket.c.
646 * Added silc_socket_stream_is_udp. Affected file is
647 lib/silcutil/silcsocketstream.[ch].
649 Sat Nov 18 11:33:03 EET 2006 Pekka Riikonen <priikone@silcnet.org>
651 * Added silc_packet_send_va[_ext] to send variable argument
652 formatted buffers. Affected files lib/silcore/silcpacket.[ch].
654 * Timeout freelist garbage collection added to scheduler.
655 Affected file lib/silcutil/silcschedule.c.
657 Thu Nov 9 18:12:15 EET 2006 Pekka Riikonen <priikone@silcnet.org>
659 * Added silc_show_public_key_file to
660 lib/silcapputil/silcapputil.[ch].
662 * Added SILC_STR_ADVANCE support for buffer unformatting.
663 Affected file lib/silcutil/silcbuffmt.c.
665 Tue Nov 7 18:04:36 EET 2006 Pekka Riikonen <priikone@silcnet.org
667 * Added silc_string_split to lib/silcutil/silcstrutil.[ch].
669 * Added silc_mutex_assert_locked to lib/silcutil/silcmutex.h.
671 * silc_fsm_continue[_sync] now cancels erlier timeout set with
672 silc_fsm_next_later. Affected file lib/silcutil/silcfsm.c.
674 Sat Nov 4 21:50:37 EET 2006 Pekka Riikonen <priikone@silcnet.org
676 * Added SILC_STR_FUNC to buffer format API. Affected files
677 are lib/silcutil/silcbuffmt.[ch].
679 * Added silc_buffer_[s]enlarge to lib/silcutil/silcbuffer.h.
681 * No more memory allocation for message payload parsing.
682 Pre-allocated buffer can be used with message payload encoding.
683 Affected files lib/silccore/silcmessage.[ch].
685 Fri Oct 27 21:01:26 EEST 2006 Pekka Riikonen <priikone@silcnet.org
687 * Added silc_buffer_sunformat and silc_buffer_sunformat_vp
688 to silcutil/silcbuffmt.[ch].
690 Sun Oct 22 13:03:07 EEST 2006 Pekka Riikonen <priikone@silcnet.org
692 * Added SILC_STR_BUFFER to format and unformat SilcBuffer.
693 Affected file lib/silcutil/silcbuffmt.[ch].
695 * Removed silc_schedule_signal_[un]register and
696 silc_schedule_signal_call. Added silc_schedule_task_add_signal
697 to add signal task. Only one callback per signal may be
698 added. The signals are now automatically called back to
699 caller. Affected files lib/silcutil/silcschedule.[ch] and
700 silcutil/[unix/win32]/silc[unix/win32]schedule.c.
702 * Added silc_time_msec and silc_time_usec to silcutil/silctime.[ch].
704 * Added SilcSKEParams for SKE parameters and simplied even more
705 the SKE interface. Affected files are lib/silcske/silcske.[ch].
706 Added support for IV included and session port handling with
709 * Added Secure ID (SID) support with IV Included flag (for UDP/IP)
710 in lib/silccore/silcpacket.[ch]. Added silc_packet_set_sid
711 which is called after every rekey when IV Included flag is used.
712 See SILC specifications for details.
714 Thu Oct 19 10:03:03 EEST 2006 Pekka Riikonen <priikone@silcnet.org
716 * Added lib/silcapputil and moved SILC application specific
717 utility routines from the generic util library lib/silcutil
718 to the new library. Removed lib/silcidcache and moved that
719 to lib/silcapputil as well.
721 Tue Sep 19 00:14:11 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
723 * Added SILC_STR_ADVANCE. Affected file is
724 lib/silcutil/silcbuffmt.[ch].
726 * The silc_buffer_strformat preserves buffer locations now.
728 * Added lib/silcutil/silcatomic.h for atomic operations.
730 Sat Sep 16 11:23:06 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
732 * Added lib/silchttp, SILC HTTP server, a very simple HTTP
735 * Fixed MIME deocing when data portion is not present.
736 Affected file lib/silcutil/silcmime.c.
738 Wed Jul 19 12:06:38 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
740 * Moved lib/silccore/silcidcache.[ch] to lib/silcutil/.
742 * Added IV Included support to packet routines, to allow
743 packet sending and receiving on UDP/IP. Affected files are
744 lib/silccore/silcpacket.[ch].
746 * Added SILC_FSM_YIELD. Affected files lib/silcutil/silcfsm.[ch].
748 Tue Jul 18 20:10:28 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
750 * Added UDP support to network and socket stream library.
752 Sat Jun 24 22:33:18 EEST 2006 Pekka Riikonen <priikone@silcnet.org>
754 * Added conditional variables. New files are
755 lib/silcutil/silcondvar.h and platform specific implementations.
757 Thu Jan 5 20:02:31 CET 2006 Patrik Weiskircher <pat@icore.at>
759 * make sure session->hostname and session->port are valid before the
760 application callback is done, since things will go wrong if the
761 application immediately calls silc_client_file_receive. Affected
762 file lib/silcclient/client_ftp.c.
763 Patch received from Stefan Siegel <stesie@brokenpipe.de>, thanks!
765 Fri Dec 30 22:54:21 EET 2005 Pekka Riikonen <priikone@silcnet.org>
767 * New SILC PKCS API enabling support for other public keys
768 and certificates, lib/silccrypt/silcpkcs.[ch], silcpk.[ch].
770 * Separated SILC Public Key Payload routines from the PKCS API
771 to lib/silccore/silcpubkey.[ch].
773 Wed Dec 28 13:55:22 EET 2005 Pekka Riikonen <priikone@silcnet.org>
775 * Added SILC Key Repository library, lib/silcskr.
777 * Added SILC Server library, lib/silcserver.
779 Mon Dec 19 18:04:24 EET 2005 Pekka Riikonen <priikone@silcnet.org>
781 * MIME objects in attributes now use SilcMime. Affected files
782 are lib/silccore/silcattrs.[ch].
784 Sat Dec 17 20:13:31 EET 2005 Pekka Riikonen <priikone@silcnet.org>
786 * Synchronize semaphore posting for real threads in FSM.
787 Affected files are lib/silcutil/silcfsm.c, silcfsm_i.h.
789 Mon Nov 28 17:06:54 EET 2005 Pekka Riikonen <priikone@silcnet.org>
791 * Added silc_file_set_nonblock. Affected file is
792 lib/silcutil/silcfileutil.h.
794 * Added silc_fd_stream_file to lib/silcutil/silcfdstream.[ch].
796 Sat Nov 26 16:13:40 EET 2005 Pekka Riikonen <priikone@silcnet.org>
798 * FSM based implementation of SILC SKE. Simpler interface also.
799 Affected files are in lib/silcske/.
801 * Added SilcBool type. Affected file lib/silcutil/silctypes.h.
803 Sat Nov 19 17:34:51 EET 2005 Pekka Riikonen <priikone@silcnet.org>
805 * Added SilcMime API to lib/silcutil/silcmime.[ch]. The old
806 silc_mime_parse is available but deprecated.
808 * Check that packet is valid when processing key exchange,
809 authentication and rekey protocols. Fixes a crashbug.
810 Affected files are apps/silcd/protocol.c and
811 lib/silcclient/protocol.c.
813 * Added SILC_HASH_MAXLEN to lib/silccrypt/silchash.h, and changed
814 all hash buffers to use that instead of fixed values.
816 Wed Nov 16 15:47:12 EET 2005 Pekka Riikonen <priikone@silcnet.org>
818 * Added SHA-256 to crypto library. The SHA-256 takes now
819 precedence over SHA-1.
821 Thu May 26 20:31:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
823 * Check for valid return value from regcomp. Affected file
824 lib/silcutil/unix/silcunixutil.c.
826 Tue May 10 23:11:17 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
828 * Fixed silc_hash_uint to work with integers. Affected
829 file lib/silcutil/silcutil.c.
831 Tue May 10 15:11:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
833 * Rewritten SILC Log API. Affected files lib/silcutil/silclog.[ch].
835 Mon May 9 12:00:08 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
837 * Fixed channel public key list saving on JOIN command reply
838 on backup router. Affected file apps/silcd/command_reply.c.
840 Mon May 2 10:42:49 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
842 * Added default limit how many channels client can join,
843 default is 50. Added 'channel_join_limit' configuration
844 option to server too. Affected files are apps/silcd/command.c
845 and serverconfig.[ch].
847 Sun May 1 17:42:55 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
849 * --without-silc -> --with-silc, --without-irssi -> --with-irssi.
850 On Toolkit the server and client are not compiled by default.
851 Affected file configure.ad.
853 Thu Apr 28 15:57:37 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
855 * Added lib/contrib/getopt.[ch] for platforms that don't
856 have it (it is not GPL implementation).
858 * Fixed compilation when pkg-config is used.
860 Wed Apr 27 11:49:41 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
862 * A comma in invite/ban string is invalid, check for it.
863 Affected file apps/silcd/server_util.c.
865 * Added SERVICE command to the server. It parses the command
866 request but SILC Server does not support services for the
867 time being. Affected file apps/silcd/command.[ch].
869 * Added SERVICE command and command reply to client library.
870 It is however incomplete. Updated Toolkit documentation.
871 Affected files are lib/silcclient/command[_reply].[ch].
873 * Fixed IDENTIFY/WHOWAS command reply to send the username
874 correctly (uninitialized buffer). Affected file is
875 apps/silcd/server_query.c.
877 Mon Apr 25 14:25:24 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
879 * Moved silcer/, silc/, silcd/ and irssi/ to apps/. This
880 finalizes the major restructuring of the CVS tree.
882 Mon Apr 25 00:39:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
884 * Send empty MOTD reply if MOTD file cannot be read.
885 Affected file silcd/command.c.
887 Sun Apr 24 12:01:37 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
889 * Optimized primer number generator to use simpler conversion
890 routines. Also assure that the prime number will have the
891 highest bit set after modifying it. Affected file is
892 lib/silcmath/silcprimegen.c.
894 * Added LibTomMath to SILC Math library (SILC_DIST_TMA).
896 * Added FastTomMath to SILC Math Library (SILC_DIST_TFM),
897 for now only for testing purposes, it will not be delivered
898 in any distribution for now.
900 * Removed NSS MPI from the source tree. Due to upcoming
901 license change for the SILC Toolkit, we cannot deliver the
902 NSS MPI anymore. I decided to replace it in all distributions
903 with public domain library.
905 * Removed GNU regex from lib/contrib and introduced free
906 GNU compatible regex, lib/contrib/regexpr.[ch]. Added
907 GNU regex compatible API to it (only partial).
909 * Removed getopt routines from lib/contrib.
911 Fri Apr 22 12:21:44 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
913 * Use silc_server_send_command_reply to send replies instead
914 of encoding packet itself. Affected file silcd/command.c.
916 * Added command sending and receiving statistics to server.
917 Affected files in silcd/.
919 * GCC 4 warning fixes. -Wno-pointer-sign option is now used
920 with GCC, for it not to warn about pointer signedness.
922 Tue Apr 19 11:57:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
924 * Added context to the SilcIDCache destructor. Affected
925 files are lib/silccore/silcidcache.[ch],
926 lib/silcclient/client.c and silcd/server.c.
928 Mon Apr 18 09:53:28 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
930 * Added pkg-config check to configure.
932 * The PublicKeyDir must not be used with Admin block in server
933 config. Affected file silcd/serverconfig.c.
935 Sat Apr 16 20:23:48 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
939 Thu Apr 14 20:25:08 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
941 * Handle empty LIST command reply correcttly in server. Affected
942 file silcd/command_reply.c.
944 * Handle empty LIST command reply correctly in client library.
945 The application will now receive one LIST command reply with
946 all arguments set to NULL if there are no channels. Updated
947 Client Library documentation accordingly. Affected file
948 lib/silcclient/command_reply.c.
950 Tue Apr 12 00:02:09 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
952 * Added channel name string stringprep profile to the protocol
953 and implementation to allow a little free'er channel name
954 strings. Affected files are lib/silcutil/silcstringprep.[ch].
956 * Added silc_channel_name_[check|verify] to check and verify
957 channel name strings. Affected files are
958 lib/silcutil/silcstrutil.[ch].
960 * Added support for the new channel name preparation in client
961 library and server. Affected files in lib/silcclient and
964 Mon Apr 11 13:40:27 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
966 * Added the Autodist into the source tree. It replaces the
967 old ./prepare. It can be used to create distributions as
968 previously. See README.CVS and README.DIST. See
969 distributions in distdir/.
971 Sun Apr 10 11:30:56 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
973 * Make sure query sends at least an error back if nothing
974 more is sent. Affected file silcd/server_query.c.
976 Thu Apr 7 14:50:01 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
978 * During query, check if the original command caller goes
979 away. If it does, stop the query. Affected file
980 silcd/server_query.c.
982 * Check for valid channel creation in JOIN command reply.
983 Affected file lib/silcclient/command_reply.c.
985 * Handle the resolver counter in silc_client_get_users_by_channel
986 callback correctly. Fixed auto-join bug in Gaim. Affected
987 file lib/silcclient/idlist.c.
989 Wed Apr 6 16:56:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
991 * Added some better error messages. Affected file
992 silcd/command_reply.c and packet_receive.c.
994 * Handle error in WATCH command propely on backup router.
995 Affected file silcd/command.c.
997 * Fixed freeing of unfreeable variable in WHOIS command reply.
998 Affected file silcd/command_reply.c.
1000 Wed Apr 6 09:10:31 CEST 2005 Pekka Riikonen <priikone@silcnet.org>
1002 * Added pkg-config .pc file creation for silc core library
1003 and silcclient library. A patch by c0ffee.
1005 * Removed the need for GNU Libidn. Added the simple stringprep
1006 from libidn into lib/contrib/. It is now used also on Windows
1009 Mon Apr 4 15:15:46 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1011 * Simplified the invite and ban string handling in the
1012 server. Check for valid invite and ban arguments also.
1013 Affected file silcd/server_util.c.
1015 Sun Apr 3 14:58:53 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1017 * Added WATCH list announcing in backup router protocol.
1018 Affected files are silcd/command.c, server.c, server_backup.c.
1020 * Do not change users mode to founder on normal server/backup
1021 if the founder mode is set, and user is first one to join.
1022 Affected file silcd/pcaket_receive.c.
1024 * Do not send CUMODE_CHANGE notify back to sender. Affected
1025 file silcd/packet_receive.c.
1027 * Added getrusage() to take noise in SILC RNG. A patch by
1028 Mika Boström. Affected files are configure.in.pre,
1029 includes/silcincludes.h.in, lib/silccrypt/silcrng.c.
1031 Sat Apr 2 18:09:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1033 * Splitted the SILC libraries configuration into a configure
1034 fragment into lib/configure.ad. It is now possible, once
1035 this feature is added, to specify whether to compile or not
1036 compile included SILC libraries. Affected files are
1037 configure.in.pre, lib/silcmath/mpi/configure.ad,
1038 lib/configure.ad, Makefile.defines.pre and
1039 Makefile.defines_int.pre.
1041 * Added --with-silc-includes and --with-silc-libs to configure.
1042 If specified the included libs are not compiled, but the
1043 specified libs are used. Pkg-config is not yet supported.
1044 Affected file configure.in.pre.
1046 * Fixed WATCH command handling on backup router. Router does not
1047 send the watch command any more to backup if it originates from
1048 backup. Affected file silcd/command.c.
1050 Fri Apr 1 18:52:47 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1052 * Changed announcing to not announce unregistered clients.
1053 Affected file silcd/server.c.
1055 * Fixed username handling in command reply. Affected file
1056 silcd/command_reply.c.
1058 * Log files are now 0600. Affected file lib/silcutil/silclog.c.
1060 Thu Mar 31 22:34:22 CEST 2005 Patrik Weiskircher <pat@icore.at>
1062 * Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
1063 Affected file: includes/silcincludes.h.in
1065 * bool is defined as _Bool on Mac OS X now.
1066 Affected file: lib/silcutil/silctypes.h
1068 Thu Mar 31 08:52:06 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1070 * Added support for UTF-8 nicknames, channel names and
1071 server names in client library. Affected files in
1074 * Added __SILC_HAVE_PTHREAD, __SILC_HAVE_SIM, __SILC_HAVE_LIBIDN,
1075 and __SILC_ENABLE_DEBUG to include/silcclient.h for third-party
1076 software to check how Toolkit has been compiled.
1078 Wed Mar 30 22:16:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1080 * Added silc_utf8_str[n]casecmp into lib/silcutil/silcutf8.[ch].
1082 * Use silc_utf8_str[n]casecmp instead of strcmp routines
1083 in library and in SILC Client when dealing with nicknames
1084 and other identifier strings. Affected file in client lib
1087 * Convert nickname to UTF-8 in /msg and /smsg. Affected file
1088 irssi/src/silc/core/silc-servers.c.
1090 Wed Mar 30 10:50:02 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1092 * Fixed idcache to work with the new identifier strings.
1093 Affected file lib/silccore/silcidcache.c.
1095 * Added UTF-8 hash and compare function for SilcHashTable.
1096 Affected file lib/silcutil/silcutil.[ch].
1098 * Added casefolding stringprep, SILC_CASEFOLD_PREP.
1099 Affected file lib/silcutil/silcstringprep.[ch].
1101 * Changed the identifier string handling to include the original
1102 format in client, server, channel entries and normalized
1103 format in cache. Affected files in silcd/.
1105 Tue Mar 29 16:51:35 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1107 * Added support for the new identifier strings and their
1108 validity checking. Nicknames, channel names and usernames
1109 can now include practically any kind of letters and various
1110 other characters. Affected files in silcd/ and in libraries.
1112 NOTE: comparing these strings should now be done with memcmp()
1113 to check binary compatibility. All these strings are normalized
1114 and casing is irrelevant.
1116 * Added silc_identifier_check to lib/silcutil/silcstrutil.[ch]
1117 as easy function for applications to check whether identifier
1120 Tue Mar 29 00:45:11 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1122 * Fixed SILC_STRING_LDAP_DN encoding and decoding. Affected
1123 file lib/silcutil/silcutf8.c.
1125 * Added SILC_STRING_UTF8_ESCAPE to lib/silcutil/silcstrutil.h.
1127 Mon Mar 28 22:46:23 CEST 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1129 * Make public key in getkey reply mandatory. Affected file
1130 lib/silcclient/command_reply.c
1132 Sun Mar 27 19:03:31 CEST 2005 Patrik Weiskircher <pat@icore.at>
1134 * Added Parameter dont_register_crypto_library to
1135 SilcClientParam. If set to TRUE, silcclient library will
1136 not initalize the Crypto Libraries and application
1137 will need to do it. Affected file lib/silcclient/silcclient.h,
1138 lib/silcclient/client.c.
1140 Sun Mar 27 19:02:48 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
1142 * Imported new silc_utf8_[encode|decode] routines from
1143 my internal SILC 1.1 source tree. New encodings added:
1144 SILC_STRING_LOCALE (SILC_STRING_LANGUAGE is deprecated),
1145 SILC_STRING_UTF8, SILC_STRING_PRINTABLE, SILC_STRING_VISIBLE,
1146 SILC_STRING_TELETEX, SILC_STRING_NUMERICAL and
1147 SILC_STRING_LDAP_DN.
1149 * Splitted UTF-8 routines into lib/silcutil/silcutf8.[ch].
1151 * Implemented stringprep (RFC 3454) API. Internally we use
1152 GNU Libidn's stringprep, for now, so it is required now to
1153 compile SILC sources. Added lib/silcutil/silcstringprep.[ch].
1155 * Added checking for GNU Libidn and --with-libidn to configure.
1157 Wed Mar 23 11:20:33 CET 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1159 * If the passphrases entered do not match while generating a new key,
1160 completly start over instead of going into an infinite loop asking
1161 the user to re-enter the passphrase correctly. Affected file
1162 lib/silcutil/silcapputil.c
1164 Sun Jan 9 14:28:51 CET 2005 Pekka Riikonen <priikone@silcnet.org>
1166 * Make sure server is removed from backup list when it is
1167 deleted. Affected files silcd/command.c, server.c,
1170 * Close socket when connecting to router fails. Affected
1171 file silcd/server.c.
1173 Tue Jan 4 13:06:26 CET 2005 Jochen Eisinger <jochen@penguin-breeder.org>
1175 * Adopt configuration toolchain to current auto-tools.
1176 Affected files prepare, irssi/configure.in
1177 * Revert most of the UTF-8 fixes to SILC Client 1.0.1. Will
1178 redo that. Affected files irssi/src/silc/core/client_ops.c,
1179 irssi/src/fe-common/silc/fe-silc-channels.c
1180 * Take over command line options into silcclient data structure.
1181 Affected file irssi/src/silc/core/silc-core.c
1183 Wed Dec 8 16:15:11 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1185 * Do not try to initiate backup resuming protocol forever.
1186 Affected file silcd/server_backup.c.
1188 Wed Nov 24 18:24:05 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1190 * ID change in resuming has to be done before changing
1191 detached client's modes, since the ID change may fail and
1192 leave ghosts on the network. Affected file is
1193 silcd/packet_receive.c.
1195 Tue Nov 23 16:54:35 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1197 * Fixed Win32 scheduler to not stuck anymore. A patch from
1198 Juha Räsänen. Affected file is
1199 lib/silcutil/win32/silcwin32schedule.c.
1201 * Fixed QoS parsing for connection blocks in server. Affected
1202 file is silcd/serverconfig.c.
1204 * Fixed server statistics increasing in server. Affected file
1207 * The CLOSE command now marks backup router as self disconnected
1208 to avoid resuming problems. Affected file silcd/command.c.
1210 Wed Sep 22 19:46:32 CEST 2004 Patrik Weiskircher <pat@icore.at>
1212 * When using silc_net_create_connection[_async], and your system can
1213 create IPv6 sockets, it will try to connect to the IPv6 host.
1214 Now it tries to connect to an IPv4 host if IPv6 fails. Affected
1215 file lib/silcutil/unix/silcunixnet.c
1217 Fri Jun 18 19:26:58 CEST 2004 Pekka Riikonen <priikone@silcnet.org>
1219 * Check for valid route when receiving packet from router and
1220 when routing it to local server in the cell. A patch from
1221 Matt Miller. Affected files silcd/router.c and server.c.
1223 Sat May 1 13:55:54 CEST 2004 Patrik Weiskircher <pat@icore.at>
1225 * Couldn't detach and reattach twice, because of the previous
1226 commit. Affected file silcd/packet_receive.c
1228 Fri Apr 30 19:40:28 CEST 2004 Patrik Weiskircher <pat@icore.at>
1230 * Added check to ignore Port value if Initiator is FALSE.
1231 Remote router coudln't connect if Port was set. Affected file
1232 silcd/serverconfig.c
1234 * If some client tries to resume more than once at the same time,
1235 server crashed. Router didn't crash, but showed odd behaviour
1236 (didn't allow clients to join anymore, ..). Affected files
1237 silcd/packet_receive.c silcd/idlist.h
1239 Mon Mar 15 21:10:08 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1241 * Destroy the file transfer session in silc_client_file_close
1242 with timeout. Affected file lib/silcclient/client_ftp.c.
1244 * Call SFTP server monitor in READ and WRITE after the actual
1245 operations. Affected file lib/silcsftp/sftp_server.c.
1247 Wed Mar 10 21:30:02 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1249 * Create one configure script from configure fragments
1250 (configure.ad). This is a first step towards new distribution
1251 system. Affected files prepare, configure.in.pre,
1252 lib/silcmath/mpi/configure.ad.
1254 Wed Mar 10 18:35:24 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1256 * Removed expiring of client key pair. Affected file is
1257 irssi/src/silc/core/clientutil.c
1259 Tue Mar 9 17:11:58 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1261 * Check the number of connections from real number of
1262 connections instead of socket number, when deciding if
1263 server is full. Affected files are silcd/server.c,
1264 server_internal.h and silcd.c.
1266 * Clarified the connections_max meaning in General section
1267 in doc/example_silcd.conf.in.
1269 * The reconnect_keep_trying default value set to TRUE
1270 if it is not defined in the config file. Affected file
1271 silcd/serverconfig.c.
1273 Wed Mar 3 15:13:49 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1275 * Fixed crashbug in connection closing, after a protocol
1276 completion callback, which might have closed it already.
1277 Affected file silcd/server.c.
1279 * Fixed rekey with PFS in backup router. It did not allow
1280 rekeys with PFS, and when the rekey protocol timedout
1281 it crashed the backup router without the above fix. Affected
1282 file silcd/packet_send.c and server.c.
1284 Sat Feb 28 16:25:09 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1286 * The silc_client_add_channel_private_key now returns the
1287 private key context if pointer is given as argument.
1288 Affected files are lib/silcclient/silcclient.h and
1291 * Added support for using channel private keys in SILC
1292 Client Library even if the private key mode is not set
1293 on the channel. Affected file lib/silcclient/client_channel.c.
1295 * The channel private key used to decrypt message is now
1296 delivered to the application in the 'channel_messageÃ' client
1297 operation. Affected files are lib/silcclient/silcclient.h
1298 and client_channel.c.
1300 * Fixed wrong arg type for user limit in CMODE command reply.
1301 Affected file silcd/command.c.
1303 * The user limit is now taken and saved to SilcClientEntry in
1304 JOIN and CMODE command replies and in CMODE_CHANGE notify.
1305 Affected files lib/silcclient/silcclient.h, command_reply.c
1306 and client_notify.c.
1308 * Added support to the new private message key indicator
1309 packet. Added a new function to the client library:
1310 silc_client_send_private_message_key_request. The sender
1311 indicates to be initiator, and receiver is responder.
1312 Added the indicator to the SilcClientEntry as 'prv_resp'
1313 boolean. Affected files are lib/silcclient/silcclient.h
1314 client.[ch], and client_prvmsg.c.
1316 Fri Feb 27 11:25:26 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1318 * Fixed the JOIN command calling when called with both
1319 -auth and -founder. Affected file is lib/silcclien/command.c.
1321 Wed Feb 25 23:12:11 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1323 * Check watcher list for resumed clients as well. Affected
1324 file is silcd/packet_receive.c.
1326 Tue Feb 24 16:49:10 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1328 * Implemented the user limit to the CMODE_CHANGE notify,
1329 CMODE command reply and JOIN command reply in server.
1330 Affected files are silcd/server.c, command.c, command_reply.c,
1331 packet_send.c and packet_receive.c.
1333 Mon Feb 23 23:31:15 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1335 * Defined SILC_STRFMT_END that must be used now with
1336 silc_buffer_strformat, instead of SILC_STR_END. Fixes
1337 crashes on AMD64. Affected files are lib/silcutil/silcbuffmt.h,
1338 lib/silcclient/silcvcard.c, silcd/server_util.c.
1340 * Fixed the adding of public key to the WATCH list in server.
1341 Fixed the WATCH notify sending to client. Affected files
1342 are silcd/packet_send.[ch], command.c, server_util.c.
1344 * Implemented the watching by public key in the SILC Client
1345 Library and SILC Client. Affected files are
1346 lib/silcclient/command.c and client_notify.c.
1348 Mon Feb 23 09:30:30 CET 2004 Pekka Riikonen <priikone@silcnet.org>
1350 * Added support for public key watching in server. Affected
1351 files are silcd/server.c, server_internal.h, command.c,
1354 Sun Feb 22 19:03:59 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1356 * Added public key to the SIlcClientEntry. Affected files
1357 are lib/silcclient/silcclient.h, command_reply.c, idlist.c
1359 * Fixed the get_clients_whois reply processing to return
1360 exactly same entries server returned. Makes it possible
1361 to search using attributes. Affected file is
1362 lib/silcclient/idlist.c.
1364 Sat Feb 21 19:21:57 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1366 * Save founder key to SilcChannelEntry. Affected files are
1367 lib/silcclient/silcclient.h, command_reply.c, idlist.c.
1369 Fri Feb 20 20:37:38 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1371 * Call the monitor callback with _CLOSED status from the
1372 silc_client_file_close. Affected files are
1373 lib/silcclient/client_fpt.c, silcclient.h
1375 * Added silc_client_get_clients_whois which resolves using
1376 WHOIS, and supports requested attributes as well.
1377 Affected files are lib/silcclient/silcclient.h, idlist.c.
1379 Fri Feb 19 21:09:22 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1381 * Added support for asking the destination filename where
1382 the downloaded file is saved in the file transfer. Affected
1383 files are lib/silccilent/silcclient.h, client_ftp.c.
1385 Wed Feb 18 02:46:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1387 * Fixed error handling in resuming data processing. Affected
1388 files are lib/silcclient/client_resume.c and client.c.
1390 Tue Feb 17 19:34:30 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1392 * Fixed silc_client_send_private_message to return TRUE correctly.
1393 Affected file lib/silcclient/client_prvmsg.c.
1395 * Added topic to the SilcChannelEntry. Affected files are
1396 lib/silcclient/silcclient.h, command_reply.c, client_notify.c.
1398 Fri Feb 13 14:19:14 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1400 * Use conn->cmd_ident for all silc_client_command_call()s. Affected
1401 file lib/silcclient/command.c
1403 Fri Feb 13 13:53:45 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1405 * Convert all commands to UTF-8 before passing them to the
1406 client library. Still need to convert replies from UTF-8 to
1407 the locale encoding. Affected file
1408 irssi/src/silc/core/silc-cmdqueue.c
1410 Fri Feb 13 13:13:07 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1412 * redirect all silc_client_command_calls through a queueing framework.
1413 This fixes /CYCLE and the annoying "nick change after auto-joining
1414 a channel". Furthermore it defines one central point where
1415 command parameters can be UTF-8-ified. Affected files
1416 irssi/src/silc/core/Makefile, client_ops.c, silc-channels.c,
1417 silc-servers.[ch], silc-core.c, silc-cmdqueue.[ch], silc-lag.c
1419 Fri Feb 13 12:04:41 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1421 * use asynchronous connect() to establish router connections.
1422 Fixes problem when the primary router goes down. Affected files
1423 silcd/server.c, silcd/server_backup.c
1425 Thu Feb 12 20:09:59 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1427 * Added SILC_[32|64]_TO_PTR and SILC_PTR_TO_[32|64] macros.
1428 Fixed various compilation warnings when type casting ints
1429 to pointers or vice versa, of different size. Updates around
1432 Tue Feb 3 23:25:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1434 * Surrogates not allowed in UTF-8 strings, updated decoder.
1435 Affected file lib/silcutil/silcstrutil.c. Added UTF-8
1436 testers in lib/silcutil/tests/ directory.
1438 Wed Jan 14 18:42:44 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1440 * Added SILC_CLIENT_CONN_ERROR_KE, ERROR_AUTH, ERROR_RESUME and
1441 ERROR_TIMEOUT SilcClientConnectionStatus errors. Affected
1442 files are lib/silcclient/silcclient.h, client.c.
1444 Mon Jan 12 13:01:10 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1446 * When resuming a session fails, notify the user that the session
1447 file needs to be removed eventually. Affected files
1448 irssi/src/fe-common/silc/module-formats.[ch],
1449 irssi/src/silc/core/client_ops.c.
1451 Tue Jan 04 12:16:04 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1453 * Added DIST_SUBDIRS symbols to include all subdirs in distributions.
1454 Affected files lib/silcutil/Makefile.am, lib/silcmath/Makefile.am
1456 * Typofix in Irssi::Silc module. Affected file
1457 irssi/src/perl/silc/Silc.xs.
1459 Tue Jan 04 02:43:44 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1461 * Changed the way NOTICE flagged messages are treated. Added support
1462 for notices in queries and signing notices. Affected files
1463 irssi/default.theme; irssi/docs/help/in/notice.in;
1464 irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c;
1465 irssi/src/silc/core/client_ops.c, silc-channels.c, silc-servers.c
1467 * Fixed typo in /ACTION help. Affected file
1468 irssi/docs/help/in/action.in
1470 Mon Jan 03 23:26:38 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1472 * Fixed typo in perl module. Affected file
1473 irssi/src/perl/silc/Server.xs
1475 * Changed the way ACTION flagged messages are treated. Added support
1476 for actions in queries and signing actions. Affected files
1477 irssi/default.theme; irssi/docs/help/in/action.in;
1478 irssi/src/fe-common/silc/module-formats.[ch], fe-silc-messages.c,
1479 fe-silc-queries.c; irssi/src/silc/core/client_ops.c, silc-channels.c,
1482 Mon Jan 03 16:04:29 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1484 * Incorrectly reported error when client had to be resolved from
1485 server in /SMSG. Affected file irssi/src/silc/core/silc-servers.c
1487 Sat Jan 3 16:37:15 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1489 * Fixed whois public key hash table deleting and adding in
1490 detached client case. Affected file silcd/packet_receive.c.
1492 Sat Jan 03 12:15:38 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1494 * Changed filenames of silc/fe module not to collide with filenames
1495 from core/fe. Also seperated public messages printing from
1496 query messages printing. Affected files are all in
1497 irssi/src/fe-common/silc.
1499 Sat Jan 3 12:18:07 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1501 * Fixed the invite process handling during joining to use
1502 correct server name for the client that is matched against
1503 the invite string for the channel. Wrong server name caused
1504 inability to join the channel. Affected file is
1507 Fri Jan 2 23:34:17 EET 2004 Pekka Riikonen <priikone@silcnet.org>
1509 * Fixed the CUMODE channel founder authentication on normal
1510 server to not remove the founder rights on existing founder
1511 before checking that router accepts the mode change. Affected
1512 files are silcd/command.c and silcd/packet_receive.c.
1514 * Remove the server entry correctly when rekey timeouts and
1515 remote router connection on normal server is closed. Fixes
1516 a crash where server uses the freed server entry. Affected
1517 file silcd/server.c.
1519 Fri Jan 02 10:28:15 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1521 * Add /SILCNET [ADD|REMOVE|LIST] command to manage different SILC
1522 networks. This is the first step in solving the bug about
1523 /SERVER ADD -silcnet <silcnet>. Affected files
1524 irssi/docs/in/silcnet.in; irssi/src/fe-common/silc/Makefile.am,
1525 fe-silcnet.c, fe-common-silc.c, module-formats.[ch];
1526 irssi/src/silc/core/silc-chatnets.[ch], silc-core.c, Makefile.am
1528 Thu Jan 01 20:11:32 CET 2004 Jochen Eisinger <jochen@penguin-breeder.org>
1530 * /SMSG and /MMSG now correctly create new queries. Affected files
1531 irssi/src/fe-common/silc/fe-messages.c, irssi/scripts/silc-mime.pl
1533 * Add basic support for SILC protocol specific variables in perl.
1534 Affected files irssi/src/perl/silc/*, irssi/configure.in,
1535 irssi/src/perl/Makefile.am
1537 Wed Dec 31 17:06:55 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1539 * Don't use silc_get_input, it's obviously not reliable. Fixes
1540 issue when the current key expires. Affect file
1541 irssi/src/silc/core/clientutils.c
1543 * Make the session data filename configurable. This makes it
1544 possible to have different session files for different
1545 SILC networks. Affected files irssi/src/silc/core/silc-core.c,
1546 client_ops.[ch], silc-servers.c,
1547 irssi/src/silc/fe-common/silc/module-formats.[ch]
1549 * Use the same set of libtool files for the MPI lib as for the
1550 rest of the toolkit. Affected files lib/silcmath/mpi/config.guess,
1551 config.sub, configure.in, install-sh, missing, mkinstalldirs
1553 Sun Dec 28 21:57:39 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1555 * Fixed server statistics decrementing error to not go to
1556 negative. Affected file silcd/packet_receive.c.
1558 Sat Dec 20 14:42:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1560 * Use silc_server_query_add_error to add error in public key
1561 search error. Added support in send_reply to send errors
1562 without specific argument. Affected file silcd/server_query.c.
1564 * Fixed the WHOIS, IDENTIFY and WHOWAS error handling in SILC
1565 Client for NO_SUCH_NICK. It was against the protocol specs.
1566 Affected file irssi/src/silc/core/client_ops.c.
1568 * Added backwards support for the wrong NO_SUCH_NICK error sending
1569 in server. To be removed in SILC Server 1.0. Both old clients
1570 and clients with fixed error handling now works. Affected file
1571 silcd/server_query.c.
1573 Sat Dec 20 00:44:47 CET 2003 Patrik Weiskircher <pat@icore.at>
1575 * fixed a bug in the whois using attributes function where no
1576 error was sent if no nickname and client id but the attributes were
1577 given to whois. Affected file silcd/server_query.c
1579 Tue Dec 16 21:34:59 CET 2003 Patrik Weiskircher <pat@icore.at>
1581 * remove public key from public key hashtable on detach. Affected
1582 file silcd/packet_receive.c
1584 * free public key hashtable before removing clients on server
1585 shutdown. Affected file silcd/server.c
1587 * remove public key prior deleting client-data on killing a client.
1588 Affected file silcd/server_util.c
1590 Sat Dec 06 21:35:14 CET 2003 Patrik Weiskircher <pat@icore.at>
1592 * Getting the MOTD from other servers works now. Affected
1593 files are silcd/command.c and silcd/command_reply.c
1595 Thu Dec 04 11:33:46 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1597 * Initialize the variable idletag, since it is tested in
1598 silc_core_deinit for its default value. Affected file
1599 irssi/src/silc/core/silc-core.c
1601 Sun Nov 30 19:47:02 CET 2003 Patrik Weiskircher <pat@icore.at>
1603 * Fixed signed channel messages across cells. Affected file
1606 Fri Nov 28 19:13:21 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1608 * Changed the SILC_LOG_* macros to not be empty if SILC_DEBUG
1609 is not defined. They can now be safely used in if-statements
1610 without braces. Affected file lib/silcutil/silclog.h.
1612 * Added the checks for backup closing connection due to error
1613 (local or remote) and thus not allow the resuming to occur
1614 in reconnect. Affected files are silcd/packet_send.c
1617 Tue Nov 25 15:20:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1619 * Help file updates. Affected files in irssi/src/docs/help/in/.
1621 Wed Nov 23 20:51:21 CET 2003 Patrik Weiskircher <pat@icore.at>
1623 * Fixed channel messages across cells. Affected file
1626 Wed Nov 12 11:34:56 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1628 * Fixed file transmission accepting in client library to not
1629 start the negotiation if user hasn't accepted the transfer,
1630 instead create new session for resent transfer. Affected
1631 file lib/silcclient/client_ftp.c.
1633 * Show the session ID in the file transmision list. Remove
1634 session from list that failed to transfer. Switch the current
1635 session automatically after transmission, and in errors, to new
1636 session if other sessions exists in the transfer list. Affected
1637 files are irssi/src/silc/core/silc-servers.c,
1638 irssi/src/fe-common/silc/modfule-formats.c.
1640 Mon Nov 10 14:41:40 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1642 * Fixed MIME header parsing for the hopefully last time. Affected
1643 file lib/silcutil/silcstrutil.c
1645 Mon Nov 10 13:03:46 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1647 * Rewrote the PKCS#1 routines. Added lib/silccrypt/silcpkcs1.[ch].
1649 * The SILC RNG is now gauranteed to return non-zero random
1650 values. Affected files are lib/silccrypt/silcrng.[ch].
1652 Sun Nov 9 20:44:56 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1654 * Fixed nickname formatting when changing only case of the
1655 nickname. Affected file lib/silcclient/idlist.c.
1657 Sun Nov 9 19:33:59 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1659 * Fixed a memory leak and incorrect printing of the "appears as"
1660 message. Affected file irssi/src/silc/core/client_ops.c
1662 Sun Nov 9 17:45:11 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1664 * Added CRT (Chinese Remainder Theorem) supported RSA
1665 private keys and private key operations. This significantly
1666 increases private key operation efficiency. No compatibility
1667 issues with new or old private keys. Affected files are
1668 lib/silccrypt/rsa.[ch], rsa_internal.h and pkcs1.c.
1670 Sat Nov 8 13:08:53 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1672 * Fixed GCC-3.3.2 related compilation warnings from the
1675 Fri Nov 7 23:01:47 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1677 * Removed RC6 from distributions.
1679 Fri Nov 7 19:38:42 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1681 * Added some better comments to lib/silccrypt/silcpkcs.h,
1682 optimized some routines in lib/silccrypt/silcpkcs.c.
1683 Added test_silcpkcs into lib/silccrypt/tests/.
1685 * Fixed silc_rng_global_init to actually init the global RNG
1686 if RNG wasn't provided for it. Affected file is
1687 lib/silccrypt/silrng.c.
1689 Thu Nov 6 21:08:28 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1691 * Added silc_hash_table_find_by_context_ext. Affected files
1692 lib/silcutil/silchashtable.[ch].
1694 * Save the public key on normal server in WHOIS command reply
1695 from attributes, if present, and add it to public key hash
1696 table. Fixes WHOIS resolving by public key on normal server.
1698 Optimized the attributes resolving on normal server to not
1699 resolve if we resolved them already from router.
1701 Affected files are silcd/server_query.c, command_reply.c.
1703 Wed Nov 5 19:36:30 CET 2003 Patrik Weiskircher <pat@icore.at>
1705 * Added support for whois using attributes.
1706 Affected files silcd/command_reply.c, silcd/packet_receive.c,
1707 silcd/server.c, silcd/server_internal.h, silcd/server_query.c,
1710 * Added support for whois using public key attribute to /WHOIS i
1711 client command. Affected files irssi/docs/help/in/whois.in,
1712 irssi/src/silc/core/silc-servers.c, lib/silcclient/command.c
1714 Wed Nov 5 23:37:36 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1716 * Fixed UMODE setting in server when the client has anonymous
1717 mode set. The mode setting was not working. Affected file
1720 Mon Nov 2 11:36:08 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1722 * Fixed some bugs and typos related to sending split messages.
1723 Print notification when sending messages with /MMSG. Affected
1724 files irssi/scripts/silc-mime.pl, irssi/src/silc/core/client_ops.c
1726 Fri Oct 31 12:33:59 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1728 * Optimized the socket referencing in packet routines, client
1729 library and server. Affected files are lib/silccore/silcpacket.c,
1730 lib/silcclient/client.c and silcd/server.c.
1732 * If silc_socket_set_qos is given with NULL arguments the QoS is
1733 reset from the socket. Affected files are
1734 lib/silcutil/silcsockconn.[ch].
1736 Thu Oct 30 21:23:24 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1738 * Add a /LISTKEYS command which lists the locally cached
1739 client and server keys. Affected files
1740 irssi/src/fe-common/module-formats.[ch],
1741 irssi/src/silc/core/silc-{channels,servers}.c
1742 irssi/docs/help/in/listkeys.in
1744 Thu Oct 30 20:23:40 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1746 * Check that packet queue purging was successful. Affected
1747 files lib/silcclient/client.c and silcd/packet_send.c. Related
1748 to MAC failed errors.
1750 * Do not clear the inbuf even if it is empty if QoS was applied
1751 to it. Otherwise the QoS data is cleared and MAC failed error
1752 will occur. Affected file lib/silccore/silcpacket.c.
1754 * Use the rekey period time as rekey protocol timeout value.
1755 If the rekey does not succeed during the rekey period there's
1756 something very wrong, and we most likely end up with wrong keys,
1757 do graceful reconnect then. Affected file silcd/server.c.
1759 * Take reference of the socket in the parser context, as it's
1760 possible to have the parsers in queue after the socket is
1761 disconnected and this may cause crash. Affected files are
1762 lib/silccore/silcpacket.c, lib/silcclient/client.c and
1765 Thu Oct 30 17:01:01 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1767 * Fixed KICK command reply sending, it sent to replies.
1768 Affected file silcd/command.c.
1770 Wed Oct 30 14:06:52 CET 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1772 * Finish the silc-mime.pl script. It now supports MIME type
1773 guessing using magic files, signing data messages, executing
1774 MIME handlers in background. Affected files
1775 irssi/scripts/silc-mime.pl and irssi/docs/help/in/mmsg.in
1777 * Changed MIME signal handler to make things easier for the perl
1778 script. Affected files irssi/src/silc/core/client_ops.c,
1779 silc-servers.c, and irssi/docs/signals.txt
1781 * Cleaned up the silc_mime_parse function and fixed detection
1782 of wrapped header lines. Affected file lib/silcutil/silcstrutil.c
1784 Sun Oct 26 21:19:02 EET 2003 Pekka Riikonen <priikone@silcnet.org>
1786 * Resolve the IP for file transfer listener from the connection
1787 socket. Affected file lib/silcclient/client_ftp.c.
1789 * Accept NULL hostname parameter in the functions
1790 silc_net_check_[local|remote]_by_socket. Do not reverse lookup
1791 if hostname is not wanted.
1793 Fri Oct 24 21:24:12 CEST 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1795 * Fixed race condition between silc_client_init and
1796 my_silc_scheduler. Affected file irssi/src/silc/core/silc-core.c
1798 Fri Oct 24 16:43:40 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1800 * Fixed file transfer connection closing when SIGNOFF for
1801 the client is received from server. Affected file is
1802 lib/silcclient/client_ftp.c.
1804 Tue Oct 21 13:35:57 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
1806 * Check for disconnected socket in QUIT callback. Affected
1807 file silcd/command.c.
1809 Thu Oct 21 09:43:17 CEST 2003 Jochen Eisinger <jochen@penguin-breeder.org>
1811 * Modified the MIME parsing to allow \n and \r\n as delimiters.
1812 Affected files lib/silcutil/silcstrutil.c
1814 * Cleaned up the escape/unescape functions for correctness and
1815 speed. Affected file irssi/src/silc/core/client_ops.c
1817 * Removed handling for data messages with Content-Type: text/*,
1818 moved parsing of MIME headers to the signal handler, added
1819 support for signing and verifying data messages. Affected
1820 files are irssi/docs/signals.txt, irssi/src/silc/core/client_ops.c,
1821 irssi/src/silc/core/silc-{servers,channels}.c
1823 * Added a perl script for handling data messages based on
1824 information read from Mailcap files. New file
1825 irssi/scripts/silc-mime.pl
1827 Mon Oct 20 16:08:22 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1829 * Added new SILC_MESSAGE_FLAG_ACK that can be used to
1830 acknowledge recepetion of a message to the sender. Updated
1833 Sat Oct 18 11:55:33 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1835 * Unregister channel key saving callback when deleting channel.
1836 Affected file lib/silcclient/idlist.c.
1838 * Do not remove the client from channels in NOTIFY_TYPE_SIGNOFF
1839 before calling notify client operation. Affected file is
1840 lib/silcclient/client_notify.c.
1842 * Unregister QoS tasks when deleting the socket connection.
1843 Affected files lib/silcutil/silcsockconn.[ch],
1844 unix/silcunixsockconn.c.
1846 * Implemented latest presence-attrs draft changes. Affected
1847 files lib/silccore/silcattrs.h and
1848 irssi/src/silc/core/silc-queries.c.
1850 Tue Oct 14 18:24:53 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1852 * Save old channel keys in list to allow more rapid change
1853 of channel keys if server for some reason does that. This
1854 avoids loosing so many channel messages due to not having
1855 key to decrypt. Affected file lib/silcclient/silcclient.h,
1856 idlist.c and client_channel.c.
1858 Mon Oct 13 21:37:47 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1860 * Continued backup router tests and fixes. Affected files
1861 silcd/server_backup, server_util.c, server.c. See TODO.
1863 Sun Oct 12 19:58:18 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1865 * Fixed SERVER_SIGNOFF handling in servers. The client
1866 was removed from wrong list thus not removing the client
1867 at all. Affected file silcd/packet_receive.c.
1869 * Do not execute rekey protocol for disabled connections as
1870 it would never go through. Affected file silcd/server.c.
1872 * Added timeout for rekey protocol to catch if the protocol
1873 never executes successfully. Affected files silcd/server.c
1876 Sat Oct 11 15:39:22 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1878 * Abandon packet processing for disconnected sockets. Check
1879 this always after calling packet processing callback.
1880 Affected file lib/silccore/silcpacket.c.
1882 * Fixed double registration disconnection code in server.
1883 Closed wrong connection. Affected file silcd/packet_receive.c.
1885 Fri Oct 10 16:27:12 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1887 * On normal server reconnect to primary during resuming 4
1888 times, then give up. Affected file silcd/server_backup.c.
1890 * If during reconnecting to routers we notice we have router
1891 connection but no primary router set, the server is in desync.
1892 Reconnect to primary to restore network. Affected file
1895 * Assure that only one protocol is exeucting at the same time.
1896 Added checks for all protocols. Affected files are
1897 silcd/server.c and server_backup.c.
1899 Thu Oct 9 20:24:09 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1901 * Check that a string is not already part on invite/ban
1902 string when processing it. Affected file silcd/server_util.c.
1904 Thu Oct 9 12:06:40 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
1906 * Fixed the CUMODE_CHANGE for founder mode changes to comply
1907 with 1.2 version of the protocol. Affected file is
1908 silcd/packet_receive.c.
1910 Wed Oct 8 19:41:15 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1912 * ERR_BAD_PASSWORD now returns the Channel ID of the channel
1913 where the passphrase was given. Affected file is
1916 Wed Oct 8 09:32:12 CEST 2003 Pekka Riikonen <priikone@silcnet.org>
1918 * INVITE and BAN notifys are now delivered from routers to
1919 servers (but not clients) on the channel. Updated specs and
1920 code. Affected files silcd/packet_[send|receive].[ch],
1921 command.c, server.c and server_util.c.
1923 * Implemented INVITE and BAN announcing. Affected files are
1924 silcd/server.[ch], server_util.c.
1926 * Implemented SilcStatus error type argument returning in
1927 command reply error in server. Affected file silcd/command.c.
1929 * Implemented SilcStatus argument returning in comand reply
1930 in client library. The command_reply client operation now
1931 returns error specific arguments as well. Affected files
1932 are lib/silcclient/command_reply.[ch], client_resume.c,
1933 lib/silccore/silcstatus.[ch].
1935 Sun Oct 5 20:22:08 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1937 * Backup router protocol version 1.2 implemented. Testing still
1938 required. Affected files in silcd/server_backup.[ch], server.c,
1939 packet_receive.c and server_internal.h.
1941 Sun Oct 5 12:36:37 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1943 * silc_client_send_[channel|private]_message now return TRUE
1944 or FALSE. Affected file lib/silcclien/client_channel.c and
1947 Thu Oct 2 17:03:09 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1949 * Check for explicit nickname in INVITE and BAN processing
1950 during join as well (and don't expect only wildcards in
1951 invite/ban strings). Affected file silcd/command.c.
1953 * Fixed the INVITE and BAN by public key. The public key saved
1954 is the PK payload (as specified) not the raw data. Affected
1955 file silcd/server_util.c.
1957 Wed Oct 1 20:29:06 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1959 * UTF-8 text message support for actions and notices in SILC
1960 Client. Affected file irssi/src/silc/core/client_ops.c.
1962 * silc_get_username and silc_get_real_name now returns sensible
1963 data on Win32. Patch by Toni Willberg. Affected file is
1964 lib/silcutil/win32/silcwin32util.c.
1966 Sun Aug 24 23:35:19 CEST 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
1968 * Provide a signal handler to send MIME encoded messages and emit
1969 a signal when a MIME encoded message is received. Also document
1970 the signals for usage with the perl interface.
1972 A sample perl script will be supplied at a later point.
1974 Affected files are irssi/docs/signals.txt,
1975 irssi/src/silc/core/client_ops.[ch],
1976 irssi/src/silc/core/silc-{channels,servers}.c
1978 Sun Aug 24 12:58:30 CEST 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
1980 * Use SILC_COMMAND_PING to estimate the round-trip time to the
1981 server. Use this time to display a lag and disconnect when it
1982 exceeds a specified limit.
1984 Affected files are irssi/src/silc/core/silc-{lag,core}.c.
1986 Mon Aug 11 17:14:17 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1988 * Remove the channel auth list in normal server if router
1989 encofrces its list during connecting. Send notify to channel
1990 to remove the mode to remove the list. Affected files are
1991 silcd/server_util.c and silcd/packet_receive.c.
1993 Wed Aug 6 14:52:04 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
1995 * Added support for channel public keys. Updated protocol specs
1996 and implemented it. Affected files are
1997 silcd/command.c, command_reply.c, lib/silcclient/command.c,
1998 lib/silcclient/command_reply.c.
2000 Wed Jul 23 12:17:01 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2002 * Ignore SIGXFSZ and SIGXCPU signals in server. They can
2003 terminate the process on Linux. Affected file silcd/silcd.c.
2005 Mon Jun 2 19:13:27 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2007 * Check for NULL buffer in silc_buffer_clear. Affected file
2008 is lib/silcutil/silcbuffer.h.
2010 * Simplified the backup router protocol by removing the _GLOBAL
2011 types. Updated protocol specs and the code. Affected files
2012 are silcd/server_backup.[ch].
2014 Thu Apr 24 19:50:25 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2016 * Deny '@' and '!' from nicknames since they are reserved
2017 by the SILC_COMMAND_INVITE and SILC_COMMAND_BAN commands.
2018 Updated protocol specs and the code.
2020 Affected files are silcd/server_util.[ch].
2022 Wed Apr 9 18:51:59 EEST 2003 Pekka Riikonen <priikone@silcnet.org>
2024 * Fixed stack overflow in Irssi SILC client. Affected
2025 file irssi/src/silc/core/client_ops.c.
2027 * Check that Host is set in ServerConnection and RouterConnection
2028 in silcd.conf. Affected file silcd/serverconfig.c.
2030 * Fixed crash in server with protocol completion callbacks,
2031 namely rekey and backup resuming protocols. Affected files
2032 are silcd/server_backup.c and silcd/server.c.
2034 * Fixed rekey protocol to not restart if it is started already.
2035 Affected files are lib/silcclient/client.c and
2038 Mon Mar 17 18:35:24 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2040 * Rewrote SilcList, affected file lib/silcutil/silc*list.h.
2042 * Fixed EOF handling in SILC Config, affected file
2043 lib/silcutil/silcconfig.c.
2045 * Fixed buffer overflows in lib/silcutil/silcstrutil.c.
2047 * Fixed RESOLVING flag handling in JOIN notify and other
2048 notifys to handle the resolvings correctly in client library.
2049 Affected file lib/silcclient/client_notify.c.
2051 * Do not send full INVITE and BAN lists in INVITE and BAN
2052 notifys, only the changed information. Affected file
2055 * Fixed INVITE notify sending in INVITE command, send it
2056 only when needed. Affected file silcd/command.c.
2058 * Handle the founder key change properly in CMODE_CHANGE
2059 notify. Bug #122. Affected file silcd/packet_receive.c.
2061 Sun Mar 9 16:29:20 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2063 * Remove the mark for output (mark it only for input) after
2064 purging outgoing queue. Prevents the "Error in select()"
2065 floods. Affected file silcd/packet_send.c.
2067 * Fixed incorrect connection deletion from client library
2068 after calling "connect" client operation. Could cause
2069 crashes for example during reconnect timeouts. Affected
2070 files are lib/silcclient/client.c and
2071 irssi/src/silc/core/client_ops.c.
2073 * Check server private key file permissions before starting
2074 the server. Affected file silcd/serverconfig.c.
2076 Tue Feb 4 22:53:26 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2078 * NULL terminate allocated string in silc_buffer_strformat.
2079 Affected file lib/silcutil/silcbuffmt.c.
2081 * Rewrote the invite/ban list string handling in server to
2082 use SilcBuffer instead. Affected files are silcd/command.c
2083 and silcd/server_util.c.
2085 Mon Feb 3 14:43:52 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2087 * Fixed double free in CMODE command when setting new HMAC
2088 for channel. Affected file silcd/command.c.
2090 * Added couple of missing memset's to zero sensitive memory.
2091 Affected files silcd/command.c, lib/silcclient/command.c.
2093 Sun Jan 26 12:20:30 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2095 * Fixed a double free in INVITE command error handling in
2096 server. Affected file silcd/command.c.
2098 * Added macros SILC_SWAB_[16|32] to swab byte order of
2099 16-bit and 32-bit unsigned integers. Affected file
2100 lib/silcutil/silctypes.h.
2102 * Use the SILC_SWAB_16 instead of htons() in server when
2103 handling ports since the ports in structures are always
2104 in little-endian order (regardless of platform). Affected
2105 file silcd/serverid.c and silcd/server_backup.c.
2107 Tue Jan 21 17:18:04 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2109 * Send DISCONNECT in close admin command in server. Affected
2110 file silcd/command.c.
2112 * Check whether we are already connecting to a remote router
2113 (in addition of checking whether we are already connected)
2114 before creating new connection. Affected file silcd/server.c.
2116 Thu Jan 16 18:47:00 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2118 * Added better compiler and compiler flags checking in
2121 * Check that socket is valid after QoS is applied to data.
2122 Affected file lib/silcutil/unix/silcunixsockconn.c.
2124 * Make sure the socket connecetion is not closed to early
2125 when closing connection in server. Also make sure the
2126 connection is always closed after error in a protocol.
2127 Affected file silcd/server.c.
2129 Wed Jan 15 11:03:36 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2131 * Removed --session and --dummy options from Irssi SILC Client.
2132 -d option is available only if --enable-debug was given.
2133 Affected files are irssi/src/silc/core/silc-core,
2134 irssi/src/core/session.c and irssi/src/fe-text/silc.c.
2136 Tue Jan 14 12:25:09 CET 2003 Pekka Riikonen <priikone@silcnet.org>
2138 * Added silc_buffer_steal to steal the data from the buffer.
2139 Affected file lib/silcutil/silcbuffer.h.
2141 Sat Jan 11 18:16:29 CET 2003 Giovanni Giacobbi <giovanni@giacobbi.net>
2143 * Fixed server crash with double Primary block in config file.
2145 Fixed also various memory leaks around the config file
2146 parser. Affected files lib/silcutil/silcconfig.c,
2147 silcd/serverconfig.c.
2149 * Changed my nickname (Johnny Mnemonic) to my real name, this
2150 means that bugs introduced by him were actually introduced
2153 Tue Jan 7 21:58:53 CET 2003 Jochen Eisinger <c0ffee@penguin-breeder.org>
2155 * Don't display "foo appears as foo\nYou're now known as foo"
2156 messages. Affected file irssi/src/silc/core/client_ops.c
2158 Tue Jan 7 20:08:15 EET 2003 Pekka Riikonen <priikone@silcnet.org>
2160 * Fixed error handling of invalid client entry when calling
2161 commands in server. Fixes a crash. Affected file
2164 Thu Dec 26 14:19:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2166 * Added some sanity checks in server for correctness of the
2167 server configuration. Affected file silcd/serverconfig.c.
2169 Fri Dec 20 10:47:59 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2171 * Prevent endless resolving of user informations in USERS
2172 command by checking the command reply status correctly.
2173 Affected file lib/silcclient/command_reply.c.
2175 Tue Dec 17 10:05:00 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2177 * Fixed file writing on WIN32 to use O_BINARY flag. Affected
2178 file is lib/silcutil/silcfileutil.c. A patch by Matthew
2179 Aldous <Matthew@Aldous.com>.
2181 * Added better implementation using CriticalSection of
2182 SilcMutex on WIN32. A patch by Mikko Lähteenmäki
2183 <mikko.lahteenmaki@pikabaana.net>.
2185 * Added some Winsock WIN32 compatiblity defines into
2186 includes/silcwin32.h.
2188 Mon Dec 16 19:33:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2190 * Fixed double free in async host lookup code. Affected file
2191 lib/silcutil/silcsockconn.c.
2193 * On backup router handle now the SERVER_SIGNOFF from router
2194 for local connected servers too, and close the connections.
2196 Do not process them as normally signing off servers when they
2197 really signoff by sending EOF fe, but always assume that
2198 router sends the SERVER_SIGNOFF.
2200 Affected files silcd/server.c and silcd/packet_receive.c.
2202 * Fixed socket unsetting when closing connections. Affected
2203 files silcd/server.c and silcd/packet_send.c.
2205 * Do not print the nickname in SERVER_SIGNOFF if we do not
2206 have it. Prevents asserts in Irssi core. It is possible we
2207 don't have the nick if it was just being resolved when server
2208 signoff. Affected file irssi/src/silc/core/client_ops.c.
2210 Thu Dec 12 23:22:50 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2212 * Fixed autonick crashbug in client library. Affected file
2213 lib/silcclient/client.c.
2215 * Fixed Unix implementation of SilcMutex to really assert if
2216 the mutex is locked/unlcoked already. Affected file
2217 lib/silcutil/unix/silcunixmutex.c.
2219 * Fixed locking in silc_schedule_uninit. It didn't lock
2220 when dispatching timeout tasks. Affected file is
2221 lib/silcutil/silcschedule.c.
2223 * Changed Win32 implementation of SilcThread to use modern
2224 Win32 interface. Affected file is
2225 lib/silcutil/win32/silcwin32thread.c A patch by Mikko L.
2227 Thu Dec 12 12:06:59 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2229 * Don't print signed messages when sending failed. Affected files
2230 irssi/src/silc/core/silc-[servers.c/commands.h]
2232 * Send adquate signal when founding a channel by joing it. Affect
2233 file irssi/src/silc/core/client_ops.c
2235 Wed Dec 11 21:46:19 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2237 * Fix theme abstracts parsing. Affected files irssi/default.theme,
2238 irssi/src/fe-common/core/themes.c
2240 Wed Dec 11 20:20:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2242 * Fixed close command to use the port correctly when closing
2243 server connections. Affected file silcd/idlist.c.
2245 * Check for NULL outbuf in silc_socket_write. It is possible
2246 that it is NULL is some odd case. Affected files are
2247 lib/silcutil/[unix/win32]/silc[unix/win32]sockconn.c.
2249 * Do not call final protocol callback for backup router
2250 resuming protocol when closing connection. It is closed
2251 by timeout in case of error. Affected file silcd/server.c.
2253 * Backup reconnect to router if backup resuming protocol
2254 failed. Affected file silcd/server_backup.c.
2256 Wed Dec 11 10:01:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2258 * Fixed double free in SKE library error hadling when signature
2259 error occurred. Affected file lib/silcske/silcske.c.
2261 * Save the fingerprint to new SilcClientEntry after changing
2262 nickname. Affected file lib/silcclient/client_notify.c.
2264 * Print SIGNOFF in Irssi SILC client only if the nickname is
2265 known. Prevents asserts in Irssi core. It is possible we
2266 don't have the nick if it was just being resolved when it
2267 quit. Affected file irssi/src/silc/core/client_ops.c.
2269 Tue Dec 10 21:47:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2271 * Fixed double free in invite list adding code when adding
2272 invite strings. Affected file silcd/server_util.c.
2274 Fri Dec 6 17:40:24 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2276 * More log printing during backup router protocol. Affected
2277 file silcd/server_backup.c.
2279 * Removed backwards support for old private key file format.
2280 Affected file lib/silccrypt/silcpkcs.c.
2282 * Removed backwards support for not-so-strict decryption length
2283 check, it's strict now. Affected lib/silccrypt/silccipher.c.
2285 * GETKEY to update the client entrys fingerprint too.
2286 Affected file lib/silcclient/command_reply.c.
2288 * Added --without-libtoolfix for package builders using weird
2289 wrappers around libtool (BSD at least).
2291 Thu Dec 5 22:29:46 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2293 * Fixed backup router bugs: When backup resumes router and
2294 receives a CHANNEL_MESSAGE packet the backup must not act
2295 as router since the packet header decryption would be
2296 different. Also, when relaying packets to channel, do
2297 not re-encrypt packets on backup that came from the primary
2298 since the connection isn't really router-router connection.
2299 Affected files silcd/server.c, silcd/packet_send.c.
2301 * Added checks in encryption/decryption that encryption/decryption
2302 length sent as argument really is multiple by block size. Helps
2303 catching really weird bugs like the above backup router bugs
2304 when packets are being decrypted in wrong way. Affected files
2305 lib/silccore/silcpacket.c, and lib/silccrypt/silccipher.c.
2307 * Fixed padding generation in private key file encryption.
2308 Affected file lib/silccrypt/silcpkcs.c.
2310 Thu Dec 5 16:35:23 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2312 * Added ignore_message_signatures setting which can be used
2313 to ignore signatures in messages. Affected files are
2314 irssi/src/silc/core/client_ops.c, silc-core.c.
2316 * Fixed the libtoolfix to use command line options instead of
2317 environment variables. They didn't work as expected. Now,
2318 the libtool is fully run-time configurable.
2320 Wed Dec 4 21:08:52 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2322 * Verify signature payload for signed messages. Affected files
2323 irssi/src/silc/core/client_ops.h, irssi/src/silc/core/silc-servers.c,
2324 irssi/src/silc/core/silc-core.h
2326 * Display signature verification result in public and private
2327 messages using theme abstracts. See irssi/default.theme for
2328 examples on their usage. Affected files
2329 irssi/default.theme, irssi/src/fe-common/silc/fe-messages.h,
2330 irssi/src/fe-common/silc/module-formats.[ch],
2331 irssi/src/fe-common/silc/fe-common-silc.c,
2332 irssi/src/fe-common/silc/Makefile.am
2333 irssi/src/fe-common/core/fe-messages.[ch]
2335 * Fixed bugs in Irssi's theme parsing. Affected files
2336 irssi/src/fe-common/core/themes.c
2338 Wed Dec 4 18:29:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2340 * Calculate the correct length for signed messages before
2341 encrypting, it must be multiple by block size. Affected
2342 file lib/silccore/silcmessage.c.
2344 * silc_message_signed_get_public_key returns now both
2345 decoded and encoded public key. Affected files are
2346 lib/silccore/silcmessage.[ch].
2348 * Added libtoolfix script that makes the libtool more generic
2349 and configurable in run-time. Now we can specify in run-time
2350 if what kind of libraries we want to create, regardless of
2351 configuration. SIMs are now creates even if --disable-shared
2352 was explicitly given.
2354 Tue Dec 3 23:26:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2356 * Fixed founder key sending in CMODE command in client.
2357 Affected file lib/silcclient/command.c.
2359 * Fixed CUMODE founder authentication in server to not check
2360 for client's public key since it's not supposed to do that.
2361 Affected file silcd/command.c.
2363 Tue Dec 3 12:02:41 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2365 * Set realname and hostname in NICK_REC records. Affected file
2366 irssi/src/silc/core/silc-nicklist.c
2368 Mon Dec 2 20:50:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2370 * Remove 1.0 protocol backwards compat code from client
2373 * Added more reliable check for whether nickname did change
2374 or not, or whether only Client ID changed in NICK_CHANGE
2375 notify. Affected file lib/silcclient/client_notify.c.
2376 Fixes bug in '@' character handling in a nickname.
2378 * Added support for automatically parsing signature from
2379 the message payload. Added new function
2380 silc_message_get_signature to return the payload to
2381 application. Affected files lib/silccore/silcmessage.[ch].
2383 * Changed the private_message and channel_message client
2384 operations to deliver the SilcMessagePayload to the
2385 application too. Application can use it fe. to get the
2386 signature from the message for verification. Affected
2387 file lib/silcclient/silcclient.h, client_channel.c and
2390 * Redefined the signed payload for message payloads.
2391 Updated protocol specs and implemented.
2393 Mon Dec 2 16:28:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2395 * Fixed wrong invite and ban list handling in server command
2396 reply. Affected files are silcd/command_reply.c,
2397 silcd/server_util.[ch].
2399 Sun Dec 1 20:48:17 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2401 * Fixed CMODE setting in server when founder mode was set.
2402 Affected file silcd/command.c. Bug #95.
2404 * Added support to setting specific public key in CMODE in
2405 Irssi SILC client. Affected file lib/silcclient/command.c.
2407 * Added support to use specific public key in CUMODE in
2408 Irssi SILC Client. Affected file lib/silcclient/command.c.
2410 * Added support for inviting and banning by public key in
2411 Irssi SILC client. Affected file lib/silcclient/command.c.
2413 * Fixed fingerprint/babbleprint showing in invite and ban
2414 list command replys. Affected file is
2415 irssi/src/silc/core/client_ops.c.
2417 Sun Dec 1 16:32:03 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2419 * Format CMODE +c and +h to display both the mode and the argument
2421 Sun Dec 1 18:17:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2423 * Added test vectors and test programs for SHA-1, MD5,
2424 HMAC-SHA1 and HMAC-MD5. New tests are located in
2425 lib/silccrypt/tests/. Fixed also argument decoding bug in
2426 MD5 implementation. Affected file lib/silccrypt/md5.c.
2428 * Changed the channel private key and private message key
2429 generation (with static keys) to use SHA1 instead of MD5,
2430 as SHA1 is the mandatory hash function in SILC. Affected
2431 file lib/silcclient/client_[channel/prvmsg].c.
2433 * Changed the private key file encryption to use SHA1 instead
2434 of MD5. Added support for the old generation and added
2435 automatic change of the key (to be removed later). Affected
2436 files lib/silccrypt/silcpkcs.c.
2438 Sat Nov 30 19:07:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2440 * Load only files with .pub suffix in PublicKeyDir. Affected
2441 file silcd/serverconfig.c.
2443 Sat Nov 30 14:29:34 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
2445 * Extended the SILC_SERVER_LOG_ERROR macro to all available logging
2446 channels. Affected files silcd/silcd.c, silcd/server.h.
2448 * Added the config directive PublicKeyDir for the client block.
2449 Affected files doc/exampe_silcd.conf.in, silcd/serverconfig.[ch].
2451 Sat Nov 30 09:30:55 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2453 * Merged Toni's irssi/silc.conf patch.
2455 * ROBODoc cleanup patch to lib/silccrypt/silcpkcs.h by johnny.
2457 * Max alloc tests in allocation routines. Affected file
2458 lib/silcutil/silcmemory.c.
2460 Fri Nov 29 23:44:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2462 * Fixed a typo in resuming code that fixed detach/resume code
2463 in server. Bug #93. Affected file silcd/packet_receive.c.
2465 Thu Nov 28 17:17:11 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2467 * Do reverse lookups for server when /connecting. Affected files
2468 irssi/silc.conf, irssi/src/core/servers.c, irssi/src/core/network.c,
2469 irssi/src/core/net-nonblock.*
2471 Thu Nov 28 16:19:18 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2473 * Added library versioning for shared libraries. Affected
2474 files configure.in.pre and lib/Makefile.am.pre.
2476 Wed Nov 27 21:51:52 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2478 * Display INVITE and BAN lists as specified by SILC 1.2
2480 Wed Nov 27 16:01:11 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2482 * Do not send invite list back unless asked (when sending
2483 no arguments) or when list was modified. Affected file
2486 * Remove client from invite list in KILLED notify and in
2487 KILL command. Affected file silcd/command.c and
2490 * Fixed bugs in invite list handling in INVITE command.
2491 Affected files silcd/command.c and silcd/server_util.c.
2493 * Merged with Irssi 0.8.6.
2495 * Fixed UTF-8 in Irssi SILC Client, setlocale was missing.
2496 Affected file irssi/src/fe-text/silc.c.
2498 Mon Nov 25 18:21:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2500 * The silc_argument_get_[first/next] now return the argument
2501 type to caller. Added silc_argument_payload_encode_one.
2503 Affected files are lib/silccore/silcargument.[ch].
2505 * Added support for the SILC 1.2 INVITE command and new
2506 invite lists to server. Affected files are silcd/command.c,
2507 silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2509 * Added support for the SILC 1.2 BAN command and new
2510 ban lists to server. Affected files are silcd/command.c,
2511 silcd/server_util.[ch] and silcd/packet_[receive/send].[ch].
2513 * Added support to client sending new INVITE command. Affected
2514 file is lib/silcclient/command.c.
2516 * Added support to client sending new BAN command. Affected
2517 file is lib/silcclient/command.c.
2519 * Added support for removing client from invite list when kicked
2520 from channel, as SILC 1.2 dictates. Affected files are
2521 silcd/packet_receive.c and silcd/command.c.
2523 Sun Nov 24 18:26:42 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2525 * If iv argument to silc_cipher_[encrypt/decrypt] is NULL, use
2526 automatically the cipher's internal IV. Affected files
2527 lib/silccrypt/silccipher.[ch].
2529 * Assure the RESUME_CLIENT packet is not sent to twice to
2530 backup router if the detached client was originated from
2531 the backup. Affected file silcd/server.c. Bug #76.
2533 * Changed silc_sim_symname to not allocate memory. Affected
2534 file lib/silcsim/silcsimutil.c.
2536 * Fixed memory leaks with SIMs in server. Affected files
2537 silcd/serverconfig.c, silcd/server.c.
2539 * Fixed channel key distribution after resuming detached
2540 client. Affected files silcd/packet_receive.c.
2542 * Fixed channel's global_user boolean checking after detaching.
2543 Check it after changing the owner of the client not before.
2544 Affected file silcd/packet_receive.c.
2546 * Fixed few double frees from client library. Fixes at least
2547 Bug #81, possibly others too.
2549 * UTF-8 decode topics also in JOIN command reply and TOPIC_SET
2550 notifys in Irssi SILC Client. Affected file is
2551 irssi/src/silc/core/client_ops.c. Bug #82.
2553 * Applied Ville Räsänen's manual page and --mandir bugfix
2554 patch. Affected files are configure.in.pre and Makefile.am.pre.
2557 Fri Nov 22 18:34:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2559 * Added support to backup router protocol for backup to tell
2560 normal server that it cannot use the backup router as primary
2561 because the primary isn't really down. Updated protocol
2564 * Added support for primary router to tell backup router that
2565 resuming is not possible because the backup really isn't primary
2566 in the cell. For example if backup disconnected itself the
2567 resuming is not allowed since the primary really did not
2568 go down. Updated protocol specs.
2570 * Removed MARS from crypto library.
2572 * Defined the CTR mode and Randomized CBC mode in SILC. The
2573 CTR mode is RECOMMENDED now in specification. Defined also
2574 Serpent cipher as optional cipher. Updated the protocol specs.
2576 Thu Nov 21 12:43:28 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2578 * Added support for inviting/banning by IP/MASK, public key,
2579 and explicit Client ID. Redefined the command and notify
2580 types to allow easier forwards support for other methods
2581 of inviting/banning. Updated protocol specs.
2583 * Remove the client from channel's invite lists if the client
2584 is kicked or killed. Updated protocol specs.
2586 * Unified the Channel Message Payload and Private Message
2587 into one Message Payload. Updated protocol specs and
2590 Tue Nov 19 22:30:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2592 * Don't wait for EOF after socket error has occurred, but
2593 close the connection. Affected file is silcd/server.c.
2595 Mon Nov 18 18:58:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2597 * Added support for setting FOUNDER mode on channel with
2598 specific public key which can be set with CMODE command.
2599 Updated protocol specs and implemented in client and server.
2601 * Fixed the Irssi SILC client to correctly shutdown the client
2602 library to avoid memory leaks. Affected files are
2603 irssi/src/silc/core/silc-core.c and silc-servers.c.
2605 * Deprecated the No Reply flag in SKE protocol and introduced
2606 "IV Included" flag which can be used to indicate that the IV
2607 is included in the ciphertext. This makes it possible to use
2608 SILC on unreliable transport, such as UDP which may cause
2609 packet reordering and losses. Updated protocol specs, did
2612 Sun Nov 17 15:50:57 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2614 * Fixed the MPI implementation of silc_mp_sizeinbase to return
2615 < 32 bit values in correct size. Affected file is
2616 lib/silcmath/mp_mpi.c.
2618 Sat Nov 16 13:14:45 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2620 * Fixed the KE Start Payload parsing to check that mandatory
2621 fields are present. Affected file lib/silcske/payload.c.
2623 * Fixed compilation warnigs in Irssi SILC Client. Affected
2624 files are irssi/src/silc/core/silc-query.c. client_ops.c.
2626 Thu Nov 14 19:33:28 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2628 * Print "nick now appears as newnick" and update Irssi's nicklist
2629 when you change your nick to "nick". Closes #62
2631 * Never format your own nick. Closes #63
2633 Thu Nov 14 09:44:54 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2635 * SILC_UMODE_GONE changes are now propagated correctly to the
2636 Irssi client. Closes #54
2638 Tue Nov 12 19:42:18 CET 2002 Jochen Eisinger <c0ffee@penguin-breeder.org>
2640 * Fixed example in /HELP KEY
2642 * Added expando $j which expands to current SILC Client version
2644 Tue Nov 12 19:46:39 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2646 * Fixed public key decoding in crypto library.
2648 * Added better error printing to SKE library.
2650 Tue Nov 12 08:50:12 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2652 * Fixed NICK command to not crash if nickname was not sent.
2654 Mon Nov 11 19:32:00 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2656 * Added Encrypt-Then-MAC order to SILC packet MAC generation.
2657 Deprecated the old Encrypt-And-MAC order. Updated protocol
2658 specs and implemented.
2660 * Added Encrypt-Then-MAC order to Channel Message Payload MAC
2661 generation. Updated specs and implemented.
2663 Sun Nov 10 12:20:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2665 * Added support for rekey before 2^32 sequence number wraps.
2666 Affected files in server and client library.
2668 * Padding must be at least 8 bytes now. Implemented and updated
2671 * Compute maximum padding for authentication packets to make
2672 passphrase approximation attacks impossible. Affected files
2673 in client library and in server.
2675 * Fixed PING command sending in client library and handling in
2676 server. The server ID must be ID Payload, not raw ID data.
2677 Affected files in server and client library.
2679 * Defined that all public keys sent in commands and notify
2680 payloads are actually Public Key Payloads not raw public key
2681 data. Updated protocol specs and implemented.
2683 * Updated protocol version to 1.2. Updated specs and code.
2685 * Added ERR_UNSUPPORTED_PUBLIC_KEY and ERR_OPERATION_ALLOWED
2686 status types. Updated specs and the code.
2688 * Added support for normal client to kill its own entries from
2689 the network. Updated protocol specs and the code.
2691 * Defined the SILC_MESSAGE_FLAG_SIGNED. Updated protocol specs
2692 and added initial implementation.
2694 * Added MAC field to the Private Message Payload to protect
2695 against chosen ciphertext attacks. Updated the protocol specs
2698 * Added idle and signon fields to the ATTRIBUTE_SERVICE
2699 attribute to indicate the user's current idle and signon time
2700 of a service. Updated protocol specs and implemented.
2702 Thu Nov 7 19:21:10 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2704 * Added "do_not_bind" argument to silc_client_file_send what
2705 can be used to not bind locally but assume the file receiver
2706 provides the point of connect. Usefull when sender is behind
2707 NAT device. Affected file lib/silcclient/silcclient.h and
2710 * Added -no-listener option to FILE SEND command in Irssi SILC
2711 client. Affected file irssi/src/silc/core/silc-servers.c.
2712 Renamed FILE RECEIVE to FILE ACCEPT.
2714 * Confirm passphrase for private key encryption in
2715 silc_create_key_pair and silc_change_private_key_passphrase.
2716 Affected files are lib/silcutil/silcapputil.c.
2718 Thu Nov 7 10:05:28 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2720 * Move silc_client_packet_send back to internal, added
2721 silc_client_send_packet, a bit simpler function for application.
2722 Affected files lib/silcclient/silcclient.h, client.c and
2725 * Moved the SilcClientEntry, SilcChannelEntry and
2726 SilcServerEntry to silcclient.h to be public and documented
2727 them for application. Affected files are
2728 lib/silcclient/silcclient.h and idlist.h.
2730 Wed Nov 6 17:18:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2732 * Fixed manual page installation patch by Ville Räsänen.
2733 USERS help page fix patch by Ville Räsänen
2735 * Changed the silc_client_command_call interface to make
2736 the command call simpler for the application. The library
2737 now handles the command line parsing, command finding and
2738 execution. Application only needs to call the function
2739 with the command line. Affected files are
2740 lib/silcclient/silcclient.h, command.[ch].
2742 * Fixed silc_get_input to NULL-terminate the returned input.
2743 Affected file lib/silcutil/silcutil.c.
2745 * Resolve the client's public key in JOIN command if the
2746 founder auth data is being requested but we don't know the
2747 client's public key. Affected file silcd/command.c.
2750 Mon Nov 4 16:02:59 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2752 * Print notify for server opers when backup router comes
2753 online. Affected file silcd/server.c.
2755 * Fixed the INVITE command to send the invite list in
2756 command reply. Affected file silcd/command_reply.c.
2758 * Fixed MOTD command reply sending. Affected file
2761 * UTF-8 decode the topic in TOPIC command reply and LIST
2762 command reply in Irssi SILC client. Affected file is
2763 irssi/src/silc/core/client_ops.c.
2765 Sun Nov 3 17:59:15 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2767 * Fixed the INVITE command to not crash Irssi SILC client
2768 when given without nickname argument. AFfected file
2769 irssi/src/silc/core/client_ops.c.
2771 * Fixed double free in WHOIS query on normal server when
2772 forwarding query to router. Affected file is
2773 silcd/server_query.c.
2775 * Fixed WATCH command reply handling on normal server which
2776 was missing altogether. Affected file silcd/command_reply.c.
2779 Sun Nov 3 00:42:05 EET 2002 Mika Boström <bostik@lut.fi>
2781 * Added man-pages for silc(1), silcd(8) and silcd.conf(5).
2782 Included yodl sources for each of these. Also modified
2783 Makefile.am prototype to install these files to proper
2784 locations. Updated CREDITS. Affected file Makefile.am.pre,
2785 new files doc/*.yo, doc/silc.1, doc/silcd.conf.5,
2788 Sat Nov 2 21:26:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2790 * Added support for encrypted private key files. Now
2791 passphrase must be provided when new key pair is created
2792 (can be empty though), and prompted when loading the
2793 private key. Added support for loading the old-style
2794 non-encrypted private keys as well. Affected files
2795 lib/silccrypt/silcpkcs.[ch], Irssi SILC client and
2798 * Fixed silc_get_input to accept input on all terminals.
2799 Affected file lib/silcutil/silcutil.c.
2801 * Moved the Irssi SILC client key loading and other stuff
2802 to be called after the arguments and UI is initialized.
2803 Affected file irssi/src/silc/core/silc-core.c. Bug #31.
2805 * Added -P option to Irssi SILC client which can be used
2806 to change the passphrase of the private key. Affected
2807 file irssi/src/silc/core/silc-core.c.
2809 * Added silc_change_private_key_passphrase apputil routine
2810 to lib/silcutil/silcapputil.[ch].
2812 Sat Nov 2 12:53:09 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2814 * Fixed connection closing in client library to not crash.
2815 Moved the connection freeing totally to function
2816 silc_clinet_del_connection. Affected file
2817 lib/silcclinet/client.c.
2819 Fri Nov 1 18:57:02 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2821 * Changed includes/silcincludes.h to silcincludes.h.in to
2822 include configuration specific information. The silcdefs.h
2823 is not included in to installation anymore (it's only
2824 compilation time header).
2826 Fri Nov 1 10:30:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2828 * Moved the SilcClient and SilcClientConnection from client.h
2829 to the public lib/silcclient/silcclient.h. Changed the
2832 Thu Oct 31 22:44:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2834 * If version string in silc_clinet_alloc is NULL the library
2835 puts it automatically. Affected file lib/silcclient/client.c.
2837 * Changed the version strings from variables to #define's
2838 in includes/silcversion.h.
2840 Wed Oct 30 16:17:30 CET 2002 Pekka Riikonen <priikone@silcnet.org>
2842 * Added shared library complation support.
2844 Tue Oct 29 21:48:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2846 * Added lib/silcutil/silcapputil.[ch] for application
2847 utility functions. It includes routines for applications'
2848 convenience. Added silc_create_key_pair, silc_show_public_key
2849 and silc_load_key_pair functions.
2851 Tue Oct 29 17:36:44 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2853 * Send RESUME_CLIENT packet from router to backup routers
2854 to in resuming. Affected file silcd/packet_receive.c.
2856 Mon Oct 28 21:23:39 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2858 * In IDENTIFY command parsing, send all other IDs except
2859 Client IDs explicitly to router for resolving on normal
2860 server. Also check that ID received in WHOIS command is
2861 always Client ID, others are not allowed. Affected file
2862 silcd/server_query.c.
2864 * Merged latest changes from irssi.org CVS.
2866 Sun Oct 27 11:44:32 EET 2002 Pekka Riikonen <priikone@silcnet.org>
2868 * Merged c0ffee's /set heartbeat patch to Irssi SILC client.
2869 Affected files irssi/src/silc/core/silc-core, silc-server.c.
2871 * Fixed the heartbeat sending in Irssi SILC client. Moved
2872 the silc_client_packet_send to silcclient.h for application
2873 usage. Affected files lib/silcclient/client_internal.h
2874 lib/silcclient/silcclient.h.
2876 * Fixed a bug in query resolving in server. Used wrong
2877 variable in a for loop and crashed. Affected file is
2878 silcd/server_query.c.
2880 * Server constructs requested attributes only to locally
2881 connected clients. Affected file silcd/server_query.c.
2884 * Fixed a bug when sending resolving from router to server
2885 with requested attributes. The constructed WHOIS command
2886 was incorrect. Affected file silcd/server_query.c.
2889 * Fixed Requested Attributes saving in WHOIS command reply.
2890 The length of the data buffer must be saved too. Affected
2891 file silcd/command_reply.c.
2893 * Update the client entry's servername after detaching is
2894 over. Affected file silcd/packet_receive.c. Bug #37.
2896 * Resolve incomplete client entrys in CUMODE_CHANGE and
2897 CMODE_CHANGE notifys. Affected file is
2898 lib/silcclient/client_notify.c. Bug #42.
2900 Thu Oct 24 12:22:35 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
2902 * Fixed channel key packet processing bug on backup router
2903 during backup resuming protocol. Affected file is
2904 silcd/packet_receive.c.
2906 * Fixed memory leaks in server. Affected files are
2907 silcd/server.c and silcd/packet_receive.c.
2909 * Fixed packet decryption problem when backup router encrypted
2910 channel message with wrong key during backup resuming
2911 protocol. Affected file silcd/packet_send.c.
2913 * ROBODoc documented lib/silccrypt/silccipher.h. A patch by
2914 Toni Willberg (toniw@iki.fi)
2916 * Changed the SilcCipher context to be private. Changed the
2917 silc_cipher_get_iv to just return pointer to the IV. Added
2918 silc_cipher_get_name to return the name of the cipher.
2919 Fixed code all around to support these changes. Affected
2920 files are lib/silccrypt/silccipher.[ch], client library and
2923 Wed Oct 23 19:01:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
2925 * Fixed unaligned access in lib/silccore/silcattrs.c.
2927 * Fixed libtool linking in lib/silcsim/Makefile.am.
2929 * Fixed services attribute printing. Affected files is
2930 irssi/src/silc/core/silc-queries.c.
2932 Wed Oct 23 09:51:04 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
2934 * Fixed a crashbug in incoming server accepting. Affected
2935 file silcd/server.c.
2937 Tue Oct 22 13:02:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
2939 * Added automatically generated index to Toolkit Reference
2942 * Added support for Postscript Toolkit Reference Manual.
2944 Mon Oct 21 21:30:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
2946 * Merged DISCONNECT fix, and autoconn port fix from Irssi
2949 Sun Oct 20 19:54:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
2951 * Added 'send_events' boolean argument to the function
2952 silc_schedule_set_listen_fd which sends the set events to
2953 the application explicitly if set to TRUE. Default action
2954 should be FALSE. Affected file lib/silcutil/silcschedule.[ch],
2955 lib/silcclient/client_internal.h and silcd/server_internal.h.
2957 * Added silc_compare_timeval to determine which time values
2958 is smaller. Affected file lib/silcutil/silcutil.[ch].
2960 * Added sort-of "Quality of Service" (QoS) support to
2961 SilcSocketConnection. Data reception can be controlled with
2962 rate limit per second and/or read data length limit.
2963 Added silc_socket_set_qos. Affected files are
2964 lib/silcutil/silcsockconn.[ch] and unix/silcunixsockconn.c.
2966 * Added the QoS configuration to SILC Server configuration
2967 file. Affected files are silcd/serverconfig.[ch] and
2970 Sun Oct 20 14:12:24 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
2972 * Merged with irssi.org CVS.
2974 * Failed OPER and SILCOPER authentications are now logged.
2975 Affected file silcd/command.c. Bugs #25.
2977 Sat Oct 19 13:32:15 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
2979 * ROBODoc documented lib/silcutil/silcbuffer.h and
2980 lib/silcutil/silcdlist.h. Patch by Ville Räsänen
2981 <ville.rasanen@iki.fi>.
2983 Fri Oct 18 10:51:04 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
2985 * Added support for auto-passphrase authentication from the
2986 config file during connecting which was not implemented
2987 yet. Affected file irssi/src/silc/core/client_ops.c.
2989 * Fixed a bug in authentication protocol failure handling which
2990 was processing wrong callback context. Affected files
2991 are lib/silcclient/client.c and protocol.c.
2993 * Fixed the /ATTR allow off to actually work. Affected file
2994 is irssi/src/silc/core/silc-queries.c.
2996 * Fixed the /ATTR -del to work. Affected file is
2997 irssi/src/silc/core/silc-queries.c.
2999 Thu Oct 17 23:45:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3001 * Fixed string formatting crashbug in lib/silccore/silcattrs.c.
3003 * Fixed mask attribute adding in Irssi SILC client. Affected
3004 file irssi/src/silc/core/silc-queries.c.
3006 Thu Oct 17 16:40:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3008 * Added support for saving the requested attributes in
3009 WHOIS to directory. Affected file is
3010 irssi/src/silc/core/silc-queries.c.
3012 Wed Oct 16 17:40:56 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3014 * Added support for parsing VCard fields that do not have
3015 the TYPE= for types. Affected file lib/silcutil/silcvcard.c.
3017 * Fixed a double free bug in hash table foreach function
3018 if the entry was deleted in the foreach callback. Affected
3019 file lib/silcutil/silchashtable.c.
3021 Tue Oct 15 18:05:24 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3023 * Added silc_attribute_get_verify_data to return the signature
3024 verification data for either user digital signature or
3025 server digital signature in Requested Attributes. Affected
3026 files are lib/silccore/silcattrs.[ch].
3028 * Added silc_vcard_alloc which is used to allocated dynamic
3029 SilcVCard context. The silc_vcard_free now checks whether
3030 the context is dynamically allocated or not. Affected files
3031 are lib/silcutil/silcvcard.[ch].
3033 Mon Oct 14 17:55:44 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3035 * Periodically remove the NOATTR status from client entry
3036 so that the client may take the attributes in use even after
3037 server has resolved them unsuccessfully earlier. Affected
3038 file silcd/server_query.c and idlist.h.
3040 * Moved sha1hash and md5hash from client->internal to
3041 SilcClient for application usage. Affected files are
3042 lib/silcclient/client.h and client_internal.h.
3044 * Fixed attribute encoding and decoding bugs. Affected
3045 files lib/silccore/silcattrs.[ch].
3047 * Added ATTR command to Irssi SILC Client which is used to
3048 manage user's Requested Attributes sending and values for
3049 WHOIS command. Affected files around Irssi SILC client.
3051 Mon Oct 14 14:33:54 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3053 * Added silc_buffer_strformat which can be used to format
3054 strings into a buffer which size is automatically increased.
3055 Affected file lib/silcutil/silcbuffmt.[ch].
3057 * Added implementation of VCard (RFC 2426) which can be used
3058 as part of Requested Attributes in WHOIS command. Affected
3059 file lib/silcutil/silcvcard.[ch].
3061 Fri Oct 11 23:52:17 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3063 * Some strncat -> silc_strncat changes our the core and
3066 * Added SILC_SKE_STATUS_SIGNATURE_ERROR and OUT_OF_MEMORY
3067 errors. Added better error printing to SKE library.
3068 Affected files lib/silcske/silcske.c, silcske_status.h and
3071 * Save the PKCS key length even if only private key is set to
3072 SilcPKCS. Affected file lib/silccrypt/silcpkcs.[ch] and rsa.c.
3074 * Fixed the usage of silc_pkcs_get_key_len since it returns the
3075 length in bits not in bytes. Affected files are
3076 lib/silcske/silcske.c, lib/silccore/silcauth.c and
3077 silcd/server_query.c.
3079 Wed Oct 9 17:22:57 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3081 * Added silc_attribute_payload_encode_data to directly encode
3082 the data into the attributes buffer. Renamed function
3083 silc_attribute_payload_parse_list to silc_attribute_payload_parse.
3084 Affected files are lib/silccore/silcattrs.[ch].
3086 * silc_hash_table_find_foreach calls the foreach function now
3087 once even if the nothing was found with context set to NULL.
3088 Affected file lib/silcutil/silchashtable.[ch].
3090 * Remove the RESOLVING flag from client entry after received
3091 the Requested Attributes from the client. Fixed memory leak
3092 in client entry freeing. Affected files silcd/server_query.c
3095 * Added Requested Attributes support into SILC Client Library.
3096 It is not able to send requested attributes in WHOIS command,
3097 and also receive and process requested attributes. Added
3098 silc_client_attribute_[add|del] and silc_client_attributes_get
3099 functions. Added also `ignore_requested_attributes' to the
3100 SilcClientParams to not use attributes in client. Affected
3101 files are lib/silcclient/command.c, client_attrs.[ch],
3102 silcclient.h, client_internal and client.[ch].
3104 * Changed the silc_client_get_client_by_id to support Requested
3105 Attributes, it takes them as argument now. Affected file
3106 is lib/silcclient/silcclient.h, and idlist.c.
3108 * Added -details option to WHOIS command in Irssi SILC Client
3109 to support the requested attributes. By default it requests
3110 all attributes. Affected file lib/silcclient/command.c and
3111 irssi/doc/help/in/whois.in.
3113 Tue Oct 8 17:58:28 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3115 * Add also SERVICE attribute for server-constructed attribute
3116 data. Also digitally sign the attributes and add
3117 SERVER_DIGITAL_SIGNATURE attribute. Affected file is
3118 silcd/server_query.c.
3120 Mon Oct 7 18:25:35 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3122 * Changed the silc_attribute_payload_encode to support list
3123 of attributes (function may be called several times to add
3124 a new attribute). Removed the silc_attribute_payload_encode_list
3125 function. The encoding function now also automatically encodes
3126 the data, so the caller does not need to do that. Affected
3127 files lib/silccore/silcattrs.[ch].
3129 * Added support for replying on behalf of the user to the
3130 Requested Attributes in WHOIS command in the server. Affected
3131 file silcd/server_query.c.
3133 * SILC_NOT_IMPLEMENTED macro use SILC_LOG_INFO now instead of
3134 SILC_LOG_DEBUG. Affected file lib/silcutil/silclog.h.
3136 Sun Oct 6 16:48:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3138 * Don't swtich to become primary router if we are backup if
3139 decryption error has occurred. Affected file silcd/server.c.
3141 * Fixed a bug in backup router IP address comparison in
3142 silc_server_backup_get.
3144 Save now also the port of the server/router and use that
3145 in comparison as well. Affected file silcd/server_backup.c.
3147 * Normal server now reconnects to backup router automatically
3148 if connection is lost to it. Affected file silcd/server.c.
3150 Thu Sep 26 13:51:02 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3152 * If packet processing fails (like integrity check fails)
3153 the connection is closed now. Affected files are
3154 lib/silccore/silcpacket.c and silcd/server.c.
3156 Mon Sep 23 10:59:39 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3158 * Fixed double free in RSA public key set function
3159 silc_rsa_set_public_key. Affected file lib/silccrypt/rsa.c.
3162 Sun Sep 22 14:54:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3164 * Rewrote WHOIS, WHOWAS and IDENTIFY commands in the server.
3165 Added server_query.[ch] which provides one interface for
3166 querying information using all three commands.
3168 * Changed all "typedef unsigned char" in core library to
3169 "typedef SilcUInt8".
3171 Sat Sep 21 21:36:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3173 * Added silc_strncat into lib/silcutil/silcstrutil.[ch].
3175 * Renamed silc_server_get_client_resolve to
3176 silc_server_query_resolve and moved to server_query.[ch].
3178 Wed Sep 18 18:28:04 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3180 * Resumed client packet handling from server put the resumed
3181 client on wrong list on router and caused the client not
3182 be present on the network anymore. Now fixed to put the
3183 client to correct list. Affected file silcd/packet_receive.c.
3185 Wed Sep 18 15:13:48 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3187 * Various cleanup in error message output in config parsing code
3188 and in server init code. Fixed error log files containing
3189 too many newlines ('\n') in some situations. Affected files are
3190 silcd/serverconfig.c, silcd/silcd.c, and silcd/server.c.
3192 Wed Sep 18 10:51:23 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3194 * Use the reverse lookupped hostname in client internals
3195 instead of one user provided us as remote server name.
3196 Affected file lib/silcclient/client.c.
3198 Mon Sep 16 12:02:54 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3200 * Added 'app_context' to silc_schedule_init. It is an
3201 application specific context that is delivered to application
3202 in task callback functions. Affected files are
3203 lib/silcutil/silcutil.[ch].
3205 * The hb_context in SilcSocketConnection is not freed
3206 automatically anymore (application must free it). Freeing
3207 it automatic is inconsistent. Affected files are
3208 lib/silcutil/silcsockconn.[ch].
3210 Sun Sep 15 22:16:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3212 * Added support for removing explicitly added client connections
3213 in rehash and closing the client connections if they were
3214 unconfigured in the rehash. Affected file silcd/server.c.
3216 * Added support for aborting automatically pending commands
3217 that never receives the reply (to avoid memory leaks).
3218 Added also silc_server_command_pending_timed to set the
3219 specific timeout for pending command. Affected files are
3220 silcd/command[_reply].[ch].
3222 * Added SILC_STATUS_ERR_TIMEDOUT status. Updated protocol
3223 specs and lib/silccore/silcstatus.h.
3225 Sun Sep 15 12:25:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3227 * Changed the silc_get_time to accept time value as argument
3228 or if zero is sent return current local time. Affected
3229 file lib/silcutil/silcutil.[ch].
3231 * Added STATS command to client library and Irssi SILC client.
3232 Patch provided by Ville Räsänen <ville.rasanen@iki.fi>.
3234 Wed Sep 11 09:22:00 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3236 * Assure that channel key is set before sending it. May
3237 crash server otherwise. Affected file silcd/packet_send.c.
3239 Tue Sep 10 09:50:08 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3241 * Assure that endless loop cannot happen with detached client
3242 resolving on normal server. Added idlist status
3243 SILC_IDLIST_STATUS_RESUME_RES. Affected files are
3244 silcd/idlist.h and silcd/packet_receive.c.
3246 Mon Sep 9 12:18:18 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3248 * Incoming file transfer request cannot use same session as
3249 the sending session. This can happen when sending file to
3250 yourself. Crashed the client on quit. Affected file
3251 lib/silcclient/client_ftp.c. Bug #24.
3253 Sun Sep 8 18:39:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3255 * Implemented the draft-riikonen-precense-attrs draft and
3256 the Attribute Payload into the lib/silccore/silcattrs.[ch].
3258 Sun Sep 8 13:13:44 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3260 * Distribute the SERVER_SIGNOFF notify also to local backup
3261 routers from the primary router. The backup router may not
3262 have the signing of local server directly connected and need
3263 to know about the signoff. Affected file silcd/server_util.c.
3265 * Use the primary router as the origin of the locally connected
3266 server when it is disconnecting from the backup router since
3267 that's where it really is coming from. Now the clients from
3268 the disconnecting server are removed correctly and "shadow"
3269 clients are not left to the backup router. Affected file
3272 Sat Sep 7 22:26:50 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3274 * If normal server is standalone and found existing but disabled
3275 channel, do not re-create the channel since it creates
3276 duplicate same channels. Affected file silcd/server.c.
3278 * Added anonymous client connections support to server. New
3279 "anonymous" configuration option to ConnectionParams section
3280 added. If set to true, the username and hostname information
3281 of the client will be scrambled and anonymous user mode is
3282 set automatically to the user. Affected files are
3283 silcd/serverconfig.[ch], silcd/packet_receive.c and server.c.
3285 Sat Sep 7 16:02:09 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3287 * In JOIN notify handling, mark that the cache entry of the
3288 client cannot be expired. Can cause crashes on normal
3289 server (asserts client->channels). Affected file is
3290 silcd/packet_receive.c.
3292 * From now on distribution versions are used as protocol versions
3293 instead of by default using the Toolkit base version as protocol
3294 version. Affected file prepare.
3296 * Do not set the locally resolved hostname for local client
3297 entry but take what server sends. This way the real hostname
3298 is showed in WHOIS for yourself. Affected file is
3299 lib/silcclient/idlist.c and lib/silcclient/client.c.
3301 * Resolve local info with IDENTIFY when connecting to server.y
3303 Sat Sep 7 14:22:43 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3305 * Rewritten check for POSIX threads. Use --with-pthreads[=DIR]
3306 for implied search (not needed on platforms which has native
3307 pthreads library). Use --without-pthreads to disable threads.
3308 Affected file is configure.in.pre
3310 * Fixed --with-iconv on platforms which need to bypass (broken)
3311 native iconv(). Affected file is configure.in.pre
3313 Sat Sep 7 15:08:13 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3315 * Moved -C option parsing in Irssi SILC client at same time
3316 as other options. The UI was initialized earlier and caused
3317 problems on command line. Bug #16. Affected file is
3318 irssi/src/silc/core/silc-core.c.
3320 Mon Sep 2 23:00:30 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3322 * Added global variable silc_log_timestamp that tells silclog
3323 wether to print or not the timestamp in the logging files.
3324 Affected file lib/silcutil/silclog.[ch].
3326 * Added silcd configuration option Timestamp in the Logging
3327 section. Affected file silcd/serverconfig.[ch],
3328 doc/example_silcd.conf.in.
3330 Fri Aug 30 08:57:33 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3332 * Fixed fingerprint checking to check for entirely empty
3333 fingerprint instead of two first bytes when determining
3334 if it is set. Bug #18. Affected file silcd/command.c.
3336 * Fixed duplicate PKCS name registering to not allow it.
3337 Bugs #17. Affected file lib/silccrypt/silcpkcs.c.
3339 Sun Aug 25 08:02:04 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3341 * Conditionalize non-gcc compiler optimizations for various
3342 platforms, enable those commented out. Cleanups.
3343 Affected file lib/silcmath/mpi/configure.in
3345 Sat Aug 24 15:11:32 EEST 2002 Timo Sirainen <tss@iki.fi>
3347 * silc_rng_exec_command() left zombie processes if command
3348 didn't generate any output. Affected file
3349 lib/silccrypt/silcrng.c
3351 Fri Aug 23 22:05:44 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3353 * Rewrote iconv checking, introduce --with-iconv for systems
3354 which rely on libiconv. Check if iconv() provided by libc
3355 is good enough, otherwise demand libiconv. Affected file
3358 Fri Aug 23 07:10:52 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3360 * Search for ldopen() also in libc. This enables SIM support
3361 on *BSD systems. Based on patch from Alex Zepeda. Affected
3362 file configure.in.pre
3364 Sun Aug 18 04:44:30 CEST 2002 Lubomir Sedlacik <salo@silcnet.org>
3366 * Don't call AM_CONDITIONAL conditonally for SILC_THREADS.
3367 This fixes prepare on *BSD systems. Affected file
3370 Sun Aug 4 15:55:40 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3372 * More fixed for not having purge timeout for global clients
3373 that are on channel. Affected files silcd/command_reply.c
3376 * Fixed the rekey protocol to work with backup router connections.
3377 Rekey packets are now allowed on disabled connections as
3378 well. Affected files silcd/packet_send.c and server.c.
3380 * Do not switch to be as backup router when shutting down and
3381 closing the primary connection. Affected file silcd/server.c.
3383 * Fixed memory leaks in backup router deleting. Added
3384 silc_server_backup_free to free all data during shutdown of
3385 server. Affected files silcd/server_backup.[ch].
3387 Sun Jul 14 21:33:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3389 * Do not process commands if the sock->user_data is NULL.
3390 Affected file silcd/command.c.
3392 Tue Jul 9 19:03:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3394 * Fixed buffer overflow and security problems (loosing bits
3395 in CFB encryption) in SILC RNG. Problems reported by
3396 Markku-Juhani O. Saarinen <mjos@saturn.tcs.hut.fi>.
3398 Sun Jul 7 13:10:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3400 * Added yet more checks that client is not expired on global
3401 list if it is on channels. Affected file is
3402 silcd/command_reply.c.
3404 Sat Jul 6 11:45:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3406 * Merged c0ffee's MIME signal patch which adds support for
3407 sending also MIME messages in Irssi SILC Client, and handling
3408 received MIME messages in a signal (and perhaps doing something
3409 to non-textual MIME messages).
3411 Sun Jun 30 01:30:22 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3413 * Fixed pending command deletion in server and client library
3414 to check the whole list instead of breaking after first found.
3415 The affected files are silcd/command.[ch] and
3416 lib/silcclient/command.[ch].
3418 Sat Jun 29 17:40:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3420 * Return NO_SUCH_CHANNEL error in USERS for channel that is
3421 secret or private, otherwise it's possible to find out
3422 whether a secret channel exists or not. Affected file
3425 * If CMODE change fails during the mode setting, assure that
3426 the old mode mask is set for the channel back. Affected
3427 file silcd/command.c.
3429 * Fixed passphrase saving on +a channel on normal server
3430 after successful JOIN command. Affected file silcd/command.c.
3432 Fri Jun 28 11:53:25 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3434 * Remove server/router operator privileges in DETACH command,
3435 since it's possible to resume to server where these
3436 privileges would not be allowed for the client. Affected
3437 file silcd/command.c.
3439 * Do not set to wait for backup in rehash of the server.
3440 Affected file silcd/server.c.
3442 * Do not check listener sockets when counting how many
3443 socket connections we have. Affected file is
3444 silcd/server_util.c.
3446 * Do not announce disconnected clients that are remaining
3447 in history (for WHOWAS). This is because SIGNOFF notify
3448 for these has been sent earlier already. Affected file
3451 Thu Jun 27 20:07:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3453 * Buffer overflow with CUMODE command's mode->mode character
3454 conversion. Reported by Ville Räsänen. Affected file
3455 lib/silcutil/silcutil.c.
3457 Thu Jun 27 16:54:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3459 * Allow heartbeat packets to go disabled connections anyway.
3460 Affected files silcd/server.c and silcd/packet_send.c.
3462 * Do not broadcast New Channel packets with List flag set
3463 in the packet to backup routers. The router must check
3464 for the correctness of the packets before sending them.
3465 It is possible that router will have enforce Channel ID
3466 change and this would cause desync in the backup router.
3467 Affected file silcd/packet_receive.c.
3469 * Remove SILC_PACKET_FLAG_LIST from the temp packets that
3470 are handled in list parsing. They are not list packets
3471 anymore. Affected file silcd/packet_receive.c.
3473 Thu Jun 27 11:27:07 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3475 * Stop waiting for backup router through the timeout, not
3476 directly after backup router has arrived. Affected file
3479 * Do not re-create channel keys and send them when removing
3480 clients in server shutdown. Affected files are
3481 silcd/server_internal.h and silcd/server_util.c.
3483 * Notify distribution to backup routers was missing from
3484 the silc_server_send_notify_dest function which caused
3485 desyncing problems with backup router. Affected file is
3486 silcd/packet_send.c.
3488 * The client's channel removing was working wrong on
3489 backup router. It assumed that it doesn't know global
3490 information but backup router does know. For this reason
3491 it could remove channel when it wasn't supposed to do that.
3492 Affected file silcd/server.c and silcd/server_util.c.
3494 Wed Jun 26 15:14:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3496 * Stop for a couple seconds after badkup router has become
3497 primary router. Affected file silcd/server.c.
3499 * Added silc_server_remove_servers_by_server, which is used
3500 to remove servers originated from some other server. Also
3501 clients of those servers can be removed too. Affected file
3502 silcd/server_util.[ch].
3504 * When removing clients after a server has signed of remove
3505 also all servers behind that server (unless they are known
3506 to be available locally), and send SERVER_SIGNOFF for each
3507 of the server separately. Also the signed off clients are
3508 sent now separately per signed off server. The affected files
3509 are silcd/server.c and silcd/server_util.[ch].
3511 * All servers added with silc_idlist_add_server must always
3512 have both "router" and "connection" pointers set. Otherwise,
3513 bad server entries may be left around in the cache.
3514 Affected file silcd/command_reply.c.
3516 * Do not create the channel key in NEW_CHANNEL packet
3517 processing if the channel is empty. Affected file
3518 silcd/packet_receive.c.
3520 * Completed backup router support for standalone routers.
3521 Supports also servers in the cell that do not use the backup
3524 Wed Jun 26 10:38:11 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3526 * Fixed a bug in silc_string_regexify which did not add '^'
3527 at the start of each string, and thus the matching was
3528 not explicit. For example ban list iikone@*!*@* would
3529 match also "priikone", which is wrong, it would have to be
3530 *iikone@*!*@* to match also "priikone". Affected
3531 file lib/silcutil/unix/silcunixutil.c.
3533 Tue Jun 25 18:47:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3535 * Enable all local server connections before updating client
3536 caches when we've become backup router. Otherwise, signoff
3537 packets may not reach the clients. Affected files are
3538 silcd/server.c and silcd/server_util.[ch].
3540 * Fixed a bug in version string parsing which could crash
3541 the program with specially formatted version string.
3542 Bug reported and patch provided by Ville Räsänen. Affected
3543 file lib/silcutil/silcutil.c.
3545 * Handle the disconnection immediately when DISCONNECT
3546 packet is received in server. Affected file silcd/server.c.
3548 * Primary router now waits a short time (10 seconds) for
3549 backup router connection before accepting any other
3550 connection (except local). Affected file silcd/server.c,
3553 * Fixed a crash in client libary in NICK_CHANGE notify when
3554 NICK_CHANGE arrived for client entry we are resolving
3555 currently. Affected file lib/silcclient/client_notify.c.
3557 * Call the sconn->callback completion even if error had
3558 occurred. Start reconnecting always if connection to
3559 primary router fails during backup router protocol.
3560 Affected files silcd/server.c and server_backup.c.
3562 Mon Jun 24 17:47:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3564 * Added functions silc_server_send_opers and
3565 silc_server_send_opers_notify to send packets stricly
3566 to operators. Added macro SILC_SERVER_SEND_OPERS macro
3567 to send variable argument notify to operators.
3568 Affected files silcd/packet_send.[ch] and silcd/server.h.
3570 * Removed UMODE rights checking with UMODE_CHANGE notify.
3571 Affected file silcd/packet_receive.c.
3573 * Server/router operator now receives notify when network
3574 switches to backup router and when it resumes the use of
3575 primary router. Affected file silcd/server.c and
3576 silcd/server_backup.c.
3578 * Fixed the updating of client information after backup
3579 resuming protocol is over; update all except local clients
3580 to the new primary router. The affected file is
3581 silcd/server_util.c.
3583 * Added support for closing active connections in rehash
3584 that were unconfigured by the user. Supports currently
3585 closing server and router connections. Affected file
3588 * Rewrote some SILC_LOG_DEBUG's in silcd/server_backup.c.
3590 Sun Jun 23 17:32:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3592 * Don't do SILC_STRING_LANGUAGE encoding if the outbuffer
3593 is NULL since seems that on some platforms NULL is allowed
3594 and on some it's not. Fallback encoding is used instead.
3595 Affected file lib/silcutil/silcstrutil.c.
3597 * Fixed statistics updating for incoming server connection
3598 which could cause problems when re-connecting. Affected
3599 file silcd/server.c.
3601 * Preliminary backup router support for standalone router
3602 added. Affected files in silcd/.
3604 * Mark server connections in backup router disabled before
3605 and after backup protocol. Affected file is
3606 silcd/server_backup.c.
3608 * Added support for reconnecting to remote server connection
3609 even if the protocol fails, and if the configuration wants
3610 us to keep trying to connect anyway.
3612 Server connection is not allowed to backup router if
3613 backup router does not have connection to primary router yet.
3615 Affected file is silcd/server.c.
3617 Sat Jun 22 21:34:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3619 * Added silc_client_udpate_server function to update changed
3620 server info. Affected file lib/silcclient/idlist.[ch].
3622 * Added check for server entries that are being resolved when
3623 notify is received. If being resolved, handle the received
3624 notify only after it's resolved so that all notifys are
3625 handled in same order as received from the server.
3627 Added similar resolver check to channel entries. Every
3628 notify that cause resolving of any information that affects
3629 channel entry marks the channel entry in waiting state.
3630 After whatever resolving is over the waiters are signalled
3631 and only then the notifys are handled in the same order
3632 as delivered from the server.
3634 Affected files are lib/silcclient/idlist.[ch], and
3637 * Fixed KILLED notify handling in normal server. Affected
3638 file silcd/packet_receive.c.
3640 * Added SILC_IDLIST_STATUS_LOCAL which indicates that entry
3641 is locally connected, or was locally connected (but may
3642 be detached and connection is not active). Added also
3643 SILC_IS_LOCAL for checking this status. Affected files
3644 silcd/idlist.h, silcd/packet_receive.c, silcd/server_util.c,
3645 silcd/server.c and silcd/server_internal.h.
3647 Sat Jun 22 17:06:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3649 * Don't send or handle TOPIC_SET if topic is already set and
3650 is same as being set. Affected files silcd/command.c and
3651 silcd/packet_receive.c.
3653 * Fixed CMODE change rights checking to work correctly when
3654 removing modes by operator. Affected file is
3655 silcd/server_util.c.
3657 * Fixed some handling with New Channel packet in router and
3658 fixed some CMODE_CHANGE notify handling in server and router.
3659 Affected file is silcd/packet_receive.c.
3661 * Changed "disconnect" client operation to include the
3662 reason of the disconnection and optional disconnection
3663 message. Affected file lib/silcclient/silcclient.h.
3665 * Made the compilation of lib/contrib/ stuff conditional.
3666 Affected files configure.in.pre, lib/contrib/Makefile.am.
3668 Sat Jun 22 12:49:21 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3670 * All CMODE_CHANGE and CUMODE_CHANGE notifys are now sent back
3671 to the sender of the notify too, to avoid situation where two
3672 notifys are in the network at the same time going to oppsite
3673 directions. Affected file silcd/packet_receice.c.
3675 Fri Jun 21 10:00:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3677 * Delete the client from channel even if the cilent->id is
3678 NULL. It was possible that client was deleted without
3679 removing from channels (theoretically at least). Affected
3680 file silcd/server.c and silcd/server_util.c.
3682 * Free the client data too when resuming is not successful.
3683 Affected file silcd/packet_receive.c.
3685 * Merged some code from c0ffee's silc-plugin. Affected files
3686 irssi/src/silc/core/silc-channels.c and silc-expandos.c.
3688 * Added SILC_PRIMARY_ROUTE and SILC_BROADXAST macros to
3689 silcd/server_internal.h. SILC_PRIMARY_ROUTE Returns pointer
3690 to the primary router connection, the other one returns
3691 TRUE if packet must be broadcasted to network.
3693 * All notifys that are destined to primary router (to network)
3694 are now automatically sent to backup routers even if the
3695 router is standalone (and has backup router). Affected files
3698 * Added --without-irssi and --without-silcd configuration
3699 options for disabling the compilation of these applications.
3700 Affected file configure.in.pre and prepare.
3702 Thu Jun 20 13:48:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3704 * Implemented SILC_STRING_BMP and SILC_STRING_UNIVERSAL for
3705 UTF-8 encoding and decoding. Added also new encodings
3706 SILC_STRING_BMP_LSB and SILC_STRING_UNIVERSAL_LSB.
3708 Added also SILC_STRING_LANGUAGE which is language and charset
3709 specific encoder and decoer for those platforms that support
3710 iconv(). It can convert the UTF-8 to and from the locale
3711 specific character set.
3713 Affected file lib/silcutil/silcstrutil.[ch].
3715 * Added macro SILC_NOT_IMPLEMENTED to lib/silcutil/silclog.h.
3717 * Added function silc_get_command_name to the file
3718 lib/silcutil/silcutil.[ch].
3720 * Improved the server debug output a bit. Affected files are
3723 Wed Jun 19 17:46:31 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3725 * Save the channel passphrase when received succesful JOIN
3726 command reply from router, on normal server. Otherwise
3727 joinig +a channels from normal server is not possible.
3728 Affected file silcd/command.c.
3730 * Fixed a bug in TOPIC_SET notify handling. The notifier
3731 may be other than client too, like server or channel.
3732 It expected it to always be only client and ignored the
3733 notify. Affected file silcd/packet_recieve.c.
3735 * Removed some (unnecessary) debug printing from
3736 lib/silccore/silcid.c and lib/silccore/silcargument.c.
3738 * Do not force CMODE_CHANGE when server is announcing new
3741 Router announces stuff only after server reannounces channel
3742 after CHANNEL_CHANGE notify.
3744 These fixes optimizes the announcing procedure, and perhaps
3745 fixes some problems too. Affected file silcd/packet_receive.c.
3747 * Fixed SERVER_SIGNOFF sending to local clients. It was
3748 totally broken and sent the notify to all local clients,
3749 instead of only to those that was on same channel as the
3750 signing off clients. Affected file silcd/server_util.c.
3752 * Added -D option to server. It can be used to give debug
3753 level. The levels are from 0 - 99, and are predefined for
3754 smooth server debugging. (see silcd.c for the predefined
3755 levels). Affected file silcd/server.c.
3757 Wed Jun 19 16:01:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3759 * Fixed a bug in Irssi SILC client to close the connection
3760 properly when disconnecting from server. Affected file
3761 irssi/src/silc/core/client_ops.c.
3763 Tue Jun 18 17:14:52 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3765 * When authenticating as founder during JOIN command, check
3766 that the one authenticating becomes the only founder on the
3767 channel. Affected file silcd/command.c.
3769 * Better checking for founder mode setting when CUMODE_CHANGE
3770 notify is received. Affected file silcd/packet_receive.c.
3772 * Close all connections when shutting down the server by sending
3773 DISCONNECT packet. Close all listeners too when shutting
3774 down the server. Affected file silcd/server.c.
3776 * Handle DISCONNECT packet correctly in client library by
3777 calling the "disconnect" client operation. Affected file
3778 lib/silcclient/client.c.
3780 * Handle local errors correctly during resuming. Affected
3781 file lib/silcclient/client.c.
3783 Tue Jun 18 10:26:27 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3785 * The log file is not dupped internally anymore in
3786 lib/silcutil/silclog.c. Fixed memory leaks too.
3788 * The scheduler now dispatches all pending timeout tasks
3789 when it is uninitialized with silc_schedule_uninit.
3790 Affected file lib/silcutil/silcschedule.c.
3792 Mon Jun 17 21:30:55 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3794 * Added --enable-stack-trace option to configure. Added
3795 memory allocation stack trace support. Added files
3796 lib/silcutil/stacktrace.[ch]. Affected files are
3797 lib/silcutil/silcmemory.[ch].
3799 * Fixed memory leaks from libraries and server. Affected
3800 files around the tree.
3802 * Reverted back a fix made to CUMODE which broke it.
3803 Affected file silcd/command.c.
3805 Sun Jun 16 11:49:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3807 * Added SILC_MESSAGE_FLAG_UTF8 to the protocol specs and the
3808 core library, and implemented it. All textual messages SHOULD
3809 use this flag and the message MUST be UTF-8 encoded.
3810 All text messages sent by Irssi SILC client are now UTF-8
3811 encoded (regardless whether the terminal supports UTF-8 or not).
3812 Affected files are lib/silccore/silcchannel.h,
3813 irssi/src/silc/core/silc-servers.c, silc-channels.c and
3816 Sat Jun 15 18:23:39 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3818 * Added lots of new statistics updating that was missing from
3819 the server and router code. Affected files in silcd/.
3821 * Sending SIGUSR1 signal to server now dumps the current
3822 server statistics into /tmp directory. Affected file is
3825 * ROBODoc documented the lib/silccrypt/silchash.h. Improved
3826 the SILC Hash Interface also. Added new functions
3827 silc_hash_get_name, silc_hash_init, silc_hash_update and
3828 silc_hash_final. Affected file lib/silccrypt/silchash.c.
3830 Sat Jun 15 12:09:14 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3832 * Added some better info printing for client during connecting.
3833 Affected file silcd/server_util.c.
3835 * Implemented the SILC_CHANNEL_UMODE_QUIET mode that can be used
3836 to silence a user on a channel. Affected files are
3837 lib/silcclient/client_channel.c, irssi/src/silc/core/client_ops.c,
3838 irssi/src/fe-common/silc/module-formats.[ch], silcd/command.c
3839 and silcd/packet_receive.c.
3841 * Fixed a fatal bug in handling of malformed command payload.
3842 Affected file silcd/command.c.
3844 * Fixed a double free when announcing channel users to router.
3845 Affected file silcd/server.c.
3847 * After successful authentication to channel founder mode, check
3848 that there isn't anyone else with founder mode on the channel.
3849 The one that authenticated will become founder and anyone
3850 else is demoted. Affected file silcd/command.c.
3852 * Added error printing of any error that has occurred during
3853 any command in client library. Affected file is
3854 irssi/src/silc/core/client_ops.c.
3856 * Removed some error printing from the client library and left
3857 it for the application to worry (from the error status it
3858 receives in 'command' client operation. Affected file is
3859 lib/silcclient/command.c.
3861 Fri Jun 14 22:59:02 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3863 * Added new status types KEY_AGREEMENT_ALREADY_STARTED and
3864 KEY_AGREEMENT_SELF_DENIED to lib/silcclient/silcclient.h.
3865 Starting key agreement with itself is denied. Affected file
3866 is lib/silcclient/client_keyagr.c.
3868 * Fixed some error checkings from the SFTP library which caused
3869 misbehaviour. Affected files are lib/silcsftp/sftp_client.c
3870 and lib/silcsftp/sftp_util.c.
3872 * Added new "debug" and "debug_string" settings to Irssi SILC
3873 client which can be used to print runtime debugging on the
3874 Irssi's screen. Available when compiled with --enable-debug
3875 option. Affected file irssi/src/silc/core/silc-core.c.
3877 Tue Jun 11 16:36:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
3879 * Fixed a missing variadic parameter in a function call that
3880 caused server crash when a non-allowed connection arrived.
3881 Reported by Richard Becker. Affected file silcd/server.c.
3883 Mon Jun 10 16:29:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3885 * Added WATCH list sending to backup routers from router.
3886 The WATCH command is sent by the router to the backup
3887 router. Affected file silcd/command.c.
3889 * Mark the backup_router flag for RouterConnection entry
3890 if the backup router stuff is defined in the config file.
3891 Affected file silcd/serverconfig.c.
3893 * Fixed some backup data sending around the code to work better
3894 if the router is standalone router. Not all places were fixed.
3895 Affected file silcd/packet_receive.c, silcd/packet_send.c,
3898 * Fixed the router connecting when connecting to multiple
3899 routers. It ignored every other router except the first
3900 one. Affected file silcd/server.c.
3902 Mon Jun 10 09:28:21 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3904 * Made the private key generation after expiration optional.
3905 If not created after expiration the old key will re-expire
3906 at a later time (and thus key pair is not necessary to
3907 change). Affected file irssi/src/silc/core/clientutil.c.
3909 Sun Jun 9 18:58:25 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3911 * The length arguments in bind() and connect() were wrong
3912 and fixed now to used SIZEOF_SOCKADDR in the
3913 lib/silcutil/unix/silcunixutil.c.
3915 Tue Jun 4 18:36:05 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3917 * Fixed detach timeout handling to use Client ID and not
3918 the actual client entry which may be freed in the callback.
3919 Affected file silcd/command.c.
3921 Thu May 30 15:53:45 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3923 * Merged c0ffee's multiple interface support patch.
3924 Affected files in silcd/.
3926 Wed May 29 18:08:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3928 * Cleanup keys properly. Affected file is
3929 irssi/src/silc/core/clientutil.c.
3931 Tue May 28 20:11:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3933 * Display the user mode on the status bar. Affected file
3934 irssi/src/silc/core/silc-expandos.c.
3936 Tue May 28 13:56:26 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3938 * If private message key is not set, but the flag is set in
3939 the packet, ignore the packet since it cannot be decrypted.
3940 Affected file lib/silcclient/client_prvmsg.c.
3942 Thu May 23 12:00:14 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3944 * When resuming client, remove the old client entry from
3945 the watcher list too. Affected file silcd/packet_receive.c.
3947 * Do not allow normal server to force founder mode away
3948 from router if the founder mode is already set. Affected
3949 file silcd/packet_receive.c.
3951 * Remove the client entry with watch notify types with short
3952 timeout, and not directly, so that other notifys can be
3953 retrieved too. Affected file lib/silcclient/client_notify.c.
3955 * Display notification about data messages that cannot be
3956 displayed. Affected files irssi/src/silc/core/client_ops.c,
3957 irssi/src/fe-common/silc/module-formats.[ch].
3959 Sun May 19 18:59:00 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3961 * Fixed the CHANNEL_CHANGE notify handling in client libary
3962 to not use freed memory. Affected file is
3963 lib/silcclient/client_notify.c.
3965 * Fixed CUMODE_CHANGE notify handling in server. Affected
3966 file silcd/packet_receive.c.
3968 * Fixed USERS command to support empty channels. Affected
3969 file silcd/command.c.
3971 Sat May 18 11:35:19 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3973 * Allow multiple identical pending commands to be registered
3974 in client library. Affected file is lib/silcclient/command.c.
3976 * Call the completion for resolving client information only
3977 after all resolvers has finished. This fixes a crash in
3978 the client. Added support for checking when the resolvers
3979 are finished. Affected file is lib/silcclient/idlist.c.
3981 * Wait by default 3 seconds before reconnecting to the server
3982 after being disconnected. Makes the /detach command a bit
3985 Fri May 17 17:23:45 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
3987 * Check the watcher list before sending signoff notifys
3988 when closing client connection. Affected file is
3991 * Added better CMODE command rights checking. Affected file
3992 silcd/server_util.c.
3994 Fri May 17 08:33:41 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
3996 * Fixed watcher list checking during server signoff. It
3997 crashed the server. Affected file silcd/server_util.c.
3999 * The JOIN command reply returns now the founder's public
4000 key. Affected file is silcd/command.c.
4002 * Announce the channel mode, and the mode properties with
4003 CMODE_CHANGE notify. Affected file silcd/server.c.
4005 * Mark new channels by default disabled, untill at least
4006 one user joins the channel. Affected file is
4007 silcd/packet_receive.c.
4009 Thu May 16 13:05:13 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4011 * The nickname argument to watch notify can be optional.
4012 Fixes a crash in server. Affected file silcd/packet_send.c.
4014 * Remove the client entry from cache if the WATCH notify type
4015 is KILLED, SERVER_SIGNOFF or SIGNOFF. Affected file is
4016 lib/silcclient/client_notify.c.
4018 * Check the watcher list before and after changing nickname
4019 when the NICK_CHANGE notify is received. Affected file is
4022 * Fixed a crash in OPER and SILCOPER command sending. Empty
4023 passphrase caused the crash. Affected file is
4024 lib/silcclient/command.c.
4026 Wed May 15 19:01:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4028 * Merged with Irssi CVS for Irssi SILC client.
4030 Tue May 14 19:37:48 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4032 * Completed the protocol specifications.
4034 Tue May 7 20:41:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4036 * Merged with Irssi CVS for Irssi SILC client.
4038 Tue May 7 11:07:16 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4040 * Added the founder's public key delivery to the
4041 CUMODE_CHANGE notify type as well. Updated the protocol
4042 specs and the code. Affected files are silcd/packet_send.[ch],
4043 silcd/packet_receive.c and silcd/command.c.
4045 Mon May 6 19:46:12 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4047 * Added silc_pkcs_public_key_copy function into the
4048 lib/silccrypt/silcpkcs.[ch].
4050 * Remove the `iv' from the SilcChannelEntry since we can
4051 live without it. Affected files are silcd/idlist.h and
4052 silcd/packet_receive.c.
4054 * Added support for sending the founder's public key in
4055 the CMODE_CHANGE notify packet in the server. Affected
4056 files are silcd/packet_send.[ch], silcd/packet_receive.c,
4057 silcd/command.c and silcd/server.c.
4059 * Changed the FOUNDER_AUTH authentication to use only
4060 public key authentication as defined by new protocol
4061 specs. Passphrase authentication with that mode cannot
4062 be used anymore. It is now possible to reclaim founder
4063 mode from any server in the network. Affected files are
4064 silcd/command.c, silcd/idlist.h and silcd/command_reply.c.
4066 * Added permanent channels support by making the channel
4067 permanent when FOUNDER_AUTH mode is set on the channel.
4068 The channel will not be destroyed even if channel is empty
4069 when that mode is set. Protocol TODO #17. Affected
4070 files are silcd/server.[ch], server_util.[ch],
4071 silcd/command.c, silcd/packet_receive.c and
4072 lib/silcclient/command.c.
4074 Fri May 3 18:36:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4076 * Added reference counter to the command reply context in
4077 the client library. Affected files are
4078 lib/silcclient/command_reply.[ch].
4080 Fri May 3 11:37:10 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4082 * Fixed rekey protocol with PFS in the client library.
4083 Affected file is lib/silcclient/protocol.c.
4085 * Added support for list of errors in client library
4086 command reply handling. Affected file is
4087 lib/silcclient/command_reply.c.
4089 * Defined that the WHOIS and IDENTIFY commands can send
4090 list of errors. Updated the protocol specs. Protocol
4093 * Added support for sending list of errors to WHOIS and
4094 IDENTIFY commands in server. Added support for receiving
4095 list of errors in server. Affected files are
4096 silcd/command.c and silcd/command_reply.c.
4098 * Fixed client info resolving on LEAVE command in client
4099 library to not crash. Affected file is
4100 lib/silcclient/client_notify.c.
4102 Thu May 2 08:45:11 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4104 * Defined that the NICK command replies with thew changed
4105 nickname too, to make the nickname changing simpler at
4106 the client's end. Updated protocol specs and the code
4107 in client and server. Affected files are
4108 silcd/command.c, lib/silcclient/command_reply.c and
4109 lib/silcclient/command.c.
4111 Mon Apr 29 20:10:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4113 * Added `Compressed' packet flag to indicate that the packet
4114 payload is compressed by the sender. Updated the protocol
4115 specs and the core library. The compression still is not
4116 implemented in the sources. Affected file is
4117 lib/silccore/silcpacket.h.
4119 Mon Apr 29 09:48:12 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4121 * Remove pending command callbacks also if the connection
4122 to the server is destroyed. Affected file is
4123 lib/silcclient/client.c.
4125 Sat Apr 27 19:52:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4127 * Added new QUIET channel user mode that can be used to
4128 quiet a user in a channel. Updated the protocol specs but
4129 it wasn't implemented yet. Protocol TODO #27. Affected
4130 file is lib/silccore/silcmode.h.
4132 Mon Apr 22 09:09:44 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4134 * Added BLOCK_INVITE user mode to be able to block incoming
4135 invite notifications. Protoocol TODO #26. Affected files
4136 are lib/silccore/silcmode.h, lib/silcclient/command.c and
4139 * SILC Publickey fields MUST be UTF-8 encoded now. Updated
4140 the protocol specs and the code. Affected file is
4141 lib/silccrypt/silcpkcs.c.
4143 Sun Apr 21 19:44:38 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4145 * Disconnect Payload includes now the status type. Updated
4146 the protocol specs and the code. Protocol TODO #25.
4147 Affected files are silcd/server.c, lib/silcclient/client.c.
4149 * Added NOT_AUTHENTICATED, BAD_SERVER_ID, INCOMPLETE_INFORMATION,
4150 KEY_EXCHANGE_FAILED and BAD_VERSION error status types.
4151 Moved the silc_client_command_status_messages table to the
4152 lib/silcutil/silcutil.c and added new funtion
4153 silc_get_status_message, which deprecates function
4154 silc_client_status_message. Affected files are
4155 lib/silccore/silcstatus.h, lib/silcclient/command_reply.[ch],
4156 lib/silcutil/silcutil.[ch].
4158 Fri Apr 19 17:35:15 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4160 * Defined that the nickname hash in Client ID MUST be from
4161 lowercase nickname. This effectively changes nicknames in
4162 SILC to case-insensitive. Updated the protocol specs and
4163 the code. Affected files are lib/silcutil/silcutil.[ch],
4164 silcd/serverid.c, and silcd/idlist.c.
4166 * Added new channel user modes BLOCK_MESSAGES_USERS and
4167 BLOCK_MESSAGES_ROBOTS. Updated the protocol specs and the
4168 code. Affected files are lib/silccore/silcmode.h,
4169 lib/silcclient/command.c, and silcd/packet_send.c.
4171 * Added new error status ERR_RESOURCE_LIMIT. Updated protocol
4172 specs and code. Affected file lib/silccore/silcstatus.h.
4174 * Added support for watch list. It is possible to add nicknames
4175 to be watched, and when they come to network, leave network
4176 or user mode changes the watcher will be notified of this
4177 change. Added SILC_COMMAND_WATCH command, added new
4178 notify type SILC_NOTIFY_TYPE_WATCH to deliver the watch
4179 notifications. Updated the protocol specs and implemented
4180 this to library, client and server. Protocol TODO #21.
4181 Affected files are lib/silccore/silccomand.h,
4182 lib/silccore/silcnotify.h, lib/silcclient/command[_reply].[ch],
4183 silcd/command[_reply].[ch], lib/silcclient/client_notify.c,
4184 silcd/packet_send.[ch], silcd/packet_receive.c, and
4185 irssi/src/silc/core/client_ops.c.
4187 * Added user mode SILC_UMODE_REJECT_WATCHING to reject
4188 somebody watching you. Updated the protocol specs and the
4189 code. Affected files are lib/silccore/silcmode.h, and
4190 lib/silcclient/command.c.
4192 Fri Apr 19 09:02:20 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4194 * Added service support to SILC protocol. Added new command
4195 SILC_COMMAND_SERVICE. Updated the protocol specs and the
4196 core library. Services are not implemented in server or
4197 client for now. Protocol TODO #20. Affected files are
4198 lib/silccore/silcstatus.h, lib/silccore/silccommand.h.
4200 * Added SilcStatus argument to `command' client operation
4201 to return the error status when command sending fails
4202 locally. Changed all command in client library to return
4203 correct command status. Affected files are
4204 lib/silcclient/command.c, lib/silcclient/silcclient.h and
4205 irssi/src/silc/core/client_ops.c.
4207 Thu Apr 18 14:09:51 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4209 * Added silc_mime_parse function to parse MIME headers.
4210 Affected files are lib/silcutil/silcstruti.[ch].
4212 * Added MIME header parsing in Irssi SILC Client. It displays
4213 all textual MIME objects, others it ignores. Affected file
4214 is irssi/src/silc/core/clien_ops.c.
4216 Wed Apr 17 22:07:59 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4218 * Fixed a bug in the pid writing function, which couldn't be
4219 written in a root-owned directory.
4221 Tue Apr 16 09:34:40 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4223 * Defined that channel message to unknown Channel ID must
4224 cause SILC_NOTIFY_TYPE_ERROR notify message to the sender.
4225 Updated the protocol specs and the code in server. The
4226 affected file is silcd/packet_receive.c.
4228 Mon Apr 15 19:57:57 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4230 * Added new notify type SILC_NOTIFY_TYPE_ERROR and specified
4231 that it is used to send error notifys if error occurs during
4232 some SILC packet processing, except commands. The error
4233 types are same as for command reply types. Defined that
4234 if private message is sent to unknown Client ID the error
4235 is sent in SILC_NOTIFY_TYPE_ERROR instead of command reply.
4236 Updated the protocol specs and code. Affected files are
4237 lib/silccore/silcnotify.h, added lib/silccore/silcstatus.h,
4238 lib/silcclient/client_notify.c, silcd/packet_receive.c,
4239 and irssi/src/silc/core/client_ops.c. Renamed the
4240 SilcCommandStatus to SilcStatus.
4242 * Defined the use of extra WHOIS attributes in WHOIS command.
4243 The <Requested Attributes> (defined in a separate document)
4244 can be used to request additional information about user
4245 not returned by standard WHOIS command. Defined that server
4246 can send WHOIS command directly to client. Client provides
4247 the requested attributes to the server. Updated the protocol
4248 specs. Protocol TODO #4. Implementation is not done yet
4249 (Protocol TODO #24).
4251 * Renamed function silc_client_command_status_message to
4252 silc_client_status_message. Affected files are
4253 lib/silcclient/command_reply.[ch].
4255 Sun Apr 14 21:13:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4257 * Changed the WHOIS, IDENTIFY and WHOWAS count arguments to
4258 32 bit integers. Updated the protcol specs and the code.
4259 Affected files are silcd/command.c and
4260 lib/silcclient/command.c.
4262 Sun Apr 14 19:49:02 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4264 * Fixed a bug in library where sending a bogus authentication
4265 payload would lead to a crash. Affected file is
4266 lib/silccore/silcauth.c.
4268 Sat Apr 13 13:09:24 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4270 * Added detach_disabled and detach_timeout server config
4271 options to the server. Affected files silcd/serverconfig.[ch],
4272 silcd/command.c and silcd/packet_receive.c.
4274 Fri Apr 12 20:09:08 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4276 * Added resolve_cmd_ident field to the SilcClientEntry structure
4277 too so that if the entry is for example being resolved so
4278 another command may attach to the same pending command reply
4279 without requiring to resolve the same entry again. Added
4280 support for adding multiple pending commands for one
4281 command idenfier. Affected files lib/silcclient/command.[ch],
4282 lib/silcclient/command_reply.[ch], lib/silcclient/idlist.h.
4284 Fri Apr 12 10:17:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4286 * Defined that server receives WHOIS command reply for private
4287 and secret channels too. Updated protocol specs and the
4288 code in server. Affected file silcd/command.c.
4290 * Defined <channel user mode list> argument to WHOIS command
4291 reply for returning user modes on the channels. The
4292 channel list now doesn't include the user mode anymore but the
4293 actual channel mode. Updated protocol specs and the code in
4294 client and server. Affected files are silcd/command_reply.c,
4295 silcd/command.c, silcd/server.c, irssi/src/silc/core/client_ops.c,
4296 and lib/silcclient/command_reply.c.
4298 * Save the channels list in WHOIS command reply in normal server
4299 so that WHOIS always shows joined channels also in normal
4300 server and not just on router. Affected file is
4301 silcd/command_reply.c.
4303 Thu Apr 11 22:29:33 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4305 * Defined that server receives USERS command reply for private
4306 and secret channels too. Updated protocol specs and the
4307 code in server. Affected file silcd/command.c.
4309 Thu Apr 11 16:32:08 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4311 * Changed the UMODE's mode mask argument to be optional. If
4312 not provided then the command merely returns the current mode
4313 mask to the client. Updated protocol specs and the server.
4314 Affected file is silcd/command.c.
4316 * Added SILC session detachment/resuming support. It is possible
4317 to detach by closing the network connection and then re-connect
4318 and resume to the old client session. Added DETACHED user
4319 mode that server will set for detached client. Added new
4320 packet RESUME_CLIENT which is used to perform the resuming
4321 process. Added DETACH command. Updated the protocol specs,
4322 core library, client and server. Protocol TODO #22. Very
4323 many affected files around the tree.
4325 Wed Apr 10 16:32:01 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4327 * Changed the CMODE's mode mask argument to be optional. If
4328 not provided then the command merely returns the current mode
4329 mask to the client. Updated protocol specs and the server.
4330 Affected file is silcd/command.c.
4332 * Changed the Killer's Client ID in KILLED notify to be just
4333 any ID payload since router server is allowed to kill as well.
4334 Updated protocol specs, client libary and server. Affected
4335 files are lib/silcclient/client_notify.c, silcd/packet_receive.c,
4336 and irssi/src/silc/core/client_ops.c.
4338 Tue Apr 9 17:15:42 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4340 * Added new user modes ANONYMOUS for special anonymous servers
4341 that may set the mode for client, and BLOCK_PRIVMSG which
4342 client may set to block incoming private messages unless the
4343 Private Message Key flag is set (using private keys to protect
4344 private messages). Updated protocol specs and code in client
4345 and server and core library. Protocol TODO #23. Affected
4346 files are lib/silccore/silcmode.h, silcd/server.[ch],
4347 irssi/src/silc/core/client_ops.c, silcd/packet_receive.c,
4348 irssi/docs/help/in/umode.in, lib/silcclient/command.c.
4350 * Added new channel user mode BLOCK_MESSAGES which the client
4351 may set to itself to tell server not send channel messages.
4352 Other packets such as channel key packets are still sent.
4353 Protocol TODO #23. Updated the protocol specs, client and
4354 server. Affected files are lib/silccore/silcmode.h,
4355 irssi/docs/help/in/cumode.in, lib/silcclient/command.c,
4356 lib/silcutil/silcutil.c, silcd/command.c, and
4357 silcd/packet_send.c.
4359 Mon Apr 8 23:57:32 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4361 * Redefined the Status Payload to include now two 8 bit fields,
4362 instead of one 16 bit field. This now makes it possible to
4363 send list of errors. Updated the protocol specs and the code
4364 in core library, client library and server. Protocol TODO #1.
4365 Affected files are lib/silccore/silccommand.[ch],
4366 lib/silcclient/command_reply.[ch], silcd/command.c,
4367 silcd/command_reply.c and silcd/packet_receive.[ch].
4369 Mon Apr 8 19:57:40 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4371 * Added config parse status SILC_CONFIG_EPRINTLINE, this status
4372 must be handled by the application and should tell the application
4373 that an error message was already printed, and it should print the
4374 config coords (line, filename, ...). Affected files are
4375 silcd/serverconfig.c, lib/silcutil/silcconfig.[ch].
4377 * Added local macro SILC_SERVER_CONFIG_ALLOCTMP to make the
4378 server config parsing code more readable.
4380 Fixed a bug in the fetch_logging() config callback.
4382 Affected files is silcd/serverconfig.c.
4384 * Drop root privileges when started in foreground. Don't drop them
4385 if debugging also. Affected file is silcd/silcd.c.
4387 Mon Apr 8 17:00:41 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4389 * Added more IM-like features by introducing new user modes
4390 for setting various presence information. Added new modes:
4391 INDISPOSED, BUSY, PAGE, HYPER and ROBOT. Updated protocol
4392 specs and code. Protocol TODO #19. Affected files are
4393 lib/silccore/silcmode.h, irssi/src/silc/core/client_ops.c,
4394 irssi/docs/help/in/umode.in and lib/silcclient/command.c.
4396 Sun Apr 7 17:07:59 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4398 * Added STATS command to the protocol after all, to return
4399 various statistical information about the network. It can
4400 be used by clients to retrieve statistical information, and
4401 servers may use it to to fetch cell and network wide
4402 statistics from router. Updated the protocol specs and
4403 implemented it to the server. Protocol TODO #16.
4404 Affected files are lib/silccore/silccommand, silcd/command.[ch],
4405 silcd/command_reply.[ch].
4407 Sat Apr 6 17:08:58 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4409 * The LIST command reply in client libary now adds new channel
4410 entry if the returned channel doesn't exist yet in cache,
4411 and returns the channel entry to the application in the
4412 command_reply client operation. Affected file is
4413 lib/silcclient/command_reply.c.
4415 * Changed the channel message payload's MAC generation to
4416 include the IV in the MAC as well. This way all relevant
4417 parts of the channel message payload are authenticated also
4418 with the channel message MAC (and not only by packet MAC).
4419 Causes incompatibility with 1.0 protocol. Protocol TODO #7.
4420 Affected file is lib/silccore/silcchannel.c.
4422 * Fixed the SKE to save the remote version, since the
4423 silc_ske_parse_version mistakenly checked wrong version,
4424 after it replaced the start payload. Affected files are
4425 lib/silcske/silcske.[ch].
4427 Fri Apr 5 16:03:03 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4429 * Splitted lib/silcutil/silcutil.h into silcstrutil.h for
4430 string utility functions. Added there also new functions
4431 silc_utf8_[encode/decode/valid] for UTF-8 string encoding.
4432 Affected files lib/silcutil/silcstrutil.[ch].
4434 * Renamed silc_*_pem functions to silc_pem_* functions. Affected
4435 files are lib/silcutil/silcstrutil.[ch].
4437 * Defined that the security property fields in SKE SHOULD be
4438 UTF-8 encoded, defined that version string MUST be US-ASCII
4439 encoded, defined that passphrases sent in connection
4440 authentication protocol MUST be UTF-8 encoded. Implemented
4441 these to the client and server. Defined also that other
4442 passphrases sent in the protocol MUST be UTF-8 encoded.
4443 Affected files are lib/silcske/silcske.c,
4444 lib/silcclient/protocol.c, silcd/protocol.c,
4445 silcd/serverconfig.c, and lib/silccore/silcauth.c.
4447 * Changed the silc_client_close_connection interface to not
4448 need the SilcSocketConnection which should not be visible
4449 to application. Affected files are lib/silcclient/client.c
4450 and lib/silcclient/silcclient.h.
4452 * Rewrote the text for Private Message Key Payload in the
4453 protocol specification. Protocol TODO #11.
4455 Wed Apr 3 16:24:51 EEST 2002 Pekka Riikonen <priikone@silcnet.org>
4457 * Upgraded the protocol version to 1.1, updated protocol specs
4460 * Added the nickname as new argument to NICK_CHANGE notify and
4461 added it to protocol specs and implemented it to client and
4462 server. Protocol TODO #3. Affected files are silcd/idlist.[ch],
4463 silcd/command.c, silcd/packet_receive.c, packet_send.[ch], and
4464 lib/silcclient/client_notify.c.
4466 * Added the killer's client ID to the KILLED notify and added
4467 it to protocol specs and implemented it to client and server.
4468 Protocol TODO #13. Affected files are silcd/command.c,
4469 silcd/packet_receive.c, packet_send.[ch],
4470 lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4471 The killer's client entry is now returned to application in
4472 the `notify' client operation.
4474 * Fixed the Max Argument fields that had too large value set
4475 in the protocol specs. Protocol TODO #14.
4477 * Added the LEAVE command reply to return the ID of parted
4478 channel. Updated protocol specs and implemented it to the
4479 client and server. Protocol TODO #15. Affected files are
4480 silcd/command.c, lib/silcclient/command_reply.c. The channel
4481 entry is now returned to application in the `command_reply'
4484 * Rewrote the version SKE version checking in client libary
4485 and in server to use the silc_parse_version_string. Affected
4486 files are lib/silcclient/protocol.c, silcd/protocol.c.
4488 * Added SILC_STATUS_ERR_NO_CHANNEL_FOPRIV error status to few
4489 commands that was missing it, and updated protocol specs and
4490 the server implementation. Protocol TODO #10. The affected
4491 file is silcd/command.c.
4493 * Defined new message flags SILC_MESSAGE_FLAG_REPLY to be
4494 generic reply to a generic request (REQUEST flag), and
4495 SILC_MESSAGE_FLAG_DATA to send any kind of data in a generic
4496 way. A draft-riikonen-silc-flags-payloads-00.txt is written
4497 to define the payload for DATA flag. Added the flags to
4498 the implementation. Protocol TODO #9. Affected file is
4499 lib/silccore/silcchannel.h.
4501 Changed the client library to return the message length
4502 to application as well in the channel_message and private_message
4503 client operations. Affected files are
4504 lib/silcclient/client_prvmsg, lib/silcclient/client_channel.c,
4505 lib/silcclient/silcclient.h, irssi/src/silc/core/client_ops.c,
4506 and lib/silcclient/client_ops_example.c.
4508 * Added two new channel modes: SILC_CMODE_SILENCE_USERS
4509 and SILC_CMODE_SILENCE_OPERS which can be used to moderate
4510 the channel. Updated protocol specs and impelemented this
4511 to client and server. Protocol TODO #6. Affected files are
4512 silcd/packet_receive.c, server_util.c, lib/silcclient/command.c,
4513 lib/silcclient/client_channel.c, lib/silccore/silcmode.h.
4515 Added new options m and M to CMODE command in Irssi SILC
4516 client to set these modes.
4518 * Deprecated all administrative commands from SILC protocol
4519 since they are highly implementation specific commands.
4520 Updated protocol specs. Moved the old commands in
4521 implementations to private range of command types. Affected
4522 files are silcd/command.c, lib/silcclient/command.c and
4523 lib/silcclient/command_reply.c. Protocol TODO #8.
4525 * Fixed a bug in server where sending unknown command crashes
4526 the server. Affected file silcd/command.c.
4528 Wed Apr 3 09:57:47 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4530 * Added SILC_PROTOCOLVERSION macro to check protocol version
4531 of a socket connection. The affected file is
4532 lib/silcutil/silcsockconn.h.
4534 * Added better error logging in rekey protocol. Affected file
4537 * Do not check public key types in SKE during rekey. Affected
4538 file lib/silcske/payload.c.
4540 * Fixed the rekey protocol with PFS, which was totally broken.
4541 Affected file silcd/protocol.c.
4543 Tue Apr 2 14:55:06 CEST 2002 Pekka Riikonen <priikone@silcnet.org>
4545 * Some client implementations quit network by doing first LEAVE
4546 and then immediately SIGNOFF (like Bombyx). We now do check
4547 after a short time after LEAVE notify and check whether the
4548 client is still valid after LEAVE, and if not we remove it from
4549 cache. Affected file is lib/silcclient/client_notify.c.
4551 Tue Apr 2 13:39:04 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4553 * Merged version 1.1.4 of zlib. Even if it not currently in use,
4554 it's good not to have security holes here.
4556 * Fixed a negative refcount situtuation for the config context.
4557 Affected file is silcd/serverconfig.c.
4559 Mon Apr 1 20:15:10 CEST 2002 Johnny Mnemonic <johnny@themnemonic.org>
4561 * ROBOdoc documented lib/silcutil/silcutil.h.
4563 Sat Mar 30 21:06:45 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4565 * Optimized even more the SilcPacketContext structure. Now
4566 totally saved 16 bytes of memory per context after optimization.
4567 Affected files are lib/silccore/silcpacket.[ch].
4569 * Made strict checks for valid SILC IDs. Affected file is
4570 lib/silccore/silcid.c.
4572 Sat Mar 30 18:15:55 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4574 * Changed the object argument for silc_cipher_register,
4575 silc_hash_register, silc_hmac_register and silc_pkcs_register
4576 to const. Affected files are lib/silccrypt/silccipher.[ch],
4577 silchash.[ch], silchmac.[ch] and silcpkcs.[ch].
4579 * Changed the silc_get_username and silc_get_real_name to
4580 never fail. Affected file lib/silcutil/unix/silcunixutil.c.
4582 * Fixed the Irssi SILC Client to use the silc_get_username and
4583 silc_get_real_name insted of glib routines since the glib
4584 routines only corrupt stack. Fixes the Irssi SILC to work in
4585 Cygwin. Affected file irssi/src/silc/core/silc-core.c.
4587 * Fixed the Irssi to not use g_get_home_dir since it crashes
4588 or returns garbage on cygwin and corrupts stack. Added function
4589 get_home_dir to Irssi routines. Affected files are
4590 irssi/src/core/misc.[ch] and irssi/src/core/core.c.
4592 Fri Mar 29 21:55:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4594 * Made some structure optimizations. SFTP memory FS MemFSEntry
4595 entry structure. Optimized SilcTask structure. Optimized
4596 SilcPacketContext structure.
4598 Affected files lib/silcsftp/sftp_fs_memory.c,
4599 lib/silcutil/silcschedule.c, lib/silccore/silcpacket.h.
4601 Fri Mar 29 10:41:07 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4603 * And yet again reverted back the config thing since Johnny
4604 screwed it up. Affected file silcd/serverconfig.[ch], server.c,
4607 * Fixed memory leaks from config object. Affected files are
4608 silcd/serverconfig.[ch].
4610 * Added support for adding new connections to the server in rehash.
4611 After rehash they take effect.
4613 Added support for changing the maximum allowed connections in
4614 rehash. The number can grow but going smaller is not supported.
4616 Added function silc_server_num_sockets_by_remote to the
4617 silcd/server_util.[ch].
4619 Affected files are silcd/server.c, and silcd/serverconfig.[ch].
4621 Fri Mar 29 03:26:12 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
4623 * Added preliminary checking during config parsing for a valid
4624 public/private key and removed further checks in the code.
4625 Affected files are silcd/serverconfig.[ch], server.c.
4627 * Moved functions silc_server_drop() and silc_server_daemonise()
4628 from server.c to silcd.c since they are stricly related to
4629 the application activity.
4631 * Reverted a small part of the automatic ref/unref since
4632 it caused a double unref in some situations. Affected
4633 files are silcd/silcd.[ch], server.c, serverconfig.c.
4635 * Added some .cvsignore files in the lib directory.
4637 Thu Mar 28 22:51:15 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4639 * Fixed silc_net_gethostbyaddr to correctly resolve by
4640 address. Affected file lib/silcutil/silcnet.c.
4642 * Fixed the notify relaying to client. The HMAC to be used
4643 with relayed packets ws wrong and caused decryption failure
4644 at the client end. Affected file is silcd/packet_receive.c.
4646 Thu Mar 28 19:02:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4648 * Created new branch silc_protocol_1_0_branch.
4650 * Reverted the silc_log_quick change in lib/silcutil/silclog.c.
4652 * Changed the silc_server_config_* routines to be SilcServer
4653 independent. They are now officially application specific code
4654 and not part of generic server implementation. Affected files
4655 are silcd/serverconfig.[ch], silcd/silcd.c, silcd/server.c.
4657 Thu Mar 28 17:01:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4659 * Added automatic referencing of config context in the
4660 silc_server_config_alloc, and automatic unreferencing in the
4661 silc_server_config_destroy. Affected files are
4662 silcd/serverconfig.[ch], silcd/silcd.c.
4664 * Fixed the silc_log_quick handling in the logging routines.
4665 It didn't log quickly when it was TRUE. Affected file is
4666 lib/silcutil/silclog.c. Also the flush delay was set even
4667 if it was 0 in config file. Affected file is
4668 silcd/serverconfig.c.
4670 * Added support for changing key pair of the server in rehash.
4671 Affected file silcd/server.c.
4673 Thu Mar 28 12:17:21 CET 2002 Pekka Riikonen <priikone@silcnet.org>
4675 * Fixed the TOPIC_SET notify to not cras. It changed the topic
4676 too early, before getting the channel entry. Affected file
4677 is silcd/packet_receive.c.
4679 Thu Mar 28 09:58:16 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
4681 * Added functions silc_server_config_[ref/unref], these are used
4682 to prevent that the config object is destroyed.
4684 No longer directly affect global variables silc_log_quick and
4685 silc_log_delay, they are first cached inside the config object
4686 and then applied with silc_server_config_setlogfiles().
4688 silc_server_config_set_defaults() is now internal to
4689 serverconfig.c, there are no reasons to show this internal stuff
4692 Affected files are silcd/serverconfig.[ch].
4694 * Added macro SILC_SERVER_LOG_STDERR(), this should replace most
4695 fprintf's to stderr, since some code may be executed again after
4696 the server went into the background. Affected files are
4699 * Added rehash support. Added function silc_server_rehash() that
4700 will perform all the basic tasks of the rehashing procedure.
4702 * Added command line option `-x, --hexdump'. This will enable the
4703 SILC_LOG_HEXDUMP calls that are no longer enabled with `--debug'.
4704 The option `--hexdump' implies `--debug'.
4706 * Fixed a bad bug in the logging APIs (silcutil library) where
4707 the application would crash after calling silc_log_reset_all().
4709 Wed Mar 27 19:43:16 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4711 * Fixed the KICKED notify handling in client library to
4712 correctly remove the channel and all entries from the
4713 channel when I was kicked. This bug crashed the client.
4715 Fixed yet another but in KICKED notify handling to remove
4716 the kicked client correctly from the channel.
4718 Affected file is lib/silcclient/client_notify.c.
4720 * Fixed a minor bug in looking up correct client entry
4721 in KICKED notify in server. Affected file is
4722 silcd/packet_receive.c.
4724 * Fixed the lib/silcmath/Makefile.am to include the MPI and GMP
4725 sources correctly to distribution. Fixes --with-gmp option.
4727 * Removed the manual rehashing from ID Cache, and changed it
4728 to use the SILC Hash Table's auto rehash feature. Affected
4729 file is lib/silccore/silcidcache.c.
4731 Wed Mar 27 00:07:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4733 * Fixed a bug in the silc_client_nickname_format function that
4734 handles the multiple same nickname formatting. Two clients
4735 with same nickname caused problems after the first one left
4736 and rejoined. It didn't format the nickname correctly.
4737 Affected file is lib/silcclient/idlist.c.
4739 Tue Mar 26 19:33:03 CET 2002 Pekka Riikonen <priikone@silcnet.org>
4741 * Don't change the topic if olod topic is same as new one.
4742 Affected file is silcd/packet_receive.c.
4744 Mon Mar 25 21:11:35 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4746 * Added cross-reference support to the SILC Documentation
4747 generator. All types across all HTML files are now cross-
4748 referenced. Affected files util/robodoc/generator.c and
4749 scripts/silcdoc/silcdoc.
4751 * Added file lib/silcutil/silctypes.h to include all the
4752 arithmetic type definitions and some macros. Removed
4753 includes/bitmove.h and moved macros to silctypes.h.
4755 Mon Mar 25 17:19:46 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4757 * Merged bugfixes for Irssi SILC client from irssi.org CVS.
4759 Sun Mar 24 11:21:04 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4761 * Added `type' argument to silc_id_payload_parse_id function which
4762 now returns the type of the ID to the sent pointer. Affected
4763 file is lib/silccore/silcid.[ch].
4765 * Added check for CMODE_CHANGE notify type that mode change is
4766 allowed by the sender. Affected file silcd/packet_receive.c.
4768 * Added check for CUMODE_CHANGE notify type that mode change is
4769 allowed by the sender. Affected file silcd/packet_receive.c.
4770 Added the ID type as CUMODE_CHANGE notify type as argument
4771 to the `notify' client operation. Affected files are
4772 lib/silcclient/client_notify.c, irssi/src/silc/core/client_ops.c.
4774 * Added function silc_client_add_server to the client library.
4775 Added support for resolving also channel and server info when
4776 received unknown entity in notify packet. Affected files are
4777 lib/silcclient/idlist.[ch], lib/silcclient/client_notify.c.
4779 * Added function silc_command_get_status to return the command
4780 status from the command reply's argument payload. Affected files
4781 are lib/silccore/silccommand.[ch].
4783 * Added check for KICKED notify type that the kicking is
4784 allowed by the client. Affected file silcd/packet_receive.c.
4786 * Created function silc_get_input which can be used to get input
4787 (echo on or off) from user on command line. Affected files are
4788 lib/silcutil/silcutil.[ch].
4790 Sat Mar 23 09:51:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4792 * Optimized silc_server_packet_relay_to_channel function.
4793 Added new function silc_channel_message_payload_encrypt which
4794 can be called directly if channel message payload needs to
4795 be encrypted and is already encoded (no need to call _encode
4796 function). Packet relaying is now done by router without any
4797 extra memory allocations. Affected files are
4798 lib/silccore/silcchanel.[ch], silcd/packet_receive.c and
4799 silcd/packet_send.c.
4801 * Fixed the INVITE notify handling. It took wrong arguments
4802 as invite list and invite delete. Affected file is
4803 silcd/packet_receive.c.
4805 * Added check for TOPIC_SET notify type that the topic change is
4806 allowed by the client. Affected file silcd/packet_receive.c.
4808 * Added check for INVITE notify type that inviting is allowed by
4809 the client. Affected file silcd/packet_receive.c.
4811 * Changed the silc_server_client_on_channel to return the
4812 SilcChannelClientEntry as well. Moved the function
4813 silc_server_check_cmode_rights to server_util.[ch].
4814 Affected files are silcd/server_util.[ch], silcd/command.c.
4816 * Added function silc_server_check_umode_rights to check whether
4817 changing client's user mode is allowed. Added check for
4818 UMODE_CHANGE notify type that the umode change is allowed
4819 by the client. Affected files are silcd/server_util.[ch],
4820 silcd/packet_receive.c and silcd/command.c.
4822 Fri Mar 22 12:25:58 CET 2002 Pekka Riikonen <priikone@silcnet.org>
4824 * Fixed the SILC_PACKET_MAX_ID_LEN to actually be the max
4825 ID length. It ignored that ID can be IPv6 based as well.
4826 Affected file lib/silccore/silcpacket.h.
4828 * Fixed the silc_id_id2str and silc_id_str2id to take the
4829 IPv6 address offset's into consideration. Affecte file is
4830 lib/silccore/silcid.c.
4832 Thu Mar 21 20:44:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4834 * Fixed the internal Unix scheduler functions to check for
4835 NULL context they may receive. The affected file is
4836 lib/silcutil/unix/silcunixschedule.c.
4838 Thu Mar 21 19:12:22 EET 2002 Timo Sirainen <tss@iki.fi>
4840 * Changed hardcoded ~/.silc paths to use get_irssi_dir() so you
4841 can specify different directory with --home command line
4842 parameter. Affected files irssi/src/silc/core/client_ops.c,
4845 * SILC-specific commands aren't now executed if the active server
4846 isn't of SILC-type, so there won't be problems with having
4847 IRC and SILC protocol support in same client. Affected files
4848 irssi/src/silc/core/silc-channels.c, silc-servers.c,
4851 Wed Mar 20 11:06:57 CET 2002 Pekka Riikonen <priikone@silcnet.org>
4853 * Improved the signal support in SILC Schedule. Added new
4854 function silc_schedule_signal_call which is used by application
4855 to mark a signal to be called. It is now safe to perform
4856 any kind of tasks in signal callbacks since it is guaranteed
4857 that the application specified signal callback is called
4858 after the signal is over. Affected files are
4859 lib/silcutil/silcschedule.[ch], lib/silcutil/*/silc*schedule.c.
4861 Tue Mar 19 20:42:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4863 * Added `name' field to SilcChannelPrivateKey to represent
4864 application given name for the key. Moved also the context from
4865 lib/silcclient/idlist.h into lib/silcclient/silcclient.h.
4866 Added the `name' argument also to the function
4867 silc_client_add_channel_private_key.
4869 Added function silc_client_current_channel_private_key to set the
4870 current channel private key in use.
4872 Added "change" command to KEY command which can be used to change
4873 the current channel private key. Bound the command also to
4874 alt+K (Alt+Shift+k).
4876 Also affected files lib/silcclient/client_channel.c,
4877 irssi/src/docs/help/in/key.in, irssi/src/silc/core/silc-channel.c.
4879 Tue Mar 19 16:32:43 CET 2002 Pekka Riikonen <priikone@silcnet.org>
4881 * Added silc_rng_get_byte_fast function in to the
4882 lib/silccrypt/silcrng.[ch].
4884 * Changed the interface of silc_packet_assemble and the
4885 silc_packet_send_prepare. If silc_packet_assmble is now
4886 called the application does not call silc_packet_send_prepare
4887 because the library will call it automatically. These
4888 interfaces now also return a reference to the outgoing buffer
4889 which includes the assembled packet, which the application can
4890 use to encrypt the packet.
4892 Affected files are lib/silccore/silcpacket.[ch],
4893 lib/silcclient/client.c, client_channel.c client_prvmsg.c,
4894 silcd/packet_send.c, server_backup.c and packet_receive.c.
4896 * Fixed a packet sending bug on very high load, where outgoing
4897 packet queue wasn't handled correctly and packets got corrupted.
4898 Affected files are lib/silcutil/*/silc*sockconn.c,
4899 lib/silcclient/client.c and silcd/server.c.
4901 Mon Mar 18 21:00:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4903 * Added macro SILC_PACKET_DATALEN which can be used during
4904 packet assembling to check whether the data to be added to
4905 the packet will fit to SILC_PACKET_MAX_LEN. If not the data
4906 len is truncated until it fits it.
4908 Added checks for maximum length of channel message payload and
4909 private message payload also.
4911 Added checks for maximum packet length in server and in
4914 Affected files are lib/silccore/silcpacket.h, silcd/packet_send.c,
4915 lib/silcclient/client.c, lib/silccore/silcchannel.c and
4916 lib/silccore/silcprivate.c, lib/silcclient/client_channel.c and
4917 lib/silcclient/client_prvmsg.c.
4919 Mon Mar 18 14:54:42 CET 2002 Pekka Riikonen <priikone@silcnet.org>
4921 * Added silc_server_packet_queue_purge call to the
4922 silc_server_disconnect_remote to assure that all data in the
4923 queue before disconnecting is sent to the network. Affected
4924 file silcd/server.c.
4926 Sun Mar 17 19:26:16 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4928 * Added the deleting of server's own ID cache entry to the
4929 silc_server_free function. Free also everything else that
4930 has been allocated in silc_server_init. The affected file
4933 Sun Mar 17 15:44:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4935 * Added functions silc_parse_version_string, silc_version_to_num,
4936 and silc_ske_parse_version to parse SILC protocol style version
4937 strings. Affected files lib/silcutil/silcutil.[ch] and
4938 lib/silcske/silcske.[ch].
4940 * Added new configuration params: version_protocol, version_software
4941 and version_software_vendor to specify what version the remote
4942 host must at least be to be able to connect to server. The vendor
4943 string can be regex matched too. Added new function
4944 silc_server_connection_allowed to check maximum number of allowed
4945 connections, and allowed versions for incoming connections.
4946 Affected files are silcd/server.c, server_util.[ch] and
4949 Sun Mar 17 10:24:50 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4951 * Added preliminary support for signals in scheduler. The
4952 signals we care about are now blocked always when the scheduler
4953 is locked. This way we can synchronise the use of signal with
4954 scheduler. It is guaranteed that when signal occurs the scheduler
4955 is not locked, and thus new tasks can be safely added to the
4958 Renamed silc_schedule_wakeup_init and silc_schedule_wakeup_uninit
4959 to silc_schedule_internal_init and silc_schedule_internal_uninit.
4960 Added new platform specific routines
4961 silc_schedule_internal_signals_[un]block and
4962 silc_schedule_internal_signal_[un]register.
4964 Added new functions to SILC Schedule API:
4965 silc_schedule_signal_[un]register. Each signal that application
4966 is going to use should be registered to the scheduler.
4968 Affected files are lib/silcutil/silcschedule.[ch],
4969 lib/silcutil/*/silc*schedule.c.
4971 Sat Mar 16 22:39:23 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4973 * Check for unauthenticated client and server in the
4974 silc_server_new_client and silc_server_new_server functions.
4975 Affected file silcd/packet_receive.c.
4977 * Added function silc_string_is_ascii to check whether given
4978 string is 7-bit ASCII string. Affected files are
4979 lib/silcutil/silcutil.[ch].
4981 * Added function silc_id_is_valid_server_id into the
4982 silcd/serverid.c and added checking for valid Server ID's in
4983 silc_server_new_server. The Server ID must always be based
4984 on the server's public IP address.
4986 * Added logging of DISCONNECT packet message in the server.
4987 Affected file silcd/server.c.
4989 Sat Mar 16 18:04:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
4991 * Changed all library interfaces that use Global RNG to also
4992 accept SilcRng as argument. Affected files are
4993 lib/silcclient/command.c, lib/silccore/silcauth.[ch],
4994 lib/silccore/silcchanel.[ch], lib/silcclient/client_channel.c,
4995 silcd/packet_send.c, lib/silccore/silcprivate.[ch],
4996 lib/silcmath/silcprimegen.c, lib/silcmath/silcmath.h, and
4997 lib/silccrypt/rsa.c.
4999 * Added function silc_pkcs_generate_key to the
5000 lib/silccrypt/silcpkcs.[ch] for applications so that they
5001 don't need to do pkcs->pkcs->init calls anymore.
5003 * Remove SilcSocketConnection from the SFTP API since it really
5004 wasn't needed there. The application has the information
5005 saved in its contexts anyway and the SFTP layer doesn't need
5006 know about it. Affected files lib/silcsft/silcsftp.h and
5007 lib/silcsftp/sftp_[server/client].c.
5009 * Rewrote the SILC SIM (modules) interface in lib/silcsim.[ch].
5010 The SilcSimContext is not SilcSim.
5012 * Fixed possible buffer overflows in silc_id_render in the
5013 lib/silcutil/silcutil.c.
5015 * On EPOC the global crypto module lists are not used at all
5016 in the crypto library. Added support for using the constant
5017 algorithm list on EPOC. Affected files are
5018 lib/silccrypt/silccipher.c, silchash.c, silchmac.c and
5021 * Fixed the handling of third parameter of KICKED notify, since
5022 it was mistakenly updated to SILC Protocol 1.0 even though it
5023 is to be included in 1.1. Since it is not in 1.0 it is not
5024 mandatory, and this fix now handles it only if it is provided,
5025 and it is not error if it is not provided. Affected file
5026 lib/silcclient/client_notify.c.
5028 Sat Mar 16 09:07:27 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5030 * Handled CHANNEL_CHANGE notify (ignore it) in Irssi SILC
5031 client. Affected file irssi/src/silc/core/client_ops.c.
5033 * Merged with Irssi 0.8.4 from irssi.org CVS.
5035 Thu Mar 14 12:53:57 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5037 * Check for valid socket connection in client entries before
5038 sending any messages. Fixes a crash, but doesn't fix some
5039 other underlaying bug that is lurking there. Affected
5040 file silcd/packet_send.c.
5042 Thu Mar 14 13:38:12 EET 2002 Timo Sirainen <tss@iki.fi>
5044 * $usermode, $cumode and $cumode_space expandos shouldn't do
5045 anything with non-SILC server records. Affected file
5046 irssi/src/silc/core/silc-expandos.c
5048 Wed Mar 13 21:38:26 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5050 * Fixed the silc_net_check_[host/local]_by_sock to support
5051 IPv6 bound sockets as well. Now they can return IPv6 addresses
5052 as well. Affected file lib/silcutil/silcnet.c.
5054 * Fixed silc_net_addr2bin to correctly convert IPv6 addresses.
5055 Affected lib/silcutil/unix/silcunixnet.c.
5057 * Fixed ID rendering (at least on some platforms, not NetBSD)
5058 for IPv6 addresses. Affected file lib/silcutil/silcutil.c.
5060 Tue Mar 12 17:58:59 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5062 * Added silc_hash_public_key and silc_hash_public_key_compare
5063 functions to be used with SilcHashTable. They can be used to
5064 hash public keys and compare public keys in hash table. Affected
5065 file lib/silcutil/silcutil.[ch].
5067 * Added support for specifying multiple public keys for Client
5068 connection section in server configuration file. This makes it
5069 possible to accept multiple public keys from same host, or to
5070 make a section that accepts any incoming host, and have the
5071 accepted public keys listed in the section.
5073 Added functions silc_sever_[find/get]_public_key, added the
5074 support for this actually to all connection sections but only
5075 the Client section is currently allowed to specify multiple
5078 Affected files are silcd/server.c, server_internal.h,
5079 command.c, protocol.c, server_util.[ch], packet_receive.c.
5081 Mon Mar 11 23:37:38 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5083 * Merged Irssi 0.8.2 from irssi.org CVS.
5085 Sun Mar 10 23:34:48 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5087 * If silc_debug is TRUE, also output standard logging messages
5088 to stderr with the debug output.
5090 Made silc_log_reset_all() flushing all channels before returning.
5091 Also fixed some documentation typos.
5093 Affected files are lib/silcutil/silclog.[ch].
5095 Sun Mar 10 20:07:49 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5097 * Fixed the server to check correctly the amount of connections
5098 from single host, by checking also the type of the connection.
5099 Fixed also the comparison of number of connections and number
5100 of allowed connections. Affected files are silcd/server.c,
5103 Fri Mar 8 17:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5105 * Fixed the USERS command reply to save the user's mode on the
5106 channel as well. Fixed JOIN command reply to check whether a
5107 client is on channel already and not join it twice. Affected
5108 file lib/silcclient/command_reply.c.
5110 * Added new file silc-expandos.c into irssi/silc/core/ to return
5111 various stuff for various signal for the statusbar etc. updating.
5112 Now Irssi SILC client prints channel user modes etc. on the
5115 * The user mode (like server/router operator changes) is now shown
5116 on the Irssi SILC client's statusbar. The affected files are
5117 irssi/src/silc/core/client_ops.c, silc-expandos.c.
5119 Thu Mar 7 19:21:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5121 * Changed silc_mutex_[un]lock calls in lib/silcutil/silcschedule.c
5122 to SILC_SCHEDULE_[UN]LOCK macros.
5124 * Added more error printing to logs in server code. Affected
5125 files silcd/server.c and silcd/protocol.c.
5127 * Fixed -S option parsing in Irssi SILC Client. Affected file
5128 irssi/src/silc/core/silc-core.c.
5130 * Added silc_buffer_alloc_size function. Affected file is
5131 lib/silcutil/silcbuffer.h.
5133 Tue Mar 5 14:37:27 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5135 * Changed all silc_[hash|hmac|cipher|pkcs]_default tables to
5136 constants. Affected files in
5137 lib/silccrypt/silcpkcs.[ch], silchash.[ch], silchmac.[ch] and
5140 * Changed the internal SFTP Memory FS table to const. Affected
5141 file lib/silcsftp/sftp_fs_memory.c.
5143 Sun Mar 3 18:37:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5145 * Fixed the buffer formatting and unformatting routines to
5146 check the size of 64 bits types with sizeof(). Affected
5147 file is lib/silcutil/silcbuffmt.c.
5149 Mon Feb 25 17:19:05 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5151 * Removed 0.6.x backwards support.
5153 Sun Feb 24 12:53:25 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5155 * Changed all integer type names:
5156 [u]int[8/16/32/64] -> Silc[UInt/Int][8/16/32/64]. This is
5157 to avoid collisions with other libraries using same type names
5160 Sat Feb 23 20:31:43 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5162 * Added `prefer_ipv6' argument to the functions
5163 silc_net_gethostbyname[_async]. If it is TRUE it will return
5164 IPv6 address over IPv4. If FALSE IPv4 address is returned
5165 even if IPv6 address was found. Affected files
5166 lib/silcutil/silcnet.[ch].
5168 * Added support silc_net_create_connection[_async] to fallback
5169 to IPv4 address if IPv6 address could not be used (like if
5170 it doesn't work on a specific system). Affected file in
5171 lib/silcutil/unix/silcunixnet.c.
5173 Sat Feb 23 15:20:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5175 * Added silc_schedule_reinit function to do the enlarging
5176 of the max tasks handling capabilities of the scheduler.
5177 Affected files lib/silcutil/silcschedule.[ch].
5179 Wed Feb 20 20:41:01 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5181 * Added automatic extern "C" { ... } for C++ compilers so the
5182 application does not need to define them. Affected file
5183 includes/silcincludes.h.
5185 * Renamed lib/silcclient/silcapi.h to silcclient.h as the
5186 old name went against naming convention. Applications now
5187 include "silcclient.h" instead of "clientlibincludes.h".
5188 Removed includes/clientlibincludes.h, it is redundant now.
5190 * Renamed includes/version.h to silcversion.h.
5192 * Added really preliminary support for OS/2 into the util
5193 library. Only thread & mutex API is implemented, others
5194 are still to be implemented. Created the lib/silcutil/os2/
5195 directory. Created also file includes/silcos2.h.
5197 Wed Feb 20 18:48:49 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5199 * Added preliminary BeOS support into the util library.
5200 Created lib/silcutil/beos/, and implemented all the needed
5201 functions to support SILC on BeOS. Created also file
5202 includes/silcbeos.h.
5204 Mon Feb 18 15:49:22 EET 2002 Timo Sirainen <tss@iki.fi>
5206 * Added proper initializations to silc's irssi code, so it's
5207 now possible to load it as module. Affected files
5208 irssi/src/silc/core/silc-core.c,
5209 fe-common/silc/fe-common-silc-core.[ch] and fe-text/silc.c
5211 Sun Feb 17 19:02:56 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5213 * Merged latest Irssi (0.8.1) from the irssi.org's CVS into
5216 * Fixed the silcdoc document generator to correct generate
5217 docs from all kinds of filenames. Affected files are
5218 util/robodoc/Source/generator.c, scripts/silcdoc/silcdoc
5220 * ROBOdoc documented lib/silcutil/silcmemory.h.
5221 Added also new function silc_memdup.
5223 * Removed lib/silcutil/silcbufutil.h and moved those routines
5224 to the lib/silcutil/silcbuffer.h.
5226 Sun Feb 17 15:52:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5228 * Added `user_count' to the SilcChannelEntry which now tells the
5229 number of users on the channel. The user count is now saved
5230 in normal server of global channels as well. Affected files
5231 silcd/server.c, idlist.h, packet_receive.c and command.c.
5233 * Splitted lib/silcutil/silcutil.[ch] into silcfileutil.[ch] to
5234 include file utility functions.
5236 * Fixed the lib/silcsftp/sftp_fs_memory.c to use silcutil routines
5237 instead of calling directly OS routines.
5239 * Fixed NICK change printing in Irssi SILC Client. Fixed
5240 KICKED notify printing in Irssi SILC Client. Affected file
5241 irssi/src/silc/core/client_ops.c.
5243 * Fixed a NICK change bug in client library, to not recreate the
5244 client_entry->channels hash table everytime nick is changed.
5245 Affected file lib/silcclient/client.c.
5247 Sun Feb 17 10:10:14 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5249 * ROBOdoc documented the lib/silcske/silcske.h, and improved
5250 the SKE interface a bit.
5252 * Fixed padding problem in PKCS#1. The padding was not actually
5253 random since the random number generator was used incorrectly.
5254 This security bug affects only when encrypting with PKCS#1, and
5255 it is not currently used at all in SILC. SILC only use signing
5256 with PKCS#1. Affected file lib/silccrypt/pkcs1.c.
5258 Sat Feb 16 13:44:24 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5260 * Rewrote the notify handling in Irssi SILC client to not call
5261 the events as signals. Fixes problems with Perl support.
5262 Affected files irssi/src/silc/core/client_ops.c, silc-channels.c.
5264 * Send the auto-nicking NICK command in client library with
5265 little timeout after connecting. The affected file is
5266 lib/silcclient/client.c.
5268 * Added following new config file settings:
5269 channel_rekey_secs, key_exchange_rekey, key_exchange_pfs,
5270 key_exchange_timeout, conn_auth_timeout, connections_max,
5273 Implemented all the new config settings handling in the server.
5275 Optimized the use of SKE Mutual flag usage. Use it only
5276 if connection authentication protocol is not based in public
5279 Renamed all SilcServerConfigSection* to SilcServerConfig*
5280 to have a bit shorter names.
5282 Affected files silcd/serverconfig.[ch], server.[ch], and
5285 Sat Feb 16 02:46:43 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5287 * Cleaned up the listening sockets code, preparing for the rehash
5288 support. Affected file is silcd/server.c.
5290 * Fixed some output messages. Affected files are silcd/silcd.c,
5293 Fri Feb 15 19:10:20 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5295 * Create lib/doc/silcrng_intro.html document as introduction
5296 to SILC RNG. ROBOdoc documented lib/silccrypt/silcrng.h.
5298 Fri Feb 15 13:23:03 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5300 * Fixes to the silcd config template. Affected file is
5301 doc/example_silcd.conf.in.
5303 * Removed type casts from silc_calloc(), conforming to the
5304 CodingStyle. Affected file is lib/silcutil/silcconfig.c.
5306 * Removed param_name member from client, server, and router
5307 section structs, now identifying the param directly.
5309 Added CONFIG_FREE_AUTH macro in config file parsing.
5311 Affected files are silcd/serverconfig.[ch].
5313 Fri Feb 15 12:24:08 EET 2002 Timo Sirainen <tss@iki.fi>
5315 * Fixed command line parameter handling. All SILC initialization
5316 is now done in silc_core_init() which also fixes autoconnecting
5319 Affected files irssi/src/silc/core/silc-core.c,
5320 irssi/src/fe-text/silc.c.
5322 Thu Feb 14 22:03:58 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5324 * Added new configuration options and blocks:
5325 keepalive_secs, reconnect_count, reconnect_interval,
5326 reconnect_interval_max, reconnect_keep_trying and
5327 require_reverser_lookup. Added ConnectionParam block, and
5328 implemented the connection parameters when connecting as
5329 initiator and when accepting connections as responder.
5331 Added CONFIG_IS_DOUBLE macro in config file parsing, to check
5332 whether given configuration value has been given already.
5334 Affected files silcd/serverconfig.[c], server.[c].
5336 * Splitted the doc/example_silcd.conf.in. Separated the crypto
5337 algorithm parts and created new file silcalgs.conf, that
5338 is now included from the example_silcd.conf.in.
5340 * Optimized the silc_server_connect_to_router_second to take
5341 the connection configuration object from the SilcServerConnection
5342 object instead of finding it during the connecting phase.
5343 Added the configuration object to SilcServerConnection struct.
5344 Affected files silcd/server_internal.h, server.c.
5346 Thu Feb 14 16:02:26 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5348 * Add the client on channel after it was resolved at the
5349 channel message receiving, and it was not already on the
5350 channel. Affected file lib/silcclient/client_channel.c.
5352 Wed Feb 13 23:16:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5354 * Fixed the public key authentication to allocate always the
5355 destination signature buffer instead of using static buffer.
5356 Affected file silcd/protocol.c.
5358 Wed Feb 13 20:51:13 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5360 * Unified the serverconfig.[ch]'s helper function interface.
5361 Affected file silcd/serverconfig.[ch].
5363 * Removed doc/example_silc.conf.in since it is redundant.
5364 The make install will now install irssi/silc.conf file.
5366 * Added new Passphrase and Publickey authentication methods to
5367 config file, allowing both public key and passphrase based
5368 authentication to be set at the same time.
5370 Added `prefer_passphrase_auth' setting in config file which
5371 can be used to set to prefer passwd auth if both passwd and
5372 public key is set. If not set, public key is preferred.
5373 This has effect only when being initiator (responder will try
5376 Added support for authentication with passphrase and public key
5377 at the same time. The passphrase is tried first always since
5378 it is faster to check.
5380 Affected file silcd/serverconfig.[ch], server.c, protocol.[ch].
5382 Wed Feb 13 12:46:25 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5384 * Merged the new SILC Config library, with the server parsing
5385 support. Read the header file silcconfig.h or the toolkit
5386 documentation for the news. Affected files are
5387 doc/example_silcd.conf.in lib/silcutil/silcconfig.[ch]
5388 silcd/command.c silcd/packet_receive.c silcd/packet_send.c
5389 silcd/protocol.c silcd/server.c silcd/server_backup.c
5390 silcd/serverconfig.[ch] silcd/silcd.c.
5392 * Fixed some silclog documentation. Affected file is
5393 lib/silcutil/silclog.h.
5395 Sun Feb 10 18:11:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5397 * The silc_cipher_register, silc_hash_register and
5398 silc_hmac_register now checks if the object to be registered
5399 is registered already. Affected files are
5400 lib/silccrypt/silccipher.c, silchash.c and silchmac.c.
5402 Sun Feb 10 15:48:38 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5404 * Merged new irssi from irssi.org's CVS, the version 0.7.99.
5406 Sat Feb 9 14:54:33 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5408 * Allow zero length channel messages inside the Channel Message
5409 Payload. Affected file lib/silccore/silcchannel.c.
5411 * Fixed scripts/silcdoc/silcdoc to support all kinds of filenames
5412 as header filenames.
5414 * Removed lib/silcclient/README and created HTML file
5415 lib/silcclient/silcclient_using.html, which is now included
5416 as part of Toolkit documentation.
5418 Thu Feb 7 10:12:25 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5420 * Fixed CUMODE_CHANGE notify handling to change the mode of
5421 correct client. Affected file lib/silcclient/client_notify.c.
5423 * Make silc_rng_alloc fail if it cannot allocate the sha1
5424 hash algorithm. Affected file lib/silccrypt/silcrng.c.
5426 Sun Feb 3 17:20:52 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5428 * Fixed the file transfer's key agreement payload to include
5429 zero port also if the hostname is NULL because it could not
5432 Call file transfer monitor callback now also if error occurs
5433 during key agreement protocol.
5435 Changed the silc_client_file_send interface to return the
5436 SilcClientFileError instead of session id. The session ID
5437 is returned into pointer provided as argument.
5439 Check that the file exists locally before sending the
5440 file transfer request at all.
5442 Affected file lib/silcclient/client_ftp.c, silcapi.h.
5444 * Added SILC_CLIENT_FILE_KEY_AGREEMENT_FAILED file transfer
5445 error than can occur while key agreement protocol. Affected
5446 file lib/silcclient/silcapi.h.
5448 * Fixed the event_mode CMODE handler to not crash when mode
5449 is changed and +k mode is set in the channel. Affected file
5450 irssi/src/silc/core/silc-channels.c.
5452 * Fixed SILC_LOG_ERROR to give out Error and not Warning, and
5453 SILC_LOG_WARNING to give out Warning and not Error. Affected
5454 file lib/silcutil/silclog.c.
5456 * Fixed the channel message payload decryption in the function
5457 silc_channel_message_payload_decrypt to not modify the original
5458 buffer before it is verified that the message decrypted
5459 correctly. Otherwise, next time it is called with correct
5460 channel key it won't encrypt since the payload is corrupted.
5461 Affected file lib/silccore/silcchannel.c.
5463 Sun Feb 3 11:46:12 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5465 * Do not constantly resize the window. A fix patch by cras.
5466 Affected file irssi/src/fe-text/screen.c.
5468 Sat Feb 2 16:54:18 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5470 * Applied IPv6 fix patch from Jun-ichiro itojun Hagino.
5471 Affected file lib/silcutil/silcnet.c.
5473 Fri Feb 1 22:33:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5475 * Fixed a bug in hash table internal routine for traversing
5476 the table with foreach callback. The current entry may
5477 become invalid in the callback but it was referenced after
5478 the callback returned.
5480 Do not allow auto rehashing of hash table during the
5481 silc_hash_table_foreach operation, for same reasons as it is
5482 not allowed for SilcHashTableList. Affected files are
5483 lib/silcutil/silchashtable.[ch].
5485 Fri Feb 1 14:55:00 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5487 * Defined DLLAPI into silcincludes.h and silcwin32.h for
5488 Win32 DLL. extern's in header files are now declared with
5491 Thu Jan 31 23:34:33 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5493 * Fixed private message handling. It used some old code that
5494 caused the client to crash. Affecte file is
5495 lib/silcclient/client_prvmsg.c.
5497 Thu Jan 31 19:06:22 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5499 * Added function silc_client_add_channel,
5500 silc_client_replace_channel_id, and removed functions
5501 silc_client_new_channel_id and silc_idlist_get_channel_by_id
5502 from client library.
5504 * Added cross reference of the joined channels to the
5505 SilcClientEntry, and changed the SilcChannelEntry's
5506 users list to SilcHashTable. The affected files are
5507 lib/silcclient/idlist.[ch].
5509 * Fixed a bug in hash table tarversing. While the hash table
5510 is traversed with SilcHashTableList the table must not be
5511 rehashed. It is now guaranteed that auto rehashable tables
5512 are not rehashed while tarversing the list. Also defined that
5513 silc_hash_table_rehash must not be called while tarversing
5514 the table. Added function silc_hash_table_list_reset that must
5515 be called after the tarversing is over. The affected files are
5516 lib/silcutil/silchashtable.[ch].
5518 * Changed all hash table traversing to call the new
5519 silc_hash_table_list_reset in server and in client library.
5521 * Added function silc_client_on_channel to return the
5522 SilcChannelUser entry if the specified client entry is joined
5523 on the specified channel. This is exported to application as
5524 well. Affected files lib/silcclient/client_channel.c, silcapi.h.
5526 Wed Jan 30 19:14:31 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5528 * Fixed founder regaining problem with JOIN command on normal
5529 server. The notify for mode change must be sent always and
5530 not only if !cmd->pending. Affected file silcd/command.c.
5532 * Fixed the WHOWAS command's reply sending to support the
5533 lists correctly. Affected file silcd/command.c.
5535 Wed Jan 30 11:11:47 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5537 * When sending JOIN command to router for processing the
5538 sender's old command identifier was not saved back to the
5539 sender's command context, fixed now. The affected file is
5542 * Create the key in JOIN command of the router did not return
5543 the channel key, added check for this. Affected file is
5546 * Fixed a channel ID update bug in JOIN command reply. Do
5547 not directly upgrade the ID but call the function
5548 silc_idlist_replace_channel_id if the ID was changed.
5549 Affected file silcd/command_reply.c.
5551 * Fixed memory leaks from command calling if it would fail.
5552 Affected file silcd/command.c.
5554 Tue Jan 29 19:49:31 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5556 * Applied patches from cras:
5558 Memory leak fixes around libaries, irssi window resize fix,
5559 new silclist.h and silcdlist.h, all extern inline changed to
5562 * Removed dotconf from lib/dotconf, not needed anymore.
5564 * Removed TRQ from lib/trq, not needed anymore.
5566 * Do more frequent heartbeats (5 minutes instead of 10 minutes)
5567 with server connections. Later this will be configurable
5568 in config file after new config file is done. Affected file
5571 Tue Jan 29 10:35:03 CET 2002 Pekka Riikonen <priikone@silcnet.org>
5573 * Fixed a crash in server related to channel announcements.
5574 Affected file silcd/server.c.
5576 Mon Jan 28 17:49:42 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5578 * Fixed memory leaks in silc_server_create_new_channel*
5579 functions. Affected file silcd/server.c.
5581 * Fixed the CHANNEL_CHANGE notify to re-announce the channel
5582 which ID was changed. This way the router will send the
5583 user list for the channel again, and server won't be in
5584 desync in some rare circumstances. Affected file is
5585 silcd/packet_receive.c.
5587 Sun Jan 27 21:04:19 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5589 * Check for NULL socket pointer in the function
5590 silc_server_packet_send_to_channel_real. Affected file
5591 silcd/packet_send.c.
5593 * Fixed the BAN notify handling to correctly remove ban
5594 list. Affected file silcd/packet_receive.c.
5596 Sat Jan 26 23:01:03 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5598 * Fixed some header addition to Toolkit distribution in
5599 lib/silcutil/Makefile.am and lib/trq/Makefile.am.
5601 * Added lib/silcclient/client_ops_example.h as an template
5602 file for application programmers to quickly start using
5603 the SilcClientOperation functions in their application.
5604 Updated the lib/silcclient/README as well to tell about this
5605 nice file made available.
5607 Sat Jan 26 10:45:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5609 * Call silc_server_remove_from_channels when removing client
5610 entry when NO_SUCH_CLIENT_ID was received. Affected file
5611 is silcd/command_reply.c.
5613 Fri Jan 25 19:12:36 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5615 * Added server & router operator statistics updating. Affected
5616 file silcd/packet_receive.c and silcd/command.c.
5618 * Fixed the SERVER_SIGNOFF notify handling on normal server
5619 not to save the history information for clients. Same was
5620 fixed earlier in remove_clients_by_server function, but not
5621 here. Affected file silcd/packet_receive.c.
5623 * Raised the default connection-retry count from 4 to 7 in
5624 server. Affected file silcd/server.h.
5626 * Cancel any possible reconnect timeouts when we start the
5627 key exchange. Affected file silcd/server.c.
5629 * Do not reconnect on connection failure when SCONNECT was
5630 given. Affected files silcd/server.[ch].
5632 Tue Jan 22 18:19:36 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5634 * Removed assert()'s from the lib/silcclient/client_keyagr.c.
5636 * Fixed the NICK command to always give the unformatted
5637 nickname to the one giving the NICK command. If unformatted
5638 nickname is cached already it will be formatted and the
5639 local entry will always get the unformatted nickname.
5640 Affected file lib/silcclient/idlist.c.
5642 * Fixed some double frees from client library commands.
5643 Affected file is lib/silcclient/command.c.
5645 * Fixed CUMODE command in server to assure that no one can
5646 change founder's mode than the founder itself, there was a
5647 little bug. Affected file silcd/command.c.
5649 Mon Jan 21 19:07:53 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5651 * Removed the SilcClientCommandDestructor from the client
5652 libary, it is not needed anymore. Affected files are
5653 lib/silcclient/silcapi.h, command[_reply].[ch],
5654 client_notify, idlist.c.
5656 * Fixed GETKEY command to first resolve client, and then
5657 resolve the server only if the client was not found, instead
5658 of resolving both at the same time. Affected file is
5659 lib/silcclient/command.c.
5661 * Added silc_client_start_key_exchange_cb and lookup the
5662 remote hostname and IP address before starting the key
5663 exchange with server. The affected file is
5664 lib/silcclient/client.c.
5666 * The server's public key is now saved using the IP address
5667 of the server and not the servername for the filename.
5668 The hostname public key filename is checked as an fall back
5669 method if the IP address based filename is not found.
5671 Fixed the GETKEY command to save the fetched server key
5672 in correct filename.
5674 Print the remote server's hostname now when new key is
5675 received during connection process. Affected file is
5676 irssi/src/silc/core/client_ops.c.
5678 * Return always our own public key to the client if it asks
5679 for it with GETKEY command. Affected file silcd/command.c.
5681 * Removed the use_auto_addr variable from default config
5682 file since it was in wrong section. Affected file is
5685 * Fixed TOPIC_CHANGE notification to not route it when it
5686 was sent using silc_server_send_notify_to_channel function.
5687 Affected file silcd/command.c.
5689 * Fixed silc_server_send_notify_kicked to send the kicker's
5690 Client ID also, it was missing. Affected files are
5691 silcd/command.c, silcd/packet_send.[ch].
5693 Thu Jan 17 18:59:11 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5695 * Do not save client history information in SERVER_SIGNOFF.
5696 Fixes the bug in normal server that it does not detect
5697 the client becoming valid after the server becomes back
5698 online. Affected file silcd/server_util.c.
5700 * Added `sock_error' field into the SilcSocketConnection
5701 context. When error occurs during socket operation (read
5702 or write) the error is saved. Added also new function
5703 silc_socket_get_error to return human readable socket error
5704 message. Affected files are lib/silcutil/silcsockconn.[ch],
5705 lib/silcutil/unix/silcunixsockconn.c, and
5706 lib/silcutil/win32/silcwin32sockconn.c.
5708 * The server now prints the socket error message in the
5709 signoff for client. Affected file silcd/server.c.
5711 * Fixed the `created' channel information sending from router
5712 to server in JOIN command. Checks now whether the channel
5713 really was created or not and set it according that.
5715 Fixed the JOIN command to use the client entry's current
5716 ID during the joining procedure instead of the one it sent
5717 in the command (it is checked though), since it can change
5718 between the packet processing and command processing, and
5719 would just case unnecessary pain in the client end. Affected
5720 file silcd/command.c.
5722 * Fixed a channel key payload sending to use correct channel
5723 ID when the server was forced to change the channel's ID by
5724 router. Router sent the key payload with the old Channel ID.
5725 Affected file silcd/packet_receive.c.
5727 Wed Jan 16 22:26:30 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5729 * Call silc_server_save_channel_key only if the key payload
5730 was provided in the JOIN command's command reply. Affected
5731 file silcd/command_reply.c.
5733 Tue Jan 15 18:49:41 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5735 * Fixed silc_mp_sizeinbase to return the value correctly with
5736 MPI. Affected file lib/silcmath/mp_mpi.c.
5738 * Fixed the stop_server signal to correctly stop the scheduler
5739 and gracefully stop the server when SIGTERM or SIGINT signals
5740 are received. Affected file silcd/silcd.c.
5742 Mon Jan 7 23:38:19 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
5744 * Simple handling of TERM and HUP signals. Also added some log
5745 flushing call around. Affected file is
5748 * Fixed small bugs in silclog.c. Now buffering output will take
5749 effect after 10 seconds since startup: This will ensure that
5750 no important startup messages are lost. Also output redirection
5751 will preserve original format ([Date] [Type] message).
5752 Affected file is lib/silcutil/silclog.c.
5754 * Added two options to the config file, in the logging section:
5755 quicklogs:<yes/no>: and flushdelay:<seconds>:. Affected files
5756 lib/silcutil/silclog.[ch], silcd/serverconfig.[ch].
5758 Sun Jan 6 12:49:40 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5760 * Do not print the warning about log files not being initialized
5761 more than once to avoid excess logging. Affected file is
5762 lib/silcutil/silclog.c.
5764 * Fixed the SIM compilation in lib/silcsim/Makefile.am. Fixed
5765 the SIM copying in make install in Makefile.am.pre.
5767 Sun Jan 6 01:10:21 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
5769 * Rewritten silclog APIs. Globally interesting changes follows:
5770 silc_log_set_files() changed to silc_log_set_file().
5771 silc_log_set_callbacks() changed to silc_log_set_callback().
5772 ROBOdoc documented silclog header file.
5773 SilcLogCb now returns bool to wether inihibit the default
5774 handler or not (to keep the old behaviour return always TRUE).
5775 The new APIs should also fix the problem of the
5776 silcd_error.log file that was written in the current directory.
5779 Log files streams will remain opened after silc_log_set_file()
5780 call, means less CPU usage notably on high traffic servers.
5781 File streams are now full buffered, and flushed to the disk
5782 every 5 minutes, lesses HD activity and CPU usage.
5783 Messages can be redirected, allowing admins to configure
5784 one single logfile for all server messages.
5785 the silc_log_quick global variable to activate fast-logging.
5786 Affected files lib/silcutil/silclog.[ch]
5788 * Changed some code to conform new silclog APIs. Affected
5789 files are doc/example_silcd.conf.in, silcd/server.c
5790 irssi/src/silc/core/silc-core.c, silcd/serverconfig.[ch],
5793 * Fixed a memory leak that could occur in some situations.
5794 Affected file silcd/serverconfig.c.
5796 Sat Jan 5 13:37:29 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5798 * Added the silc_client_del_client to remove the client from
5799 all channels as well. Affected file lib/silcclient/idlist.c.
5801 * Fixed the client library to correctly remove the client
5802 from all channels when the client entry is being destroyed.
5803 Affected file lib/silcclient/client_notify.c, command.c.
5805 * Added auto-nicking support to the client library. If the
5806 applicatio now sets client->nickname it will be sent to the
5807 server after connecting by the library. This way for example
5808 SILCNICK (or IRCNICK) environment variables will have effect
5809 and always change the nickname automatically to whatever
5810 it is wanted. Affected file lib/silcclient/client.[ch].
5812 * Renamed silc_server_command_bad_chars to the
5813 silc_server_name_bad_chars and moved it to the
5814 silcd/server_util.[ch]. Added also new function
5815 silc_server_name_modify_bad to return nickname that
5816 includes bad characters as new nickname without those
5817 bad characters. This check and modify is now used in
5818 silc_server_new_client when the username is initially set
5819 as nickname, so it must be checked to be valid nickname.
5820 Affected file silcd/packet_receive.c.
5822 * The nickname length is now taken from the packet for real
5823 and not trusted to strlen() since it clearly can return
5824 wrong length for nickname including bad characters. This
5825 also applies to channel names. Affected file silcd/command.c.
5827 * Removed the lib/silcsilm/modules directory. Modules are now
5828 compiled into the lib/silcsim. Fixed the copying of the
5829 modules to follow symbolic links in Makefile.am.pre.
5831 Wed Jan 2 18:56:21 EET 2002 Pekka Riikonen <priikone@silcnet.org>
5833 * Fixed silc_string_regexify list creation. Fixes bugs with
5834 BAN and INVITE commands in server. The affected file is
5835 lib/silcutil/unix/silcunixutil.c.
5837 Sun Dec 30 13:41:34 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5839 * Removed the command destructor entirely from the server's
5840 command and command reply routines. It is not needed, and
5841 its usage was buggy and caused crashes. Affected files are
5842 silcd/command[_reply].[ch].
5844 Fri Dec 28 12:43:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5846 * Cancel protocol and NULL sock->protocol if timeout
5847 occurred during protocol. Affected file silcd/server.c.
5849 * Cancel protocol timeouts always before calling the final
5850 callback, to assure that after final callback is called
5851 no other state will be called for the protocol anymore.
5852 Affected file silcd/protocol.c.
5854 * Print error log if incoming connection configuration could
5855 not be found. Affected file silcd/server.c.
5857 * Fixed JOIN command to correctly save the founder mode
5858 to the client on normal SILC server, when the channel
5859 was created by the router. Affected file silcd/command.c.
5861 * Fixed LIST command (hopefully) to send correct reply
5862 packets. Affected file silcd/command.c.
5864 Thu Dec 20 16:14:52 CET 2001 Pekka Riikonen <priikone@silcnet.org>
5866 * The silc_packet_receive_process now returns FALSE if the
5867 read data was invalid packet, and TRUE if it was ok.
5869 The server now checks that if unauthenticated connection
5870 sends data and its processing fails the server will close
5871 the connection since it could be a malicious flooder.
5873 Affected files lib/silccore/silcpacket.[ch], silcd/server.c.
5875 Wed Dec 19 21:31:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5877 * Make sure the warning about error opening a log file is
5878 printed only once and not everytime it fails (produces
5879 too much useless log). Affected file lib/silcutil/silclog.c.
5881 Wed Dec 19 18:21:51 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
5883 * Made the silc_server_daemonise() function more readable.
5884 Affected file silcd/server.c.
5886 * Pid file is now optional, the user may comment it out from
5887 the config file. Removed define SILC_SERVER_PID_FILE, we
5888 don't need a default any longer. Affected file
5889 configure.in.pre, lib/Makefile.am.pre.
5891 * Make some use of the pid file. The server now dies at startup
5892 if it detects a valid pid file on his path. The server would
5893 die anyway in this circumstance, because of the bind() failure.
5894 Affected file silcd/silcd.c.
5896 * No longer compiling lib/dotconf.
5898 Mon Dec 17 18:24:27 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5900 * Fixed JOIN command parsing not to crash. Affected file
5901 lib/silcclient/command.c.
5903 * Fied the NICK_CHANGE notify to add the new client entry
5904 even it is resolved. This removes an <[unknown]> nick
5905 thingy bug in the client. Affected file is
5906 lib/silcclient/client_notify.c.
5908 * Do not try to allocate 0 bytes (efence does not like it)
5909 in lib/silccore/silccomand.c when encoding payload.
5911 * Do not take IRCNICK as nickname in Irssi SILC client since
5912 it is not possible to set nickname before hand connecting
5913 the server (TODO has an entry about adding auto-nicking
5916 * Changed the silc_server_command_pending to check whether
5917 there already exists an pending entry with the specified
5918 command, command identifier and pending callback. This is
5919 to fix IDENTIFY and WHOIS related crashes that may register
5920 multiple pending commands with same identifier. Affected
5921 file silcd/command.c.
5923 * Fixed the server to reconnect to the router even if it
5924 was already reconnecting and EOF was received. This to
5925 fix a possibility that the server wouldn't ever try to
5926 auto-reconnect to the router. Affected file silcd/server.c.
5928 Sat Dec 15 20:31:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5930 * Fixed the server's password authentication to use the
5931 length of the locally saved password, and not the one
5932 sent in the packet. Affected file silcd/protocol.c.
5934 * Fixed same password authentication problem in the
5935 Authentication Payload handling routines in
5936 lib/silccore/silcauth.c.
5938 * Yet another password authentication problem fixed with
5939 channel password handling in silcd/command.c.
5941 Mon Dec 10 19:57:40 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5943 * If first character of string in silc_parse_userfqdn is '@'
5944 then do not parse it. Affected file is
5945 lib/silcutil/silcutil.c.
5947 Sun Dec 9 22:18:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5949 * Fixed minor bug in IDENTIFY command reply sending, which
5950 caused various weird problems during JOIN when it was
5951 resolving names for users. Affected file silcd/command.c.
5953 Sun Dec 9 19:18:41 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5955 * Fixed the IDENTIFY command reply sending to chech better valid
5956 clients. It was possible to send incomplete list of replies.
5957 Affected file silcd/command.c.
5959 Sat Dec 8 15:58:31 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5961 * Added silc_client_command[s]_[un]register functions now to
5962 dynamically register the commands in client library. Removed
5963 the static table of commands. This allows the client library
5964 to call commands without causing the application to know about
5965 what commands library has called.
5967 Removed the INFO command reply kludge to detect when the command
5968 was called by library. Now library use its own command reply
5969 function for INFO command.
5971 Added function silc_client_command_call to call a command.
5972 Application can use it to call command, not access the structure
5975 Now all commands that are sent by the client library (not
5976 explicitly sent by application) use own command reply functions.
5978 Affected files around lib/silcclient/ and in
5979 irssi/src/silc/core/.
5981 * Fixed the WHOIS command reply sending to chech better valid
5982 clients. It was possible to send incomplete list of replies.
5984 Fixed the WHOIS and IDENTIFY to send the request to router
5985 if normal server did not do it and did not find any results.
5987 Affected file silcd/command.c.
5989 Thu Dec 6 17:21:06 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5991 * Moved the internal data from SilcClient context into its
5992 own file, not accesible to application. Affected files
5993 lib/silcclient/client.h and lib/silcclient/client_internal.h,
5994 and other files in client library.
5996 Thu Dec 6 10:37:55 EET 2001 Pekka Riikonen <priikone@silcnet.org>
5998 * Added doc/examples installation target in Makefile.am.pre.
6001 Tue Dec 4 17:43:19 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6003 * If NO_SUCH_CLIENT_ID notify is received for WHOIS or IDENTIFY
6004 commands the found client entry will be removed from the
6005 cache, after notifying application about the error. Affected
6006 file lib/silcclient/command_reply.c.
6008 * Changed the /MSG to check for exact nickname user gave, and
6009 not let `nick' match `nick@host' if it is only one found. Now,
6010 user must type the exact nickname (like nick@host2) even if
6011 there are no more than one same nicks found. This is to avoid
6012 a possibility of sending nickname to wrong nickname since
6013 `nick' could match `nick@host'. Affected file is
6014 irssi/src/core/silc-servers.c.
6016 Mon Dec 3 18:49:45 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6018 * Do not print "you are now server operator" or similar when
6019 giving /away command. Affected files are
6020 irssi/src/silc/core/client_ops.c, silc-servers.h.
6022 * Made the silc_server_command_pending_error_check to send
6023 the same command reply payload it received back to the
6024 original sender of the command. This way all arguments
6025 that was received by the server will be received by the
6026 client too. Affected file silcd/command.c.
6028 * Added the silc_idcache_add to return the created cache entry
6029 to a pointer. Affected file lib/silccore/silcidcache.[ch].
6031 * Add global clients to expire if they are not on any channel.
6032 This is because normal server will never know if they signoff
6033 if they are not on any channel. The cache expiry will take
6034 case of these entries. This is done by normal servers only.
6035 The affected files are silcd/command_reply.c,
6036 silcd/idlist.[ch], silcd/server and silcd/packet_receive.c.
6038 * If server receives invalid ID notification for WHOIS or
6039 IDENTIFY and the ID exists in the lists, it is removed.
6040 Affected file silcd/command_reply.c.
6042 * If NO_SUCH_CLIENT_ID is received for WHOIS or IDENTIFY command
6043 in client then client entry that it matches is searched and
6044 the nickname is printed on the screen for user. Affected
6045 file irssi/src/silc/core/client_ops.c.
6047 Mon Dec 3 11:56:59 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6049 * Use cache entry expire time in the LIST command reply to
6050 purge old entries from the cache after the LIST command
6051 reply has been received. This way we don't have non-existent
6052 entries in the cache for too long. Affected file is
6053 silcd/command_reply.c.
6055 Sun Dec 2 23:29:07 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6057 * If we are normal server, and we've not resolved client info
6058 in WHOIS or IDENTIFY from router, and it is global client,
6059 we'll check whether it is on some channel. If it is not
6060 then we cannot be sure about its validity and will resolve it
6061 from router. Fixes a bug in WHOIS and IDENTIFY. Affected
6062 file silcd/command.c.
6064 * Search channel by name (if possible) rather than by ID
6065 in IDENTIFY command's command reply. Affected file is
6066 silcd/command_reply.c.
6068 Sun Dec 2 13:48:46 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6070 * Distribute to the channel passphrase in CMODE_CHANGE notify.
6071 Updated specs and implemented it. Affected file silcd/command.c,
6072 silcd/packet_send.c and silcd/packet_receive.c.
6074 * Implemented the <founder auth> payload handling in the JOIN
6075 command. If provided all conditions for channel joining
6076 except requirement to provide correct passphrase can be
6077 overrided by the channel founder. Updated the protocol specs.
6078 Affected file silcd/command.c.
6080 Added support for founder auth in JOIN command in client
6081 library. Fixed the parsing of the JOIN command now to support
6082 all options as they should be. The affected file is
6083 lib/silcclient/command.c.
6085 * Optimized the WHOIS and IDENTIFY commands to send the request
6086 to router only if it includes nicknames or other names. If
6087 they include only IDs then check the local cache first before
6088 routing. Affected file is silcd/command.c.
6090 * Added channels topic announcements. Affected file is
6091 silcd/packet_receive.c and silcd/server.c.
6093 * Fixed the silc_server_send_notify_topic_set to really destine
6094 the packet to channel. Affected file silcd/packet_send.c.
6096 * Fixed a crash in CHANNEL_CHANGE notify handling in the client
6097 library. Affected file lib/silcclient/client_notify.c.
6099 * Added UMODE announcements. Affected file silcd/server.c.
6101 Sat Dec 1 12:52:39 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6103 * Memory leak fixes in:
6105 lib/silcutil/silcsockconn.c
6106 lib/silcske/silcske.c
6107 lib/silcske/groups.c
6109 lib/silccrypt/silcpkcs.c
6110 lib/silccore/silccommand.c
6111 lib/silccore/silcidcache.c
6116 * ROBOdoc documented the lib/silcske/groups.h file and a
6117 bit changed the interface for better.
6119 Thu Nov 29 22:12:50 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6121 * Update the client entry context in the ID cache after
6122 nick change. Affected file lib/silcclient/command.c.
6123 Fixes the CUMODE command when regaining founder privileges,
6124 and a little WHOIS problem.
6126 * Fixed silc_net_gethostbyname to correctly call the
6127 inet_ntop. Affected file lib/silcutil/silcnet.c.
6129 Thu Nov 29 19:31:23 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6131 * Added IPv6 support checking to the configure.in.pre, added
6132 also --enable-ipv6 option to override the check. Affected
6133 file configure.in.pre.
6135 * The silc_thread_create now calls the start function
6136 directly if threads support is not compiled in. Removes
6137 ugly #ifdef's from generic code. Affected files are
6138 lib/silcutil/unix/silcunixthread, win32/silcwin32thread.c.
6140 * Added silc_net_gethostby[name/addr]_async to asynchronously
6141 resolve. Affected files are lib/silcutil/silcnet.[ch].
6143 * Added support for rendering IPv6 based server, client and
6144 channel IDs. Affected file lib/silcutil/silcutil.c.
6146 * Added support for creating IPv6 based server IDs. Affected
6147 file is silcd/serverid.c.
6149 Wed Nov 28 23:46:09 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6151 * Added silc_net_gethostby[addr/name] into the
6152 lib/silcutil/silcnet.[ch]. Added IPv6 support to Unix network
6153 routines. Added silc_net_is_ip[4/6]. Affected file is
6154 lib/silcutil/unix/silcunixnet.c. All routines that take
6155 address as argument now supports both IPv4 and IPv6 addresses.
6157 Mon Nov 26 18:09:48 EET 2001 Pekka Riikonen <priikone@silcnet.org>'
6159 * Fixed LIST command reply sending in server. Affected file
6162 * Server now sends the kicker's client ID in the KICK notify
6163 to the kicked client. Affected file silcd/command.c.
6165 * The client library now parses the kickers client ID and
6166 UI displays it. Affected files lib/silcclient/client_notify.c
6167 and irssi/src/silc/core/silc-channels.c, module-formats.c.
6169 * Made all payload parsing function prototypes consistent.
6170 They all take now const unsigned char * and uint32 pair as
6171 the payload data instead of SilcBuffer. Changes all around
6172 the source tree. Other unsigned char* -> const unsigned char*
6173 changes around the tree as well.
6175 * Optimized SFTP client and server packet sending not to
6176 allocate new buffer for each packet but to recycle the
6177 first allocated buffer. Affected files are
6178 lib/silcsftp/sftp_client.c, sftp_server.c, sftp_util.[ch].
6180 * Optimized the SFTP client to use SilcList instead of
6181 SilcDList for requests, because it is faster. Affected file
6182 is lib/silcsftp/sftp_client.c.
6184 * Moved the ID Payload routines from lib/silccore/silcpayload.[ch]
6185 into lib/silccore/silcid.[ch].
6187 Renamed silcpayload.[ch] into silcargument.[ch].
6189 Mon Nov 26 15:01:53 CET 2001 Pekka Riikonen <priikone@silcnet.org>
6191 * If client entry is deleted with active key agreement
6192 session, abort the session.
6194 The silc_client_abort_key_agreement now calls the completion
6195 callback with new SILC_KEY_AGREEMENT_ABORTED status.
6197 Affected file lib/silcclient/silcapi.h, client_keyagr.c and
6200 Sun Nov 25 18:01:45 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6202 * Don't use __restrict in older GCC's. Affected file is
6203 lib/silcmath/mpi/mpi-priv.h. A patch by salo.
6205 * silc_net_localhost now attempts to reverse lookup the
6206 IP/hostname. Affected file lib/silcutil/silcnet.c.
6208 * Defined <founder auth> argument to the SILC_COMMAND_JOIN
6209 command. It can be used to gain founder privileges at
6210 the same time when joining the channel.
6212 Defined that the SILC_NOTIFY_TYPE_KICKED send the
6213 kicker's client ID as well. Updated protocol specs.
6215 Defined that the server must send SILC_COMMAND_IDENTIFY
6216 command reply with error status to client who sent
6217 private message with invalid client ID.
6219 Updated the protocol specification.
6221 * Added silc_server_send_command_reply to send any
6222 command reply. Affected file silcd/packet_send.[ch].
6224 * Added silc_id_payload_encode_data to encode ID payload
6225 from raw ID data. Affected file lib/silccore/silcpayload.[ch].
6227 * The server now send IDENTIFY command reply with error
6228 status if client ID in private message is invalid. Affected
6229 file silcd/packet_receive.c.
6231 * Save the server key file with server's IP address in
6232 the filename instead of hostname. The affected file is
6233 irssi/src/silc/core/client_ops.c.
6235 Sat Nov 24 20:08:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6237 * Typo fixes in irssi/src/fe-common/silc/module-formats.c.
6240 * Added libtool support for compiling shared objects in
6241 lib/silcsim. Affected file configure.in.pre and
6242 lib/silcsim/Makefile.am. Original patch by cras.
6244 Fri Nov 23 23:30:59 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6246 * Pid file configuration, and server's config file fixes
6247 patch by toma. Updated CREDITS file.
6249 Sun Nov 18 01:34:41 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6251 * Fixed silc_client_channel_message to not try to decrypt
6252 the message twice if it resolved the destination client
6253 information. This could cause of dropping one channel
6254 message. Affected file lib/silcclient/client_channel.c.
6256 Wed Nov 14 23:44:56 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6258 * Added silc_client_run_one into lib/silcclient/silcapi.h and
6259 lib/silcclient/client.c. This function is used when the SILC
6260 Client is run under some other scheduler, or event loop or
6261 main loop. On GUI applications, for example this may be
6262 desired to used to run the client under the GUI application's
6263 main loop. Typically the GUI application would register an
6264 idle task that calls this function multiple times in a second
6265 to quickly process the SILC specific data.
6267 Wed Nov 14 19:16:52 CET 2001 Johnny Mnemonic <johnny@themnemonic.org>
6269 * Fixed silc_server_drop() for dropping the supplementary
6270 groups as well, this could cause a security hole on some
6273 Wed Nov 14 16:22:25 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6275 * __pid_t -> pid_t in lib/silccrypt/silcrng.c. A patch by
6278 * Write PID file after dropping privileges. Added -F option
6279 to run server on foreground. A patch by debolaz.
6280 Affected files silcd/server.c, silcd/silcd.c.
6282 * Fixed MOTD to return the MOTD file server name. Affected
6283 file silcd/command.c.
6285 * Added INFO command reply handling to the Irssi SILC Client.
6286 Affected file irssi/src/silc/core/client_ops.c.
6288 Wed Nov 14 00:18:08 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6290 * Fixed the silc_idcache_list_* routines to really support
6291 the dynamic list. Fixes a crash. Affected file is
6292 lib/silccore/silcidcache.c.
6294 * Fixed the LIST command reply to really call LIST command's
6295 pending callbacks. Affected file silcd/command_reply.c.
6297 Tue Nov 13 00:49:17 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6299 * Update conn->local_entry->nickname after giving NICK
6300 command. Affected file lib/silcclient/command.c.
6302 Sun Nov 11 23:43:02 PST 2001 Brian Costello <bc@wpfr.org>
6304 * Added the [pid] option to the silcd configuration file
6306 Affected files: serverconfig.[ch] and silcd.c
6308 Sun Nov 11 23:56:39 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6310 * Save fingerprint in WHOIS command reply in server.
6311 Affected file silcd/command_reply.c.
6313 * Fixed NICK commands pending callback registration.
6314 Affected file lib/silcclient/command.c.
6316 Sun Nov 11 10:49:10 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6318 * Use ++server->cmd_ident when sending commands in server,
6319 instead of random number. Affected file silcd/command.c.
6321 * Fixed GETKEY command reply to call actually GETKEY pending
6322 command callbacks. Affected file silcd/command_reply.c.
6324 * A bit stricter check for nicknames. Check for same nickname
6325 in NICK command also. Affected file silcd/command.c.
6327 * Do not call INFO command everytime client ID changes, only
6328 during first connecting. Affected file lib/silcclient/client.c.
6330 * Set the new nickname only after successful command reply for
6331 NICK command is returned by server. Affected file
6332 lib/silcclient/command.c.
6334 * Remove nicknames from nicklist during server_signoff notify.
6335 Should fix /NAMES bit more. The affected file is
6336 irssi/src/silc/core/silc-channels.c.
6338 * Added `fingerprint' field to the SilcIDListData in the
6339 silcd/idlist.h to hold the fingerprint of the client's
6342 Send the fingerprint of the client's public key in WHOIS
6345 Affected files silcd/command.c, and silcd/idlist.[ch].
6347 * Added silc_fingerprint into lib/silcutil/silcutil.[ch] to
6348 create fingerprint from given data.
6350 * Show the fingerprint of the client's public key in WHOIS.
6351 Affected files irssi/src/module-formats.[ch] and
6352 irssi/src/silc/core/client_ops.c.
6354 * Format the multiple same nicknames also during JOIN and
6355 NICK_CHANGE notifys. Affected file is
6356 lib/silcclient/client_notify.c.
6358 * Do not print error on screen for invalid private message
6359 payload since it can come if someone is sending private
6360 messages with wrong key. Affected file
6361 lib/silccore/silcprivate.c.
6363 * Fixed multiple concurrent /PING crash. Affected file
6364 lib/silcclient/command.c.
6366 * Changed the wrong ID encoding. All IP addresses must be
6367 in MSB first order in encoded format. They were encoded
6368 wrong and was in LSB format. Affected files are
6369 silcd/serverid.c, lib/silcutil/silcutil.c.
6371 * Remove silc_net_addr2bin_ne from lib/silcutil/silcnet.[ch].
6373 * Call the `connect' client operation through the scheduler
6374 in case of error. Affected file lib/silcclient/client.c.
6376 * Call the `failure' client operation even if the error
6377 occurred locally during a protocol. Affected file is
6378 lib/silcclient/protocol.c.
6380 * Added support of sending LIST command to router from normal
6381 server. This way normal server can get list of all channels
6382 in the network too. Fixed the channel list sending in the
6383 server too. Affected files are silcd/command.c, and
6384 silcd/command_reply.[ch].
6386 * Added silc_server_update_channels_by_server and
6387 silc_server_remove_channels_by_server. They are used during
6388 disconnection of primary router and in backup router protocol.
6389 Affected file silcd/server_util.[ch], silcd/server.c and
6390 silcd/server_backup.c.
6392 * Fixed channel adding to global list in IDENTIFY command
6393 reply in server. Affected file silcd/command_reply.c.
6395 Sat Nov 10 21:39:22 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6397 * If the incoming packet type is REKEY or REKEY_DONE process
6398 that packet always synchronously. Fixes yet another MAC
6399 failed error on slow (dialup) connections. Affected file
6400 lib/silcclient/client.c and silcd/server.c.
6402 Thu Nov 8 22:21:09 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6404 * Call check_version SKE callback for initiator too. Affected
6405 file lib/silcske/silcske.c.
6407 * Implemented fix for security hole found in the SKE that was
6408 fixed in the specification few days back; the initiator's
6409 public key is now added to the HASH value computation.
6410 Added backwards support for the old way of doing it too, for
6411 old clients and old servers. Affected file is
6412 lib/silcske/silcske.c.
6414 * Enabled mutual authentication by default in SKE. If initiator
6415 is not providing mutual authentication the responder will
6416 force it. This will provide the proof of posession of the
6417 private key for responder. The affected files are
6418 lib/silcclient/protocol.c and silcd/protocol.c.
6420 * Do not cache anymore the server's public key during SKE.
6421 We do mutual authentication so the proof of posession of
6422 private key is done, and if the server is authenticated in
6423 conn auth protocol with public key we must have the public
6424 key already. Affected file silcd/protocol.c.
6426 * Added new global debug variable: silc_debug_hexdump. If
6427 it is set to TRUE SILC_LOG_HEXDUMP will be printed. Affected
6428 file lib/silcutil/silclog.[ch].
6430 * Fixed compilation warning due to char * -> const char *.
6431 Affected files lib/silcutil/silcnet.h, and
6432 lib/silccore/silcauth.[ch].
6434 Wed Nov 7 20:43:03 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6436 * Fixed CMODE command when new channel key was created. If
6437 the creation failed the old key was removed. Next time giving
6438 same command would crash the server since the old key was
6439 freed already. Affected file silcd/command.c.
6441 * Fixed the silc_server_announce_get_channels to not crash
6442 on reconnect. Affected file silcd/server.c.
6444 Wed Nov 7 17:15:07 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6446 * Added silc_log_set_debug_string function to set a regex
6447 string to match for debug output. Only the function names,
6448 or filenames matching the given debug string is actually
6449 printed. This way it is possible to filter out those debug
6450 strings that user is not interested in.
6452 Fixed a bug in silc_string_regexify.
6454 Affected files lib/silcutil/silclog.[ch], and
6455 lib/silcutil/unix/silcunixutil.c.
6457 * Changed the -d options in both server and Irssi SILC client
6458 to take the debug string as argument. Affected files
6459 silcd/silcd.c and irssi/src/silc/core/silc-core.c.
6461 Tue Nov 6 21:31:54 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6463 * Added silc_hash_babbleprint to create a Bubble Babble
6464 Encoded fingerprint. The encoding is developed by Antti
6465 Huima (draft-huima-babble-01.txt), and it creates human
6466 readable strings out of binary data. Affected file
6467 lib/silccrypt/silchash.[ch].
6469 * Print the babble print now in addition of fingerprint as well
6470 in Irssi SILC client. Affected files are
6471 irssi/src/fe-common/silc/module-formats.[ch],
6472 irssi/src/fe-common/silc/core/client_ops.c.
6474 Sun Nov 4 23:37:28 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6476 * Fixed a security problem found in SKE. The initiator's
6477 public key too is now added to the HASH hash value creation
6478 which is signed by the responder to create the SIGN value.
6479 This will prevent anyone in the middle to lie to the responder
6480 about the initiator's public key. If this is done now, the
6481 man in the middle will get caught. Updated the protocol
6484 Sun Nov 4 11:43:53 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6486 * Better installation directory handling. Configure module
6487 paths and other paths automatically to example_silc* files
6488 in doc/. A patch by toma.
6490 * Fixed compiler warning from MPI library, and from SILC RNG.
6493 * Added SILC_SERVER_PID_FILE to define the pid file for server.
6494 It can be configured with ./configure. A patch by toma.
6496 Sat Nov 3 23:48:23 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6498 * Find correct make to use in prepare-clean. A patch by
6499 toma. Affected file prepare-clean.
6501 Sat Nov 3 22:04:00 PST 2001 Brian Costello <bc@mksecure.com>
6503 * Added irssi variables use_auto_addr, auto_bind_ip,
6504 auto_bind_port and auto_public_ip.
6506 * Changed the interface for silc_client_send_key_agreement
6507 in lib/silcclient/silcapi.h
6511 irssi/src/silc/core/silc-core.c
6513 lib/silcclient/silcapi.h
6514 irssi/src/silc/core/silc-channels.c
6515 lib/silcclient/client_keyagr.c
6518 Sat Nov 3 17:48:55 EET 2001 Pekka Riikonen <priikone@silcnet.org>
6520 * Added silc_pkcs_public_key_compare to compare two
6521 public keys. Affected file lib/silccrypt/silcpkcs.[ch].
6523 * Check that the client who set the founder mode on the
6524 channel is the same client that is giving the founder
6525 mode to itself. It is done by comparing the saved public
6526 key (it is saved even in the authentication is passphrase).
6527 Affected file silcd/command.c.
6529 Fri Nov 2 18:52:08 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6531 * Do not process packet for disconnected socket connection.
6532 Affected file lib/silccore/silcpacket.c.
6534 * Process the DISCONNECT packet through scheduler in the
6535 client library. Affected file lib/silcclient/client.c.
6537 * Fixed the silc_client_packet_parse to not to increase
6538 the packet sequence number if the conn->sock and the
6539 current socket connection is not same. This can happen
6540 for example during key agreement when the conn includes
6541 multiple socket connections (listeners). Affected file
6542 lib/silcclient/client.c.
6544 * The sender of the file transfer request now provides also
6545 the pointer (listener) for the key exchange protocol. If
6546 the listener cannot be created then it sends empty key
6547 agreement and lets the receiver provide the listener.
6549 Added `local_ip' and `local_port' arguments to the
6550 silc_client_file_send. If they are provided they are used,
6551 if not then it will attempt to find local IP address, if
6552 not found or bind fails then the remote client will provide
6555 Affected files are lib/silcclient/client_ftp.c and
6556 lib/silcclient/silcapi.h.
6558 * Extended the FILE SEND command to support defining the
6559 local IP and port for key exchange listener. They are
6560 optional. Affected file irssi/src/silc/core/silc-servers.c.
6562 Thu Nov 1 22:10:07 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6564 * Defined to WHOIS command reply the sending of fingerprint
6565 of the client's public key (if the proof of posession of the
6566 corresponding private key is verified by the server).
6567 Updated to the protocol specification.
6569 * Added support of receiving the client's public key's
6570 fingerprint in command reply in client library. Affected
6571 file is lib/silcclient/command_reply.c, and
6572 lib/silcclient/idlist.[ch].
6574 Thu Nov 1 18:06:12 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6576 * Do not send over 128 chars long nickname to the server
6577 in NICK command. Affected file lib/silcclient/command.c.
6579 * Do not send over 256 chars long channel names to the server
6580 in JOIN command. Affected file lib/silcclient/command.c.
6582 Tue Oct 30 22:48:59 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6584 * Assure that silc_server_close_connection cannot be called
6585 twice for same socket context. Affected file is
6588 Tue Oct 30 16:58:14 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6590 * Send error message to application if opening file for
6591 writing during file transfer fails. Affected file is
6592 lib/silcclient/client_ftp.c.
6594 Remove all file transfer sessions for a client that we're
6595 removing from ID cache.
6597 Affected file is lib/silcclient/client_ftp.c.
6599 * Fixed silc_net_addr2bin to return correct address. Affected
6600 file lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
6602 * Fixed file transfer session removing on signoff notify.
6603 Affected file irssi/src/silc/core/silc-servers.c.
6605 * Added the SilcClientFileError to be returned in the monitor
6606 callback. Added NO_SUCH_FILE and PERMISSION_DENIED errors.
6607 Affected file lib/silcclient/silcapi.h.
6609 Mon Oct 29 17:43:04 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6611 * Fixed a crash in silc_client_ftp_free_sessions and
6612 silc_client_ftp_session_free_client. Affected file
6613 lib/silcclient/client_ftp.c.
6615 * Added `disabled' field in the SilcChannelEntry in the server
6616 to indicate if the server entry is disabled. Affected file
6617 silcd/idlist.h, silcd/command[_reply].c.
6619 * SILC server adds now /var/run/silcd.pid everytime it is
6620 started. Affected file silcd/silcd.c.
6622 * Added silc_server_packet_send_clients to send a packet to
6623 the provided table of client entries. Affected file
6624 silcd/packet_send.[ch].
6626 * Fixed a crash in client resolving in client_prvmsg.c in
6627 client library. Affected file lib/silcclient/client_prvmsg.c.
6629 * Do not actually remove the client directly from ID cache
6630 during SERVER_SIGNOFF, but invalidate it. This way we
6631 preserve the WHOWAS info for the client. Affected file
6632 silcd/server_util.c.
6634 * Fixed SERVER_SIGNOFF notify handling in the server. The
6635 server is now able to process incoming SERVER_SIGNOFF notify
6636 for a server that it doesn't even know about. It will remove
6637 the clients provided in the notify. Affected file
6638 silcd/packet_receive.c.
6640 * Check for partial packet in data queue after every packet that
6641 was found from the queue. Return and wait for more data if
6642 there is partial data in queue. Affected file is
6643 lib/silccore/silcpacket.c.
6645 Sun Oct 28 18:46:27 EST 2001 Pekka Riikonen <priikone@silcnet.org>
6647 * Added SilcClietFileError enum to indicate error in
6648 file transfer. Added SILC_CLIENT_FILE_MONITOR_KEY_AGREEMENT
6649 and SILC_CLIENT_FILE_MONITOR_ERROR new monitor statuses.
6650 Affected files lib/silcclient/silcapi.h and
6651 lib/silcclient/client_ftp.c.
6653 * Check that newsize in silc_buffer_realloc is larger than
6654 the old buffer's size. Affected file lib/silcutil/silcbufutil.h.
6656 * Added better monitor of file transfers. It now monitors
6657 key agreement protocol during the file transfer too. Added
6658 error reporting too. Affected files
6659 irssi/src/silc/core/silc-servers.c,
6660 irssi/src/fe-common/silc/module-formats.[ch].
6662 * Wrote a help file for FILE command.
6664 * Added silc_rng_global_get_byte_fast to get not-so-secure
6665 random data as fast as possible. Random data is read from
6666 /dev/urandom if available and from the SILC RNG if not
6667 available. It is used in padding generation. Affected file
6668 lib/silccrypt/silcrng.[ch].
6670 * All packets in client library are now processed synchronously.
6671 Optimized packet processing a lot. Affected file
6672 lib/silcclient/client.c.
6674 * All server connection packets are processing synchronously
6675 now in server, to optimize packet processing. Affected file
6678 * Include files are installed now only in Toolkit distribution
6679 if make install is given. Affected files: all Makefile.am's.
6681 Thu Oct 25 22:44:06 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6683 * Assure that silc_client_notify_by_server_resolve does not
6684 resolve the client information multiple times. If it cannot
6685 be found by the first it cannot be found at all. Affected
6686 file lib/silcclient/client_notify.c.
6688 * Fixed WHOWAS command reply calling. Affected file
6689 lib/silcclient/command_reply.c.
6691 * Removed all references to silc_idlist_get_client from the
6692 Irssi SILC client since that call is internal call used by
6693 the library. The Irssi SILC client will use now client
6694 retrieval functions found in silcapi.h.
6696 * Fixed a bug in resolving nickname info before sending
6697 private message. It used freed memory. Affected file
6698 irssi/src/silc/core/silc-servers.c.
6700 Thu Oct 25 19:04:49 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6702 * Assure my_channels statistics cannot go negative in server.
6703 Affected files silcd/server.c, silcd/server_util.c.
6705 Wed Oct 24 19:53:05 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6707 * Upgraded dotconf 1.0.2 to 1.0.6 in lib/dotconf.
6709 Tue Oct 23 13:51:19 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
6711 * Win32 Toolkit changes. Affected files
6712 win32/silc.dsw, win32/libsilc/libsilc.def,
6713 win32/libsilcclient/libsilc.def,
6714 lib/silcutil/silcutil.c, and
6715 lib/sftp/sftp_fs_memory.c.
6717 Mon Oct 22 16:35:05 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6719 * Added silc_net_localip to return local host's IP address.
6720 Affected file lib/silcutil/silcnet.[ch].
6722 * If key exchange or rekey protocol is active for a connection
6723 parse all packets syncronously since there might be packets
6724 in packet queue that we are not able to process without first
6725 processing packets before them. Affected file silcd/server,
6726 lib/silcclient/client.c.
6728 * SilcPacketParserCallback now returns TRUE or FALSE to indicate
6729 whether library should continue processing the packet.
6730 Affected file lib/silccore/silcpacket.h.
6732 * Added SilcSFTPMonitor callback, SilcSFTPMonitors and
6733 SilcSFTPMonitorData to SFTP server to monitor various
6734 SFTP client requests. Affected file lib/silcsftp/silcsftp.h,
6735 lib/silcsftp/sftp_server.c.
6737 * Added silc_file_size to return file size. Affected file
6738 lib/silcutil/silcutil.[ch].
6740 * Implemented the file transfer support for the client library.
6741 Added preliminary support for simple client to client one-file
6742 transmission. Affected file lib/silcclient/client_ftp.c,
6743 lib/silccilent/client.[ch].
6745 * Added new local command FILE to the Irssi SILC Client.
6746 It is used to perform the file transfer. It has subcommands
6747 SEND, RECEIVE, SHOW and CLOSE. Affected files
6748 irssi/src/silc/core/client_ops.c,
6749 irssi/src/silc/core/silc-server.[ch].
6751 Mon Oct 22 12:50:08 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6753 * Relay the SILC_PACKET_FTP in the server. Affected files
6754 silcd/server.c and silcd/packet_receive.c.
6756 Sun Oct 21 20:21:02 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6758 * Renamed silc_file_read and silc_file_write to functions
6759 silc_file_readfile and silc_file_writefile. Added function
6760 silc_file_open and silc_file_close. Affected files
6761 lib/silcutil/silcutil.[ch].
6763 Thu Oct 18 20:58:13 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6765 * Resolve the client info when received private message or
6766 channel message for a client which nickname we don't know.
6767 Affected files lib/silcclient/client_prvmsg.c and
6768 lib/silcclient/client_channel.c.
6770 * Do not crash in /KEY if client is not connected. Affected
6771 file irssi/src/silc/core/silc-channels.c.
6773 * Added SilcClientStatus field to the SilcClientEntry in the
6774 lib/silcclient/idlist.h.
6776 Added SILC_CLIENT_STATUS_RESOLVING to mark that the entry
6777 is incomplete and is being resolved, it won't be resolved
6780 Make sure also that USERS command reply does not resolve
6781 twice information. Affected file is
6782 lib/silcclient/command_reply.c.
6784 Make sure that silc_client_get_clients_by_list does not
6785 resolve twice same information.
6787 * Check for valid client->id in the silc_server_free_client_data.
6788 Affected file silcd/server.c.
6790 * Fixed /GETKEY nick@server not to crash if the server entry
6791 is not found. Affected file lib/silcclient/command.c.
6793 * Fixed the silc_server_check_cmode_rights to check the
6794 requested modes correctly. Affected file silcd/command.c.
6796 Thu Oct 18 12:10:22 CEST 2001 Pekka Riikonen <priikone@silcnet.org>
6798 * Better checks for non-printable chars in nick added.
6799 Affected file silcd/command.c.
6801 Thu Oct 18 09:18:58 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6803 * Call the silc_server_udpate_servers_by_server in the
6804 primary router that comes back online in the backup resuming
6805 protocol. Otherwise it routes packets wrong. Affected file
6806 silcd/server_util.[ch], silcd/server_backup.c.
6808 Wed Oct 17 16:51:18 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6810 * Added SILC_STR_UI8_[N]STRING[_ALLOC] formats to the
6811 lib/silcutil/silcbuffmt.[ch].
6813 * Redefined the SILC packet header to include the padding
6814 length. Affected file lib/silccore/silcpacket.[ch].
6816 * Added SILC_PACKET_PADLEN_MAX macro to return the padding
6817 length for maximum padding up to 128 bytes). Affected
6818 file lib/silccore/silcpacket.h.
6820 * Removed all backwards support for old 0.5.x MAC thingies.
6821 The SILC packet header change makes it impossible to be
6822 backwards compatible.
6824 * Send the ENDING packet with timeout in the backup resuming
6825 protocol. This is to assure that all routers has connected
6826 to the primary router. Affected file silcd/server_backup.c.
6828 * Changed the RNG to take the first IV from random data. It
6829 used to take it from zero actually. Changed the RNG also
6830 to use /dev/urandom during session. /dev/random is used
6831 in initialization. Affected file lib/silccrypt/silcrng.[ch].
6833 Tue Oct 16 20:45:49 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6835 * Changed the SILC packet header to have the first two bytes
6836 (the packet length) encrypted. Affected files aroung the
6837 code tree, lib/silccore/silcpacket.[ch]. Removed the
6838 SilcPacketCheckDecrypt callback. It is not needed anymore
6839 since the silc_packet_receive_process will determine now
6840 whether the packet is normal or special.
6842 * Implemented the unidirectional MAC keys. Affected files
6843 lib/silcske/silcske.c, silcd/protocol.c and
6844 lib/silcclient/protocol.c.
6846 * Implemented the packet sequence number to the MAC computation.
6847 Affected files lib/silccore/silcpacket.c, silcd/protocol.c,
6848 silcd/packet_send.c, silcd/server.c, lib/silcclient/client.c,
6849 lib/silcclient/protocol.c.
6851 Mon Oct 15 17:42:55 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6853 * Allow backup router to announce servers. All servers
6854 announced by backup router are added to the global list
6855 automatically. Update hte server's socket to our primary
6856 router also when backup router announces a server.
6857 Affected file silcd/packet_receive.c.
6859 * Do not update the client->router in the function
6860 silc_server_udpate_clients_by_server if the client is on
6861 global list. We might fail to find any specific server
6862 for locally connected clients and local cell clients. They
6863 should still use the `from' and not `to' as client->router.
6864 This fixes backup router resuming protocol. Affected file
6865 silcd/server_util.c.
6867 * Decrease channel statistics count only if the channel
6868 deletion worked. Affected files are silcd/server.c and
6869 silcd/server_util.c.
6871 * Added silc_server_update_servers_by_server to update origin
6872 of all server entries. Used during backup router protocol.
6873 Affected files silcd/server_util.[ch], silcd/server.c. and
6874 silcd/backup_router.c.
6876 * ROBODoc documented the lib/silccrypt/silchmac.h. Added new
6877 function silc_hmac_init, silc_hmac_update, silc_hmac_final,
6878 silc_hmac_get_hash and silc_hmac_get_name. Affected file
6879 lib/silccrypt/silchmac.c.
6881 Sun Oct 14 18:28:22 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6883 * Assure that router cannot reroute the same channel message
6884 to the sender. Affected file silcd/packet_receive.c.
6886 Sat Oct 13 12:46:18 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6888 * Made better checks that the channel message is not sent
6889 to the router it came from. Affected file is
6890 silcd/packet_send.c. Fixed memory leak too.
6892 * Announce informations for incoming router connection, but
6893 only after checking if it is replaced by backup router.
6894 Affected file silcd/packet_receive.c.
6896 Fri Oct 12 18:37:24 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6898 * Fixed the backup resuming protocol to work in multiple
6899 router environment. Affected file silcd/server_backup.c.
6901 * Route packet only to one router in the function
6902 silc_server_packet_send_to_channel. Affected file is
6903 silcd/packet_send.c.
6905 * Fixed silc_server_send_notify_dest to set the broadcast
6906 flag. Fixed the silc_server_send_notify_topic to actually
6907 send the TOPIC_CHANGE notify and not SERVER_SIGNOFF notify.
6908 Affected file silcd/packet_send.c.
6910 * Changed the SFTP Filesystem interface. Changed the
6911 SilcSFTPFilesystemStruct to SilcSFTPFilesystemOps to include
6912 the filesystem operation function. The SilcSFTPFilesystem
6913 is now a context that is allocated by all filesystem allocation
6914 functions and it already includes the operations structure
6915 and filesystem specific context. It is given as argument
6916 now to the silc_sftp_server_start. This made the interface
6917 a bit cleaner. Affected file lib/silcsftp/silcsftp[_fs].h,
6918 lib/silcsftp/sftp_fs_memory.c and sftp_server.c.
6920 Thu Oct 11 22:19:26 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6922 * Changed the backup router adding and getting interfaces
6923 in the server. The router that will be replaced by the
6924 specified backup router is now sent as argument. Affected
6925 files silcd/serverconfig.[ch], silcd/backup_router.[ch], and
6928 * Added silc_net_addr2bin_ne to return the binary form of
6929 the IP address in network byte order. Affected files
6930 lib/silcutil/[unix/win32].silc[unix/win32]net.[ch].
6932 Thu Oct 11 12:14:19 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6934 * Check for existing server ID in silc_server_new_server
6935 and in silc_server_connect_to_router_final and remove the
6936 old entry if it exists. Affected file silcd/packet_receive.c,
6939 * Send the channel message always to only one router, either
6940 in upstream or downstream. Affected file is
6941 silcd/packet_send.c.
6943 Tue Oct 9 17:45:43 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6945 * Wrote the definition of the backup resuming protocol to the
6946 protocol specification.
6948 * Removed one redundant channel key generation from normal
6949 server during joining procedure. Removed one redundant
6950 channel key sending from server to router during joining
6951 procedure. Affected file silcd/command.c.
6953 * Made minor bugfixes to the backup router resuming protocol.
6954 Affected file silcd/server_backup.c, server.c.
6956 Mon Oct 8 16:47:42 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6958 * Added --disable-asm configuration option. Affected files
6959 configure.in.pre, lib/silcmath/mpi/configure.in. A patch
6962 * Implemented the backup resuming protocol that is used to
6963 resume the primary router position in the cell after the
6964 primary router comes back online. Affected files
6965 silcd/server_backup.[ch], silcd/server, silcd/packet_receive.c,
6966 and silcd/server_util.[ch].
6968 Sun Oct 7 12:29:25 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6970 * Sleep two (2) seconds after sending QUIT command to server.
6971 Affected file lib/silcclient/command.c.
6973 * Assure that if outgoing data buffer is pending do not force
6974 send any data. Affected file silcd/packet_send.c.
6976 * Assure that if outgoing data buffer is pending do not force
6977 send any data. Affected file lib/silcclient/client.c.
6979 * Implemented the backup router support when the primary router
6980 goes down. The servers and routers can now use the backup
6981 router as new primary router without loosing connectivity.
6983 Sat Oct 6 21:18:54 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6985 * Added new SILC_IDLIST_STATUS_DISABLED flag for entries
6986 in the server to indicate disabled entry. All data read
6987 from the connection will be ignored and no data is sent
6988 for entry that is disabled. Affected files are
6989 silcd/idlist.h, silcd/server.c.
6991 Fri Oct 5 00:03:29 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6993 * Created SFTP client and server test programs in the
6994 lib/silcsftp/tests directory.
6996 Wed Oct 3 23:31:42 EDT 2001 Pekka Riikonen <priikone@silcnet.org>
6998 * Implemented memory filesystem (virtual filesystem) for
6999 SFTP server. Affected file lib/silcsftp/silcsftp_fs.h,
7002 Sun Sep 30 22:10:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7004 * Implemented the SFTP (SSH File Transfer Protocol) to the
7005 lib/silcsftp. It includes SFTP client and SFTP server
7008 Sun Sep 30 10:35:44 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7010 * Moved lib/silccore/silcprotocol.[ch] to the
7011 lib/silcutil library.
7013 * Added silc_buffer_format_vp and silc_buffer_unformat_vp to
7014 take variable argument list pointer as argument. Affected
7015 file lib/silcutil/silcbuffmt.[ch].
7017 * Added silc_buffer_set function that is used to set data
7018 to a SilcBuffer that is not allocated at all (SilcBufferStruct).
7019 Affected file lib/silcutil/silcbuffer.h.
7021 * Changed various routines in the core library to use the new
7022 silc_buffer_set instead of allocating new buffer only for
7025 * Added 64-bit value formatting and unformatting support to the
7026 silc_buffer_[un]format routines. Affected file is
7027 lib/silcutil/silcbuffmt.[ch].
7029 Added also 64-bit macros: SILC_GET64_MSB and SILC_PUT64_MSB,
7030 to includes/bitmove.h.
7032 Fri Sep 28 21:30:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7034 * Fixed channel user mode saving in client library. Affected
7035 file lib/silcclient/command[_reply].c.
7037 Thu Sep 27 22:52:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7039 * Defined the file transfer to the SILC Protocol. Added
7040 new packet type SILC_PACKET_FTP and defined File Transfer
7041 Payload. The mandatory file transfer protocol is SFTP
7042 (SSH File Transfer Protocol). Affected file in addition
7043 of the internet draft is lib/silccore/silcpacket.h.
7045 * Deprecated the SILC_PACKET_CELL_ROUTERS and defined new
7046 packet SILC_PACKET_RESUME_ROUTER instead. The new packet
7047 is used as part of backup router protocol when the primary
7048 router of the cell is back online and wishes to resume
7049 the position as primary router.
7051 * Redefined the MAC generation keys in the protocol. The
7052 same key is not used anymore in both direction. Both
7053 direction will now use different keys for sending and
7054 receiving. This fixes a potential security flaw. This
7055 change causes incompatibilities in the protocol.
7057 * Redefined also the MAC computation from the packet.
7058 An packet sequence number is now added to the MAC
7059 computation. This prevents possible replay attacks against
7060 the protocol. This change too causes incompatibilities
7063 Added `sequence' field to the SilcPacketContext to hold
7064 the current sequence number for the packet.
7066 Wed Sep 26 20:15:22 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7068 * Added `created' field to the SilcIDListData in the file
7069 silcd/idlist.h to indicate the time when the entry was
7072 * Added `created' field to the SilcChannelEntry too. Affected
7073 file silcd/idlist.h.
7075 * Added `creation_time' aguments to all the announcement functions
7076 in the server. If it is provided then only the entries that
7077 was created after the provided time frame are actually
7078 announced. Affected file silcd/server.[ch].
7080 * The protocol says that the Channel ID's IP address must be
7081 based on the router's IP address. Added check for this in
7082 the silc_server_new_channel when processing incoming New Channel
7083 Payload. Affected file silcd/packet_receive.c.
7085 * Print out the correct version with --version in SILC client.
7086 Affected file irssi/src/silc/core/silc-core.c.
7088 Mon Sep 24 17:19:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7090 * Fixed WHOWAS command to check for completnes of the client
7091 entry always, not just when the command is coming from client.
7092 Affected file silcd/command.c.
7094 * Added new function silc_server_packet_queue_purge to purge the
7095 outgoing data queue to the network. After the function returns
7096 it is guaranteed that the outgoing packet queue is empty.
7097 Affected file silcd/packet_send.[ch].
7099 * Purge the outgoing packet queue in the rekey protocol's final
7100 callback to assure that all rekey packets go to the network
7101 before quitting the protocol. Affected file silcd/server.c.
7103 * Added silc_client_packet_queue_parse as similar function as
7104 in server to the client library. The affected file is
7105 lib/silcclient/client.c.
7107 Sun Sep 23 15:15:53 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7109 * Splitted silcd/server.c and created silcd/server_util.[ch]
7110 for utility functions.
7112 * Added new socket flag SILC_SF_DISABLED to indicate that the
7113 connection is open but nothing can be sent to or received from
7114 the connection. Affected file lib/silcutil/silsockconn.[ch].
7115 The checking for disabled socket is checked in the low level
7116 silc_socket_write and silc_socket_read functions.
7118 Thu Sep 20 23:11:28 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7120 * Allow only nicknames and channel names that fits into the
7121 7-bit unsigned char ASCII set. Affected file silcd/command.c.
7123 Thu Sep 20 18:04:12 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7125 * When processing JOIN command reply in server check that if
7126 the channel exists in our global list we'll move it the local
7127 list. Affected file silcd/command_reply.c.
7129 * Fixed the check whether client is joined on the channel already
7130 in JOIN command. Affected file lib/silcclient/command.c.
7132 * Fixed the JOIN command reply to check whether the channel
7133 already exists. Affected file lib/silcclient/command_reply.c.
7135 Wed Sep 19 22:58:32 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7137 * Added silc_ske_status_string to map the SKE error numbers
7138 to readable strings. The affected files are
7139 lib/silcske/silcske[_status].[ch].
7141 Tue Sep 18 22:50:41 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7143 * Do not show the private channels on the WHOIS channel list
7144 as it is not allowed by the protocol. The affected file is
7147 Sun Sep 16 12:32:58 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7149 * Assure that the packet length digged from the actual packet
7150 is something sensible in the silc_packet_decrypt_rest_special
7151 in lib/silccrypt/silcpacket.c.
7153 * Free and NULL the allocated pointer in silc_hmac_alloc if
7154 the HMAC allocation fails. The affected file is
7155 lib/silccrypt/silchmac.c.
7157 * Print the selected security properties to the log files in
7158 the server. Affected file silcd/protocol.c.
7160 * Add SKE's reference counter even if calling the completion
7161 callback manually. Otherwise it goes negative, although it
7162 does not cause any problems. The affected file is
7163 lib/silcske/silcske.c.
7165 * Remove the client entry with short timeout after giving the
7166 KILL command. Affected file lib/silcclient/command.c.
7168 * Fixed to send error reply in WHOIS and IDENTIFY commands in
7169 case all found clients are already disconnected (WHOWAS would
7170 found them) in the server. Affected file silcd/command.c.
7172 * Update the last_receive (time of last data received) to be
7173 updated only when received private or channel message so that
7174 the idle time showed in WHOIS makes more sense.
7176 * Added boolean field `valid' in to the SilcClientEntry in the
7177 client library to indicate whether the entry is valid or not.
7178 This fixes the nickname change bug on channel when changing
7179 the nickname to be same than the old (like nick to Nick) the
7180 nickname formatter doesn't set the new nick anymore to Nick@host.
7181 Affected file lib/silcclient/idlist.[ch].
7183 * Now actually fixed the nickname changing on disconnection.
7184 Added new function silc_change_nick to the Irssi SILC Client.
7185 Affected file irssi/src/silc/core/client_ops.c,
7186 irssi/src/silc/core/silc-nicklist.[ch].
7188 Sat Sep 15 13:29:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7190 * Check that the public key exists in the GETKEY command before
7191 trying to encode it. Affected file silcd/command.c.
7193 * Print some notifications on received public keys with GETKEY
7194 command in the Irssi SILC Client. Affected files are
7195 irssi/src/fe-common/silc/module-formats.[ch],
7196 irssi/src/silc/core/client_ops.c.
7198 * Use IDENTIFY command to resolve the server information in the
7199 GETKEY command instead of INFO command. Affected file
7200 lib/silcclient/command.c.
7202 * All command reply functions in the client library now calls
7203 the pending command reply callbacks even if an error has
7204 occurred. The server has done this a long time and now it was
7205 time to move the client library to this as well. Now all
7206 errors can be delivered back to the pending command reply
7207 callbacks if necessary. Affected files are
7208 lib/silcclient/command[_reply].[ch].
7210 * Change the nickname on disconnection back to the username
7211 because in reconnect the server will enforce it to it anyway.
7212 Affected file irssi/src/silc/core/silc-servers.c.
7214 * Fixed a config file parsing bug in the Irssi SILC client.
7215 Affected file irssi/src/silc/core/clientconfig.c.
7217 Thu Sep 13 23:11:18 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7219 * When printing the channel mode on JOIN, verify that the
7220 channel key and channel's HMAC are valid. Affected file
7221 irssi/src/silc/core/client_ops.c.
7223 Thu Sep 13 20:24:52 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7225 * Added defines SILC_DEFAULT_CIPHER, SILC_DEFAULT_HMAC,
7226 SILC_DEFAULT_HASH and SILC_DEFAULT_PKCS in the file
7227 lib/silccrypt/[silccipher.h|silchmac.h|silchash.h|silcpkcs.h].
7229 * Removed channel key rekey task deleting from the function
7230 silc_server_save_channel_key. Affected file silcd/server.c.
7231 Added explicit timeout task context instead that is used to
7232 delete the task if we are registering a new task before the
7233 new task has elapsed.
7235 * When channel key rekey occurs the client library now saves
7236 the old channel key for a short period of time (10 seconds) and
7237 is able to use it in case some is still sending channel
7238 messages encrypted with the old key after the rekey. Affected
7239 file lib/silcclient/[idlist.h|client_channel.c].
7241 Sun Sep 9 15:49:16 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7243 * Added check to the silc_server_new_id_real to not accept
7244 new ID if it is the sender's own ID. Affected file is
7245 silcd/packet_receive.c.
7247 * Assure that we do not announce ourself or the one we've
7248 sending our announcements when we're router and are announcing
7249 servers to our primary router. Affected file silcd/server.c.
7251 * Fixed silc_server_command_identify_check_client to assemble
7252 correct WHOIS packet. It send corrupted WHOIS packet and
7253 caused problem with router to router connections. Affected
7254 file silcd/command.c.
7256 Fixed also silc_server_command_whois_check the same way
7257 as for the IDENTIFY command.
7259 * Added new SilcIDListStatus to the server in the SilcIDListData
7260 structure. The status now includes the current status of
7261 the entry (like registered, resolved etc.). Affected file
7262 silcd/idlist.[ch]. Defined a bunch of different status types
7263 as well. This replaced the old boolean registered field as well.
7265 Added resolve_cmd_ident field to the SilcClientEntry structure
7266 too so that if the entry is for example being resolved so
7267 another command may attach to the same pending command reply
7268 without requiring to resolve the same entry again. This concept
7269 should optimize the WHOIS and the IDENTIFY resolving under
7270 heavy load by taking away unnecessary resolving for entries
7271 that are being resolved already.
7273 Added support for adding multiple pending commands for one
7274 command idenfier. Affected file silcd/command[_reply].[ch].
7276 * Fixed WHOIS and IDENTIFY save to remove the cache entry
7277 before deleting the data. Otherwise the hash table will have
7278 freed data in comparison functions. Affected file is
7279 silcd/command_reply.c.
7281 * Fixed silc_idlist_replace_client_id to add the new entry to
7282 the cache with NULL nickname. Otherwise there will be invalid
7283 memory as the nickname after the nickname is freed. Affected
7284 file silcd/packet_receive.c.
7286 * Fixed the silc_idlist_get_clients_by_hash. The entries was
7287 saved into wrong slots because the previous number of entries
7288 was not taken into account. Affected file silcd/idlist.c.
7289 Fixed same thing in silc_idlist_get_clients_by_nickname too.
7291 * If we are router and we receive JOIN notify to a channel that
7292 does not have any users then notified client is marked as the
7293 channel founder, as it is it. The affected file is
7294 silcd/packet_receive.c
7296 * Added to the extended hash table API's table_del_*ext functions
7297 the destructor as argument too, so that the caller can decide
7298 which destructor to use or whether to use destructor at all.
7299 Affected file lib/silcutil/silchashtable.[ch].
7301 * Fixed ID Cache purging. It actually deleted the entries from
7302 the hash table after the data was freed. The hash table ended
7303 up comparing freed memory. The affected file is
7304 lib/silccore/silcidcache.c.
7306 Sat Sep 8 10:22:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7308 * Fixed Irssi SILC client's KILL command's HELP syntax.
7310 * The USERS command now resolves the detailed user information
7311 if the userinfo field is missing. Affected file is
7312 lib/silcclient/command_reply.c.
7314 * Do not print error in silc_file_read if the read file does
7315 not exist. Just silently return NULL. Affected file is
7316 lib/silcutil/silcutil.c.
7318 * Fixed the silc_log_output to not wine about NULL filename
7319 and to not create some bogus " " filename. Affected file is
7320 lib/silcutil/silclog.c.
7322 Fri Sep 7 22:16:38 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7324 * Fixed various printing bugs on the user interface in the
7325 Irssi SILC Client. Minor changes that were forgotten from
7328 Fri Sep 7 17:28:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7330 * Fixed the configure.in.pre and the compilation and distribution
7331 environment to support the new autoconf 2.52. That version is
7332 now required to compile the CVS trunk.
7334 Thu Sep 6 12:47:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7336 * Renamed function silc_parse_nickname to silc_parse_userfqdn
7337 to generally parse user@fqdn format strings. Affected file
7338 lib/silcutil/silcutil.c.
7340 * Added nickname_format and nickname_force_format fields to the
7341 SilcClientParams structure. The first one defines the format
7342 for the nicknames that the library will enforce if the receives
7343 multiple same nicknames. The second one is boolean value and
7344 can be used to force the library to always enforce the format
7345 to the nicknames regardles whether there are multiple nicknames
7346 or not. This configurable formatting was employed to flexibly
7347 support accessing multiple nicknames from the user interface.
7348 The userinterface can now set the nicknames to what ever format
7349 they prefer. Affected file lib/silcclient/silcapi.h.
7351 Added function silc_client_nickname_format to the file
7352 lib/silcclient/idlist.c. It performs the nickname formatting.
7354 Added new field `hostname´ to the SilcClientEntry context.
7355 It holds the hostname of the client. Affected file is
7356 lib/silcclient/idlist.h.
7358 * Irssi SILC Client sets the nicknames in nick@hostn format.
7359 Fe. priikone@otaku, priikone@otaku2 etc. Affected file
7360 irssi/src/silc/core/silc-core.c.
7362 The WHOIS printing now also shows both the real nickname and
7363 the formatted nickname so that user knows how to access the
7364 user if there are multiple same nicknames cached. Affected
7365 file irssi/src/silc/core/client_ops.c. Changed the WHOIS
7366 printing formatting too to take the hostname now as a separate
7367 argument. The Affected file is
7368 irssi/src/fe-common/silc/modules-formats.[ch].
7370 * Changed the silc_client_get_clients_local to accept the formatted
7371 nickname as argument. It accepts the real nickname too but the
7372 formatted nickname can be used to find the true entry from
7373 multiple entries. Affected file lib/silcclient/silcapi.h and
7374 lib/silcclient/idlist.c.
7376 * Added nickname_format_parse field to the SilcClientParams.
7377 It is a callback function provided by the application to parse
7378 the nickname out of the formatted nickname string. The library
7379 calls it to get the nickname from the formatted string. Since
7380 the application generally knows better the format of the nickname
7381 string it parses it instead of the library, even though library
7382 encodes the formatted string. If the callback function is not
7383 provided then the library will use the string as is. The
7384 affected file is lib/silcclient/silcapi.h.
7386 * All the nickname strings passed to the client library in
7387 commands are now expected to be formatted nickname strings.
7388 If the command does not support the formatted nickname string
7389 it will assume that the sent string is the actual nickname.
7390 Affected file lib/silcclient/command.c.
7392 Tue Sep 4 22:31:28 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7394 * Added public key authentication support to OPER and SILCOPER
7395 commands in the client library. Affected file is
7396 lib/silcclient/command.c.
7398 Tue Sep 4 12:39:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7400 * Changed the get_auth_methdod client operation to be asynchronous.
7401 It can be async if the application resolves the authentication
7402 method from the server during the negotiation. Added new
7403 SilcGetAuthMeth completion callback that the application will
7404 call after resolving the authentication method.
7406 Added function silc_client_request_authentication_method that
7407 the application can use to resolve the authentication method
7408 from the server. Added also SilcConnectionAuthRequest callback
7409 that the library will call after the server has replied. The
7410 application can call this function if it does not know the
7411 current authentication method.
7413 Affected files are lib/silcclient/client.c and
7414 lib/silcclient/silcapi.h.
7416 * The Irssi SILC client now automatically resolves the authentication
7417 method incase any configuration information is not present (and
7418 currently there never is). The affected file is
7419 irssi/src/silc/core/client_ops.c.
7421 * Fixed public key authentication from the client library.
7422 Affected file lib/silcclient/protocol.c. Changed also the
7423 protocol specification about the public key authentication in
7424 the connection authentication protocol. The actual data to be
7425 signed is now computed with a hash function before signing.
7427 * Fixed the public key authentication from the server as well.
7428 Affected file silcd/protocol.c.
7430 * Removed the mlock()'s from the memory allocation routines.
7431 Affected file lib/silcutil/silcmemory.c. The ./configure does
7432 not check anymore for the mlock(). Affected file is
7435 * Fixed USERS command in server to allow the execution of the
7436 command for private and secret channels if the client sending
7437 the command is on the channel. Affected file silcd/command.c.
7439 * Fixed silc_client_get_clients_local to return the clients
7440 count correctly. It could return wrong value. Affected file
7441 lib/silcclient/idlist.c.
7443 Mon Sep 3 20:09:59 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7445 * Fixed the lib/silcmath/mpi/mpi.h to always use 32-bit data
7446 types. The assembler optimizations seemed not to like 64-bit
7447 data types. The assmebler optimizations thus are now enabled
7448 also for BSD systems as opposed to only enable them for Linux.
7450 * Do not check for threads at all on BSD systems. Affected
7451 file configure.in.pre.
7453 * Removed -n and -h options from the Irssi SILC Client since
7454 they are not used in silc.
7456 * Fixed the prime generation to assure that the first digit
7457 of the generated random number is not zero since our conversion
7458 routines does not like number strings that starts with zero
7459 digit. If zero digit is seen the random number is regenerated.
7460 This caused some corrupted RSA keys when the zero first digit
7461 was met. Affected file lib/silcmath/silcprimegen.c.
7463 Sun Sep 2 17:17:24 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7465 * Fixed WIN32 configuration in the ./configure script.
7466 Fixed to include xti.h on environments that has it.
7467 Patches by Carsten Ilchmann and andrew.
7469 Sat Sep 1 00:29:33 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7471 * Changed the silc_id_create_client_id to be collision
7472 resistant. It is now assured that there cannot be created
7473 two same client ID's. I suspect that some weird bugs in
7474 the server were actually caused by duplicate Client IDs.
7475 Affected file silcd/serverid.[ch]. A router receiving
7476 new ID now also assures and informs the sending server
7477 if the ID caused collision.
7479 * Changed the silc_id_create_channel_id to also assure that
7480 there are no collisions.
7482 Wed Aug 29 17:55:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7484 * Statement about ignoring the Mutual Authentication flag when
7485 performing rekey with PFS was a bit misleading. It is ignored
7486 if it was set in the initial negotiation, it cannot be even
7487 set in the rekey. Fixed in the ke-auth draft. Started the
7488 new versions of the protocol drafts in the doc/.
7490 Sun Aug 26 14:59:15 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7492 * Fixed a bug in silc_client_command_identify_save when saving
7493 new channel information. The channel name was no duplicated
7494 and caused crash on exit. Affected file is
7495 lib/silcclient/command_reply.c.
7497 Fri Aug 17 23:07:45 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7499 * Fixed the getkey command handling in the server. Send just
7500 empty OK reply to the sender if the key could not be fetched
7501 (but everything else was ok, like the key just was not available).
7502 Changed the public key parameter to optional in the protocol
7503 specs so that empty OK reply can be sent. Affected file
7506 Added a message to Irssi SILC client to tell to user if the
7507 server did not return a public key.
7509 Tue Aug 14 07:29:27 CEST 2001 Pekka Riikonen <priikone@silcnet.org>
7511 * Fixed a channel key regeneration bug. It registered new
7512 timeout tasks exponentially until all system resources were
7513 used. Affected file silcd/server.c.
7515 Sun Aug 12 20:48:14 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7517 * Added the SILC Document generator to the scripts/silcdoc.
7518 It can be used to generate the Toolkit Reference Manual out
7519 of the source tree. Internally it will also use the RoboDoc
7520 generator now imported in util/robodoc.
7522 Sun Aug 12 12:28:17 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7524 * Added couple of return's in rekey protocol if error orccurred
7525 during the protocol. The execution must be terminated.
7526 Affected file silcd/protocol.c. Also, terminate the protocol
7527 always with timeout.
7529 Sat Aug 11 12:36:02 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7531 * The client's Client ID was created initally from the wrong
7532 nickname (it could have been in format nick@host) in the
7533 silc_server_new_client. Affected file silcd/packet_receive.c
7535 Sat Aug 11 00:29:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7537 * Added some SILC_LOG_ERROR's to various error conditions
7538 if client could not be added to ID cache. Affected files
7539 silcd/packet_receive.c and silcd/server.c.
7541 * When client's sock->user_data is freed, NULL also the
7542 client->router and client->connection pointers. Added check
7543 for these pointers being NULL to various places around the
7544 code. Affected file silcd/server.c.
7546 * Added client->data.registered == TRUE checks to various
7547 places around the code to assure that unregistered client's
7548 are not handled when it is not allowed. Affected file
7551 * Added `bool registered' fields to all
7552 silc_idlist_[server|client]_get_* routines to indicate whether
7553 the fetched client needs to be registered or not. Affected
7554 file silcd/idlist.[ch].
7556 * Add your own entry as registered to the ID cache in the
7557 server. Affected file server.c.
7559 * Fixed a bug in silc_server_new_server. The SilcServer was
7560 set as the new server's context instead of SilcServerEntry.
7561 This naturally caused some weird bugs.
7563 * Added "updated" field the SilcChannelEntry which indicates
7564 the time since the channel entry was last accessed. This
7565 can be used to determine whether it is necessary to
7566 announce the channel after backup resuming protocol.
7567 Affected files silcd/idlist.[ch].
7569 Thu Aug 9 18:28:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7571 * Do not delete the channel rekey task when adding it
7572 for in silc_server_create_channel_key.
7574 * Changed the silc_server_create_channel_key to return
7575 TRUE or FALSE to indicate the success of the channel key
7578 Thu Jul 26 11:32:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7580 * Fixed MSVC++ project files and added missing files to
7581 Makefiles under win32/.
7583 Wed Jul 25 18:43:54 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7585 * Do not add TCP_NODELAY flag if the operating system
7586 does not have it defined. Affected files are
7587 lib/silcutil/[unix/win32]/silc[unix/win32]net.c.
7589 * Fixed buffer overflow from Irssi SILC Client. Affected
7590 file irssi/src/fe-common/core/themes.c.
7592 * Fixed double free in client library in the file
7593 lib/silcclient/client.c when disconnecting from server.
7595 * Applied double free patch from cras to Irssi SILC client.
7596 Affected files irssi/src/core/[modules/expandos].c
7598 * Fixed the disconnection handling to Irssi SILC Client.
7599 The application must call silc_client_close_connection
7600 in ops->connect client operation in case of failure of
7601 the connection. Affected file is
7602 irssi/src/silc/core/client_ops.c.
7604 * Do not set sock->protocol to NULL in the function
7605 silc_client_close_connection after executing the protocol's
7606 final callback since the sock might not be valid anymore.
7607 Affected file lib/silcclient/client.c.
7609 Wed Jul 25 16:04:35 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7611 * Do not enable SILC_THREADS if the linking with libpthread
7612 did not happen. Affected file configure.in.pre.
7614 * Added notion to protocol specification that server must
7615 verify the sent authentication payload with CMODE when
7616 setting the channel founder key. Implemented it to the
7617 server. Affected file silcd/command.c.
7619 Mon Jul 23 18:31:43 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7621 * Added _EXTRA_DIST SILC distribution variable to the
7622 distributions file. It is used to conditionally add extra
7623 files or directories to the specific distribution. Affected
7624 files ./prepare, Makefile.am.pre and distributions.
7626 Removed the `_' from the start of the distribution names.
7629 * Added README.WIN32 for instructions to compile the Toolkit
7632 Mon Jul 23 10:12:37 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7634 * Fixed a double free in disconnection in the server. Affected
7635 file is silcd/server.c.
7637 * Fixed the lib/silcske/groups.c to work now also with GMP
7638 MP library. The string conversion did not work when using
7639 specific base and the base is indicated in the string as well.
7641 * Created win32/ directory which now includes MSVC++ specific
7642 stuff so that toolkit (DLLs) may be compiled with MSVC++.
7643 It will appear only in the toolkit distribution
7645 Sun Jul 22 19:40:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7647 * Changed the key material distribution function in case when
7648 the hash output is too short. The data is now concatenated
7649 a bit differently than it used to. Made the change to the
7650 SKE protocol specification.
7652 * Added better GMP detection to configure.in.pre. A patch
7655 Fri Jul 20 13:16:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7657 * Fixed a minor bug in SKE that might cause some problem on
7658 some platforms. Affected file lib/silcske/silcske.c.
7660 * Added the cookie checking for initiator in the SKE. It checks
7661 that the responder returns the sent cookie unmodified. The
7662 affected file is lib/silcske/silcske.c. Added new SKE
7663 error type INVALID_COOKIE that can be sent during the
7664 negotiation. Fixed some memory leaks as well.
7666 * Added the "invalid cookie" error message to Irssi SILC client's
7669 Thu Jul 19 21:44:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7671 * Added `task_max' field to the SilcClientParams to indicate
7672 the maximum tasks the scheduler can handle. If set to zero,
7673 default values are used. Affected file lib/silcclient/silcapi.h.
7675 * Fixed memory leaks in silc_client_close_connection. Affected
7676 file lib/silcclient/client.c.
7678 * Added silc_client_del_client_entry to client library to free
7679 all memory of given client entry. Affected file is
7680 lib/silcclient/idlist.[ch].
7682 * Added new functions silc_client_del_channel and
7683 silc_client_del_server to delete channel and server entries.
7684 Affected file lib/silcclient/[silcapi.h/idlist.c].
7686 * Removed silc_client_del_client_by_id from silcapi.h.
7688 * Fixed the INFO command to return the server's own info
7689 correctly when querying by Server ID. Affected file is
7692 Thu Jul 19 14:47:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7694 * Removed the non-blocking settings in WIN32 code in the
7695 silc_sock_[read/write] and added SleepEx instead. Affected
7696 file lib/silcutil/win32/silcwin32sockconn.c. The availability
7697 of input data is now checked with FIONREAD and ioctlsocket.
7699 Wed Jul 18 18:34:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7701 * Call silc_schedule_task_del_by_context in the
7702 silc_protocol_cancel instead of silc_schedule_task_del_by_callback.
7703 Affected file lib/silccore/silcprotocol.c.
7705 * Call silc_protocol_cancel for active protocols in the
7706 silc_server_close_connection if the funtion
7707 silc_server_free_sock_user_data has not been called.
7708 Affected file silcd/server.c.
7710 * Generic tasks cannot be deleted using the del_by_fd
7711 task deleting function since generic tasks does not match
7712 any specific fd. Affected file lib/silcutil/silcschedule.[ch].
7714 * Added a notion to SILCOPER help file that the SILCOPER works
7715 only on router server, not on normal server.
7717 Wed Jul 18 09:40:04 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7719 * Added for WIN32 support for the new scheduler as well.
7720 Affected file lib/silcutil/win32/silcwin32schedule.c.
7722 * Fixed the SHA1 implementation to work on various platforms.
7724 Tue Jul 17 23:04:10 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7726 * Rewrote the SILC Scheduler entirely. Removed the old SILC Task
7727 API. It is part of the scheduler now. Everything else is
7728 as previously but some functions has changed their names.
7729 Checkout the lib/silcutil/silcschedule.h for the interface.
7730 Updated all applications to use the new interface. Affected
7731 files are lib/silcutil/silcschedule.[ch].
7733 Tue Jul 17 16:53:30 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7735 * Found a bug in the SKE implementation. The HASH value,
7736 specified by the protocol, was not computed correctly. The
7737 public key of the responder was not added to the computation
7738 even though it is mandatory. Affected file lib/silcske/silcske.c.
7739 This unfortunately causes incompatibilities with older
7740 clients and servers.
7742 * Added WIN32 specific network init and uninit functions:
7743 silc_net_win32_init and silc_net_win32_uninit to init and uninit
7744 the Winsock2. Affected file lib/silcutil/silcnet.h and
7745 lib/silcutil/win32/silcwin32net.c.
7747 * Set the socket always to nonblocking mode on WIN32 after
7748 reading data or writing data. Affected file is
7749 lib/silcutil/win32/silcwin32sockconn.c.
7751 Mon Jul 16 22:55:26 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7753 * Fixed various compilation problems under WIN32. Affected
7754 files lib/silcutil/win32/silcwin32thread.c and
7755 lib/silcutil/win32/silcwin32schedule.c.
7757 * Removed all _internal.h #includes from public header
7758 files. Internal headers must never be included from
7761 Removed also the lib/silcske/payload_internal.h file.
7763 * All include files that may be needed (public and some others
7764 included by the public headers) by application developers are
7765 now copied to the ./includes directory. It does not copy any
7766 internal headers. Affected file Makefile.defines.pre and all
7767 Makefile.am's under lib/ and subdirs.
7769 Thu Jul 12 17:49:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7771 * Do not change the ~/.silc directory's permissions automatically.
7772 Affected file irssi/src/silc/core/clientutil.c.
7774 Thu Jul 12 10:18:40 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7776 * Do not cancel the protocol in silc_server_close_connection
7777 it might cause recursion. Now cancelled in the function
7778 silc_server_free_sock_user_data. Affected file silcd/server.c.
7780 * Fixed the silc_server_remove_clients_by_server to regenerate
7781 the channel keys correctly finally. Added also new function
7782 silc_server_remove_clients_channels to actually do it.
7783 Affected file silcd/server.c.
7785 * Fixed the silc_server_new_channel to not crash by giving
7786 wrong router to the new channel. Affected file is
7787 silcd/packet_receive.c.
7789 Wed Jul 11 18:31:57 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7791 * Added SilcClientParams structure to the lib/silcclient/silcapi.h
7792 which is given as argument to the silc_client_alloc now.
7793 It can be used to configure the client and set various parameters
7794 that affect the function of the client.
7796 * The USERS command in server did not check whether the channel
7797 is private or secret. Affected file silcd/command.c.
7799 * Added new argument to the USERS command in protocol specification.
7800 The USERS command now can take the channel name as argument
7801 as well. Added support for this in client and server and
7802 updated the protocol specs.
7804 * Completed the GETKEY command in client. It can be now used
7805 to fetch also servers public key not only some clients.
7806 Affected files lib/silcclient/command[_reply].c.
7808 * Added silc_client_get_server to return server entry by the
7809 server name. Affected files lib/silcclient/silcapi.h and
7812 * Redefined the IDENTIFY command in protocol specification to be
7813 more generic. It now can be used to query information about
7814 any entity in the SILC Network, including clients, servers and
7815 channels. The query may be based either the entity's name
7816 or the ID. Added support for this in both client and server.
7818 Affected files silcd/command.c and lib/silcclient/command.c
7819 and command_reply.c.
7821 * Optimized the WHOIS and WHOWAS commands in the server. Removed
7822 the _from_client and _from_server functions. Affected file
7825 * Added silc_client_get_channel_by_id_resolve to the file
7826 lib/silcclient/silcapi.h to resolve channel information by
7827 its ID. Added also silc_client_get_channel_by_id that
7828 does not resolve it from the server.
7830 Tue Jul 10 18:05:38 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7832 * Added SilcServerEntry context into the client library
7833 to represent one server. The INFO command now allocates
7834 these to save the resolved server info. For now on the
7835 client library will also keep information about servers,
7836 connected and resolved with INFO.
7838 The INFO command now allocates the SilcServerEntry context
7839 and saves the server info there. The COMMAND_REPLY in
7840 the INFO now returns the parameters to application in
7841 same order as defined in the protocol specification.
7843 The entries are cached in the client->server_cache.
7845 * The INFO command is now issued after received the Client ID
7846 from the server. Affected file lib/silcclient/client.c.
7848 * The CMODE_CHANGE notify may now return also an SilcServerEntry
7849 to the application as the mode changer might be server.
7850 It is guaranteed that NULL is not returned anymore to the
7851 application. Affected file lib/silcclient/client_notify.c.
7853 The ID Type is now also passed to the application so that
7854 it can check whether the returned entry is SilcClientEntry
7857 Added new function silc_client_get_server_by_id to return
7858 the server entry by ID. Affected files are the
7859 lib/silcclient/silcapi.h and lib/silcclient/idlist.c.
7861 * Do not create the channel in the Irssi SILC Client when issuing
7862 the JOIN command but when received the sucessful JOIN command
7863 reply. Otherwise the channel might get created even though we
7864 could not join it. The Affected file is
7865 irssi/src/silc/core/[silc-channels.c/client_ops.c].
7867 * Fixed a channel joining bug in router. The router must also
7868 check the channel modes, invite and ban lists etc. when serving
7869 the JOIN command sent by normal server. Affected file is
7870 silcd/command.c. The router now resolves the client's
7871 information from the server who sent the JOIN command if it
7872 does not know it, and processes the JOIN command only after
7875 * Changed the SilcCommandCb to take new argument; void *context2.
7876 Affected file lib/silccore/silccommand.h
7878 The second argument in the command callbacks in the server now
7879 includes the SilcServerCommandReplyContext if the command was
7880 called as pending command callback from the command reply.
7881 Otherwise it is NULL. When called as pending the status of the
7882 command reply will be checked and if it was erronous the
7883 error will be sent to the original sender of the command.
7884 This way the client always receives the error messages even
7885 though the server was actually the one who received the error
7886 when it resent the command to router, for example. Affected
7887 files silcd/command[_reply].[ch].
7889 * Fixed sending WHOWAS command's error message to client if
7890 the requested client could not be found. It was missing.
7893 * Changed the CMODE and CUMODE commands reply arguments in the
7894 protocol specification. The Channel ID is now sent in both
7895 of the commands to identify the channel. Implemented this
7896 new feature to the client and server. Affected files
7897 lib/silcclient/command_reply.c and silcd/command.c.
7899 * Made better checks for invite and ban lists in the JOIN
7900 command in server. Affected file silcd/command.c.
7902 Mon Jul 9 18:28:34 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7904 * The server now performs the incoming host IP/DNS lookup
7905 using the silc_socket_host_lookup and thus does not block
7906 the server anymore. Affected file silcd/server.c.
7908 * Completed the multi-thread support for SILC Scheduler in
7909 the lib/silcutil/silcschedule.c.
7911 * Fixed the configure.in.pre to detect the pthread correctly
7914 * Fixed a deadlock in silc_task_queue_wakeup in the file
7915 lib/silcutil/silctask.c.
7917 Mon Jul 9 13:40:03 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7919 * Added new function silc_schedule_wakeup that is used in
7920 multi-threaded environment to wakeup the main thread's
7921 schduler. It needs to be used when a thread adds a new task
7922 or removes a task from task queues. After waking up, the
7923 scheduler will detect the task queue changes. If threads
7924 support is not compiled in this function has no effect.
7925 Implemented the wakeup mechanism to both Unix and WIN32
7926 systems. Affected files are lib/silcutil/silcschedule.[ch],
7927 lib/silcutil/unix/silcunixschedule.c and the
7928 lib/silcutil/win32/silcwin32schedule.c.
7930 * Added new function silc_task_queue_wakeup to wakeup the
7931 scheduler by the specified task queue. Affected file
7932 lib/silcutil/silctask.[ch].
7934 * The silc_socket_host_lookup_start now wakes up the scheduler
7935 after adding the timeout task. Affected file is
7936 lib/silcutil/silcsockconn.c.
7938 * The silc_socket_host_lookup is synchronous now if the threads
7939 support is not compiled in. However, the callback is still
7940 called asyncronously through the scheduler, anyway. Affected
7941 file lib/silcutil/silcsockconn.c.
7943 Mon Jul 9 00:24:45 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7945 * Added new function silc_socket_host_lookup to perform
7946 asynchronous IP and FQDN lookups for the socket connection.
7947 Affected files lib/silcutil/silcsockconn.[ch].
7949 Sun Jul 8 18:44:53 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7951 * Added SILC_MUTEX_DEFINE to define the mutex on environments
7952 that may or may not compile the mutex support in.
7954 Changed the silc_mutex_alloc interface. It allocates the
7955 mutex now to the sent pointer and returns TRUE or FALSE.
7957 Affected file lib/silcutil/silcmutex.h.
7959 * Wrote the SILC Task Queue interface to support multi-threads.
7960 Affected file lib/silcutil/silctask.[ch].
7962 * Wrote the SILC Scheduler to support multi-threads. Affected
7963 file lib/silcutil/silcschedule.c.
7965 Sun Jul 8 11:16:01 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7967 * Implemented the SILC Mutex API and SILC Thread API for WIN32
7968 in lib/silcutil/win32/.
7970 Sun Jul 8 00:18:15 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7972 * Defined SILC Mutex API and SILC Thread API and implemented
7973 them for Unix. Affected files are
7974 lib/silcutil/silcmutex.h, lib/silcutil/silcthread.h,
7975 lib/silcutil/unix/silcunixmutex.c and
7976 lib/silcutil/unix/silcunixthread.c.
7978 Sat Jul 7 14:40:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7980 * Fixed the silc_server_remove_clients_by_server's channel
7981 key re-generation. The hash table handling was incorrect
7982 and would not work with many channels. Affected file is
7985 * Fixed some memory leaks around the server code.
7987 * Rewrote the silc_server_get_users_on_channel to support IPv6
7988 based Client ID's. Affected file silcd/server.c.
7990 * Defined the SILC_MESSAGE_FLAG_SIGNED to the protocol
7991 specification. However, a separate document must be written
7992 to define the detailed signing procedure and the payload
7993 associated with the flag. Defined the flag to the
7994 lib/silccore/silcchannel.h as well.
7996 Fri Jul 6 18:26:31 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
7998 * Changed the dynamic tables to static size tables in the
7999 lib/silccrypt/silchmac.c.
8001 * Removed GCC dependencies from the code. A patch by cras.
8003 Fri Jul 6 09:39:35 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8005 * Do not show the error "Error receiving packet bla bla"
8006 in server if it really was not an error (-2 means that reading
8007 is pending). Affected file silcd/server.c.
8009 Thu Jul 5 21:22:32 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8011 * Fixed a possible crash in silc_server_remove_clients_by_server
8012 in silcd/server.c. Fixed there also some memory leaks.
8014 * Fixed the silc_idlist_replace_client_id. It could replace
8015 wrong key in the hash table. Affected file silcd/idlist.c.
8017 * Do not check whether there are global users on the channel
8018 if the channel->global_users is FALSE. Affected functions
8019 silc_server_remove_from_one_channel and
8020 silc_server_remove_from_channels in silcd/server.c. Also,
8021 do not check if the removed client is local as we can be
8022 sure that global client was not removed from the channel
8023 and checking for global users is not needed.
8025 * The silc_server_remove_clients_by_server now re-generates
8026 the channel keys correctly for those channels that had
8027 clients removed from them. Affected file silcd/server.c.
8029 Tue Jul 3 11:39:20 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8031 * Found the reason of random crashes in the server. We weren't
8032 ignoring the SIGPIPE signal (which can be sent in write())
8033 and it crashed the server. Affected file silcd/silcd.c.
8035 Fri Jun 29 20:05:25 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8037 * Assure that sock->user_data is not NULL in the function
8038 silc_server_packet_send in silcd/packet_send.c.
8040 * Disconnect the remote connection if it could not be added
8041 to any ID lists in the server. The affected file is
8044 * Check in silc_server_packet_send[_real/dest] that the
8045 socket is not disconnecting and ignore the data if it is.
8046 Affected file silcd/packet_send.c.
8048 * Define inline to __inline on native WIN32 compilation.
8049 Affected file includes/silcwin32.h.
8051 * Added some explicit type casts for inline code since MSVC
8052 require them. Affected files lib/silcutil/silcbuffer.h,
8053 lib/trq/silcdlist.h and lib/trq/silclist.h.
8055 * Print warning in log files from now on if the packet
8056 decryption fails. Affected file silcd/server.c.
8058 Thu Jun 28 21:30:39 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8060 * Changed the `say' client operation's interface to accept
8061 new `type' argument to indicate the type of the message sent
8062 by the library. The application may filter the library's
8063 messages according the type. The affected file is the
8064 lib/silcclient/silcapi.h.
8066 * Added two new functions to lib/silcclient/silcapi.h:
8067 silc_client_del_client and silc_client_del_client_by_id.
8068 Affected file lib/silcclient/idlist.c.
8070 * Moved the clientincludes.h from includes/ to silc/ and
8071 serverincludes.h from includes/ to silcd/.
8073 * The modes for the CMODE and CUMODE are now passed as
8074 uint32 for application with COMMAND_REPLY. The affected
8075 file is lib/silcclient/command_reply.c.
8077 Wed Jun 27 22:24:47 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8079 * /WHOIS without arguments shows client's own information.
8080 Affected file lib/silcclient/command.c.
8082 * Changed PING to not accept any arguments. The specs
8083 says that client can ping only the connected server so
8084 requiring an argument is not needed. Affected file is
8085 lib/silcclient/command.c.
8087 Wed Jun 27 00:10:33 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8089 * Fixed a fatal bug in private message sending and reception
8090 encryption and decryption when using private message keys.
8091 The implementation was incorrect and did not follow the
8092 specification. It causd that some of the message were
8093 lost since it did not use the sending and receiving keys
8094 as the protocol suggests. This has been fixed and will cause
8095 incompatibilities with older clients when sending private
8096 message encrypted with private message keys. Affected files
8097 lib/silcclient/client_prvmsg.c, lib/silcclient/client_keyagr.c
8098 and various other in Irssi SILC Client.
8100 Added `responder' boolean argument to the functions
8101 silc_client_add_private_message_key[_ske] to indicate when
8102 the key is added as responder or initiator of the key
8105 Tue Jun 26 19:23:07 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8107 * Removed the silc_ske_check_version function and created
8108 a SilcSKECheckVersion callback. Added also a function
8109 silc_ske_set_callbacks that is now used to set all SKE
8110 callbacks. The callback functions are not given to
8111 the SKE functions anymore, but this function is used to
8114 * Fixed the WIN32 DLL generation in lib/Makefile.am.pre.
8116 * Added `silc_version' argument to the silc_client_alloc
8117 to define the version of the application for the library.
8118 The library will use the version string to compare it
8119 against the remote host's (usually a server) version
8120 string. Affected file lib/silcclient/silcapi.h
8122 * Added the KE protocol context to Key Agreement context
8123 in client library so that we can abort the SKE if it
8124 is in process when we get timeout. Affected file is
8125 lib/silcclient/client_keyagr.c.
8127 * Do not resolve the client ID forever if it returns in the
8128 first time that such client does not exist. This was done
8129 for example with private message. Affected file is
8130 lib/silcclient/client_prvmsg.c.
8132 Mon Jun 25 21:42:51 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8134 * Do not add regex.h for WIN32. The affected file
8135 includes/silcincludes.h.
8137 * Added WIN32 DLL generation to lib/Makefile.am.pre. It might
8138 not work yet 100%. It generates the DLL's automatically
8139 when compiling with --with-win32 under cygwin.
8141 Sun Jun 24 19:49:23 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8143 * lib/contrib/regex.c is not compiled on WIN32.
8145 * Added silc_net_get_socket_opt function to the
8146 lib/silcutil/silcnet.h.
8148 * Added includes/silcwin32.h for WIN32 specific includes
8151 * Do not use ptime structure or any of the posix process
8152 functions on WIN32 in lib/silccrypt/silrng.c.
8154 * Added silc_gettimeofday to provide generic function
8155 for struct timeval on all platforms. Added the function
8156 to lib/silcutil/silcutil.h.
8158 Sun Jun 24 12:19:52 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8160 * Moved the lib/silccore/silcsockconn.[ch] to the utility
8161 library as they clearly belong there. As a plus side we
8162 can make the actual socket connection routines platform
8165 Added also new generic function silc_socket_read and
8166 silc_socket_write (that used to be silc_packet_[read/write].
8167 The implementation of these are platform specific.
8169 * Added WIN32 specific routines of silc_socket_[read/write]
8170 to lib/silcutil/win32/silcwin32sockconn.c.
8172 Sat Jun 23 16:01:00 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8174 * Added preliminary support for native WIN32 compilation under
8175 cygwin (using the -mno-cygwin option for GCC) to the
8176 ./configure.in.pre. The --with-win32 now prepares the
8177 compilation for native WIN32.
8179 * Rewrote the SILC Scheduler interface in the file
8180 lib/silcutil/silcschedule.h. The scheduler is now context
8181 based and does not have anymore any global static scheduler.
8182 Moved the Unix scheduler to the lib/silcutil/unix/ directory
8183 and created lib/silcutil/win32 directory for WIN32 based
8186 * Added Unix specific network routines to the
8187 lib/silcutil/unix/silcunixnet.c and the old
8188 lib/silcutil/silcnet.c includes now only generic routines.
8190 Added WIN32 specific network routines to the
8191 lib/silcutil/win32/silcwin32net.c.
8193 * Added Unix specific utility functions from the
8194 lib/silcutil/silcutil.c to lib/silcutil/unix/silcunixutil.c.
8196 * Added WIN32 SILC Scheduler to the file
8197 lib/silcutil/win32/silcwin32schedule.c. The code is of course
8200 Fri Jun 22 10:44:14 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
8202 * Do not handle JOIN notify in the server if the target client
8203 is not registered (idata->registered == FALSE). The affected
8204 file is silcd/packet_receive.c.
8206 * Update the nickrec->founder in event_cumode in the Irssi SILC
8207 client. Affected file irssi/src/silc/core/silc-channels.c.
8209 * Fixed the CUMODE_CHANGE notify handling in the server when
8210 server and router are announcing their clients on channels.
8211 Now the mode changes are saved and notified correctly. The
8212 affected file is /silcd/packet_receive.c.
8214 * Fixed silc_idlit_replace_[server/client/channel]_id functions.
8215 They really did not replace the cache entry in the ID Cache.
8216 Now they do that. Affected file silcd/idlist.c.
8218 * Fixed the KICK notify handling in the Irssi SILC client to
8219 update the channel records so that the kicked client does not
8220 appear to be on the channel. The affected file is
8221 irssi/src/silc/core/silc-channels.c.
8223 * Always update the conn->current_channel when executing command
8224 on a channel. Affected file irssi/src/silc/core/silc-servers.c.
8226 * Fixed the KILL notify handling in Irssi SILC client to remove
8227 the killed client on all channels.
8229 Thu Jun 21 17:10:08 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8231 * Fixed the silc_parse_command_line to remove extra spaces
8232 from the start and end of the arguments. Affected file is
8233 lib/silcutil/silcutil.c.
8235 * Cancel and free any active protocol in the function
8236 silc_server_close_connection. Affected file silcd/server.c.
8238 * Cancel and free any active protocol in the function
8239 silc_client_close_connction. Affected file is
8240 lib/silcclient/client.c.
8242 * Do not execute the KILL command for clients that are in
8243 history (ie. they are not in the network). Affected file is
8246 * Fixed KILL notify handling, client does not crash anymore.
8247 Affected file irssi/src/silc/core/silc-channels.c.
8249 * Reduced the default packet buffer size from 2048 to 1024 in
8250 lib/silccore/silcpacket.c.
8252 * Added SILC_SKE_STATUS_FREED SKE status type and a reference
8253 counter to the SKE context that is incresed when the SKE library
8254 performs async operation outside the library. If the outside
8255 process frees the SKE context and FREED status will be set
8256 and the library will detect after the sync operation that the
8257 libary is freed. The affected files are
8258 lib/silcske/silcske[_status].[ch].
8260 * Resolve the client entry information in the function
8261 silc_client_channel_message to assure that NULL pointer is not
8262 passed as client entry to the application. */
8264 * Fixed the task timeout calculation to assure that there is
8265 never negative timeouts. The affected file is
8266 lib/silcutil/silcschedule.c.
8268 * Fixed the channel user mode notification sending in server.
8269 It was sent point-to-point to the router (or to server by router)
8270 but it needs to be destined to a channel. The routines now
8271 supports sending the channel user mode notifys to the channels
8272 when announcing clients and channels. Affected files are
8273 silcd/server.c and silcd/packet_receive.c.
8275 * Fixed the CHANNEL_CHANGE notify handling in the client libary.
8276 It did not actually replace the old channel entry in the cache.
8277 Affected file lib/silcclient/client_notify.c.
8279 Tue Jun 19 22:10:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8281 * Fixed a possible crash in silc_packet_send_prepare. It now
8282 assures always that there is enough space in the buffer and
8283 at the tail area of the buffer (for MAC).
8285 Fixed the inbound buffer reallocation in silc_packet_read.
8286 It was old code and did not handle the reallocation correctly.
8289 The affected file is lib/silccore/silcpacket.c.
8291 * Fixed buffer overflow in silc_parse_nickname in the file
8292 lib/silcutil/silcutil.c.
8294 Tue Jun 19 13:40:09 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8296 * make install generates new server keys only if there is not
8299 Mon Jun 18 18:49:07 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8301 * Set SILC_MESSAGE_FLAG_NOREPLY when sending the away message.
8302 Added check that if the NOREPLY is set then we will not send
8303 the away message. This avoids infinite loop of away messages
8304 if both clients are away. The affected file is
8305 lib/silcclient/client_prvmsg.c.
8307 * Fixed client crash if /NICK was given without arguments.
8308 Affected file lib/silcclient/command.c.
8310 * Server does not send the invite list in INVITE command back
8311 to the client if the list was not altered. Added this notion
8312 to the protocol spec as well. Affected file silcd/command.c.
8314 Fixed possible crash in INVITE command by checking the
8315 value of silc_server_get_client_route command.
8317 * Fixed the INVITE notify type handling. The arguments are now
8318 taken in correct order and client does not crash. The affected
8319 file is irssi/src/silc/core/silc-channels.c.
8321 Removed the "Inviting xxx to channel" message from the
8322 client library away and let the application handle it.
8323 Affected file lib/silcclient/command.c. Added that message
8324 to Irssi SILC client's message formats.
8326 * Fixed CMODE command crash in client. It now checks the
8327 amount of arguments correctly and does not crash. The affected
8328 file is lib/silcclient/command.c.
8330 * Do not create new channel automatically in silc_channels_join
8331 but check whether the channel by that name already exists.
8332 Affected file irssi/silc/core/silc-channels.c.
8334 * Do not send the SERVER_SIGNOFF to router if the disconnected
8335 entity was the router. Affected file silcd/server.c.
8337 * Added the handling of the SERVER_SIGNOFF notify to the Irssi
8338 SILC client as it was missing from there.
8340 Added the handling of the KICK notify to the Irssi SILC client
8341 as it was missing. Added "you have been kicked" message to
8342 Irssi SILC client's message modules formats.
8344 Added the handing of the KILL notify to the Irssi SILC client
8345 as it was missing. Added the kill message module formats
8348 The affected file is irssi/src/silc/core/silc-channels.c.
8350 * The router did not save the channel mode the server announced.
8351 Affected file silcd/packet_receive.c.
8353 * Fixed a possible crash in INFO command in server. If the
8354 server did not provide the server info it crashed. Affected
8355 file silcd/command.c.
8357 Sun Jun 17 15:26:05 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8359 * Fixed the GETKEY command in the server to check also the
8360 global list. Otherwise the GETKEY would not work correctly
8361 in normal SILC server. Affected file silcd/command.c.
8363 Sat Jun 16 18:00:00 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8365 * Fixed GETKEY crash, it crashed if the command did not succseed.
8367 Tue Jun 12 21:36:18 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8369 * Redefined the SILC MP API in lib/silcmath/silcmp.h. The API
8370 is now real and not just an macro interface to GMP.
8372 Removed the entire GMP from the source tree and imported new
8373 NSS MPI library instead. Reason for removing GMP is that it is
8374 extremely large and compiles extremely slow. The NSS MPI
8375 is only a few files and compiles in less than 10 seconds.
8376 The speed is also about the same as GMP. The MPI is imported
8377 to lib/silcmath/mpi.
8379 If the system has GMP installed we will still use the GMP.
8380 If it is not then the NSS MPI will be compiled.
8382 Mon Jun 11 18:07:24 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8384 * Merged a long nickname (127 characters long) crash bugfix from
8385 Irssi CVS tree. Affected file irssi/src/core/misc.c.
8387 * Merged a freed memory reference bugfix from Irssi CVS tree.
8388 Affected file irssi/src/core/commands.c.
8390 Sun Jun 10 16:08:35 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8392 * Added the server's public key sving and verification to the
8393 server when performing the SKE. This was missing and the
8394 remote server's (or router's) public key was accepted without
8395 checking whether we have it previously or trust it at all.
8396 Affected file silcd/protocol.c.
8398 Sat Jun 9 20:17:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8400 * Check in the silc_server_timeout_remote if protocol is active
8401 and make sure that the protocol's final callback is called so
8402 that all memory if freed. Affected file silcd/server.c.
8404 Sat Jun 9 12:51:27 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8406 * silc_server_whois_send_reply crashed the server if the nickname
8407 was 127 characters long. Affected file silcd/command.c.
8409 Thu Jun 7 16:29:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8411 * Added sanity check to the silc_server_new_client. If the hostname
8412 is provided inside username then check that the provided hostname
8413 really is the same as the resolved one. If the hostname was not
8414 resolved then check it from the public key. Affected file is
8415 silcd/packet_receive.c.
8417 * Fixed a fatal bug in Irssi SILC client. Do not send QUIT command
8418 if the server disconnected us and the connection is not valid
8419 anymore. Affected file irssi/src/silc/core/silc-channels.c.
8421 * Moved the silc_client_[chmode|chumode|chumode_char] away from
8422 the library to the lib/silcutil/silcutil.[ch].
8424 Thu Jun 7 08:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8426 * Close log file after open. Affected file
8427 lib/silcutil/silclog.c.
8429 * Check whether sock == NULL in silc_client_send_packet and return
8430 if it is. Affected file lib/silcclient/silcclient.c.
8432 * Check rec->entry == NULL in the Irssi SILC Client before
8433 sending the channel message. Affecte file is
8434 irssi/src/silc/core/silc-servers.c.
8436 Tue Jun 5 08:08:21 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8438 * Merged a splitted window bugfix from Irssi CVS tree. The
8439 affected file is irssi/src/fe-text/textbuffer-view.c.
8441 * Fixed the ME, ACTION and NOTICE printing in Irssi Client.
8442 It did not print nickname.
8444 * Improved the distributions system a bit.
8446 Mon Jun 4 17:57:16 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8448 * Merged /WINDOW bugfix from irssi CVS tree. Affected file is
8449 irssi/src/fe-text/gui-window.c.
8451 * Fixed a fatal bug in Irssi SILC client. Crashed if sent message
8452 to in-active server. The affected file is
8453 irssi/src/silc/core/client_ops.c.
8455 * Resolve the client in USERS command reply if the entry does
8456 not have username resolved. The affected file is
8457 lib/silcclient/command_reply.c. Also, changed the IDENTIFY
8458 command to WHOIS command to really resolve stuff. The USERS
8459 is not used any more in any critical section so WHOIS can
8460 be used even though it might be slower than IDENTIFY.
8462 * Changed the lib/silcutil/silchashtable.h header to ROBODoc
8465 Sun Jun 3 14:21:32 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8467 * Changed the protocol API a bit more consistent in the
8468 lib/silccore/silcprotocol.[ch].
8470 * Changed the following headers to ROBODoc format:
8472 lib/silccore/silcpayload.h
8473 lib/silccore/silcprotocol.h
8474 lib/silccore/silcsockconn.h
8476 All core library headers are now formatted.
8478 Sat Jun 2 10:45:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8480 * Fixed a bug in Irssi SILC client; do not show that you are
8481 server/router operator if you really are not. Affected file is
8482 irssi/src/silc/core/client_ops.c.
8484 * Renamed silc_command_free_payload to silc_command_payload_free.
8485 Affected file lib/silccore/silccommand.h
8487 * Added silcmath.h to include the prototoypes of various routines
8488 in the lib/silcmath. Removed the old modinv.h, mpbin.h and
8491 * Changed the following headers to ROBODoc format:
8493 lib/silccore/silcchannel.h
8494 lib/silccore/silccommand.h
8495 lib/silccore/silcid.h
8496 lib/silccore/silcidcache.h
8497 lib/silccore/silcmode.h
8498 lib/silccore/silcnotify.h
8499 lib/silccore/silcpacket.h
8500 lib/silcmath/silcmath.h
8502 Fri Jun 1 22:19:37 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8504 * Added checking to the server code not to start the server if
8505 ciphers and stuff are not configured properly. Affected files
8506 silcd/serverconfig.[h] and silcd/server.c.
8508 * Changed the layout of the header files of the public interfaces
8509 in the SILC libraries. The new layout supports ROBODoc
8510 documentation tool (and some others) so that it is easy to create
8511 a library reference manual. All the other headers and source
8512 code must still follow the CodingStyle document. Also source
8513 code must not include these ROBODoc stuffs, only the headers.
8514 Furthermore, all public interface headers must now be named
8515 by using `silc' prefix, example: silcapi.h, silccipher.h.
8516 Some files were renamed due to this. All the other headers
8517 must not be used as public interfaces. I will update the
8518 CodingStyle document later. Changed following headers, so far:
8520 lib/silcclient/silcapi.h
8521 lib/silccore/silcauth.h
8522 lib/silccore/silcprivate.h
8523 lib/silccrypt/silcdh.h
8525 Fri Jun 1 10:28:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8529 * Removed silc_client_packet_send_flush from the client library
8530 as it is not needed. Affected file lib/silcclient/client.[ch].
8532 * Added printing of message of unresolved authentication method
8533 to the Irssi SILC client. Added it to the module formats.
8534 Removed the same message from the client library.
8536 Thu May 31 13:57:33 CEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8538 * Added new distribution feature, DISTLABEL. Every distribution
8539 can define own preprocessor label that can be used in the
8540 source code. For example: #ifdef SILC_DIST_CLIENT. Affected
8541 file distributions, acconfig.h.pre and prepare.
8543 Tue May 29 22:16:40 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8545 * Added Makefile.defines_int to include the actual definitions
8546 for Makefile.defines.in. Tested the new distribution system,
8547 created distributions and tested installation.
8549 * Added AWAY message printing to the Irssi SILC client. Added
8550 the messages to the irssi/src/fe-common/silc/module-formats.[ch].
8552 * Added SCONNECT command to call the SILC's CONNECT command.
8553 Cannot use CONNECT directly since Irssi uses that internally.
8554 Affected file irssi/src/silc/core/silc-servers.c.
8556 Added ACTION local command. It is same as ME command but takes
8557 the channel as mandatory argument.
8559 Rewrote some of the Irssi's help files to suite for SILC
8562 Mon May 28 19:05:22 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8564 * Added Makefile.defines[.in] that should for now on be included
8565 in all Makefile.am file in the source tree. That file includes
8566 all common compilation definitions for SILC source tree.
8568 Mon May 28 10:30:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8570 * Minor changes to the ./prepare script to change the package
8571 name according the distribution name to the configure.in.
8573 Sun May 27 22:24:57 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8575 * Created new distribution system. Added file `distributions'
8576 that defines all the distributions that can be created out of
8577 the SILC source tree. The ./prepare script now reads that
8578 file to determine how to prepare the distributions. The
8579 first argument to the ./prepare is the name of the distribution
8580 and second is the version of the distribution. If given
8581 without arguments it creates the default (toolkit) distribution
8582 with the default version (defined in ./prepare).
8584 All Makefile.am files that are subject to the distributions
8585 are now named as Makefile.am.pre. These are ./Makefile.am
8586 and lib/Makefile.am. Others may be changed later.
8588 Sun May 27 15:57:17 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8590 * Added invite list, ban list, some key management and connection
8591 error message printing to module formats in the Irssi SILC client.
8593 * Added new silc_client_set_away_message to set the away message
8594 that is back to the person who sent private message. The
8595 affected file lib/silcclient/silcapi.h and the
8596 lib/silcclient/client_prvmsg.c.
8598 Sun May 27 12:39:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8600 * Fixed the private message sending in the Irssi SILC client,
8601 added local command KEY to the Irssi SILC client.
8603 Added key management and key agreement message formats to the
8604 irssi/src/fe-common/silc/module-formats.[ch].
8606 Added USERS (alias WHO) printing, server/router operator
8607 indication and LIST command printing to the module formats.
8609 Sat May 26 17:43:42 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8611 * Fixed channel joining notify handling, cumode notify handling
8612 from Irssi SILC client.
8614 * Added SILC specific module-formats to the Irssi SILC client so
8615 that SILC specific message hilighting, colors etc is possible.
8616 Affected file irssi/src/fe-common/silc/module-formats.[ch].
8618 Added channel mode, channel user mode, actions, notices,
8619 whois and whowas printing to the the module-formats.c.
8621 * Fixed a bug in channel deletion in the server. The channel
8622 is not left to the cache even if the channel founder auth mode
8623 is set when there are no users anymore on the channel. Affected
8624 file silcd/server.c.
8626 * The silc_net_localhost now resolves the entire hostname including
8627 the domain name. Affected file lib/silcutil/silcnet.c.
8629 Sat May 26 12:13:37 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8631 * Changed the ask_passphrase client operation to be ascynchronous.
8632 It has now a completion callback and a context that the
8633 application must call after it has got the passphrase from
8634 the user. Affected files lib/silcclient/silcapi.h,
8635 lib/silcclient/protocol.c, lib/silcclient/command.c and
8638 Added SilcAskPassphrase callback that the application calls
8639 to deliver the passphrase to the library.
8641 * Changed the SKE protocol's SilcSKEVerifyCb to be asynchronous.
8642 The public key verification and especially a certificate
8643 verification is asynchronous procedure.
8645 Added new SILC_SKE_STATUS_PENDING status to indicate the
8646 request is pending and a callback will be called to finalize
8649 Added also SILC_SKE_STATUS_PUBLIC_KEY_NOT_PROVIDED status to
8650 indicate that remote end did not send its public key (or
8651 certificate), even though we require it. Added check for this
8652 condition in the SKE. This was a security bug, now fixed.
8654 Defined new SilcSKEVerifyCbCompletion callback that is called
8655 when the verification process is completed.
8657 The affected files lib/silcske/silcske_status.h and
8658 lib/silcske/silcske.[ch].
8660 * Changed the verify_public_key client operation to be async
8661 as well. Defined SilcVerifyPublicKey callback that is used to
8662 indicate the success of the public key verification process.
8664 Changed the server and client to use the new async client
8667 * Changed the Irssi SILC client's internal scheduler to be called
8668 twice as many times as it used to be. As a result the client
8669 should be a bit faster now. Affected file is
8670 irssi/src/silc/core/silc-core.c.
8672 * Added support to Irssi SILC client of asynchronous public key
8673 verification and passphrase inquiry. Affected file is
8674 irssi/src/silc/core/silc-core.c.
8676 Fri May 25 14:38:38 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8678 * Do not say "You have left channel %s" in client library.
8679 Moved it to the application. Affected files are
8680 lib/silcclient/command.c and silc/client_ops.c.
8682 * Fixed silc_client_get_clients. Command context was not
8683 duplicated and was freed memory in the callback. Affected
8684 file lib/silcclient/idlist.c.
8686 * Do not say "you are now talking..." on JOIN command in the
8687 client library. The appliation must handle it.
8689 * Do not say ".. changed topic to" in command reply in the
8690 client libary. The application must handle it.
8692 * Fixed TOPIC command sending in the client library.
8694 * Fixed a memory leak in silc_client_command_free in the file
8695 lib/silcclient/command.c.
8697 Thu May 24 19:08:55 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8699 * Imported a modified version of Irssi client to the source tree.
8700 The Irssi will be used to create a new client called
8701 Irssi SILC. Imported to irssi/.
8703 Added silc_core_init_finish function to the Irssi. Affected
8704 file irssi/configure.in.
8706 A lot changes in the Makefile.ams around the irssi tree.
8708 Tue May 22 22:23:49 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8710 * Do not rehash if the new size is same as the old size of the
8711 hash table, in the silc_hash_table_rehash*. The affected file
8712 lib/silcutil/silchashtable.c.
8714 * Replaced hash_table_del_by_context calls from the server
8715 (when channel->user_list and client->channels) to the
8716 hash_table_del as it is sufficient and faster.
8718 Tue May 22 17:27:16 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8720 * Added silc_hash_table_list, silc_hash_table_get and the
8721 SilcHashTableList structure to provide an alternative way to
8722 traverse the hash table. The affected files are
8723 lib/silcutil/silchashtable.[ch].
8725 * Changed the server's idlist routines to use the hash table
8726 routines to optimize the code.
8728 Mon May 21 21:46:20 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8730 * Replaced the client entry's `channel' list and channel entry's
8731 `user_list' list to hash tables for optimized lookup. Changed
8732 the code to use the hash table interface around the code.
8733 Affected file lib/silcd/idlist.[ch].
8735 * Added `auto_rehash' boolean argument to the function
8736 silc_hash_table_alloc to indicate whether the hash table should
8737 auto-rehash when it thinks is appropriate time. It will
8738 increase the hash table size if the there is twice as much
8739 entries in the table than the size of the table, and will
8740 decrease the size if there are twice as less entries than
8741 the size of the table.
8743 Mon May 21 09:51:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8745 * Fixed silc_xxx_get_supported to not crash at some circumstances.
8747 Sun May 20 13:45:58 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8749 * silc_idcache_purge_by_context deletes the entry now by context
8750 as it is supposed to do. Affected file lib/silccore/idcache.c.
8752 * Send the ERR_NO_SUCH_NICK in the WHOIS command reply if the
8753 client is not anymore valid (WHOWAS givens the info) and not
8754 the ERR_NO_SUCH_CLIENT_ID if the nickname still exists.
8756 Sat May 19 16:30:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8758 * Removed the `data' and `data_len' arguments from the ID Cache
8759 interfaces and added `name' argument. ID Cache does not handle
8760 anymore the binary data only a names associated with given ID.
8762 * When hashing a Client ID with silc_hash_id the entire ID is
8763 not hashed anymore, instead only the hash of the Client ID is
8764 hashed. This way we can access the Client ID from the cache
8765 with Client ID but with the hash of the ID (which is a hash of
8766 the nickname) as well without any difference in performance.
8768 Added also silc_idcache_find_by_id_one_ext to do one on one
8769 searching when we have the actual ID. Added also function
8770 silc_hash_client_id_compare. The affected files are
8771 lib/silccore/idcache.[ch] and lib/silcutil/silcutil.[ch].
8773 * When hashing the name associated with a ID it is always done
8774 in lowercase. This way we can access the cache without worrying
8775 about case-sensitivity, even though, for example nicknames are
8778 * Fixed a bug in server with channel message sending. It put
8779 wrong ID type as destination ID. The affected file
8780 silcd/packet_send.c.
8782 * silc_idcache_del_by_context now deletes from all hash tables
8783 by context. Affected file lib/silccore/idcache.c.
8785 Fri May 18 17:42:00 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8787 * Changed the client library to use the new ID Cache interface.
8788 Changes around the source tree.
8790 * Added silc_hash_table_rehash_ext to rehash with specific
8791 hash function. Affected file lib/silcutil/silchashtable.[ch].
8793 * Added silc_hash_string_compare to compare two strings in the
8794 hash table. Affected file lib/silcutil/silcutil.[ch].
8796 Fri May 18 11:18:45 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8798 * Added new function silc_idcache_del_by_context into the
8799 lib/silccore/idcache.[ch].
8801 * Changed the server's ID list routines to use the new ID Cache
8802 interface. Changes around the source tree.
8804 Fri May 18 08:35:31 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8806 * Added silc_hash_table_del[_by_context]_ext functions in to the
8807 lib/silcutil/silchashtable.[ch].
8809 Removed silc_hash_table_find_all* routines and added new
8810 silc_hash_table_find_foreach to replace them.
8812 Added silc_hash_table_replace_ext function as extended
8813 replacing function. Separated the simple hash table interface
8814 from the extended hash table interface in the file
8815 lib/silcutil/silchashtable.h.
8817 * Fixed minor bugs and changed it to use some of the new
8818 hash table functions in lib/silccore/idcache.c
8820 Thu May 17 18:15:12 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8822 * Added new function silc_hash_table_find_all to return all keys
8823 in the hash table by the specified key. As the hash table is
8824 collision resistant it also makes it possible to have several
8825 duplicate keys in the hash table. This function may be used to
8826 find all of the keys from the hash.
8828 Added user_context arguments to the SilcHashFunction,
8829 SilcHashCompare and SilcHashDestructor to deliver user specified
8832 Added new fuctions silc_hash_table_find[_all]_ext to do
8833 extended lookup with specified hash and compare functions and
8834 specified user contexts.
8836 Added new function silc_hash_table_add_ext to add the key
8837 with specified hash function and user context.
8839 Added new function silc_hash_table_foreach to traverse all
8840 entrys in the hash table. Added SilcHashForeach callback
8843 Added new function silc_hash_table_del_by_context to delete
8844 the entry only if the context associated with the key matches.
8846 Affected files are lib/silcutil/silchashtable.[ch].
8848 * Removed silc_hash_[server/client/channel]_id and added just
8849 silc_hash_id to the lib/silcutil/silcutil.[ch]. Added also
8850 silc_hash_id_compare to compare two ID's using as the hash table
8851 comparison function. Added also silc_hash_data to hash
8852 binary data and silc_hash_data_compare to compare it.
8854 * Removed silc_idlist_find_client_by_hash as it is not needed
8855 anymore. Affected file silcd/idlist.[ch].
8857 * Rewrote the entire ID Cache system (in lib/silccore/idcache.[ch])
8858 to use internally the SilcHashTable. The new ID Cache is a lot
8859 faster than the old one. Some of the ID Cache interface was also
8860 rewritten and obsolete and stupid functions were removed.
8862 Wed May 16 23:03:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8864 * Added entry_count field to the SilcHashTable to keep the number
8865 of the entries in the table. Implemented the function
8866 silc_hash_table_rehash. Added new function
8867 silc_hash_table_count. Affected file lib/silcutil/silchashtable.c.
8869 Fixed a minor bug in silc_hash_table_free.
8871 * Added silc_hash_string, silc_hash_uint, silc_hash_ptr,
8872 silc_hash_client_id, silc_hash_server_id and silc_hash_channel_id
8873 into the lib/silcutil/silcutil.[ch].
8875 Wed May 16 20:02:47 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8877 * Implemented a collision resistant hash table into the
8878 lib/silcutil/silchashtable[ch]. See the header and the source
8879 for the SilcHashTable API.
8881 Tue May 15 22:05:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8883 * Merged dotconf version 1.0.2 into lib/dotconf.
8885 Sun May 13 19:32:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8887 * Do not compile anything in lib/silcsim/* if the SIM support
8888 is not enabled. The tree should now compile without problems
8891 Thu May 10 22:49:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8893 * Compiled the SILC under cygwin. Compiled and tested briefly
8894 without problems. More tests needed. The SIMs didn't compile
8897 * Added various #ifdef HAVE_* stuff to lib/silccrypt/silrng.c.
8899 * Fixed possible crash in silc_get_username in the
8900 lib/silcutil/silcutil.c.
8902 Tue May 8 09:04:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8904 * Fixed a va_arg in silc/client_ops.c.
8906 * Oops, RC5 routines were named AES and caused some problems
8907 when not using SIM's. Affected file lib/silccrypt/rc5.c.
8909 Sun May 6 13:59:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8911 * Added new SilcIDIP structure into the lib/silccore/id.h and
8912 replaced the old `ip' fields from all SILC ID's to that type.
8913 This is a step towards IPv6 support.
8915 The silc_id_get_len takes now the ID as an extra argument.
8916 The silc_id_id2str, silc_id_str2id and silc_id_dup now supports
8917 both IPv4 and IPv6 based ID's.
8919 The affected files are lib/silccore/id.[ch] and other files
8920 around the tree using these routines.
8922 * Removed the ID length arguments in server from various
8923 silc_server_send_notify_* routines -> they are not needed
8926 Sat May 5 13:56:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8928 * Fixed memory leak in silc_encode_pem_file in the file
8929 lib/silcutil/silcutil.c.
8931 Thu May 3 21:23:50 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8933 * Check minor version as well in the SKE. Affected files are
8934 silcd/protocol.c and lib/silcclient/protocol.c.
8936 * Added --identifier option to the server so that an identifier
8937 can be when creating the public key for the server. Affected
8938 file is silcd/silcd.c.
8940 * Fixed minor decoding bug in silc_pkcs_decode_identifier in
8941 lib/silccrypt/silcpkcs.c.
8943 Wed May 2 20:50:49 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8945 * Register default ciphers and stuff when using -C option with
8946 the server. Affected file sildc/silcd.c.
8948 * Put back the servers public key filename format, it is better
8949 than the new one. For now, the client keys are saved with the
8950 new filename format. The affected file silc/client_ops.c.
8952 * Implemented the Cipher API for the rest of the ciphers that
8953 did not implement it or implemented it the wrong way.
8955 Wed May 2 13:31:26 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8957 * Register default ciphers and stuff when using the -S option
8958 in the client. Affected file silc/silc.c. Same also when
8959 creating new key pair with -C option.
8961 Tue May 1 14:18:13 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
8963 * Fixed the silc_verify_public_key client operation function to
8964 save the public keys differently. The fingerprint is now
8965 used as filename and not the hostname. This way also the
8966 client keys are saved uniquely and not with hostnames. The
8967 affected file is silc/client_ops.c.
8969 * Trimmed the silc_hash_fingerprint function to remove extra
8970 whitespaces from the end of the fingerprint. The affected
8971 file is lib/silccrypt/silchash.c.
8975 * Added silc_cipher_register_default function to register all
8976 default ciphers. It can be used when configuration files
8977 does not exist and the application does not want any specific
8978 ciphers in any specific order.
8980 The SilcDList is now used as silc_cipher_list dynamically
8981 allocated cipher list. Removed the static list all together
8982 and now all ciphers must be allocated to the dynamic list.
8983 The silc_cipher_alloc routine was changed to check only the
8986 All silc_cipher_* routines that used to return int returns
8989 The affected files lib/silccrypt/silccrypt.[ch].
8991 * The same thing was done to silc_hash_* as for silc_cipher_*
8992 routines. Affected files lib/silccrypt/silchash.[ch].
8994 * The same thing was done to silc_pkcs_* as for silc_cipher_*
8995 routines. Affected files lib/silccrypt/silcpkcs.[ch].
8996 Added also silc_pkcs_[un]register[_default] functions.
8997 Removed the data_context from the PKCS API.
8999 * Added silc_hmac_register_default function to register default
9000 hmacs. Affected files lib/silccrypt/silchmac.[ch]. Added also
9001 SILC_ALL_HMACS macro that can be used with silc_hmac_unregister
9002 to unregister all hmacs at once.
9004 * Register the default ciphers, hash functions, PKCSs and HMACs
9005 if client's configuration file does not exist. The affected
9008 * The client did not load the hash functions from the SIM
9009 modules at all. Added support for this. Affected file is
9010 silc/clientconfig.c.
9012 * When decoding public key with silc_pkcs_public_key_decode, check
9013 the supported algorithm only if PKCS are registered. Affected
9014 file lib/silccrypt/silcpkcs.c. The same was done with the
9015 silc_pkcs_private_key_decode.
9017 * Fixed the SILC List routines to keep the list always in order.
9018 It used to change the list's order when traversing the list but
9019 not it preserves the order. Affected file lib/trq/silclist.h.
9021 Mon Apr 30 17:29:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9023 * Added the client library to use the SilcSocketConnection's
9024 reference counter (by silc_socket_dup) to prevent the bug that
9025 the socket object may be freed underneath async operation.
9027 * The name resolv library checking fixes in the configure.in.pre.
9030 * Created new version of the protocol drafts for future
9031 development. The -03 drafts are the ones that will be changed
9032 in the trunk now and the -02 will remain as they are.
9034 * Send list of CUMODE notifys to the router when announcing
9035 the channel users to the router. Affected file silcd/server.c.
9036 If the router receiving channel founder CUMODE for a channel
9037 that already has channel founder it will send CUMODE notify
9038 to the sender to remove the channel founder rights from the
9039 announced client. Affected file silcd/packet_receive.c.
9041 * The CUMODE notify may now use Server ID as well as the entity
9042 who changes the mode. Updated protocool specs.
9044 * Updated INSTALL and README files.
9046 Sun Apr 29 23:17:50 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9048 * New web pages in the http://silc.pspt.fi. The pages was
9053 Sun Apr 29 13:33:41 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9055 * Implemented the [DenyConnectin] config section in the server.
9056 Added silc_server_config_denied_conn to check whether incoming
9057 connection is denied. Affected file silcd/serverconfig.[ch].
9059 * Do not check the ports when checking the incoming configuration
9060 data if the port is 0, meaning any. Affected file is
9061 silcd/serverconfig.c.
9063 Fri Apr 20 18:58:43 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9065 * Fixed buffer overflow in silc_string_compare in the file
9066 lib/silcutil/silcutil.c.
9068 * Fixed double free in silc_server_command_leave in the file
9071 Fri Apr 20 14:00:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9073 * Fixed the version checking in the server. Affected file is
9076 Thu Apr 19 19:52:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9078 * Fixed the configuration data fetching when accepting new
9079 connections in the server. Affected file silcd/server.c.
9081 Thu Apr 19 11:40:20 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9083 * Added `sender_entry' argument to the function
9084 silc_server_packet_relay_to_channel so that we can check
9085 whether some destination actually belongs to the same route
9086 the sender belongs (ie, we must not resend the packet to the
9087 sender). Affected file silcd/packet_send.[ch].
9089 * Added `servername' field to the SilcClientEntry in the server
9090 to hold the name of the server where client is from. Affected
9091 file is silcd/idlist.h.
9093 Wed Apr 18 22:19:03 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9095 * Moved the channel message encrypting in the router betwen
9096 router connections from silc_server_channel_message to the
9097 silc_server_packet_relay_to_channel since we want to check
9098 whether we have anybody channel before encrypting anything.
9099 Affected files silcd/packet_[receive/send].c.
9101 Tue Apr 17 21:18:19 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9103 * Fixed the [AdminConnection] server config section to support
9104 multiple entries. Affected file silcd/serverconfig.c.
9106 * Added support into the server to check the validity of the
9107 incoming connection before executing any KE or authentication
9110 * The connection configuration is now saved to the KE and
9111 connection auth protocol contexts and not fetched anymore in
9112 the protocol. Affected files silcd/server.c, silcd/protocol.[ch].
9114 * The local hosts listenning address and port is also resolved
9115 now when starting the server. We want to have the socket object
9116 to include the real address and port for the listener. Added
9117 new function silc_net_check_local_by_sock into the files
9118 lib/silcutil/silcnet.[ch].
9120 * Fixed a broadcast bug in server -> do not broadcast if we
9123 * Fixed a routing bug. Do not route broadcast packets ever.
9124 Broadcast packets must be processed always and not routed since
9125 they may be destined to some other host than yourself and thus
9126 would get routed without no good reason. Affected file is
9129 * Added function silc_server_config_is_primary_route to check
9130 whether primary router connection has been configured (a router
9131 configuration that we are initiating). If there is not, we
9132 will assume that there is only two routers in the SILC network
9133 and we will use the incoming router connection as our primary
9134 route. Affected files silcd/serverconfig.[ch], silcd/server.c.
9136 * Changed the order of the broadcasting. Broadcast _after_ the
9137 packet has been processed not before. Affected file is
9140 * Fixed a [ClientConnection] parsing bug. The port was never
9141 parsed correctly thus resulting to port 0. Affected file
9142 silcd/serverconfig.c.
9144 * Fixed silc_server_send_notify_args -> it ignored the `broadcast'
9145 argument and did not set the broadcast packet flag. Affected
9146 file silcd/packet_send.c. Fixed same bug in the function
9147 silc_server_send_notify as well.
9149 * If we receive NEW_ID packet for our own ID in the server, ignore
9152 Mon Apr 16 12:10:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9156 * Removed the nickname from the Private Message Payload.
9157 Updated the code and the protocol specs.
9159 * Updated protocol specs for submitting to the IETF.
9161 * Tweaked the Random Number Generator a bit. Affected file
9162 lib/silccrypt/silcrng.c. Exported a new function
9163 silc_rng_[global]_add_noise which can be used to add more
9166 Sat Apr 14 16:21:32 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9168 * Do not parse packets with different timeout when protocol
9169 is active -> may cause problem with rekey. Affected file
9172 * When server receives signoff notify it must not create
9173 new channel key if the client is on any channels since the
9174 sender of the signoff notify will create it.
9176 Fri Apr 13 17:12:46 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9178 * Added printing of error messages during SKE protocol from the
9179 failure packet sent by server during SKE. Affected file
9182 * Removed the client's failure_callback handling with timeout
9183 and handle it immediately when received.
9185 * The SKE library returned wrong type in SUCCESS and FAILURE
9186 packets. They must be 32 bit MSB not 16 bit MSB.
9188 Fri Apr 13 00:09:08 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9190 * Ok, rewrote the logic of the re-key and now it seems to work.
9191 I tested it on high traffic with frequent re-keys without
9192 problems. Added hmac_receive (and renamed hmac to hmac_send)
9193 in SilcClientConnection in lib/silcclient/client.h and
9194 in SilcIDListData in silcd/idlist.h. Also, removed the
9195 SilcPacketParserContext's cipher and hmac fields as they are
9196 not needed anymore and actually caused some problems when
9197 the ciphers and hmac's changed underneath the packet parser.
9199 Thu Apr 12 14:42:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9201 * If re-key protocol is active then process the incoming packets
9202 synchronously since we must assure that icoming packets encrypted
9203 with the old key is processed before the new keys is set to
9204 use. This is true other packets than for REKEY packets.
9205 Affected file silcd/server.c. The same was done to client library
9206 as well, affected file lib/silcclient/client.c.
9208 Thu Apr 12 12:01:52 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9210 * Fixed bug in client and server to accept the force send if
9211 the packet is send from silc_[server/client]_packet_process
9212 function. Otherwise the packets are never delivered, oops.
9214 Wed Apr 11 22:10:15 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9216 * Disable force sending of packets when REKEY protocol is active.
9217 We must assure that no packet is sent directly when rekey is
9218 performed. All packets must be sent through packet queue.
9219 Added macro SILC_SERVER_IS_REKEY to silcd/server.h and
9220 SILC_CLIENT_IS_REKEY to lib/silcclient/client.h. Affected
9221 function is silc_[server/client]_packet_send_real to check
9224 * Replaced the SIM paths from example config files to
9225 /usr/local/modules. Also, make install creates now
9226 /usr/local/silc/logs directory to hold all the SILC server
9229 Wed Apr 11 16:59:59 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9231 * Made the configure.in.pre work on Solaris. Patch by salo.
9233 * Made all ciphers compatible with non-x86 machines. Defined
9234 CBC mode macros into lib/silccrypt/ciphers_def.h.
9236 Tue Apr 10 20:32:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9238 * Fixed the make install.
9240 Tue Apr 10 16:20:34 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9242 * When MAC computation fails the silc_packet_decrypt returned 0
9243 even though it was supposed to return -1. Fixed this. The
9244 affected file is lib/silccore/silcpacket.c.
9246 * Do not replace the config files in /etc/silc (in make install)
9247 if they already exist. Affected file ./Makefile.am.
9249 * Do not send re-key packets immediately but through packet queue.
9250 Affected file silcd/protocol.c and lib/silcclient/protocol.c.
9252 * Changed silc_net_check_host_by_sock to return FALSE if the
9253 IP/DNS could not be resolved. Though, it returns the IP address
9254 now even if it could not resolve it (but returns also FALSE).
9255 Affected file lib/silcutil/silcnet.[ch].
9257 Mon Apr 9 21:54:44 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9259 * Added silc_pkcs_decode_identifier to decode the public key's
9260 identifier. Affected file lib/silccrypt/silpkcs.[ch].
9261 Added also silc_pkcs_free_identifier. Added also new context
9262 SilcPublicKeyIdentifier.
9264 * Added -S option to the silc client. It is used to dump the
9265 contents of the specified public key file.
9267 * Changed the PKCS api to return the public key length when
9268 setting the public key.
9270 * Fixed a fatal bug in the public and private key file loading.
9271 Affected file lib/silccrypt/silcpkcs.c.
9273 * Execute the packet parsing for client with zero (0) timeout
9274 if the protocol is active. Affected file silcd/server.c.
9276 Sun Apr 8 19:30:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9278 * Made the key generation options to the silcd program. Added
9279 -C option, equivalent to client's option.
9281 * Added new [ServerKeys] config section to the server. It
9282 configures the server's public and private key.
9284 * Defined generic Public Key Payload into the protocol
9285 specification to send specific type of public keys and
9288 * Defined new command SILC_COMMAND_GETKEY to fetch a client's
9289 public key or certificate.
9291 * Implemented the GETKEY command to the server and to the
9292 client library and on user interface.
9294 Sun Apr 8 01:37:21 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9296 * Made preliminary `make install' work.
9298 Thu Apr 5 17:42:30 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9300 * Added SilcServerRekey context into silcd/idlist.h.
9302 * Added the PFS support as defined in the specification to the
9303 SKE protocol. Affected files lib/silcske/*.c.
9305 * Added `ske_group' field to the SilcServerRekey context to hold
9306 the number of the SKE group that is used with PFS in re-key.
9307 Affected file silcd/idlist.h.
9309 * Added PFS re-key support to the server. Affected file is
9312 * Added silc_protocol_cancel to cancel execution of the next
9313 state of the protocol. Affected file is
9314 lib/silccore/silcprotocol.[ch].
9316 * Added the re-key support with and without PFS to the client
9317 library. Re-key is performed once in an hour, by default.
9319 Added new protocol type SILC_PROTOCOL_CLIENT_REKEY.
9320 Added silc_client_rekey_callback and silc_client_rekey_final.
9321 Affected files are lib/silcclient/protocol.[ch] and
9322 lib/silcclient/client.[ch].
9324 * Removed the `hmac_key' and `hmac_key_len' fields from the
9325 SilcClientConnection structure; not needed. Affected file is
9326 lib/silcclient/client.h.
9330 Wed Apr 4 16:32:31 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9332 * Do not ask whether user wants to use the negotiated private key
9333 for private messages, just use it. Affected file is
9334 silc/local_command.c.
9336 * Added `send_enc_key' and `enc_key_len' fields to the
9337 SilcIDListData structure since they are needed in the re-key
9338 phase. Affected file is silcd/idlist.[ch].
9340 * Implemented the simple re-key protocol into the server.
9341 Affected files silcd/server.c and silcd/protocol.[ch]. The
9342 re-key will be performed once in an hour, by default.
9344 Added new protocol type SILC_PROTOCOL_SERVER_REKEY.
9345 Added silc_server_rekey, silc_server_rekey_callback and
9346 silc_server_rekey_final.
9348 * Removed Tunneled flag from the protocol. Updated the code
9349 and the specifications.
9351 * Adde `pfs' field to the SilcIDListData to indicate whether
9352 the PFS is to be performed in the re-key. Affected file is
9355 Tue Apr 3 21:52:42 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9357 * Defined uint8, int8, uint16, int16, uint32, int32, uint64 and
9358 int64 of at least the xintXX size. If void * is less that 4
9359 bytes uint32 * will be used. Defined bool as boolean.
9361 * Changed _ALL_ unsigned long and unsigned int to uint32,
9362 unsgined short to uint16 in the source tree.
9364 * Fixed a fatal bug in silc_server_remove_clients_by_server. Do
9365 not handle clients that has entry->data.registered == FALSE.
9366 They are not in the network anymore. Affected file is
9369 Tue Apr 3 16:39:19 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9371 * Implemented the sending of the SERVER_SIGNOFF notify in the
9372 server. Affected file is silcd/server.c.
9374 * Added silc_server_send_notify_args into silcd/packet_send.[ch].
9375 Added also silc_notify_payload_encode_args into the
9376 lib/silccore/silcnotify.[ch].
9378 * Implemented ther SERVER_SIGNOFF notify handling in the server.
9379 Affected file silcd/packet_receive.c.
9381 * Implemented the SERVER_SIGNOFF notify handling in the client
9382 library. Affected file lib/silcclient/client_notify.c. Also,
9383 implemnted the printing of the SERVER_SIGNOFF info to the
9384 application. Affected file silc/client_ops.c.
9386 * The silc_idlist_del_server now returns TRUE or FALSE to indicate
9387 if the deleting was successful. Affected file silcd/idlist.[ch].
9389 * Added support for public key authentication in the connection
9390 authentication protocol in the client library. Affected file
9391 lib/silcclient/protocol.c.
9393 * Changed the server's silc_idlist_get_clients_by_* interface
9394 to support already allocated array so that new entries may be
9395 added to pre-allocated array. Affected file silcd/idlist.[ch].
9396 This fixes some bugs with WHOIS, WHOWAS and IDENTIFY commands
9397 and command replies.
9399 * All command reply functions in the server now calls the
9400 pending command callback even if error occured. This way the
9401 error will be delivered to the client as well. Affected files
9402 silcd/command.c and silcd/command_reply.c.
9404 * Fixed INFO command to return local server's info if no server
9405 was provided. Affected file lib/silcclient/command.c.
9407 * Removed RESTART command for good. Updated the code and the
9410 * Rewrote parts of the task system. It is a bit simpler now.
9411 Removed unsued task priorities. The affected files are
9412 lib/silcutil/silctask.[ch].
9414 Mon Apr 2 20:02:33 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9416 * Moved the USERS printing from the library to the application.
9417 Affected files lib/silcclient/command.c and silc/client_ops.c.
9419 Mon Apr 2 13:13:23 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9423 * Added channel key re-key support. The re-key is perfomed
9424 only by the router and is done once in an hour. Added `rekey'
9425 field to the SilcChannelEntry in the server. Affected files
9426 silcd/server.c and silcd/idlist.h.
9428 * Added silc_task_unregister_by_context into the file
9429 lib/silcutil/silctask.[ch].
9431 Sun Apr 1 19:49:34 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9433 * Added SILC_UMODE_GONE mode to indicate when the client is not
9434 present in the SILC network. Added also support to the local
9435 command AWAY that will set this mode. Added support of showing
9436 "xxx is gone" in WHOIS command. The USERS command shows the
9437 gone status as well.
9439 * Fixed setting server and router operator privileges in the
9440 server's UMODE command. Affected file silcd/command.c.
9442 * Merged the SKE KE1 and KE2 payloads into one payload. The
9443 new KE payload is equivalent to the old KE2 payload.
9445 Cleaned up the SKE Start Payload parsing. It now uses the
9446 simple buffer unformatting to do the parsing. A lot faster
9449 Added new Mutual Authentication flag (SILC_SKE_SP_FLAG_MUTUAL)
9450 to the SKE that is used to indicate whether both of the SKE
9451 parties should perform authentication. By default only the
9452 responder performs authentication. By setting this flag also
9453 the initiator must do authentication. By default it is unset
9454 since in normal SKE case, client to server connection, only
9455 the responder should do authentication. When doing SKE between
9456 two clients both should perform authentication. Updated the
9457 code and the protocol specs.
9459 * A little fix to IDENTIFY command in the server. Search the
9460 client first by hash not nickname. Affected file is
9463 * Fixed the silc_client_close_connection to support closing
9464 the client to client connections wihtout deleting too much
9465 data. Affected file lib/silcclient/client.c.
9467 * Fixed a fatal bug in server and client; if KE1 or KE2 packets
9468 are received if protocol used to be active but is not anymore
9469 the application would crash due to NULL pointer dereference.
9470 Affected files silcd/server.c and lib/silcclient/client.c.
9472 * Added `hash' field to the SilcClientConnection to include
9473 the hash function negotiated in the SKE protocol.
9475 * Added new channel mode SILC_CMODE_FOUNDER_AUTH that is used
9476 to set the channel founder authentication data. A client can
9477 claim the founder rights later by providing the authentication
9478 data to the CUMODE command using SILC_CUMODE_FOUNDER mode.
9479 This way the channel founder can regain the channel founder
9480 privileges even it is left the channel. This works only on
9481 local server and the client must be connected to the same
9482 server to be able to regain the founder rights. Updated the
9483 protocol specs accordingly.
9485 Added support to the CMODE command in the client to set the
9486 founder auth data. Read the README to see how to set it.
9488 Added support to the CUMODE command to claim the founder
9489 rights. Read the README to see how to do it.
9491 Added support for the founder authentication to the Channel
9492 Entry in the server. Affected file silcd/idlist.h.
9494 Added support for the SILC_CMODE_FOUNDER_AUTH mode in the
9495 server's CMODE command. Affected file silcd/command.c.
9497 * Added the following new functions into lib/silccore/silcauth.[ch]:
9498 silc_auth_get_method and silc_auth_get_data.
9500 * The server now saves the remote hosts public key to the
9501 SilcIDListData pointer. Affected file silcd/protocol.c.
9503 * The normal server now does not remove the channel entry from
9504 the cache if the founder authentication data is set. It used
9505 to remove it if the founder was the last one on the channel on
9506 the server and left the channel. The auth data is saved and
9507 if the channel is re-joined later the old entry is used with
9508 the old auth data. Affected files silcd/command_reply.c and
9511 * Removed the `pkcs' field from the SilcIDListData structure
9512 in the server; it is not used. Affected file silcd/idlist.h.
9514 Sat Mar 31 15:38:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9516 * Fixed packet processing on slow links. Partial packets were
9517 never re-processed because the incoming data buffer was cleared
9518 by the application. Application must not directly clear the
9519 sock->inbuf, the packet processing routines handle it. Fixed
9520 this in client library and in server.
9522 Fri Mar 30 16:35:27 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9524 * Fixed the WHOIS and IDENTIFY send reply function to really
9525 check whether to send list or just one entry. Affected file
9528 * Cleaned up the LEAVE command's channel key distribution. The
9529 affected file silcd/command.c.
9531 * Changed CMODE_CHANGE's <Client ID> to <ID Payload> as server
9532 can enforce the channel mode as well. In that case the ID
9533 includes the ID of the server. The code now enforces the
9534 mode change if the router have different mode than the server.
9536 * The notify client operation with CMODE_CHANGE notify can now
9537 return NULL client_entry pointer if the CMODE was not changed
9538 by client. Application must check for this.
9540 * Added <Server ID> argument to INFO command to support server
9541 info fetching by Server ID.
9543 * Added silc_server_announce_get_channel_users to get assembled
9544 packets of channel users of the specified channel. Affected
9545 file silcd/server.[ch].
9547 * Fixed bug in CHANNEL_CHANGE notify in the server. The new ID
9548 was freed underneath the ID Cache.
9550 * Re-announce clients when the server received CHANNEL_CHANGE
9551 notify from the router. Affected file silcd/packet_send.c.
9553 Thu Mar 29 19:10:28 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9555 * Fixed a fatal bug when client does /join 1 2 3 4 5 6 the server
9556 crashed since it did not handle the fact that there is no cipher
9557 called "3" and didn't check the error condition. Now fixed.
9559 * Added SILC_MESSAGE_FLAG_REQUEST message flag as generic request
9560 flag. It can be used to send message requests.
9562 Thu Mar 29 12:26:25 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9564 * Implemented the RESTART command in the client.
9566 * Added SILC_MESSAGE_FLAG_NOTICE message flag for informational
9567 notice type messages. Added notice printing to the user
9570 * The channel keys are not re-generated if the channel's mode
9571 is PRIVKEY, ie private key on the channel exists. Affected
9572 files silcd/server.c and silcd/command.c.
9574 * Fixed a little bug in channel message delivery when channel
9575 private keys are set in the server. Affected file is
9576 silcd/packet_send.c.
9578 * Changed the setting on channel->on_channel = TRUE from the
9579 silc_client_save_channel_key to the JOIN command reply. The
9580 key payload is not received if the private channel key is set.
9581 Affected file lib/silcclient/command_reply.c and the
9582 lib/silcclient/client_channel.c.
9584 * When the CMODE_CHANGE notify is sent and the channel private
9585 key mode is removed the channel key must be re-generated in
9586 other cells as well. Added this support for the router in the
9587 silcd/packet_receive.c.
9589 * Added new local command NOTICE to send notice message on
9590 channel. Affected file silc/local_command.[ch].
9592 Wed Mar 28 23:55:54 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9594 * Added new local command ME to the client. It is used to send
9595 message to a channel with SILC_MESSAGE_FLAG_ACTION to indicate
9596 some action. Affected file silc/local_command.[ch].
9598 * Changed channel_message and private_message client operations
9599 to deliver the message flags to the application. Added also
9600 the `flags' arguments to the silc_client_send_channel_message
9601 and silc_client_send_private_message functions. Affected file
9604 Wed Mar 28 20:50:47 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9606 * Redefined the Private Message Payload to support private message
9607 keys and to support the new private message flags. Updated
9608 the protocol specs. Flags makes it possible to have for example
9609 CTCP style messages.
9611 * Added new type SilcPrivateMessagePayload and defined an API
9612 for it in the lib/silcclient/silcprivate.[ch].
9614 * Tested private message private keys successfully. Tested the
9615 private message key set, unset and list commands with the new
9618 * Redefined the Channel Message Payload to include the channel
9619 message flags (equal with private message flags) to support
9620 for example CTCP style messages.
9622 * Defined some of the message (for channel and private message)
9623 flags. Updated the protocol specs and added the flags to the
9624 lib/silccore/silcchannel.h. The type is SilcMessageFlags.
9626 Wed Mar 28 15:52:36 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9628 * Added SilcKeyAgreementStatus type to the key agreement routines
9629 to indicate the current status and error if one occured.
9630 The status types are defined in the lib/silcclient/silcapi.h.
9632 * Added new local command KEY that is used to set and unset private
9633 keys for channels, set and unset private keys for private messages
9634 with remote clients and to send key agreement requests and
9635 negotiate the key agreement protocol with remote client. The
9636 key agreement is supported only to negotiate private message keys,
9637 it currently cannot be used to negotiate private keys for channels,
9638 as it is not convenient for that purpose.
9640 * Fixed a minor pending callback setting bug in the function
9641 silc_client_get_client_by_id_resolve, now the function works.
9642 Affected file lib/silcclient/idlist.c.
9644 * Added function silc_net_get_local_port to get local bound
9645 port by socket. Added to lib/silcutil/silcnet.[ch].
9647 * Added `sockets' and `sockets_count' fields to the SilcClient
9648 object. They hold the sockets of the listenning sockets in
9649 the client. Listenning sockets may be for example the key
9650 agreement server. Affected file lib/silcclient/client.[ch].
9651 Added functions the silc_client_add_socket and the
9652 silc_client_del_socket. They are exported to the application
9655 * Added ~./silc/clientkeys to support other client's public keys.
9657 * Renamed verify_server_key client operation to verify_public_key
9658 and added one argument to indicate the type of the connection
9659 (server, client etc.).
9661 Tue Mar 27 22:22:38 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9663 * Added silc_server_connection_auth_request to handle the
9664 incoming CONNECTION_AUTH_REQUEST packet. Affected file is
9665 silcd/packet_receive.[ch].
9667 * Added silc_server_send_connection_auth_request into the
9668 silcd/packet_send.c to send the connection auth request packet.
9670 * Cleaned up the silcd/protocol.c a bit and fixed some memory
9673 * Fixed the public key authentication in responder side in the
9674 server. The `auth_data' pointer includes the SilcPublicKey
9675 not the path to the public key. Affected file silcd/protocol.c.
9677 * Implemented the public key authentication in the initiator side
9678 in the server. Affected file silcd/protocol.c.
9680 * Removed the [RedirectClient] config section from the server
9681 configuration. Is not needed and I don't want to implement it.
9683 Tue Mar 27 12:49:56 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9685 * Cleaned up the CMODE command in the server. It now works
9686 correctly and supports all the modes defined in the protocol.
9687 Affected file is silcd/command.c.
9689 * Added `hmac_name' field to the SilcChannelEntry in the server
9690 to hold the default HMAC of the channel. It can be set when
9691 creating the channel (with JOIN command). Affected files
9694 * Added <cipher> and <hmac> argument to the CMODE_CHANGE notify
9695 type to indicate the change of the current cipher and hmac
9696 on the channel. Client can safely ignore the <cipher> argument
9697 (if it chooses to do so) since the CHANNEL_KEY packet will
9698 force the channel key change anyway. The <hmac> argument is
9699 important since the client is responsible of setting the new
9700 HMAC and the hmac key into use.
9702 * Fixed the CMODE command in the client library as well.
9704 * Tested CMODE command in router environment successfully.
9706 Mon Mar 26 14:39:48 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9708 * Show the version of the remote client (or server) when connecting
9709 to the server. It is logged to the log file. Affected file
9710 is silcd/protocol.c.
9712 * Fixed the KILLED notify handling in the client library. The
9713 client must be removed from all channels when receiving the
9716 Also, do not remove the client entry when giving the KILL
9717 command but when the KILLED notify is received.
9719 * Removed silc_idlist_find_client_by_nickname from the server.
9720 Not needed anymore. Affected files silcd/idlist.[ch].
9722 * Implemented the CHANNEL_CHANGE notify type handling to the
9723 server. Affected file silcd/server.c.
9727 Mon Mar 26 12:11:14 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9729 * Added silc_server_send_notify_invite to send the INVITE
9730 notify between routers.
9732 * Implemented the INVITE command correctly to the server.
9734 * Implemented the INVITE notify type handling in the server.
9736 * Implemented the INVITE command to the client library and on the
9739 Sun Mar 25 20:27:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9741 * Added function silc_server_get_client_resolve to find the
9742 client entry by ID from all ID lists and then resolve it
9743 (using WHOIS) if it cannot be found. Affected file is
9746 Sun Mar 25 13:52:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9748 * Implemented the BAN command to the client library.
9750 * The JOIN command in the server now checks the invite list
9753 * Changed the silc_command_reply_payload_encode_va and the
9754 silc_command_payload_encode_va to support that if argument is
9755 NULL it ignores and checks the next argument. Affected file
9756 lib/silccore/silccommand.c.
9758 * Added silc_server_send_notify_ban to send the BAN notify
9759 type between routers.
9761 * Chaned the silc_notify_payload_encode to support that if
9762 argument is NULL it ignores and checks the next argument.
9763 Affected file lib/silccore/silcnotify.c.
9765 * Tested ban lists in router environment successfully.
9767 Sat Mar 24 14:47:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9769 * Implemented BAN command to the server, in silcd/command.[ch].
9771 * Removed the BAN and INVITE_LIST modes from the CMODE command
9774 * Added function silc_string_match to regex match two strings.
9775 Affected files lib/silcutil/silcutil.[ch].
9777 Fri Mar 23 22:02:40 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9779 * Redefined parts of the SilcChannelEntry in the server to support
9780 the new ban and invite lists.
9782 Fri Mar 23 16:25:11 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9784 * Redefined the INVITE command. The same command can be used to
9785 invite individuals to the channel but also to manage the invite
9786 list of the channel (to add to and remove from the invite list).
9787 Updated the protocol specs.
9789 * Added new command SILC_COMMAND_BAN that can be used to manage
9790 the ban list of the channel. Updated the protocol specs.
9792 * Removed the channel modes: the SILC_CMODE_BAN and the
9793 SILC_CMODE_INVITE_LIST as they were a bit kludge to be included
9794 in the CMODE command. The equivalent features are now available
9795 using INVITE and BAN commands. Updated the protocol specs.
9797 * Added new SILC_NOTIFY_TYPE_BAN notify type to notify routers
9798 in the network about change in the current ban list. The notify
9799 type is not used by the client.
9801 * Redefined parts of the SILC_NOTIFY_TYPE_INVITE command to
9802 support the invite lists.
9804 Thu Mar 22 22:52:23 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9806 * Added new function silc_string_regexify that converts string
9807 including wildcard characters into regex string that can
9808 be used by the GNU regex library. Added into the file
9809 lib/silcutil/silcutil.[ch].
9811 Added silc_string_regex_combine to combine to regex strings
9812 into one so that they can be used as one regex string by
9813 the GNU regex library. Added into the file
9814 lib/silcutil/silcutil.[ch].
9816 Added silc_string_regex_match to match two strings. It returns
9817 TRUE if the strings match. Added into lib/silcutil/silcutil.[ch].
9819 Thu Mar 22 15:29:42 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9821 * Imported GNU regex to the soruce tree into lib/contrib.
9822 Fixed some compiler warning from the regex.c.
9824 Wed Mar 21 15:27:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9826 * Fixed MOTD command in the server to work in router environment.
9828 * Fixed the MOTD command in the client library to support
9829 the server argument in the command.
9831 * Added `nickname_len' argument to the silc_idlist_add_client
9832 in the server, as the `nickname' argument may be binary data
9835 * Added silc_idlist_get_channels to return all channels from
9838 * Implemented LIST command to the server. Affected file is
9841 * Implemented the LIST command to the client library and on the
9844 * Added [<user count>] argument to the LIST command reply.
9845 With private channels the user count is not shown.
9847 * Updated TODO and README.
9849 Tue Mar 20 21:05:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9851 * The client entry's data.registered must be TRUE even with
9852 global client entry on global client list. The data.registered
9853 is used to check whether the client is anymore in the network,
9854 for example with WHOWAS command so it must be valid.
9856 * Fixed the WHOWAS command in the server. It now actually works
9857 in router environment. Added function into silcd/command_reply.c
9858 silc_server_command_reply_whowas_save.
9860 * Added silc_idlist_purge function to the silcd/idlist.c
9861 to periodically purge the ID Cache.
9863 * Fixed INFO command in the server. It works now in router
9864 environment. Added <server name> argument to the INFO command
9865 reply. Updated the protocol specs.
9867 * Fixed minor bug in silc_idcache_purge to not purge if the
9868 expire value is zero.
9870 * Fixed various bugs in WHOIS and IDENTIFY command handling as
9871 they were buggy because of the WHOWAS information.
9873 * Fixed local command MSG to handle the async resolving of
9874 the remote client properly. It used to fail the first MSG.
9875 Affected file silc/local_command.c.
9877 * Added `data_len' field to SilcIDCache context.
9879 Tue Mar 20 16:29:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9881 * Update TODO. Todo in commands in the server.
9883 Tue Mar 20 15:45:14 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9885 * Added new notify type SILC_NOTIFY_TYPE_UMODE_CHANGE that is
9886 used by routers as broadcast packet to inform other routers
9887 about the changed user mode.
9889 Implemented the notify handling in the server. Affected file is
9890 silcd/packet_receive.c. Added the function
9891 silc_server_send_notify_umode to the silcd/packet_send.[ch].
9893 * Added new generic Channel Payload and deprecated the New Channel
9894 Payload. The New Channel Payload is now the generic Channel
9897 * Added new argument `mode' to the silc_server_send_new_channel
9898 as it is required in the Channel Payload now.
9900 * Renamed the SilcChannelPayload to SilcChannelMessagePayload
9901 and created a new and real SilChannelPayload to represent the
9902 new generic Channel Payload. Implemented the encode/decode
9903 for Channel Payload. Affected file lib/silccore/silcchannel.[ch].
9905 * Added silc_server_get_client_channel_list to return the list
9906 of channels the client has joined for WHOIS command reply.
9907 Affected file silcd/server.[ch].
9909 * Implemented the channel list sending in the WHOIS command reply
9910 in server and in the client.
9912 Implemented the channel list displaying on the user interface
9913 as well. Affected file silc/client_ops.c.
9915 * Added silc_channel_payload_parse_list to parse list of Channel
9916 Payloads. It returns SilcDList list of SilcChannelPayloads.
9917 Client for example can use this function to parse the list of
9918 channels it receives in the WHOIS command reply. The caller
9919 must free the list by calling silc_channel_payload_list_free.
9920 Affected files lib/silccore/silcchannel.[ch].
9922 Mon Mar 19 21:39:15 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9924 * Added one new argument <user mode> to the WHOIS command reply
9925 to return the mode of the user in SILC. Updated the protocol
9928 Implemented it to the server and client.
9930 Mon Mar 19 18:43:06 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9932 * Fixed the mode printing on the user interface on joining.
9933 Affected file silc/client_ops.c.
9935 * Implemented the UMODE command and user modes in general to the
9936 client library and to the user interface.
9938 * Implemented the UMODE command to the server.
9940 * The server now sends UNKNOWN_COMMAND error status if client sends
9941 unknown command. Affected file silcd/command.c.
9943 * All server commands now handle the command identifier the right
9944 way when sending the command reply to the client. The client can
9945 use to identify the command replies with the identifier.
9947 Mon Mar 19 16:13:07 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9949 * Added silc_server_get_client_route to resolve the route to
9950 the client indicated by the client ID. Affected file is
9953 * Added silc_server_relay_packet as general function to relay
9954 packet to arbitrary destination. This deprecates functions
9955 like _send_private_message_key, _relay_notify etc. Affected
9956 file is silcd/packet_send.[ch].
9958 Removed silc_server_send_key_agreement,
9959 silc_server_send_private_message_key and
9960 silc_server_packet_relay_notify functions from the file
9961 silcd/packet_send.[ch].
9965 * Implemented the SILC_NOTIFY_TYPE_KILLED notify handling in the
9966 server. Affected file silcd/packet_receive.[ch].
9968 * Implemented the KILL command to the client. Implemented the
9969 SILC_NOTIFY_TYPE_KILLED notify handling in the client library.
9970 Affected files lib/silcclient/command[_reply].c and
9971 lib/silcclient/client_notify.c. Implemented the KILL notify
9972 printing in the user inteface.
9974 * Fixed a lot silc_parse_nick memory leaks from the client
9975 library in the file lib/silcclient/command.c.
9977 * Changed the silc_server_send_notify_on_channels's `sender'
9978 argument from SilcSocketConnection to SilcClientEntry to
9979 check the sender as entry and not as connection object and not
9980 to send to the client provided as argument. The affected file
9981 is silcd/packet_send.[ch].
9983 * The notify packets that are destined directly to the client used
9984 to not to be processed by the server. Now changed that and the
9985 server processes all notify packets. After relaying the packet
9986 to the client the notify packet is processed in the server.
9988 * The silc_server_free_client_data now checks whether there is
9989 pending outgoing traffic for the client and purges the data to
9990 the network before removing the client entry.
9992 Sun Mar 18 21:02:47 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
9994 * Added SILC_NOTIFY_TYPE_KILLED notify type. It is sent when
9995 an client is killed from the SILC Network. Updated the protocol
9998 Added new function silc_server_send_notify_killed to the
9999 silcd/packet_send.[ch].
10001 * Added function silc_server_packet_relay_notify to relay notify
10002 packets that are destined directly to a client. In this case
10003 the server does not process the notify packets but merely relays
10004 it to the client. Affected file silcd/packet_send.[ch].
10006 Added also silc_server_packet_process_relay_notify to check
10007 whereto relay the notify. Affected file is
10008 silcd/packet_receive.[ch].
10010 * Implemented the KILL command to the server.
10014 * Added the backup schema desgined last fall to the protocol
10015 specs for everyone to see. The specification is in the
10016 *-spec-xx.txt draft and the packet type definitions for the
10017 backup routers is in *-pp-xx.txt draft. Thusly, added also
10018 new packet type SILC_PACKET_CELL_ROUTERS.
10020 * A big security problem in the implementation discovered. The
10021 signoff of an client did not cause new channel key generation
10022 which it of course should've done. The channel keys must be
10023 always re-generated when client leaves (or signoffs) the channel.
10024 The silc_server_remove_from_channels funtion now handles
10025 the channel key re-generation.
10027 * Added `sender' argument to the silc_server_send_notify_on_channels
10028 to not to send the client provided as argument. Affected file
10029 silcd/packet_send.[ch].
10031 Fri Mar 16 15:52:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10033 * Implemented OPER and SILCOPER commands into the server and
10034 the client library.
10036 * Added silc_auth_verify and silc_auth_verify_data to verify
10037 the authentication directly from the authentication payload.
10038 It supports verifying both passphrase and public key based
10039 authentication. Affected file lib/silccore/silcauth.[ch].
10041 * Added `hash' field to the SilcIDListData structure. It is the
10042 hash negotiated in the SKE protocol. Affected file is
10045 * Slight redesigning of the SilcAuthPayload handling routines.
10046 Do not send SilcPKCS but SilcPublicKey as argument.
10048 * Implemented the public key authentication support to the
10049 serverconfig. The public key is loaded from the provided path
10050 and saved as authentication data to void * pointer. Thus,
10051 changed the unsigned char *auth_data to void *auth_data;
10053 * Fixed SHUTDOWN command to send the reply before the server
10054 is shutdown. :) Affected file silcd/command.c.
10056 * Fixed fatal bug in CONNECT command. The hostname was invalid
10057 memory and server crashed. Affected file silcd/command.c.
10059 * Fixed fatal bug in CLOSE command. The server_entry became
10060 invalid but was referenced later in the command. Affected file
10063 Thu Mar 15 12:46:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10065 * Fixed fatal bug in failure packet handling. Server ignored
10066 the failure and thus crashed when it came.
10070 Wed Mar 14 20:37:35 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10072 * Added new SILC_CF_LAG_STRICT command flag that strictly forces
10073 that the command may be executed only once in (about) 2 seconds.
10074 The old SILC_CF_LAG flag is same but allows command bursts up
10075 to five before limiting.
10077 Added the support for CF_LAG and CF_LAG_STRICT flags to the
10078 server code. Various commands now includes the CF_LAG_STRICT
10079 flag to disallow any kind of miss-use of the command.
10081 * Fixed the silc_buffer_unformat to not to allocate any data
10082 if the length of the data is zero. It used to allocate the
10083 length + 1. Affected file lib/silcutil/silcbuffmt.c.
10085 Wed Mar 14 16:10:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10087 * Changed the format of AdminConnection configuration section
10088 in the server. Added username of the admin to the format.
10089 Affected files silcd/serverconfig.[ch].
10091 Added silc_server_config_find_admin into silcd/serverconfig.[ch]
10092 to return admin configuration data by host, username and/or
10095 Wed Mar 14 13:18:16 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10097 * Implemented WHOWAS command to the server. Added the functions:
10099 silc_server_command_whowas_parse,
10100 silc_server_command_whowas_send_reply,
10101 silc_server_command_whowas_from_client and
10102 silc_server_command_whowas_from_server
10104 * Added <Client ID> argument to the WHOWAS command reply. Updated
10105 the protocol specs accordingly.
10107 * Implemented WHOWAS command and command_reply to the client
10110 Implemented the WHOWAS printing on the user interface.
10112 Tue Mar 13 22:17:34 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10114 * Added new argument to the WHOWAS command reply, the real name.
10115 It is an optional argument. Updated the protocol specs.
10117 * Added SilcIDCacheDestructor callback that is registered when
10118 the SilcIDCache is allocated. The callback is called when
10119 an cache entry in the ID Cache expires, or is purged from the
10120 cache. Added into lib/silccore/idcache.[ch].
10122 Added silc_idlist_client_destructor to the silcd/idlist.[ch]
10123 to destruct the client entries when the cache entry expires.
10124 Other ID Cache's in server and in the client library ignores
10127 * If the ID Cache entry's `expire' field is zero then the entry
10128 never expires. Added boolean `expire' argument to the
10129 silc_idcache_add function in the lib/silccore/idcache.[ch].
10130 If it is TRUE the default expiry value is used.
10132 * Added silc_server_free_client_data_timeout that is registered
10133 when client disconnects. By default for 5 minutes we preserve
10134 the client entry for history - for WHOWAS command.
10136 Tue Mar 13 13:26:18 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10138 * Added support to the server to enforce that commands are not
10139 executed more than once in 2 seconds. If server receives
10140 commands from client more frequently, timeout is registered
10141 to process the commands. Affected file silcd/command.c.
10142 Added new function silc_server_command_process_timeout.
10144 * Changed NICK_NOTIFY handling in client library to check that
10145 if the client's nickname was changed, so there is no need to
10146 resolve anything from the server.
10148 * Removed error printing from the WHOIS and IDENTIFY commands.
10149 If error occurs then it is ignored silently in the client library.
10150 The application, however, may map the received error to
10151 human readable error string. The application currently maps
10152 the NO_SUCH_NICKNAME error to string.
10154 * Made the command status message public to the application. Moved
10155 them from lib/silcclient/command_reply.c to
10156 lib/silcclient/command_reply.h. The application can map the
10157 received command status to the string with the
10158 silc_client_command_status_message function.
10160 * Added check to the server to check that client's ID is same
10161 as the Source ID in the packet the client sent. They must
10164 Tue Mar 13 12:49:21 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10166 * Added dist-bzip hook to the Makefile.am to make bzip2
10167 compressed distributions.
10169 Mon Mar 12 18:43:38 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10171 * Server now enforces the maximum length for the nickname and
10172 the channel as protocol specification dictates. 128 bytes for
10173 nickname and 256 bytes for channel name.
10175 * Moved the WHOIS printing to the application. The client libary
10176 does not print out the WHOIS information anymore, the application
10177 must do it. Renamed silc_client_command_reply_whois_print to
10178 the silc_client_command_reply_whois_save.
10180 The client's idle time is also sent to the application now, and
10181 the idle is shown on screen.
10183 * Added silc_client_command_reply_identify_save to save the
10184 received IDENTIFY entries.
10186 * Do not check for channel private keys in message sending and
10187 reception if the channel does not have the PRIVKEY mode set.
10188 Affected file lib/silclient/client_channel.c.
10190 Sun Mar 11 20:25:06 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10192 * Fixed a minor bug if WHOIS and IDENTIFY command parsing that
10193 just surfaced after chaning the JOIN procedure.
10195 Sun Mar 11 14:59:05 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10197 * Added silc_client_get_clients_by_list to get client entries
10198 from Client ID list, that is returned for example by JOIN
10199 and USERS command replies. The application should use this
10200 function for example when JOIN command reply is received to
10201 resolve the clients already on the channel (library does not
10202 do that anymore as USERS command reply is not used in the JOIN
10203 procedure anymore). Affected files lib/silcclient/silcapi.h and
10204 lib/silcclient/idlist.c.
10206 * JOIN command reply and USERS command reply returns now SilcBuffer
10207 pointers instead of unsigned char pointers when returning
10208 the client list and mode list.
10210 * Added <Client ID> argument to the JOIN command reply, mainly
10211 for the server to identify for which client the command was
10212 originally sent. Updated protocol specs accordingly.
10214 * Added SilcDlist private_key pointer to the SilcChannelEntry
10215 in the client to support the channel private keys. Affected
10216 file is lib/silcclient/idlist.h.
10218 * Added SilcChannelPrivateKey argument to the function
10219 silc_client_send_channel_message so that application can choose
10220 to use specific private ke if it wants to. If it is not provided,
10221 the normal channel key is used, unless private keys are set.
10222 In this case the first (key that was added first) is used
10223 as the encryption key.
10225 * Implemented the support for channel private key handling.
10226 Implemented the following functions:
10228 silc_client_add_channel_private_key,
10229 silc_client_del_channel_private_keys,
10230 silc_client_del_channel_private_key,
10231 silc_client_list_channel_private_keys and
10232 silc_client_free_channel_private_keys
10234 Affected file lib/silcclient/client_channel.c.
10236 * Added the support for the private keys in the channel message
10237 sending and encryption and in the message reception and
10238 decryption. Affected funtions are
10239 silc_client_send_channel_message and silc_client_channel_message.
10241 Sat Mar 10 21:36:22 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10243 * Added SKE's key verify callback to the client library's
10244 KE protocol context. Affected files lib/silcclient/protocol.[ch].
10246 * Removed the statement that server (or router) must send USERS
10247 command reply when joining to the channel so that the client
10248 knows who are on the channel. Instead, the client list and
10249 client's mode list is now sent in the JOIN command reply to the
10250 client who joined channel. This is better solution.
10252 * Added function silc_server_get_users_on_channel and function
10253 silc_server_save_users_on_channel to the silcd/server.[ch].
10255 * Removed function silc_server_command_send_users from the
10258 * Do not show topic on the client library anymore. The topic is
10259 sent in the command reply notify to the application and the
10260 application must show the topic now.
10262 Sat Mar 10 00:07:37 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10264 * Added client searching by nickname hash into the IDENTIFY and
10265 WHOIS commands in the server as they were clearly missing from
10266 them. Affected file is silcd/command.c.
10268 * Fixed a bug in private message receiving in the client library.
10269 The remote ID was freed and it wasn't supposed, now it is
10272 Fri Mar 9 12:40:42 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10274 * Minor fix to the channel payload; allocate the data area, as it
10275 needs to be of specific length.
10277 * If the key agreement port is zero then the operating
10278 system will define the bound port. Affected files are
10279 lib/silcclient/silcapi.h and lib/silcclient/client_keyagr.c.
10281 * Added new function silc_channel_payload_decrypt into the file
10282 lib/silccore/silcchannel.[ch].
10284 * Moved the channel message etc, check from silc_packet_decrypt
10285 to applications. The library calls now a generic
10286 SilcPacketCheckDecrypt callback which is to return TRUE or FALSE
10287 when the packet is either normal or special. This was done to
10288 allow more wide range of checking that was not allowed when
10289 the code was in library. Now applications can do virtually any
10290 checks to the packet and return to the library the decision how
10291 the packet should be processed. Affected files are
10292 lib/silccore/silcpacket.[ch].
10294 Added silc_server_packet_decrypt_check to the server and
10295 silc_client_packet_decrypt_check to the client library.
10297 * Added silc_server_packet_send_srcdest into silcd/packet_send.[ch]
10298 to send with specified source and destination information.
10300 * Channel message delivery between routers was broken after the
10301 channel key distribution was fixed earlier. The channel key
10302 was used be to distributed to other routers as well which is not
10303 allowed by the protocol. Now this is fixed and channel keys
10304 really are cell specific and the channel message delivery between
10305 routers comply with the protocol specification.
10307 * Fixed various commands in server to check also the global list
10308 for the channel entry and not just the local list. The affected
10309 file silcd/command.c.
10311 Thu Mar 8 21:39:03 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10313 * Added assert()s to buffer formatting and unformatting routines
10314 to assert (if --enable-debug) when error occurs. Affected
10315 file: lib/silcutil/silcbuffmt.c.
10317 * Changed to auto-reconnect to check whether the remote host is
10318 router and register the re-connect timeout if it is. It used
10319 to check that whether we are normal server, but router must do
10320 auto-reconnect with another router as well. Affected file
10323 * Removed the [<key len>] option from CMODE command as the cipher
10324 name decides the key length, nowadays. See the defined ciphers
10325 from the protocol specification.
10327 * Added [<hmac>] option to the CMODE command to define the HMAC
10328 for the channel. Added SILC_CMODE_HMAC channel mode.
10330 * Added [<hmac>] option for the JOIN command so that user can
10331 select which HMAC is used to compute the MACs of the channel
10334 * Added Hmac field to the Channel Message Payload. The integrity
10335 of plaintext channel messages are now protected by computing
10336 MAC of the message and attaching the MAC to the payload. The
10337 MAC is encrypted. Now, it is clear that this causes some
10338 overhead to the size of the packet but rationale for this is that
10339 now the receiver can verify whether the channel message decrypted
10340 correctly and also when private keys are set for the channel the
10341 receiver can decrypt the packet with several keys and check from
10342 the MAC which key decrypted the message correctly.
10344 * Added silc_cipher_encrypt and silc_cipher_decrypt into the
10345 lib/silccrypt/silccipher.[ch].
10347 * Added silc_hash_len to return the digest length into the
10348 lib/silcrypt/silchash.[ch].
10350 * Rewrote parts of Silc Channel Payload interface in the
10351 lib/silccore/silcchannel.[ch]. The encode function now also
10352 encrypts the packet and parse function decrypts it.
10354 Wed Mar 7 20:58:50 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10356 * Fixed a minor formatting bug in the SKE's key material processing.
10357 It actually might have processed the keys wrong way resulting
10360 * Redefined the mandatory HMAC algorithms and added new algorithms.
10361 Added hmac-sha1-96 and hmac-md5-96 which are normal hmac-sha1
10362 and hmac-md5 truncated to 96 bits. The mandatory is now
10363 hmac-sha1-96. Rest are optional (including the one that used
10364 to be mandatory). Rationale for this is that the truncated HMAC
10365 length is sufficient from security point of view and can actually
10366 make the attack against the HMAC harder. Also, the truncated
10367 HMAC causes less overhead to the packets. See the RFC2104 for
10370 * Added new [hmac] configuration section. The SKE used to use
10371 the hash names (md5 and sha1) in the SKE proposal as HMCAS which
10372 is of course wrong. The official names that must be proposed in
10373 the SKE are the ones defined in the protocol specification
10374 (hmac-sha1-96 for example). The user can configure any hmac
10375 using any hash function configured in the [hash] section. At
10376 least, the mandatory must be configured.
10378 Rewrote the HMAC interface in lib/silccrypt/silchmac.[ch].
10380 * Added HMAC list to the SKE proposal list. It has now both
10381 hash algorithm list and HMAC list. This makes the protocol
10382 incompatible with previous versions. The SKE now seems to work
10383 the way it is supposed to work, for the first time actually.
10385 * Defined plain Hash algorithms to the protocol specification.
10386 Added sha1 and md5.
10388 Tue Mar 6 15:36:11 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10390 * Implemented support for key agreement packets into the server.
10391 Added functions silc_server_key_agreement and
10392 silc_server_send_key_agreement. Other than these functions,
10393 server has nothing to do with this packet.
10395 * Added support for private message key packets into the server.
10396 Added functions silc_server_private_message_key and
10397 silc_server_send_private_message_key.
10401 * Changed the silc_[client|server]_protocol_ke_set_keys to be
10402 called in the protocol's final callback instead in the END
10403 protocol state. This makes a little more sense and in the same
10404 time in client we can use the same protocol routines for normal
10405 key exchange and to key agreement packet handling as well.
10407 * Added to both client's and server's KE protocol context the
10408 SilcSKEKeyMaterial pointer to save the key material. We will
10409 bring the key material to the protocol's final callback by doing
10410 this. The final callback must free the key material.
10412 * Added SKE's packet_send callback into client's KE protocol
10413 context so that the caller can choose what packet sending function
10414 is used. This way we can use different packet sending when
10415 doing normal SKE when doing key agreement packet handling (in
10416 the key agreement packet handling we do not want to encrypt
10419 * Implemented the responder side of the key agreement routines
10420 in the client. The client can now bind to specified port and
10421 accept incoming key negotiation. The key material is passed
10422 to the application after the protocol is over.
10424 * Implemented the processing of incoming Key Agreement packet
10425 in the client. Added function silc_client_key_agreement to
10426 process the packet.
10428 * Implemented the intiator side of the key agreement routines
10429 in the client. The client can now initiate key agreement with
10430 another remote client. The key material is passed to the
10431 application after the protocol is over.
10433 * Created client_keyagr.c to include all the key agreement
10436 * Added macro SILC_TASK_CALLBACK_GLOBAL which is equal to the
10437 SILC_TASK_CALLBACK except that it is not static.
10439 * Created client_notify.c and moved the Notify packet handling
10440 from the client.[ch] into that file.
10442 * Created client_prvmsg.c and moved all private message and
10443 private message key routines from the client.[ch] into that file.
10445 * Create client_channel.c and moved all channel message and
10446 channel private key routines from the client.[ch] into that file.
10448 * Changed silc_client_get_client_by_id_resolve to resolve with
10449 WHOIS command instead of IDENTIFY command, in the file
10450 lib/silclient/idlist.c.
10452 Mon Mar 5 18:39:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10454 * Implemented the SKE's responder side to the Client library.
10456 * When FAILURE is received to the protocol do not trust it
10457 blindly. Register a timeout to wait whether the remote closes
10458 the connection as it should do it, only after that process the
10459 actual failure. This was changed to both client and server.
10461 * Added client_internal.h to include some of the structures
10462 there instead of client.h in lib/silcclient/.
10464 * Added function silc_task_unregister_by_callback to unregister
10465 timeouts by the callback function.
10467 Sat Mar 3 19:15:43 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10469 * Some "Incomplete WHOIS info" errors has been appearing on the
10470 log files. Took away the entry->userinfo check from WHOIS
10471 reply sending. The entry->userinfo is now " " if client did not
10472 provide one. I thought this was fixed earlier but something
10473 is wrong still. Let's see if the error still appears.
10475 Wed Feb 28 20:56:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10477 * Fixed a minor bug in the login when the channel key is
10478 re-generated in the server. It used to generate the key in
10479 wrong order and thus caused problems in the channel traffic.
10481 * Fixed a minor bug in channel key distsribution after
10482 KICK command. The key was not sent to the router even though
10485 Tue Feb 27 20:24:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10487 * Added silc_ske_process_key_material_data as generic routine
10488 to process any key material as the SILC protocol dictates. The
10489 function is used by the actual SKE library but can be used by
10490 applications as well. This relates to the private message keys
10491 and the channel private keys since they must be processed the
10492 same way the normal SILC session keys. The protocol dictates
10493 this. Affected files: lib/silcske/silcske.[ch].
10495 Added also silc_ske_free_key_material to free the
10496 SilcSKEKeyMaterial structure.
10498 * Defined silc_cipher_set_key function to set the key for
10499 cipher without using the object's method function. The affected
10500 files: lib/silccrypt/silccipher.[ch].
10502 * Implemented silc silc_client_add_private_message_key,
10503 silc_client_add_private_message_key_ske,
10504 silc_client_del_private_message_key,
10505 silc_client_list_private_message_keys and
10506 silc_client_free_private_message_keys functions in the
10509 Added functions silc_client_send_private_message_key to send
10510 the Private Message Key payload and silc_client_private_message_key
10511 to handle incoming Private Message Key payload.
10513 * Added Cipher field to the Private Message Key payload to set
10514 the cipher to be used. If ignored, the default cipher defined
10515 in the SILC protocol (aes-256-cbc) is used.
10517 Tue Feb 27 13:30:52 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10519 * Removed lib/silcclient/ops.h file.
10521 Redefined parts of the SILC Client Library API. Created new
10522 file silcapi.h that deprecates the ops.h file and defines the
10523 published Client Library API. Defined also private message key
10524 API and channel private key API into the file.
10526 This is the file that the application must include from the
10527 SILC Client Library. Other files need not be included by
10528 the application anymore.
10530 * Added new key_agreement client operation callback and also
10531 defined the Key Agreement library API for the application.
10533 Tue Feb 27 11:28:31 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10535 * Added new packet type: SILC_PACKET_KEY_AGREEMENT. This packet
10536 is used by clients to request key negotiation between another
10537 client in the SILC network. If the negotiation is started it
10538 is performed using the SKE protocol. The result of the
10539 negotiation, the secret key material, can be used for example
10540 as private message key.
10542 Implemented the Key Agreement payload into the files
10543 lib/silccore/silauth.[ch].
10545 Mon Feb 26 12:13:58 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10547 * Redefined ciphers for the SILC protocol. Added some new ciphers
10548 and defined the key lengths for the algorithms. Changed the
10549 code accordingly. The default key length is now 256 bits.
10551 * Fixed SKE key distribution function silc_ske_process_key_material
10552 when the key length is more than 128 bits. The default key
10553 length in SILC is now 256 bits.
10555 * Added new command status type: SILC_STATUS_ERR_UNKOWN_ALGORITHM
10556 to indicate unsupported algorithm.
10558 * Renamed rijndael.c to aes.c and all functions as well.
10560 * Fixed a long standing channel key setting bug in client library.
10561 Weird that it has never surfaced before.
10563 * Fixed bug in channel deletion. If the entire channel is removed
10564 then it must also delete the references of the channel entry
10565 from the client's channel list as the client's channel entry and
10566 the channel's client entry share same memory.
10568 Sun Feb 25 20:47:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10570 * Implemented CONNECT and SHUTDOWN commands in the client.
10572 * Implemented CLOSE command to the client.
10574 * Added the function silc_idlist_find_server_by_name into the
10575 files silcd/idlist.[ch].
10577 Added the function silc_idlist_find_server_by_conn into the
10578 files silcd/idlist.[ch].
10580 Sat Feb 24 23:45:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10582 * DIE command was renamed to SHUTDOWN. Updated the both code
10583 and protocol specs.
10585 * Defined SILC_UMODE_NONE, SILC_UMODE_SERVER_OPERATOR and
10586 SILC_UMODE_ROUTER_OPERATOR modes into lib/silccore/silcmode.h.
10588 * Implemented CONNECT, CLOSE and SHUTDOWN commands to the server
10591 * Added function silc_server_create_connection function to create
10592 connection to remote router. My server implementation actually
10593 does not allow router to connect to normal server (it expects
10594 that normal server always initiates the connection to the router)
10595 so the CONNECT command is only good for connecting to another
10598 Sat Feb 24 16:03:45 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10600 * Added SILC_NOTIFY_TYPE_KICKED to indicate that the client
10601 or some other client was kicked from the channel.
10603 Implemented the handling of the notify type to both client
10606 Implemented silc_server_send_notify_kicked to send the KICKED
10607 notify. It is used to send it to the server's primary router.
10609 * Implemented the KICK command into server and client.
10611 * Added `query' argument to the silc_idlist_get_client function
10612 to indicate whether to query the client from server or not if
10615 * Added new command status type SILC_STATUS_ERR_NO_CHANNEL_FOPRIV
10616 to indicate that the client is not channel founder.
10620 Sat Feb 24 00:00:55 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10622 * Removed the rng context from SilcPacketContext structure and
10623 changed that the packet routine uses the Global RNG API.
10625 Fri Feb 23 11:22:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10627 * Added support for quit message that client can "leave" on the
10628 channel when it quits the SILC. It is ditributed inside the
10629 SILC_NOTIFY_TYPE_SIGNOFF notify type.
10631 Added silc_server_free_client_data that will take the
10632 signoff message as argument.
10634 * Changed SKE routines to use the silc_pkcs_sign/verify routines.
10636 Thu Feb 22 23:05:36 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10638 * Updated parts of the protocol specification to keep it up
10641 Thu Feb 22 15:08:20 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10643 * Added List flag (SILC_PACKET_FLAG_LIST) to indicate list of
10644 payloads in one packet.
10646 * Deprecated following packet types: NEW_ID_LIST, NEW_CHANNEL_LIST,
10647 NEW_CHANNEL_USER_LIST, SET_MODE and SET_MODE_LIST. List packets
10648 use now the new List flag.
10650 * Also deprecated the following packet types: REPLACE_ID,
10651 NEW_CHANNEL_USER and REMOVE_CHANNEL_USER packet types.
10653 * Added list support for Notify packet in server.
10655 * Added silc_server_send_notify_channel_change to send the
10656 CHANNEL_CHANGE notify type to replace channel ID's. Deprecates
10657 the silc_server_send_replace_id.
10659 * Added silc_server_send_notify_nick_change to send the
10660 NICK_CHANGE notify type. Deprecates the function
10661 silc_server_send_replace_id.
10663 * Added silc_server_send_notify_join to send the JOIN notify type.
10664 Deprecates the function silc_server_send_new_channel_user.
10666 * Added silc_server_send_notify_leave to send LEAVE notify type.
10667 Deprecates the function silc_server_send_remove_channel_user.
10669 * Added silc_server_send_notify_cmode and
10670 silc_server_send_notify_cumode to send CMODE and CUMODE notify
10671 types. Deprecates the silc_server_send_set_mode function.
10673 * Added SERVER_SIGNOFF notify type to indicate that server has
10674 quit. This means that all clients on the channel from that
10675 server will drop. This can be also used when netsplit happens.
10677 Deprecated REMOVE_ID packet type since it is not needed anymore
10680 Added silc_server_send_notify_server_signoff to send the
10681 SERVER_SIGNOFF notify type. Deprecates the function
10682 silc_server_send_remove_id.
10684 Added also silc_server_send_notify_signoff to send the
10685 SIGNOFF notify type.
10687 * Employed the PKCS #1. It is the mandatory way to do RSA in the
10688 SILC protocol from this day on. Changed the protocol
10689 specification as well.
10691 * Added silc_server_send_notify_topic_set to send TOPIC_SET
10692 notify type. It is used between routers to notify about
10693 topic changes on a channel.
10695 * Added silc_id_dup into lib/silccore/id.[ch] to duplicate
10698 * Partly updated the protocol specification to comply with the
10699 changes now made. It is still though a bit outdated.
10701 * The JOIN notify type now takes one extra argument <Channel ID>.
10702 The packet used to be destined to the channel but now the
10703 JOIN type may be sent as list thus it is impossible to
10704 destine it to any specific channel. By adding this argument
10705 it is again possible.
10707 Wed Feb 21 22:39:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10709 * Added CREDITS file. The CHANGES and CREDITS file will appear
10710 in the distribution as well.
10712 Wed Feb 21 14:17:04 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10714 * Implemented CMODE_CHANGE, CUMODE_CHANGE and TOPIC_SET notify
10715 types in the server's silcd/packet_receive.c.
10717 * Implemented CMODE and CUMODE to work in router environment.
10719 * Fixed minor encoding and decoding buglet from the
10720 lib/silccore/silcmode.c.
10722 * Fixed buffer overflow from lib/silcclient/command.c in USERS
10725 Wed Feb 21 12:44:00 EET 2001 Mika Boström <bostik@lut.fi>
10727 * Changed all SilcConfigServer* and silc_config_server* to
10728 SilcServerConfig* and silc_server_config*, respectively.
10731 Wed Feb 21 00:10:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10733 * Associated the ID (client or server ID) to the Authentication
10734 Payload to avoid any possibility of forging. Updated the
10735 protocol specification and the code accordingly.
10737 Tue Feb 20 14:14:14 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10739 * The RSA key length is now save to the RsaKey context in the
10740 key generation process in lib/silccrypt/rsa.c. The key length
10741 is now used to figure out the maximum size of the block allowed
10742 to be encrypted/signed.
10744 * Added silc_mp_mp2bin_noalloc into lib/silcmath/mpbin.[ch]. It
10745 is equivalent to the silc_mp_mp2bin but does not allocate any
10748 * Changed silc_mp_mp2bin API to take length argument. If it is
10749 non-zero then the buffer is allocated that large. If zero, then
10750 the size is approximated using silc_mp_sizeinbase, which however
10753 * Created Global RNG API which is global RNG that application can
10754 initialize. After initializing, any routine anywhere in the
10755 code (including library) can use RNG without allocating a new
10756 RNG object. This was done to allow this sort of use of the
10757 RNG in code that has no chance to allocate RNG object. All
10758 applications currently allocate this and many routines in the
10759 library use this. Affected file lib/silccrypt/silcrng.[ch].
10761 * Removed the RNG kludge from lib/silcmath/primegen.c and changed
10762 it to use the Global RNG API.
10764 * Defined Authentication Payload into protocol specification that
10765 is used during SILC session to authenticate entities. It is
10766 used for example by client to authenticate itself to the server
10767 to obtain server operator privileges.
10769 Implemented this payload into the lib/silccore/silcauth.[ch].
10770 Implemented also routines for public key based authentication
10771 as the new protocol specification dictates.
10773 Moved definitions of different authentication methods from
10774 lib/silccore/silcprotocol.h into lib/silccore/silcauth.h.
10776 * Added silc_pkcs_encrypt, silc_pkcs_decrypt, silc_pkcs_sign,
10777 silc_pkcs_verify and silc_pkcs_sign_with_hash and
10778 silc_pkcs_verify_with_hash functions into the file
10779 lib/silccrypt/silcpkcs.[ch].
10781 Mon Feb 19 19:59:28 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10783 * The client entry's userinfo pointer must be always valid.
10784 Otherwise the [<unknown>] bug will surface beacuse the WHOIS
10785 will fail since it requires the userinfo. Now, the userinfo
10786 is allocated as "" if actual userinfo does not exist. Actually,
10787 it must exist and it is totally Ok to drop client connections
10788 that does not announce the userinfo. However, we will make
10789 this workaround for now.
10791 * Added silc_net_get_remote_port into lib/silcutil/silcnet.[ch]
10792 to return the remote port by socket.
10794 Mon Feb 19 14:26:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10796 * Changed SILC_SERVER_COMMAND_EXEC_PENDING macro to the name
10797 SILC_SERVER_PENDING_EXEC and added an new macro
10798 SILC_SERVER_PENDING_DESTRUCTOR which is called to free the
10799 data or when error occurs while processing the pending command.
10801 Added new argument `destructor' into silc_server_command_pending
10802 and to the SilcServerCommandPending object. This destructor is
10803 now called after calling the pending callback or if error occurs
10804 immediately. If error occurs the actual pending callback won't
10805 be called at all - only the destructor. The destructor may be
10806 NULL if destructor is not needed.
10808 All this applies for client library code as well. Similar
10809 changes were made there as well for the pending commands.
10811 In the client, the application must now allocate the
10812 SilcClientCommandContext with the silc_client_command_alloc
10815 * Added reference counter to the SilcServerCommandContext. Added
10816 function silc_server_command_alloc and silc_server_command_dup
10819 Same type of functions added to the client library for the same
10822 * Removed the cmd_ident from IDListData away since it is now
10823 global for all connections. It is the command identifier used
10824 in command sending and with pending commands. The affected file
10827 * Added reference counter to the SilcSocketConnection objecet to
10828 indicate the usage count of the object. The object won't be
10829 freed untill the reference counter hits zero. Currently only
10830 server uses this, and client ignores it. The client must be
10831 set to use this too later. The affected files are
10832 lib/silccore/silcsockconn.[ch]. Added also the function
10833 silc_socket_dup to increase the reference counter.
10835 This was mainly added because it is possible that the socket
10836 is removed underneath of pending command or other async
10837 operation. Now it won't be free'd and proper DISCONNECTING
10838 flags, etc. can be set to avoid sending data to connection that
10839 is not valid anymore.
10841 * Added SILC_SET_DISCONNECTING to server.c when EOF is read from
10842 the connection. After that it sets SILC_SET_DISCONNECTED.
10843 It is, however, possible that the socket data is not still freed.
10844 The silc_server_packet_process now checks that data is not
10845 read or written to connection that is DISCONNECTED. The socket
10846 get's freed when the reference counter hits zero.
10848 Mon Feb 19 00:50:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10850 * Changed the client operation API: channel_message operation's
10851 `sender' is now the client entry of the sender, not the nickname
10852 and the `channel' is the channel entry, not the channel name.
10854 In the private_message operation the `sender' is now also the
10855 client entry of the sender not the nickname.
10857 Affected file is lib/silcclient/ops.h and all applications
10858 using the client operations.
10860 Sat Feb 17 22:11:50 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10862 * Moved the calling of ops->connect() from connect_to_server_final
10863 into receive_new_id functin since that is the point when the
10864 client is actually allowed to send traffic to network. The
10865 affected file is lib/silcclient/client.c.
10867 Sat Feb 17 13:15:35 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10869 * When receiving NEW_CHANNEL_LIST, NEW_CHANNEL_USER_LIST,
10870 NEW_ID_LIST and SET_MODE_LIST packets, broadcast the list packet
10871 (if needs broadcasting) instead of broadcasting the packets one
10872 by one which would make a burst in the network traffic.
10874 * Added `broadcast' argument to the functions in silcd/server.[ch]
10875 silc_server_create_new_channel[_with_id] to indicate whether
10876 to send New Channel packet to primary router.
10878 Sat Feb 17 01:06:44 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10880 * Added new function into the silcd/server.[ch] files:
10881 silc_server_create_new_channel_with_id to create new channel with
10882 already existing Channel ID.
10884 * Added new packet type SILC_PACKET_SET_MODE_LIST into the file
10885 lib/silccore/silcpacket.h. This packet is used t send list of
10886 Set Mode payloads inside one packet. Server uses this to set
10887 the modes for the channels and clients on those channels, that it
10888 announced to the router when it connected to it. The protocol
10889 specification has been updated accordingly.
10891 * The silc_server_new_channel did not handle the packet coming
10892 from normal server as it normally does not send that. However,
10893 when it announces its channels it does send it. Implemented
10894 the support for that.
10896 * Added SILC_ID_CHANNEL_COMPARE macro to compare to Channel ID's
10897 into the file lib/silccore/id.h.
10899 Fri Feb 16 23:57:29 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10901 * Fixed memory leaks in the functions silc_idlist_del_client,
10902 silc_idlist_del_channel and silc_idlist_del_server in the file
10903 silcd/idlist.c. All of those leaked like a sieve.
10905 * Fixed some small memory leaks in the client's function
10906 silc_client_notify_by_server.
10908 * Added functions into silcd/server.c: silc_server_announce_clients,
10909 silc_server_announce_channels and silc_server_announce_server.
10910 These functions are used by normal and router server to announce
10911 to its primary router about clients, channels and servers (when
10912 router) that we own. This is done after we've connected to the
10915 These functions effectively implements the following packet types:
10916 SILC_PACKET_NEW_CHANNEL_LIST, SILC_PACKET_NEW_CHANNEL_USER_LIST
10917 and SILC_PACKET_NEW_ID_LIST.
10919 * Added new functions into the silcd/packet_receive.[ch]:
10920 silc_server_new_id_list, silc_server_new_channel_list and
10921 silc_server_new_channel_user_list to handle the incoming
10922 NEW_ID_LIST, NEW_CHANNEL_LIST and NEW_CHANNEL_USER_LIST packets.
10924 * Added support of changing Channel ID in the function
10925 silc_server_replace_id. If the server that announces a channel
10926 to the router already exists in the router (with same name but
10927 with different Channel ID), router is responsible to send
10928 Replace ID packet to the server and force the server to change
10929 the Channel ID to the one router has.
10931 * Added new notify type SILC_NOTIFY_TYPE_CHANNEL_CHANGE to notify
10932 client that the Channel ID has been changed by the router. The
10933 normal server sends this to the client. Client must start using
10934 the new Channel ID as the channel's ID.
10936 Implemented handling of this new type into lib/silcclient/client.c
10937 into the function silc_client_notify_by_server.
10939 * Added new function silc_idlist_replace_channel_id into the files
10940 silcd/idlist.[ch] to replace the Channel ID.
10942 Fri Feb 16 14:14:00 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10944 * Call silc_server_command_identify_check always when processing
10945 the IDENTIFY command in silcd/command.c
10947 Thu Feb 15 20:07:37 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
10949 * Added new packet type SILC_PACKET_HEARTBEAT that is used to
10950 send keepalive packets. The packet can be sent by clients,
10951 servers and routers.
10953 Added function silc_socket_set_heartbeat into the file
10954 lib/silccore/silcsockconn.[ch] to set the heartbeat timeout.
10955 If not set, the heartbeat is not performed. The actual
10956 heartbeat is implemented in the low level socket connection
10957 library. However, application is responsible of actually
10958 sending the packet.
10960 Added silc_server_send_heartbeat to send the actual heartbeat
10961 packet into silcd/packet_send.[ch]. Server now performs
10962 keepalive with all connections.
10964 * Added silc_task_get_first function into lib/silcutil/silctask.c
10965 to return the timeout task with shortest timeout. There was a bug
10966 in task unregistration that caused problems. TODO has been
10967 updated to include that task system must be rewritten.
10969 * The client library will now resolve the client information when
10970 receiving JOIN notify from server for client that we know but
10971 have incomplete information.
10973 * Rewrote parts of silc_server_remove_from_channels and
10974 silc_server_remove_from_one_channel as they did not remove the
10975 channel in some circumstances even though they should've.
10977 * Encryption problem encountered in server:
10979 The LEAVE command used to send the Channel Key packet to the
10980 router immediately after generating it. However, the code
10981 had earlier sent Remove Channel user packet but not immediately,
10982 ie. it was put to queue. The order of packets in the router
10983 was that Channel Key packet was first and Remove Channel User
10984 packet was second, even though they were encrypted in the
10985 reverse order. For this reason, MAC check failed. Now, this
10986 is fixed by not sending the Channel Key packet immediately but
10987 putting it to queue. However, this is more fundamental problem:
10988 packets that are in queue should actually not be encrypted
10989 because packets that are sent immediately gets encrypted
10990 actually with wrong IV (and thus MAC check fails). So, packets
10991 that are in queue should be encrypted when they are sent to
10992 the wire and not when they put to the queue.
10994 However, the problem is that the current system has not been
10995 designed to work that way. Instead, the packet is encrypted
10996 as soon as possible and left to the queue. The queue is then
10997 just purged into wire. There won't be any fixes for this
10998 any time soon. So, the current semantic for packet sending
11001 o If you send packet to remote host and do not force the send
11002 (the packet will be in queue) then all subsequent packets to the
11003 same remote host must also be put to the queue. Only after the
11004 queue has been purged is it safe again to force the packet
11007 o If you send all packets immediately then it safe to send
11008 any of subsequent packets through the queue, however, after
11009 the first packet is put to queue then any subsequent packets
11010 must also be put to the queue.
11012 Follow these rules and everything works fine.
11014 Thu Feb 15 14:24:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11016 * Added new function silc_server_remove_clients_by_server to
11017 remove all client entries from ID list when the server connection
11018 is lost. In this case it is also important to invalidate all
11019 client entires as they hold the invalid server entry. This
11020 fixes fatal bug when server has lost connection and will reconnect
11023 Wed Feb 14 16:03:25 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11025 * Made some sanity checks to silc_server_daemonise like to check
11026 whether the requested user and group actually exists.
11028 * Added sanity check to SKE's silc_ske_responder_finish to check
11029 that the public and private key actually is valid.
11031 * Invalidate the client's nickname when receiving Replace ID
11032 packet and the Client ID is being replaced. This means that the
11033 server will query the nickname if someone needs it (client)
11036 * Sort the ID Cache in client library when the ID Cache data
11037 has changed (needs sorting).
11039 * Do not allow for SILC client to create several connections to
11040 several servers. The client does not support windows right now
11041 and generating multiple connections causes weird behaviour.
11043 Irssi-silc client does support windows and can handle several
11044 connections without problems, see: www.irssi.org and SILC plugin.
11046 * Fixed some places where client was added to the IDList. The
11047 rule of thumb is following (in order to get everything right):
11048 If the client is directly connected local client then the
11049 `connection' argument must be set and `router' argument must be
11050 NULL to silc_idlist_add_client function. If the client is not
11051 directly connected client then the `router' argument must
11052 bet set and the `connection' argument must be NULL to the
11053 silc_idlist_add_client function.
11055 * The funtion silc_server_packet_send_local_channel actually did
11056 not check whether the client was locally connected or not. It
11057 does that now. Fixed a bug related to LEAVE command.
11059 * Fixed Remove Channel User payload parsing bug in server's
11060 silcd/packet_receive.c. Fixed a bug related to LEAVE command.
11062 * The server's silc_server_save_channel_key now checks also the
11063 global ID list for the channel as it might not be in the local
11064 list. Fixed a bug related to LEAVE command.
11066 * Is this the end of the [<unknown>] buglet that has been lurking
11067 around for a long time? A little for loop fix in server's
11068 silc_server_command_whois_parse that is used by both IDENTIFY
11069 and WHOIS command. At least, this was a clear bug and a cause
11070 of one type of [<unknown>] buglet.
11072 * WHOIS and IDENTIFY commands call the function
11073 silc_server_command_[whois/identify]_check function even if
11074 we are not router server.
11076 Tue Feb 13 19:55:59 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11078 * Added --with-gmp configuration option. If set the GMP
11079 is always compiled in the SILC source tree. If not set then
11080 it is checked whether the system has the GMP3 installed. If
11081 it has then the GMP won't be compiled (the system's headers
11082 and library is used), if it doesn't have it then the GMP is
11083 compiled in the SILC source tree.
11085 Mon Feb 12 11:20:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11087 * Changed RSA private exponent generation to what PKCS #1
11088 suggests. We try to find the smallest possible d by doing
11089 modinv(e, lcm(phi)) instead of modinv(e, phi). Note: this is
11090 not security fix but optimization.
11092 Sun Feb 11 18:19:51 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11094 * Added new config entry [Identity] to fork the server and run
11095 it as specific user and group. A patch from Bostik.
11097 * Imported Dotconf configuration library into lib/dotconf.
11098 This will be used to create the SILC configuration files later.
11099 It will appear in the distsribution after this commit.
11101 Sat Feb 10 21:13:45 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11103 * A big code auditing weekend happening. Auditing code for
11104 obvious mistakes, bugs and errors. Also, removing any code
11107 Removed files for being obsolete:
11109 o lib/silcutil/silcbuffer.c (the buffer interface is entirely in
11110 inline in the file lib/silcutil/silcbuffer.h)
11112 o lib/silcutil/silcbufutil.c (the header has inline versions)
11114 Changed code to fix possible error conditions:
11116 o The buffer formatting routines now check that the destination
11117 buffer really has enough space to add the data. This applies for
11118 both buffer formatting and unformatting
11119 (lib/silcutil/silcbuffmt.[ch]). Also, the entire buffer
11120 unformatting was changed to accomodate following rules:
11121 XXX_*STRING_ALLOC will allocate space for the data into the pointer
11122 sent to the function while XXX_*STRING will not allocate or copy
11123 the data into the buffer. Instead it sets the pointer from the
11124 buffer into the pointer sent as argument (XXX_*STRING used to
11125 require that the pointer must be allocated already). This change
11126 makes this whole thing a bit more consistent and more optimized
11127 (note that the data returned in the unformatting with XXX_*STRING
11128 must not be freed now). The routines return now -1 on error.
11130 o Tried to find all code that use buffer_format and buffer_unformat
11131 and added return value checking to prevent formatting and
11132 especially unformatting errors and possible subsequent fatal
11135 o Changed ske->x and ske->KEY to mallocated pointers in
11136 lib/silcske/silcske.h. Fixed possible data and memory leak.
11138 o Added return value checking to all *_parse* functions. Fixed
11139 many memory leaks as well.
11141 o Added length argument to silc_id_str2id in lib/silccore/id.[ch]
11142 so that buffer overflows would not happen. All code now also
11143 checks the return value as it can fail.
11145 Mon Feb 5 20:08:30 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11147 * Added reconnection support to server if the normal server looses
11148 its connection to the router (for example if router is rebooted).
11149 The server performs normal reconnection strategy implemented
11150 to the server. Affected file silcd/server.c.
11152 Sun Feb 4 13:18:32 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11154 * Added new packet type SILC_PACKET_SET_MODE that is used to
11155 distribute the information about changed modes (for clients,
11156 channels and clients channel modes) to all routers in the
11157 network. Updated the protocol specification accordingly.
11159 Added functions into silcd/packet_send.c and
11160 silcd/packet_receive.c: silc_server_send_set_mode,
11161 silc_server_set_mode.
11163 Added new files silcmode.[ch] into lib/silccore that implements
11164 the encoding and decoding of Set Mode Payload. Added new type
11165 SilcSetModePayload. Moved the definitions of different modes
11166 from lib/silccore/silcchannel.h into lib/silccore/silcmode.h.
11168 Sat Feb 3 15:44:54 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11170 * Oops, a little mistake in server's connection authentication
11171 protocol. The protocol is not ended with FAILURE but with
11172 SUCCESS if the authentication is Ok. :) Affected file is
11175 * Implemented NICK_CHANGE notify handling in server in the file
11176 silcd/packet_receive.c The NICK_CHANGE notify is distributed to
11177 the local clients on the channel. After the changing nickname
11178 in router environment snhould work and the [<unknown>] nickname
11179 should appear no more.
11181 The silc_server_replace_id function that receives the Replace ID
11182 payload now sends the NICK_CHANGE notify type also in the file
11183 silcd/packet_receive.c
11185 * Changed WHOIS and IDENTIFY command to support the maximum amount
11186 of arguments defined in protocol specs (3328 arguments). This
11187 fixed a bug that caused problems when there were more than three
11188 users on a channel.
11190 Fri Feb 2 11:42:56 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11192 * Added extra parameter, command identifier, to the
11193 silc_client_send_command so that explicit command identifier
11196 Changed that ID list routines uses specific command identifier
11197 when sending WHOIS/IDENTIFY requests to the server so that they
11198 can be identified when the reply comes back.
11200 Affected files lib/silcclient/command.[ch],
11201 lib/silcclient/client.c and lib/silcclient/idlist.[ch].
11203 * Added `sender' argument to silc_server_packet_send_to_channel
11204 to indicaet the sender who originally sent the packet to us
11205 that we are now re-sending. Ignored if NULL. Affected file
11206 silcd/packet_send.[ch].
11208 * Added some server statistics support in silcd/server_internal.h
11209 SilcServerStatistics structure and around the server code. Also
11210 send some nice statistics information when client is connecting
11213 Thu Feb 1 23:31:21 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11215 * Fixed channel ID decoding in server's JOIN command reply in
11216 silcd/command_reply.c
11218 * Fixed braodcasting of replace ID payload to not to send it if
11219 we are standalone server in silcd/packet_receive.c.
11221 * Fixed all channel message sending routines to not to send
11222 packets to clients that has router set, since they are routed
11223 separately in the same function earlier. Affects file
11224 silcd/packet_send.c and all channel packet sending functions.
11226 * In USERS reply, res_argv[i] are not allocated, the table
11227 is allocated. Thus changed that free the table, not its
11230 * In server's whois_check and identify_check if the client is
11231 locally connected do not send any WHOIS commands - they are not
11234 Thu Feb 1 21:32:27 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11236 * Fixed some minor bugs in client when sending WHOIS command. The
11237 arguments was in wrong order.
11239 * Removed statis function add_to_channel from server in
11240 silcd/command.c that was previously used with the joining but
11243 * Tested USERS command in router environment successfully with two
11244 routers, two servers and two clients.
11246 Thu Feb 1 00:54:26 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11248 * Reorganized the USERS command and command reply in client library
11249 in lib/silcclient/command.c and lib/silcclient/command_reply.c.
11250 When the command is given by user we register a pending command
11251 callback that will reprocess the command after the reply has been
11252 received from the server. When reprocessing the packet we then
11253 display the information. Thus, the USERS information is displayed
11254 now in the command callback instead of in the command reply
11255 callback. The processing of the command is same as previously
11256 when server has sent the command reply in the JOINing process.
11258 * Added to USERS command in silcd/command_reply.c to join the client,
11259 we didn't use to know about, to the channel after we've created
11260 a client entry for it. Also, for clienet we did know already still
11261 check whether it is on the channel or not and add it if not.
11263 * Removed silc_server_command_join_notify as the function and its
11266 Tue Jan 30 22:39:15 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11268 * Changed the client's pending command handling to the same as the
11269 server's pending command handling. It is also now possible to
11270 execute command reply functions from other command reply
11271 function as the function callbacks for commands and command
11272 replies are one and same. The pending commands are not static
11273 list anymore, it is mallocated SilcDList in lib/silcclient/client.h
11274 in client connection context. Thus, pending commands are server
11275 connection specific as it is convenient.
11277 Changed the function silc_client_command_pending and
11278 silc_client_command_pending_del and added new function
11279 silc_client_command_pending_check. Removed the
11280 SILC_CLIENT_CMD_REPLY_EXEC, and SILC_CLIENT_PENDING_COMMAND_CHECK
11283 * Added cmd_ident, current command identifier, to the client
11284 connection context in lib/silcclient/client.h to keep track on
11285 command identifiers used in command sending. Client's command reply
11286 function handling now supports the mandatory command identifiers.
11288 * Added SILC_CLIENT_COMMAND_EXEC_PENDING macros to all command reply
11289 funtions in client to fully support pending command callbacks.
11291 * NOTE: the name_list in USERS (old NAMES) command is NOT sent anymore
11292 as one of the arguments to the application in the command reply
11295 * NOTE: The FORWARDED flag is depracated. It used to be depracated
11296 before first releasing SILC but came back. Now it is removed again
11297 and should come back nomore. The FORWARDED flag was used only
11298 by the JOINing procedure by forwarding the command packet to router.
11299 Now, the JOINing procedure has been changed to more generic (due
11300 to various router environment issues) and FORWARDED is not needed
11301 anymore for anything. The protocol specification is yet to be
11304 Now, removed silc_server_packet_forward from server and the flag
11305 SILC_PACKET_FORWARDED from lib/silccore/silcpacket.h.
11307 Tue Jan 30 00:05:05 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11309 * Renamed NAMES command to USERS command. The NAMES was named that
11310 due to historical reasons. Now it is renamed. Also, rewrote
11311 parts of the USERS command. The nickname list is not sent anymore
11312 by the server. Only Client ID and mode lists are sent in the USERS
11313 command. Changed this also to the protocol specification.
11315 The client now resolves the names and stuff after it receives
11316 the USERS list from the server when joining to the channel.
11318 * WHOIS and IDENTIFY commands has been changed to support multiple
11319 Client ID's per command. One can now search for multiple users
11320 in the network by sending only one WHOIS or IDENTIFY command.
11321 Changed the code and the protocol specifications.
11323 * Removed silc_server_command_identify_parse and changed that IDENTIFY
11324 uses silc_server_command_whois_parse to parse the request. */
11326 * If normal server, do not parse the WHOIS and IDENTIFY requests
11327 before sending it to the router. Saves some time.
11329 Sun Jan 28 16:19:49 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11331 * Fixed JOIN command on client library. Wrong number of arguments
11332 used to crash the client.
11334 * Added silc_server_channel_has_global function to check whether
11335 channel has global users or not.
11337 * Added silc_server_channel_has_local function to check whether channel
11338 has locally connected clients on the channel.
11340 * The silc_server_remove_from_one_channel now checks whether the
11341 channel has global users or not after given client was removed from
11342 the channel. It also checks whether the channel has local clients
11343 on the channel anymore. If it does not have then the channel entry
11344 is removed as it is not needed anymore.
11346 * The silc_server_notify now checks on JOIN notify whether the joining
11347 client is one of locally connected or global. If it is global then
11348 the channel has now global users on the channel and that is marked
11349 to the channel entry. Also, it now saves the global client to
11350 global list who is joining and JOINs it to the channel. This is
11351 for normal server, that is.
11353 Changed silc_server_send_notify_on_channel,
11354 silc_server_packet_relay_to_channel and
11355 silc_server_packet_send_to_channel check if we are normal server
11356 and client has router set (ie. global client) do not send the
11357 message to that client, as it is already routed to our router.
11359 * Implemented LEAVE notify type handling in silc_server_notify
11362 * Tested LEAVE command in router environment successfully. Tested
11363 with two routers, two servers and two clients.
11367 * idlist_find_xxx_by_id routines now dumps the ID on the debug mode.
11369 * Implemented SIGNOFF notify type handling in silc_server_notify
11372 * silc_server_remove_id now removes the client entry from all channels
11373 it has joined and thusly sends SIGNOFF notify type.
11375 * Rewrote the NAMES list generation in server by removing two excess
11376 loops. The lists are created now inside one loop.
11378 Sat Jan 27 22:34:56 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11380 * silc_server_remove_channel_user checks now also global list
11381 for channel and client.
11383 * silc_server_new_channel_user checks now both local and global
11384 list for channel and client. Fixed a bug in client id decoding.
11385 Used to decode wrong buffer.
11387 * silc_server_channel_message checks now both local and global
11388 list for channel entry.
11390 * Tested channel joining (hence JOIN) in router environment
11391 successfully. Tested with two routers, two servers and two
11394 * Tested channel message sending in router environment successfully.
11396 Thu Jan 11 03:22:57 EET 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
11398 * Added silc_server_save_channel_key into server.[ch] to save the
11399 received channel key in Channel Key payload processing. It is
11400 also used in JOIN command reply handling.
11402 Equivalent function silc_client_save_channel_key added into
11403 client.[ch] into client library.
11405 * Changed JOIN command reply to send information whether the channel
11406 was created or not (is existing already) and the channel key
11407 payload. Changed protocol specs accordingly.
11409 * Fixed bugs in WHOIS and IDENTIFY command reply sending when
11410 the request was sent by ID and not by nickname. Crashed on
11413 Sat Dec 23 21:55:07 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11415 * Fixed a bug in Client library. IDENTIFY and WHOIS reply functions
11416 now correctly save the received data.
11418 * silc_server_free_sock_user_data now notifies routers in the
11419 network about entities leaving the network.
11421 At the same time implemented functions silc_server_remove_id
11422 and silc_server_send_remove_id to receive and send REMOVE_ID
11423 packets. The packet is used to notify routers in the network
11424 about leaving entities. The ID removed will become invalid in
11427 * Added function silc_idlist_del_server into server. Removes and
11428 free's server entry from ID list.
11430 * silc_server_private_message function now checks, if we are router,
11431 that the destination ID really is valid ID, naturally.
11433 * In router when NEW_ID packet is received (for new client) the
11434 hash of the Client ID is saved in the ID Cache but the
11435 client->nickname is set to NULL, instead of putting the hash
11438 IDENTIFY command now also checks that client->nickname must be
11439 valid. If it is not if will request the data from the server who
11440 owns the client. Added new function
11441 silc_server_command_identify_check.
11443 * Added silc_command_set_command into lib/silccore/silcommand.[ch]
11444 to set the command to already allocated Command Payload.
11446 * Tested private message sending in router environment with two
11447 routers, two servers and two clients. Fixed minor bugs and now
11450 * Fixed segfault from client's NAMES command. Used to crash if
11451 not on any channel.
11453 * Forwarded packets must not be routed even if it is not destined
11454 to the receiver. Changed server code comply with this.
11456 Sun Dec 17 14:40:08 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11458 * Added `require_reverse_mapping' boolean value to ServerParams
11459 structure. If TRUE (not default) the server will require that
11460 the connecting host has fully qualified domain name.
11462 If the reverse mapping is not required and hostname could not be
11463 found the IP address is used as hostname.
11465 Sat Dec 16 17:39:54 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11467 * Implemented version string checking to both client and server.
11468 The check is incomplete currently due to the abnormal version
11469 strings used in development version of SILC.
11471 * Changed all command functions in server to use the new
11474 Fri Dec 15 15:55:12 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11476 * Changed char *data to unsigned char *data in ID Cache system to
11477 support binary data as ID Cache data. Changed code to support
11478 binary data in lib/silccore/idcache.c.
11480 * Renamed silc_server_packet_relay_command_reply to
11481 silc_server_command_reply as it is normal packet receiving
11482 function. Rewrote the function to accept command replys for
11483 servers and not only for clients.
11485 * Mark remote router always as registered server if we are connecting
11486 to it. Otherwise, commands sent by the router to us are ignored.
11488 * All ID List find routines now returns the ID Cache Entry pointer
11489 as well if requested.
11491 * WHOIS command works now in router environment, tested with two
11492 routers, two servers and two clients.
11494 * Cleaned up and rewrote IDENTIFY command. IDENTIFY should work now
11495 in router environment (as it is almost equivalent to WHOIS) but
11496 hasn't been tested thoroughly. Added new functions:
11498 silc_server_command_identify_parse
11499 silc_server_command_identify_send_reply
11500 silc_server_command_identify_from_client
11501 silc_server_command_identify_from_server
11503 * Disabled route cache adding because adding two different ID's with
11504 same IP replaces the old cache entry thus giving wrong route.
11505 The entry->router->connection is always the fastest route anyway
11506 so route cache may not be needed. Of course, new routes maybe
11507 established after receiving the ID when the entry->router->connection
11508 might not be anymore the most optimal.
11510 Thu Dec 14 15:55:35 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11512 * Add route cache for received ID for fast routing.
11514 * Added silc_server_packet_route to route received packet on router
11515 that is not destined to us.
11517 * Renamed silc_server_get_route to silc_server_route_get.
11519 * Added id_string and id_string_len fields into SilcServer to
11520 include encoded ServerID for fast comparing without excess
11521 encoding of the ID's.
11523 * Cleaned up WHOIS command on server side. Added following static
11526 silc_server_command_whois_parse
11527 silc_server_command_whois_check
11528 silc_server_command_whois_send_reply
11529 silc_server_command_whois_from_client
11530 silc_server_command_whois_from_server
11532 * Added macro SILC_SERVER_COMMAND_CHECK_ARGC to check mandatory
11533 arguments in command replies. All command functions should be
11534 updated to use this macro.
11536 Sun Dec 10 23:52:00 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11538 * Minor typo fixes on command reply handling on server.
11540 Tue Nov 28 11:05:39 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11542 * Added silc_server_command_add_to_channel internal routine to add
11543 the client to the channel after router has created the channel and
11544 sent command reply to the server.
11546 * Added generic silc_server_send_command to send any command from
11549 * Use static buffer with ID rendering instead of duplicating data.
11551 Mon Nov 27 21:39:40 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11553 * Fixed a channel user mode bug when joining to a channel server gave
11554 everybody channel founder rights, oops.
11556 * We mark ourselves as the router of the incoming server connection
11557 if we are router ourselves. This way we can check in some packet
11558 sending functions whether it is locally connected server. For
11559 incoming router connections we put NULL.
11561 * For router sending packets locally means now always sending the
11562 packet cell wide; to local clients and local servers. For normal
11563 server sending packet locally means sending it to only local
11566 * Fixed the JOIN command to really work in router environment. If the
11567 channel is created it is always created by the router. Router is
11568 also responsible of making the initial joining to the channel,
11569 sending JOIN notify to the sending server and distributing
11570 NEW_CHANNEL and NEW_CHANNEL_USER packets. Hence, if the channel
11571 does not exist server doesn't do anything else but forward the
11572 command to the router which performs everything.
11574 * Added silc_server_send_channel_key function to send the Channel Key
11577 * Added silc_server_create_channel_key to create new channel key. The
11578 channel key is now re-generated everytime someone joins or leaves
11579 a channel, as protocol dictates. Note: channel->key_len is the
11580 key length in bits.
11582 Wed Nov 22 22:14:19 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11584 * Splitted server.[ch] finally. Created now packet_send.[ch] and
11585 packet_receive.[ch] to separate packet sending and receiving
11586 routines. The server.[ch] now includes everything else including
11587 actual packet processing (writing and reading data) and other
11590 Renamed silc_server_private_message_send_internal to
11591 silc_server_send_private_message. The routine is still though
11592 used only to relay private messages as server does not send
11593 private messages itself.
11595 Renamed silc_server_new_channel to silc_server_create_new_channel
11596 and added new function sicl_server_new_channel that handles the
11597 incoming New Channel packet. Added also new sending function
11598 silc_server_send_new_channel to send New Channel Payload.
11600 * Added new function silc_server_notify to process incoming notify
11601 packet to the server/router. Server may then relay the notify
11602 to clients if needed.
11604 * Added new function silc_server_new_channel_user to process incoming
11605 New Channel User packet. Router will redistribute the packet and
11606 send JOIN notify to its local clients and locally connected servers
11607 if needed. Normal server will send JOIN notify to its local client
11608 on same channel when received this packet. Added also corresponding
11609 sending function silc_server_send_new_channel_user to sent the
11612 * Added boolean route argument to send_notif_to_channel and
11613 packet_send_to_channel functions to attempt to route the packet
11614 if it is TRUE and send only locally if it is FALSE.
11616 Tue Nov 21 19:49:31 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11618 * silc_server_replace_id now broadcasts the received replace ID
11619 packet if it is not broadcast packet already. The router must
11620 broadcast to inform other routers about changed ID.
11622 * Added backpointer to server's router into SilcServer context in
11623 silcd/server_internal.h.
11625 * Fixed silc_server_packet_broadcast to send correct broadcast
11628 * The channel key is now distributed to the local client as soon
11629 as it is received from the router (in router environment) so that
11630 no other packet may be sent for the channel until client has
11633 * silc_server_remove_channel_user now broadcasts the received
11634 Remove Channel User packet if it is not broadcast packet already.
11635 The router must broadcast to inform other routers about removed
11638 * Added users field into SilcPacketContext that is a reference count
11639 of the context. One can increase the reference count by calling
11640 silc_packet_context_dup which is now changed to just increase the
11641 reference count instead of duplicating the data. The reference
11642 count is decresed by calling silc_packet_context_free that will
11643 free the data after the reference count hits zero.
11645 For now on the packet context and everything allocated into it
11646 (including the raw packet from network) must be freed by calling
11647 the new silc_packet_context_free function. Added also new function
11648 silc_packet_context_alloc that must be used now to allocate the
11649 context. This also means that if a routine is asynchronous from
11650 silc_[client/server]_packet_parse_type the packet context must
11651 be duplicated by calling silc_packet_context_dup. Otherwise it
11652 gets free'd after silc_[client/server]_packet_parse_type returns.
11653 Also, one must remember that if packet is duplicated then its
11654 reference count must be decresed by calling the free function as
11655 many times as it was duplicated.
11657 * Changed SilcBuffer field from protocol contexts to SilcPacketContext
11658 from both client and server.
11660 Mon Nov 20 23:47:03 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11662 * Made joining to a channel working in router environment.
11664 * Cleaned up JOIN command on server side and create function
11665 silc_server_command_join_channel internal routine to make the
11668 Thu Nov 9 21:12:39 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11670 * Changed silc_command_pending list to SilcDList. Also, added
11671 `ident' field to SilcServerCommandPending structure to identify
11672 the reply and to call correct callback.
11674 Added silc_server_command_pending_check function to replace the
11675 corresnponding macro. The silc_command_pending list is not
11678 * Added silc_command_set_ident into lib/silccore/silccommand.[ch]
11679 to set identifier to previously allocated Command Payload. It
11680 is used to set identifier for command when resending Command
11683 * Added silc_command_payload_encode_payload to encode Command
11684 Payload buffer from SilcCommandPayload structure.
11686 * Added silc_argument_payload_encode_payload to encode Argument
11687 payload buffer from SilcArgumentPayload structure.
11689 Wed Nov 8 21:03:28 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11691 * Changed WHOIS command to support router connection on server side.
11692 The whois request is always sent to router unless the server is
11693 standalone server. After server has received the reply from the
11694 router will it send the reply to the client.
11696 * Added silc_server_packet_broadcast into silcd/server.[ch] to
11697 broadcast received broadcast packet. The function is used only
11698 by router. The broadcast packet is always sent to the router's
11701 * Added silc_id_render function in lib/silcutil/silcutil.[ch] to
11702 render given ID to printable string, for log files for example.
11704 Tue Nov 7 22:14:19 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11706 * Made basic router to router connections working. At least they
11707 can now connect to each other but nothing really works the way
11708 they are supposed - yet.
11710 * Added new initiator token to RouterConnection configuration
11711 file in silcd/serverconfig.[ch]. It is used to tell whether we
11712 are the initiator to the remote router or whether we'll expect
11713 the other end to connect.
11715 * Moved registering of listener task to silc_server_init, hence
11716 the server starts listenning as soon as it is run, even if it
11717 does not have connections to other routers. Let's see how well
11720 * Changed default connection retry timeouts for more suitable in
11723 * Removed cipher and such arguments from silc_idlist_add_client
11724 and silc_idlist_add_server prototypes from silcd/idlist.[ch].
11725 Added new function silc_idlist_add_data to add the keys and stuff
11728 * Added SilcIDListData structure and added it to SilcClientEntry
11729 and SilcServerEntry as their first field in the structure. This
11730 way we can explicitly cast the ID entries to the SilcIDListData
11731 structure and get common data for the entries. In past, we had
11732 to first check what type of connection it is and then cast it to
11733 correct ID entry type. Now, we can directly cast the opaque
11734 pointer to the SilcIDListData (no matter what ID entry it actually
11735 is) and get the data needed.
11737 Mon Nov 6 21:56:12 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11739 * Wow, found a bug in scheduler. The scheduler uninitialized itself
11740 in some circumstances even if threre were timeout tasks, though not
11741 IO tasks, but tasks anyway. Now fixed.
11743 * Defined SilcServerConnection structure to hold connection specific
11744 stuff about directly connected servers and routers. The definition
11745 is currently in silcd/server_internal.h. I thought about having
11746 a bit more important role fro this struct but for now it is used
11747 only when connecting to other server (or router actually).
11749 * Added connecting retry support in server when connecting to
11750 router(s). The retry feature implement exponential backoff
11751 algorithm. Also, added SilcServerParams structure to hold default
11752 parameters for server. For now, it include these retry settings
11753 and are hard coded. After server is moded to be as Silc Server
11754 Library this structure will be more important.
11756 Sun Nov 5 22:28:44 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11758 * Changed client librarys channel->clients table to SilcList and
11759 changed code accordingly.
11761 Thu Nov 2 16:28:01 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11763 * Changed client's channel table to SilcList and changed code
11764 accordingly. Also changed SilcChannelClientEntry to include back-
11765 pointer to the channel so that client entry can use that structure
11766 as list as well and we have fast cross-reference to the channel.
11767 This change dramatically decreased the complexity of channel
11768 handling with client entry and vice versa (removed one extra
11769 loop when searching for channel entry from many functions).
11771 * Changed server->sim from table to SilcDList and changed code
11774 * NAMES command can now be used from user interface. It will show
11775 the user list on the channel, neatly.
11777 * Added realname pointer to SilcClientEntry in lib/silcclient/idlist.h.
11778 Code now saves realname of the user if it becomes available.
11780 * Renamed configure.in to configure.in.pre and made ./prepare
11781 script to automatically add correct version string to
11782 configure.in which it creates from configure.in.pre.
11784 Wed Nov 1 17:21:26 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11786 * NAMES command reply now shows users mode with the nickname when
11787 joining to channel.
11789 * Moved silc_client_ch[u]mode[_char] functions from
11790 silc/clientutil.[ch] to lib/silcclient/client.[ch]. Though, that
11791 place sucks, they are utility functions and should be in some
11794 * Fixed some unsigned int's to unsigned short's. Patch by cras.
11796 * Fixed contrib/getopt*.[ch] to not require config.h. Patch by
11799 Tue Oct 31 20:10:37 EET 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11803 * Added TRQ (efficient deque and list library) into lib/trq. This is
11804 a very good list library that is currently used in the SILC. Defined
11805 SilcList API over the library because I didn't like the API very
11806 much. See lib/trq/silclist.h for the API and examples of how to
11807 use the API. Fixed various places in the code to use the new
11808 SilcList API. The SilcList is meant for lists that has a structure
11809 already defined as a list. It is not suitable to add just some
11810 context to the list (in TRQ, the context is the list actually).
11812 So, I defined SilcDList that can be used for the purpose where
11813 predefined list structure does not exit. This can be used as
11814 such list. Now some context just can be added to the SilcDList.
11815 Currently this list is not used in the SILC just yet, though there
11816 are a lot places where this can replace dynamically allocated
11817 tables and I will fix these places, later, to use SilcDList.
11818 See lib/trq/silcdlist.h for SilcDList (they are all inline functions,
11819 and use TRQ internally).
11821 Also fixed some annoying warning messages that the original TRQ
11822 code generated. Also minor changes to TRQ's Makefile.in.
11824 * Added support for querying by Client ID to both WHOIS and
11825 IDENTIFY commands into server, as required by the protocol.
11827 * Removed method function pointers from SilcBuffer structure. They
11828 weren't used to anything and just increased the context size for
11829 no good reason. This change also made silc_buffer_alloc and
11830 silc_buffer_free functions inline functions.
11832 * Disabled command flooding detection support until it's fixed so
11833 that it accepts commands in but does not execute them more than once
11836 * Added silc_net_localhost(), to return local hostname, into
11837 lib/silcutil/silcnet.[ch]. Also added client->hostname pointer
11838 that must be initialized before calling silc_client_init.
11840 * Added new function: silc_server_send_notify_on_channels to send
11841 notify messages to all channels client has joined. It is assured
11842 that the message is sent only once per client.
11844 * Moved silc_log_format (from lib/silcutil/silclog.[ch] into
11845 lib/silcutil/silcutil.[ch] as silc_format function. The new
11846 function is generic and is used by server as well, not only by
11847 the logging routines.
11849 * Added new SKE status type: SILC_SKE_STATUS_BAD_VERSION to indicate
11850 the provided version string was not acceptable. Added new function:
11851 silc_ske_check_version into lib/silcske/silcske.h. The function
11852 must be implemented by the application (client or server) and it
11853 does not reside in the SKE library. The function checks the version
11854 string remote end sent.
11856 * Added back pointers (to opaque context and to SilcSocketConnection)
11857 into SilcPacketContext structure into lib/silccore/silcpacket.h.
11859 * Added silc_packet_context_dup into lib/silccore/silcpacket.[ch] to
11860 duplicate packet context structure.
11862 * Changed `notify' client operation to send same arguments as client
11863 receives from server except for ID's. ID's are mapped to correct
11864 ID entry and that is returned. Also, if channel entry is not sent
11865 by server but the notify is for channel the channel entry is sent
11866 to application (otherwise application doesn't know that it is for
11867 channel (library gets it from packet's Destination ID)).
11869 * Added silc_client_remove_from_channels into client library to
11870 remove a client from all channels it has joined to. Used when
11871 received SIGNOFF notify from server. Added also new function
11872 silc_client_replace_from_channels to replace old ID entry with
11873 new ID entry on all channels. Used when received NICK_CHANGE
11874 notify from server.
11876 * Fixed ID Cache list handling in silc_idlist_get_client in
11877 lib/silcclient/idlist.c. Also, added silc_idlist_get_client_by_id
11878 to get (or query) client by ID.
11880 * Updated TODO list.
11882 * Added connection authentication status message defined by the
11883 protocol: SILC_CONN_AUTH_OK and SILC_CONN_AUTH_FAILED and added the
11884 support for these into the code in client and server side.
11886 * Added generic function silc_client_send_command to send any command
11887 with variable argument list. Application should use this function
11888 to send commands if the command functions provided by the library
11889 does not suite for the application's user interface needs.
11891 * Added new `failure' client operation. Application is notified about
11892 received failure packet if client is executing a protocol. In this
11893 case the protocol's execution has failed.
11895 * Added SKE's end notify to send the SKE_SUCCESS notify message that
11896 is required by the protocol.
11898 * Added SILC_PROTOCOL_STATE_FAILURE to indicate received failure
11899 packet from remote. SILC_PROTOCOL_STATE_ERROR indicates local
11902 * Added status flag to SilcSKE object to indicate realtime status
11903 of the SKE protocol.
11905 * Application receives now exactly same command reply arguments as
11906 the library receives from server. However, if ID is received the
11907 corresponding ID entry is returned to the application (eg. Client
11908 ID is mapped to correct SilcClientEntry entry and that is returned).
11909 Changed command_reply client operation due to this change.
11911 * Changed all ID's in commands and in command replys as ID Payloads.
11912 Change affected both client and server side codes.
11914 All ID's sent in SILC network (with execption of ID's in SILC
11915 Packet header) are sent in ID Payload to support variable length
11918 * Server now notifies nick changes and notifies all clients on
11919 the channels about the new nickname (about the new Client ID,
11922 * Implemented CMODE command to change channel modes. Supports all
11923 channel modes defined by the protocol specs except ban and invite
11924 lists. (Also, private channel key mode is supported but support for
11925 setting private channel key in client is missing, thus, this mode
11926 has no effect on client side (except that server requires that the
11927 client uses private channel key and normal channel traffic does not
11930 Also, invite mode works per se, but INVITE command does not work
11931 yet correctly, so you can set channel as invite only channel but
11932 inviting clients to the channel does not work (it is yet to be
11933 thought what's the best way to do it).
11935 * Added new command SILC_COMMAND_CUMODE to change user mode on the
11936 channel. Defined user modes: CHANNEL_FOUNDER and CHANNEL_OPERATOR.
11937 Implemented CUMODE command to change user's mode on the channel.
11938 Supports all modes defined by the protocol specs.
11940 * Added NAMES command reply to return users modes on the channel.
11942 * Removed unnecessary and slow ciphers from lib/silccrypt.
11944 * Set SO_KEEPALIVE option to connection sockets by default.
11946 * Added new command reply status: SILC_STATUS_USER_NOT_ON_CHANNEL.
11948 * Added notify types: MOTD, CMODE_CHANGE and CUMODE_CHANGE. Also,
11949 redefined the Notify Payload into protocol specs.
11951 * Added silc_id_payload_parse_id to get ID directly from raw
11954 Mon Oct 9 20:57:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11956 * Changed SILC_COMMAND_IDENTIFY in protocol specification to
11957 accept searching by Client ID as well.
11959 * Added support for LEAVE and SIGNOFF notify types in client library.
11961 * Added silc_id_payload_parse_data into lib/silccore/silcpayload.[ch]
11962 to parse ID Payload from raw data.
11964 Sun Oct 8 19:33:08 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11966 * Added flags parameter into silc_ske_assemble_security_properties
11967 function in lib/silcske/silcske.[ch].
11969 * Changed notify client operation to fit better for notify messages
11970 sent by server. The notify payload received from server is now
11971 passed to the application (after parsing it to SilcNotifyPayload).
11972 It is application's responsibility to retrieve the arguments
11973 from the payload and show the message the way it wants. The message
11974 sent by server is implementation specific.
11976 * Changed public keys to comply with the protocol specification.
11977 Old public keys are not supported anymore and are not compatible.
11979 * Removed nickname from Channel Payload as the latest draft removed
11980 it. The client must resolve the nickname from the NAMES command
11981 reply received when it joined the channel.
11983 Also, changed all channel_xxxx_payload to channel_payload_xxxx.
11985 Sat Oct 7 21:55:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
11987 * Fixed some errors in protocol specification drafts.
11989 * Created lib/silccore/silcnotify.c to implement Notify Payload
11990 encoding and decoding, lib/silccore/silcpayload.[ch] to implement
11991 generic payloads described by protocol specifications. The file
11992 includes implementations for ID Payload and Argument Payload.
11994 * Changed Command Payload implementation to use the new Argument
11995 Payload. Changed command_xxxx_payload to command_payload_xxxx
11996 to comply with SILC coding conventions.
11998 * Added suppport for Argument Payload handling in Notify Payload
11999 implementation as protocol requires it. Added the new support
12000 into server and client lib as well.
12002 Thu Oct 5 21:16:28 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12004 * Added support for multiple nicknames on same channel. [n] is
12005 added locally to the nickname if there are more than one same
12006 nicknames on the channel.
12008 * Server now sends all nicknames that matched WHOIS request.
12009 Client also shows the list received from server.
12011 * Added TOPIC command to client side. User can now set and show
12012 current topic on channel.
12014 * Added MOTD command to client and server. Also, server sends the
12015 motd when client connects to the server.
12017 * Changed version strings to comply ISO 8601.
12019 Wed Oct 4 23:29:06 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12021 * Fixed protocol error handling in client library. It should now
12022 cope even if the SKE fails for some reason.
12024 * Made new protocol specification drafts for submitting to IETF.
12026 * Implemented TOPIC command to server in silcd/command.c.
12028 * Added two new notify types into lib/silccore/silcnotify.h:
12029 SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_TOPIC_SET to
12030 notify nickname change and topic setting/change on a channel.
12032 * API change of command_reply operation in client library. The
12033 application gets now the status type received from server as well.
12035 Sat Sep 30 16:57:42 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12037 * Removed the function just added to lib/silcutil/silcschedule.[ch].
12039 * Cras fixed and optimized the packet handling even further and
12040 it should work now. Minor change to the prototype of function
12041 silc_packet_receive_process in lib/silccore/silcpacket.[ch].
12043 Sat Sep 30 08:48:47 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12045 * Added new function into lib/silcutil/silcschedule.[ch]:
12046 silc_schedule_with_fd to select() a specified fd. The function
12047 returns after timeout expires or data arrives or goes. The
12048 function is used by packet routines to wait that all data is
12049 received from network.
12051 * Fixed data reading from network in lib/silccore/silcpacket.c.
12052 The code now assures that all data is read from the fd and then
12053 continues packet processing. This was a bug fix since the code
12054 used to drop some data in some circumstances.
12056 * Added new function into lib/silcclient/client.[ch]:
12057 silc_client_start_key_exchange to start key exchange after
12058 connection has been established to server. The code internally
12059 now uses this funtion but its main purpose was to provide it
12060 for applications that perform their own connecting. After
12061 application has created a connection it merely calls this
12062 function to start the key exchange between client and server.
12063 The library takes care of everything else after that.
12065 Updated also lib/silcclient/README to explain the usage of
12068 * Do not send to application information that connection has
12069 been established. Application gets notified it by connect
12072 Thu Sep 28 23:40:19 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12074 * Applied cras's patch to add silc_schedule_one function. The
12075 function runs scheduler once and returns.
12077 * Fixed the scheduler after cras messed it up. The timeout
12078 handling works now as it's supposed to work.
12080 * Added into lib/silccore/ silcnotify.h to include notify
12081 message types support. Changed silc_server_send_notify*
12082 functions, in server.[ch], to support those new notify types.
12083 Added the support for the notify types into client library,
12084 as well. Added new notify client operation into ops.h in
12087 * Changed silc_server_packet_send_to_channel to send normal
12088 packets instead of just channel message packets. The function
12089 is now used to send the notify packets to channels. It is not
12090 used to send channel message packets anymore, as server never
12091 sends them anymore.
12093 * Added explicit casting into lib/silcutil/silcbuffmt.c to few
12094 va_arg()s as it seems to require it nowadays. I guess, if SILC
12095 is compiled with older va_arg() the new code should work anyway.
12097 Wed Sep 13 18:10:14 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12099 * Splitted core library. Core library (lib/silccore) includes
12100 now only SILC protocol specific core (and common) components.
12101 Created new utility library (lib/silcutil) that includes more
12102 generic purpose stuff. The stuff for util library was taken
12103 from the old core library. This was minor and easy split.
12105 * Created SILC Client Library (lib/silcclient) that includes
12106 implementation of the SILC client without user interface. This
12107 was major move from silc/ directory. The code has been changed
12108 so that it is transparent towards the user interface. The
12109 silc/ directory includes now the same user interface as before
12110 and it uses the new client library. Read lib/silcclient/README.
12111 Basicly, the client library performs everything else related
12112 to SILC except user interface handling. Also, configuration
12113 files are considered to be part of user interface and library
12114 does not handle them.
12116 This change also changed a lot of structures, function naming etc.
12117 Most important change was that SilcClientWindow object was
12118 renamed to SilcClientConnection in the client library. Created
12119 also new file lib/silcclient/ops.h. Also added new files
12120 silc/local_command.[ch] and silc/client_ops.[ch].
12122 All these changes were made to make it easier for user interface
12123 designers to create what ever user interface for the SILC client
12126 It is also expected that the server will be moved to lib
12127 directory as well and SILC Server Library will be created;
12128 sometimes in the future.
12130 * Removed Local commands from lib/silccore/silccommand.h as
12131 they are application specific and new client library does not
12132 handle any of those anymore.
12134 * Several functions moved to lib/silcutil/silcutilc.[ch] from
12135 old client implementation in silc/.
12137 * Added support for callback functions in SILC_LOG_* macros.
12138 Application can now set its own callbacks that will be called
12139 instead of using the default functions that will always print
12140 the debug messages to stderr (or stdout). Also, debugging can
12141 now be disabled by setting silc_debug to FALSE and re-enabled by
12142 setting it to TRUE. Note, that logging will still work even
12143 if debugging is disabled.
12145 New functions in lib/silcutil/silclog.[ch]: silc_log_set_callbacks,
12146 silc_log_reset_callbacks, silc_log_set_debug_callbacks and
12147 silc_log_reset_debug_callbacks.
12149 * To enable debugging in silc client one must give now -d
12150 option on command line.
12152 * Changed silc_schedule_init to automatically allocate task queues
12153 if they are not allocated before calling it.
12155 Thu Sep 7 10:49:33 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12157 * Added GMP 3.1 into math library.
12159 Sun Aug 20 21:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12161 * Added SILC_PACKET_REMOVE_CHANNEL_USER to remove a client from
12162 a channel in SILC network. The packet is used by servers and
12163 routers to notify other routers that user has left a channel.
12164 This little feature was missing until now. Added the feature
12165 to protocol specification as well.
12167 Added functions: silc_server_send_remove_channel_user and
12168 silc_server_remove_channel_user into server.[ch].
12170 * Added SILC_PACKET_REKEY and SILC_PACKET_REKEY_DONE into
12171 lib/silccore/silcpacket.h. However, they are not implemented
12174 Sat Aug 19 23:04:16 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12176 * Fixed joining to a channel and sending channel messages
12177 between server and router. The channel message sending should
12178 now work inside a cell.
12180 Tue Jul 25 20:46:13 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12182 * Fixed the private message sending between server and router.
12183 The private message sending should now work inside a cell.
12185 * Added silc_server_replace_id into server.[ch] to replace
12186 existing ID in the SILC network.
12188 * Added silc_idlist_find_server_by, silc_idlist_replace_client_id
12189 and silc_idlist_replace_server_id into idlist.[ch] in server.
12191 Mon Jul 24 18:33:31 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12193 * Fixed the server to server connections. Server can again now
12194 connect to router. Router to router connections probably does
12197 Thu Jul 20 13:15:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12199 * Added dynamic protocol registering support. Now protocols can
12200 registered and unregistered on the fly. Patch by cras.
12202 Wed Jul 19 19:08:46 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12204 * Added lib/contrib directory to hold routines that some platforms
12205 don't have but are needed by SILC.
12207 * Added getopt.c, getopt1.c and getopt.h from GNU C library
12208 into lin/contrib to provide getopt() and getopt_long() for
12209 those who don't have it.
12211 Tue Jul 18 20:41:20 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12213 * Added AWAY command to client. When away message is set and
12214 client receives a private message packet the client automatically
12215 replies to the sender with the away message.
12217 * Fixed a bug in lib/silcmath/mpbin.c: silc_mp_mp2bin. This
12218 bug seemed to be the cause of recent problems when compiling
12221 * Added version detection support to SKE protocol specification
12222 and added the new changes to the SKE implementation as well.
12223 There were other minor changes in the SKE protocol as well.
12225 Many changes in lib/silcske/silcske.[ch] and in
12226 lib/silcske/payload.[ch].
12228 * Added ^U functionality, clear input line. Patch from cras.
12230 Mon Jul 17 23:33:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12232 * Mainly small bugfixes on core library. Fixed some debugging
12233 logging and buffer overflow in silclog.c.
12235 * Updated config.sub and config.guess on the distribution tree.
12237 Sat Jul 15 15:33:48 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12239 * Added command lagging support in server. Client may execute
12240 commands now only once in two seconds.
12242 Thu Jul 13 22:10:21 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12244 * Optimized packet reception. MAC computation and checking is now
12245 also more optimized. A lot previously duplicated code is now
12246 used as generic by both client and server.
12248 * Fixed key pair generation in clientutil.c
12250 Wed Jul 12 18:28:07 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12252 * Added into lib/silccore/silcbufutil.[ch] new function;
12253 silc_buffer_realloc.
12255 * Moved generic packet sending/encryption functions to
12256 lib/silccore/silcpacket.[ch] from client and server. Some
12257 rewriting of the functions.
12259 * Moved all generic packet reception/decryption functions to
12260 lib/silccore/silcpacket.[ch] from client and server. The
12261 packet processing is now much cleaner in both client and server.
12262 These were major changes in both client and server.
12264 * Created many common functions in server to do packet sending.
12265 Previously code were duplicated a lot, this has been removed
12266 with these changes.
12268 Tue Jul 11 20:27:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12270 * Rewrote major parts of the ID cache system. Don't know
12271 whether it is better now or not but at least the API is more
12274 * Major rewrite on ID cache stuff on client because of the ID
12275 cache API changes. Added idlist.c to client.
12277 * Also major rewrite on ID cache stuff on server as well.
12278 Major rewrite of idlist.[ch]. SilcXXXList's are now named
12279 SilcXXXEntry's. We won't keep anymore idlist specific pointers
12280 in hand, instead they are all put into the ID cache system now.
12281 All server_idlist_* routines uses ID cache now instead of
12282 traversing its own lists (those lists does not exist anymore).
12283 SilcIDList though still exists. Also, SilcXXXEntry's are
12286 Sun Jul 9 15:19:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12288 * Finally made the SKE implementation compliant to the protocol
12289 specification. All mp integers are now binary encoded as
12290 opposed being HEX encoded.
12292 * Added lib/silcmath/mpbin.[ch]. Encoding mp intergers to and
12295 * Added into lib/silccore/silcutil.[ch] PEM encoding/decoding
12296 functions: silc_[encode/decode]_pem. Also added function
12297 silc_encode_pem_file to PEM encode with newlines ('\n') for
12298 saving into a file.
12300 * SILC public keys are now encoded either PEM or binary. Same
12301 option is for private keys as well. By default private keys
12302 are binary encoded and public keys PEM encoded. Silly HEX
12303 encoding were removed.
12305 * Added into lib/silccrypt/silchash.[ch] silc_hash_fingerprint
12306 function to create fingerprints.
12308 * Fixed a bug in SHA1; does not change the original data anymore.
12310 * Partly implemented INFO command on client and server side.
12311 Fixed CLEAR command. Changes to SERVER command; show current
12312 server(s) when giving command without arguments. Added
12313 VERSION command to client.
12315 * Added check to server that unregistered connections cannot
12316 execute commands (unless it is specificly allowed).
12318 Thu Jul 6 18:12:24 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12320 * Fixed screen refresh.
12322 * Fixed channel joining bug from client. On some circumstances
12323 client tried to join to a channel it had already joined.
12325 * Added public key verification process into client's protocol.c.
12326 The client now verifies the public key from user and saves
12327 it into ~./silc/serverkeys/ directory.
12329 Added into: clientutil.[ch]: silc_client_verify_server_key.
12331 * Changed SKE protocol's silc_ske_initiator_finish function
12332 to accept callback function that verifies the received public
12333 key. Removed old silc_ske_verify_public_key function.
12335 Wed Jul 5 19:19:02 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12337 * Added into silcpkcs[ch]: silc_pkcs_public_key[_data]_set and
12338 silc_pkcs_private_key[_data]_set.
12340 * Made the password and public authentication more cleaner in
12341 server's protocol.c.
12343 * Removed historic and obsolete protocol `channel_auth' from
12344 both client and server.
12346 * Removed wrong way of sending command status messages from
12347 server to client in server's command.c. The old way violated
12348 protocol specification.
12350 Changes to silccore/silccommand.[ch]: removed
12351 silc_command_encode_status_payload -> not needed anymore,
12352 changed silc_command_encode_payload_va to accept extra
12353 argument on variable argument list. The argument type must
12354 now be provided to the function. Also, added new function:
12355 silc_command_encode_reply_payload_va which is same as
12356 normal command_encode_payload_va except command status type
12357 is provided as extra argument.
12359 Tue Jul 4 18:26:39 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12361 * Added ~./silc directory handling. The directory includes the
12362 public and private keys for the client.
12364 Added silc_client_check_silc_dir, silc_client_create_identifier
12365 and silc_client_load_keys.
12367 * Implemented SILC protocol compliant public key. Added public
12368 and private key saving to and loading from files.
12370 Added into silcpkcs.[ch]: silc_pkcs_encode_identifier,
12371 silc_pkcs_public_key_encode[_data], silc_pkcs_public_key_decode,
12372 silc_pkcs_private_key_encode[_data], silc_pkcs_private_key_decode,
12373 silc_pkcs_public_key_alloc, silc_pkcs_public_key_free,
12374 silc_pkcs_private_key_alloc and silc_pkcs_private_key_free.
12376 Implemented: silc_pkcs_save_[public/private]_key[_data] and
12377 silc_pkcs_load_[public/private]_key.
12379 Mon Jul 3 18:51:27 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12381 * Added silc_server_get_route (route.[ch]) to get connection
12382 data for the fastest route for given ID.
12384 * Implemented INVITE command on client and server. The command
12385 were re-defined in the SILC Protocol Specification and the
12386 implementation now complies with the specification.
12388 * Implemented PING command on client and server.
12390 * Implemented NAMES command on client and server. The server side
12391 supports currently only normal server not router server yet.
12392 Some changes to NAMES definition in SILC protocol specification.
12394 Sun Jul 2 18:23:01 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12396 * Implemented LEAVE command on client and server.
12398 * Previously deprecated SILC_PACKET_FORWARDED flag is now in use
12399 again. This change was made to the protocol as well. Server
12400 should not violate the protocol specification anymore.
12402 Fri Jun 30 14:03:26 EEST 2000 Pekka Riikonen <priikone@poseidon.pspt.fi>
12404 * Added SOCKS4 and SOCKS5 support to SILC client. SOCKS5
12405 was tested. SOCKS4 was not but should work anyway.