updates.
[silc.git] / TODO
1 TODO/bugs In SILC Client Library
2 ================================
3
4  o Add local commands to list the current server and client public keys
5    that the user has.  And a local command to dump the contents of the
6    public key to the screen.
7
8  o Add client library parameters or options that handle what kind of
9    messages the library should print out (using `say' client operation,
10    for example) and what is left for the application to print.  The
11    appliation could for example set that it handles all command printing
12    but all error printing should be handled by the library, etc...
13    This is not a showstopper.
14
15  o Input line on UI is buggy.  Cursor movement etc bugs.  Too lazy to
16    fix it.
17
18
19 TODO/bugs In SILC Server
20 ========================
21
22  o Save channel names in the ID Cache always as lowered characters,
23    though allow mixed case characters in the channel entry but the ID
24    cache does not handle loose data searching anymore.
25
26  o When server quits and all clients of that server are removed from all
27    channels the channel keys are re-generated for all clients.  This is
28    a bug and should be done only once per channel after all clients of
29    the server has been removed.
30
31  o Incomplete IPv6 support:
32
33         o silc_server_get_users_on_channel does not support IPv6 based
34           Client ID's.
35         o silc_server_route_get and the route code in general supports
36           only IPv4.
37         o silcd/serverid.c and its routines supports only IPv4.
38
39  o DNS/IP lookup blocks the server.  This must be fixed.  Check the
40    resolver stuff (resolver(3), resolver(5)).  Either we have to do the
41    own resolver stuff (through scheduler, if possible without writing
42    too much own stuff) or use threads.
43
44  o The backup router support described in the protocol specification
45    should be done at some point.
46
47  o New configuration file format must be added.  The new one will be
48    done using the dotconf config library (lib/dotconf).  The following
49    tasks relates closely to this as well and must be done at the same time
50    when adding the new config file format:
51
52         o Server says that it is able to listen on multiple ports but
53           currently that is bogus.  It can, but internals are for single
54           server.
55
56         o Protocol execution timeouts are hard coded, should be
57           configurable.
58
59         o IP address fields in configuration file should accept mask
60           format as well, IP/MASK, and not just plain IP.
61
62          o Connection classes should be actually implemented in
63           serverconfig.c.  They can be defined but they are totally
64           ignored currently.  And they should be redefined also.
65
66
67 TODO/bugs In SILC Libraries
68 ===========================
69
70  o Incomplete IPv6 support:
71
72         o All network routines in lib/silcutil/silcnet.[ch] does not
73           support IPv6.
74         o silc_id_render supports only IPv4 based ID's in the file
75           lib/silcutil/silcutil.c.
76
77  o Compression routines are missing.  The protocol supports packet
78    compression thus it must be implemented.  SILC Comp API must be
79    defined.  zlib package is already included into the lib dir (in CVS,
80    not in distribution), but it is not used yet, and it requires some
81    tweaking on the Makefiles (we want static lib not shared).
82
83  o The CAST cipher is not compiled currently due to compilation errors;
84    check those.  Cast is in lib/silccrypt/cast.c.
85
86  o All payload parsing (decoding) functions should take unsigned char *
87    and uint32 as data and data length as arguments.  Now some of the
88    routines do already that but most of the routines use SilcBuffer.
89    The SilcBuffer ones should be removed since buf->data and buf->len
90    is more convenient to use.  However, the silc_buffer_[un]format
91    routines support only SilcBuffer so they would require reallocation
92    of SilcBuffer.  Maybe support for raw data (and not just SilcBuffer)
93    should be added silc_buffer_[un]format_? routines.  These are currently
94    only cosmetic changes but at some point must be done to make the
95    payload interfaces consistent.
96
97
98 TODO After 1.0
99 ==============
100
101  o Pthreads support.  A lot of problems are solved with server (and with
102    client as well) if we add pthread support.  We can forget things such
103    as non-blocking connecting etc, and we can do things such as DNS/IP
104    lookups async.  The server itself also benefits great deal from 
105    threads, especially from performance point of view.
106
107    But, this is not a small task and almost entire SILC Library has to
108    be made re-entrant.  Own API is probably added for the threads support
109    to make changes in the future as painless as possible.  So the API 
110    would have things like silc_mutex_lock, silc_mutex_unlock and 
111    friends...
112
113  o X.509 certificate support.  SILC protocol supports certificates and
114    it would be great to have support for them.  This is a big task as
115    support has to be made for ASN.1 as well.  I've looked into OpenSSL 
116    package as it has X.509 certificate support (and ASN.1 as well).  
117    The code does not look very good to my eye but it has some potentials.
118    This should be looked at more closely.
119
120    Naturally own SILC Certificate API has to be defined regardles what
121    the actual X.509 library is (OpenSSL X.509 or something else).  Other
122    choice is to write own X.509 library but I'm not going to do it - 
123    I can help to migrate the OpenSSL X.509 into SILC and I can help if 
124    someone would like to write the X.509 library - but I'm not going 
125    to start writing one myself.  Anyhow, the OpenSSL X.509 lib should
126    be checked.
127
128  o SSH2 public keys support.  Maybe - not really needed but could be
129    nice as SSH is widely used all over the place.  SILC Protocol 
130    supports SSH2 public keys.
131
132  o Cipher optimizations (asm, that this) at least for i386 would be nice.