updates.
[silc.git] / TODO
diff --git a/TODO b/TODO
index 390412a8792406cc28e87ca4c77656362408838e..319c982625a8aed0ab47f690cc24760b5daac3c4 100644 (file)
--- a/TODO
+++ b/TODO
@@ -26,24 +26,28 @@ TODO/bugs In SILC Client Library
 TODO/bugs In SILC Server
 ========================
 
+ o Send SILC_NOTIFY_TYPE_CUMODE_CHANGE when received announced channels
+   and channel users and we (router) already has a channel founder on the
+   channel.
+
  o When server quits and all clients of that server are removed from all
    channels the channel keys are re-generated for all clients.  This is
    a bug and should be done only once per channel after all clients of
    the server has been removed.
 
- o Acceptance of incoming connections (client and server connections)
-   should be checked before key exchange protocol.  Currently it is
-   checked at the authentication phase after KE, that is ok, but it should
-   be checked before starting KE, as well.  This should be done so that
-   is first checks denied connections, then client connections and then
-   server connections.  There is no use to execute the SKE if the connection
-   will not be allowed.
-
  o DNS/IP lookup blocks the server.  This must be fixed.  Check the
    resolver stuff (resolver(3), resolver(5)).  Either we have to do the
    own resolver stuff (through scheduler, if possible without writing
    too much own stuff) or use threads.
 
+ o The ID List must be optimized.  When the lists grow the searching
+   becomes a lot slower and is some cases the lists are searched many
+   times, like with channel messages (twice at least).  Some sort of
+   hash tables should replace the lists.  Thus, the ID cache should be
+   rewritten to use hash tables internally.
+
+ o [DenyConnection] config section is not implemented.
+
  o The backup router support described in the protocol specification
    should be done at some point.
 
@@ -63,23 +67,29 @@ TODO/bugs In SILC Server
 TODO/bugs In SILC Libraries
 ===========================
 
+ o Remove the static lists from SILC ciphers, PKCS and hash functions
+   in the crypto library.  The currently acceptable code is used in the
+   HMAC library, look from there.  The config file must decide the order
+   of the algorithms, not the static lists, as they are doing now.
+   Actually the way to do this is to keep the static lists, but register
+   the algorithms to the dynamic list and make the alloc routines to 
+   check only the dynamic list.  Also, replace the lists used by these 
+   routines with SilcList.  Also, for applications it might be nice
+   to export a function that registers default algorithms, if application
+   does not want to register them one by one (if for example SILC client
+   is run without config files at all).
+
  o Compression routines are missing.  The protocol supports packet
    compression thus it must be implemented.  SILC Comp API must be
    defined.  zlib package is already included into the lib dir (in CVS,
    not in distribution), but it is not used yet, and it requires some
    tweaking on the Makefiles (we want static lib not shared).
 
- o Random Number Generator needs some tweaking.  Reading /dev/random may
-   block resulting slow initialization of RNG.  Some other things in the
-   RNG may block as well.  Also, I have some pending changes to the RNG 
-   that needs to be commited (from Schneier's Yarrow-160 paper).  They 
-   should make the RNG even better.
-
- o IPv6 support for ID's and into the code.
-
  o Some of the ciphers in lib/silccrypt does not implement the SILC
    Crypto API correctly.
 
+ o IPv6 support for ID's and into the code.
+
  o SIM support for SILC PKCS API needs to made so that they could be
    used as SIM's.  At the same time some work is required on prime
    generation as the way it is done now sucks.  Read from code for