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