Fixed server/backup router reconnecting
[silc.git] / TODO
1 TODO for 1.1
2 ============
3
4 NOTE: Any item that doesn't have (***DONE) in it, isn't done yet.  The
5 (***TESTING NEEDED) means that the item has been done but not yet properly
6 tested.
7
8
9 apps/silcd, The SILC Server     ****PARTLY DONE****
10 ===========================
11
12  o Fix/test GETKEY. (***DONE)
13
14  o Fix/test MOTD. (***DONE)
15
16  o Rewrite rehash, HUP.
17
18  o Heartbeat-keepalive.
19
20  o Port all code to use SILC Toolkit 1.1 APIs. (***DONE)
21
22  o Remove protocol.[ch].  (***DONE)
23
24  o Rewrite connecting accepting. (***DONE)
25
26  o Rewrite async connecting. (***DONE)
27
28  o Test backup router resuming protocol. (***DONE)
29
30  o Check all packet receive routines that they call silc_packet_free. 
31    (***DONE)
32
33  o Add Web statistics module using lib/silchttp.  Give out server
34    statistics. (***DONE)
35
36
37 SILC Client     ****DONE****
38 ===========
39
40  o Porting to new Toolkit API and new Client Library API (***DONE)
41
42  o Improve help files, especially /cmode, /cumode and /key. (***DONE)
43
44
45 lib/silcclient, The Client Library      ***DONE****
46 ==================================
47
48  o silcclient.h clean up and API rewrites. (***DONE)
49
50  o silcclient_entry.h finishing, all entry relates APIs to this header.
51    (***DONE)
52
53  o SilcChannelEntry, SilcServerEntry, SilcChannelUser, allocating,
54    freeing, finding, etc. rewrite.  Also making them reference counted for
55    multi threads use. (***DONE)
56
57  o Rewrite client side WHOIS command (for whois -details). (***DONE)
58
59  o Finish all the missing SILC packet processings, rewrites. (***DONE)
60
61  o The client_notify.c rewrite. (***DONE)
62
63  o Resuming to client_register.c (remove client_resume.c) (***DONE)
64
65  o Rekey rewrite. (***DONE)
66
67  o Remove protocol.[ch]. (***DONE)
68
69  o File transfer rewrite. (***DONE)
70
71  o File transfer API documentation. (***DONE)
72
73  o Connection auth request. (***DONE)
74
75  o Password auth test, public key auth test. (***DONE)
76
77  o Starting key exchange directly, rewrite. (***DONE)
78
79  o Channel messages, channel private keys, channel entires, channel
80    search, etc. rewrite. (***DONE)
81
82  o For many APIs leave the hash context allocations to the caller instead
83    of using client->sha1hash and client->md5hash, or some kind of thread
84    safe (no locking) concept. (***DONE)
85
86  o Key agreement rewrite. (***DONE)
87
88  o Connecting to remote client (***DONE)
89
90  o Private message waiting API (in threads) (***TESTING NEEDED)
91
92  o client_attrs.c, attributes rewrite. (***DONE)
93
94  o No SilcBuffer lists back to application in command_reply operations.
95    Convert them all to real lists and/or structures for easier use.
96    (***DONE)
97
98  o Nickname formatting rewrite. (***DONE)
99
100  o UDP connections. (***TESTING NEEDED)
101
102
103 lib/silcsftp                    ****DONE****
104 ============
105
106  o Porting to use the new util library. (***DONE)
107
108
109 lib/silccore/silcpacket.[ch]    ****DONE****
110 ============================
111
112  o SilcPacketEngine. (***DONE)
113
114  o New SILC Packet API. (***DONE)
115
116  o Implement silc_packet_engine_stop and silc_packet_stream_destroy. (***DONE)
117
118  o IV Included flag support, UDP transport support (***TESTING NEEDED)
119
120
121 lib/silccore/silcid.[ch]        ****DONE****
122 ========================
123
124  o Add silc_id_str2id to accept the destination buffer as argument
125    and thus not require any memory allocation.  Same will happen
126    with silc_id_payload_* functions. (***DONE)
127
128  o silc_id_str2id, silc_id2str to non-allocating routines. (***DONE)
129
130
131 lib/silcskr     ****DONE****
132 ===========
133
134  o Removing key from the repository is not possible currently.  It should
135    be. (***DONE)
136
137
138 lib/silcske/silcske.[ch]        ***DONE****
139 ========================
140
141  o Responder rekey (***DONE)
142
143  o IV Included flag support in SKE (***DONE)
144
145  o UDP transport changes; retransmission support by using exponential
146    backoff algorithm. (***DONE)
147
148  o SilcConnAuth header file documentation. (***DONE)
149
150
151 lib/silccrypt                   ****DONE****
152 =============
153
154  o Implement PKCS #1 sign/verify with hash OID. (***TESTING NEEDED)
155
156  o Implement SILC Public Key Version 2 handling in sign/verify.  Implement
157    Version (V) identifier (***DONE)
158
159  o SILC PKCS (silcpkcs.h) reorganizing when other PK supports added.
160    Move the SILC Public Key routines away from the crypto library into
161    the core library (silccore).  silc_pkcs_public/private_key_* routines
162    to silc_public/private_key_* routines.  The silc_public_key_* routines
163    should also automatically handle SILC Public Keys, and other keys
164    and certificates as well.  Add fe. silcpk.h into silccore.  It should
165    also include the Public Key Payload encoding and decoding routines.
166    (***DONE)
167
168  o Assembler AES (***DONE)
169
170
171 lib/silcutil                    ****DONE****
172 ============
173
174  o The regex code from lib/contrib might compile fine on all platforms.
175    No need to make it silcutil/unix/ specific.  Add them to generic
176    silcutil.c. (***DONE)
177
178  o Silc FD Stream to WIN32 (lib/silcutil/silcfdstream.h) (***TESTING NEEDED)
179
180  o bool -> SilcBool (***DONE)
181
182
183 lib/silcutil/silcbuffer.h       ****DONE****
184 =========================
185
186  o Remove the `truelen' field from SilcBuffer as it is entirely
187    redundant since we can get the true length of the buffer by
188    doing buffer->end - buffer->header.  Add silc_buffer_truelen
189    macro instead.  Consider also removing `len' field too since
190    it effectively is buffer->tail - buffer->data, and adding
191    silc_buffer_len macro can do the same.  These would save
192    totally 8 bytes of memory per buffer. (***DONE)
193
194
195 lib/silcutil/silcbuffmt.[ch]    ****DONE****
196 ============================
197
198  o SilcStack aware silc_buffer_unformat (***DONE)
199
200  o SilcStack aware silc_buffer_format (***DONE)
201
202  o silc_buffer_format reallocates automatically (***DONE)
203
204  o SILC_STR_OFFSET (***DONE)
205
206
207 lib/silcutil/silcstack.[ch]     ****DONE****
208 ===========================
209
210  o Data stack implementation (***DONE)
211
212
213 lib/silcutil/silcstream.[ch]    ****DONE****
214 ============================
215
216  o Add abstract SilcStream. (***DONE)
217
218
219 lib/silcutil/silcsocketstream.[ch]      ****DONE****
220 ==================================
221
222  o Add SilcSocketStream (***DONE)
223
224  o Add SilcSocketStream for WIN32 (***TESTING NEEDED)
225
226  o Test QoS after the changes made to socket stream
227
228
229 lib/silcutil/silcschedule*.[ch]         ****DONE****
230 ===============================
231
232  o Scheduler can be optimized for FD tasks by changing the fd_queue
233    to SilcHashTable instead of using linked list.  We need to do
234    one-to-one mapping of FD to task and hash table is more efficient
235    for this usage.
236
237    Also redefine the silc_select to perhaps return a separate
238    structure of the events that actually occurred, instead of
239    returning the events in the fd_list which is then traversed
240    in the generic code to find the changed events.  This can be
241    made faster by having own struct which includes only the
242    changed events, thus the tarversing is faster since the whole
243    fd_list is not traversed anymore (it is still traversed in the
244    silc_select but at least it removes one extra tarversing later
245    for the same list).
246
247    Other task queues should be changed to use SilcList.  (***DONE)
248
249  o Add SILC scheduler's internal routines into a table of implementation
250    function pointers, that the generic code then takes as extern from
251    implementation.  These are the silc_schedule_internal_* routines.
252    (***DONE)
253
254  o Change SILC_TASK_CALLBACK to non-static, and remove the macro
255    SILC_TASK_CALLBACK_GLOBAL. (***DONE)
256
257  o SILC Schedule API changes to WIN32. (***DONE)
258
259
260 lib/silcutil/silcasync.[ch]     ****DONE****
261 ===========================
262
263  o Add SilcAsyncOperation to utility library.  Any function that takes
264    callback as an argument must/should return SilcAsyncOperation.
265    (***DONE)
266
267
268 lib/silcutil/silctime.[ch]      ****DONE****
269 ===========================
270
271  o SilcTime. (***DONE)
272
273  o system time, universal, generalized. (***DONE)
274
275
276 lib/silcutil/silcfsm.[ch]       ****DONE****
277 =========================
278
279  o SILC Finite State Machine API.  Replaces SILC Protocol API (***DONE)
280
281
282 lib/silcutil/silcnet*, lib/silcutil/*/silc*net*         ****DONE****
283 ===============================================
284
285  o Add UDP interface (***DONE)
286
287  o Add UDP interface for WIN32 (***TESTING NEEDED)
288
289  o New network interfaces (***DONE)
290
291
292 lib/silcmath                    ****DONE****
293 ============
294
295  o Test on x86_64. (***TESTING NEEDED)
296
297  o Change LTM and TFM function names when importing to SILC tree to avoid
298    rare linking problems on system that has same named symbols already in
299    the system. (***DONE)
300
301
302 lib/silcutil/symbian/           ****DONE****
303 =====================
304
305   o lib/silcutil/symbian routines missing or not completed.
306     (****TESTING NEEDED)
307
308   o Something needs to be thought to the logging globals as well,
309     like silc_debug etc.  They won't work on EPOC.  Perhaps logging
310     and debugging is to be disabled on EPOC.
311
312
313 lib/silcasn1                    ****DONE****
314 ============
315
316  o ASN.1 library (***DONE)
317
318  o Header documentation missing. (***DONE)
319
320  o Some string encodings missing (copy/paste matter). (***DONE)