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 When server quits and all clients of that server are removed from all
23    channels the channel keys are re-generated for all clients.  This is
24    a bug and should be done only once per channel after all clients of
25    the server has been removed.
26
27  o Incomplete IPv6 support:
28
29         o silc_server_get_users_on_channel does not support IPv6 based
30           Client ID's.
31         o silc_server_route_get and the route code in general supports
32           only IPv4.
33         o silcd/serverid.c and its routines supports only IPv4.
34
35  o DNS/IP lookup blocks the server.  This must be fixed.  Check the
36    resolver stuff (resolver(3), resolver(5)).  Either we have to do the
37    own resolver stuff (through scheduler, if possible without writing
38    too much own stuff) or use threads.
39
40  o The ID List must be optimized.  When the lists grow the searching
41    becomes a lot slower and is some cases the lists are searched many
42    times, like with channel messages (twice at least).  Some sort of
43    hash tables should replace the lists.  Thus, the ID cache should be
44    rewritten to use hash tables internally.
45
46  o The backup router support described in the protocol specification
47    should be done at some point.
48
49  o New configuration file format must be added.  The new one will be
50    done using the dotconf config library (lib/dotconf).  The following
51    tasks relates closely to this as well and must be done at the same time
52    when adding the new config file format:
53
54         o Server says that it is able to listen on multiple ports but
55           currently that is bogus.  It can, but internals are for single
56           server.
57
58         o Protocol execution timeouts are hard coded, should be
59           configurable.
60
61         o IP address fields in configuration file should accept mask
62           format as well, IP/MASK, and not just plain IP.
63
64          o Connection classes should be actually implemented in
65           serverconfig.c.  They can be defined but they are totally
66           ignored currently.  And they should be redefined also.
67
68
69 TODO/bugs In SILC Libraries
70 ===========================
71
72  o Incomplete IPv6 support:
73
74         o All network routines in lib/silcutil/silcnet.[ch] does not
75           support IPv6.
76         o silc_id_render supports only IPv4 based ID's in the file
77           lib/silcutil/silcutil.c.
78
79  o Hash tables must be implemented.  The requirement for this is that
80    the hash table is collision resistant so that it can be used in 
81    critical positions as well.  It probably works the 95% of the time
82    fine without collisions but the last 5% of the cases must be
83    handled.  Maybe two interfaces could be done, one for normal static
84    hash tables and one for collision resistant hash table.
85
86  o All the ID Cache routines has not been implemented in
87    lib/silccore/idcache.c.
88
89  o Compression routines are missing.  The protocol supports packet
90    compression thus it must be implemented.  SILC Comp API must be
91    defined.  zlib package is already included into the lib dir (in CVS,
92    not in distribution), but it is not used yet, and it requires some
93    tweaking on the Makefiles (we want static lib not shared).
94
95  o The CAST cipher is not compiled currently due to compilation errors;
96    check those.  Cast is in lib/silccrypt/cast.c.
97
98
99 TODO After 1.0
100 ==============
101
102  o Pthreads support.  A lot of problems are solved with server (and with
103    client as well) if we add pthread support.  We can forget things such
104    as non-blocking connecting etc, and we can do things such as DNS/IP
105    lookups async.  The server itself also benefits great deal from 
106    threads, especially from performance point of view.
107
108    But, this is not a small task and almost entire SILC Library has to
109    be made re-entrant.  Own API is probably added for the threads support
110    to make changes in the future as painless as possible.  So the API 
111    would have things like silc_mutex_lock, silc_mutex_unlock and 
112    friends...
113
114  o X.509 certificate support.  SILC protocol supports certificates and
115    it would be great to have support for them.  This is a big task as
116    support has to be made for ASN.1 as well.  I've looked into OpenSSL 
117    package as it has X.509 certificate support (and ASN.1 as well).  
118    The code does not look very good to my eye but it has some potentials.
119    This should be looked at more closely.
120
121    Naturally own SILC Certificate API has to be defined regardles what
122    the actual X.509 library is (OpenSSL X.509 or something else).  Other
123    choice is to write own X.509 library but I'm not going to do it - 
124    I can help to migrate the OpenSSL X.509 into SILC and I can help if 
125    someone would like to write the X.509 library - but I'm not going 
126    to start writing one myself.  Anyhow, the OpenSSL X.509 lib should
127    be checked.
128
129  o SSH2 public keys support.  Maybe - not really needed but could be
130    nice as SSH is widely used all over the place.  SILC Protocol 
131    supports SSH2 public keys.
132
133  o Cipher optimizations (asm, that this) at least for i386 would be nice.