X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=TODO;h=210c2a3f0419d51c50b584eabd82e7c1e9ff19b4;hb=refs%2Fheads%2Finvite-protocol;hp=7d3669d366c0a294c01d7190775e8b678b1ac520;hpb=d6b77e18b58ad8f9bcd9b60864b95cd2a74482c5;p=meshlink diff --git a/TODO b/TODO index 7d3669d3..210c2a3f 100644 --- a/TODO +++ b/TODO @@ -1,23 +1,24 @@ -TODO LIST +TODO list for MeshLink +---------------------- -Goals for 1.0 release: +Refactoring: getting rid of global variables. Ultimately, no global variables +should be used by the library (if possible). Tinc uses quite a lot of global +variables. Refactoring this should go into steps: -* Check Solaris port -* Check different linux architectures (x86, alpha done) -* Store private key in a separate file (done, 1 dec 2000) -* Sanity checks on configuration directory -* Use efficient tree algorithms instead of linked lists (largely done) -* Reenable queues for delayed packets -* Merge documentation files (SECURITY, INSTALL, PROTOCOL) into tinc.texi +* Temporarily create a global meshlink_handle_t *mesh (done) +* Move global variables to meshlink_handle_t (partially done) + - This means moving the declaration from the old .h file to meshlink_internal.h inside meshlink_handle_t + - Then doing sed 's/variable/mesh->&/g' *.c -i, and running make to check for any errors +After that is completed: -Goals for future releases: +* Add meshlink_handle_t *mesh as the first argument to functions that need it -* Compression -* Routing by MAC (allows for more than only IPv4) -* Broadcast/multicast -* Windowing, chaffing, scattering, background noise -* ABC protocol (superscalabilty) -* Proxy ARP -* Eazy setup scripts (graphical?) -* Threading +Then: + +* Write code for all the functions in meshlink.c (some can be moved from libmeshlink.c) + +Other tasks: + +* Use snprintf() instead of xasprintf() when generating filenames + - Use char filename[PATH_MAX] on the stack. No more need to free().